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/gas/configure

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r608 r609  
    5656silent=
    5757site=
    58 sitefile=
    5958srcdir=
    6059target=NONE
     
    171170  --no-create             do not create output files
    172171  --quiet, --silent       do not print \`checking...' messages
    173   --site-file=FILE        use FILE as the site file
    174172  --version               print the version of autoconf that created configure
    175173Directory and file names:
     
    342340    site="$ac_optarg" ;;
    343341
    344   -site-file | --site-file | --site-fil | --site-fi | --site-f)
    345     ac_prev=sitefile ;;
    346   -site-file=* | --site-file=* | --site-fil=* | --site-fi=* | --site-f=*)
    347     sitefile="$ac_optarg" ;;
    348 
    349342  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
    350343    ac_prev=srcdir ;;
     
    512505
    513506# Prefer explicitly selected file to automatically selected ones.
    514 if test -z "$sitefile"; then
    515   if test -z "$CONFIG_SITE"; then
    516     if test "x$prefix" != xNONE; then
    517       CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
    518     else
    519       CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
    520     fi
     507if test -z "$CONFIG_SITE"; then
     508  if test "x$prefix" != xNONE; then
     509    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
     510  else
     511    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
    521512  fi
    522 else
    523   CONFIG_SITE="$sitefile"
    524513fi
    525514for ac_site_file in $CONFIG_SITE; do
     
    560549
    561550echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
    562 echo "configure:563: checking for Cygwin environment" >&5
     551echo "configure:552: checking for Cygwin environment" >&5
    563552if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
    564553  echo $ac_n "(cached) $ac_c" 1>&6
    565554else
    566555  cat > conftest.$ac_ext <<EOF
    567 #line 568 "configure"
     556#line 557 "configure"
    568557#include "confdefs.h"
    569558
     
    576565; return 0; }
    577566EOF
    578 if { (eval echo configure:579: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     567if { (eval echo configure:568: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    579568  rm -rf conftest*
    580569  ac_cv_cygwin=yes
     
    593582test "$ac_cv_cygwin" = yes && CYGWIN=yes
    594583echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
    595 echo "configure:596: checking for mingw32 environment" >&5
     584echo "configure:585: checking for mingw32 environment" >&5
    596585if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
    597586  echo $ac_n "(cached) $ac_c" 1>&6
    598587else
    599588  cat > conftest.$ac_ext <<EOF
    600 #line 601 "configure"
     589#line 590 "configure"
    601590#include "confdefs.h"
    602591
     
    605594; return 0; }
    606595EOF
    607 if { (eval echo configure:608: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     596if { (eval echo configure:597: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    608597  rm -rf conftest*
    609598  ac_cv_mingw32=yes
     
    670659
    671660echo $ac_n "checking host system type""... $ac_c" 1>&6
    672 echo "configure:673: checking host system type" >&5
     661echo "configure:662: checking host system type" >&5
    673662
    674663host_alias=$host
     
    691680
    692681echo $ac_n "checking target system type""... $ac_c" 1>&6
    693 echo "configure:694: checking target system type" >&5
     682echo "configure:683: checking target system type" >&5
    694683
    695684target_alias=$target
     
    709698
    710699echo $ac_n "checking build system type""... $ac_c" 1>&6
    711 echo "configure:712: checking build system type" >&5
     700echo "configure:701: checking build system type" >&5
    712701
    713702build_alias=$build
     
    734723set dummy gcc; ac_word=$2
    735724echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    736 echo "configure:737: checking for $ac_word" >&5
     725echo "configure:726: checking for $ac_word" >&5
    737726if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    738727  echo $ac_n "(cached) $ac_c" 1>&6
     
    764753set dummy cc; ac_word=$2
    765754echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    766 echo "configure:767: checking for $ac_word" >&5
     755echo "configure:756: checking for $ac_word" >&5
    767756if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    768757  echo $ac_n "(cached) $ac_c" 1>&6
     
    815804set dummy cl; ac_word=$2
    816805echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    817 echo "configure:818: checking for $ac_word" >&5
     806echo "configure:807: checking for $ac_word" >&5
    818807if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    819808  echo $ac_n "(cached) $ac_c" 1>&6
     
    847836
    848837echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    849 echo "configure:850: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     838echo "configure:839: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    850839
    851840ac_ext=c
     
    858847cat > conftest.$ac_ext << EOF
    859848
    860 #line 861 "configure"
     849#line 850 "configure"
    861850#include "confdefs.h"
    862851
    863852main(){return(0);}
    864853EOF
    865 if { (eval echo configure:866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     854if { (eval echo configure:855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    866855  ac_cv_prog_cc_works=yes
    867856  # If we can't run a trivial program, we are probably using a cross compiler.
     
    889878fi
    890879echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    891 echo "configure:892: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     880echo "configure:881: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    892881echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    893882cross_compiling=$ac_cv_prog_cc_cross
    894883
    895884echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    896 echo "configure:897: checking whether we are using GNU C" >&5
     885echo "configure:886: checking whether we are using GNU C" >&5
    897886if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    898887  echo $ac_n "(cached) $ac_c" 1>&6
     
    903892#endif
    904893EOF
    905 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:906: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     894if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:895: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    906895  ac_cv_prog_gcc=yes
    907896else
     
    922911CFLAGS=
    923912echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    924 echo "configure:925: checking whether ${CC-cc} accepts -g" >&5
     913echo "configure:914: checking whether ${CC-cc} accepts -g" >&5
    925914if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    926915  echo $ac_n "(cached) $ac_c" 1>&6
     
    954943
    955944echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6
    956 echo "configure:957: checking for POSIXized ISC" >&5
     945echo "configure:946: checking for POSIXized ISC" >&5
    957946if test -d /etc/conf/kconfig.d &&
    958947  grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
     
    988977# ./install, which can be erroneously created by make from ./install.sh.
    989978echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
    990 echo "configure:991: checking for a BSD compatible install" >&5
     979echo "configure:980: checking for a BSD compatible install" >&5
    991980if test -z "$INSTALL"; then
    992981if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
     
    10411030
    10421031echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
    1043 echo "configure:1044: checking whether build environment is sane" >&5
     1032echo "configure:1033: checking whether build environment is sane" >&5
    10441033# Just in case
    10451034sleep 1
     
    10981087
    10991088echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
    1100 echo "configure:1101: checking whether ${MAKE-make} sets \${MAKE}" >&5
     1089echo "configure:1090: checking whether ${MAKE-make} sets \${MAKE}" >&5
    11011090set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
    11021091if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
     
    11441133missing_dir=`cd $ac_aux_dir && pwd`
    11451134echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
    1146 echo "configure:1147: checking for working aclocal" >&5
     1135echo "configure:1136: checking for working aclocal" >&5
    11471136# Run test in a subshell; some versions of sh will print an error if
    11481137# an executable is not found, even if stderr is redirected.
     
    11571146
    11581147echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
    1159 echo "configure:1160: checking for working autoconf" >&5
     1148echo "configure:1149: checking for working autoconf" >&5
    11601149# Run test in a subshell; some versions of sh will print an error if
    11611150# an executable is not found, even if stderr is redirected.
     
    11701159
    11711160echo $ac_n "checking for working automake""... $ac_c" 1>&6
    1172 echo "configure:1173: checking for working automake" >&5
     1161echo "configure:1162: checking for working automake" >&5
    11731162# Run test in a subshell; some versions of sh will print an error if
    11741163# an executable is not found, even if stderr is redirected.
     
    11831172
    11841173echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
    1185 echo "configure:1186: checking for working autoheader" >&5
     1174echo "configure:1175: checking for working autoheader" >&5
    11861175# Run test in a subshell; some versions of sh will print an error if
    11871176# an executable is not found, even if stderr is redirected.
     
    11961185
    11971186echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
    1198 echo "configure:1199: checking for working makeinfo" >&5
     1187echo "configure:1188: checking for working makeinfo" >&5
    11991188# Run test in a subshell; some versions of sh will print an error if
    12001189# an executable is not found, even if stderr is redirected.
     
    12141203  enableval="$enable_shared"
    12151204  p=${PACKAGE-default}
    1216 case "$enableval" in
     1205case $enableval in
    12171206yes) enable_shared=yes ;;
    12181207no) enable_shared=no ;;
     
    12371226  enableval="$enable_static"
    12381227  p=${PACKAGE-default}
    1239 case "$enableval" in
     1228case $enableval in
    12401229yes) enable_static=yes ;;
    12411230no) enable_static=no ;;
     
    12601249  enableval="$enable_fast_install"
    12611250  p=${PACKAGE-default}
    1262 case "$enableval" in
     1251case $enableval in
    12631252yes) enable_fast_install=yes ;;
    12641253no) enable_fast_install=no ;;
     
    12881277
    12891278ac_prog=ld
    1290 if test "$ac_cv_prog_gcc" = yes; then
     1279if test "$GCC" = yes; then
    12911280  # Check if gcc -print-prog-name=ld gives a path.
    12921281  echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
    1293 echo "configure:1294: checking for ld used by GCC" >&5
     1282echo "configure:1283: checking for ld used by GCC" >&5
    12941283  case $host in
    12951284  *-*-mingw*)
     
    12991288    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
    13001289  esac
    1301   case "$ac_prog" in
     1290  case $ac_prog in
    13021291    # Accept absolute paths.
    13031292    [\\/]* | [A-Za-z]:[\\/]*)
     
    13211310elif test "$with_gnu_ld" = yes; then
    13221311  echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
    1323 echo "configure:1324: checking for GNU ld" >&5
     1312echo "configure:1313: checking for GNU ld" >&5
    13241313else
    13251314  echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
    1326 echo "configure:1327: checking for non-GNU ld" >&5
    1327 fi
    1328 if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
     1315echo "configure:1316: checking for non-GNU ld" >&5
     1316fi
     1317if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
    13291318  echo $ac_n "(cached) $ac_c" 1>&6
    13301319else
     
    13341323    test -z "$ac_dir" && ac_dir=.
    13351324    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
    1336       ac_cv_path_LD="$ac_dir/$ac_prog"
     1325      lt_cv_path_LD="$ac_dir/$ac_prog"
    13371326      # Check to see if the program is GNU ld.  I'd rather use --version,
    13381327      # but apparently some GNU ld's only accept -v.
    13391328      # Break only if it was the GNU/non-GNU ld that we prefer.
    1340       if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
     1329      if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
    13411330        test "$with_gnu_ld" != no && break
    13421331      else
     
    13471336  IFS="$ac_save_ifs"
    13481337else
    1349   ac_cv_path_LD="$LD" # Let the user override the test with a path.
    1350 fi
    1351 fi
    1352 
    1353 LD="$ac_cv_path_LD"
     1338  lt_cv_path_LD="$LD" # Let the user override the test with a path.
     1339fi
     1340fi
     1341
     1342LD="$lt_cv_path_LD"
    13541343if test -n "$LD"; then
    13551344  echo "$ac_t""$LD" 1>&6
     
    13591348test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
    13601349echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
    1361 echo "configure:1362: checking if the linker ($LD) is GNU ld" >&5
    1362 if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then
     1350echo "configure:1351: checking if the linker ($LD) is GNU ld" >&5
     1351if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
    13631352  echo $ac_n "(cached) $ac_c" 1>&6
    13641353else
    13651354  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
    13661355if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
    1367   ac_cv_prog_gnu_ld=yes
    1368 else
    1369   ac_cv_prog_gnu_ld=no
    1370 fi
    1371 fi
    1372 
    1373 echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6
    1374 with_gnu_ld=$ac_cv_prog_gnu_ld
     1356  lt_cv_prog_gnu_ld=yes
     1357else
     1358  lt_cv_prog_gnu_ld=no
     1359fi
     1360fi
     1361
     1362echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
     1363with_gnu_ld=$lt_cv_prog_gnu_ld
    13751364
    13761365
    13771366echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
    1378 echo "configure:1379: checking for $LD option to reload object files" >&5
     1367echo "configure:1368: checking for $LD option to reload object files" >&5
    13791368if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
    13801369  echo $ac_n "(cached) $ac_c" 1>&6
     
    13881377
    13891378echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
    1390 echo "configure:1391: checking for BSD-compatible nm" >&5
    1391 if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then
     1379echo "configure:1380: checking for BSD-compatible nm" >&5
     1380if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
    13921381  echo $ac_n "(cached) $ac_c" 1>&6
    13931382else
    13941383  if test -n "$NM"; then
    13951384  # Let the user override the test.
    1396   ac_cv_path_NM="$NM"
     1385  lt_cv_path_NM="$NM"
    13971386else
    13981387  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
     
    14061395      # Tru64's nm complains that /dev/null is an invalid object file
    14071396      if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
    1408         ac_cv_path_NM="$tmp_nm -B"
     1397        lt_cv_path_NM="$tmp_nm -B"
    14091398        break
    14101399      elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
    1411         ac_cv_path_NM="$tmp_nm -p"
     1400        lt_cv_path_NM="$tmp_nm -p"
    14121401        break
    14131402      else
    1414         ac_cv_path_NM=${ac_cv_path_NM="$tmp_nm"} # keep the first match, but
     1403        lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
    14151404        continue # so that we can try to find one that supports BSD flags
    14161405      fi
     
    14181407  done
    14191408  IFS="$ac_save_ifs"
    1420   test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
    1421 fi
    1422 fi
    1423 
    1424 NM="$ac_cv_path_NM"
     1409  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
     1410fi
     1411fi
     1412
     1413NM="$lt_cv_path_NM"
    14251414echo "$ac_t""$NM" 1>&6
    14261415
    14271416echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
    1428 echo "configure:1429: checking whether ln -s works" >&5
     1417echo "configure:1418: checking whether ln -s works" >&5
    14291418if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
    14301419  echo $ac_n "(cached) $ac_c" 1>&6
     
    14471436
    14481437echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
    1449 echo "configure:1450: checking how to recognise dependant libraries" >&5
     1438echo "configure:1439: checking how to recognise dependant libraries" >&5
    14501439if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
    14511440  echo $ac_n "(cached) $ac_c" 1>&6
     
    14651454# whether `pass_all' will *always* work, you probably want this one.
    14661455
    1467 case "$host_os" in
    1468 aix4*)
     1456case $host_os in
     1457aix*)
    14691458  lt_cv_deplibs_check_method=pass_all
    14701459  ;;
     
    14751464
    14761465bsdi4*)
    1477     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
    1478     lt_cv_file_magic_cmd='/usr/bin/file -L'
     1466  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
     1467  lt_cv_file_magic_cmd='/usr/bin/file -L'
    14791468  lt_cv_file_magic_test_file=/shlib/libc.so
    14801469  ;;
     
    14851474  ;;
    14861475
     1476darwin* | rhapsody*)
     1477  lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
     1478  lt_cv_file_magic_cmd='/usr/bin/file -L'
     1479  case "$host_os" in
     1480  rhapsody* | darwin1.012)
     1481    lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
     1482    ;;
     1483  *) # Darwin 1.3 on
     1484    lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
     1485    ;;
     1486  esac
     1487  ;;
     1488
    14871489freebsd* )
    14881490  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
    1489     case "$host_cpu" in
     1491    case $host_cpu in
    14901492    i*86 )
    14911493      # Not sure whether the presence of OpenBSD here was a mistake.
    14921494      # Let's accept both of them until this is cleared up.
    1493             lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
    1494             lt_cv_file_magic_cmd=/usr/bin/file
     1495      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
     1496      lt_cv_file_magic_cmd=/usr/bin/file
    14951497      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
    14961498      ;;
     
    15051507  ;;
    15061508
    1507 hpux10.20*)
    1508   # TODO:  Does this work for hpux-11 too?
    1509   lt_cv_deplibs_check_method='file_magic (s0-90-90-9|PA-RISC0-9.0-9) shared library'
    1510   lt_cv_file_magic_cmd=/usr/bin/file
    1511   lt_cv_file_magic_test_file=/usr/lib/libc.sl
     1509hpux10.20*|hpux11*)
     1510  case $host_cpu in
     1511  hppa*)
     1512    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
     1513    lt_cv_file_magic_cmd=/usr/bin/file
     1514    lt_cv_file_magic_test_file=/usr/lib/libc.sl
     1515    ;;
     1516  ia64*)
     1517    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
     1518    lt_cv_file_magic_cmd=/usr/bin/file
     1519    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
     1520    ;;
     1521  esac
    15121522  ;;
    15131523
    15141524irix5* | irix6*)
    1515   case "$host_os" in
     1525  case $host_os in
    15161526  irix5*)
    15171527    # this will be overridden with pass_all, but let us keep it just in case
     
    15191529    ;;
    15201530  *)
    1521     case "$LD" in
     1531    case $LD in
    15221532    *-32|*"-32 ") libmagic=32-bit;;
    15231533    *-n32|*"-n32 ") libmagic=N32;;
     
    15261536    esac
    15271537    # this will be overridden with pass_all, but let us keep it just in case
    1528         lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
    1529         ;;
     1538    lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
     1539    ;;
    15301540  esac
    15311541  lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
     
    15351545# This must be Linux ELF.
    15361546linux-gnu*)
    1537   case "$host_cpu" in
    1538   alpha* | i*86 | powerpc* | sparc* | ia64* )
     1547  case $host_cpu in
     1548  alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* )
    15391549    lt_cv_deplibs_check_method=pass_all ;;
    15401550  *)
    15411551    # glibc up to 2.1.1 does not perform some relocations on ARM
    1542         lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
    1543       esac
     1552    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
     1553  esac
    15441554  lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
    15451555  ;;
    15461556
    15471557netbsd*)
    1548   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then :
     1558  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
     1559    lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
    15491560  else
    1550         lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
    1551         lt_cv_file_magic_cmd='/usr/bin/file -L'
    1552     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
     1561    lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
    15531562  fi
     1563  ;;
     1564
     1565newsos6)
     1566  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
     1567  lt_cv_file_magic_cmd=/usr/bin/file
     1568  lt_cv_file_magic_test_file=/usr/lib/libnls.so
    15541569  ;;
    15551570
     
    15701585  ;;
    15711586
     1587sysv5uw[78]* | sysv4*uw2*)
     1588  lt_cv_deplibs_check_method=pass_all
     1589  ;;
     1590
    15721591sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
    1573   case "$host_vendor" in
     1592  case $host_vendor in
    15741593  ncr)
    15751594    lt_cv_deplibs_check_method=pass_all
    15761595    ;;
    15771596  motorola)
    1578         lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
    1579         lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
     1597    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
     1598    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
    15801599    ;;
    15811600  esac
     
    15901609
    15911610echo $ac_n "checking for object suffix""... $ac_c" 1>&6
    1592 echo "configure:1593: checking for object suffix" >&5
     1611echo "configure:1612: checking for object suffix" >&5
    15931612if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
    15941613  echo $ac_n "(cached) $ac_c" 1>&6
     
    15961615  rm -f conftest*
    15971616echo 'int i = 1;' > conftest.$ac_ext
    1598 if { (eval echo configure:1599: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1617if { (eval echo configure:1618: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    15991618  for ac_file in conftest.*; do
    16001619    case $ac_file in
     
    16161635
    16171636echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
    1618 echo "configure:1619: checking for executable suffix" >&5
     1637echo "configure:1638: checking for executable suffix" >&5
    16191638if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
    16201639  echo $ac_n "(cached) $ac_c" 1>&6
     
    16261645  echo 'int main () { return 0; }' > conftest.$ac_ext
    16271646  ac_cv_exeext=
    1628   if { (eval echo configure:1629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     1647  if { (eval echo configure:1648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    16291648    for file in conftest.*; do
    16301649      case $file in
    1631       *.c | *.o | *.obj | *.ilk | *.pdb) ;;
     1650      *.c | *.o | *.obj) ;;
    16321651      *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
    16331652      esac
     
    16551674
    16561675# Only perform the check for file, if the check method requires it
    1657 case "$deplibs_check_method" in
     1676case $deplibs_check_method in
    16581677file_magic*)
    16591678  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
    16601679    echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
    1661 echo "configure:1662: checking for ${ac_tool_prefix}file" >&5
     1680echo "configure:1681: checking for ${ac_tool_prefix}file" >&5
    16621681if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
    16631682  echo $ac_n "(cached) $ac_c" 1>&6
    16641683else
    1665   case "$MAGIC_CMD" in
     1684  case $MAGIC_CMD in
    16661685  /*)
    16671686  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
     
    16791698      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
    16801699      if test -n "$file_magic_test_file"; then
    1681         case "$deplibs_check_method" in
     1700        case $deplibs_check_method in
    16821701        "file_magic "*)
    16831702          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
     
    17211740  if test -n "$ac_tool_prefix"; then
    17221741    echo $ac_n "checking for file""... $ac_c" 1>&6
    1723 echo "configure:1724: checking for file" >&5
     1742echo "configure:1743: checking for file" >&5
    17241743if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
    17251744  echo $ac_n "(cached) $ac_c" 1>&6
    17261745else
    1727   case "$MAGIC_CMD" in
     1746  case $MAGIC_CMD in
    17281747  /*)
    17291748  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
     
    17411760      lt_cv_path_MAGIC_CMD="$ac_dir/file"
    17421761      if test -n "$file_magic_test_file"; then
    1743         case "$deplibs_check_method" in
     1762        case $deplibs_check_method in
    17441763        "file_magic "*)
    17451764          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
     
    17921811set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    17931812echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1794 echo "configure:1795: checking for $ac_word" >&5
     1813echo "configure:1814: checking for $ac_word" >&5
    17951814if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    17961815  echo $ac_n "(cached) $ac_c" 1>&6
     
    18241843set dummy ranlib; ac_word=$2
    18251844echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1826 echo "configure:1827: checking for $ac_word" >&5
     1845echo "configure:1846: checking for $ac_word" >&5
    18271846if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    18281847  echo $ac_n "(cached) $ac_c" 1>&6
     
    18591878set dummy ${ac_tool_prefix}strip; ac_word=$2
    18601879echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1861 echo "configure:1862: checking for $ac_word" >&5
     1880echo "configure:1881: checking for $ac_word" >&5
    18621881if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
    18631882  echo $ac_n "(cached) $ac_c" 1>&6
     
    18911910set dummy strip; ac_word=$2
    18921911echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1893 echo "configure:1894: checking for $ac_word" >&5
     1912echo "configure:1913: checking for $ac_word" >&5
    18941913if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
    18951914  echo $ac_n "(cached) $ac_c" 1>&6
     
    19291948test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
    19301949test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
    1931 test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
    1932 test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
     1950test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
     1951test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
    19331952
    19341953
     
    19551974# Some flags need to be propagated to the compiler or linker for good
    19561975# libtool support.
    1957 case "$host" in
     1976case $host in
    19581977*-*-irix6*)
    19591978  # Find out which ABI we are using.
    1960   echo '#line 1961 "configure"' > conftest.$ac_ext
    1961   if { (eval echo configure:1962: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    1962     case "`/usr/bin/file conftest.o`" in
     1979  echo '#line 1980 "configure"' > conftest.$ac_ext
     1980  if { (eval echo configure:1981: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1981   if test "$lt_cv_prog_gnu_ld" = yes; then
     1982    case `/usr/bin/file conftest.$ac_objext` in
     1983    *32-bit*)
     1984      LD="${LD-ld} -melf32bsmip"
     1985      ;;
     1986    *N32*)
     1987      LD="${LD-ld} -melf32bmipn32"
     1988      ;;
     1989    *64-bit*)
     1990      LD="${LD-ld} -melf64bmip"
     1991      ;;
     1992    esac
     1993   else
     1994    case `/usr/bin/file conftest.$ac_objext` in
    19631995    *32-bit*)
    19641996      LD="${LD-ld} -32"
     
    19712003      ;;
    19722004    esac
     2005   fi
     2006  fi
     2007  rm -rf conftest*
     2008  ;;
     2009
     2010ia64-*-hpux*)
     2011  # Find out which ABI we are using.
     2012  echo 'int i;' > conftest.$ac_ext
     2013  if { (eval echo configure:2014: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2014    case "`/usr/bin/file conftest.o`" in
     2015    *ELF-32*)
     2016      HPUX_IA64_MODE="32"
     2017      ;;
     2018    *ELF-64*)
     2019      HPUX_IA64_MODE="64"
     2020      ;;
     2021    esac
     2022  fi
     2023  rm -rf conftest*
     2024  ;;
     2025
     2026x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
     2027  # Find out which ABI we are using.
     2028  echo 'int i;' > conftest.$ac_ext
     2029  if { (eval echo configure:2030: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2030    case "`/usr/bin/file conftest.o`" in
     2031    *32-bit*)
     2032      case $host in
     2033        x86_64-*linux*)
     2034          LD="${LD-ld} -m elf_i386"
     2035          ;;
     2036        ppc64-*linux*)
     2037          LD="${LD-ld} -m elf32ppclinux"
     2038          ;;
     2039        s390x-*linux*)
     2040          LD="${LD-ld} -m elf_s390"
     2041          ;;
     2042        sparc64-*linux*)
     2043          LD="${LD-ld} -m elf32_sparc"
     2044          ;;
     2045      esac
     2046      ;;
     2047    *64-bit*)
     2048      case $host in
     2049        x86_64-*linux*)
     2050          LD="${LD-ld} -m elf_x86_64"
     2051          ;;
     2052        ppc*-*linux*|powerpc*-*linux*)
     2053          LD="${LD-ld} -m elf64ppc"
     2054          ;;
     2055        s390*-*linux*)
     2056          LD="${LD-ld} -m elf64_s390"
     2057          ;;
     2058        sparc*-*linux*)
     2059          LD="${LD-ld} -m elf64_sparc"
     2060          ;;
     2061      esac
     2062      ;;
     2063    esac
    19732064  fi
    19742065  rm -rf conftest*
     
    19802071  CFLAGS="$CFLAGS -belf"
    19812072  echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
    1982 echo "configure:1983: checking whether the C compiler needs -belf" >&5
     2073echo "configure:2074: checking whether the C compiler needs -belf" >&5
    19832074if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
    19842075  echo $ac_n "(cached) $ac_c" 1>&6
     
    19932084
    19942085     cat > conftest.$ac_ext <<EOF
    1995 #line 1996 "configure"
     2086#line 2087 "configure"
    19962087#include "confdefs.h"
    19972088
     
    20002091; return 0; }
    20012092EOF
    2002 if { (eval echo configure:2003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2093if { (eval echo configure:2094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    20032094  rm -rf conftest*
    20042095  lt_cv_cc_needs_belf=yes
     
    21102201exec 5>>./config.log
    21112202
    2112 
    21132203 
    21142204
     
    21492239using_cgen=no
    21502240
    2151 build_warnings="-W -Wall"
     2241build_warnings="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
    21522242# Check whether --enable-build-warnings or --disable-build-warnings was given.
    21532243if test "${enable_build_warnings+set}" = set; then
     
    21812271GDBINIT=".gdbinit"
    21822272case "${host}" in
    2183   *-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-cygwin* | *-*-windows*)
     2273  *-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-windows*)
    21842274    GDBINIT="gdb.ini"
    21852275    ;;
     
    22342324    case ${cpu} in
    22352325      alpha*)           cpu_type=alpha ;;
    2236       armeb)            cpu_type=arm endian=big ;;
    2237       arm*)             cpu_type=arm endian=little ;;
    2238       armb*)            cpu_type=arm endian=little ;;
    2239       armv*l)           cpu_type=arm endian=little ;;
    2240       armv*b)           cpu_type=arm endian=big ;;
    2241       xscale*)          cpu_type=arm endian=little ;;
    2242       strongarm*)       cpu_type=arm endian=little ;;
    2243       thumb*)           cpu_type=arm endian=little ;;
     2326      arm*b|xscale*b|strongarm*b) cpu_type=arm endian=big ;;
     2327      arm*|xscale*|strongarm*)    cpu_type=arm endian=little ;;
    22442328      hppa*)            cpu_type=hppa ;;
    22452329      i[3456]86)        cpu_type=i386 arch=i386;;
    22462330      x86_64)           cpu_type=i386 arch=x86_64;;
    22472331      ia64)             cpu_type=ia64 ;;
     2332      ip2k)             cpu_type=ip2k endian=big ;;
     2333      iq2000)           cpu_type=iq2000 endian=big ;;
    22482334      m6811|m6812|m68hc12) cpu_type=m68hc11 ;;
    22492335      m680[012346]0)    cpu_type=m68k ;;
     
    22542340      mips*el)          cpu_type=mips endian=little ;;
    22552341      mips*)            cpu_type=mips endian=big ;;
     2342      or32*)            cpu_type=or32 endian=big ;;
    22562343      pjl*)             cpu_type=pj endian=little ;;
    22572344      pj*)              cpu_type=pj endian=big ;;
    2258       powerpcle*)       cpu_type=ppc endian=little ;;
     2345      powerpc*le*)      cpu_type=ppc endian=little ;;
    22592346      powerpc*)         cpu_type=ppc endian=big ;;
    22602347      rs6000*)          cpu_type=ppc ;;
     2348      s390x*)           cpu_type=s390 arch=s390x ;;
     2349      s390*)            cpu_type=s390 arch=s390 ;;
     2350      sh5*)             cpu_type=sh64 endian=big ;;
     2351      sh5le*)           cpu_type=sh64 endian=little ;;
     2352      sh64*)            cpu_type=sh64 endian=big ;;
     2353      sh64le*)          cpu_type=sh64 endian=little ;;
     2354      sh*le)            cpu_type=sh endian=little ;;
     2355      sh*)              cpu_type=sh endian=big ;;
    22612356      sparclite*)       cpu_type=sparc arch=sparclite ;;
    22622357      sparclet*)        cpu_type=sparc arch=sparclet ;;
     
    22652360      sparc*)           cpu_type=sparc arch=sparclite ;; # ??? See tc-sparc.c.
    22662361      v850*)            cpu_type=v850 ;;
     2362      xtensa*)          cpu_type=xtensa arch=xtensa ;;
    22672363      *)                cpu_type=${cpu} ;;
    22682364    esac
     
    22812377    # assign object format
    22822378    case ${generic_target} in
    2283       a29k-*-coff)          fmt=coff ;;
    2284       a29k-amd-udi)         fmt=coff ;;
    2285       a29k-amd-ebmon)       fmt=coff ;;
    2286       a29k-nyu-sym1)        fmt=coff ;;
    2287       a29k-*-rtems*)        fmt=coff ;;
    2288       a29k-*-vxworks*)      fmt=coff ;;
    2289 
    2290       alpha*-*-*vms*)       fmt=evax ;;
    2291       alpha*-*-netware*)    fmt=ecoff ;;
    2292       alpha*-*-openbsd*)    fmt=ecoff ;;
    2293       alpha*-*-osf*)        fmt=ecoff ;;
    2294       alpha*-*-linuxecoff*) fmt=ecoff ;;
    2295       alpha*-*-linux-gnu*)  fmt=elf em=linux ;;
    2296       alpha*-*-netbsd*)     fmt=elf em=nbsd ;;
    2297 
    2298       arc-*-elf*)           fmt=elf bfd_gas=yes ;;
    2299 
    2300       arm-*-aout)                       fmt=aout ;;
    2301       arm-*-coff | thumb-*-coff)        fmt=coff ;;
    2302       arm-*-rtems | thumb-*-rtems)      fmt=elf ;;
    2303       arm-*-elf | thumb-*-elf)          fmt=elf ;;
     2379      a29k-*-coff)                      fmt=coff ;;
     2380      a29k-amd-udi)                     fmt=coff ;;
     2381      a29k-amd-ebmon)                   fmt=coff ;;
     2382      a29k-nyu-sym1)                    fmt=coff ;;
     2383      a29k-*-rtems*)                    fmt=coff ;;
     2384      a29k-*-vxworks*)                  fmt=coff ;;
     2385
     2386      alpha*-*-*vms*)                   fmt=evax ;;
     2387      alpha*-*-netware*)                fmt=ecoff ;;
     2388      alpha*-*-osf*)                    fmt=ecoff ;;
     2389      alpha*-*-linuxecoff*)             fmt=ecoff ;;
     2390      alpha*-*-linux-gnu*)              fmt=elf em=linux ;;
     2391      alpha*-*-netbsd*)                 fmt=elf em=nbsd ;;
     2392      alpha*-*-openbsd*)                fmt=elf em=obsd ;;
     2393
     2394      arc-*-elf*)                       fmt=elf ;;
     2395
     2396      arm-*-aout)                       fmt=aout ;;
     2397      arm-*-coff | thumb-*-coff)        fmt=coff ;;
     2398      arm-*-rtems | thumb-*-rtems)      fmt=elf ;;
     2399      arm-*-elf | thumb-*-elf)          fmt=elf ;;
     2400      arm-*-kaos*)                      fmt=elf ;;
    23042401      arm*-*-conix*)                    fmt=elf ;;
    2305       arm-*-linux*aout*)                fmt=aout em=linux ;;
    2306       arm*-*-linux-gnu* | arm*-*-uclinux*)     
    2307                                         fmt=elf  em=linux ;;
    2308       arm-*-netbsd*)                    fmt=aout em=nbsd ;;
    2309       arm-*-oabi | thumb-*-oabi)        fmt=elf ;;
    2310       arm-epoc-pe | thumb-epoc-pe)      fmt=coff em=epoc-pe ;;
     2402      arm-*-linux*aout*)                fmt=aout em=linux ;;
     2403      arm*-*-linux-gnu*)                fmt=elf  em=linux ;;
     2404      arm*-*-uclinux*)                  fmt=elf  em=linux ;;
     2405      arm-*-netbsdelf*)                 fmt=elf  em=nbsd ;;
     2406      arm-*-*n*bsd*)                    fmt=aout em=nbsd ;;
     2407      arm-**-nto*)                      fmt=elf ;;
     2408      arm-*-oabi | thumb-*-oabi)        fmt=elf ;;
     2409      arm-epoc-pe | thumb-epoc-pe)      fmt=coff em=epoc-pe ;;
    23112410      arm-*-wince)                      fmt=coff em=wince-pe ;;
    2312       arm-*-pe | thumb-*-pe)            fmt=coff em=pe ;;
    2313       arm-*-riscix*)                    fmt=aout em=riscix ;;
    2314       arm-*-vxworks)                    fmt=coff ;;
    2315 
    2316       avr-*-*)              fmt=elf bfd_gas=yes ;;
    2317 
    2318       cris-*-*)             fmt=multi bfd_gas=yes ;;
    2319 
    2320       d10v-*-*)             fmt=elf bfd_gas=yes ;;
    2321       d30v-*-*)             fmt=elf bfd_gas=yes ;;
    2322 
    2323 
    2324       fr30-*-*)             fmt=elf bfd_gas=yes ;;
    2325 
    2326       hppa-*-linux-gnu*)    case ${cpu} in
    2327                                 hppa*64*)
    2328                                         fmt=elf em=hppalinux64;;
    2329                                 hppa*)
    2330                                         fmt=elf em=linux;;
    2331                             esac ;;
    2332       hppa-*-*elf*)         fmt=elf em=hppa ;;
    2333       hppa-*-lites*)        fmt=elf em=hppa ;;
    2334       hppa-*-osf*)          fmt=som em=hppa ;;
    2335       hppa-*-rtems*)        fmt=elf em=hppa ;;
    2336       hppa-*-hpux11*)       case ${cpu} in
    2337                                 hppa*64*)
    2338                                         fmt=elf em=hppa64 ;;
    2339                                 hppa*)
    2340                                         fmt=som em=hppa ;;
    2341                             esac ;;
    2342       hppa-*-hpux*)         fmt=som em=hppa ;;
    2343       hppa-*-mpeix*)        fmt=som em=hppa ;;
    2344       hppa-*-bsd*)          fmt=som em=hppa ;;
    2345       hppa-*-hiux*)         fmt=som em=hppa ;;
    2346 
    2347       h8300-*-rtems*)       fmt=coff ;;
    2348       h8300-*-coff)         fmt=coff ;;
    2349       h8500-*-rtems*)       fmt=coff ;;
    2350       h8500-*-coff)         fmt=coff ;;
    2351 
    2352       i370-*-elf* | i370-*-linux*) fmt=elf ;;
    2353       i386-ibm-aix*)        fmt=coff em=i386aix ;;
    2354       i386-sequent-bsd*)    fmt=aout em=dynix bfd_gas=yes ;;
    2355       i386-*-beospe*)       fmt=coff em=pe bfd_gas=yes ;;
    2356       i386-*-beoself* | i386-*-beos*) fmt=elf bfd_gas=yes ;;
    2357       i386-*-bsd*)          fmt=aout em=386bsd ;;
    2358       i386-*-netbsd0.8)     fmt=aout em=386bsd ;;
    2359       i386-*-netbsd*)       fmt=aout em=nbsd bfd_gas=yes;;
    2360       i386-*-openbsd*)      fmt=aout em=nbsd bfd_gas=yes;;
    2361       i386-*-linux*aout* | i386-*-linux*oldld)   fmt=aout em=linux ;;
    2362       i386-*-linux*coff*)   fmt=coff em=linux ;;
    2363       i386-*-linux-gnu*)    fmt=elf em=linux bfd_gas=yes ;;
    2364       x86_64-*-linux-gnu*)  fmt=elf em=linux bfd_gas=yes ;;
    2365       i386-*-lynxos*)       fmt=coff em=lynx ;;
    2366       i386-*-sysv[45]* | i386-*-solaris* | i386-*-elf)
    2367                             fmt=elf bfd_gas=yes ;;
    2368       i386-*-freebsdaout* | i386-*-freebsd[12].* | i386-*-freebsd[12])
    2369                             fmt=aout em=386bsd ;;
    2370       i386-*-coff | i386-*-sysv* | i386-*-sco3.2v5*coff | i386-*-isc*)
    2371                           fmt=coff ;;
    2372       i386-*-sco3.2v5*)      fmt=elf
    2373                             if test ${this_target} = $target; then
    2374                                 cat >> confdefs.h <<\EOF
     2411      arm-*-pe | thumb-*-pe)            fmt=coff em=pe ;;
     2412      arm-*-riscix*)                    fmt=aout em=riscix ;;
     2413      arm-*-vxworks)                    fmt=coff ;;
     2414
     2415      avr-*-*)                          fmt=elf ;;
     2416
     2417      cris-*-*)                         fmt=multi bfd_gas=yes ;;
     2418
     2419      d10v-*-*)                         fmt=elf ;;
     2420      d30v-*-*)                         fmt=elf ;;
     2421      dlx-*-*)                          fmt=elf ;;
     2422
     2423      fr30-*-*)                         fmt=elf ;;
     2424      frv-*-*)                          fmt=elf ;;
     2425
     2426      hppa-*-linux*)    case ${cpu} in
     2427                            hppa*64*)   fmt=elf em=hppalinux64;;
     2428                            hppa*)      fmt=elf em=linux;;
     2429                        esac ;;
     2430      hppa-*-*elf*)                     fmt=elf em=hppa ;;
     2431      hppa-*-lites*)                    fmt=elf em=hppa ;;
     2432      hppa-*-netbsd*)                   fmt=elf em=nbsd ;;
     2433      hppa-*-openbsd*)                  fmt=elf em=hppa ;;
     2434      hppa-*-osf*)                      fmt=som em=hppa ;;
     2435      hppa-*-rtems*)                    fmt=elf em=hppa ;;
     2436      hppa-*-hpux11*)   case ${cpu} in
     2437                            hppa*64*)   fmt=elf em=hppa64 ;;
     2438                            hppa*)      fmt=som em=hppa ;;
     2439                        esac ;;
     2440      hppa-*-hpux*)                     fmt=som em=hppa ;;
     2441      hppa-*-mpeix*)                    fmt=som em=hppa ;;
     2442      hppa-*-bsd*)                      fmt=som em=hppa ;;
     2443      hppa-*-hiux*)                     fmt=som em=hppa ;;
     2444
     2445      h8300-*-rtems*)                   fmt=coff ;;
     2446      h8300-*-coff)                     fmt=coff ;;
     2447      h8300-*-elf)                      fmt=elf ;;
     2448      h8500-*-rtems*)                   fmt=coff ;;
     2449      h8500-*-coff)                     fmt=coff ;;
     2450
     2451      i370-*-elf* | i370-*-linux*)      fmt=elf ;;
     2452      i386-ibm-aix*)                    fmt=coff em=i386aix ;;
     2453      i386-sequent-bsd*)                fmt=aout em=dynix ;;
     2454      i386-*-beospe*)                   fmt=coff em=pe ;;
     2455      i386-*-beos*)                     fmt=elf ;;
     2456      i386-*-coff)                      fmt=coff ;;
     2457      i386-*-elf)                       fmt=elf ;;
     2458      i386-*-kaos*)                     fmt=elf ;;
     2459      i386-*-bsd*)                      fmt=aout em=386bsd ;;
     2460      i386-*-netbsd0.8)                 fmt=aout em=386bsd ;;
     2461      i386-*-netbsdpe*)                 fmt=coff em=pe ;;
     2462      i386-*-netbsdelf*)                fmt=elf em=nbsd ;;
     2463      i386-*-*n*bsd*)   case ${cpu} in
     2464                            x86_64)     fmt=elf em=nbsd ;;
     2465                            *)          fmt=aout em=nbsd ;;
     2466                        esac ;;
     2467      i386-*-linux*aout*)               fmt=aout em=linux ;;
     2468      i386-*-linux*oldld)               fmt=aout em=linux ;;
     2469      i386-*-linux*coff*)               fmt=coff em=linux ;;
     2470      i386-*-linux-gnu*)                fmt=elf em=linux ;;
     2471      x86_64-*-linux-gnu*)              fmt=elf em=linux ;;
     2472      i386-*-lynxos*)                   fmt=coff em=lynx ;;
     2473      i386-*-sysv[45]*)                 fmt=elf ;;
     2474      i386-*-solaris*)                  fmt=elf ;;
     2475      i386-*-freebsdaout*)              fmt=aout em=386bsd ;;
     2476      i386-*-freebsd[12].*)             fmt=aout em=386bsd ;;
     2477      i386-*-freebsd[12])               fmt=aout em=386bsd ;;
     2478      i386-*-sysv*)                     fmt=coff ;;
     2479      i386-*-sco3.2v5*coff)             fmt=coff ;;
     2480      i386-*-isc*)                      fmt=coff ;;
     2481      i386-*-sco3.2v5*)                 fmt=elf
     2482          if test ${this_target} = $target; then
     2483            cat >> confdefs.h <<\EOF
    23752484#define SCO_ELF 1
    23762485EOF
    23772486
    2378                             fi
    2379                             ;;
    2380       i386-*-sco3.2*)       fmt=coff ;;
    2381       i386-*-vsta)          fmt=aout ;;
    2382       i386-*-msdosdjgpp* | i386-*-go32* | i386-go32-rtems*)
    2383                             fmt=coff em=go32 bfd_gas=yes
    2384                             cat >> confdefs.h <<\EOF
     2487          fi ;;
     2488      i386-*-sco3.2*)                   fmt=coff ;;
     2489      i386-*-vsta)                      fmt=aout ;;
     2490      i386-*-msdosdjgpp* \
     2491      | i386-*-go32* \
     2492      | i386-go32-rtems*)               fmt=coff em=go32
     2493            cat >> confdefs.h <<\EOF
    23852494#define STRICTCOFF 1
    23862495EOF
    2387 
    2388                             ;;
    2389       i386-*-rtemself*)     fmt=elf ;;
    2390       i386-*-rtems*)        fmt=coff ;;
    2391       i386-*-gnu*)          fmt=elf ;;
    2392       i386-*-mach*)
    2393                             fmt=aout em=mach bfd_gas=yes ;;
    2394       i386-*-msdos*)        fmt=aout ;;
    2395       i386-*-moss*)         fmt=elf ;;
    2396       i386-*-pe)            fmt=coff em=pe bfd_gas=yes ;;
    2397       i386-*-cygwin*)       fmt=coff em=pe bfd_gas=yes ;;
    2398       i386-*-interix*)      fmt=coff em=interix bfd_gas=yes ;;
    2399       i386-*-mingw32*)      fmt=coff em=pe bfd_gas=yes ;;
    2400       i386-*-*nt*)          fmt=coff em=pe bfd_gas=yes ;;
    2401       i386-*-vxworks*)      fmt=aout ;;
    2402       i386-*-chaos)         fmt=elf ;;
    2403       i860-stardent-sysv4* | i860-stardent-elf*)
    2404                             fmt=elf bfd_gas=yes endian=little
    2405                             echo "configure: warning: GAS support for ${generic_target} is preliminary and a work in progress" 1>&2 ;;
    2406       i960-*-bout)          fmt=bout ;;
    2407       i960-*-coff)          fmt=coff em=ic960 ;;
    2408       i960-*-rtems*)        fmt=coff em=ic960 ;;
    2409       i960-*-nindy*)        fmt=bout ;;
    2410       i960-*-vxworks4*)     fmt=bout ;;
    2411       i960-*-vxworks5.0)    fmt=bout ;;
    2412       i960-*-vxworks5.*)    fmt=coff em=ic960 ;;
    2413       i960-*-vxworks*)      fmt=bout ;;
    2414       i960-*-elf*)          fmt=elf ;;
    2415 
    2416       ia64-*-elf*)          fmt=elf ;;
    2417       ia64-*-linux-gnu*)    fmt=elf em=linux ;;
    2418       ia64-*-hpux*)         fmt=elf em=hpux ;;
    2419 
    2420       m32r-*-*)             fmt=elf bfd_gas=yes ;;
    2421 
    2422       m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*)fmt=elf bfd_gas=yes ;;
    2423 
    2424       m68k-*-vxworks* | m68k-ericsson-ose | m68k-*-sunos*)
    2425                             fmt=aout em=sun3 ;;
    2426       m68k-motorola-sysv*)  fmt=coff em=delta ;;
    2427       m68k-bull-sysv3*)     fmt=coff em=dpx2 ;;
    2428       m68k-apollo-*)        fmt=coff em=apollo ;;
    2429       m68k-*-sysv4*) # must be before -sysv*
    2430                             fmt=elf em=svr4 ;;
    2431       m68k-*-elf*)          fmt=elf ;;
    2432       m68k-*-coff | m68k-*-sysv* | m68k-*-rtems*)
    2433                             fmt=coff ;;
    2434       m68k-*-hpux*)         fmt=hp300 em=hp300 ;;
    2435       m68k-*-linux*aout*)   fmt=aout em=linux ;;
    2436       m68k-*-linux-gnu*)    fmt=elf em=linux ;;
    2437       m68k-*-gnu*)          fmt=elf ;;
    2438       m68k-*-lynxos*)       fmt=coff em=lynx ;;
    2439       m68k-*-netbsd*)       fmt=aout em=nbsd bfd_gas=yes ;;
    2440       m68k-*-openbsd*)      fmt=aout em=nbsd bfd_gas=yes ;;
    2441       m68k-apple-aux*)      fmt=coff em=aux ;;
    2442       m68k-*-psos*)         fmt=elf em=psos;;
    2443 
    2444       m88k-motorola-sysv3*) fmt=coff em=delt88 ;;
    2445       m88k-*-coff*)         fmt=coff ;;
    2446 
    2447       mcore-*-elf)          fmt=elf bfd_gas=yes ;;
    2448       mcore-*-pe)           fmt=coff em=pe bfd_gas=yes ;;
     2496 ;;
     2497      i386-*-rtemself*)                 fmt=elf ;;
     2498      i386-*-rtemscoff*)                fmt=coff ;;
     2499      i386-*-rtems*)                    fmt=elf ;;
     2500      i386-*-gnu*)                      fmt=elf ;;
     2501      i386-*-mach*)                     fmt=aout em=mach ;;
     2502      i386-*-msdos*)                    fmt=aout ;;
     2503      i386-*-moss*)                     fmt=elf ;;
     2504      i386-*-pe)                        fmt=coff em=pe ;;
     2505      i386-*-cygwin*)                   fmt=coff em=pe ;;
     2506      i386-*-interix*)                  fmt=coff em=interix ;;
     2507      i386-*-mingw32*)                  fmt=coff em=pe ;;
     2508      i386-*-nto-qnx*)                  fmt=elf ;;
     2509      i386-*-*nt*)                      fmt=coff em=pe ;;
     2510      i386-*-vxworks*)                  fmt=aout ;;
     2511      i386-*-chaos)                     fmt=elf ;;
     2512
     2513      i860-*-*)                         fmt=elf endian=little
     2514                echo "configure: warning: GAS support for ${generic_target} is preliminary and a work in progress" 1>&2 ;;
     2515      i960-*-bout)                      fmt=bout ;;
     2516      i960-*-coff)                      fmt=coff em=ic960 ;;
     2517      i960-*-rtems*)                    fmt=coff em=ic960 ;;
     2518      i960-*-nindy*)                    fmt=bout ;;
     2519      i960-*-vxworks5.0)                fmt=bout ;;
     2520      i960-*-vxworks5.*)                fmt=coff em=ic960 ;;
     2521      i960-*-vxworks*)                  fmt=bout ;;
     2522      i960-*-elf*)                      fmt=elf ;;
     2523
     2524      ia64-*-elf*)                      fmt=elf ;;
     2525      ia64-*-aix*)                      fmt=elf em=ia64aix ;;
     2526      ia64-*-linux-gnu*)                fmt=elf em=linux ;;
     2527      ia64-*-hpux*)                     fmt=elf em=hpux ;;
     2528      ia64-*-netbsd*)                   fmt=elf em=nbsd ;;
     2529
     2530      ip2k-*-*)                         fmt=elf ;;
     2531
     2532      iq2000-*-elf)                     fmt=elf bfd_gas=yes ;;
     2533
     2534      m32r-*-*)                         fmt=elf ;;
     2535
     2536      m68hc11-*-* | m6811-*-*)          fmt=elf ;;
     2537      m68hc12-*-* | m6812-*-*)          fmt=elf ;;
     2538
     2539      m68k-*-vxworks*)                  fmt=aout em=sun3 ;;
     2540      m68k-ericsson-ose)                fmt=aout em=sun3 ;;
     2541      m68k-*-sunos*)                    fmt=aout em=sun3 ;;
     2542      m68k-motorola-sysv*)              fmt=coff em=delta ;;
     2543      m68k-bull-sysv3*)                 fmt=coff em=dpx2 ;;
     2544      m68k-apollo-*)                    fmt=coff em=apollo ;;
     2545      m68k-*-elf*)                      fmt=elf ;;
     2546      m68k-*-sysv4*)                    fmt=elf em=svr4 ;;
     2547      m68k-*-sysv*)                     fmt=coff ;;
     2548      m68k-*-coff | m68k-*-rtemscoff*)  fmt=coff ;;
     2549      m68k-*-rtems*)                    fmt=elf ;;
     2550      m68k-*-hpux*)                     fmt=hp300 em=hp300 ;;
     2551      m68k-*-linux*aout*)               fmt=aout em=linux ;;
     2552      m68k-*-linux-gnu*)                fmt=elf em=linux ;;
     2553      m68k-*-gnu*)                      fmt=elf ;;
     2554      m68k-*-lynxos*)                   fmt=coff em=lynx ;;
     2555      m68k-*-netbsdelf*)                fmt=elf em=nbsd ;;
     2556      m68k-*-netbsd*)                   fmt=aout em=nbsd bfd_gas=yes ;;
     2557      m68k-*-openbsd*)                  fmt=aout em=nbsd bfd_gas=yes ;;
     2558      m68k-apple-aux*)                  fmt=coff em=aux ;;
     2559      m68k-*-psos*)                     fmt=elf em=psos;;
     2560
     2561      m88k-motorola-sysv3*)             fmt=coff em=delt88 ;;
     2562      m88k-*-coff*)                     fmt=coff ;;
     2563
     2564      mcore-*-elf)                      fmt=elf ;;
     2565      mcore-*-pe)                       fmt=coff em=pe bfd_gas=yes ;;
    24492566
    24502567      # don't change em like *-*-bsd does
    2451       mips-dec-netbsd*)     fmt=elf endian=little ;;
    2452       mips-dec-openbsd*)    fmt=elf endian=little ;;
    2453       mips-dec-bsd*)        fmt=aout endian=little ;;
    2454       mips-sony-bsd*)       fmt=ecoff ;;
    2455       mips-*-bsd*)          { echo "configure: error: Unknown vendor for mips-bsd configuration." 1>&2; exit 1; } ;;
    2456       mips-*-ultrix*)       fmt=ecoff endian=little ;;
    2457       mips-*-osf*)          fmt=ecoff endian=little ;;
    2458       mips-*-ecoff*)        fmt=ecoff ;;
    2459       mips-*-pe*)           fmt=coff endian=little em=pe ;;
    2460       mips-*-irix6*)        fmt=elf ;;
    2461       mips-*-irix5*)        fmt=elf ;;
    2462       mips-*-irix*)         fmt=ecoff ;;
    2463       mips-*-lnews*)        fmt=ecoff em=lnews ;;
    2464       mips-*-riscos*)       fmt=ecoff ;;
    2465       mips-*-linux-gnu*)
    2466                             fmt=elf em=tmips
    2467                             cat >> confdefs.h <<\EOF
    2468 #define MIPS_STABS_ELF 1
    2469 EOF
    2470 
    2471                             ;;
    2472       mips-*-sysv4*MP* | mips-*-gnu*)
    2473                             fmt=elf em=tmips ;;
    2474       mips-*-sysv*)         fmt=ecoff ;;
    2475       mips-*-elf* | mips-*-rtems* | mips-*-openbsd*)
    2476                             fmt=elf ;;
    2477       mips-*-vxworks*)      fmt=elf
    2478                             cat >> confdefs.h <<\EOF
    2479 #define MIPS_STABS_ELF 1
    2480 EOF
    2481 
    2482                             ;;
    2483       mn10200-*-*)          fmt=elf bfd_gas=yes ;;
    2484       mn10300-*-*)          fmt=elf bfd_gas=yes ;;
    2485       pj*)                  fmt=elf ;;
    2486       ppc-*-pe | ppc-*-cygwin* | ppc-*-winnt*)
    2487                             fmt=coff em=pe ;;
    2488       ppc-*-aix*)           fmt=coff ;;
    2489       ppc-*-beos*)          fmt=coff ;;
    2490       ppc-*-*bsd* | ppc-*-elf* | ppc-*-eabi* | ppc-*-sysv4*)
    2491                             fmt=elf ;;
    2492       ppc-*-linux-gnu*)     fmt=elf
    2493                             case "$endian" in
    2494                             big)  ;;
    2495                             *)    { echo "configure: error: GNU/Linux must be configured big endian" 1>&2; exit 1; } ;;
    2496                             esac
    2497                             ;;
    2498       ppc-*-solaris*)       fmt=elf
    2499                             if test ${this_target} = $target; then
    2500                                 cat >> confdefs.h <<\EOF
     2568      mips-dec-openbsd*)                fmt=elf endian=little ;;
     2569      mips-dec-bsd*)                    fmt=aout endian=little ;;
     2570      mips-sony-bsd*)                   fmt=ecoff ;;
     2571      mips-*-bsd*)
     2572            { echo "configure: error: Unknown vendor for mips-bsd configuration." 1>&2; exit 1; } ;;
     2573      mips-*-ultrix*)                   fmt=ecoff endian=little ;;
     2574      mips-*-osf*)                      fmt=ecoff endian=little ;;
     2575      mips-*-ecoff*)                    fmt=ecoff ;;
     2576      mips-*-pe*)                       fmt=coff endian=little em=pe ;;
     2577      mips-*-irix6*)                    fmt=elf em=irix ;;
     2578      mips-*-irix5*)                    fmt=elf em=irix ;;
     2579      mips-*-irix*)                     fmt=ecoff em=irix ;;
     2580      mips-*-lnews*)                    fmt=ecoff em=lnews ;;
     2581      mips-*-riscos*)                   fmt=ecoff ;;
     2582      mips*-*-linux*)                   fmt=elf em=tmips ;;
     2583      mips-*-sysv4*MP* | mips-*-gnu*)   fmt=elf em=tmips ;;
     2584      mips-*-sysv*)                     fmt=ecoff ;;
     2585      mips-*-elf* | mips-*-rtems*)      fmt=elf ;;
     2586      mips-*-netbsd*)                   fmt=elf ;;
     2587      mips-*-openbsd*)                  fmt=elf ;;
     2588      mips-*-vxworks*)                  fmt=elf ;;
     2589
     2590      mmix-*-*)                         fmt=elf ;;
     2591      mn10200-*-*)                      fmt=elf ;;
     2592      mn10300-*-*)                      fmt=elf ;;
     2593      msp430-*-*)                       fmt=elf ;;
     2594      openrisc-*-*)                     fmt=elf ;;
     2595      or32-*-rtems*)                    fmt=coff ;;
     2596      or32-*-coff)                      fmt=coff ;;
     2597      or32-*-elf)                       fmt=elf ;;
     2598      pj*)                              fmt=elf ;;
     2599
     2600      ppc-*-pe | ppc-*-cygwin*)         fmt=coff em=pe ;;
     2601      ppc-*-winnt*)                     fmt=coff em=pe ;;
     2602      ppc-*-aix5*)                      fmt=coff em=aix5 ;;
     2603      ppc-*-aix*)                       fmt=coff ;;
     2604      ppc-*-beos*)                      fmt=coff ;;
     2605      ppc-*-*n*bsd* | ppc-*-elf*)       fmt=elf ;;
     2606      ppc-*-eabi* | ppc-*-sysv4*)       fmt=elf ;;
     2607      ppc-*-linux-gnu*)                 fmt=elf
     2608            case "$endian" in
     2609                big)  ;;
     2610                *)    { echo "configure: error: GNU/Linux must be configured big endian" 1>&2; exit 1; } ;;
     2611            esac ;;
     2612      ppc-*-solaris*)                   fmt=elf
     2613            if test ${this_target} = $target; then
     2614                cat >> confdefs.h <<\EOF
    25012615#define TARGET_SOLARIS_COMMENT 1
    25022616EOF
    25032617
    2504                             fi
    2505                             if test x${endian} = xbig; then
    2506                                 { echo "configure: error: Solaris must be configured little endian" 1>&2; exit 1; }
    2507                             fi
    2508                             ;;
    2509       ppc-*-rtems*)         fmt=elf ;;
    2510       ppc-*-macos* | ppc-*-mpw*)
    2511                             fmt=coff em=macos ;;
    2512       ppc-*-netware*)       fmt=elf em=ppcnw ;;
    2513       ppc-*-vxworks*)       fmt=elf ;;
    2514 
    2515       sh-*-linux*)          fmt=elf em=linux ;;
    2516       sh-*-elf*)            fmt=elf ;;
    2517       sh-*-coff*)           fmt=coff ;;
    2518       sh-*-pe*)             fmt=coff em=pe bfd_gas=yes;;
    2519       sh-*-rtemself*)       fmt=elf ;;
    2520       sh-*-rtems*)          fmt=coff ;;
    2521 
    2522       ns32k-pc532-mach* | ns32k-pc532-ux*)    fmt=aout em=pc532mach ;;
    2523       ns32k-pc532-netbsd* | ns32k-pc532-lites*)  fmt=aout em=nbsd532 ;;
    2524       ns32k-pc532-openbsd*) fmt=aout em=nbsd532 ;;
    2525 
    2526       sparc-*-rtemsaout*)   fmt=aout ;;
    2527       sparc-*-rtemself*)    fmt=elf ;;
    2528       sparc-*-rtems*)       fmt=elf ;;
    2529       sparc-*-sunos4*)      fmt=aout em=sun3 ;;
    2530       sparc-*-aout | sparc*-*-vxworks*)
    2531                             fmt=aout em=sparcaout ;;
    2532       sparc-*-coff)         fmt=coff ;;
    2533       sparc-*-linux*aout*)  fmt=aout em=linux ;;
    2534       sparc-*-linux-gnu*)   fmt=elf em=linux ;;
    2535       sparc-*-lynxos*)      fmt=coff em=lynx ;;
    2536       sparc-fujitsu-none)   fmt=aout ;;
    2537       sparc-*-elf | sparc-*-sysv4* | sparc-*-solaris*)
    2538                             fmt=elf ;;
    2539       sparc-*-netbsd*)      em=nbsd bfd_gas=yes
    2540                             case ${cpu} in
    2541                                 sparc) case ${os} in
    2542                                            *elf*) fmt=elf ;;
    2543                                            *)     fmt=aout ;;
    2544                                        esac ;;
    2545                                 sparc64) fmt=elf ;;
    2546                             esac
    2547                             ;;
    2548       sparc-*-openbsd*)     fmt=aout em=nbsd ;;
    2549 
    2550       strongarm-*-coff)     fmt=coff ;;
    2551       strongarm-*-elf)      fmt=elf ;;
    2552       xscale-*-coff)     fmt=coff ;;
    2553       xscale-*-elf)      fmt=elf ;;
    2554 
    2555       tic30-*-*aout*)       fmt=aout bfd_gas=yes ;;
    2556       tic30-*-*coff*)       fmt=coff bfd_gas=yes ;;
    2557       tic54x-*-* | c54x*-*-*)
    2558                             fmt=coff bfd_gas=yes need_libm=yes;;
    2559       tic80-*-*)            fmt=coff ;;
    2560 
    2561       v850-*-*)             fmt=elf bfd_gas=yes ;;
    2562       v850e-*-*)            fmt=elf bfd_gas=yes ;;
    2563       v850ea-*-*)           fmt=elf bfd_gas=yes ;;
    2564 
    2565       vax-*-bsd* | vax-*-ultrix*)
    2566                             fmt=aout ;;
    2567       vax-*-vms)            fmt=vms ;;
    2568 
    2569 
    2570       z8k-*-coff | z8k-*-sim)
    2571                             fmt=coff ;;
    2572 
    2573       w65-*-*)              fmt=coff ;;
    2574 
    2575       *-*-aout | *-*-scout)
    2576                             fmt=aout ;;
    2577       *-*-freebsd*)         fmt=elf em=freebsd bfd_gas=yes ;;
    2578       *-*-nindy*)
    2579                             fmt=bout ;;
    2580       *-*-bsd*)
    2581                             fmt=aout em=sun3 ;;
    2582       *-*-generic)          fmt=generic ;;
    2583       *-*-xray | *-*-hms)   fmt=coff ;;
    2584       *-*-sim)              fmt=coff ;;
    2585       *-*-elf | *-*-sysv4* | *-*-solaris*)
    2586                             echo "configure: warning: GAS support for ${generic_target} is incomplete." 1>&2
    2587                             fmt=elf dev=yes ;;
    2588       *-*-vxworks)          fmt=aout ;;
    2589       *-*-netware)          fmt=elf ;;
     2618            fi
     2619            if test x${endian} = xbig; then
     2620                { echo "configure: error: Solaris must be configured little endian" 1>&2; exit 1; }
     2621            fi ;;
     2622      ppc-*-rtems*)                     fmt=elf ;;
     2623      ppc-*-macos* | ppc-*-mpw*)        fmt=coff em=macos ;;
     2624      ppc-*-netware*)                   fmt=elf em=ppcnw ;;
     2625      ppc-**-nto*)                      fmt=elf ;;
     2626      ppc-*-vxworks*)                   fmt=elf ;;
     2627      ppc-*-windiss*)                   fmt=elf ;;
     2628      ppc-*-kaos*)                      fmt=elf ;;
     2629
     2630      s390x-*-linux-gnu*)               fmt=elf em=linux ;;
     2631      s390-*-linux-gnu*)                fmt=elf em=linux ;;
     2632
     2633      sh*-*-linux*)                     fmt=elf em=linux
     2634            case ${cpu} in
     2635                sh*eb)  endian=big ;;
     2636                *)      endian=little ;;
     2637            esac ;;
     2638      sh5*-*-netbsd*)                   fmt=elf em=nbsd ;;
     2639      sh64*-*-netbsd*)                  fmt=elf em=nbsd ;;
     2640      sh*-*-netbsdelf*)                 fmt=elf em=nbsd ;;
     2641      sh-*-elf*)                        fmt=elf ;;
     2642      sh-*-coff*)                       fmt=coff ;;
     2643      sh-*-nto*)                        fmt=elf ;;
     2644      sh-*-pe*)                         fmt=coff em=pe bfd_gas=yes endian=little ;;
     2645      sh-*-rtemself*)                   fmt=elf ;;
     2646      sh-*-rtems*)                      fmt=coff ;;
     2647      sh-*-kaos*)                       fmt=elf ;;
     2648      shle*-*-kaos*)                    fmt=elf ;;
     2649      sh64-*-elf*)                      fmt=elf ;;
     2650
     2651      ns32k-pc532-mach*)                fmt=aout em=pc532mach ;;
     2652      ns32k-pc532-ux*)                  fmt=aout em=pc532mach ;;
     2653      ns32k-pc532-lites*)               fmt=aout em=nbsd532 ;;
     2654      ns32k-*-*n*bsd*)                  fmt=aout em=nbsd532 ;;
     2655
     2656      sparc-*-rtemsaout*)               fmt=aout ;;
     2657      sparc-*-rtemself*)                fmt=elf ;;
     2658      sparc-*-rtems*)                   fmt=elf ;;
     2659      sparc-*-sunos4*)                  fmt=aout em=sun3 ;;
     2660      sparc-*-aout | sparc*-*-vxworks*) fmt=aout em=sparcaout ;;
     2661      sparc-*-coff)                     fmt=coff ;;
     2662      sparc-*-linux*aout*)              fmt=aout em=linux ;;
     2663      sparc-*-linux-gnu*)               fmt=elf em=linux ;;
     2664      sparc-*-lynxos*)                  fmt=coff em=lynx ;;
     2665      sparc-fujitsu-none)               fmt=aout ;;
     2666      sparc-*-elf)                      fmt=elf ;;
     2667      sparc-*-sysv4*)                   fmt=elf ;;
     2668      sparc-*-solaris*)                 fmt=elf ;;
     2669      sparc-*-netbsdelf*)               fmt=elf em=nbsd ;;
     2670      sparc-*-*n*bsd*)  case ${cpu} in
     2671                            sparc64)    fmt=elf em=nbsd ;;
     2672                            *)          fmt=aout em=nbsd ;;
     2673                        esac ;;
     2674      strongarm-*-coff)                 fmt=coff ;;
     2675      strongarm-*-elf)                  fmt=elf ;;
     2676      strongarm-*-kaos*)                fmt=elf ;;
     2677      xscale-*-coff)                    fmt=coff ;;
     2678      xscale-*-elf)                     fmt=elf ;;
     2679
     2680      tic30-*-*aout*)                   fmt=aout bfd_gas=yes ;;
     2681      tic30-*-*coff*)                   fmt=coff bfd_gas=yes ;;
     2682      tic4x-*-* | c4x-*-*)              fmt=coff bfd_gas=yes ;;
     2683      tic54x-*-* | c54x*-*-*)           fmt=coff bfd_gas=yes need_libm=yes;;
     2684      tic80-*-*)                        fmt=coff ;;
     2685
     2686      v850-*-*)                         fmt=elf ;;
     2687      v850e-*-*)                        fmt=elf ;;
     2688      v850ea-*-*)                       fmt=elf ;;
     2689
     2690      vax-*-netbsdelf*)                 fmt=elf em=nbsd ;;
     2691      vax-*-netbsd*)                    fmt=aout em=nbsd ;;
     2692      vax-*-bsd* | vax-*-ultrix*)       fmt=aout ;;
     2693      vax-*-vms)                        fmt=vms ;;
     2694
     2695      w65-*-*)                          fmt=coff ;;
     2696
     2697      xstormy16-*-*)                    fmt=elf ;;
     2698
     2699      xtensa-*-*)                       fmt=elf ;;
     2700
     2701      z8k-*-coff | z8k-*-sim)           fmt=coff ;;
     2702
     2703      *-*-aout | *-*-scout)             fmt=aout ;;
     2704      *-*-freebsd*)                     fmt=elf em=freebsd ;;
     2705      *-*-nindy*)                       fmt=bout ;;
     2706      *-*-bsd*)                         fmt=aout em=sun3 ;;
     2707      *-*-generic)                      fmt=generic ;;
     2708      *-*-xray | *-*-hms)               fmt=coff ;;
     2709      *-*-sim)                          fmt=coff ;;
     2710      *-*-elf | *-*-sysv4* | *-*-solaris*) fmt=elf dev=yes ;;
     2711      *-*-aros*)                                fmt=elf em=linux bfd_gas=yes ;;
     2712      *-*-vxworks)                      fmt=aout ;;
     2713      *-*-netware)                      fmt=elf ;;
    25902714    esac
    25912715
     
    26062730
    26072731    case ${cpu_type}-${fmt} in
    2608       alpha*-*) bfd_gas=yes ;;
    2609       arm-*)    bfd_gas=yes ;;
    2610     # not yet
    2611     # i386-aout)        bfd_gas=preferred ;;
    2612       ia64*-*)  bfd_gas=yes ;;
    2613       mips-*)   bfd_gas=yes ;;
    2614       ns32k-*)  bfd_gas=yes ;;
    2615       ppc-*)    bfd_gas=yes ;;
    2616       sparc-*)  bfd_gas=yes ;;
    2617       strongarm-*)      bfd_gas=yes ;;
    2618       xscale-*) bfd_gas=yes ;;
    2619       *-elf)    bfd_gas=yes ;;
    2620       *-ecoff)  bfd_gas=yes ;;
    2621       *-som)    bfd_gas=yes ;;
    2622     #enable bfd for coff and aout to allow testing if a bfd target is
    2623     #the primary target, but not for coff or aout as the primary target
    2624       i386-coff)        if test x${primary_bfd_gas} = xyes; then bfd_gas=yes; fi ;;
    2625       i386-aout)        if test x${primary_bfd_gas} = xyes; then bfd_gas=yes; fi ;;
    2626       *)                ;;
     2732        alpha*-* | arm-* | i386-* | ia64*-* | mips-* | ns32k-* \
     2733                | pdp11-* | ppc-* | sparc-* | strongarm-* | xscale-* \
     2734                | *-elf | *-ecoff | *-som)
     2735            bfd_gas=yes ;;
    26272736    esac
    26282737
    26292738# Other random stuff.
     2739
     2740    case ${cpu_type} in
     2741      mips)
     2742        # Set mips_cpu to the name of the default CPU.
     2743        case ${target_cpu} in
     2744          mips | mipsbe | mipseb | mipsle | mipsel | mips64 | mips64el)
     2745            mips_cpu=from-abi
     2746            ;;
     2747          mipsisa32 | mipsisa32el)
     2748            mips_cpu=mips32
     2749            ;;
     2750          mipsisa32r2 | mipsisa32r2el)
     2751            mips_cpu=mips32r2
     2752            ;;
     2753          mipsisa64 | mipsisa64el)
     2754            mips_cpu=mips64
     2755            ;;
     2756          mipstx39 | mipstx39el)
     2757            mips_cpu=r3900
     2758            ;;
     2759          mips64vr | mips64vrel)
     2760            mips_cpu=vr4100
     2761            ;;
     2762          mipsisa32r2*)
     2763            mips_cpu=`echo $target_cpu | sed -e 's/[a-z]*..r2//' -e 's/el$//'`
     2764            ;;
     2765          mips64* | mipsisa64* | mipsisa32*)
     2766            mips_cpu=`echo $target_cpu | sed -e 's/[a-z]*..//' -e 's/el$//'`
     2767            ;;
     2768          *)
     2769            { echo "configure: error: $target_cpu isn't a supported MIPS CPU name" 1>&2; exit 1; }
     2770            ;;
     2771        esac
     2772        # See whether it's appropriate to set E_MIPS_ABI_O32 for o32
     2773        # binaries.  It's a GNU extension that some OSes don't understand.
     2774        # The value only matters on ELF targets.
     2775        case ${target} in
     2776          *-*-irix*)
     2777            use_e_mips_abi_o32=0
     2778            ;;
     2779          *)
     2780            use_e_mips_abi_o32=1
     2781            ;;
     2782        esac
     2783        # Decide whether to generate 32-bit or 64-bit code by default.
     2784        # Used to resolve -march=from-abi when an embedded ABI is selected.
     2785        case ${target} in
     2786          mips64*-*-* | mipsisa64*-*-*)
     2787            mips_default_64bit=1
     2788            ;;
     2789          *)
     2790            mips_default_64bit=0
     2791            ;;
     2792        esac
     2793        # Decide which ABI to target by default.
     2794        case ${target} in
     2795          mips64*-linux* | mips-sgi-irix6*)
     2796            mips_default_abi=N32_ABI
     2797            ;;
     2798          mips*-linux*)
     2799            mips_default_abi=O32_ABI
     2800            ;;
     2801          *)
     2802            mips_default_abi=NO_ABI
     2803            ;;
     2804        esac
     2805        cat >> confdefs.h <<EOF
     2806#define MIPS_CPU_STRING_DEFAULT "$mips_cpu"
     2807EOF
     2808
     2809        cat >> confdefs.h <<EOF
     2810#define USE_E_MIPS_ABI_O32 $use_e_mips_abi_o32
     2811EOF
     2812
     2813        cat >> confdefs.h <<EOF
     2814#define MIPS_DEFAULT_64BIT $mips_default_64bit
     2815EOF
     2816
     2817        cat >> confdefs.h <<EOF
     2818#define MIPS_DEFAULT_ABI $mips_default_abi
     2819EOF
     2820
     2821        ;;
     2822    esac
    26302823
    26312824    # Do we need the opcodes library?
     
    26512844    # Any other special object files needed ?
    26522845    case ${cpu_type} in
    2653       fr30 | m32r)
     2846      fr30 | ip2k | iq2000 | m32r | openrisc)
    26542847        using_cgen=yes
    26552848        ;;
    26562849
     2850      frv)
     2851        using_cgen=yes
     2852        ;;
    26572853      m68k)
    26582854        case ${extra_objects} in
     
    26792875        ;;
    26802876
    2681       i386)
     2877      i386 | s390 | sparc)
    26822878        if test $this_target = $target ; then
    26832879          cat >> confdefs.h <<EOF
     
    26872883        fi
    26882884        ;;
    2689       sparc)
    2690         if test $this_target = $target ; then
    2691           cat >> confdefs.h <<EOF
    2692 #define DEFAULT_ARCH "${arch}"
    2693 EOF
    2694 
     2885
     2886      xstormy16)
     2887        using_cgen=yes
     2888        ;;
     2889
     2890      xtensa)
     2891        echo ${extra_objects} | grep -s "xtensa-relax.o"
     2892        if test $? -ne 0 ; then
     2893          extra_objects="$extra_objects xtensa-relax.o"
    26952894        fi
    26962895        ;;
     2896
    26972897      *)
    26982898        ;;
     
    27262926    case ${generic_target}-${fmt} in
    27272927      mips-*-irix5*-*)  emulation="mipsbelf mipslelf mipself mipsbecoff mipslecoff mipsecoff" ;;
    2728       mips-*-linux-gnu*-*) case "$endian" in
    2729                         big)    emulation="mipsbelf mipslelf mipself mipsbecoff mipslecoff mipsecoff" ;;
    2730                         *)      emulation="mipslelf mipsbelf mipself mipslecoff mipsbecoff mipsecoff" ;;
     2928      mips*-*-linux*-*) case "$endian" in
     2929                        big)    emulation="mipsbelf mipslelf mipself" ;;
     2930                        *)      emulation="mipslelf mipsbelf mipself" ;;
    27312931                        esac ;;
    27322932      mips-*-lnews*-ecoff) ;;
     
    27832983case ${target_cpu} in
    27842984  vax | tahoe ) atof=${target_cpu} ;;
     2985  pdp11)        atof=vax ;;
    27852986  *)            atof=ieee ;;
    27862987esac
     
    30383239yes)
    30393240  BFDLIB=../bfd/libbfd.la
    3040   ALL_OBJ_DEPS="$ALL_OBJ_DEPS ../bfd/bfd.h"
     3241  BFDVER_H=../bfd/bfdver.h
     3242  ALL_OBJ_DEPS="$ALL_OBJ_DEPS"' ../bfd/bfd.h $(INCDIR)/symcat.h'
    30413243  ;;
    30423244esac
     3245
    30433246
    30443247
     
    30713274set dummy gcc; ac_word=$2
    30723275echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    3073 echo "configure:3074: checking for $ac_word" >&5
     3276echo "configure:3277: checking for $ac_word" >&5
    30743277if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    30753278  echo $ac_n "(cached) $ac_c" 1>&6
     
    31013304set dummy cc; ac_word=$2
    31023305echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    3103 echo "configure:3104: checking for $ac_word" >&5
     3306echo "configure:3307: checking for $ac_word" >&5
    31043307if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    31053308  echo $ac_n "(cached) $ac_c" 1>&6
     
    31523355set dummy cl; ac_word=$2
    31533356echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    3154 echo "configure:3155: checking for $ac_word" >&5
     3357echo "configure:3358: checking for $ac_word" >&5
    31553358if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    31563359  echo $ac_n "(cached) $ac_c" 1>&6
     
    31843387
    31853388echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    3186 echo "configure:3187: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     3389echo "configure:3390: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    31873390
    31883391ac_ext=c
     
    31953398cat > conftest.$ac_ext << EOF
    31963399
    3197 #line 3198 "configure"
     3400#line 3401 "configure"
    31983401#include "confdefs.h"
    31993402
    32003403main(){return(0);}
    32013404EOF
    3202 if { (eval echo configure:3203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3405if { (eval echo configure:3406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    32033406  ac_cv_prog_cc_works=yes
    32043407  # If we can't run a trivial program, we are probably using a cross compiler.
     
    32263429fi
    32273430echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    3228 echo "configure:3229: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     3431echo "configure:3432: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    32293432echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    32303433cross_compiling=$ac_cv_prog_cc_cross
    32313434
    32323435echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    3233 echo "configure:3234: checking whether we are using GNU C" >&5
     3436echo "configure:3437: checking whether we are using GNU C" >&5
    32343437if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    32353438  echo $ac_n "(cached) $ac_c" 1>&6
     
    32403443#endif
    32413444EOF
    3242 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:3243: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     3445if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:3446: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    32433446  ac_cv_prog_gcc=yes
    32443447else
     
    32593462CFLAGS=
    32603463echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    3261 echo "configure:3262: checking whether ${CC-cc} accepts -g" >&5
     3464echo "configure:3465: checking whether ${CC-cc} accepts -g" >&5
    32623465if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    32633466  echo $ac_n "(cached) $ac_c" 1>&6
     
    32963499set dummy $ac_prog; ac_word=$2
    32973500echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    3298 echo "configure:3299: checking for $ac_word" >&5
     3501echo "configure:3502: checking for $ac_word" >&5
    32993502if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
    33003503  echo $ac_n "(cached) $ac_c" 1>&6
     
    33273530
    33283531echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
    3329 echo "configure:3330: checking how to run the C preprocessor" >&5
     3532echo "configure:3533: checking how to run the C preprocessor" >&5
    33303533# On Suns, sometimes $CPP names a directory.
    33313534if test -n "$CPP" && test -d "$CPP"; then
     
    33423545  # not just through cpp.
    33433546  cat > conftest.$ac_ext <<EOF
    3344 #line 3345 "configure"
     3547#line 3548 "configure"
    33453548#include "confdefs.h"
    33463549#include <assert.h>
     
    33483551EOF
    33493552ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    3350 { (eval echo configure:3351: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     3553{ (eval echo configure:3554: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    33513554ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    33523555if test -z "$ac_err"; then
     
    33593562  CPP="${CC-cc} -E -traditional-cpp"
    33603563  cat > conftest.$ac_ext <<EOF
    3361 #line 3362 "configure"
     3564#line 3565 "configure"
    33623565#include "confdefs.h"
    33633566#include <assert.h>
     
    33653568EOF
    33663569ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    3367 { (eval echo configure:3368: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     3570{ (eval echo configure:3571: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    33683571ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    33693572if test -z "$ac_err"; then
     
    33763579  CPP="${CC-cc} -nologo -E"
    33773580  cat > conftest.$ac_ext <<EOF
    3378 #line 3379 "configure"
     3581#line 3582 "configure"
    33793582#include "confdefs.h"
    33803583#include <assert.h>
     
    33823585EOF
    33833586ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    3384 { (eval echo configure:3385: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     3587{ (eval echo configure:3588: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    33853588ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    33863589if test -z "$ac_err"; then
     
    34123615set dummy $ac_prog; ac_word=$2
    34133616echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    3414 echo "configure:3415: checking for $ac_word" >&5
     3617echo "configure:3618: checking for $ac_word" >&5
    34153618if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
    34163619  echo $ac_n "(cached) $ac_c" 1>&6
     
    34403643test -n "$LEX" && break
    34413644done
    3442 test -n "$LEX" || LEX=""$missing_dir/missing flex""
     3645test -n "$LEX" || LEX="$missing_dir/missing flex"
    34433646
    34443647# Extract the first word of "flex", so it can be a program name with args.
    34453648set dummy flex; ac_word=$2
    34463649echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    3447 echo "configure:3448: checking for $ac_word" >&5
     3650echo "configure:3651: checking for $ac_word" >&5
    34483651if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
    34493652  echo $ac_n "(cached) $ac_c" 1>&6
     
    34793682  esac
    34803683  echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
    3481 echo "configure:3482: checking for yywrap in -l$ac_lib" >&5
     3684echo "configure:3685: checking for yywrap in -l$ac_lib" >&5
    34823685ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
    34833686if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    34873690LIBS="-l$ac_lib  $LIBS"
    34883691cat > conftest.$ac_ext <<EOF
    3489 #line 3490 "configure"
     3692#line 3693 "configure"
    34903693#include "confdefs.h"
    34913694/* Override any gcc2 internal prototype to avoid an error.  */
     
    34983701; return 0; }
    34993702EOF
    3500 if { (eval echo configure:3501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3703if { (eval echo configure:3704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    35013704  rm -rf conftest*
    35023705  eval "ac_cv_lib_$ac_lib_var=yes"
     
    35213724
    35223725echo $ac_n "checking lex output file root""... $ac_c" 1>&6
    3523 echo "configure:3524: checking lex output file root" >&5
     3726echo "configure:3727: checking lex output file root" >&5
    35243727if eval "test \"`echo '$''{'ac_cv_prog_lex_root'+set}'`\" = set"; then
    35253728  echo $ac_n "(cached) $ac_c" 1>&6
     
    35423745
    35433746echo $ac_n "checking whether yytext is a pointer""... $ac_c" 1>&6
    3544 echo "configure:3545: checking whether yytext is a pointer" >&5
     3747echo "configure:3748: checking whether yytext is a pointer" >&5
    35453748if eval "test \"`echo '$''{'ac_cv_prog_lex_yytext_pointer'+set}'`\" = set"; then
    35463749  echo $ac_n "(cached) $ac_c" 1>&6
     
    35543757LIBS="$LIBS $LEXLIB"
    35553758cat > conftest.$ac_ext <<EOF
    3556 #line 3557 "configure"
     3759#line 3760 "configure"
    35573760#include "confdefs.h"
    35583761`cat $LEX_OUTPUT_ROOT.c`
     
    35613764; return 0; }
    35623765EOF
    3563 if { (eval echo configure:3564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3766if { (eval echo configure:3767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    35643767  rm -rf conftest*
    35653768  ac_cv_prog_lex_yytext_pointer=yes
     
    35833786
    35843787
    3585 ALL_LINGUAS=
     3788ALL_LINGUAS="fr tr es"
    35863789# Extract the first word of "ranlib", so it can be a program name with args.
    35873790set dummy ranlib; ac_word=$2
    35883791echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    3589 echo "configure:3590: checking for $ac_word" >&5
     3792echo "configure:3793: checking for $ac_word" >&5
    35903793if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    35913794  echo $ac_n "(cached) $ac_c" 1>&6
     
    36153818
    36163819echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
    3617 echo "configure:3618: checking for ANSI C header files" >&5
     3820echo "configure:3821: checking for ANSI C header files" >&5
    36183821if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
    36193822  echo $ac_n "(cached) $ac_c" 1>&6
    36203823else
    36213824  cat > conftest.$ac_ext <<EOF
    3622 #line 3623 "configure"
     3825#line 3826 "configure"
    36233826#include "confdefs.h"
    36243827#include <stdlib.h>
     
    36283831EOF
    36293832ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    3630 { (eval echo configure:3631: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     3833{ (eval echo configure:3834: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    36313834ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    36323835if test -z "$ac_err"; then
     
    36453848  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    36463849cat > conftest.$ac_ext <<EOF
    3647 #line 3648 "configure"
     3850#line 3851 "configure"
    36483851#include "confdefs.h"
    36493852#include <string.h>
     
    36633866  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    36643867cat > conftest.$ac_ext <<EOF
    3665 #line 3666 "configure"
     3868#line 3869 "configure"
    36663869#include "confdefs.h"
    36673870#include <stdlib.h>
     
    36843887else
    36853888  cat > conftest.$ac_ext <<EOF
    3686 #line 3687 "configure"
     3889#line 3890 "configure"
    36873890#include "confdefs.h"
    36883891#include <ctype.h>
     
    36953898
    36963899EOF
    3697 if { (eval echo configure:3698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3900if { (eval echo configure:3901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    36983901then
    36993902  :
     
    37193922
    37203923echo $ac_n "checking for working const""... $ac_c" 1>&6
    3721 echo "configure:3722: checking for working const" >&5
     3924echo "configure:3925: checking for working const" >&5
    37223925if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
    37233926  echo $ac_n "(cached) $ac_c" 1>&6
    37243927else
    37253928  cat > conftest.$ac_ext <<EOF
    3726 #line 3727 "configure"
     3929#line 3930 "configure"
    37273930#include "confdefs.h"
    37283931
     
    37733976; return 0; }
    37743977EOF
    3775 if { (eval echo configure:3776: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3978if { (eval echo configure:3979: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    37763979  rm -rf conftest*
    37773980  ac_cv_c_const=yes
     
    37943997
    37953998echo $ac_n "checking for inline""... $ac_c" 1>&6
    3796 echo "configure:3797: checking for inline" >&5
     3999echo "configure:4000: checking for inline" >&5
    37974000if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
    37984001  echo $ac_n "(cached) $ac_c" 1>&6
     
    38014004for ac_kw in inline __inline__ __inline; do
    38024005  cat > conftest.$ac_ext <<EOF
    3803 #line 3804 "configure"
     4006#line 4007 "configure"
    38044007#include "confdefs.h"
    38054008
     
    38084011; return 0; }
    38094012EOF
    3810 if { (eval echo configure:3811: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     4013if { (eval echo configure:4014: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    38114014  rm -rf conftest*
    38124015  ac_cv_c_inline=$ac_kw; break
     
    38344037
    38354038echo $ac_n "checking for off_t""... $ac_c" 1>&6
    3836 echo "configure:3837: checking for off_t" >&5
     4039echo "configure:4040: checking for off_t" >&5
    38374040if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
    38384041  echo $ac_n "(cached) $ac_c" 1>&6
    38394042else
    38404043  cat > conftest.$ac_ext <<EOF
    3841 #line 3842 "configure"
     4044#line 4045 "configure"
    38424045#include "confdefs.h"
    38434046#include <sys/types.h>
     
    38674070
    38684071echo $ac_n "checking for size_t""... $ac_c" 1>&6
    3869 echo "configure:3870: checking for size_t" >&5
     4072echo "configure:4073: checking for size_t" >&5
    38704073if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
    38714074  echo $ac_n "(cached) $ac_c" 1>&6
    38724075else
    38734076  cat > conftest.$ac_ext <<EOF
    3874 #line 3875 "configure"
     4077#line 4078 "configure"
    38754078#include "confdefs.h"
    38764079#include <sys/types.h>
     
    39024105# for constant arguments.  Useless!
    39034106echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
    3904 echo "configure:3905: checking for working alloca.h" >&5
     4107echo "configure:4108: checking for working alloca.h" >&5
    39054108if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
    39064109  echo $ac_n "(cached) $ac_c" 1>&6
    39074110else
    39084111  cat > conftest.$ac_ext <<EOF
    3909 #line 3910 "configure"
     4112#line 4113 "configure"
    39104113#include "confdefs.h"
    39114114#include <alloca.h>
     
    39144117; return 0; }
    39154118EOF
    3916 if { (eval echo configure:3917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4119if { (eval echo configure:4120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    39174120  rm -rf conftest*
    39184121  ac_cv_header_alloca_h=yes
     
    39354138
    39364139echo $ac_n "checking for alloca""... $ac_c" 1>&6
    3937 echo "configure:3938: checking for alloca" >&5
     4140echo "configure:4141: checking for alloca" >&5
    39384141if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
    39394142  echo $ac_n "(cached) $ac_c" 1>&6
    39404143else
    39414144  cat > conftest.$ac_ext <<EOF
    3942 #line 3943 "configure"
     4145#line 4146 "configure"
    39434146#include "confdefs.h"
    39444147
     
    39684171; return 0; }
    39694172EOF
    3970 if { (eval echo configure:3971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4173if { (eval echo configure:4174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    39714174  rm -rf conftest*
    39724175  ac_cv_func_alloca_works=yes
     
    40004203
    40014204echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
    4002 echo "configure:4003: checking whether alloca needs Cray hooks" >&5
     4205echo "configure:4206: checking whether alloca needs Cray hooks" >&5
    40034206if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
    40044207  echo $ac_n "(cached) $ac_c" 1>&6
    40054208else
    40064209  cat > conftest.$ac_ext <<EOF
    4007 #line 4008 "configure"
     4210#line 4211 "configure"
    40084211#include "confdefs.h"
    40094212#if defined(CRAY) && ! defined(CRAY2)
     
    40304233for ac_func in _getb67 GETB67 getb67; do
    40314234  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    4032 echo "configure:4033: checking for $ac_func" >&5
     4235echo "configure:4236: checking for $ac_func" >&5
    40334236if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    40344237  echo $ac_n "(cached) $ac_c" 1>&6
    40354238else
    40364239  cat > conftest.$ac_ext <<EOF
    4037 #line 4038 "configure"
     4240#line 4241 "configure"
    40384241#include "confdefs.h"
    40394242/* System header to define __stub macros and hopefully few prototypes,
     
    40584261; return 0; }
    40594262EOF
    4060 if { (eval echo configure:4061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4263if { (eval echo configure:4264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    40614264  rm -rf conftest*
    40624265  eval "ac_cv_func_$ac_func=yes"
     
    40854288
    40864289echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
    4087 echo "configure:4088: checking stack direction for C alloca" >&5
     4290echo "configure:4291: checking stack direction for C alloca" >&5
    40884291if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
    40894292  echo $ac_n "(cached) $ac_c" 1>&6
     
    40934296else
    40944297  cat > conftest.$ac_ext <<EOF
    4095 #line 4096 "configure"
     4298#line 4299 "configure"
    40964299#include "confdefs.h"
    40974300find_stack_direction ()
     
    41124315}
    41134316EOF
    4114 if { (eval echo configure:4115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     4317if { (eval echo configure:4318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    41154318then
    41164319  ac_cv_c_stack_direction=1
     
    41334336fi
    41344337
    4135 for ac_hdr in unistd.h
     4338for ac_hdr in stdlib.h unistd.h sys/stat.h sys/types.h
    41364339do
    41374340ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    41384341echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    4139 echo "configure:4140: checking for $ac_hdr" >&5
     4342echo "configure:4343: checking for $ac_hdr" >&5
    41404343if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    41414344  echo $ac_n "(cached) $ac_c" 1>&6
    41424345else
    41434346  cat > conftest.$ac_ext <<EOF
    4144 #line 4145 "configure"
     4347#line 4348 "configure"
    41454348#include "confdefs.h"
    41464349#include <$ac_hdr>
    41474350EOF
    41484351ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    4149 { (eval echo configure:4150: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     4352{ (eval echo configure:4353: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    41504353ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    41514354if test -z "$ac_err"; then
     
    41764379do
    41774380echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    4178 echo "configure:4179: checking for $ac_func" >&5
     4381echo "configure:4382: checking for $ac_func" >&5
    41794382if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    41804383  echo $ac_n "(cached) $ac_c" 1>&6
    41814384else
    41824385  cat > conftest.$ac_ext <<EOF
    4183 #line 4184 "configure"
     4386#line 4387 "configure"
    41844387#include "confdefs.h"
    41854388/* System header to define __stub macros and hopefully few prototypes,
     
    42044407; return 0; }
    42054408EOF
    4206 if { (eval echo configure:4207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4409if { (eval echo configure:4410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    42074410  rm -rf conftest*
    42084411  eval "ac_cv_func_$ac_func=yes"
     
    42294432
    42304433echo $ac_n "checking for working mmap""... $ac_c" 1>&6
    4231 echo "configure:4232: checking for working mmap" >&5
     4434echo "configure:4435: checking for working mmap" >&5
    42324435if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
    42334436  echo $ac_n "(cached) $ac_c" 1>&6
     
    42374440else
    42384441  cat > conftest.$ac_ext <<EOF
    4239 #line 4240 "configure"
     4442#line 4443 "configure"
    42404443#include "confdefs.h"
    42414444
     
    42654468#include <sys/mman.h>
    42664469
     4470#if HAVE_SYS_TYPES_H
     4471# include <sys/types.h>
     4472#endif
     4473
     4474#if HAVE_STDLIB_H
     4475# include <stdlib.h>
     4476#endif
     4477
     4478#if HAVE_SYS_STAT_H
     4479# include <sys/stat.h>
     4480#endif
     4481
     4482#if HAVE_UNISTD_H
     4483# include <unistd.h>
     4484#endif
     4485
    42674486/* This mess was copied from the GNU getpagesize.h.  */
    42684487#ifndef HAVE_GETPAGESIZE
    4269 # ifdef HAVE_UNISTD_H
    4270 #  include <unistd.h>
    4271 # endif
    42724488
    42734489/* Assume that all systems that can run configure have sys/param.h.  */
     
    43774593
    43784594EOF
    4379 if { (eval echo configure:4380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     4595if { (eval echo configure:4596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    43804596then
    43814597  ac_cv_func_mmap_fixed_mapped=yes
     
    44054621ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    44064622echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    4407 echo "configure:4408: checking for $ac_hdr" >&5
     4623echo "configure:4624: checking for $ac_hdr" >&5
    44084624if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    44094625  echo $ac_n "(cached) $ac_c" 1>&6
    44104626else
    44114627  cat > conftest.$ac_ext <<EOF
    4412 #line 4413 "configure"
     4628#line 4629 "configure"
    44134629#include "confdefs.h"
    44144630#include <$ac_hdr>
    44154631EOF
    44164632ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    4417 { (eval echo configure:4418: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     4633{ (eval echo configure:4634: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    44184634ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    44194635if test -z "$ac_err"; then
     
    44454661do
    44464662echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    4447 echo "configure:4448: checking for $ac_func" >&5
     4663echo "configure:4664: checking for $ac_func" >&5
    44484664if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    44494665  echo $ac_n "(cached) $ac_c" 1>&6
    44504666else
    44514667  cat > conftest.$ac_ext <<EOF
    4452 #line 4453 "configure"
     4668#line 4669 "configure"
    44534669#include "confdefs.h"
    44544670/* System header to define __stub macros and hopefully few prototypes,
     
    44734689; return 0; }
    44744690EOF
    4475 if { (eval echo configure:4476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4691if { (eval echo configure:4692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    44764692  rm -rf conftest*
    44774693  eval "ac_cv_func_$ac_func=yes"
     
    45024718do
    45034719echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    4504 echo "configure:4505: checking for $ac_func" >&5
     4720echo "configure:4721: checking for $ac_func" >&5
    45054721if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    45064722  echo $ac_n "(cached) $ac_c" 1>&6
    45074723else
    45084724  cat > conftest.$ac_ext <<EOF
    4509 #line 4510 "configure"
     4725#line 4726 "configure"
    45104726#include "confdefs.h"
    45114727/* System header to define __stub macros and hopefully few prototypes,
     
    45304746; return 0; }
    45314747EOF
    4532 if { (eval echo configure:4533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4748if { (eval echo configure:4749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    45334749  rm -rf conftest*
    45344750  eval "ac_cv_func_$ac_func=yes"
     
    45644780   if test $ac_cv_header_locale_h = yes; then
    45654781    echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
    4566 echo "configure:4567: checking for LC_MESSAGES" >&5
     4782echo "configure:4783: checking for LC_MESSAGES" >&5
    45674783if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then
    45684784  echo $ac_n "(cached) $ac_c" 1>&6
    45694785else
    45704786  cat > conftest.$ac_ext <<EOF
    4571 #line 4572 "configure"
     4787#line 4788 "configure"
    45724788#include "confdefs.h"
    45734789#include <locale.h>
     
    45764792; return 0; }
    45774793EOF
    4578 if { (eval echo configure:4579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4794if { (eval echo configure:4795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    45794795  rm -rf conftest*
    45804796  am_cv_val_LC_MESSAGES=yes
     
    45974813  fi
    45984814   echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6
    4599 echo "configure:4600: checking whether NLS is requested" >&5
     4815echo "configure:4816: checking whether NLS is requested" >&5
    46004816        # Check whether --enable-nls or --disable-nls was given.
    46014817if test "${enable_nls+set}" = set; then
     
    46174833
    46184834      echo $ac_n "checking whether included gettext is requested""... $ac_c" 1>&6
    4619 echo "configure:4620: checking whether included gettext is requested" >&5
     4835echo "configure:4836: checking whether included gettext is requested" >&5
    46204836      # Check whether --with-included-gettext or --without-included-gettext was given.
    46214837if test "${with_included_gettext+set}" = set; then
     
    46364852        ac_safe=`echo "libintl.h" | sed 'y%./+-%__p_%'`
    46374853echo $ac_n "checking for libintl.h""... $ac_c" 1>&6
    4638 echo "configure:4639: checking for libintl.h" >&5
     4854echo "configure:4855: checking for libintl.h" >&5
    46394855if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    46404856  echo $ac_n "(cached) $ac_c" 1>&6
    46414857else
    46424858  cat > conftest.$ac_ext <<EOF
    4643 #line 4644 "configure"
     4859#line 4860 "configure"
    46444860#include "confdefs.h"
    46454861#include <libintl.h>
    46464862EOF
    46474863ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    4648 { (eval echo configure:4649: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     4864{ (eval echo configure:4865: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    46494865ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    46504866if test -z "$ac_err"; then
     
    46634879  echo "$ac_t""yes" 1>&6
    46644880  echo $ac_n "checking for gettext in libc""... $ac_c" 1>&6
    4665 echo "configure:4666: checking for gettext in libc" >&5
     4881echo "configure:4882: checking for gettext in libc" >&5
    46664882if eval "test \"`echo '$''{'gt_cv_func_gettext_libc'+set}'`\" = set"; then
    46674883  echo $ac_n "(cached) $ac_c" 1>&6
    46684884else
    46694885  cat > conftest.$ac_ext <<EOF
    4670 #line 4671 "configure"
     4886#line 4887 "configure"
    46714887#include "confdefs.h"
    46724888#include <libintl.h>
     
    46754891; return 0; }
    46764892EOF
    4677 if { (eval echo configure:4678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4893if { (eval echo configure:4894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    46784894  rm -rf conftest*
    46794895  gt_cv_func_gettext_libc=yes
     
    46914907           if test "$gt_cv_func_gettext_libc" != "yes"; then
    46924908             echo $ac_n "checking for bindtextdomain in -lintl""... $ac_c" 1>&6
    4693 echo "configure:4694: checking for bindtextdomain in -lintl" >&5
     4909echo "configure:4910: checking for bindtextdomain in -lintl" >&5
    46944910ac_lib_var=`echo intl'_'bindtextdomain | sed 'y%./+-%__p_%'`
    46954911if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    46994915LIBS="-lintl  $LIBS"
    47004916cat > conftest.$ac_ext <<EOF
    4701 #line 4702 "configure"
     4917#line 4918 "configure"
    47024918#include "confdefs.h"
    47034919/* Override any gcc2 internal prototype to avoid an error.  */
     
    47104926; return 0; }
    47114927EOF
    4712 if { (eval echo configure:4713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4928if { (eval echo configure:4929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    47134929  rm -rf conftest*
    47144930  eval "ac_cv_lib_$ac_lib_var=yes"
     
    47264942  echo "$ac_t""yes" 1>&6
    47274943  echo $ac_n "checking for gettext in libintl""... $ac_c" 1>&6
    4728 echo "configure:4729: checking for gettext in libintl" >&5
     4944echo "configure:4945: checking for gettext in libintl" >&5
    47294945if eval "test \"`echo '$''{'gt_cv_func_gettext_libintl'+set}'`\" = set"; then
    47304946  echo $ac_n "(cached) $ac_c" 1>&6
    47314947else
    47324948  cat > conftest.$ac_ext <<EOF
    4733 #line 4734 "configure"
     4949#line 4950 "configure"
    47344950#include "confdefs.h"
    47354951
     
    47384954; return 0; }
    47394955EOF
    4740 if { (eval echo configure:4741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4956if { (eval echo configure:4957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    47414957  rm -rf conftest*
    47424958  gt_cv_func_gettext_libintl=yes
     
    47664982set dummy msgfmt; ac_word=$2
    47674983echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    4768 echo "configure:4769: checking for $ac_word" >&5
     4984echo "configure:4985: checking for $ac_word" >&5
    47694985if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then
    47704986  echo $ac_n "(cached) $ac_c" 1>&6
     
    48005016do
    48015017echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    4802 echo "configure:4803: checking for $ac_func" >&5
     5018echo "configure:5019: checking for $ac_func" >&5
    48035019if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    48045020  echo $ac_n "(cached) $ac_c" 1>&6
    48055021else
    48065022  cat > conftest.$ac_ext <<EOF
    4807 #line 4808 "configure"
     5023#line 5024 "configure"
    48085024#include "confdefs.h"
    48095025/* System header to define __stub macros and hopefully few prototypes,
     
    48285044; return 0; }
    48295045EOF
    4830 if { (eval echo configure:4831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     5046if { (eval echo configure:5047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    48315047  rm -rf conftest*
    48325048  eval "ac_cv_func_$ac_func=yes"
     
    48555071set dummy gmsgfmt; ac_word=$2
    48565072echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    4857 echo "configure:4858: checking for $ac_word" >&5
     5073echo "configure:5074: checking for $ac_word" >&5
    48585074if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
    48595075  echo $ac_n "(cached) $ac_c" 1>&6
     
    48915107set dummy xgettext; ac_word=$2
    48925108echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    4893 echo "configure:4894: checking for $ac_word" >&5
     5109echo "configure:5110: checking for $ac_word" >&5
    48945110if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then
    48955111  echo $ac_n "(cached) $ac_c" 1>&6
     
    49235139
    49245140                cat > conftest.$ac_ext <<EOF
    4925 #line 4926 "configure"
     5141#line 5142 "configure"
    49265142#include "confdefs.h"
    49275143
     
    49315147; return 0; }
    49325148EOF
    4933 if { (eval echo configure:4934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     5149if { (eval echo configure:5150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    49345150  rm -rf conftest*
    49355151  CATOBJEXT=.gmo
     
    49635179set dummy msgfmt; ac_word=$2
    49645180echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    4965 echo "configure:4966: checking for $ac_word" >&5
     5181echo "configure:5182: checking for $ac_word" >&5
    49665182if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then
    49675183  echo $ac_n "(cached) $ac_c" 1>&6
     
    49975213set dummy gmsgfmt; ac_word=$2
    49985214echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    4999 echo "configure:5000: checking for $ac_word" >&5
     5215echo "configure:5216: checking for $ac_word" >&5
    50005216if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
    50015217  echo $ac_n "(cached) $ac_c" 1>&6
     
    50335249set dummy xgettext; ac_word=$2
    50345250echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    5035 echo "configure:5036: checking for $ac_word" >&5
     5251echo "configure:5252: checking for $ac_word" >&5
    50365252if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then
    50375253  echo $ac_n "(cached) $ac_c" 1>&6
     
    51235339     else
    51245340       echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6
    5125 echo "configure:5126: checking for catalogs to be installed" >&5
     5341echo "configure:5342: checking for catalogs to be installed" >&5
    51265342       NEW_LINGUAS=
    51275343       for lang in ${LINGUAS=$ALL_LINGUAS}; do
     
    51515367         ac_safe=`echo "linux/version.h" | sed 'y%./+-%__p_%'`
    51525368echo $ac_n "checking for linux/version.h""... $ac_c" 1>&6
    5153 echo "configure:5154: checking for linux/version.h" >&5
     5369echo "configure:5370: checking for linux/version.h" >&5
    51545370if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    51555371  echo $ac_n "(cached) $ac_c" 1>&6
    51565372else
    51575373  cat > conftest.$ac_ext <<EOF
    5158 #line 5159 "configure"
     5374#line 5375 "configure"
    51595375#include "confdefs.h"
    51605376#include <linux/version.h>
    51615377EOF
    51625378ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    5163 { (eval echo configure:5164: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     5379{ (eval echo configure:5380: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    51645380ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    51655381if test -z "$ac_err"; then
     
    52065422   
    52075423
    5208             if test -d $srcdir/po; then
     5424            if test -f $srcdir/po/POTFILES.in; then
    52095425      test -d po || mkdir po
    52105426      if test "x$srcdir" != "x."; then
     
    52245440
    52255441echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
    5226 echo "configure:5227: checking whether to enable maintainer-specific portions of Makefiles" >&5
     5442echo "configure:5443: checking whether to enable maintainer-specific portions of Makefiles" >&5
    52275443    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
    52285444if test "${enable_maintainer_mode+set}" = set; then
     
    52495465
    52505466echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
    5251 echo "configure:5252: checking for executable suffix" >&5
     5467echo "configure:5468: checking for executable suffix" >&5
    52525468if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
    52535469  echo $ac_n "(cached) $ac_c" 1>&6
     
    52595475  echo 'int main () { return 0; }' > conftest.$ac_ext
    52605476  ac_cv_exeext=
    5261   if { (eval echo configure:5262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     5477  if { (eval echo configure:5478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    52625478    for file in conftest.*; do
    52635479      case $file in
    5264       *.c | *.o | *.obj | *.ilk | *.pdb) ;;
     5480      *.c | *.o | *.obj) ;;
    52655481      *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
    52665482      esac
     
    52845500ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    52855501echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    5286 echo "configure:5287: checking for $ac_hdr" >&5
     5502echo "configure:5503: checking for $ac_hdr" >&5
    52875503if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    52885504  echo $ac_n "(cached) $ac_c" 1>&6
    52895505else
    52905506  cat > conftest.$ac_ext <<EOF
    5291 #line 5292 "configure"
     5507#line 5508 "configure"
    52925508#include "confdefs.h"
    52935509#include <$ac_hdr>
    52945510EOF
    52955511ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    5296 { (eval echo configure:5297: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     5512{ (eval echo configure:5513: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    52975513ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    52985514if test -z "$ac_err"; then
     
    53245540# people who are not cross-compiling but are compiling cross-assemblers.
    53255541echo $ac_n "checking whether compiling a cross-assembler""... $ac_c" 1>&6
    5326 echo "configure:5327: checking whether compiling a cross-assembler" >&5
     5542echo "configure:5543: checking whether compiling a cross-assembler" >&5
    53275543if test "${host}" = "${target}"; then
    53285544  cross_gas=no
     
    53395555# for constant arguments.  Useless!
    53405556echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
    5341 echo "configure:5342: checking for working alloca.h" >&5
     5557echo "configure:5558: checking for working alloca.h" >&5
    53425558if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
    53435559  echo $ac_n "(cached) $ac_c" 1>&6
    53445560else
    53455561  cat > conftest.$ac_ext <<EOF
    5346 #line 5347 "configure"
     5562#line 5563 "configure"
    53475563#include "confdefs.h"
    53485564#include <alloca.h>
     
    53515567; return 0; }
    53525568EOF
    5353 if { (eval echo configure:5354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     5569if { (eval echo configure:5570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    53545570  rm -rf conftest*
    53555571  ac_cv_header_alloca_h=yes
     
    53725588
    53735589echo $ac_n "checking for alloca""... $ac_c" 1>&6
    5374 echo "configure:5375: checking for alloca" >&5
     5590echo "configure:5591: checking for alloca" >&5
    53755591if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
    53765592  echo $ac_n "(cached) $ac_c" 1>&6
    53775593else
    53785594  cat > conftest.$ac_ext <<EOF
    5379 #line 5380 "configure"
     5595#line 5596 "configure"
    53805596#include "confdefs.h"
    53815597
     
    54055621; return 0; }
    54065622EOF
    5407 if { (eval echo configure:5408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     5623if { (eval echo configure:5624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    54085624  rm -rf conftest*
    54095625  ac_cv_func_alloca_works=yes
     
    54375653
    54385654echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
    5439 echo "configure:5440: checking whether alloca needs Cray hooks" >&5
     5655echo "configure:5656: checking whether alloca needs Cray hooks" >&5
    54405656if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
    54415657  echo $ac_n "(cached) $ac_c" 1>&6
    54425658else
    54435659  cat > conftest.$ac_ext <<EOF
    5444 #line 5445 "configure"
     5660#line 5661 "configure"
    54455661#include "confdefs.h"
    54465662#if defined(CRAY) && ! defined(CRAY2)
     
    54675683for ac_func in _getb67 GETB67 getb67; do
    54685684  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    5469 echo "configure:5470: checking for $ac_func" >&5
     5685echo "configure:5686: checking for $ac_func" >&5
    54705686if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    54715687  echo $ac_n "(cached) $ac_c" 1>&6
    54725688else
    54735689  cat > conftest.$ac_ext <<EOF
    5474 #line 5475 "configure"
     5690#line 5691 "configure"
    54755691#include "confdefs.h"
    54765692/* System header to define __stub macros and hopefully few prototypes,
     
    54955711; return 0; }
    54965712EOF
    5497 if { (eval echo configure:5498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     5713if { (eval echo configure:5714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    54985714  rm -rf conftest*
    54995715  eval "ac_cv_func_$ac_func=yes"
     
    55225738
    55235739echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
    5524 echo "configure:5525: checking stack direction for C alloca" >&5
     5740echo "configure:5741: checking stack direction for C alloca" >&5
    55255741if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
    55265742  echo $ac_n "(cached) $ac_c" 1>&6
     
    55305746else
    55315747  cat > conftest.$ac_ext <<EOF
    5532 #line 5533 "configure"
     5748#line 5749 "configure"
    55335749#include "confdefs.h"
    55345750find_stack_direction ()
     
    55495765}
    55505766EOF
    5551 if { (eval echo configure:5552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     5767if { (eval echo configure:5768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    55525768then
    55535769  ac_cv_c_stack_direction=1
     
    55715787
    55725788echo $ac_n "checking for inline""... $ac_c" 1>&6
    5573 echo "configure:5574: checking for inline" >&5
     5789echo "configure:5790: checking for inline" >&5
    55745790if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
    55755791  echo $ac_n "(cached) $ac_c" 1>&6
     
    55785794for ac_kw in inline __inline__ __inline; do
    55795795  cat > conftest.$ac_ext <<EOF
    5580 #line 5581 "configure"
     5796#line 5797 "configure"
    55815797#include "confdefs.h"
    55825798
     
    55855801; return 0; }
    55865802EOF
    5587 if { (eval echo configure:5588: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5803if { (eval echo configure:5804: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    55885804  rm -rf conftest*
    55895805  ac_cv_c_inline=$ac_kw; break
     
    56155831do
    56165832echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    5617 echo "configure:5618: checking for $ac_func" >&5
     5833echo "configure:5834: checking for $ac_func" >&5
    56185834if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    56195835  echo $ac_n "(cached) $ac_c" 1>&6
    56205836else
    56215837  cat > conftest.$ac_ext <<EOF
    5622 #line 5623 "configure"
     5838#line 5839 "configure"
    56235839#include "confdefs.h"
    56245840/* System header to define __stub macros and hopefully few prototypes,
     
    56435859; return 0; }
    56445860EOF
    5645 if { (eval echo configure:5646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     5861if { (eval echo configure:5862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    56465862  rm -rf conftest*
    56475863  eval "ac_cv_func_$ac_func=yes"
     
    56725888do
    56735889echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    5674 echo "configure:5675: checking for $ac_func" >&5
     5890echo "configure:5891: checking for $ac_func" >&5
    56755891if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    56765892  echo $ac_n "(cached) $ac_c" 1>&6
    56775893else
    56785894  cat > conftest.$ac_ext <<EOF
    5679 #line 5680 "configure"
     5895#line 5896 "configure"
    56805896#include "confdefs.h"
    56815897/* System header to define __stub macros and hopefully few prototypes,
     
    57005916; return 0; }
    57015917EOF
    5702 if { (eval echo configure:5703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     5918if { (eval echo configure:5919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    57035919  rm -rf conftest*
    57045920  eval "ac_cv_func_$ac_func=yes"
     
    57295945yes)
    57305946  LIBM=
    5731 case "$host" in
     5947case $host in
    57325948*-*-beos* | *-*-cygwin* | *-*-pw32*)
    57335949  # These system don't have libm
     
    57355951*-ncr-sysv4.3*)
    57365952  echo $ac_n "checking for _mwvalidcheckl in -lmw""... $ac_c" 1>&6
    5737 echo "configure:5738: checking for _mwvalidcheckl in -lmw" >&5
     5953echo "configure:5954: checking for _mwvalidcheckl in -lmw" >&5
    57385954ac_lib_var=`echo mw'_'_mwvalidcheckl | sed 'y%./+-%__p_%'`
    57395955if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    57435959LIBS="-lmw  $LIBS"
    57445960cat > conftest.$ac_ext <<EOF
    5745 #line 5746 "configure"
     5961#line 5962 "configure"
    57465962#include "confdefs.h"
    57475963/* Override any gcc2 internal prototype to avoid an error.  */
     
    57545970; return 0; }
    57555971EOF
    5756 if { (eval echo configure:5757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     5972if { (eval echo configure:5973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    57575973  rm -rf conftest*
    57585974  eval "ac_cv_lib_$ac_lib_var=yes"
     
    57755991
    57765992  echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
    5777 echo "configure:5778: checking for main in -lm" >&5
     5993echo "configure:5994: checking for main in -lm" >&5
    57785994ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
    57795995if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    57835999LIBS="-lm  $LIBS"
    57846000cat > conftest.$ac_ext <<EOF
    5785 #line 5786 "configure"
     6001#line 6002 "configure"
    57866002#include "confdefs.h"
    57876003
     
    57906006; return 0; }
    57916007EOF
    5792 if { (eval echo configure:5793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     6008if { (eval echo configure:6009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    57936009  rm -rf conftest*
    57946010  eval "ac_cv_lib_$ac_lib_var=yes"
     
    58136029*)
    58146030  echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
    5815 echo "configure:5816: checking for main in -lm" >&5
     6031echo "configure:6032: checking for main in -lm" >&5
    58166032ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
    58176033if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    58216037LIBS="-lm  $LIBS"
    58226038cat > conftest.$ac_ext <<EOF
    5823 #line 5824 "configure"
     6039#line 6040 "configure"
    58246040#include "confdefs.h"
    58256041
     
    58286044; return 0; }
    58296045EOF
    5830 if { (eval echo configure:5831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     6046if { (eval echo configure:6047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    58316047  rm -rf conftest*
    58326048  eval "ac_cv_lib_$ac_lib_var=yes"
     
    58596075# working properly!
    58606076echo $ac_n "checking for working assert macro""... $ac_c" 1>&6
    5861 echo "configure:5862: checking for working assert macro" >&5
     6077echo "configure:6078: checking for working assert macro" >&5
    58626078if eval "test \"`echo '$''{'gas_cv_assert_ok'+set}'`\" = set"; then
    58636079  echo $ac_n "(cached) $ac_c" 1>&6
    58646080else
    58656081  cat > conftest.$ac_ext <<EOF
    5866 #line 5867 "configure"
     6082#line 6083 "configure"
    58676083#include "confdefs.h"
    58686084#include <assert.h>
     
    58806096; return 0; }
    58816097EOF
    5882 if { (eval echo configure:5883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     6098if { (eval echo configure:6099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    58836099  rm -rf conftest*
    58846100  gas_cv_assert_ok=yes
     
    59216137
    59226138echo $ac_n "checking whether declaration is required for strstr""... $ac_c" 1>&6
    5923 echo "configure:5924: checking whether declaration is required for strstr" >&5
     6139echo "configure:6140: checking whether declaration is required for strstr" >&5
    59246140if eval "test \"`echo '$''{'gas_cv_decl_needed_strstr'+set}'`\" = set"; then
    59256141  echo $ac_n "(cached) $ac_c" 1>&6
    59266142else
    59276143  cat > conftest.$ac_ext <<EOF
    5928 #line 5929 "configure"
     6144#line 6145 "configure"
    59296145#include "confdefs.h"
    59306146$gas_test_headers
     
    59376153; return 0; }
    59386154EOF
    5939 if { (eval echo configure:5940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     6155if { (eval echo configure:6156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    59406156  rm -rf conftest*
    59416157  gas_cv_decl_needed_strstr=no
     
    59586174
    59596175echo $ac_n "checking whether declaration is required for malloc""... $ac_c" 1>&6
    5960 echo "configure:5961: checking whether declaration is required for malloc" >&5
     6176echo "configure:6177: checking whether declaration is required for malloc" >&5
    59616177if eval "test \"`echo '$''{'gas_cv_decl_needed_malloc'+set}'`\" = set"; then
    59626178  echo $ac_n "(cached) $ac_c" 1>&6
    59636179else
    59646180  cat > conftest.$ac_ext <<EOF
    5965 #line 5966 "configure"
     6181#line 6182 "configure"
    59666182#include "confdefs.h"
    59676183$gas_test_headers
     
    59746190; return 0; }
    59756191EOF
    5976 if { (eval echo configure:5977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     6192if { (eval echo configure:6193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    59776193  rm -rf conftest*
    59786194  gas_cv_decl_needed_malloc=no
     
    59956211
    59966212echo $ac_n "checking whether declaration is required for free""... $ac_c" 1>&6
    5997 echo "configure:5998: checking whether declaration is required for free" >&5
     6213echo "configure:6214: checking whether declaration is required for free" >&5
    59986214if eval "test \"`echo '$''{'gas_cv_decl_needed_free'+set}'`\" = set"; then
    59996215  echo $ac_n "(cached) $ac_c" 1>&6
    60006216else
    60016217  cat > conftest.$ac_ext <<EOF
    6002 #line 6003 "configure"
     6218#line 6219 "configure"
    60036219#include "confdefs.h"
    60046220$gas_test_headers
     
    60116227; return 0; }
    60126228EOF
    6013 if { (eval echo configure:6014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     6229if { (eval echo configure:6230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    60146230  rm -rf conftest*
    60156231  gas_cv_decl_needed_free=no
     
    60326248
    60336249echo $ac_n "checking whether declaration is required for sbrk""... $ac_c" 1>&6
    6034 echo "configure:6035: checking whether declaration is required for sbrk" >&5
     6250echo "configure:6251: checking whether declaration is required for sbrk" >&5
    60356251if eval "test \"`echo '$''{'gas_cv_decl_needed_sbrk'+set}'`\" = set"; then
    60366252  echo $ac_n "(cached) $ac_c" 1>&6
    60376253else
    60386254  cat > conftest.$ac_ext <<EOF
    6039 #line 6040 "configure"
     6255#line 6256 "configure"
    60406256#include "confdefs.h"
    60416257$gas_test_headers
     
    60486264; return 0; }
    60496265EOF
    6050 if { (eval echo configure:6051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     6266if { (eval echo configure:6267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    60516267  rm -rf conftest*
    60526268  gas_cv_decl_needed_sbrk=no
     
    60696285
    60706286echo $ac_n "checking whether declaration is required for environ""... $ac_c" 1>&6
    6071 echo "configure:6072: checking whether declaration is required for environ" >&5
     6287echo "configure:6288: checking whether declaration is required for environ" >&5
    60726288if eval "test \"`echo '$''{'gas_cv_decl_needed_environ'+set}'`\" = set"; then
    60736289  echo $ac_n "(cached) $ac_c" 1>&6
    60746290else
    60756291  cat > conftest.$ac_ext <<EOF
    6076 #line 6077 "configure"
     6292#line 6293 "configure"
    60776293#include "confdefs.h"
    60786294$gas_test_headers
     
    60856301; return 0; }
    60866302EOF
    6087 if { (eval echo configure:6088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     6303if { (eval echo configure:6304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    60886304  rm -rf conftest*
    60896305  gas_cv_decl_needed_environ=no
     
    61096325
    61106326echo $ac_n "checking whether declaration is required for errno""... $ac_c" 1>&6
    6111 echo "configure:6112: checking whether declaration is required for errno" >&5
     6327echo "configure:6328: checking whether declaration is required for errno" >&5
    61126328if eval "test \"`echo '$''{'gas_cv_decl_needed_errno'+set}'`\" = set"; then
    61136329  echo $ac_n "(cached) $ac_c" 1>&6
    61146330else
    61156331  cat > conftest.$ac_ext <<EOF
    6116 #line 6117 "configure"
     6332#line 6333 "configure"
    61176333#include "confdefs.h"
    61186334
     
    61296345; return 0; }
    61306346EOF
    6131 if { (eval echo configure:6132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     6347if { (eval echo configure:6348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    61326348  rm -rf conftest*
    61336349  gas_cv_decl_needed_errno=no
     
    63286544s%@BFDLIB@%$BFDLIB%g
    63296545s%@OPCODES_LIB@%$OPCODES_LIB%g
     6546s%@BFDVER_H@%$BFDVER_H%g
    63306547s%@ALL_OBJ_DEPS@%$ALL_OBJ_DEPS%g
    63316548s%@YACC@%$YACC%g
Note: See TracChangeset for help on using the changeset viewer.