Changeset 34ad1f48 in rtems


Ignore:
Timestamp:
Sep 18, 2009, 10:34:24 AM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
4c437ca
Parents:
5e61c80
Message:

Rework --with-system-readline handling.

Location:
contrib/crossrpms/gdb
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • contrib/crossrpms/gdb/build.add

    r5e61c80 r34ad1f48  
    1717    --disable-werror \
    1818    %{build_sim} \
    19 %if "%{gdb_version}" >= "6.7"
    20     --with-system-readline \
    21 %endif
     19    %{?with_system_readline:--with-system-readline} \
    2220%if "%{gdb_version}" >= "6.6"
    2321    --with-expat \
  • contrib/crossrpms/gdb/gdb.add

    r5e61c80 r34ad1f48  
    5656BuildRequires:  %{_host_rpmprefix}termcap-devel
    5757%endif
     58%bcond_with system_readline
    5859%endif
    59 BuildRequires:  %{_host_rpmprefix}readline-devel
     60
     61%if 0%{?fedora} >= 12
     62%bcond_with system_readline
     63%else
     64%bcond_without system_readline
     65%endif
     66%{?with_system_readline:BuildRequires: %{_host_rpmprefix}readline-devel}
    6067BuildRequires:  %{_host_rpmprefix}ncurses-devel
    6168
  • contrib/crossrpms/gdb/prep.add

    r5e61c80 r34ad1f48  
    77cd ..
    88
    9 %if "%{gdb_version}" >= "6.7"
    109# Force using a system-provided libreadline
    11 rm -f gdb-%{gdb_version}/readline/configure
    12 %endif
     10%{?with_system_readline:rm -f gdb-%{gdb_version}/readline/configure}
Note: See TracChangeset for help on using the changeset viewer.