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

GCC v3.3.3 sources.

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

Legend:

Unmodified
Added
Removed
  • branches/GNU/src/gcc

    • Property svn:ignore
      •  

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

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    634634if test "${srcdir}" = "."; then
    635635  if test "${with_target_subdir}" != "."; then
    636     libffi_basedir="${srcdir}/${with_multisrctop}.."
     636    libffi_basedir="${with_multisrctop}../"
    637637  else
    638     libffi_basedir="${srcdir}/${with_multisrctop}"
     638    libffi_basedir="${with_multisrctop}"
    639639  fi
    640640else
    641   libffi_basedir="${srcdir}"
    642 fi
    643 
     641  libffi_basedir=
     642fi
    644643
    645644ac_aux_dir=
    646 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
     645for ac_dir in ${libffi_basedir}.. $srcdir/${libffi_basedir}..; do
    647646  if test -f $ac_dir/install-sh; then
    648647    ac_aux_dir=$ac_dir
     
    656655done
    657656if test -z "$ac_aux_dir"; then
    658   { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
     657  { echo "configure: error: can not find install-sh or install.sh in ${libffi_basedir}.. $srcdir/${libffi_basedir}.." 1>&2; exit 1; }
    659658fi
    660659ac_config_guess=$ac_aux_dir/config.guess
    661660ac_config_sub=$ac_aux_dir/config.sub
    662661ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
     662
    663663
    664664
     
    12391239
    12401240hpux10.20*|hpux11*)
    1241   lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
    1242   lt_cv_file_magic_cmd=/usr/bin/file
    1243   lt_cv_file_magic_test_file=/usr/lib/libc.sl
     1241  case $host_cpu in
     1242  hppa*)
     1243    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
     1244    lt_cv_file_magic_cmd=/usr/bin/file
     1245    lt_cv_file_magic_test_file=/usr/lib/libc.sl
     1246    ;;
     1247  ia64*)
     1248    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
     1249    lt_cv_file_magic_cmd=/usr/bin/file
     1250    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
     1251    ;;
     1252  esac
    12441253  ;;
    12451254
     
    13311340
    13321341echo $ac_n "checking for object suffix""... $ac_c" 1>&6
    1333 echo "configure:1334: checking for object suffix" >&5
     1342echo "configure:1343: checking for object suffix" >&5
    13341343if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
    13351344  echo $ac_n "(cached) $ac_c" 1>&6
     
    13371346  rm -f conftest*
    13381347echo 'int i = 1;' > conftest.$ac_ext
    1339 if { (eval echo configure:1340: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1348if { (eval echo configure:1349: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    13401349  for ac_file in conftest.*; do
    13411350    case $ac_file in
     
    13571366
    13581367echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
    1359 echo "configure:1360: checking for executable suffix" >&5
     1368echo "configure:1369: checking for executable suffix" >&5
    13601369if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
    13611370  echo $ac_n "(cached) $ac_c" 1>&6
     
    13671376  echo 'int main () { return 0; }' > conftest.$ac_ext
    13681377  ac_cv_exeext=
    1369   if { (eval echo configure:1370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     1378  if { (eval echo configure:1379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    13701379    for file in conftest.*; do
    13711380      case $file in
     
    14001409  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
    14011410    echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
    1402 echo "configure:1403: checking for ${ac_tool_prefix}file" >&5
     1411echo "configure:1412: checking for ${ac_tool_prefix}file" >&5
    14031412if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
    14041413  echo $ac_n "(cached) $ac_c" 1>&6
     
    14621471  if test -n "$ac_tool_prefix"; then
    14631472    echo $ac_n "checking for file""... $ac_c" 1>&6
    1464 echo "configure:1465: checking for file" >&5
     1473echo "configure:1474: checking for file" >&5
    14651474if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
    14661475  echo $ac_n "(cached) $ac_c" 1>&6
     
    15331542set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    15341543echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1535 echo "configure:1536: checking for $ac_word" >&5
     1544echo "configure:1545: checking for $ac_word" >&5
    15361545if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    15371546  echo $ac_n "(cached) $ac_c" 1>&6
     
    15651574set dummy ranlib; ac_word=$2
    15661575echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1567 echo "configure:1568: checking for $ac_word" >&5
     1576echo "configure:1577: checking for $ac_word" >&5
    15681577if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    15691578  echo $ac_n "(cached) $ac_c" 1>&6
     
    16001609set dummy ${ac_tool_prefix}strip; ac_word=$2
    16011610echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1602 echo "configure:1603: checking for $ac_word" >&5
     1611echo "configure:1612: checking for $ac_word" >&5
    16031612if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
    16041613  echo $ac_n "(cached) $ac_c" 1>&6
     
    16321641set dummy strip; ac_word=$2
    16331642echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1634 echo "configure:1635: checking for $ac_word" >&5
     1643echo "configure:1644: checking for $ac_word" >&5
    16351644if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
    16361645  echo $ac_n "(cached) $ac_c" 1>&6
     
    16991708*-*-irix6*)
    17001709  # Find out which ABI we are using.
    1701   echo '#line 1702 "configure"' > conftest.$ac_ext
    1702   if { (eval echo configure:1703: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1710  echo '#line 1711 "configure"' > conftest.$ac_ext
     1711  if { (eval echo configure:1712: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1712   if test "$lt_cv_prog_gnu_ld" = yes; then
     1713    case `/usr/bin/file conftest.$ac_objext` in
     1714    *32-bit*)
     1715      LD="${LD-ld} -melf32bsmip"
     1716      ;;
     1717    *N32*)
     1718      LD="${LD-ld} -melf32bmipn32"
     1719      ;;
     1720    *64-bit*)
     1721      LD="${LD-ld} -melf64bmip"
     1722      ;;
     1723    esac
     1724   else
    17031725    case `/usr/bin/file conftest.$ac_objext` in
    17041726    *32-bit*)
     
    17121734      ;;
    17131735    esac
     1736   fi
     1737  fi
     1738  rm -rf conftest*
     1739  ;;
     1740
     1741ia64-*-hpux*)
     1742  # Find out which ABI we are using.
     1743  echo 'int i;' > conftest.$ac_ext
     1744  if { (eval echo configure:1745: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1745    case "`/usr/bin/file conftest.o`" in
     1746    *ELF-32*)
     1747      HPUX_IA64_MODE="32"
     1748      ;;
     1749    *ELF-64*)
     1750      HPUX_IA64_MODE="64"
     1751      ;;
     1752    esac
     1753  fi
     1754  rm -rf conftest*
     1755  ;;
     1756
     1757x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
     1758  # Find out which ABI we are using.
     1759  echo 'int i;' > conftest.$ac_ext
     1760  if { (eval echo configure:1761: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1761    case "`/usr/bin/file conftest.o`" in
     1762    *32-bit*)
     1763      case $host in
     1764        x86_64-*linux*)
     1765          LD="${LD-ld} -m elf_i386"
     1766          ;;
     1767        ppc64-*linux*|powerpc64-*linux*)
     1768          LD="${LD-ld} -m elf32ppclinux"
     1769          ;;
     1770        s390x-*linux*)
     1771          LD="${LD-ld} -m elf_s390"
     1772          ;;
     1773        sparc64-*linux*)
     1774          LD="${LD-ld} -m elf32_sparc"
     1775          ;;
     1776      esac
     1777      ;;
     1778    *64-bit*)
     1779      case $host in
     1780        x86_64-*linux*)
     1781          LD="${LD-ld} -m elf_x86_64"
     1782          ;;
     1783        ppc*-*linux*|powerpc*-*linux*)
     1784          LD="${LD-ld} -m elf64ppc"
     1785          ;;
     1786        s390*-*linux*)
     1787          LD="${LD-ld} -m elf64_s390"
     1788          ;;
     1789        sparc*-*linux*)
     1790          LD="${LD-ld} -m elf64_sparc"
     1791          ;;
     1792      esac
     1793      ;;
     1794    esac
    17141795  fi
    17151796  rm -rf conftest*
     
    17211802  CFLAGS="$CFLAGS -belf"
    17221803  echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
    1723 echo "configure:1724: checking whether the C compiler needs -belf" >&5
     1804echo "configure:1805: checking whether the C compiler needs -belf" >&5
    17241805if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
    17251806  echo $ac_n "(cached) $ac_c" 1>&6
     
    17341815
    17351816     cat > conftest.$ac_ext <<EOF
    1736 #line 1737 "configure"
     1817#line 1818 "configure"
    17371818#include "confdefs.h"
    17381819
     
    17411822; return 0; }
    17421823EOF
    1743 if { (eval echo configure:1744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1824if { (eval echo configure:1825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    17441825  rm -rf conftest*
    17451826  lt_cv_cc_needs_belf=yes
     
    18691950# ./install, which can be erroneously created by make from ./install.sh.
    18701951echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
    1871 echo "configure:1872: checking for a BSD compatible install" >&5
     1952echo "configure:1953: checking for a BSD compatible install" >&5
    18721953if test -z "$INSTALL"; then
    18731954if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
     
    19222003
    19232004echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
    1924 echo "configure:1925: checking whether build environment is sane" >&5
     2005echo "configure:2006: checking whether build environment is sane" >&5
    19252006# Just in case
    19262007sleep 1
     
    19792060
    19802061echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
    1981 echo "configure:1982: checking whether ${MAKE-make} sets \${MAKE}" >&5
     2062echo "configure:2063: checking whether ${MAKE-make} sets \${MAKE}" >&5
    19822063set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
    19832064if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
     
    20182099missing_dir=`cd $ac_aux_dir && pwd`
    20192100echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
    2020 echo "configure:2021: checking for working aclocal" >&5
     2101echo "configure:2102: checking for working aclocal" >&5
    20212102# Run test in a subshell; some versions of sh will print an error if
    20222103# an executable is not found, even if stderr is redirected.
     
    20312112
    20322113echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
    2033 echo "configure:2034: checking for working autoconf" >&5
     2114echo "configure:2115: checking for working autoconf" >&5
    20342115# Run test in a subshell; some versions of sh will print an error if
    20352116# an executable is not found, even if stderr is redirected.
     
    20442125
    20452126echo $ac_n "checking for working automake""... $ac_c" 1>&6
    2046 echo "configure:2047: checking for working automake" >&5
     2127echo "configure:2128: checking for working automake" >&5
    20472128# Run test in a subshell; some versions of sh will print an error if
    20482129# an executable is not found, even if stderr is redirected.
     
    20572138
    20582139echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
    2059 echo "configure:2060: checking for working autoheader" >&5
     2140echo "configure:2141: checking for working autoheader" >&5
    20602141# Run test in a subshell; some versions of sh will print an error if
    20612142# an executable is not found, even if stderr is redirected.
     
    20702151
    20712152echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
    2072 echo "configure:2073: checking for working makeinfo" >&5
     2153echo "configure:2154: checking for working makeinfo" >&5
    20732154# Run test in a subshell; some versions of sh will print an error if
    20742155# an executable is not found, even if stderr is redirected.
     
    20872168
    20882169echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
    2089 echo "configure:2090: checking for executable suffix" >&5
     2170echo "configure:2171: checking for executable suffix" >&5
    20902171if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
    20912172  echo $ac_n "(cached) $ac_c" 1>&6
     
    20972178  echo 'int main () { return 0; }' > conftest.$ac_ext
    20982179  ac_cv_exeext=
    2099   if { (eval echo configure:2100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     2180  if { (eval echo configure:2181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    21002181    for file in conftest.*; do
    21012182      case $file in
     
    21182199
    21192200echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
    2120 echo "configure:2121: checking whether to enable maintainer-specific portions of Makefiles" >&5
     2201echo "configure:2202: checking whether to enable maintainer-specific portions of Makefiles" >&5
    21212202    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
    21222203if test "${enable_maintainer_mode+set}" = set; then
     
    21442225set dummy gcc; ac_word=$2
    21452226echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2146 echo "configure:2147: checking for $ac_word" >&5
     2227echo "configure:2228: checking for $ac_word" >&5
    21472228if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    21482229  echo $ac_n "(cached) $ac_c" 1>&6
     
    21742255set dummy cc; ac_word=$2
    21752256echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2176 echo "configure:2177: checking for $ac_word" >&5
     2257echo "configure:2258: checking for $ac_word" >&5
    21772258if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    21782259  echo $ac_n "(cached) $ac_c" 1>&6
     
    22252306set dummy cl; ac_word=$2
    22262307echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2227 echo "configure:2228: checking for $ac_word" >&5
     2308echo "configure:2309: checking for $ac_word" >&5
    22282309if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    22292310  echo $ac_n "(cached) $ac_c" 1>&6
     
    22572338
    22582339echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    2259 echo "configure:2260: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     2340echo "configure:2341: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    22602341
    22612342ac_ext=c
     
    22682349cat > conftest.$ac_ext << EOF
    22692350
    2270 #line 2271 "configure"
     2351#line 2352 "configure"
    22712352#include "confdefs.h"
    22722353
    22732354main(){return(0);}
    22742355EOF
    2275 if { (eval echo configure:2276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2356if { (eval echo configure:2357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    22762357  ac_cv_prog_cc_works=yes
    22772358  # If we can't run a trivial program, we are probably using a cross compiler.
     
    22992380fi
    23002381echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    2301 echo "configure:2302: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     2382echo "configure:2383: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    23022383echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    23032384cross_compiling=$ac_cv_prog_cc_cross
    23042385
    23052386echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    2306 echo "configure:2307: checking whether we are using GNU C" >&5
     2387echo "configure:2388: checking whether we are using GNU C" >&5
    23072388if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    23082389  echo $ac_n "(cached) $ac_c" 1>&6
     
    23132394#endif
    23142395EOF
    2315 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2316: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     2396if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2397: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    23162397  ac_cv_prog_gcc=yes
    23172398else
     
    23322413CFLAGS=
    23332414echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    2334 echo "configure:2335: checking whether ${CC-cc} accepts -g" >&5
     2415echo "configure:2416: checking whether ${CC-cc} accepts -g" >&5
    23352416if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    23362417  echo $ac_n "(cached) $ac_c" 1>&6
     
    23732454mips-sgi-irix5.* | mips-sgi-irix6.*) TARGET=MIPS; TARGETDIR=mips;;
    23742455i*86-*-linux*) TARGET=X86; TARGETDIR=x86;;
     2456i*86-*-sco3.2v5*) TARGET=X86; TARGETDIR=x86;;
    23752457i*86-*-solaris*) TARGET=X86; TARGETDIR=x86;;
    23762458i*86-*-beos*) TARGET=X86; TARGETDIR=x86;;
     
    23822464sparc-sun-4*) TARGET=SPARC; TARGETDIR=sparc;;
    23832465sparc*-sun-*) TARGET=SPARC; TARGETDIR=sparc;;
    2384 sparc-*-linux*) TARGET=SPARC; TARGETDIR=sparc;;
    2385 sparc64-*-linux*) TARGET=SPARC; TARGETDIR=sparc;;
    2386 alpha*-*-linux* | alpha*-*-osf* | alpha*-*-freebsd*) TARGET=ALPHA; TARGETDIR=alpha;;
     2466sparc-*-linux* | sparc-*-netbsdelf*) TARGET=SPARC; TARGETDIR=sparc;;
     2467sparc64-*-linux* | sparc64-*-netbsd*) TARGET=SPARC; TARGETDIR=sparc;;
     2468alpha*-*-linux* | alpha*-*-osf* | alpha*-*-freebsd* | alpha*-*-netbsd*) TARGET=ALPHA; TARGETDIR=alpha;;
    23872469ia64*-*-*) TARGET=IA64; TARGETDIR=ia64;;
    23882470m68k-*-linux*) TARGET=M68K; TARGETDIR=m68k;;
     2471mips64*-*);;
     2472mips*-*-linux*) TARGET=MIPS_LINUX; TARGETDIR=mips;;
    23892473powerpc-*-linux* | powerpc-*-sysv*) TARGET=POWERPC; TARGETDIR=powerpc;;
    23902474powerpc-*-beos*) TARGET=POWERPC; TARGETDIR=powerpc;;
     
    23932477rs6000-*-aix*) TARGET=POWERPC_AIX; TARGETDIR=powerpc;;
    23942478arm*-*-linux-*) TARGET=ARM; TARGETDIR=arm;;
     2479s390-*-linux-*) TARGET=S390; TARGETDIR=s390;;
     2480s390x-*-linux-*) TARGET=S390; TARGETDIR=s390;;
     2481x86_64-*-linux*) TARGET=X86_64; TARGETDIR=x86;;
     2482sh-*-linux* | sh[34]*-*-linux*) TARGET=SH; TARGETDIR=sh;;
    23952483esac
    23962484
     
    24192507
    24202508
     2509if test x$TARGET = xMIPS_LINUX; then
     2510  MIPS_LINUX_TRUE=
     2511  MIPS_LINUX_FALSE='#'
     2512else
     2513  MIPS_LINUX_TRUE='#'
     2514  MIPS_LINUX_FALSE=
     2515fi
     2516
     2517
    24212518if test x$TARGET = xSPARC; then
    24222519  SPARC_TRUE=
     
    25082605fi
    25092606
     2607
     2608if test x$TARGET = xS390; then
     2609  S390_TRUE=
     2610  S390_FALSE='#'
     2611else
     2612  S390_TRUE='#'
     2613  S390_FALSE=
     2614fi
     2615
     2616
     2617if test x$TARGET = xX86_64; then
     2618  X86_64_TRUE=
     2619  X86_64_FALSE='#'
     2620else
     2621  X86_64_TRUE='#'
     2622  X86_64_FALSE=
     2623fi
     2624
     2625
     2626if test x$TARGET = xSH; then
     2627  SH_TRUE=
     2628  SH_FALSE='#'
     2629else
     2630  SH_TRUE='#'
     2631  SH_FALSE=
     2632fi
     2633
     2634if test x$TARGET = xMIPS_LINUX; then
     2635  TARGET=MIPS
     2636fi
     2637
    25102638echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
    2511 echo "configure:2512: checking how to run the C preprocessor" >&5
     2639echo "configure:2640: checking how to run the C preprocessor" >&5
    25122640# On Suns, sometimes $CPP names a directory.
    25132641if test -n "$CPP" && test -d "$CPP"; then
     
    25242652  # not just through cpp.
    25252653  cat > conftest.$ac_ext <<EOF
    2526 #line 2527 "configure"
     2654#line 2655 "configure"
    25272655#include "confdefs.h"
    25282656#include <assert.h>
     
    25302658EOF
    25312659ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2532 { (eval echo configure:2533: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2660{ (eval echo configure:2661: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    25332661ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    25342662if test -z "$ac_err"; then
     
    25412669  CPP="${CC-cc} -E -traditional-cpp"
    25422670  cat > conftest.$ac_ext <<EOF
    2543 #line 2544 "configure"
     2671#line 2672 "configure"
    25442672#include "confdefs.h"
    25452673#include <assert.h>
     
    25472675EOF
    25482676ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2549 { (eval echo configure:2550: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2677{ (eval echo configure:2678: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    25502678ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    25512679if test -z "$ac_err"; then
     
    25582686  CPP="${CC-cc} -nologo -E"
    25592687  cat > conftest.$ac_ext <<EOF
    2560 #line 2561 "configure"
     2688#line 2689 "configure"
    25612689#include "confdefs.h"
    25622690#include <assert.h>
     
    25642692EOF
    25652693ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2566 { (eval echo configure:2567: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2694{ (eval echo configure:2695: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    25672695ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    25682696if test -z "$ac_err"; then
     
    25892717
    25902718echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
    2591 echo "configure:2592: checking for ANSI C header files" >&5
     2719echo "configure:2720: checking for ANSI C header files" >&5
    25922720if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
    25932721  echo $ac_n "(cached) $ac_c" 1>&6
    25942722else
    25952723  cat > conftest.$ac_ext <<EOF
    2596 #line 2597 "configure"
     2724#line 2725 "configure"
    25972725#include "confdefs.h"
    25982726#include <stdlib.h>
     
    26022730EOF
    26032731ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2604 { (eval echo configure:2605: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2732{ (eval echo configure:2733: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    26052733ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    26062734if test -z "$ac_err"; then
     
    26192747  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    26202748cat > conftest.$ac_ext <<EOF
    2621 #line 2622 "configure"
     2749#line 2750 "configure"
    26222750#include "confdefs.h"
    26232751#include <string.h>
     
    26372765  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    26382766cat > conftest.$ac_ext <<EOF
    2639 #line 2640 "configure"
     2767#line 2768 "configure"
    26402768#include "confdefs.h"
    26412769#include <stdlib.h>
     
    26582786else
    26592787  cat > conftest.$ac_ext <<EOF
    2660 #line 2661 "configure"
     2788#line 2789 "configure"
    26612789#include "confdefs.h"
    26622790#include <ctype.h>
     
    26692797
    26702798EOF
    2671 if { (eval echo configure:2672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     2799if { (eval echo configure:2800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    26722800then
    26732801  :
     
    26952823do
    26962824echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    2697 echo "configure:2698: checking for $ac_func" >&5
     2825echo "configure:2826: checking for $ac_func" >&5
    26982826if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    26992827  echo $ac_n "(cached) $ac_c" 1>&6
    27002828else
    27012829  cat > conftest.$ac_ext <<EOF
    2702 #line 2703 "configure"
     2830#line 2831 "configure"
    27032831#include "confdefs.h"
    27042832/* System header to define __stub macros and hopefully few prototypes,
     
    27232851; return 0; }
    27242852EOF
    2725 if { (eval echo configure:2726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2853if { (eval echo configure:2854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    27262854  rm -rf conftest*
    27272855  eval "ac_cv_func_$ac_func=yes"
     
    27502878# for constant arguments.  Useless!
    27512879echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
    2752 echo "configure:2753: checking for working alloca.h" >&5
     2880echo "configure:2881: checking for working alloca.h" >&5
    27532881if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
    27542882  echo $ac_n "(cached) $ac_c" 1>&6
    27552883else
    27562884  cat > conftest.$ac_ext <<EOF
    2757 #line 2758 "configure"
     2885#line 2886 "configure"
    27582886#include "confdefs.h"
    27592887#include <alloca.h>
     
    27622890; return 0; }
    27632891EOF
    2764 if { (eval echo configure:2765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2892if { (eval echo configure:2893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    27652893  rm -rf conftest*
    27662894  ac_cv_header_alloca_h=yes
     
    27832911
    27842912echo $ac_n "checking for alloca""... $ac_c" 1>&6
    2785 echo "configure:2786: checking for alloca" >&5
     2913echo "configure:2914: checking for alloca" >&5
    27862914if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
    27872915  echo $ac_n "(cached) $ac_c" 1>&6
    27882916else
    27892917  cat > conftest.$ac_ext <<EOF
    2790 #line 2791 "configure"
     2918#line 2919 "configure"
    27912919#include "confdefs.h"
    27922920
     
    28162944; return 0; }
    28172945EOF
    2818 if { (eval echo configure:2819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2946if { (eval echo configure:2947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    28192947  rm -rf conftest*
    28202948  ac_cv_func_alloca_works=yes
     
    28482976
    28492977echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
    2850 echo "configure:2851: checking whether alloca needs Cray hooks" >&5
     2978echo "configure:2979: checking whether alloca needs Cray hooks" >&5
    28512979if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
    28522980  echo $ac_n "(cached) $ac_c" 1>&6
    28532981else
    28542982  cat > conftest.$ac_ext <<EOF
    2855 #line 2856 "configure"
     2983#line 2984 "configure"
    28562984#include "confdefs.h"
    28572985#if defined(CRAY) && ! defined(CRAY2)
     
    28783006for ac_func in _getb67 GETB67 getb67; do
    28793007  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    2880 echo "configure:2881: checking for $ac_func" >&5
     3008echo "configure:3009: checking for $ac_func" >&5
    28813009if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    28823010  echo $ac_n "(cached) $ac_c" 1>&6
    28833011else
    28843012  cat > conftest.$ac_ext <<EOF
    2885 #line 2886 "configure"
     3013#line 3014 "configure"
    28863014#include "confdefs.h"
    28873015/* System header to define __stub macros and hopefully few prototypes,
     
    29063034; return 0; }
    29073035EOF
    2908 if { (eval echo configure:2909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3036if { (eval echo configure:3037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    29093037  rm -rf conftest*
    29103038  eval "ac_cv_func_$ac_func=yes"
     
    29333061
    29343062echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
    2935 echo "configure:2936: checking stack direction for C alloca" >&5
     3063echo "configure:3064: checking stack direction for C alloca" >&5
    29363064if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
    29373065  echo $ac_n "(cached) $ac_c" 1>&6
     
    29413069else
    29423070  cat > conftest.$ac_ext <<EOF
    2943 #line 2944 "configure"
     3071#line 3072 "configure"
    29443072#include "confdefs.h"
    29453073find_stack_direction ()
     
    29603088}
    29613089EOF
    2962 if { (eval echo configure:2963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3090if { (eval echo configure:3091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    29633091then
    29643092  ac_cv_c_stack_direction=1
     
    29833111
    29843112echo $ac_n "checking size of short""... $ac_c" 1>&6
    2985 echo "configure:2986: checking size of short" >&5
     3113echo "configure:3114: checking size of short" >&5
    29863114if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
    29873115  echo $ac_n "(cached) $ac_c" 1>&6
     
    29893117  for ac_size in 4 8 1 2 16 12  ; do # List sizes in rough order of prevalence.
    29903118  cat > conftest.$ac_ext <<EOF
    2991 #line 2992 "configure"
     3119#line 3120 "configure"
    29923120#include "confdefs.h"
    29933121#include "confdefs.h"
     
    29993127; return 0; }
    30003128EOF
    3001 if { (eval echo configure:3002: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3129if { (eval echo configure:3130: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    30023130  rm -rf conftest*
    30033131  ac_cv_sizeof_short=$ac_size
     
    30223150
    30233151echo $ac_n "checking size of int""... $ac_c" 1>&6
    3024 echo "configure:3025: checking size of int" >&5
     3152echo "configure:3153: checking size of int" >&5
    30253153if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
    30263154  echo $ac_n "(cached) $ac_c" 1>&6
     
    30283156  for ac_size in 4 8 1 2 16 12  ; do # List sizes in rough order of prevalence.
    30293157  cat > conftest.$ac_ext <<EOF
    3030 #line 3031 "configure"
     3158#line 3159 "configure"
    30313159#include "confdefs.h"
    30323160#include "confdefs.h"
     
    30383166; return 0; }
    30393167EOF
    3040 if { (eval echo configure:3041: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3168if { (eval echo configure:3169: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    30413169  rm -rf conftest*
    30423170  ac_cv_sizeof_int=$ac_size
     
    30613189
    30623190echo $ac_n "checking size of long""... $ac_c" 1>&6
    3063 echo "configure:3064: checking size of long" >&5
     3191echo "configure:3192: checking size of long" >&5
    30643192if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
    30653193  echo $ac_n "(cached) $ac_c" 1>&6
     
    30673195  for ac_size in 4 8 1 2 16 12  ; do # List sizes in rough order of prevalence.
    30683196  cat > conftest.$ac_ext <<EOF
    3069 #line 3070 "configure"
     3197#line 3198 "configure"
    30703198#include "confdefs.h"
    30713199#include "confdefs.h"
     
    30773205; return 0; }
    30783206EOF
    3079 if { (eval echo configure:3080: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3207if { (eval echo configure:3208: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    30803208  rm -rf conftest*
    30813209  ac_cv_sizeof_long=$ac_size
     
    31003228
    31013229echo $ac_n "checking size of long long""... $ac_c" 1>&6
    3102 echo "configure:3103: checking size of long long" >&5
     3230echo "configure:3231: checking size of long long" >&5
    31033231if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
    31043232  echo $ac_n "(cached) $ac_c" 1>&6
     
    31063234  for ac_size in 4 8 1 2 16 12  ; do # List sizes in rough order of prevalence.
    31073235  cat > conftest.$ac_ext <<EOF
    3108 #line 3109 "configure"
     3236#line 3237 "configure"
    31093237#include "confdefs.h"
    31103238#include "confdefs.h"
     
    31163244; return 0; }
    31173245EOF
    3118 if { (eval echo configure:3119: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3246if { (eval echo configure:3247: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    31193247  rm -rf conftest*
    31203248  ac_cv_sizeof_long_long=$ac_size
     
    31393267
    31403268echo $ac_n "checking size of float""... $ac_c" 1>&6
    3141 echo "configure:3142: checking size of float" >&5
     3269echo "configure:3270: checking size of float" >&5
    31423270if eval "test \"`echo '$''{'ac_cv_sizeof_float'+set}'`\" = set"; then
    31433271  echo $ac_n "(cached) $ac_c" 1>&6
     
    31453273  for ac_size in 4 8 1 2 16 12  ; do # List sizes in rough order of prevalence.
    31463274  cat > conftest.$ac_ext <<EOF
    3147 #line 3148 "configure"
     3275#line 3276 "configure"
    31483276#include "confdefs.h"
    31493277#include "confdefs.h"
     
    31553283; return 0; }
    31563284EOF
    3157 if { (eval echo configure:3158: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3285if { (eval echo configure:3286: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    31583286  rm -rf conftest*
    31593287  ac_cv_sizeof_float=$ac_size
     
    31783306
    31793307echo $ac_n "checking size of double""... $ac_c" 1>&6
    3180 echo "configure:3181: checking size of double" >&5
     3308echo "configure:3309: checking size of double" >&5
    31813309if eval "test \"`echo '$''{'ac_cv_sizeof_double'+set}'`\" = set"; then
    31823310  echo $ac_n "(cached) $ac_c" 1>&6
     
    31843312  for ac_size in 4 8 1 2 16 12  ; do # List sizes in rough order of prevalence.
    31853313  cat > conftest.$ac_ext <<EOF
    3186 #line 3187 "configure"
     3314#line 3315 "configure"
    31873315#include "confdefs.h"
    31883316#include "confdefs.h"
     
    31943322; return 0; }
    31953323EOF
    3196 if { (eval echo configure:3197: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3324if { (eval echo configure:3325: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    31973325  rm -rf conftest*
    31983326  ac_cv_sizeof_double=$ac_size
     
    32173345
    32183346echo $ac_n "checking size of long double""... $ac_c" 1>&6
    3219 echo "configure:3220: checking size of long double" >&5
     3347echo "configure:3348: checking size of long double" >&5
    32203348if eval "test \"`echo '$''{'ac_cv_sizeof_long_double'+set}'`\" = set"; then
    32213349  echo $ac_n "(cached) $ac_c" 1>&6
     
    32233351  for ac_size in 4 8 1 2 16 12  ; do # List sizes in rough order of prevalence.
    32243352  cat > conftest.$ac_ext <<EOF
    3225 #line 3226 "configure"
     3353#line 3354 "configure"
    32263354#include "confdefs.h"
    32273355#include "confdefs.h"
     
    32333361; return 0; }
    32343362EOF
    3235 if { (eval echo configure:3236: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3363if { (eval echo configure:3364: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    32363364  rm -rf conftest*
    32373365  ac_cv_sizeof_long_double=$ac_size
     
    32573385
    32583386echo $ac_n "checking size of void *""... $ac_c" 1>&6
    3259 echo "configure:3260: checking size of void *" >&5
     3387echo "configure:3388: checking size of void *" >&5
    32603388if eval "test \"`echo '$''{'ac_cv_sizeof_void_p'+set}'`\" = set"; then
    32613389  echo $ac_n "(cached) $ac_c" 1>&6
     
    32633391  for ac_size in 4 8 1 2 16 12  ; do # List sizes in rough order of prevalence.
    32643392  cat > conftest.$ac_ext <<EOF
    3265 #line 3266 "configure"
     3393#line 3394 "configure"
    32663394#include "confdefs.h"
    32673395#include "confdefs.h"
     
    32733401; return 0; }
    32743402EOF
    3275 if { (eval echo configure:3276: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3403if { (eval echo configure:3404: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    32763404  rm -rf conftest*
    32773405  ac_cv_sizeof_void_p=$ac_size
     
    32963424
    32973425echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
    3298 echo "configure:3299: checking whether byte ordering is bigendian" >&5
     3426echo "configure:3427: checking whether byte ordering is bigendian" >&5
    32993427if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
    33003428  echo $ac_n "(cached) $ac_c" 1>&6
     
    33033431# See if sys/param.h defines the BYTE_ORDER macro.
    33043432cat > conftest.$ac_ext <<EOF
    3305 #line 3306 "configure"
     3433#line 3434 "configure"
    33063434#include "confdefs.h"
    33073435#include <sys/types.h>
     
    33143442; return 0; }
    33153443EOF
    3316 if { (eval echo configure:3317: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3444if { (eval echo configure:3445: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    33173445  rm -rf conftest*
    33183446  # It does; now see whether it defined to BIG_ENDIAN or not.
    33193447cat > conftest.$ac_ext <<EOF
    3320 #line 3321 "configure"
     3448#line 3449 "configure"
    33213449#include "confdefs.h"
    33223450#include <sys/types.h>
     
    33293457; return 0; }
    33303458EOF
    3331 if { (eval echo configure:3332: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3459if { (eval echo configure:3460: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    33323460  rm -rf conftest*
    33333461  ac_cv_c_bigendian=yes
     
    33493477else
    33503478  cat > conftest.$ac_ext <<EOF
    3351 #line 3352 "configure"
     3479#line 3480 "configure"
    33523480#include "confdefs.h"
    33533481main () {
     
    33623490}
    33633491EOF
    3364 if { (eval echo configure:3365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3492if { (eval echo configure:3493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    33653493then
    33663494  ac_cv_c_bigendian=no
     
    33803508if test $ac_cv_c_bigendian = unknown; then
    33813509echo $ac_n "checking to probe for byte ordering""... $ac_c" 1>&6
    3382 echo "configure:3383: checking to probe for byte ordering" >&5
     3510echo "configure:3511: checking to probe for byte ordering" >&5
    33833511
    33843512cat >conftest.c <<EOF
     
    34303558if test x$TARGET = xSPARC; then
    34313559    echo $ac_n "checking assembler and linker support unaligned pc related relocs""... $ac_c" 1>&6
    3432 echo "configure:3433: checking assembler and linker support unaligned pc related relocs" >&5
     3560echo "configure:3561: checking assembler and linker support unaligned pc related relocs" >&5
    34333561if eval "test \"`echo '$''{'libffi_cv_as_sparc_ua_pcrel'+set}'`\" = set"; then
    34343562  echo $ac_n "(cached) $ac_c" 1>&6
     
    34403568        LDFLAGS="$LDFLAGS -shared"
    34413569        cat > conftest.$ac_ext <<EOF
    3442 #line 3443 "configure"
     3570#line 3571 "configure"
    34433571#include "confdefs.h"
    34443572asm (".text; foo: nop; .data; .align 4; .byte 0; .uaword %r_disp32(foo); .text");
     
    34473575; return 0; }
    34483576EOF
    3449 if { (eval echo configure:3450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3577if { (eval echo configure:3578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    34503578  rm -rf conftest*
    34513579  libffi_cv_as_sparc_ua_pcrel=yes
     
    34653593        cat >> confdefs.h <<\EOF
    34663594#define HAVE_AS_SPARC_UA_PCREL 1
     3595EOF
     3596
     3597    fi
     3598
     3599    echo $ac_n "checking assembler .register pseudo-op support""... $ac_c" 1>&6
     3600echo "configure:3601: checking assembler .register pseudo-op support" >&5
     3601if eval "test \"`echo '$''{'libffi_cv_as_register_pseudo_op'+set}'`\" = set"; then
     3602  echo $ac_n "(cached) $ac_c" 1>&6
     3603else
     3604 
     3605       libffi_cv_as_register_pseudo_op=unknown
     3606       # Check if we have .register
     3607       cat > conftest.$ac_ext <<EOF
     3608#line 3609 "configure"
     3609#include "confdefs.h"
     3610asm (".register %g2, #scratch");
     3611int main() {
     3612
     3613; return 0; }
     3614EOF
     3615if { (eval echo configure:3616: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3616  rm -rf conftest*
     3617  libffi_cv_as_register_pseudo_op=yes
     3618else
     3619  echo "configure: failed program was:" >&5
     3620  cat conftest.$ac_ext >&5
     3621  rm -rf conftest*
     3622  libffi_cv_as_register_pseudo_op=no
     3623fi
     3624rm -f conftest*
     3625   
     3626fi
     3627
     3628echo "$ac_t""$libffi_cv_as_register_pseudo_op" 1>&6
     3629    if test "x$libffi_cv_as_register_pseudo_op" = xyes; then
     3630       cat >> confdefs.h <<\EOF
     3631#define HAVE_AS_REGISTER_PSEUDO_OP 1
    34673632EOF
    34683633
     
    37103875s%@MIPS_SGI_TRUE@%$MIPS_SGI_TRUE%g
    37113876s%@MIPS_SGI_FALSE@%$MIPS_SGI_FALSE%g
     3877s%@MIPS_LINUX_TRUE@%$MIPS_LINUX_TRUE%g
     3878s%@MIPS_LINUX_FALSE@%$MIPS_LINUX_FALSE%g
    37123879s%@SPARC_TRUE@%$SPARC_TRUE%g
    37133880s%@SPARC_FALSE@%$SPARC_FALSE%g
     
    37303897s%@ARM_TRUE@%$ARM_TRUE%g
    37313898s%@ARM_FALSE@%$ARM_FALSE%g
     3899s%@S390_TRUE@%$S390_TRUE%g
     3900s%@S390_FALSE@%$S390_FALSE%g
     3901s%@X86_64_TRUE@%$X86_64_TRUE%g
     3902s%@X86_64_FALSE@%$X86_64_FALSE%g
     3903s%@SH_TRUE@%$SH_TRUE%g
     3904s%@SH_FALSE@%$SH_FALSE%g
    37323905s%@CPP@%$CPP%g
    37333906s%@ALLOCA@%$ALLOCA%g
     
    39554128CC="${CC}"
    39564129DEFS="$DEFS"
     4130ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}"
    39574131test ! -d include && mkdir include
    39584132test ! -f include/fficonfig.h && cp fficonfig.h include/fficonfig.h
     
    39704144if test -n "$CONFIG_FILES"; then
    39714145   LD="${ORIGINAL_LD_FOR_MULTILIBS}"
    3972    ac_file=Makefile . ${libffi_basedir}/../config-ml.in
     4146   ac_file=Makefile . ${srcdir}/${libffi_basedir}../config-ml.in
    39734147fi
    39744148
Note: See TracChangeset for help on using the changeset viewer.