/[rtmk]/rtmk/i386/configure
ViewVC logotype

Diff of /rtmk/i386/configure

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.1.1 by jrydberg, Fri Dec 7 02:06:15 2001 UTC revision 1.2 by jrydberg, Fri Jan 4 23:58:32 2002 UTC
# Line 12  ac_help= Line 12  ac_help=
12  ac_default_prefix=/usr/local  ac_default_prefix=/usr/local
13  # Any additions from configure.in:  # Any additions from configure.in:
14  ac_help="$ac_help  ac_help="$ac_help
   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]"  
 ac_help="$ac_help  
15    --with-smp=NCPUS        add SMP support.  NCPUS is maximum number of cpus"    --with-smp=NCPUS        add SMP support.  NCPUS is maximum number of cpus"
16    
17  # Initialize some variables set by options.  # Initialize some variables set by options.
# Line 556  ac_configure=$ac_aux_dir/configure # Thi Line 554  ac_configure=$ac_aux_dir/configure # Thi
554  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
555  # ./install, which can be erroneously created by make from ./install.sh.  # ./install, which can be erroneously created by make from ./install.sh.
556  echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6  echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
557  echo "configure:560: checking for a BSD compatible install" >&5  echo "configure:558: checking for a BSD compatible install" >&5
558  if test -z "$INSTALL"; then  if test -z "$INSTALL"; then
559  if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
560    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 609  test -z "$INSTALL_SCRIPT" && INSTALL_SCR Line 607  test -z "$INSTALL_SCRIPT" && INSTALL_SCR
607  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
608    
609  echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6  echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
610  echo "configure:613: checking whether build environment is sane" >&5  echo "configure:611: checking whether build environment is sane" >&5
611  # Just in case  # Just in case
612  sleep 1  sleep 1
613  echo timestamp > conftestfile  echo timestamp > conftestfile
# Line 666  test "$program_suffix" != NONE && Line 664  test "$program_suffix" != NONE &&
664  test "$program_transform_name" = "" && program_transform_name="s,x,x,"  test "$program_transform_name" = "" && program_transform_name="s,x,x,"
665    
666  echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6  echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
667  echo "configure:670: checking whether ${MAKE-make} sets \${MAKE}" >&5  echo "configure:668: checking whether ${MAKE-make} sets \${MAKE}" >&5
668  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
669  if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
670    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 712  EOF Line 710  EOF
710    
711  missing_dir=`cd $ac_aux_dir && pwd`  missing_dir=`cd $ac_aux_dir && pwd`
712  echo $ac_n "checking for working aclocal""... $ac_c" 1>&6  echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
713  echo "configure:716: checking for working aclocal" >&5  echo "configure:714: checking for working aclocal" >&5
714  # Run test in a subshell; some versions of sh will print an error if  # Run test in a subshell; some versions of sh will print an error if
715  # an executable is not found, even if stderr is redirected.  # an executable is not found, even if stderr is redirected.
716  # Redirect stdin to placate older versions of autoconf.  Sigh.  # Redirect stdin to placate older versions of autoconf.  Sigh.
# Line 725  else Line 723  else
723  fi  fi
724    
725  echo $ac_n "checking for working autoconf""... $ac_c" 1>&6  echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
726  echo "configure:729: checking for working autoconf" >&5  echo "configure:727: checking for working autoconf" >&5
727  # Run test in a subshell; some versions of sh will print an error if  # Run test in a subshell; some versions of sh will print an error if
728  # an executable is not found, even if stderr is redirected.  # an executable is not found, even if stderr is redirected.
729  # Redirect stdin to placate older versions of autoconf.  Sigh.  # Redirect stdin to placate older versions of autoconf.  Sigh.
# Line 738  else Line 736  else
736  fi  fi
737    
738  echo $ac_n "checking for working automake""... $ac_c" 1>&6  echo $ac_n "checking for working automake""... $ac_c" 1>&6
739  echo "configure:742: checking for working automake" >&5  echo "configure:740: checking for working automake" >&5
740  # Run test in a subshell; some versions of sh will print an error if  # Run test in a subshell; some versions of sh will print an error if
741  # an executable is not found, even if stderr is redirected.  # an executable is not found, even if stderr is redirected.
742  # Redirect stdin to placate older versions of autoconf.  Sigh.  # Redirect stdin to placate older versions of autoconf.  Sigh.
# Line 751  else Line 749  else
749  fi  fi
750    
751  echo $ac_n "checking for working autoheader""... $ac_c" 1>&6  echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
752  echo "configure:755: checking for working autoheader" >&5  echo "configure:753: checking for working autoheader" >&5
753  # Run test in a subshell; some versions of sh will print an error if  # Run test in a subshell; some versions of sh will print an error if
754  # an executable is not found, even if stderr is redirected.  # an executable is not found, even if stderr is redirected.
755  # Redirect stdin to placate older versions of autoconf.  Sigh.  # Redirect stdin to placate older versions of autoconf.  Sigh.
# Line 764  else Line 762  else
762  fi  fi
763    
764  echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6  echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
765  echo "configure:768: checking for working makeinfo" >&5  echo "configure:766: checking for working makeinfo" >&5
766  # Run test in a subshell; some versions of sh will print an error if  # Run test in a subshell; some versions of sh will print an error if
767  # an executable is not found, even if stderr is redirected.  # an executable is not found, even if stderr is redirected.
768  # Redirect stdin to placate older versions of autoconf.  Sigh.  # Redirect stdin to placate older versions of autoconf.  Sigh.
# Line 781  fi Line 779  fi
779  # Extract the first word of "gcc", so it can be a program name with args.  # Extract the first word of "gcc", so it can be a program name with args.
780  set dummy gcc; ac_word=$2  set dummy gcc; ac_word=$2
781  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
782  echo "configure:785: checking for $ac_word" >&5  echo "configure:783: checking for $ac_word" >&5
783  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
784    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
785  else  else
# Line 811  if test -z "$CC"; then Line 809  if test -z "$CC"; then
809    # Extract the first word of "cc", so it can be a program name with args.    # Extract the first word of "cc", so it can be a program name with args.
810  set dummy cc; ac_word=$2  set dummy cc; ac_word=$2
811  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
812  echo "configure:815: checking for $ac_word" >&5  echo "configure:813: checking for $ac_word" >&5
813  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
814    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
815  else  else
# Line 856  else Line 854  else
854    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
855  fi  fi
856    
   if test -z "$CC"; then  
     case "`uname -s`" in  
     *win32* | *WIN32*)  
       # Extract the first word of "cl", so it can be a program name with args.  
 set dummy cl; ac_word=$2  
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  
 echo "configure:866: checking for $ac_word" >&5  
 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   if test -n "$CC"; then  
   ac_cv_prog_CC="$CC" # Let the user override the test.  
 else  
   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"  
   ac_dummy="$PATH"  
   for ac_dir in $ac_dummy; do  
     test -z "$ac_dir" && ac_dir=.  
     if test -f $ac_dir/$ac_word; then  
       ac_cv_prog_CC="cl"  
       break  
     fi  
   done  
   IFS="$ac_save_ifs"  
 fi  
 fi  
 CC="$ac_cv_prog_CC"  
 if test -n "$CC"; then  
   echo "$ac_t""$CC" 1>&6  
 else  
   echo "$ac_t""no" 1>&6  
 fi  
  ;;  
     esac  
   fi  
857    test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }    test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
858  fi  fi
859    
860  echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6  echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
861  echo "configure:898: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5  echo "configure:862: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
862    
863  ac_ext=c  ac_ext=c
864  # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.  # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
# Line 905  cross_compiling=$ac_cv_prog_cc_cross Line 869  cross_compiling=$ac_cv_prog_cc_cross
869    
870  cat > conftest.$ac_ext << EOF  cat > conftest.$ac_ext << EOF
871    
872  #line 909 "configure"  #line 873 "configure"
873  #include "confdefs.h"  #include "confdefs.h"
874    
875  main(){return(0);}  main(){return(0);}
876  EOF  EOF
877  if { (eval echo configure:914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
878    ac_cv_prog_cc_works=yes    ac_cv_prog_cc_works=yes
879    # If we can't run a trivial program, we are probably using a cross compiler.    # If we can't run a trivial program, we are probably using a cross compiler.
880    if (./conftest; exit) 2>/dev/null; then    if (./conftest; exit) 2>/dev/null; then
# Line 933  cross_compiling=$ac_cv_prog_cc_cross Line 897  cross_compiling=$ac_cv_prog_cc_cross
897    
898  echo "$ac_t""$ac_cv_prog_cc_works" 1>&6  echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
899  if test $ac_cv_prog_cc_works = no; then  if test $ac_cv_prog_cc_works = no; then
900    { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }   cross_linkable=no
901     ac_cv_prog_cc_cross=yes
902     # AC_MSG_ERROR([installation or configuration problem: C compiler cannot create executables.])
903    else
904     cross_linkable=yes
905  fi  fi
906  echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6  echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
907  echo "configure:940: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5  echo "configure:908: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
908  echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6  echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
909    
910  cross_compiling=$ac_cv_prog_cc_cross  cross_compiling=$ac_cv_prog_cc_cross
911    
912  echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6  echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
913  echo "configure:945: checking whether we are using GNU C" >&5  echo "configure:914: checking whether we are using GNU C" >&5
914  if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
915    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
916  else  else
# Line 950  else Line 919  else
919    yes;    yes;
920  #endif  #endif
921  EOF  EOF
922  if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:954: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then  if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:923: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
923    ac_cv_prog_gcc=yes    ac_cv_prog_gcc=yes
924  else  else
925    ac_cv_prog_gcc=no    ac_cv_prog_gcc=no
# Line 961  echo "$ac_t""$ac_cv_prog_gcc" 1>&6 Line 930  echo "$ac_t""$ac_cv_prog_gcc" 1>&6
930    
931  if test $ac_cv_prog_gcc = yes; then  if test $ac_cv_prog_gcc = yes; then
932    GCC=yes    GCC=yes
933  else    ac_test_CFLAGS="${CFLAGS+set}"
934    GCC=    ac_save_CFLAGS="$CFLAGS"
935  fi    CFLAGS=
936      if test "$ac_test_CFLAGS" = set; then
937  ac_test_CFLAGS="${CFLAGS+set}"      CFLAGS="$ac_save_CFLAGS"
 ac_save_CFLAGS="$CFLAGS"  
 CFLAGS=  
 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6  
 echo "configure:973: checking whether ${CC-cc} accepts -g" >&5  
 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   echo 'void f(){}' > conftest.c  
 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then  
   ac_cv_prog_cc_g=yes  
 else  
   ac_cv_prog_cc_g=no  
 fi  
 rm -f conftest*  
   
 fi  
   
 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6  
 if test "$ac_test_CFLAGS" = set; then  
   CFLAGS="$ac_save_CFLAGS"  
 elif test $ac_cv_prog_cc_g = yes; then  
   if test "$GCC" = yes; then  
     CFLAGS="-g -O2"  
938    else    else
939      CFLAGS="-g"      # Add "-O" to both the CC and CPP commands, to eliminate possible confusion
940        # that results from __OPTIMIZE__ being defined for CC but not CPP.
941        if echo "$CC " | grep ' -O[1-9 ]' > /dev/null 2>&1; then
942          : # already optimizing
943        else
944          CC="$CC -O3 -g"
945          ac_cv_prog_CC="$CC"
946        fi
947    fi    fi
948  else  else
949    if test "$GCC" = yes; then    GCC=
     CFLAGS="-O2"  
   else  
     CFLAGS=  
   fi  
950  fi  fi
951    
952    
# Line 1008  fi Line 957  fi
957      msg="for C compiler warning and ANSI conformance flags"      msg="for C compiler warning and ANSI conformance flags"
958    fi    fi
959    echo $ac_n "checking $msg""... $ac_c" 1>&6    echo $ac_n "checking $msg""... $ac_c" 1>&6
960  echo "configure:1012: checking $msg" >&5  echo "configure:961: checking $msg" >&5
961  if eval "test \"`echo '$''{'ac_cv_prog_cc_warnings'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_cc_warnings'+set}'`\" = set"; then
962    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
963  else  else
# Line 1090  else { echo "configure: error: can not r Line 1039  else { echo "configure: error: can not r
1039  fi  fi
1040    
1041  echo $ac_n "checking host system type""... $ac_c" 1>&6  echo $ac_n "checking host system type""... $ac_c" 1>&6
1042  echo "configure:1094: checking host system type" >&5  echo "configure:1043: checking host system type" >&5
1043    
1044  host_alias=$host  host_alias=$host
1045  case "$host_alias" in  case "$host_alias" in
# Line 1111  host_os=`echo $host | sed 's/^\([^-]*\)- Line 1060  host_os=`echo $host | sed 's/^\([^-]*\)-
1060  echo "$ac_t""$host" 1>&6  echo "$ac_t""$host" 1>&6
1061    
1062  echo $ac_n "checking build system type""... $ac_c" 1>&6  echo $ac_n "checking build system type""... $ac_c" 1>&6
1063  echo "configure:1115: checking build system type" >&5  echo "configure:1064: checking build system type" >&5
1064    
1065  build_alias=$build  build_alias=$build
1066  case "$build_alias" in  case "$build_alias" in
# Line 1128  build_vendor=`echo $build | sed 's/^\([^ Line 1077  build_vendor=`echo $build | sed 's/^\([^
1077  build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`  build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1078  echo "$ac_t""$build" 1>&6  echo "$ac_t""$build" 1>&6
1079    
1080  # Check whether --with-gnu-ld or --without-gnu-ld was given.  if test $host != $build; then
1081  if test "${with_gnu_ld+set}" = set; then    ac_tool_prefix=${host_alias}-
   withval="$with_gnu_ld"  
   test "$withval" = no || with_gnu_ld=yes  
 else  
   with_gnu_ld=no  
 fi  
   
 ac_prog=ld  
 if test "$GCC" = yes; then  
   # Check if gcc -print-prog-name=ld gives a path.  
   echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6  
 echo "configure:1144: checking for ld used by GCC" >&5  
   case $host in  
   *-*-mingw*)  
     # gcc leaves a trailing carriage return which upsets mingw  
     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;  
   *)  
     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;  
   esac  
   case $ac_prog in  
     # Accept absolute paths.  
     [\\/]* | [A-Za-z]:[\\/]*)  
       re_direlt='/[^/][^/]*/\.\./'  
       # Canonicalize the path of ld  
       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`  
       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do  
         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`  
       done  
       test -z "$LD" && LD="$ac_prog"  
       ;;  
   "")  
     # If it fails, then pretend we aren't using GCC.  
     ac_prog=ld  
     ;;  
   *)  
     # If it is relative, then search for the first ld in PATH.  
     with_gnu_ld=unknown  
     ;;  
   esac  
 elif test "$with_gnu_ld" = yes; then  
   echo $ac_n "checking for GNU ld""... $ac_c" 1>&6  
 echo "configure:1174: checking for GNU ld" >&5  
1082  else  else
1083    echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6    ac_tool_prefix=
 echo "configure:1177: checking for non-GNU ld" >&5  
1084  fi  fi
1085  if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then  
1086    # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
1087    set dummy ${ac_tool_prefix}ld; ac_word=$2
1088    echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1089    echo "configure:1090: checking for $ac_word" >&5
1090    if eval "test \"`echo '$''{'ac_cv_prog_LD'+set}'`\" = set"; then
1091    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1092  else  else
1093    if test -z "$LD"; then    if test -n "$LD"; then
1094    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"    ac_cv_prog_LD="$LD" # Let the user override the test.
1095    for ac_dir in $PATH; do  else
1096      IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1097      ac_dummy="$PATH"
1098      for ac_dir in $ac_dummy; do
1099      test -z "$ac_dir" && ac_dir=.      test -z "$ac_dir" && ac_dir=.
1100      if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then      if test -f $ac_dir/$ac_word; then
1101        lt_cv_path_LD="$ac_dir/$ac_prog"        ac_cv_prog_LD="${ac_tool_prefix}ld"
1102        # Check to see if the program is GNU ld.  I'd rather use --version,        break
       # but apparently some GNU ld's only accept -v.  
       # Break only if it was the GNU/non-GNU ld that we prefer.  
       if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then  
         test "$with_gnu_ld" != no && break  
       else  
         test "$with_gnu_ld" != yes && break  
       fi  
1103      fi      fi
1104    done    done
1105    IFS="$ac_save_ifs"    IFS="$ac_save_ifs"
1106  else    test -z "$ac_cv_prog_LD" && ac_cv_prog_LD="ld"
   lt_cv_path_LD="$LD" # Let the user override the test with a path.  
1107  fi  fi
1108  fi  fi
1109    LD="$ac_cv_prog_LD"
 LD="$lt_cv_path_LD"  
1110  if test -n "$LD"; then  if test -n "$LD"; then
1111    echo "$ac_t""$LD" 1>&6    echo "$ac_t""$LD" 1>&6
1112  else  else
1113    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
1114  fi  fi
 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }  
 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6  
 echo "configure:1212: checking if the linker ($LD) is GNU ld" >&5  
 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   # I'd rather use --version here, but apparently some GNU ld's only accept -v.  
 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then  
   lt_cv_prog_gnu_ld=yes  
 else  
   lt_cv_prog_gnu_ld=no  
 fi  
 fi  
1115    
 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6  
 with_gnu_ld=$lt_cv_prog_gnu_ld  
1116    
1117    
1118  # Extract the first word of "ranlib", so it can be a program name with args.  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1119  set dummy ranlib; ac_word=$2  set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1120  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1121  echo "configure:1231: checking for $ac_word" >&5  echo "configure:1122: checking for $ac_word" >&5
1122  if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1123    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1124  else  else
# Line 1239  else Line 1130  else
1130    for ac_dir in $ac_dummy; do    for ac_dir in $ac_dummy; do
1131      test -z "$ac_dir" && ac_dir=.      test -z "$ac_dir" && ac_dir=.
1132      if test -f $ac_dir/$ac_word; then      if test -f $ac_dir/$ac_word; then
1133        ac_cv_prog_RANLIB="ranlib"        ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1134        break        break
1135      fi      fi
1136    done    done
1137    IFS="$ac_save_ifs"    IFS="$ac_save_ifs"
1138    test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"    test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="ranlib"
1139  fi  fi
1140  fi  fi
1141  RANLIB="$ac_cv_prog_RANLIB"  RANLIB="$ac_cv_prog_RANLIB"
# Line 1255  else Line 1146  else
1146  fi  fi
1147    
1148    
1149    
1150    
1151  # Check whether --with-smp or --without-smp was given.  # Check whether --with-smp or --without-smp was given.
1152  if test "${with_smp+set}" = set; then  if test "${with_smp+set}" = set; then
1153    withval="$with_smp"    withval="$with_smp"
# Line 1268  EOF Line 1161  EOF
1161  fi  fi
1162    
1163    
 echo $ac_n "checking for object suffix""... $ac_c" 1>&6  
 echo "configure:1273: checking for object suffix" >&5  
 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   rm -f conftest*  
 echo 'int i = 1;' > conftest.$ac_ext  
 if { (eval echo configure:1279: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  
   for ac_file in conftest.*; do  
     case $ac_file in  
     *.c) ;;  
     *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;  
     esac  
   done  
 else  
   { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }  
 fi  
 rm -f conftest*  
 fi  
   
 echo "$ac_t""$ac_cv_objext" 1>&6  
 OBJEXT=$ac_cv_objext  
 ac_objext=$ac_cv_objext  
   
 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6  
 echo "configure:1297: checking for Cygwin environment" >&5  
 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   cat > conftest.$ac_ext <<EOF  
 #line 1302 "configure"  
 #include "confdefs.h"  
   
 int main() {  
   
 #ifndef __CYGWIN__  
 #define __CYGWIN__ __CYGWIN32__  
 #endif  
 return __CYGWIN__;  
 ; return 0; }  
 EOF  
 if { (eval echo configure:1313: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  
   rm -rf conftest*  
   ac_cv_cygwin=yes  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   ac_cv_cygwin=no  
 fi  
 rm -f conftest*  
 rm -f conftest*  
 fi  
   
 echo "$ac_t""$ac_cv_cygwin" 1>&6  
 CYGWIN=  
 test "$ac_cv_cygwin" = yes && CYGWIN=yes  
 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6  
 echo "configure:1330: checking for mingw32 environment" >&5  
 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   cat > conftest.$ac_ext <<EOF  
 #line 1335 "configure"  
 #include "confdefs.h"  
   
 int main() {  
 return __MINGW32__;  
 ; return 0; }  
 EOF  
 if { (eval echo configure:1342: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  
   rm -rf conftest*  
   ac_cv_mingw32=yes  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   ac_cv_mingw32=no  
 fi  
 rm -f conftest*  
 rm -f conftest*  
 fi  
   
 echo "$ac_t""$ac_cv_mingw32" 1>&6  
 MINGW32=  
 test "$ac_cv_mingw32" = yes && MINGW32=yes  
   
   
 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6  
 echo "configure:1361: checking for executable suffix" >&5  
 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   if test "$CYGWIN" = yes || test "$MINGW32" = yes; then  
   ac_cv_exeext=.exe  
 else  
   rm -f conftest*  
   echo 'int main () { return 0; }' > conftest.$ac_ext  
   ac_cv_exeext=  
   if { (eval echo configure:1371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then  
     for file in conftest.*; do  
       case $file in  
       *.c | *.o | *.obj) ;;  
       *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;  
       esac  
     done  
   else  
     { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }  
   fi  
   rm -f conftest*  
   test x"${ac_cv_exeext}" = x && ac_cv_exeext=no  
 fi  
 fi  
   
 EXEEXT=""  
 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}  
 echo "$ac_t""${ac_cv_exeext}" 1>&6  
 ac_exeext=$EXEEXT  
   
1164    
1165  trap '' 1 2 15  trap '' 1 2 15
1166  cat > confcache <<\EOF  cat > confcache <<\EOF
# Line 1545  s%@AUTOHEADER@%$AUTOHEADER%g Line 1319  s%@AUTOHEADER@%$AUTOHEADER%g
1319  s%@MAKEINFO@%$MAKEINFO%g  s%@MAKEINFO@%$MAKEINFO%g
1320  s%@SET_MAKE@%$SET_MAKE%g  s%@SET_MAKE@%$SET_MAKE%g
1321  s%@CC@%$CC%g  s%@CC@%$CC%g
1322    s%@cross_linkable@%$cross_linkable%g
1323  s%@host@%$host%g  s%@host@%$host%g
1324  s%@host_alias@%$host_alias%g  s%@host_alias@%$host_alias%g
1325  s%@host_cpu@%$host_cpu%g  s%@host_cpu@%$host_cpu%g
# Line 1555  s%@build_alias@%$build_alias%g Line 1330  s%@build_alias@%$build_alias%g
1330  s%@build_cpu@%$build_cpu%g  s%@build_cpu@%$build_cpu%g
1331  s%@build_vendor@%$build_vendor%g  s%@build_vendor@%$build_vendor%g
1332  s%@build_os@%$build_os%g  s%@build_os@%$build_os%g
1333    s%@LD@%$LD%g
1334  s%@RANLIB@%$RANLIB%g  s%@RANLIB@%$RANLIB%g
 s%@OBJEXT@%$OBJEXT%g  
 s%@EXEEXT@%$EXEEXT%g  
1335    
1336  CEOF  CEOF
1337  EOF  EOF

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26