Ignore:
Timestamp:
Aug 16, 2003, 6:59:22 PM (22 years ago)
Author:
bird
Message:

binutils v2.14 - offical sources.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/GNU/src/binutils/ld/configure.in

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r608 r609  
    11dnl Process this file with autoconf to produce a configure script
    22dnl
    3 AC_PREREG(2.13)
     3AC_PREREQ(2.13)
    44AC_INIT(ldmain.c)
    55
     
    1414AM_PROG_LIBTOOL
    1515
     16AC_ARG_WITH(lib-path, [  --with-lib-path=dir1:dir2...  set default LIB_PATH],LIB_PATH=$withval)
    1617AC_ARG_ENABLE(targets,
    1718[  --enable-targets        alternative target configurations],
     
    3031esac],[want64=false])dnl
    3132
    32 build_warnings="-W -Wall"
     33AC_ARG_WITH(sysroot,
     34[  --with-sysroot[=DIR] Search for usr/lib et al within DIR.],
     35[
     36 case ${with_sysroot} in
     37 yes) TARGET_SYSTEM_ROOT='${exec_prefix}/${target_alias}/sys-root' ;;
     38 *) TARGET_SYSTEM_ROOT=$with_sysroot ;;
     39 esac
     40
     41 TARGET_SYSTEM_ROOT_DEFINE='-DTARGET_SYSTEM_ROOT=\"$(TARGET_SYSTEM_ROOT)\"'
     42 use_sysroot=yes
     43
     44 if test "x$exec_prefix" = xNONE; then
     45  if test "x$prefix" = xNONE; then
     46   test_prefix=/usr/local
     47  else
     48   test_prefix=$prefix
     49  fi
     50 else
     51  test_prefix=$exec_prefix
     52 fi
     53 case ${TARGET_SYSTEM_ROOT} in
     54 "${test_prefix}"|"${test_prefix}/"*|\
     55 '${exec_prefix}'|'${exec_prefix}/'*)
     56   t="$TARGET_SYSTEM_ROOT_DEFINE -DTARGET_SYSTEM_ROOT_RELOCATABLE"
     57   TARGET_SYSTEM_ROOT_DEFINE="$t"
     58   ;;
     59 esac
     60], [
     61 use_sysroot=no
     62 TARGET_SYSTEM_ROOT=
     63 TARGET_SYSTEM_ROOT_DEFINE='-DTARGET_SYSTEM_ROOT=\"\"'
     64])
     65AC_SUBST(use_sysroot)
     66AC_SUBST(TARGET_SYSTEM_ROOT)
     67AC_SUBST(TARGET_SYSTEM_ROOT_DEFINE)
     68
     69build_warnings="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
    3370AC_ARG_ENABLE(build-warnings,
    34 [  --enable-build-warnings Enable build-time compiler warnings if gcc is used],
     71[  --enable-build-warnings enable build-time compiler warnings if gcc is used],
    3572[case "${enableval}" in
    3673  yes)  ;;
     
    65102AC_PROG_INSTALL
    66103
    67 ALL_LINGUAS=
     104ALL_LINGUAS="fr sv tr es da"
    68105CY_GNU_GETTEXT
    69106
     
    83120
    84121AC_CHECK_HEADERS(string.h strings.h stdlib.h unistd.h)
    85 AC_CHECK_FUNCS(sbrk)
     122AC_CHECK_FUNCS(sbrk realpath)
    86123AC_HEADER_DIRENT
    87124
     
    203240AC_SUBST(EMULATION_OFILES)
    204241AC_SUBST(EMUL_EXTRA_OFILES)
     242AC_SUBST(LIB_PATH)
    205243
    206244EMULATION_LIBPATH=$all_libpath
Note: See TracChangeset for help on using the changeset viewer.