Ignore:
Timestamp:
Apr 27, 2004, 8:39:34 PM (21 years ago)
Author:
bird
Message:

GCC v3.3.3 sources.

Location:
branches/GNU/src/gcc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/GNU/src/gcc

    • Property svn:ignore
      •  

        old new  
        2626configure.vr
        2727configure.vrs
         28dir.info
        2829Makefile
        29 dir.info
        3030lost+found
        3131update.out
  • branches/GNU/src/gcc/libiberty/configure

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    1313# Any additions from configure.in:
    1414ac_help="$ac_help
    15   --with-target-subdir=SUBDIR      Configuring in a subdirectory"
     15  --with-target-subdir=SUBDIR      Configuring in a subdirectory for target"
     16ac_help="$ac_help
     17  --with-build-subdir=SUBDIR       Configuring in a subdirectory for build"
    1618ac_help="$ac_help
    1719  --with-cross-host=HOST           Configuring with a cross compiler"
     
    2224                          enable make rules and dependencies not useful
    2325                          (and sometimes confusing) to the casual installer"
     26ac_help="$ac_help
     27  --enable-install-libiberty       Install headers for end users"
    2428
    2529# Initialize some variables set by options.
     
    545549fi
    546550
     551# Check whether --with-build-subdir or --without-build-subdir was given.
     552if test "${with_build_subdir+set}" = set; then
     553  withval="$with_build_subdir"
     554  :
     555fi
     556
    547557# Check whether --with-cross-host or --without-cross-host was given.
    548558if test "${with_cross_host+set}" = set; then
     
    559569
    560570if test "${srcdir}" = "."; then
    561   if test -z "${with_target_subdir}"; then
     571  if test -n "${with_build_subdir}"; then
     572    libiberty_topdir="${srcdir}/../.."
     573    with_target_subdir=
     574  elif test -z "${with_target_subdir}"; then
    562575    libiberty_topdir="${srcdir}/.."
    563576  else
     
    594607
    595608echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
    596 echo "configure:597: checking whether to enable maintainer-specific portions of Makefiles" >&5
     609echo "configure:610: checking whether to enable maintainer-specific portions of Makefiles" >&5
    597610    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
    598611if test "${enable_maintainer_mode+set}" = set; then
     
    619632set dummy makeinfo; ac_word=$2
    620633echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    621 echo "configure:622: checking for $ac_word" >&5
     634echo "configure:635: checking for $ac_word" >&5
    622635if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then
    623636  echo $ac_n "(cached) $ac_c" 1>&6
     
    665678set dummy perl; ac_word=$2
    666679echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    667 echo "configure:668: checking for $ac_word" >&5
     680echo "configure:681: checking for $ac_word" >&5
    668681if eval "test \"`echo '$''{'ac_cv_prog_PERL'+set}'`\" = set"; then
    669682  echo $ac_n "(cached) $ac_c" 1>&6
     
    705718
    706719echo $ac_n "checking host system type""... $ac_c" 1>&6
    707 echo "configure:708: checking host system type" >&5
     720echo "configure:721: checking host system type" >&5
    708721
    709722host_alias=$host
     
    728741
    729742echo $ac_n "checking build system type""... $ac_c" 1>&6
    730 echo "configure:731: checking build system type" >&5
     743echo "configure:744: checking build system type" >&5
    731744
    732745build_alias=$build
     
    754767set dummy ${ac_tool_prefix}ar; ac_word=$2
    755768echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    756 echo "configure:757: checking for $ac_word" >&5
     769echo "configure:770: checking for $ac_word" >&5
    757770if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
    758771  echo $ac_n "(cached) $ac_c" 1>&6
     
    786799set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    787800echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    788 echo "configure:789: checking for $ac_word" >&5
     801echo "configure:802: checking for $ac_word" >&5
    789802if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    790803  echo $ac_n "(cached) $ac_c" 1>&6
     
    818831set dummy ranlib; ac_word=$2
    819832echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    820 echo "configure:821: checking for $ac_word" >&5
     833echo "configure:834: checking for $ac_word" >&5
    821834if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    822835  echo $ac_n "(cached) $ac_c" 1>&6
     
    855868set dummy gcc; ac_word=$2
    856869echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    857 echo "configure:858: checking for $ac_word" >&5
     870echo "configure:871: checking for $ac_word" >&5
    858871if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    859872  echo $ac_n "(cached) $ac_c" 1>&6
     
    885898set dummy cc; ac_word=$2
    886899echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    887 echo "configure:888: checking for $ac_word" >&5
     900echo "configure:901: checking for $ac_word" >&5
    888901if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    889902  echo $ac_n "(cached) $ac_c" 1>&6
     
    934947
    935948echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    936 echo "configure:937: checking whether we are using GNU C" >&5
     949echo "configure:950: checking whether we are using GNU C" >&5
    937950if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    938951  echo $ac_n "(cached) $ac_c" 1>&6
     
    943956#endif
    944957EOF
    945 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:946: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     958if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:959: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    946959  ac_cv_prog_gcc=yes
    947960else
     
    959972  CFLAGS=
    960973  echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    961 echo "configure:962: checking whether ${CC-cc} accepts -g" >&5
     974echo "configure:975: checking whether ${CC-cc} accepts -g" >&5
    962975if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    963976  echo $ac_n "(cached) $ac_c" 1>&6
     
    9891002
    9901003
     1004if test "x$CC" != xcc; then
     1005  echo $ac_n "checking whether $CC and cc understand -c and -o together""... $ac_c" 1>&6
     1006echo "configure:1007: checking whether $CC and cc understand -c and -o together" >&5
     1007else
     1008  echo $ac_n "checking whether cc understands -c and -o together""... $ac_c" 1>&6
     1009echo "configure:1010: checking whether cc understands -c and -o together" >&5
     1010fi
     1011set dummy $CC; ac_cc="`echo $2 |
     1012                       sed -e 's/[^a-zA-Z0-9_]/_/g' -e 's/^[0-9]/_/'`"
     1013if eval "test \"`echo '$''{'ac_cv_prog_cc_${ac_cc}_c_o'+set}'`\" = set"; then
     1014  echo $ac_n "(cached) $ac_c" 1>&6
     1015else
     1016  echo 'foo(){}' > conftest.c
     1017# Make sure it works both with $CC and with simple cc.
     1018# We do the test twice because some compilers refuse to overwrite an
     1019# existing .o file with -o, though they will create one.
     1020ac_try='${CC-cc} -c conftest.c -o conftest.o 1>&5'
     1021if { (eval echo configure:1022: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
     1022   test -f conftest.o && { (eval echo configure:1023: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
     1023then
     1024  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
     1025  if test "x$CC" != xcc; then
     1026    # Test first that cc exists at all.
     1027    if { ac_try='cc -c conftest.c 1>&5'; { (eval echo configure:1028: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
     1028      ac_try='cc -c conftest.c -o conftest.o 1>&5'
     1029      if { (eval echo configure:1030: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
     1030         test -f conftest.o && { (eval echo configure:1031: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
     1031      then
     1032        # cc works too.
     1033        :
     1034      else
     1035        # cc exists but doesn't like -o.
     1036        eval ac_cv_prog_cc_${ac_cc}_c_o=no
     1037      fi
     1038    fi
     1039  fi
     1040else
     1041  eval ac_cv_prog_cc_${ac_cc}_c_o=no
     1042fi
     1043rm -f conftest*
     1044
     1045fi
     1046if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
     1047  echo "$ac_t""yes" 1>&6
     1048else
     1049  echo "$ac_t""no" 1>&6
     1050  cat >> confdefs.h <<\EOF
     1051#define NO_MINUS_C_MINUS_O 1
     1052EOF
     1053
     1054fi
     1055
     1056# autoconf is lame and doesn't give us any substitution variable for this.
     1057if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = no"; then
     1058  NO_MINUS_C_MINUS_O=yes
     1059else
     1060  OUTPUT_OPTION='-o $@'
     1061fi
     1062
     1063
     1064
    9911065echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6
    992 echo "configure:993: checking for POSIXized ISC" >&5
     1066echo "configure:1067: checking for POSIXized ISC" >&5
    9931067if test -d /etc/conf/kconfig.d &&
    9941068  grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
     
    10111085
    10121086echo $ac_n "checking for working const""... $ac_c" 1>&6
    1013 echo "configure:1014: checking for working const" >&5
     1087echo "configure:1088: checking for working const" >&5
    10141088if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
    10151089  echo $ac_n "(cached) $ac_c" 1>&6
    10161090else
    10171091  cat > conftest.$ac_ext <<EOF
    1018 #line 1019 "configure"
     1092#line 1093 "configure"
    10191093#include "confdefs.h"
    10201094
     
    10651139; return 0; }
    10661140EOF
    1067 if { (eval echo configure:1068: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1141if { (eval echo configure:1142: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    10681142  rm -rf conftest*
    10691143  ac_cv_c_const=yes
     
    10861160
    10871161echo $ac_n "checking for inline""... $ac_c" 1>&6
    1088 echo "configure:1089: checking for inline" >&5
     1162echo "configure:1163: checking for inline" >&5
    10891163if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
    10901164  echo $ac_n "(cached) $ac_c" 1>&6
     
    10931167for ac_kw in inline __inline__ __inline; do
    10941168  cat > conftest.$ac_ext <<EOF
    1095 #line 1096 "configure"
     1169#line 1170 "configure"
    10961170#include "confdefs.h"
    10971171
     
    11001174; return 0; }
    11011175EOF
    1102 if { (eval echo configure:1103: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1176if { (eval echo configure:1177: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    11031177  rm -rf conftest*
    11041178  ac_cv_c_inline=$ac_kw; break
     
    11431217# ./install, which can be erroneously created by make from ./install.sh.
    11441218echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
    1145 echo "configure:1146: checking for a BSD compatible install" >&5
     1219echo "configure:1220: checking for a BSD compatible install" >&5
    11461220if test -z "$INSTALL"; then
    11471221if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
     
    12041278# something.
    12051279echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
    1206 echo "configure:1207: checking how to run the C preprocessor" >&5
     1280echo "configure:1281: checking how to run the C preprocessor" >&5
    12071281# On Suns, sometimes $CPP names a directory.
    12081282if test -n "$CPP" && test -d "$CPP"; then
     
    12191293  # not just through cpp.
    12201294  cat > conftest.$ac_ext <<EOF
    1221 #line 1222 "configure"
     1295#line 1296 "configure"
    12221296#include "confdefs.h"
    12231297#include <assert.h>
     
    12251299EOF
    12261300ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1227 { (eval echo configure:1228: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1301{ (eval echo configure:1302: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    12281302ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    12291303if test -z "$ac_err"; then
     
    12361310  CPP="${CC-cc} -E -traditional-cpp"
    12371311  cat > conftest.$ac_ext <<EOF
    1238 #line 1239 "configure"
     1312#line 1313 "configure"
    12391313#include "confdefs.h"
    12401314#include <assert.h>
     
    12421316EOF
    12431317ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1244 { (eval echo configure:1245: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1318{ (eval echo configure:1319: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    12451319ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    12461320if test -z "$ac_err"; then
     
    12531327  CPP="${CC-cc} -nologo -E"
    12541328  cat > conftest.$ac_ext <<EOF
    1255 #line 1256 "configure"
     1329#line 1330 "configure"
    12561330#include "confdefs.h"
    12571331#include <assert.h>
     
    12591333EOF
    12601334ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1261 { (eval echo configure:1262: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1335{ (eval echo configure:1336: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    12621336ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    12631337if test -z "$ac_err"; then
     
    12831357echo "$ac_t""$CPP" 1>&6
    12841358
    1285 for ac_hdr in sys/file.h sys/param.h limits.h stdlib.h string.h unistd.h strings.h sys/time.h time.h sys/resource.h sys/stat.h sys/mman.h fcntl.h alloca.h
     1359for ac_hdr in sys/file.h sys/param.h limits.h stdlib.h malloc.h string.h unistd.h strings.h sys/time.h time.h sys/resource.h sys/stat.h sys/mman.h fcntl.h alloca.h sys/pstat.h sys/sysmp.h sys/sysinfo.h machine/hal_sysinfo.h sys/table.h sys/sysctl.h sys/systemcfg.h
    12861360do
    12871361ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    12881362echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    1289 echo "configure:1290: checking for $ac_hdr" >&5
     1363echo "configure:1364: checking for $ac_hdr" >&5
    12901364if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    12911365  echo $ac_n "(cached) $ac_c" 1>&6
    12921366else
    12931367  cat > conftest.$ac_ext <<EOF
    1294 #line 1295 "configure"
     1368#line 1369 "configure"
    12951369#include "confdefs.h"
    12961370#include <$ac_hdr>
    12971371EOF
    12981372ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1299 { (eval echo configure:1300: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1373{ (eval echo configure:1374: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    13001374ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    13011375if test -z "$ac_err"; then
     
    13241398
    13251399echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
    1326 echo "configure:1327: checking for sys/wait.h that is POSIX.1 compatible" >&5
     1400echo "configure:1401: checking for sys/wait.h that is POSIX.1 compatible" >&5
    13271401if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
    13281402  echo $ac_n "(cached) $ac_c" 1>&6
    13291403else
    13301404  cat > conftest.$ac_ext <<EOF
    1331 #line 1332 "configure"
     1405#line 1406 "configure"
    13321406#include "confdefs.h"
    13331407#include <sys/types.h>
     
    13451419; return 0; }
    13461420EOF
    1347 if { (eval echo configure:1348: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1421if { (eval echo configure:1422: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    13481422  rm -rf conftest*
    13491423  ac_cv_header_sys_wait_h=yes
     
    13661440
    13671441echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
    1368 echo "configure:1369: checking whether time.h and sys/time.h may both be included" >&5
     1442echo "configure:1443: checking whether time.h and sys/time.h may both be included" >&5
    13691443if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
    13701444  echo $ac_n "(cached) $ac_c" 1>&6
    13711445else
    13721446  cat > conftest.$ac_ext <<EOF
    1373 #line 1374 "configure"
     1447#line 1448 "configure"
    13741448#include "confdefs.h"
    13751449#include <sys/types.h>
     
    13801454; return 0; }
    13811455EOF
    1382 if { (eval echo configure:1383: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1456if { (eval echo configure:1457: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    13831457  rm -rf conftest*
    13841458  ac_cv_header_time=yes
     
    14021476
    14031477echo $ac_n "checking whether errno must be declared""... $ac_c" 1>&6
    1404 echo "configure:1405: checking whether errno must be declared" >&5
     1478echo "configure:1479: checking whether errno must be declared" >&5
    14051479if eval "test \"`echo '$''{'libiberty_cv_declare_errno'+set}'`\" = set"; then
    14061480  echo $ac_n "(cached) $ac_c" 1>&6
    14071481else
    14081482  cat > conftest.$ac_ext <<EOF
    1409 #line 1410 "configure"
     1483#line 1484 "configure"
    14101484#include "confdefs.h"
    14111485#include <errno.h>
     
    14141488; return 0; }
    14151489EOF
    1416 if { (eval echo configure:1417: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1490if { (eval echo configure:1491: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    14171491  rm -rf conftest*
    14181492  libiberty_cv_declare_errno=no
     
    14361510
    14371511echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
    1438 echo "configure:1439: checking for ANSI C header files" >&5
     1512echo "configure:1513: checking for ANSI C header files" >&5
    14391513if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
    14401514  echo $ac_n "(cached) $ac_c" 1>&6
    14411515else
    14421516  cat > conftest.$ac_ext <<EOF
    1443 #line 1444 "configure"
     1517#line 1518 "configure"
    14441518#include "confdefs.h"
    14451519#include <stdlib.h>
     
    14491523EOF
    14501524ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1451 { (eval echo configure:1452: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1525{ (eval echo configure:1526: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    14521526ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    14531527if test -z "$ac_err"; then
     
    14661540  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    14671541cat > conftest.$ac_ext <<EOF
    1468 #line 1469 "configure"
     1542#line 1543 "configure"
    14691543#include "confdefs.h"
    14701544#include <string.h>
     
    14841558  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    14851559cat > conftest.$ac_ext <<EOF
    1486 #line 1487 "configure"
     1560#line 1561 "configure"
    14871561#include "confdefs.h"
    14881562#include <stdlib.h>
     
    15051579else
    15061580  cat > conftest.$ac_ext <<EOF
    1507 #line 1508 "configure"
     1581#line 1582 "configure"
    15081582#include "confdefs.h"
    15091583#include <ctype.h>
     
    15161590
    15171591EOF
    1518 if { (eval echo configure:1519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     1592if { (eval echo configure:1593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    15191593then
    15201594  :
     
    15401614
    15411615echo $ac_n "checking for uintptr_t""... $ac_c" 1>&6
    1542 echo "configure:1543: checking for uintptr_t" >&5
     1616echo "configure:1617: checking for uintptr_t" >&5
    15431617if eval "test \"`echo '$''{'ac_cv_type_uintptr_t'+set}'`\" = set"; then
    15441618  echo $ac_n "(cached) $ac_c" 1>&6
    15451619else
    15461620  cat > conftest.$ac_ext <<EOF
    1547 #line 1548 "configure"
     1621#line 1622 "configure"
    15481622#include "confdefs.h"
    15491623#include <sys/types.h>
     
    15721646fi
    15731647
    1574 
    1575 if test $ac_cv_type_uintptr_t = yes
    1576 then
     1648# Given the above check, we always have uintptr_t or a fallback
     1649# definition.  So define HAVE_UINTPTR_T in case any imported code
     1650# relies on it.
     1651cat >> confdefs.h <<\EOF
     1652#define HAVE_UINTPTR_T 1
     1653EOF
     1654
     1655
     1656echo $ac_n "checking for pid_t""... $ac_c" 1>&6
     1657echo "configure:1658: checking for pid_t" >&5
     1658if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
     1659  echo $ac_n "(cached) $ac_c" 1>&6
     1660else
     1661  cat > conftest.$ac_ext <<EOF
     1662#line 1663 "configure"
     1663#include "confdefs.h"
     1664#include <sys/types.h>
     1665#if STDC_HEADERS
     1666#include <stdlib.h>
     1667#include <stddef.h>
     1668#endif
     1669EOF
     1670if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     1671  egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
     1672  rm -rf conftest*
     1673  ac_cv_type_pid_t=yes
     1674else
     1675  rm -rf conftest*
     1676  ac_cv_type_pid_t=no
     1677fi
     1678rm -f conftest*
     1679
     1680fi
     1681echo "$ac_t""$ac_cv_type_pid_t" 1>&6
     1682if test $ac_cv_type_pid_t = no; then
    15771683  cat >> confdefs.h <<\EOF
    1578 #define HAVE_UINTPTR_T 1
    1579 EOF
    1580 
    1581 fi
     1684#define pid_t int
     1685EOF
     1686
     1687fi
     1688
    15821689
    15831690# This is the list of functions which libiberty will provide if they
     
    16311738
    16321739checkfuncs="getrusage on_exit psignal strerror strsignal sysconf times sbrk gettimeofday"
     1740checkfuncs="$checkfuncs realpath canonicalize_file_name"
     1741checkfuncs="$checkfuncs pstat_getstatic pstat_getdynamic sysmp getsysinfo table sysctl"
    16331742
    16341743# These are neither executed nor required, but they help keep
     
    16381747do
    16391748echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    1640 echo "configure:1641: checking for $ac_func" >&5
     1749echo "configure:1750: checking for $ac_func" >&5
    16411750if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    16421751  echo $ac_n "(cached) $ac_c" 1>&6
    16431752else
    16441753  cat > conftest.$ac_ext <<EOF
    1645 #line 1646 "configure"
     1754#line 1755 "configure"
    16461755#include "confdefs.h"
    16471756/* System header to define __stub macros and hopefully few prototypes,
     
    16661775; return 0; }
    16671776EOF
    1668 if { (eval echo configure:1669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1777if { (eval echo configure:1778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    16691778  rm -rf conftest*
    16701779  eval "ac_cv_func_$ac_func=yes"
     
    16931802do
    16941803echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    1695 echo "configure:1696: checking for $ac_func" >&5
     1804echo "configure:1805: checking for $ac_func" >&5
    16961805if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    16971806  echo $ac_n "(cached) $ac_c" 1>&6
    16981807else
    16991808  cat > conftest.$ac_ext <<EOF
    1700 #line 1701 "configure"
     1809#line 1810 "configure"
    17011810#include "confdefs.h"
    17021811/* System header to define __stub macros and hopefully few prototypes,
     
    17211830; return 0; }
    17221831EOF
    1723 if { (eval echo configure:1724: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1832if { (eval echo configure:1833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    17241833  rm -rf conftest*
    17251834  eval "ac_cv_func_$ac_func=yes"
     
    17481857do
    17491858echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    1750 echo "configure:1751: checking for $ac_func" >&5
     1859echo "configure:1860: checking for $ac_func" >&5
    17511860if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    17521861  echo $ac_n "(cached) $ac_c" 1>&6
    17531862else
    17541863  cat > conftest.$ac_ext <<EOF
    1755 #line 1756 "configure"
     1864#line 1865 "configure"
    17561865#include "confdefs.h"
    17571866/* System header to define __stub macros and hopefully few prototypes,
     
    17761885; return 0; }
    17771886EOF
    1778 if { (eval echo configure:1779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1887if { (eval echo configure:1888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    17791888  rm -rf conftest*
    17801889  eval "ac_cv_func_$ac_func=yes"
     
    18031912do
    18041913echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    1805 echo "configure:1806: checking for $ac_func" >&5
     1914echo "configure:1915: checking for $ac_func" >&5
    18061915if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    18071916  echo $ac_n "(cached) $ac_c" 1>&6
    18081917else
    18091918  cat > conftest.$ac_ext <<EOF
    1810 #line 1811 "configure"
     1919#line 1920 "configure"
    18111920#include "confdefs.h"
    18121921/* System header to define __stub macros and hopefully few prototypes,
     
    18311940; return 0; }
    18321941EOF
    1833 if { (eval echo configure:1834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1942if { (eval echo configure:1943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    18341943  rm -rf conftest*
    18351944  eval "ac_cv_func_$ac_func=yes"
     
    18581967do
    18591968echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    1860 echo "configure:1861: checking for $ac_func" >&5
     1969echo "configure:1970: checking for $ac_func" >&5
    18611970if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    18621971  echo $ac_n "(cached) $ac_c" 1>&6
    18631972else
    18641973  cat > conftest.$ac_ext <<EOF
    1865 #line 1866 "configure"
     1974#line 1975 "configure"
    18661975#include "confdefs.h"
    18671976/* System header to define __stub macros and hopefully few prototypes,
     
    18861995; return 0; }
    18871996EOF
    1888 if { (eval echo configure:1889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1997if { (eval echo configure:1998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    18891998  rm -rf conftest*
    18901999  eval "ac_cv_func_$ac_func=yes"
     
    19132022do
    19142023echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    1915 echo "configure:1916: checking for $ac_func" >&5
     2024echo "configure:2025: checking for $ac_func" >&5
    19162025if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    19172026  echo $ac_n "(cached) $ac_c" 1>&6
    19182027else
    19192028  cat > conftest.$ac_ext <<EOF
    1920 #line 1921 "configure"
     2029#line 2030 "configure"
    19212030#include "confdefs.h"
    19222031/* System header to define __stub macros and hopefully few prototypes,
     
    19412050; return 0; }
    19422051EOF
    1943 if { (eval echo configure:1944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2052if { (eval echo configure:2053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    19442053  rm -rf conftest*
    19452054  eval "ac_cv_func_$ac_func=yes"
     
    19682077do
    19692078echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    1970 echo "configure:1971: checking for $ac_func" >&5
     2079echo "configure:2080: checking for $ac_func" >&5
    19712080if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    19722081  echo $ac_n "(cached) $ac_c" 1>&6
    19732082else
    19742083  cat > conftest.$ac_ext <<EOF
    1975 #line 1976 "configure"
     2084#line 2085 "configure"
    19762085#include "confdefs.h"
    19772086/* System header to define __stub macros and hopefully few prototypes,
     
    19962105; return 0; }
    19972106EOF
    1998 if { (eval echo configure:1999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2107if { (eval echo configure:2108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    19992108  rm -rf conftest*
    20002109  eval "ac_cv_func_$ac_func=yes"
     
    20202129done
    20212130
     2131  for ac_func in realpath canonicalize_file_name
     2132do
     2133echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
     2134echo "configure:2135: checking for $ac_func" >&5
     2135if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
     2136  echo $ac_n "(cached) $ac_c" 1>&6
     2137else
     2138  cat > conftest.$ac_ext <<EOF
     2139#line 2140 "configure"
     2140#include "confdefs.h"
     2141/* System header to define __stub macros and hopefully few prototypes,
     2142    which can conflict with char $ac_func(); below.  */
     2143#include <assert.h>
     2144/* Override any gcc2 internal prototype to avoid an error.  */
     2145/* We use char because int might match the return type of a gcc2
     2146    builtin and then its argument prototype would still apply.  */
     2147char $ac_func();
     2148
     2149int main() {
     2150
     2151/* The GNU C library defines this for functions which it implements
     2152    to always fail with ENOSYS.  Some functions are actually named
     2153    something starting with __ and the normal name is an alias.  */
     2154#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
     2155choke me
     2156#else
     2157$ac_func();
     2158#endif
     2159
     2160; return 0; }
     2161EOF
     2162if { (eval echo configure:2163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2163  rm -rf conftest*
     2164  eval "ac_cv_func_$ac_func=yes"
     2165else
     2166  echo "configure: failed program was:" >&5
     2167  cat conftest.$ac_ext >&5
     2168  rm -rf conftest*
     2169  eval "ac_cv_func_$ac_func=no"
     2170fi
     2171rm -f conftest*
     2172fi
     2173
     2174if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
     2175  echo "$ac_t""yes" 1>&6
     2176    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
     2177  cat >> confdefs.h <<EOF
     2178#define $ac_tr_func 1
     2179EOF
     2180 
     2181else
     2182  echo "$ac_t""no" 1>&6
     2183fi
     2184done
     2185
     2186  for ac_func in pstat_getstatic pstat_getdynamic sysmp getsysinfo table sysctl
     2187do
     2188echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
     2189echo "configure:2190: checking for $ac_func" >&5
     2190if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
     2191  echo $ac_n "(cached) $ac_c" 1>&6
     2192else
     2193  cat > conftest.$ac_ext <<EOF
     2194#line 2195 "configure"
     2195#include "confdefs.h"
     2196/* System header to define __stub macros and hopefully few prototypes,
     2197    which can conflict with char $ac_func(); below.  */
     2198#include <assert.h>
     2199/* Override any gcc2 internal prototype to avoid an error.  */
     2200/* We use char because int might match the return type of a gcc2
     2201    builtin and then its argument prototype would still apply.  */
     2202char $ac_func();
     2203
     2204int main() {
     2205
     2206/* The GNU C library defines this for functions which it implements
     2207    to always fail with ENOSYS.  Some functions are actually named
     2208    something starting with __ and the normal name is an alias.  */
     2209#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
     2210choke me
     2211#else
     2212$ac_func();
     2213#endif
     2214
     2215; return 0; }
     2216EOF
     2217if { (eval echo configure:2218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2218  rm -rf conftest*
     2219  eval "ac_cv_func_$ac_func=yes"
     2220else
     2221  echo "configure: failed program was:" >&5
     2222  cat conftest.$ac_ext >&5
     2223  rm -rf conftest*
     2224  eval "ac_cv_func_$ac_func=no"
     2225fi
     2226rm -f conftest*
     2227fi
     2228
     2229if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
     2230  echo "$ac_t""yes" 1>&6
     2231    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
     2232  cat >> confdefs.h <<EOF
     2233#define $ac_tr_func 1
     2234EOF
     2235 
     2236else
     2237  echo "$ac_t""no" 1>&6
     2238fi
     2239done
     2240
    20222241  cat >> confdefs.h <<\EOF
    20232242#define HAVE_SYS_ERRLIST 1
     
    20402259setobjs=
    20412260CHECK=
     2261target_header_dir=
    20422262if test -n "${with_target_subdir}"; then
    20432263
     
    20802300  fi
    20812301
     2302  # We may wish to install the target headers somewhere.
     2303  # Check whether --enable-install-libiberty or --disable-install-libiberty was given.
     2304if test "${enable_install_libiberty+set}" = set; then
     2305  enableval="$enable_install_libiberty"
     2306  enable_install_libiberty=$enableval
     2307else
     2308  enable_install_libiberty=no
     2309fi
     2310 
     2311  # Option parsed, now set things appropriately.
     2312  case x"$enable_install_libiberty" in
     2313    xyes|x)
     2314      target_header_dir=libiberty
     2315      ;;
     2316    xno)   
     2317      target_header_dir=
     2318      ;;
     2319    *)
     2320      # This could be sanity-checked in various ways...
     2321      target_header_dir="${enable_install_libiberty}"
     2322      ;;
     2323  esac
     2324
     2325
    20822326else
    20832327
     
    20862330
    20872331fi
     2332
    20882333
    20892334
     
    22002445  # tests.  This will only work if the compiler works.
    22012446  echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    2202 echo "configure:2203: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     2447echo "configure:2448: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    22032448
    22042449ac_ext=c
     
    22112456cat > conftest.$ac_ext << EOF
    22122457
    2213 #line 2214 "configure"
     2458#line 2459 "configure"
    22142459#include "confdefs.h"
    22152460
    22162461main(){return(0);}
    22172462EOF
    2218 if { (eval echo configure:2219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2463if { (eval echo configure:2464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    22192464  ac_cv_prog_cc_works=yes
    22202465  # If we can't run a trivial program, we are probably using a cross compiler.
     
    22422487fi
    22432488echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    2244 echo "configure:2245: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     2489echo "configure:2490: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    22452490echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    22462491cross_compiling=$ac_cv_prog_cc_cross
     
    22492494do
    22502495echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    2251 echo "configure:2252: checking for $ac_func" >&5
     2496echo "configure:2497: checking for $ac_func" >&5
    22522497if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    22532498  echo $ac_n "(cached) $ac_c" 1>&6
    22542499else
    22552500  cat > conftest.$ac_ext <<EOF
    2256 #line 2257 "configure"
     2501#line 2502 "configure"
    22572502#include "confdefs.h"
    22582503/* System header to define __stub macros and hopefully few prototypes,
     
    22772522; return 0; }
    22782523EOF
    2279 if { (eval echo configure:2280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2524if { (eval echo configure:2525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    22802525  rm -rf conftest*
    22812526  eval "ac_cv_func_$ac_func=yes"
     
    23042549
    23052550  echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
    2306 echo "configure:2307: checking whether alloca needs Cray hooks" >&5
     2551echo "configure:2552: checking whether alloca needs Cray hooks" >&5
    23072552if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
    23082553  echo $ac_n "(cached) $ac_c" 1>&6
    23092554else
    23102555  cat > conftest.$ac_ext <<EOF
    2311 #line 2312 "configure"
     2556#line 2557 "configure"
    23122557#include "confdefs.h"
    23132558#if defined(CRAY) && ! defined(CRAY2)
     
    23342579  for ac_func in _getb67 GETB67 getb67; do
    23352580    echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    2336 echo "configure:2337: checking for $ac_func" >&5
     2581echo "configure:2582: checking for $ac_func" >&5
    23372582if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    23382583  echo $ac_n "(cached) $ac_c" 1>&6
    23392584else
    23402585  cat > conftest.$ac_ext <<EOF
    2341 #line 2342 "configure"
     2586#line 2587 "configure"
    23422587#include "confdefs.h"
    23432588/* System header to define __stub macros and hopefully few prototypes,
     
    23622607; return 0; }
    23632608EOF
    2364 if { (eval echo configure:2365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2609if { (eval echo configure:2610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    23652610  rm -rf conftest*
    23662611  eval "ac_cv_func_$ac_func=yes"
     
    23882633
    23892634echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
    2390 echo "configure:2391: checking stack direction for C alloca" >&5
     2635echo "configure:2636: checking stack direction for C alloca" >&5
    23912636if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
    23922637  echo $ac_n "(cached) $ac_c" 1>&6
     
    23962641else
    23972642  cat > conftest.$ac_ext <<EOF
    2398 #line 2399 "configure"
     2643#line 2644 "configure"
    23992644#include "confdefs.h"
    24002645find_stack_direction ()
     
    24152660}
    24162661EOF
    2417 if { (eval echo configure:2418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     2662if { (eval echo configure:2663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    24182663then
    24192664  ac_cv_c_stack_direction=1
     
    24352680
    24362681
    2437   echo $ac_n "checking for pid_t""... $ac_c" 1>&6
    2438 echo "configure:2439: checking for pid_t" >&5
    2439 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
     2682  ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'`
     2683echo $ac_n "checking for vfork.h""... $ac_c" 1>&6
     2684echo "configure:2685: checking for vfork.h" >&5
     2685if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    24402686  echo $ac_n "(cached) $ac_c" 1>&6
    24412687else
    24422688  cat > conftest.$ac_ext <<EOF
    2443 #line 2444 "configure"
    2444 #include "confdefs.h"
    2445 #include <sys/types.h>
    2446 #if STDC_HEADERS
    2447 #include <stdlib.h>
    2448 #include <stddef.h>
    2449 #endif
    2450 EOF
    2451 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    2452   egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
    2453   rm -rf conftest*
    2454   ac_cv_type_pid_t=yes
    2455 else
    2456   rm -rf conftest*
    2457   ac_cv_type_pid_t=no
    2458 fi
    2459 rm -f conftest*
    2460 
    2461 fi
    2462 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
    2463 if test $ac_cv_type_pid_t = no; then
    2464   cat >> confdefs.h <<\EOF
    2465 #define pid_t int
    2466 EOF
    2467 
    2468 fi
    2469 
    2470 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'`
    2471 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6
    2472 echo "configure:2473: checking for vfork.h" >&5
    2473 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    2474   echo $ac_n "(cached) $ac_c" 1>&6
    2475 else
    2476   cat > conftest.$ac_ext <<EOF
    2477 #line 2478 "configure"
     2689#line 2690 "configure"
    24782690#include "confdefs.h"
    24792691#include <vfork.h>
    24802692EOF
    24812693ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2482 { (eval echo configure:2483: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2694{ (eval echo configure:2695: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    24832695ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    24842696if test -z "$ac_err"; then
     
    25052717
    25062718echo $ac_n "checking for working vfork""... $ac_c" 1>&6
    2507 echo "configure:2508: checking for working vfork" >&5
     2719echo "configure:2720: checking for working vfork" >&5
    25082720if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then
    25092721  echo $ac_n "(cached) $ac_c" 1>&6
     
    25112723  if test "$cross_compiling" = yes; then
    25122724  echo $ac_n "checking for vfork""... $ac_c" 1>&6
    2513 echo "configure:2514: checking for vfork" >&5
     2725echo "configure:2726: checking for vfork" >&5
    25142726if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then
    25152727  echo $ac_n "(cached) $ac_c" 1>&6
    25162728else
    25172729  cat > conftest.$ac_ext <<EOF
    2518 #line 2519 "configure"
     2730#line 2731 "configure"
    25192731#include "confdefs.h"
    25202732/* System header to define __stub macros and hopefully few prototypes,
     
    25392751; return 0; }
    25402752EOF
    2541 if { (eval echo configure:2542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2753if { (eval echo configure:2754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    25422754  rm -rf conftest*
    25432755  eval "ac_cv_func_vfork=yes"
     
    25612773else
    25622774  cat > conftest.$ac_ext <<EOF
    2563 #line 2564 "configure"
     2775#line 2776 "configure"
    25642776#include "confdefs.h"
    25652777/* Thanks to Paul Eggert for this test.  */
     
    26562868}
    26572869EOF
    2658 if { (eval echo configure:2659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     2870if { (eval echo configure:2871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    26592871then
    26602872  ac_cv_func_vfork_works=yes
     
    26882900do
    26892901echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    2690 echo "configure:2691: checking for $ac_func" >&5
     2902echo "configure:2903: checking for $ac_func" >&5
    26912903if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    26922904  echo $ac_n "(cached) $ac_c" 1>&6
    26932905else
    26942906  cat > conftest.$ac_ext <<EOF
    2695 #line 2696 "configure"
     2907#line 2908 "configure"
    26962908#include "confdefs.h"
    26972909/* System header to define __stub macros and hopefully few prototypes,
     
    27162928; return 0; }
    27172929EOF
    2718 if { (eval echo configure:2719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2930if { (eval echo configure:2931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    27192931  rm -rf conftest*
    27202932  eval "ac_cv_func_$ac_func=yes"
     
    27462958do
    27472959echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    2748 echo "configure:2749: checking for $ac_func" >&5
     2960echo "configure:2961: checking for $ac_func" >&5
    27492961if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    27502962  echo $ac_n "(cached) $ac_c" 1>&6
    27512963else
    27522964  cat > conftest.$ac_ext <<EOF
    2753 #line 2754 "configure"
     2965#line 2966 "configure"
    27542966#include "confdefs.h"
    27552967/* System header to define __stub macros and hopefully few prototypes,
     
    27742986; return 0; }
    27752987EOF
    2776 if { (eval echo configure:2777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2988if { (eval echo configure:2989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    27772989  rm -rf conftest*
    27782990  eval "ac_cv_func_$ac_func=yes"
     
    28023014  for v in $vars; do
    28033015    echo $ac_n "checking for $v""... $ac_c" 1>&6
    2804 echo "configure:2805: checking for $v" >&5
     3016echo "configure:3017: checking for $v" >&5
    28053017    if eval "test \"`echo '$''{'libiberty_cv_var_$v'+set}'`\" = set"; then
    28063018  echo $ac_n "(cached) $ac_c" 1>&6
    28073019else
    28083020  cat > conftest.$ac_ext <<EOF
    2809 #line 2810 "configure"
     3021#line 3022 "configure"
    28103022#include "confdefs.h"
    28113023int *p;
     
    28143026; return 0; }
    28153027EOF
    2816 if { (eval echo configure:2817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3028if { (eval echo configure:3029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    28173029  rm -rf conftest*
    28183030  eval "libiberty_cv_var_$v=yes"
     
    28373049    fi
    28383050  done
     3051
     3052  # special check for _system_configuration because AIX <4.3.2 do not
     3053  # contain the `physmem' member.
     3054  echo $ac_n "checking for external symbol _system_configuration""... $ac_c" 1>&6
     3055echo "configure:3056: checking for external symbol _system_configuration" >&5
     3056  cat > conftest.$ac_ext <<EOF
     3057#line 3058 "configure"
     3058#include "confdefs.h"
     3059#include <sys/systemcfg.h>
     3060int main() {
     3061double x = _system_configuration.physmem;
     3062; return 0; }
     3063EOF
     3064if { (eval echo configure:3065: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3065  rm -rf conftest*
     3066  echo "$ac_t""yes" 1>&6
     3067    cat >> confdefs.h <<\EOF
     3068#define HAVE__SYSTEM_CONFIGURATION 1
     3069EOF
     3070
     3071else
     3072  echo "configure: failed program was:" >&5
     3073  cat conftest.$ac_ext >&5
     3074  rm -rf conftest*
     3075  echo "$ac_t""no" 1>&6
     3076fi
     3077rm -f conftest*
     3078
     3079  echo $ac_n "checking whether canonicalize_file_name must be declared""... $ac_c" 1>&6
     3080echo "configure:3081: checking whether canonicalize_file_name must be declared" >&5
     3081if eval "test \"`echo '$''{'libiberty_cv_decl_needed_canonicalize_file_name'+set}'`\" = set"; then
     3082  echo $ac_n "(cached) $ac_c" 1>&6
     3083else
     3084  cat > conftest.$ac_ext <<EOF
     3085#line 3086 "configure"
     3086#include "confdefs.h"
     3087
     3088#include "confdefs.h"
     3089#include <stdio.h>
     3090#ifdef HAVE_STRING_H
     3091#include <string.h>
     3092#else
     3093#ifdef HAVE_STRINGS_H
     3094#include <strings.h>
     3095#endif
     3096#endif
     3097#ifdef HAVE_STDLIB_H
     3098#include <stdlib.h>
     3099#endif
     3100#ifdef HAVE_UNISTD_H
     3101#include <unistd.h>
     3102#endif
     3103int main() {
     3104char *(*pfn) = (char *(*)) canonicalize_file_name
     3105; return 0; }
     3106EOF
     3107if { (eval echo configure:3108: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3108  rm -rf conftest*
     3109  libiberty_cv_decl_needed_canonicalize_file_name=no
     3110else
     3111  echo "configure: failed program was:" >&5
     3112  cat conftest.$ac_ext >&5
     3113  rm -rf conftest*
     3114  libiberty_cv_decl_needed_canonicalize_file_name=yes
     3115fi
     3116rm -f conftest*
     3117fi
     3118
     3119echo "$ac_t""$libiberty_cv_decl_needed_canonicalize_file_name" 1>&6
     3120if test $libiberty_cv_decl_needed_canonicalize_file_name = yes; then
     3121  cat >> confdefs.h <<\EOF
     3122#define NEED_DECLARATION_CANONICALIZE_FILE_NAME 1
     3123EOF
     3124
     3125fi
     3126
    28393127  for ac_func in $checkfuncs
    28403128do
    28413129echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    2842 echo "configure:2843: checking for $ac_func" >&5
     3130echo "configure:3131: checking for $ac_func" >&5
    28433131if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    28443132  echo $ac_n "(cached) $ac_c" 1>&6
    28453133else
    28463134  cat > conftest.$ac_ext <<EOF
    2847 #line 2848 "configure"
     3135#line 3136 "configure"
    28483136#include "confdefs.h"
    28493137/* System header to define __stub macros and hopefully few prototypes,
     
    28683156; return 0; }
    28693157EOF
    2870 if { (eval echo configure:2871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3158if { (eval echo configure:3159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    28713159  rm -rf conftest*
    28723160  eval "ac_cv_func_$ac_func=yes"
     
    28983186ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    28993187echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    2900 echo "configure:2901: checking for $ac_hdr" >&5
     3188echo "configure:3189: checking for $ac_hdr" >&5
    29013189if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    29023190  echo $ac_n "(cached) $ac_c" 1>&6
    29033191else
    29043192  cat > conftest.$ac_ext <<EOF
    2905 #line 2906 "configure"
     3193#line 3194 "configure"
    29063194#include "confdefs.h"
    29073195#include <$ac_hdr>
    29083196EOF
    29093197ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2910 { (eval echo configure:2911: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     3198{ (eval echo configure:3199: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    29113199ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    29123200if test -z "$ac_err"; then
     
    29373225do
    29383226echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    2939 echo "configure:2940: checking for $ac_func" >&5
     3227echo "configure:3228: checking for $ac_func" >&5
    29403228if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    29413229  echo $ac_n "(cached) $ac_c" 1>&6
    29423230else
    29433231  cat > conftest.$ac_ext <<EOF
    2944 #line 2945 "configure"
     3232#line 3233 "configure"
    29453233#include "confdefs.h"
    29463234/* System header to define __stub macros and hopefully few prototypes,
     
    29653253; return 0; }
    29663254EOF
    2967 if { (eval echo configure:2968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3255if { (eval echo configure:3256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    29683256  rm -rf conftest*
    29693257  eval "ac_cv_func_$ac_func=yes"
     
    29903278
    29913279echo $ac_n "checking for working mmap""... $ac_c" 1>&6
    2992 echo "configure:2993: checking for working mmap" >&5
     3280echo "configure:3281: checking for working mmap" >&5
    29933281if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
    29943282  echo $ac_n "(cached) $ac_c" 1>&6
     
    29983286else
    29993287  cat > conftest.$ac_ext <<EOF
    3000 #line 3001 "configure"
     3288#line 3289 "configure"
    30013289#include "confdefs.h"
    30023290
     
    31383426
    31393427EOF
    3140 if { (eval echo configure:3141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3428if { (eval echo configure:3429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    31413429then
    31423430  ac_cv_func_mmap_fixed_mapped=yes
     
    31623450
    31633451echo $ac_n "checking for working strncmp""... $ac_c" 1>&6
    3164 echo "configure:3165: checking for working strncmp" >&5
     3452echo "configure:3453: checking for working strncmp" >&5
    31653453if eval "test \"`echo '$''{'ac_cv_func_strncmp_works'+set}'`\" = set"; then
    31663454  echo $ac_n "(cached) $ac_c" 1>&6
     
    31703458else
    31713459  cat > conftest.$ac_ext <<EOF
    3172 #line 3173 "configure"
     3460#line 3461 "configure"
    31733461#include "confdefs.h"
    31743462
     
    32343522
    32353523EOF
    3236 if { (eval echo configure:3237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3524if { (eval echo configure:3525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    32373525then
    32383526  ac_cv_func_strncmp_works=yes
     
    34193707s%@CC@%$CC%g
    34203708s%@ac_libiberty_warn_cflags@%$ac_libiberty_warn_cflags%g
     3709s%@NO_MINUS_C_MINUS_O@%$NO_MINUS_C_MINUS_O%g
     3710s%@OUTPUT_OPTION@%$OUTPUT_OPTION%g
    34213711s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
    34223712s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
     
    34263716s%@CPP@%$CPP%g
    34273717s%@CHECK@%$CHECK%g
     3718s%@target_header_dir@%$target_header_dir%g
    34283719s%@LIBOBJS@%$LIBOBJS%g
    34293720s%@INSTALL_DEST@%$INSTALL_DEST%g
     
    36413932target=${target}
    36423933with_target_subdir=${with_target_subdir}
     3934with_build_subdir=${with_build_subdir}
    36433935with_multisubdir=${with_multisubdir}
    36443936ac_configure_args="--enable-multilib ${ac_configure_args}"
    36453937CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
     3938ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}"
    36463939libiberty_topdir=${libiberty_topdir}
    36473940
     
    36503943test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
    36513944if test -n "$CONFIG_FILES"; then
    3652   if test -n "${with_target_subdir}"; then
     3945  if test -n "${with_build_subdir}" || test -n "${with_target_subdir}"; then
    36533946    # FIXME: We shouldn't need to set ac_file
    36543947    ac_file=Makefile
Note: See TracChangeset for help on using the changeset viewer.