Ignore:
Timestamp:
Apr 28, 2004, 6:58:06 AM (21 years ago)
Author:
bird
Message:

#1040: Joined the GCC 3.3.3 with the trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gcc/libffi/configure

    • Property cvs2svn:cvs-rev changed from 1.4 to 1.5
    r1393 r1394  
    723723if test "${srcdir}" = "."; then
    724724  if test "${with_target_subdir}" != "."; then
    725     libffi_basedir="${srcdir}/${with_multisrctop}.."
     725    libffi_basedir="${with_multisrctop}../"
    726726  else
    727     libffi_basedir="${srcdir}/${with_multisrctop}"
     727    libffi_basedir="${with_multisrctop}"
    728728  fi
    729729else
    730   libffi_basedir="${srcdir}"
    731 fi
    732 
     730  libffi_basedir=
     731fi
    733732
    734733ac_aux_dir=
    735 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
     734for ac_dir in ${libffi_basedir}.. $srcdir/${libffi_basedir}..; do
    736735  if test -f $ac_dir/install-sh; then
    737736    ac_aux_dir=$ac_dir
     
    745744done
    746745if test -z "$ac_aux_dir"; then
    747   { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
     746  { echo "configure: error: can not find install-sh or install.sh in ${libffi_basedir}.. $srcdir/${libffi_basedir}.." 1>&2; exit 1; }
    748747fi
    749748ac_config_guess=$ac_aux_dir/config.guess
    750749ac_config_sub=$ac_aux_dir/config.sub
    751750ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
     751
    752752
    753753
     
    13411341  hppa*)
    13421342    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
    1343   lt_cv_file_magic_cmd=/usr/bin/file
    1344   lt_cv_file_magic_test_file=/usr/lib/libc.sl
     1343    lt_cv_file_magic_cmd=/usr/bin/file
     1344    lt_cv_file_magic_test_file=/usr/lib/libc.sl
    13451345    ;;
    13461346  ia64*)
     
    13481348    lt_cv_file_magic_cmd=/usr/bin/file
    13491349    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
    1350   ;;
     1350    ;;
    13511351  esac
    13521352  ;;
     
    13761376linux-gnu*)
    13771377  case $host_cpu in
    1378   alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* )
     1378  alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
    13791379    lt_cv_deplibs_check_method=pass_all ;;
    13801380  *)
     
    18291829  ;;
    18301830
     1831x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
     1832  # Find out which ABI we are using.
     1833  echo 'int i;' > conftest.$ac_ext
     1834  if { (eval echo configure:1835: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1835    case "`/usr/bin/file conftest.o`" in
     1836    *32-bit*)
     1837      case $host in
     1838        x86_64-*linux*)
     1839          LD="${LD-ld} -m elf_i386"
     1840          ;;
     1841        ppc64-*linux*|powerpc64-*linux*)
     1842          LD="${LD-ld} -m elf32ppclinux"
     1843          ;;
     1844        s390x-*linux*)
     1845          LD="${LD-ld} -m elf_s390"
     1846          ;;
     1847        sparc64-*linux*)
     1848          LD="${LD-ld} -m elf32_sparc"
     1849          ;;
     1850      esac
     1851      ;;
     1852    *64-bit*)
     1853      case $host in
     1854        x86_64-*linux*)
     1855          LD="${LD-ld} -m elf_x86_64"
     1856          ;;
     1857        ppc*-*linux*|powerpc*-*linux*)
     1858          LD="${LD-ld} -m elf64ppc"
     1859          ;;
     1860        s390*-*linux*)
     1861          LD="${LD-ld} -m elf64_s390"
     1862          ;;
     1863        sparc*-*linux*)
     1864          LD="${LD-ld} -m elf64_sparc"
     1865          ;;
     1866      esac
     1867      ;;
     1868    esac
     1869  fi
     1870  rm -rf conftest*
     1871  ;;
     1872
    18311873*-*-sco3.2v5*)
    18321874  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
     
    18341876  CFLAGS="$CFLAGS -belf"
    18351877  echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
    1836 echo "configure:1837: checking whether the C compiler needs -belf" >&5
     1878echo "configure:1879: checking whether the C compiler needs -belf" >&5
    18371879if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
    18381880  echo $ac_n "(cached) $ac_c" 1>&6
     
    18471889
    18481890     cat > conftest.$ac_ext <<EOF
    1849 #line 1850 "configure"
     1891#line 1892 "configure"
    18501892#include "confdefs.h"
    18511893
     
    18541896; return 0; }
    18551897EOF
    1856 if { (eval echo configure:1857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1898if { (eval echo configure:1899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    18571899  rm -rf conftest*
    18581900  lt_cv_cc_needs_belf=yes
     
    19822024# ./install, which can be erroneously created by make from ./install.sh.
    19832025echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
    1984 echo "configure:1985: checking for a BSD compatible install" >&5
     2026echo "configure:2027: checking for a BSD compatible install" >&5
    19852027if test -z "$INSTALL"; then
    19862028if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
     
    20372079
    20382080echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
    2039 echo "configure:2040: checking whether build environment is sane" >&5
     2081echo "configure:2082: checking whether build environment is sane" >&5
    20402082# Just in case
    20412083sleep 1
     
    20942136
    20952137echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
    2096 echo "configure:2097: checking whether ${MAKE-make} sets \${MAKE}" >&5
     2138echo "configure:2139: checking whether ${MAKE-make} sets \${MAKE}" >&5
    20972139set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
    20982140if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
     
    21332175missing_dir=`cd $ac_aux_dir && pwd`
    21342176echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
    2135 echo "configure:2136: checking for working aclocal" >&5
     2177echo "configure:2178: checking for working aclocal" >&5
    21362178# Run test in a subshell; some versions of sh will print an error if
    21372179# an executable is not found, even if stderr is redirected.
     
    21462188
    21472189echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
    2148 echo "configure:2149: checking for working autoconf" >&5
     2190echo "configure:2191: checking for working autoconf" >&5
    21492191# Run test in a subshell; some versions of sh will print an error if
    21502192# an executable is not found, even if stderr is redirected.
     
    21592201
    21602202echo $ac_n "checking for working automake""... $ac_c" 1>&6
    2161 echo "configure:2162: checking for working automake" >&5
     2203echo "configure:2204: checking for working automake" >&5
    21622204# Run test in a subshell; some versions of sh will print an error if
    21632205# an executable is not found, even if stderr is redirected.
     
    21722214
    21732215echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
    2174 echo "configure:2175: checking for working autoheader" >&5
     2216echo "configure:2217: checking for working autoheader" >&5
    21752217# Run test in a subshell; some versions of sh will print an error if
    21762218# an executable is not found, even if stderr is redirected.
     
    21852227
    21862228echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
    2187 echo "configure:2188: checking for working makeinfo" >&5
     2229echo "configure:2230: checking for working makeinfo" >&5
    21882230# Run test in a subshell; some versions of sh will print an error if
    21892231# an executable is not found, even if stderr is redirected.
     
    22032245
    22042246echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
    2205 echo "configure:2206: checking for executable suffix" >&5
     2247echo "configure:2248: checking for executable suffix" >&5
    22062248if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
    22072249  echo $ac_n "(cached) $ac_c" 1>&6
     
    22132255  echo 'int main () { return 0; }' > conftest.$ac_ext
    22142256  ac_cv_exeext=
    2215   if { (eval echo configure:2216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     2257  if { (eval echo configure:2258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    22162258    for file in conftest.*; do
    22172259      case $file in
     
    22342276
    22352277echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
    2236 echo "configure:2237: checking whether to enable maintainer-specific portions of Makefiles" >&5
     2278echo "configure:2279: checking whether to enable maintainer-specific portions of Makefiles" >&5
    22372279    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
    22382280if test "${enable_maintainer_mode+set}" = set; then
     
    22602302set dummy gcc; ac_word=$2
    22612303echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2262 echo "configure:2263: checking for $ac_word" >&5
     2304echo "configure:2305: checking for $ac_word" >&5
    22632305if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    22642306  echo $ac_n "(cached) $ac_c" 1>&6
     
    22912333set dummy cc; ac_word=$2
    22922334echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2293 echo "configure:2294: checking for $ac_word" >&5
     2335echo "configure:2336: checking for $ac_word" >&5
    22942336if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    22952337  echo $ac_n "(cached) $ac_c" 1>&6
     
    23442386set dummy cl; ac_word=$2
    23452387echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2346 echo "configure:2347: checking for $ac_word" >&5
     2388echo "configure:2389: checking for $ac_word" >&5
    23472389if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    23482390  echo $ac_n "(cached) $ac_c" 1>&6
     
    23772419
    23782420echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    2379 echo "configure:2380: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     2421echo "configure:2422: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    23802422
    23812423ac_ext=c
     
    23882430cat > conftest.$ac_ext << EOF
    23892431
    2390 #line 2391 "configure"
     2432#line 2433 "configure"
    23912433#include "confdefs.h"
    23922434
    23932435main(){return(0);}
    23942436EOF
    2395 if { (eval echo configure:2396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2437if { (eval echo configure:2438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    23962438  ac_cv_prog_cc_works=yes
    23972439  # If we can't run a trivial program, we are probably using a cross compiler.
     
    24192461fi
    24202462echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    2421 echo "configure:2422: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     2463echo "configure:2464: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    24222464echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    24232465cross_compiling=$ac_cv_prog_cc_cross
    24242466
    24252467echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    2426 echo "configure:2427: checking whether we are using GNU C" >&5
     2468echo "configure:2469: checking whether we are using GNU C" >&5
    24272469if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    24282470  echo $ac_n "(cached) $ac_c" 1>&6
     
    24332475#endif
    24342476EOF
    2435 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2436: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     2477if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2478: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    24362478  ac_cv_prog_gcc=yes
    24372479else
     
    24522494CFLAGS=
    24532495echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    2454 echo "configure:2455: checking whether ${CC-cc} accepts -g" >&5
     2496echo "configure:2497: checking whether ${CC-cc} accepts -g" >&5
    24552497if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    24562498  echo $ac_n "(cached) $ac_c" 1>&6
     
    24932535mips-sgi-irix5.* | mips-sgi-irix6.*) TARGET=MIPS; TARGETDIR=mips;;
    24942536i*86-*-linux*) TARGET=X86; TARGETDIR=x86;;
     2537i*86-*-sco3.2v5*) TARGET=X86; TARGETDIR=x86;;
    24952538i*86-*-solaris*) TARGET=X86; TARGETDIR=x86;;
    24962539i*86-*-beos*) TARGET=X86; TARGETDIR=x86;;
     
    25022545sparc-sun-4*) TARGET=SPARC; TARGETDIR=sparc;;
    25032546sparc*-sun-*) TARGET=SPARC; TARGETDIR=sparc;;
    2504 sparc-*-linux*) TARGET=SPARC; TARGETDIR=sparc;;
    2505 sparc64-*-linux*) TARGET=SPARC; TARGETDIR=sparc;;
    2506 alpha*-*-linux* | alpha*-*-osf* | alpha*-*-freebsd*) TARGET=ALPHA; TARGETDIR=alpha;;
     2547sparc-*-linux* | sparc-*-netbsdelf*) TARGET=SPARC; TARGETDIR=sparc;;
     2548sparc64-*-linux* | sparc64-*-netbsd*) TARGET=SPARC; TARGETDIR=sparc;;
     2549alpha*-*-linux* | alpha*-*-osf* | alpha*-*-freebsd* | alpha*-*-netbsd*) TARGET=ALPHA; TARGETDIR=alpha;;
    25072550ia64*-*-*) TARGET=IA64; TARGETDIR=ia64;;
    25082551m68k-*-linux*) TARGET=M68K; TARGETDIR=m68k;;
     2552mips64*-*);;
     2553mips*-*-linux*) TARGET=MIPS_LINUX; TARGETDIR=mips;;
    25092554powerpc-*-linux* | powerpc-*-sysv*) TARGET=POWERPC; TARGETDIR=powerpc;;
    25102555powerpc-*-beos*) TARGET=POWERPC; TARGETDIR=powerpc;;
     
    25132558rs6000-*-aix*) TARGET=POWERPC_AIX; TARGETDIR=powerpc;;
    25142559arm*-*-linux-*) TARGET=ARM; TARGETDIR=arm;;
     2560s390-*-linux-*) TARGET=S390; TARGETDIR=s390;;
     2561s390x-*-linux-*) TARGET=S390; TARGETDIR=s390;;
     2562x86_64-*-linux*) TARGET=X86_64; TARGETDIR=x86;;
     2563sh-*-linux* | sh[34]*-*-linux*) TARGET=SH; TARGETDIR=sh;;
    25152564esac
    25162565
     
    25392588
    25402589
     2590if test x$TARGET = xMIPS_LINUX; then
     2591  MIPS_LINUX_TRUE=
     2592  MIPS_LINUX_FALSE='#'
     2593else
     2594  MIPS_LINUX_TRUE='#'
     2595  MIPS_LINUX_FALSE=
     2596fi
     2597
     2598
    25412599if test x$TARGET = xSPARC; then
    25422600  SPARC_TRUE=
     
    26282686fi
    26292687
     2688
     2689if test x$TARGET = xS390; then
     2690  S390_TRUE=
     2691  S390_FALSE='#'
     2692else
     2693  S390_TRUE='#'
     2694  S390_FALSE=
     2695fi
     2696
     2697
     2698if test x$TARGET = xX86_64; then
     2699  X86_64_TRUE=
     2700  X86_64_FALSE='#'
     2701else
     2702  X86_64_TRUE='#'
     2703  X86_64_FALSE=
     2704fi
     2705
     2706
     2707if test x$TARGET = xSH; then
     2708  SH_TRUE=
     2709  SH_FALSE='#'
     2710else
     2711  SH_TRUE='#'
     2712  SH_FALSE=
     2713fi
     2714
     2715if test x$TARGET = xMIPS_LINUX; then
     2716  TARGET=MIPS
     2717fi
     2718
    26302719echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
    2631 echo "configure:2632: checking how to run the C preprocessor" >&5
     2720echo "configure:2721: checking how to run the C preprocessor" >&5
    26322721# On Suns, sometimes $CPP names a directory.
    26332722if test -n "$CPP" && test -d "$CPP"; then
     
    26452734  cat > conftest.$ac_ext <<EOF
    26462735#include <sys/types.h>
    2647 #line 2648 "configure"
     2736#line 2737 "configure"
    26482737#include "confdefs.h"
    26492738#include <assert.h>
     
    26512740EOF
    26522741ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2653 { (eval echo configure:2654: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2742{ (eval echo configure:2743: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    26542743ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    26552744if test -z "$ac_err"; then
     
    26632752  cat > conftest.$ac_ext <<EOF
    26642753#include <sys/types.h>
    2665 #line 2666 "configure"
     2754#line 2755 "configure"
    26662755#include "confdefs.h"
    26672756#include <assert.h>
     
    26692758EOF
    26702759ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2671 { (eval echo configure:2672: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2760{ (eval echo configure:2761: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    26722761ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    26732762if test -z "$ac_err"; then
     
    26812770  cat > conftest.$ac_ext <<EOF
    26822771#include <sys/types.h>
    2683 #line 2684 "configure"
     2772#line 2773 "configure"
    26842773#include "confdefs.h"
    26852774#include <assert.h>
     
    26872776EOF
    26882777ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2689 { (eval echo configure:2690: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2778{ (eval echo configure:2779: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    26902779ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    26912780if test -z "$ac_err"; then
     
    27122801
    27132802echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
    2714 echo "configure:2715: checking for ANSI C header files" >&5
     2803echo "configure:2804: checking for ANSI C header files" >&5
    27152804if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
    27162805  echo $ac_n "(cached) $ac_c" 1>&6
     
    27182807  cat > conftest.$ac_ext <<EOF
    27192808#include <sys/types.h>
    2720 #line 2721 "configure"
     2809#line 2810 "configure"
    27212810#include "confdefs.h"
    27222811#include <stdlib.h>
     
    27262815EOF
    27272816ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2728 { (eval echo configure:2729: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2817{ (eval echo configure:2818: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    27292818ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    27302819if test -z "$ac_err"; then
     
    27432832  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    27442833cat > conftest.$ac_ext <<EOF
    2745 #line 2746 "configure"
     2834#line 2835 "configure"
    27462835#include "confdefs.h"
    27472836#include <string.h>
     
    27612850  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    27622851cat > conftest.$ac_ext <<EOF
    2763 #line 2764 "configure"
     2852#line 2853 "configure"
    27642853#include "confdefs.h"
    27652854#include <stdlib.h>
     
    27822871else
    27832872  cat > conftest.$ac_ext <<EOF
    2784 #line 2785 "configure"
     2873#line 2874 "configure"
    27852874#include "confdefs.h"
    27862875#include <ctype.h>
     
    27932882
    27942883EOF
    2795 if { (eval echo configure:2796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     2884if { (eval echo configure:2885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    27962885then
    27972886  :
     
    28192908do
    28202909echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    2821 echo "configure:2822: checking for $ac_func" >&5
     2910echo "configure:2911: checking for $ac_func" >&5
    28222911if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    28232912  echo $ac_n "(cached) $ac_c" 1>&6
    28242913else
    28252914  cat > conftest.$ac_ext <<EOF
    2826 #line 2827 "configure"
     2915#line 2916 "configure"
    28272916#include "confdefs.h"
    28282917/* System header to define __stub macros and hopefully few prototypes,
     
    28472936; return 0; }
    28482937EOF
    2849 if { (eval echo configure:2850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2938if { (eval echo configure:2939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    28502939  rm -rf conftest*
    28512940  eval "ac_cv_func_$ac_func=yes"
     
    28742963# for constant arguments.  Useless!
    28752964echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
    2876 echo "configure:2877: checking for working alloca.h" >&5
     2965echo "configure:2966: checking for working alloca.h" >&5
    28772966if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
    28782967  echo $ac_n "(cached) $ac_c" 1>&6
    28792968else
    28802969  cat > conftest.$ac_ext <<EOF
    2881 #line 2882 "configure"
     2970#line 2971 "configure"
    28822971#include "confdefs.h"
    28832972#include <alloca.h>
     
    28862975; return 0; }
    28872976EOF
    2888 if { (eval echo configure:2889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2977if { (eval echo configure:2978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    28892978  rm -rf conftest*
    28902979  ac_cv_header_alloca_h=yes
     
    29072996
    29082997echo $ac_n "checking for alloca""... $ac_c" 1>&6
    2909 echo "configure:2910: checking for alloca" >&5
     2998echo "configure:2999: checking for alloca" >&5
    29102999if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
    29113000  echo $ac_n "(cached) $ac_c" 1>&6
    29123001else
    29133002  cat > conftest.$ac_ext <<EOF
    2914 #line 2915 "configure"
     3003#line 3004 "configure"
    29153004#include "confdefs.h"
    29163005
     
    29403029; return 0; }
    29413030EOF
    2942 if { (eval echo configure:2943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3031if { (eval echo configure:3032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    29433032  rm -rf conftest*
    29443033  ac_cv_func_alloca_works=yes
     
    29723061
    29733062echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
    2974 echo "configure:2975: checking whether alloca needs Cray hooks" >&5
     3063echo "configure:3064: checking whether alloca needs Cray hooks" >&5
    29753064if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
    29763065  echo $ac_n "(cached) $ac_c" 1>&6
    29773066else
    29783067  cat > conftest.$ac_ext <<EOF
    2979 #line 2980 "configure"
     3068#line 3069 "configure"
    29803069#include "confdefs.h"
    29813070#if defined(CRAY) && ! defined(CRAY2)
     
    30023091for ac_func in _getb67 GETB67 getb67; do
    30033092  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    3004 echo "configure:3005: checking for $ac_func" >&5
     3093echo "configure:3094: checking for $ac_func" >&5
    30053094if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    30063095  echo $ac_n "(cached) $ac_c" 1>&6
    30073096else
    30083097  cat > conftest.$ac_ext <<EOF
    3009 #line 3010 "configure"
     3098#line 3099 "configure"
    30103099#include "confdefs.h"
    30113100/* System header to define __stub macros and hopefully few prototypes,
     
    30303119; return 0; }
    30313120EOF
    3032 if { (eval echo configure:3033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3121if { (eval echo configure:3122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    30333122  rm -rf conftest*
    30343123  eval "ac_cv_func_$ac_func=yes"
     
    30573146
    30583147echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
    3059 echo "configure:3060: checking stack direction for C alloca" >&5
     3148echo "configure:3149: checking stack direction for C alloca" >&5
    30603149if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
    30613150  echo $ac_n "(cached) $ac_c" 1>&6
     
    30653154else
    30663155  cat > conftest.$ac_ext <<EOF
    3067 #line 3068 "configure"
     3156#line 3157 "configure"
    30683157#include "confdefs.h"
    30693158find_stack_direction ()
     
    30843173}
    30853174EOF
    3086 if { (eval echo configure:3087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3175if { (eval echo configure:3176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    30873176then
    30883177  ac_cv_c_stack_direction=1
     
    31073196
    31083197echo $ac_n "checking size of short""... $ac_c" 1>&6
    3109 echo "configure:3110: checking size of short" >&5
     3198echo "configure:3199: checking size of short" >&5
    31103199if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
    31113200  echo $ac_n "(cached) $ac_c" 1>&6
     
    31133202  for ac_size in 4 8 1 2 16 12  ; do # List sizes in rough order of prevalence.
    31143203  cat > conftest.$ac_ext <<EOF
    3115 #line 3116 "configure"
     3204#line 3205 "configure"
    31163205#include "confdefs.h"
    31173206#include "confdefs.h"
     
    31233212; return 0; }
    31243213EOF
    3125 if { (eval echo configure:3126: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3214if { (eval echo configure:3215: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    31263215  rm -rf conftest*
    31273216  ac_cv_sizeof_short=$ac_size
     
    31463235
    31473236echo $ac_n "checking size of int""... $ac_c" 1>&6
    3148 echo "configure:3149: checking size of int" >&5
     3237echo "configure:3238: checking size of int" >&5
    31493238if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
    31503239  echo $ac_n "(cached) $ac_c" 1>&6
     
    31523241  for ac_size in 4 8 1 2 16 12  ; do # List sizes in rough order of prevalence.
    31533242  cat > conftest.$ac_ext <<EOF
    3154 #line 3155 "configure"
     3243#line 3244 "configure"
    31553244#include "confdefs.h"
    31563245#include "confdefs.h"
     
    31623251; return 0; }
    31633252EOF
    3164 if { (eval echo configure:3165: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3253if { (eval echo configure:3254: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    31653254  rm -rf conftest*
    31663255  ac_cv_sizeof_int=$ac_size
     
    31853274
    31863275echo $ac_n "checking size of long""... $ac_c" 1>&6
    3187 echo "configure:3188: checking size of long" >&5
     3276echo "configure:3277: checking size of long" >&5
    31883277if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
    31893278  echo $ac_n "(cached) $ac_c" 1>&6
     
    31913280  for ac_size in 4 8 1 2 16 12  ; do # List sizes in rough order of prevalence.
    31923281  cat > conftest.$ac_ext <<EOF
    3193 #line 3194 "configure"
     3282#line 3283 "configure"
    31943283#include "confdefs.h"
    31953284#include "confdefs.h"
     
    32013290; return 0; }
    32023291EOF
    3203 if { (eval echo configure:3204: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3292if { (eval echo configure:3293: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    32043293  rm -rf conftest*
    32053294  ac_cv_sizeof_long=$ac_size
     
    32243313
    32253314echo $ac_n "checking size of long long""... $ac_c" 1>&6
    3226 echo "configure:3227: checking size of long long" >&5
     3315echo "configure:3316: checking size of long long" >&5
    32273316if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
    32283317  echo $ac_n "(cached) $ac_c" 1>&6
     
    32303319  for ac_size in 4 8 1 2 16 12  ; do # List sizes in rough order of prevalence.
    32313320  cat > conftest.$ac_ext <<EOF
    3232 #line 3233 "configure"
     3321#line 3322 "configure"
    32333322#include "confdefs.h"
    32343323#include "confdefs.h"
     
    32403329; return 0; }
    32413330EOF
    3242 if { (eval echo configure:3243: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3331if { (eval echo configure:3332: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    32433332  rm -rf conftest*
    32443333  ac_cv_sizeof_long_long=$ac_size
     
    32633352
    32643353echo $ac_n "checking size of float""... $ac_c" 1>&6
    3265 echo "configure:3266: checking size of float" >&5
     3354echo "configure:3355: checking size of float" >&5
    32663355if eval "test \"`echo '$''{'ac_cv_sizeof_float'+set}'`\" = set"; then
    32673356  echo $ac_n "(cached) $ac_c" 1>&6
     
    32693358  for ac_size in 4 8 1 2 16 12  ; do # List sizes in rough order of prevalence.
    32703359  cat > conftest.$ac_ext <<EOF
    3271 #line 3272 "configure"
     3360#line 3361 "configure"
    32723361#include "confdefs.h"
    32733362#include "confdefs.h"
     
    32793368; return 0; }
    32803369EOF
    3281 if { (eval echo configure:3282: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3370if { (eval echo configure:3371: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    32823371  rm -rf conftest*
    32833372  ac_cv_sizeof_float=$ac_size
     
    33023391
    33033392echo $ac_n "checking size of double""... $ac_c" 1>&6
    3304 echo "configure:3305: checking size of double" >&5
     3393echo "configure:3394: checking size of double" >&5
    33053394if eval "test \"`echo '$''{'ac_cv_sizeof_double'+set}'`\" = set"; then
    33063395  echo $ac_n "(cached) $ac_c" 1>&6
     
    33083397  for ac_size in 4 8 1 2 16 12  ; do # List sizes in rough order of prevalence.
    33093398  cat > conftest.$ac_ext <<EOF
    3310 #line 3311 "configure"
     3399#line 3400 "configure"
    33113400#include "confdefs.h"
    33123401#include "confdefs.h"
     
    33183407; return 0; }
    33193408EOF
    3320 if { (eval echo configure:3321: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3409if { (eval echo configure:3410: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    33213410  rm -rf conftest*
    33223411  ac_cv_sizeof_double=$ac_size
     
    33413430
    33423431echo $ac_n "checking size of long double""... $ac_c" 1>&6
    3343 echo "configure:3344: checking size of long double" >&5
     3432echo "configure:3433: checking size of long double" >&5
    33443433if eval "test \"`echo '$''{'ac_cv_sizeof_long_double'+set}'`\" = set"; then
    33453434  echo $ac_n "(cached) $ac_c" 1>&6
     
    33473436  for ac_size in 4 8 1 2 16 12  ; do # List sizes in rough order of prevalence.
    33483437  cat > conftest.$ac_ext <<EOF
    3349 #line 3350 "configure"
     3438#line 3439 "configure"
    33503439#include "confdefs.h"
    33513440#include "confdefs.h"
     
    33573446; return 0; }
    33583447EOF
    3359 if { (eval echo configure:3360: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3448if { (eval echo configure:3449: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    33603449  rm -rf conftest*
    33613450  ac_cv_sizeof_long_double=$ac_size
     
    33813470
    33823471echo $ac_n "checking size of void *""... $ac_c" 1>&6
    3383 echo "configure:3384: checking size of void *" >&5
     3472echo "configure:3473: checking size of void *" >&5
    33843473if eval "test \"`echo '$''{'ac_cv_sizeof_void_p'+set}'`\" = set"; then
    33853474  echo $ac_n "(cached) $ac_c" 1>&6
     
    33873476  for ac_size in 4 8 1 2 16 12  ; do # List sizes in rough order of prevalence.
    33883477  cat > conftest.$ac_ext <<EOF
    3389 #line 3390 "configure"
     3478#line 3479 "configure"
    33903479#include "confdefs.h"
    33913480#include "confdefs.h"
     
    33973486; return 0; }
    33983487EOF
    3399 if { (eval echo configure:3400: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3488if { (eval echo configure:3489: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    34003489  rm -rf conftest*
    34013490  ac_cv_sizeof_void_p=$ac_size
     
    34203509
    34213510echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
    3422 echo "configure:3423: checking whether byte ordering is bigendian" >&5
     3511echo "configure:3512: checking whether byte ordering is bigendian" >&5
    34233512if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
    34243513  echo $ac_n "(cached) $ac_c" 1>&6
     
    34273516# See if sys/param.h defines the BYTE_ORDER macro.
    34283517cat > conftest.$ac_ext <<EOF
    3429 #line 3430 "configure"
     3518#line 3519 "configure"
    34303519#include "confdefs.h"
    34313520#include <sys/types.h>
     
    34383527; return 0; }
    34393528EOF
    3440 if { (eval echo configure:3441: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3529if { (eval echo configure:3530: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    34413530  rm -rf conftest*
    34423531  # It does; now see whether it defined to BIG_ENDIAN or not.
    34433532cat > conftest.$ac_ext <<EOF
    3444 #line 3445 "configure"
     3533#line 3534 "configure"
    34453534#include "confdefs.h"
    34463535#include <sys/types.h>
     
    34533542; return 0; }
    34543543EOF
    3455 if { (eval echo configure:3456: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3544if { (eval echo configure:3545: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    34563545  rm -rf conftest*
    34573546  ac_cv_c_bigendian=yes
     
    34733562else
    34743563  cat > conftest.$ac_ext <<EOF
    3475 #line 3476 "configure"
     3564#line 3565 "configure"
    34763565#include "confdefs.h"
    34773566main () {
     
    34863575}
    34873576EOF
    3488 if { (eval echo configure:3489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3577if { (eval echo configure:3578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    34893578then
    34903579  ac_cv_c_bigendian=no
     
    35043593if test $ac_cv_c_bigendian = unknown; then
    35053594echo $ac_n "checking to probe for byte ordering""... $ac_c" 1>&6
    3506 echo "configure:3507: checking to probe for byte ordering" >&5
     3595echo "configure:3596: checking to probe for byte ordering" >&5
    35073596
    35083597cat >conftest.c <<EOF
     
    35543643if test x$TARGET = xSPARC; then
    35553644    echo $ac_n "checking assembler and linker support unaligned pc related relocs""... $ac_c" 1>&6
    3556 echo "configure:3557: checking assembler and linker support unaligned pc related relocs" >&5
     3645echo "configure:3646: checking assembler and linker support unaligned pc related relocs" >&5
    35573646if eval "test \"`echo '$''{'libffi_cv_as_sparc_ua_pcrel'+set}'`\" = set"; then
    35583647  echo $ac_n "(cached) $ac_c" 1>&6
     
    35643653        LDFLAGS="$LDFLAGS -shared"
    35653654        cat > conftest.$ac_ext <<EOF
    3566 #line 3567 "configure"
     3655#line 3656 "configure"
    35673656#include "confdefs.h"
    35683657asm (".text; foo: nop; .data; .align 4; .byte 0; .uaword %r_disp32(foo); .text");
     
    35713660; return 0; }
    35723661EOF
    3573 if { (eval echo configure:3574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3662if { (eval echo configure:3663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    35743663  rm -rf conftest*
    35753664  libffi_cv_as_sparc_ua_pcrel=yes
     
    35893678        cat >> confdefs.h <<\EOF
    35903679#define HAVE_AS_SPARC_UA_PCREL 1
     3680EOF
     3681
     3682    fi
     3683
     3684    echo $ac_n "checking assembler .register pseudo-op support""... $ac_c" 1>&6
     3685echo "configure:3686: checking assembler .register pseudo-op support" >&5
     3686if eval "test \"`echo '$''{'libffi_cv_as_register_pseudo_op'+set}'`\" = set"; then
     3687  echo $ac_n "(cached) $ac_c" 1>&6
     3688else
     3689 
     3690       libffi_cv_as_register_pseudo_op=unknown
     3691       # Check if we have .register
     3692       cat > conftest.$ac_ext <<EOF
     3693#line 3694 "configure"
     3694#include "confdefs.h"
     3695asm (".register %g2, #scratch");
     3696int main() {
     3697
     3698; return 0; }
     3699EOF
     3700if { (eval echo configure:3701: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3701  rm -rf conftest*
     3702  libffi_cv_as_register_pseudo_op=yes
     3703else
     3704  echo "configure: failed program was:" >&5
     3705  cat conftest.$ac_ext >&5
     3706  rm -rf conftest*
     3707  libffi_cv_as_register_pseudo_op=no
     3708fi
     3709rm -f conftest*
     3710   
     3711fi
     3712
     3713echo "$ac_t""$libffi_cv_as_register_pseudo_op" 1>&6
     3714    if test "x$libffi_cv_as_register_pseudo_op" = xyes; then
     3715       cat >> confdefs.h <<\EOF
     3716#define HAVE_AS_REGISTER_PSEUDO_OP 1
    35913717EOF
    35923718
     
    38403966s%@MIPS_SGI_TRUE@%$MIPS_SGI_TRUE%g
    38413967s%@MIPS_SGI_FALSE@%$MIPS_SGI_FALSE%g
     3968s%@MIPS_LINUX_TRUE@%$MIPS_LINUX_TRUE%g
     3969s%@MIPS_LINUX_FALSE@%$MIPS_LINUX_FALSE%g
    38423970s%@SPARC_TRUE@%$SPARC_TRUE%g
    38433971s%@SPARC_FALSE@%$SPARC_FALSE%g
     
    38603988s%@ARM_TRUE@%$ARM_TRUE%g
    38613989s%@ARM_FALSE@%$ARM_FALSE%g
     3990s%@S390_TRUE@%$S390_TRUE%g
     3991s%@S390_FALSE@%$S390_FALSE%g
     3992s%@X86_64_TRUE@%$X86_64_TRUE%g
     3993s%@X86_64_FALSE@%$X86_64_FALSE%g
     3994s%@SH_TRUE@%$SH_TRUE%g
     3995s%@SH_FALSE@%$SH_FALSE%g
    38623996s%@CPP@%$CPP%g
    38633997s%@ALLOCA@%$ALLOCA%g
     
    40884222CC="${CC}"
    40894223DEFS="$DEFS"
     4224ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}"
    40904225test ! -d include && mkdir include
    40914226test ! -f include/fficonfig.h && cp fficonfig.h include/fficonfig.h
     
    41034238if test -n "$CONFIG_FILES"; then
    41044239   LD="${ORIGINAL_LD_FOR_MULTILIBS}"
    4105    ac_file=Makefile . ${libffi_basedir}/../config-ml.in
     4240   ac_file=Makefile . ${srcdir}/${libffi_basedir}../config-ml.in
    41064241fi
    41074242
Note: See TracChangeset for help on using the changeset viewer.