Changeset 80 for trunk/src/gcc/libf2c


Ignore:
Timestamp:
May 2, 2003, 12:30:43 PM (22 years ago)
Author:
bird
Message:

Regenerated configure on OS/2.

Location:
trunk/src/gcc/libf2c
Files:
4 edited

Legend:

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

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r79 r80  
    542542fi
    543543
     544echo $ac_n "checking for path separator""... $ac_c" 1>&6
     545echo "configure:546: checking for path separator" >&5
     546# Filter path to get backslahes into forwardslashes
     547case "`uname -s 2> /dev/null`" in
     548OS/2)
     549  PATH=`echo -E "$PATH" | sed 's+\\\\+/+g'`
     550  PATH_IFS=';'
     551  ;;
     552*)
     553  PATH_IFS=':'
     554  ;;
     555esac
     556echo "$ac_t""${PATH_IFS}" 1>&6
     557
     558echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
     559echo "configure:560: checking for Cygwin environment" >&5
     560if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
     561  echo $ac_n "(cached) $ac_c" 1>&6
     562else
     563  cat > conftest.$ac_ext <<EOF
     564#line 565 "configure"
     565#include "confdefs.h"
     566
     567int main() {
     568
     569#ifndef __CYGWIN__
     570#define __CYGWIN__ __CYGWIN32__
     571#endif
     572return __CYGWIN__;
     573; return 0; }
     574EOF
     575if { (eval echo configure:576: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     576  rm -rf conftest*
     577  ac_cv_cygwin=yes
     578else
     579  echo "configure: failed program was:" >&5
     580  cat conftest.$ac_ext >&5
     581  rm -rf conftest*
     582  ac_cv_cygwin=no
     583fi
     584rm -f conftest*
     585rm -f conftest*
     586fi
     587
     588echo "$ac_t""$ac_cv_cygwin" 1>&6
     589CYGWIN=
     590test "$ac_cv_cygwin" = yes && CYGWIN=yes
     591echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
     592echo "configure:593: checking for mingw32 environment" >&5
     593if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
     594  echo $ac_n "(cached) $ac_c" 1>&6
     595else
     596  cat > conftest.$ac_ext <<EOF
     597#line 598 "configure"
     598#include "confdefs.h"
     599
     600int main() {
     601return __MINGW32__;
     602; return 0; }
     603EOF
     604if { (eval echo configure:605: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     605  rm -rf conftest*
     606  ac_cv_mingw32=yes
     607else
     608  echo "configure: failed program was:" >&5
     609  cat conftest.$ac_ext >&5
     610  rm -rf conftest*
     611  ac_cv_mingw32=no
     612fi
     613rm -f conftest*
     614rm -f conftest*
     615fi
     616
     617echo "$ac_t""$ac_cv_mingw32" 1>&6
     618MINGW32=
     619test "$ac_cv_mingw32" = yes && MINGW32=yes
     620echo $ac_n "checking for EMX/OS2 environment""... $ac_c" 1>&6
     621echo "configure:622: checking for EMX/OS2 environment" >&5
     622if eval "test \"`echo '$''{'ac_cv_emxos2'+set}'`\" = set"; then
     623  echo $ac_n "(cached) $ac_c" 1>&6
     624else
     625  : ${CC=gcc.exe}
     626cat > conftest.$ac_ext <<EOF
     627#line 628 "configure"
     628#include "confdefs.h"
     629
     630int main() {
     631return __EMX__;
     632; return 0; }
     633EOF
     634if { (eval echo configure:635: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     635  rm -rf conftest*
     636  ac_cv_emxos2=yes
     637else
     638  echo "configure: failed program was:" >&5
     639  cat conftest.$ac_ext >&5
     640  rm -rf conftest*
     641  ac_cv_emxos2=no
     642fi
     643rm -f conftest*
     644rm -f conftest*
     645fi
     646
     647echo "$ac_t""$ac_cv_emxos2" 1>&6
     648if eval "test \"`echo '$''{'ac_cv_libpre'+set}'`\" = set"; then
     649  echo $ac_n "(cached) $ac_c" 1>&6
     650else
     651  if test "$ac_cv_emxos2" = yes ; then
     652  ac_cv_libpre=
     653else
     654  ac_cv_libpre=lib
     655fi
     656
     657fi
     658
     659EMXOS2=
     660test "$ac_cv_emxos2" = yes && EMXOS2=yes
     661
     662
     663
     664echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
     665echo "configure:666: checking for executable suffix" >&5
     666if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
     667  echo $ac_n "(cached) $ac_c" 1>&6
     668else
     669  if test "$CYGWIN" = yes || test "$MINGW32" = yes || test "$EMXOS2" = yes; then
     670  ac_cv_exeext=.exe
     671else
     672  rm -f conftest*
     673  echo 'int main () { return 0; }' > conftest.$ac_ext
     674  ac_cv_exeext=
     675  if { (eval echo configure:676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     676    for file in conftest.*; do
     677      case $file in
     678      *.c | *.o | *.obj) ;;
     679      *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
     680      esac
     681    done
     682  else
     683    { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
     684  fi
     685  rm -f conftest*
     686  test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
     687fi
     688fi
     689
     690EXEEXT=""
     691test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
     692echo "$ac_t""${ac_cv_exeext}" 1>&6
     693ac_exeext=$EXEEXT
     694
    544695
    545696
     
    632783
    633784echo $ac_n "checking host system type""... $ac_c" 1>&6
    634 echo "configure:635: checking host system type" >&5
     785echo "configure:786: checking host system type" >&5
    635786
    636787host_alias=$host
     
    653804
    654805echo $ac_n "checking target system type""... $ac_c" 1>&6
    655 echo "configure:656: checking target system type" >&5
     806echo "configure:807: checking target system type" >&5
    656807
    657808target_alias=$target
     
    671822
    672823echo $ac_n "checking build system type""... $ac_c" 1>&6
    673 echo "configure:674: checking build system type" >&5
     824echo "configure:825: checking build system type" >&5
    674825
    675826build_alias=$build
     
    702853fi
    703854
    704 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
    705 echo "configure:706: checking for Cygwin environment" >&5
    706 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
    707   echo $ac_n "(cached) $ac_c" 1>&6
    708 else
    709   cat > conftest.$ac_ext <<EOF
    710 #line 711 "configure"
    711 #include "confdefs.h"
    712 
    713 int main() {
    714 
    715 #ifndef __CYGWIN__
    716 #define __CYGWIN__ __CYGWIN32__
    717 #endif
    718 return __CYGWIN__;
    719 ; return 0; }
    720 EOF
    721 if { (eval echo configure:722: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    722   rm -rf conftest*
    723   ac_cv_cygwin=yes
    724 else
    725   echo "configure: failed program was:" >&5
    726   cat conftest.$ac_ext >&5
    727   rm -rf conftest*
    728   ac_cv_cygwin=no
    729 fi
    730 rm -f conftest*
    731 rm -f conftest*
    732 fi
    733 
    734 echo "$ac_t""$ac_cv_cygwin" 1>&6
    735 CYGWIN=
    736 test "$ac_cv_cygwin" = yes && CYGWIN=yes
    737 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
    738 echo "configure:739: checking for mingw32 environment" >&5
    739 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
    740   echo $ac_n "(cached) $ac_c" 1>&6
    741 else
    742   cat > conftest.$ac_ext <<EOF
    743 #line 744 "configure"
    744 #include "confdefs.h"
    745 
    746 int main() {
    747 return __MINGW32__;
    748 ; return 0; }
    749 EOF
    750 if { (eval echo configure:751: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    751   rm -rf conftest*
    752   ac_cv_mingw32=yes
    753 else
    754   echo "configure: failed program was:" >&5
    755   cat conftest.$ac_ext >&5
    756   rm -rf conftest*
    757   ac_cv_mingw32=no
    758 fi
    759 rm -f conftest*
    760 rm -f conftest*
    761 fi
    762 
    763 echo "$ac_t""$ac_cv_mingw32" 1>&6
    764 MINGW32=
    765 test "$ac_cv_mingw32" = yes && MINGW32=yes
    766855
    767856# Export build and source directories.
     
    783872#ac_cv_prog_LN_S='cp -p'
    784873echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
    785 echo "configure:786: checking whether ln -s works" >&5
     874echo "configure:875: checking whether ln -s works" >&5
    786875if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
    787876  echo $ac_n "(cached) $ac_c" 1>&6
     
    793882  ac_cv_prog_LN_S="ln -s"
    794883else
    795   ac_cv_prog_LN_S=ln
    796 fi
     884  echo A > conftestdata;
     885  if ln conftestdata conftestdata2 2>/dev/null; then
     886    ac_cv_prog_LN_S=ln
     887  else
     888    ac_cv_prog_LN_S=cp
     889  fi
     890fi
     891rm -f conftestdata*
    797892fi
    798893LN_S="$ac_cv_prog_LN_S"
     
    839934set dummy gcc; ac_word=$2
    840935echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    841 echo "configure:842: checking for $ac_word" >&5
     936echo "configure:937: checking for $ac_word" >&5
    842937if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    843938  echo $ac_n "(cached) $ac_c" 1>&6
     
    846941  ac_cv_prog_CC="$CC" # Let the user override the test.
    847942else
    848   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     943  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    849944  ac_dummy="$PATH"
    850945  for ac_dir in $ac_dummy; do
    851946    test -z "$ac_dir" && ac_dir=.
    852     if test -f $ac_dir/$ac_word; then
     947    if test -f $ac_dir/$ac_word -o \
     948            -f $ac_dir/$ac_word$ac_exeext ; then
    853949      ac_cv_prog_CC="gcc"
    854950      break
     
    869965set dummy cc; ac_word=$2
    870966echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    871 echo "configure:872: checking for $ac_word" >&5
     967echo "configure:968: checking for $ac_word" >&5
    872968if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    873969  echo $ac_n "(cached) $ac_c" 1>&6
     
    876972  ac_cv_prog_CC="$CC" # Let the user override the test.
    877973else
    878   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     974  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    879975  ac_prog_rejected=no
    880976  ac_dummy="$PATH"
    881977  for ac_dir in $ac_dummy; do
    882978    test -z "$ac_dir" && ac_dir=.
    883     if test -f $ac_dir/$ac_word; then
    884       if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
     979    if test -f $ac_dir/$ac_word -o \
     980            -f $ac_dir/$ac_word$ac_exeext ; then
     981      if test "$ac_dir/$ac_word" = "/usr/ucb/cc" -o \
     982               "$ac_dir/$ac_word$ac_exeext" = "/usr/ucb/cc" ; then
    885983        ac_prog_rejected=yes
    886984        continue
     
    9181016
    9191017echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    920 echo "configure:921: checking whether we are using GNU C" >&5
     1018echo "configure:1019: checking whether we are using GNU C" >&5
    9211019if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    9221020  echo $ac_n "(cached) $ac_c" 1>&6
     
    9271025#endif
    9281026EOF
    929 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:930: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     1027if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1028: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    9301028  ac_cv_prog_gcc=yes
    9311029else
     
    9421040  CFLAGS=
    9431041  echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    944 echo "configure:945: checking whether ${CC-cc} accepts -g" >&5
     1042echo "configure:1043: checking whether ${CC-cc} accepts -g" >&5
    9451043if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    9461044  echo $ac_n "(cached) $ac_c" 1>&6
     
    9731071set dummy ${ac_tool_prefix}as; ac_word=$2
    9741072echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    975 echo "configure:976: checking for $ac_word" >&5
     1073echo "configure:1074: checking for $ac_word" >&5
    9761074if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
    9771075  echo $ac_n "(cached) $ac_c" 1>&6
     
    9801078  ac_cv_prog_AS="$AS" # Let the user override the test.
    9811079else
    982   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     1080  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    9831081  ac_dummy="$PATH"
    9841082  for ac_dir in $ac_dummy; do
    9851083    test -z "$ac_dir" && ac_dir=.
    986     if test -f $ac_dir/$ac_word; then
     1084    if test -f $ac_dir/$ac_word -o \
     1085            -f $ac_dir/$ac_word$ac_exeext ; then
    9871086      ac_cv_prog_AS="${ac_tool_prefix}as"
    9881087      break
     
    10051104set dummy ${ac_tool_prefix}ar; ac_word=$2
    10061105echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1007 echo "configure:1008: checking for $ac_word" >&5
     1106echo "configure:1107: checking for $ac_word" >&5
    10081107if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
    10091108  echo $ac_n "(cached) $ac_c" 1>&6
     
    10121111  ac_cv_prog_AR="$AR" # Let the user override the test.
    10131112else
    1014   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     1113  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    10151114  ac_dummy="$PATH"
    10161115  for ac_dir in $ac_dummy; do
    10171116    test -z "$ac_dir" && ac_dir=.
    1018     if test -f $ac_dir/$ac_word; then
     1117    if test -f $ac_dir/$ac_word -o \
     1118            -f $ac_dir/$ac_word$ac_exeext ; then
    10191119      ac_cv_prog_AR="${ac_tool_prefix}ar"
    10201120      break
     
    10371137set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    10381138echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1039 echo "configure:1040: checking for $ac_word" >&5
     1139echo "configure:1140: checking for $ac_word" >&5
    10401140if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    10411141  echo $ac_n "(cached) $ac_c" 1>&6
     
    10441144  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
    10451145else
    1046   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     1146  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    10471147  ac_dummy="$PATH"
    10481148  for ac_dir in $ac_dummy; do
    10491149    test -z "$ac_dir" && ac_dir=.
    1050     if test -f $ac_dir/$ac_word; then
     1150    if test -f $ac_dir/$ac_word -o \
     1151            -f $ac_dir/$ac_word$ac_exeext ; then
    10511152      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    10521153      break
     
    10691170set dummy ranlib; ac_word=$2
    10701171echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1071 echo "configure:1072: checking for $ac_word" >&5
     1172echo "configure:1173: checking for $ac_word" >&5
    10721173if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    10731174  echo $ac_n "(cached) $ac_c" 1>&6
     
    10761177  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
    10771178else
    1078   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     1179  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    10791180  ac_dummy="$PATH"
    10801181  for ac_dir in $ac_dummy; do
    10811182    test -z "$ac_dir" && ac_dir=.
    1082     if test -f $ac_dir/$ac_word; then
     1183    if test -f $ac_dir/$ac_word -o \
     1184            -f $ac_dir/$ac_word$ac_exeext ; then
    10831185      ac_cv_prog_RANLIB="ranlib"
    10841186      break
     
    11131215# ./install, which can be erroneously created by make from ./install.sh.
    11141216echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
    1115 echo "configure:1116: checking for a BSD compatible install" >&5
     1217echo "configure:1218: checking for a BSD compatible install" >&5
    11161218if test -z "$INSTALL"; then
    11171219if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
    11181220  echo $ac_n "(cached) $ac_c" 1>&6
    11191221else
    1120     IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":"
     1222    IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS="$PATH_IFS"
    11211223  for ac_dir in $PATH; do
    11221224    # Account for people who put trailing slashes in PATH elements.
    11231225    case "$ac_dir/" in
    11241226    /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
     1227    # We reject the install program from OS/2 or W3.1
     1228    */OS2|*/OS2/*|*/WINDOWS|*/WINDOWS/*) ;;
    11251229    *)
    11261230      # OSF1 and SCO ODT 3.0 have their own names for install.
     
    11281232      # by default.
    11291233      for ac_prog in ginstall scoinst install; do
    1130         if test -f $ac_dir/$ac_prog; then
     1234        if test -f $ac_dir/$ac_prog$ac_exeext; then
    11311235          if test $ac_prog = install &&
    11321236            grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
     
    11341238            :
    11351239          else
    1136             ac_cv_path_install="$ac_dir/$ac_prog -c"
     1240            ac_cv_path_install="$ac_dir/$ac_prog$ac_exeext -c"
    11371241            break 2
    11381242          fi
     
    11801284   
    11811285
     1286
    11821287echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
    1183 echo "configure:1184: checking for executable suffix" >&5
     1288echo "configure:1289: checking for executable suffix" >&5
    11841289if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
    11851290  echo $ac_n "(cached) $ac_c" 1>&6
    11861291else
    1187   if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
     1292  if test "$CYGWIN" = yes || test "$MINGW32" = yes || test "$EMXOS2" = yes; then
    11881293  ac_cv_exeext=.exe
    11891294else
     
    11911296  echo 'int main () { return 0; }' > conftest.$ac_ext
    11921297  ac_cv_exeext=
    1193   if { (eval echo configure:1194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     1298  if { (eval echo configure:1299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    11941299    for file in conftest.*; do
    11951300      case $file in
     
    12211326
    12221327echo $ac_n "checking for interface version number""... $ac_c" 1>&6
    1223 echo "configure:1224: checking for interface version number" >&5
     1328echo "configure:1329: checking for interface version number" >&5
    12241329libstdcxx_interface=$INTERFACE
    12251330echo "$ac_t""$libstdcxx_interface" 1>&6
     
    12271332# Process the option "--enable-version-specific-runtime-libs"
    12281333echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6
    1229 echo "configure:1230: checking for --enable-version-specific-runtime-libs" >&5
     1334echo "configure:1335: checking for --enable-version-specific-runtime-libs" >&5
    12301335# Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
    12311336if test "${enable_version_specific_runtime_libs+set}" = set; then
     
    12821387rm -f skip-this-dir
    12831388echo $ac_n "checking if compiler $compiler_name has been built""... $ac_c" 1>&6
    1284 echo "configure:1285: checking if compiler $compiler_name has been built" >&5
     1389echo "configure:1390: checking if compiler $compiler_name has been built" >&5
    12851390if eval "test \"`echo '$''{'g77_cv_compiler_exists'+set}'`\" = set"; then
    12861391  echo $ac_n "(cached) $ac_c" 1>&6
     
    13901495  # Check if gcc -print-prog-name=ld gives a path.
    13911496  echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
    1392 echo "configure:1393: checking for ld used by GCC" >&5
     1497echo "configure:1498: checking for ld used by GCC" >&5
    13931498  case $host in
    13941499  *-*-mingw*)
     
    14201525elif test "$with_gnu_ld" = yes; then
    14211526  echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
    1422 echo "configure:1423: checking for GNU ld" >&5
     1527echo "configure:1528: checking for GNU ld" >&5
    14231528else
    14241529  echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
    1425 echo "configure:1426: checking for non-GNU ld" >&5
     1530echo "configure:1531: checking for non-GNU ld" >&5
    14261531fi
    14271532if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
     
    14581563test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
    14591564echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
    1460 echo "configure:1461: checking if the linker ($LD) is GNU ld" >&5
     1565echo "configure:1566: checking if the linker ($LD) is GNU ld" >&5
    14611566if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
    14621567  echo $ac_n "(cached) $ac_c" 1>&6
     
    14751580
    14761581echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
    1477 echo "configure:1478: checking for $LD option to reload object files" >&5
     1582echo "configure:1583: checking for $LD option to reload object files" >&5
    14781583if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
    14791584  echo $ac_n "(cached) $ac_c" 1>&6
     
    14871592
    14881593echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
    1489 echo "configure:1490: checking for BSD-compatible nm" >&5
     1594echo "configure:1595: checking for BSD-compatible nm" >&5
    14901595if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
    14911596  echo $ac_n "(cached) $ac_c" 1>&6
     
    15251630
    15261631echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
    1527 echo "configure:1528: checking how to recognise dependant libraries" >&5
     1632echo "configure:1633: checking how to recognise dependant libraries" >&5
    15281633if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
    15291634  echo $ac_n "(cached) $ac_c" 1>&6
     
    16891794
    16901795echo $ac_n "checking for object suffix""... $ac_c" 1>&6
    1691 echo "configure:1692: checking for object suffix" >&5
     1796echo "configure:1797: checking for object suffix" >&5
    16921797if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
    16931798  echo $ac_n "(cached) $ac_c" 1>&6
     
    16951800  rm -f conftest*
    16961801echo 'int i = 1;' > conftest.$ac_ext
    1697 if { (eval echo configure:1698: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1802if { (eval echo configure:1803: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    16981803  for ac_file in conftest.*; do
    16991804    case $ac_file in
     
    17191824  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
    17201825    echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
    1721 echo "configure:1722: checking for ${ac_tool_prefix}file" >&5
     1826echo "configure:1827: checking for ${ac_tool_prefix}file" >&5
    17221827if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
    17231828  echo $ac_n "(cached) $ac_c" 1>&6
     
    17811886  if test -n "$ac_tool_prefix"; then
    17821887    echo $ac_n "checking for file""... $ac_c" 1>&6
    1783 echo "configure:1784: checking for file" >&5
     1888echo "configure:1889: checking for file" >&5
    17841889if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
    17851890  echo $ac_n "(cached) $ac_c" 1>&6
     
    18521957set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    18531958echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1854 echo "configure:1855: checking for $ac_word" >&5
     1959echo "configure:1960: checking for $ac_word" >&5
    18551960if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    18561961  echo $ac_n "(cached) $ac_c" 1>&6
     
    18591964  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
    18601965else
    1861   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     1966  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    18621967  ac_dummy="$PATH"
    18631968  for ac_dir in $ac_dummy; do
    18641969    test -z "$ac_dir" && ac_dir=.
    1865     if test -f $ac_dir/$ac_word; then
     1970    if test -f $ac_dir/$ac_word -o \
     1971            -f $ac_dir/$ac_word$ac_exeext ; then
    18661972      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    18671973      break
     
    18841990set dummy ranlib; ac_word=$2
    18851991echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1886 echo "configure:1887: checking for $ac_word" >&5
     1992echo "configure:1993: checking for $ac_word" >&5
    18871993if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    18881994  echo $ac_n "(cached) $ac_c" 1>&6
     
    18911997  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
    18921998else
    1893   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     1999  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    18942000  ac_dummy="$PATH"
    18952001  for ac_dir in $ac_dummy; do
    18962002    test -z "$ac_dir" && ac_dir=.
    1897     if test -f $ac_dir/$ac_word; then
     2003    if test -f $ac_dir/$ac_word -o \
     2004            -f $ac_dir/$ac_word$ac_exeext ; then
    18982005      ac_cv_prog_RANLIB="ranlib"
    18992006      break
     
    19192026set dummy ${ac_tool_prefix}strip; ac_word=$2
    19202027echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1921 echo "configure:1922: checking for $ac_word" >&5
     2028echo "configure:2029: checking for $ac_word" >&5
    19222029if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
    19232030  echo $ac_n "(cached) $ac_c" 1>&6
     
    19262033  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
    19272034else
    1928   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     2035  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    19292036  ac_dummy="$PATH"
    19302037  for ac_dir in $ac_dummy; do
    19312038    test -z "$ac_dir" && ac_dir=.
    1932     if test -f $ac_dir/$ac_word; then
     2039    if test -f $ac_dir/$ac_word -o \
     2040            -f $ac_dir/$ac_word$ac_exeext ; then
    19332041      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
    19342042      break
     
    19512059set dummy strip; ac_word=$2
    19522060echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1953 echo "configure:1954: checking for $ac_word" >&5
     2061echo "configure:2062: checking for $ac_word" >&5
    19542062if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
    19552063  echo $ac_n "(cached) $ac_c" 1>&6
     
    19582066  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
    19592067else
    1960   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     2068  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    19612069  ac_dummy="$PATH"
    19622070  for ac_dir in $ac_dummy; do
    19632071    test -z "$ac_dir" && ac_dir=.
    1964     if test -f $ac_dir/$ac_word; then
     2072    if test -f $ac_dir/$ac_word -o \
     2073            -f $ac_dir/$ac_word$ac_exeext ; then
    19652074      ac_cv_prog_STRIP="strip"
    19662075      break
     
    20182127*-*-irix6*)
    20192128  # Find out which ABI we are using.
    2020   echo '#line 2021 "configure"' > conftest.$ac_ext
    2021   if { (eval echo configure:2022: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2129  echo '#line 2130 "configure"' > conftest.$ac_ext
     2130  if { (eval echo configure:2131: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    20222131    case `/usr/bin/file conftest.$ac_objext` in
    20232132    *32-bit*)
     
    20402149  CFLAGS="$CFLAGS -belf"
    20412150  echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
    2042 echo "configure:2043: checking whether the C compiler needs -belf" >&5
     2151echo "configure:2152: checking whether the C compiler needs -belf" >&5
    20432152if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
    20442153  echo $ac_n "(cached) $ac_c" 1>&6
     
    20532162
    20542163     cat > conftest.$ac_ext <<EOF
    2055 #line 2056 "configure"
     2164#line 2165 "configure"
    20562165#include "confdefs.h"
    20572166
     
    20602169; return 0; }
    20612170EOF
    2062 if { (eval echo configure:2063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2171if { (eval echo configure:2172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    20632172  rm -rf conftest*
    20642173  lt_cv_cc_needs_belf=yes
     
    21842293set dummy ranlib; ac_word=$2
    21852294echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2186 echo "configure:2187: checking for $ac_word" >&5
     2295echo "configure:2296: checking for $ac_word" >&5
    21872296if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    21882297  echo $ac_n "(cached) $ac_c" 1>&6
     
    21912300  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
    21922301else
    2193   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     2302  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    21942303  ac_dummy="$PATH"
    21952304  for ac_dir in $ac_dummy; do
    21962305    test -z "$ac_dir" && ac_dir=.
    2197     if test -f $ac_dir/$ac_word; then
     2306    if test -f $ac_dir/$ac_word -o \
     2307            -f $ac_dir/$ac_word$ac_exeext ; then
    21982308      ac_cv_prog_RANLIB="ranlib"
    21992309      break
     
    22242334# ./install, which can be erroneously created by make from ./install.sh.
    22252335echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
    2226 echo "configure:2227: checking for a BSD compatible install" >&5
     2336echo "configure:2337: checking for a BSD compatible install" >&5
    22272337if test -z "$INSTALL"; then
    22282338if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
    22292339  echo $ac_n "(cached) $ac_c" 1>&6
    22302340else
    2231     IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":"
     2341    IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS="$PATH_IFS"
    22322342  for ac_dir in $PATH; do
    22332343    # Account for people who put trailing slashes in PATH elements.
    22342344    case "$ac_dir/" in
    22352345    /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
     2346    # We reject the install program from OS/2 or W3.1
     2347    */OS2|*/OS2/*|*/WINDOWS|*/WINDOWS/*) ;;
    22362348    *)
    22372349      # OSF1 and SCO ODT 3.0 have their own names for install.
     
    22392351      # by default.
    22402352      for ac_prog in ginstall scoinst install; do
    2241         if test -f $ac_dir/$ac_prog; then
     2353        if test -f $ac_dir/$ac_prog$ac_exeext; then
    22422354          if test $ac_prog = install &&
    22432355            grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
     
    22452357            :
    22462358          else
    2247             ac_cv_path_install="$ac_dir/$ac_prog -c"
     2359            ac_cv_path_install="$ac_dir/$ac_prog$ac_exeext -c"
    22482360            break 2
    22492361          fi
     
    22772389
    22782390echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
    2279 echo "configure:2280: checking whether ${MAKE-make} sets \${MAKE}" >&5
     2391echo "configure:2392: checking whether ${MAKE-make} sets \${MAKE}" >&5
    22802392set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
    22812393if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
     
    23062418# Sanity check for the cross-compilation case:
    23072419echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
    2308 echo "configure:2309: checking how to run the C preprocessor" >&5
     2420echo "configure:2421: checking how to run the C preprocessor" >&5
    23092421# On Suns, sometimes $CPP names a directory.
    23102422if test -n "$CPP" && test -d "$CPP"; then
     
    23212433  # not just through cpp.
    23222434  cat > conftest.$ac_ext <<EOF
    2323 #line 2324 "configure"
     2435#include <sys/types.h>
     2436#line 2437 "configure"
    23242437#include "confdefs.h"
    23252438#include <assert.h>
     
    23272440EOF
    23282441ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2329 { (eval echo configure:2330: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2442{ (eval echo configure:2443: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    23302443ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    23312444if test -z "$ac_err"; then
     
    23382451  CPP="${CC-cc} -E -traditional-cpp"
    23392452  cat > conftest.$ac_ext <<EOF
    2340 #line 2341 "configure"
     2453#include <sys/types.h>
     2454#line 2455 "configure"
    23412455#include "confdefs.h"
    23422456#include <assert.h>
     
    23442458EOF
    23452459ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2346 { (eval echo configure:2347: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2460{ (eval echo configure:2461: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    23472461ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    23482462if test -z "$ac_err"; then
     
    23552469  CPP="${CC-cc} -nologo -E"
    23562470  cat > conftest.$ac_ext <<EOF
    2357 #line 2358 "configure"
     2471#include <sys/types.h>
     2472#line 2473 "configure"
    23582473#include "confdefs.h"
    23592474#include <assert.h>
     
    23612476EOF
    23622477ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2363 { (eval echo configure:2364: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2478{ (eval echo configure:2479: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    23642479ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    23652480if test -z "$ac_err"; then
     
    23872502ac_safe=`echo "stdio.h" | sed 'y%./+-%__p_%'`
    23882503echo $ac_n "checking for stdio.h""... $ac_c" 1>&6
    2389 echo "configure:2390: checking for stdio.h" >&5
     2504echo "configure:2505: checking for stdio.h" >&5
    23902505if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    23912506  echo $ac_n "(cached) $ac_c" 1>&6
    23922507else
    23932508  cat > conftest.$ac_ext <<EOF
    2394 #line 2395 "configure"
     2509#include <sys/types.h>
     2510#line 2511 "configure"
    23952511#include "confdefs.h"
    23962512#include <stdio.h>
    23972513EOF
    23982514ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2399 { (eval echo configure:2400: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2515{ (eval echo configure:2516: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    24002516ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    24012517if test -z "$ac_err"; then
     
    24252541
    24262542echo $ac_n "checking for built-in g77 integer types""... $ac_c" 1>&6
    2427 echo "configure:2428: checking for built-in g77 integer types" >&5
     2543echo "configure:2544: checking for built-in g77 integer types" >&5
    24282544if eval "test \"`echo '$''{'libf2c_cv_has_g77_builtin_types'+set}'`\" = set"; then
    24292545  echo $ac_n "(cached) $ac_c" 1>&6
    24302546else
    24312547  cat > conftest.$ac_ext <<EOF
    2432 #line 2433 "configure"
     2548#line 2549 "configure"
    24332549#include "confdefs.h"
    24342550
     
    24402556; return 0; }
    24412557EOF
    2442 if { (eval echo configure:2443: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2558if { (eval echo configure:2559: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    24432559  rm -rf conftest*
    24442560  libf2c_cv_has_g77_builtin_types=yes
     
    25372653# Protect against shell expansion while executing Makefile rules.
    25382654# Protect against Makefile macro expansion.
    2539 #
    2540 # If the first sed substitution is executed (which looks for macros that
    2541 # take arguments), then we branch to the quote section.  Otherwise,
    2542 # look for a macro that doesn't take arguments.
    2543 cat >confdef2opt.sed <<\_ACEOF
    2544 t clear
    2545 : clear
    2546 s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
    2547 t quote
    2548 s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
    2549 t quote
    2550 d
    2551 : quote
    2552 s,[     `~#$^&*(){}\\|;'"<>?],\\&,g
    2553 s,\[,\\&,g
    2554 s,\],\\&,g
    2555 s,\$,$$,g
    2556 p
    2557 _ACEOF
    2558 # We use echo to avoid assuming a particular line-breaking character.
    2559 # The extra dot is to prevent the shell from consuming trailing
    2560 # line-breaks from the sub-command output.  A line-break within
    2561 # single-quotes doesn't work because, if this script is created in a
    2562 # platform that uses two characters for line-breaks (e.g., DOS), tr
    2563 # would break.
    2564 ac_LF_and_DOT=`echo; echo .`
    2565 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
    2566 rm -f confdef2opt.sed
     2655cat > conftest.defs <<\EOF
     2656s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
     2657s%[     `~#$^&*(){}\\|;'"<>?]%\\&%g
     2658s%\[%\\&%g
     2659s%\]%\\&%g
     2660s%\$%$$%g
     2661EOF
     2662DEFS=`sed -f conftest.defs confdefs.h | tr '\012\015' '  '`
     2663rm -f conftest.defs
    25672664
    25682665
     
    25772674# Run this file to recreate the current configuration.
    25782675# This directory was configured as follows,
     2676EOF
     2677echo ': ${CONFIG_SHELL='"${CONFIG_SHELL-/bin/sh}"'}' >> $CONFIG_STATUS
     2678cat >> $CONFIG_STATUS <<EOF
    25792679# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
    25802680#
     
    26022702ac_given_srcdir=$srcdir
    26032703ac_given_INSTALL="$INSTALL"
     2704PATHIFS="$PATH_IFS"
    26042705
    26052706trap 'rm -fr `echo "Makefile g2c.h:g2c.hin" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
     
    26122713$ac_vpsub
    26132714$extrasub
     2715s,\([^a-zA-Z0-9:]\)/bin/sh\(.exe\),\1${CONFIG_SHELL-/bin/sh}\2,g
    26142716s%@SHELL@%$SHELL%g
    26152717s%@CFLAGS@%$CFLAGS%g
     
    26352737s%@infodir@%$infodir%g
    26362738s%@mandir@%$mandir%g
     2739s%@PATH_IFS@%$PATH_IFS%g
     2740s%@EXEEXT@%$EXEEXT%g
    26372741s%@toplevel_srcdir@%$toplevel_srcdir%g
    26382742s%@host@%$host%g
     
    26612765s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
    26622766s%@INSTALL_DATA@%$INSTALL_DATA%g
    2663 s%@EXEEXT@%$EXEEXT%g
    26642767s%@gcc_version@%$gcc_version%g
    26652768s%@gcc_version_trigger@%$gcc_version_trigger%g
     
    27432846      if test -z "$ac_dots"; then top_srcdir=.
    27442847      else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
    2745   /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
     2848  /* | [A-Za-z]:*)
     2849    srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
    27462850  *) # Relative path.
    27472851    srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
     
    27502854
    27512855  case "$ac_given_INSTALL" in
    2752   [/$]*) INSTALL="$ac_given_INSTALL" ;;
     2856  [/$]* | [A-Za-z]:*) INSTALL="$ac_given_INSTALL" ;;
    27532857  *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
    27542858  esac
     
    27632867  esac
    27642868
    2765   ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
     2869  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%$PATHIFS% $ac_given_srcdir/%g"`
    27662870  sed -e "$ac_comsub
    27672871s%@configure_input@%$configure_input%g
     
    28562960    .) # No --srcdir option.  We are building in place.
    28572961      ac_sub_srcdir=$srcdir ;;
    2858     /*) # Absolute path.
     2962    /* | [A-Za-z]:*) # Absolute path.
    28592963      ac_sub_srcdir=$srcdir/$ac_config_dir ;;
    28602964    *) # Relative path.
     
    28662970      ac_sub_configure=$ac_sub_srcdir/configure
    28672971    elif test -f $ac_sub_srcdir/configure.in; then
    2868       ac_sub_configure=$ac_configure
     2972      ac_current_dir=`pwd`
     2973      cd $ac_sub_srcdir
     2974      autoconf
     2975      cd $ac_current_dir
     2976      ac_sub_configure=$ac_sub_srcdir/configure
    28692977    else
    28702978      echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
     
    28772985      # Make the cache file name correct relative to the subdirectory.
    28782986      case "$cache_file" in
    2879       /*) ac_sub_cache_file=$cache_file ;;
     2987      /* | [A-Za-z]:*) ac_sub_cache_file=$cache_file ;;
    28802988      *) # Relative path.
    28812989        ac_sub_cache_file="$ac_dots$cache_file" ;;
    28822990      esac
    28832991  case "$ac_given_INSTALL" in
    2884         [/$]*) INSTALL="$ac_given_INSTALL" ;;
     2992        [/$]* | [A-Za-z]:*) INSTALL="$ac_given_INSTALL" ;;
    28852993        *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
    28862994        esac
  • trunk/src/gcc/libf2c/libF77/configure

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r79 r80  
    2929silent=
    3030site=
    31 sitefile=
    3231srcdir=
    3332target=NONE
     
    144143  --no-create             do not create output files
    145144  --quiet, --silent       do not print \`checking...' messages
    146   --site-file=FILE        use FILE as the site file
    147145  --version               print the version of autoconf that created configure
    148146Directory and file names:
     
    315313    site="$ac_optarg" ;;
    316314
    317   -site-file | --site-file | --site-fil | --site-fi | --site-f)
    318     ac_prev=sitefile ;;
    319   -site-file=* | --site-file=* | --site-fil=* | --site-fi=* | --site-f=*)
    320     sitefile="$ac_optarg" ;;
    321 
    322315  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
    323316    ac_prev=srcdir ;;
     
    485478
    486479# Prefer explicitly selected file to automatically selected ones.
    487 if test -z "$sitefile"; then
    488   if test -z "$CONFIG_SITE"; then
    489     if test "x$prefix" != xNONE; then
    490       CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
    491     else
    492       CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
    493     fi
     480if test -z "$CONFIG_SITE"; then
     481  if test "x$prefix" != xNONE; then
     482    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
     483  else
     484    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
    494485  fi
    495 else
    496   CONFIG_SITE="$sitefile"
    497486fi
    498487for ac_site_file in $CONFIG_SITE; do
     
    532521fi
    533522
     523echo $ac_n "checking for path separator""... $ac_c" 1>&6
     524echo "configure:525: checking for path separator" >&5
     525# Filter path to get backslahes into forwardslashes
     526case "`uname -s 2> /dev/null`" in
     527OS/2)
     528  PATH=`echo -E "$PATH" | sed 's+\\\\+/+g'`
     529  PATH_IFS=';'
     530  ;;
     531*)
     532  PATH_IFS=':'
     533  ;;
     534esac
     535echo "$ac_t""${PATH_IFS}" 1>&6
     536
     537echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
     538echo "configure:539: checking for Cygwin environment" >&5
     539if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
     540  echo $ac_n "(cached) $ac_c" 1>&6
     541else
     542  cat > conftest.$ac_ext <<EOF
     543#line 544 "configure"
     544#include "confdefs.h"
     545
     546int main() {
     547
     548#ifndef __CYGWIN__
     549#define __CYGWIN__ __CYGWIN32__
     550#endif
     551return __CYGWIN__;
     552; return 0; }
     553EOF
     554if { (eval echo configure:555: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     555  rm -rf conftest*
     556  ac_cv_cygwin=yes
     557else
     558  echo "configure: failed program was:" >&5
     559  cat conftest.$ac_ext >&5
     560  rm -rf conftest*
     561  ac_cv_cygwin=no
     562fi
     563rm -f conftest*
     564rm -f conftest*
     565fi
     566
     567echo "$ac_t""$ac_cv_cygwin" 1>&6
     568CYGWIN=
     569test "$ac_cv_cygwin" = yes && CYGWIN=yes
     570echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
     571echo "configure:572: checking for mingw32 environment" >&5
     572if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
     573  echo $ac_n "(cached) $ac_c" 1>&6
     574else
     575  cat > conftest.$ac_ext <<EOF
     576#line 577 "configure"
     577#include "confdefs.h"
     578
     579int main() {
     580return __MINGW32__;
     581; return 0; }
     582EOF
     583if { (eval echo configure:584: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     584  rm -rf conftest*
     585  ac_cv_mingw32=yes
     586else
     587  echo "configure: failed program was:" >&5
     588  cat conftest.$ac_ext >&5
     589  rm -rf conftest*
     590  ac_cv_mingw32=no
     591fi
     592rm -f conftest*
     593rm -f conftest*
     594fi
     595
     596echo "$ac_t""$ac_cv_mingw32" 1>&6
     597MINGW32=
     598test "$ac_cv_mingw32" = yes && MINGW32=yes
     599echo $ac_n "checking for EMX/OS2 environment""... $ac_c" 1>&6
     600echo "configure:601: checking for EMX/OS2 environment" >&5
     601if eval "test \"`echo '$''{'ac_cv_emxos2'+set}'`\" = set"; then
     602  echo $ac_n "(cached) $ac_c" 1>&6
     603else
     604  : ${CC=gcc.exe}
     605cat > conftest.$ac_ext <<EOF
     606#line 607 "configure"
     607#include "confdefs.h"
     608
     609int main() {
     610return __EMX__;
     611; return 0; }
     612EOF
     613if { (eval echo configure:614: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     614  rm -rf conftest*
     615  ac_cv_emxos2=yes
     616else
     617  echo "configure: failed program was:" >&5
     618  cat conftest.$ac_ext >&5
     619  rm -rf conftest*
     620  ac_cv_emxos2=no
     621fi
     622rm -f conftest*
     623rm -f conftest*
     624fi
     625
     626echo "$ac_t""$ac_cv_emxos2" 1>&6
     627if eval "test \"`echo '$''{'ac_cv_libpre'+set}'`\" = set"; then
     628  echo $ac_n "(cached) $ac_c" 1>&6
     629else
     630  if test "$ac_cv_emxos2" = yes ; then
     631  ac_cv_libpre=
     632else
     633  ac_cv_libpre=lib
     634fi
     635
     636fi
     637
     638EMXOS2=
     639test "$ac_cv_emxos2" = yes && EMXOS2=yes
     640
     641
     642
     643echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
     644echo "configure:645: checking for executable suffix" >&5
     645if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
     646  echo $ac_n "(cached) $ac_c" 1>&6
     647else
     648  if test "$CYGWIN" = yes || test "$MINGW32" = yes || test "$EMXOS2" = yes; then
     649  ac_cv_exeext=.exe
     650else
     651  rm -f conftest*
     652  echo 'int main () { return 0; }' > conftest.$ac_ext
     653  ac_cv_exeext=
     654  if { (eval echo configure:655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     655    for file in conftest.*; do
     656      case $file in
     657      *.c | *.o | *.obj) ;;
     658      *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
     659      esac
     660    done
     661  else
     662    { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
     663  fi
     664  rm -f conftest*
     665  test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
     666fi
     667fi
     668
     669EXEEXT=""
     670test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
     671echo "$ac_t""${ac_cv_exeext}" 1>&6
     672ac_exeext=$EXEEXT
     673
    534674
    535675
     
    542682set dummy gcc; ac_word=$2
    543683echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    544 echo "configure:545: checking for $ac_word" >&5
     684echo "configure:685: checking for $ac_word" >&5
    545685if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    546686  echo $ac_n "(cached) $ac_c" 1>&6
     
    549689  ac_cv_prog_CC="$CC" # Let the user override the test.
    550690else
    551   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     691  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    552692  ac_dummy="$PATH"
    553693  for ac_dir in $ac_dummy; do
    554694    test -z "$ac_dir" && ac_dir=.
    555     if test -f $ac_dir/$ac_word; then
     695    if test -f $ac_dir/$ac_word -o \
     696            -f $ac_dir/$ac_word$ac_exeext ; then
    556697      ac_cv_prog_CC="gcc"
    557698      break
     
    572713set dummy cc; ac_word=$2
    573714echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    574 echo "configure:575: checking for $ac_word" >&5
     715echo "configure:716: checking for $ac_word" >&5
    575716if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    576717  echo $ac_n "(cached) $ac_c" 1>&6
     
    579720  ac_cv_prog_CC="$CC" # Let the user override the test.
    580721else
    581   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     722  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    582723  ac_prog_rejected=no
    583724  ac_dummy="$PATH"
    584725  for ac_dir in $ac_dummy; do
    585726    test -z "$ac_dir" && ac_dir=.
    586     if test -f $ac_dir/$ac_word; then
    587       if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
     727    if test -f $ac_dir/$ac_word -o \
     728            -f $ac_dir/$ac_word$ac_exeext ; then
     729      if test "$ac_dir/$ac_word" = "/usr/ucb/cc" -o \
     730               "$ac_dir/$ac_word$ac_exeext" = "/usr/ucb/cc" ; then
    588731        ac_prog_rejected=yes
    589732        continue
     
    623766set dummy cl; ac_word=$2
    624767echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    625 echo "configure:626: checking for $ac_word" >&5
     768echo "configure:769: checking for $ac_word" >&5
    626769if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    627770  echo $ac_n "(cached) $ac_c" 1>&6
     
    630773  ac_cv_prog_CC="$CC" # Let the user override the test.
    631774else
    632   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     775  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    633776  ac_dummy="$PATH"
    634777  for ac_dir in $ac_dummy; do
    635778    test -z "$ac_dir" && ac_dir=.
    636     if test -f $ac_dir/$ac_word; then
     779    if test -f $ac_dir/$ac_word -o \
     780            -f $ac_dir/$ac_word$ac_exeext ; then
    637781      ac_cv_prog_CC="cl"
    638782      break
     
    656800
    657801echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    658 echo "configure:659: checking whether we are using GNU C" >&5
     802echo "configure:803: checking whether we are using GNU C" >&5
    659803if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    660804  echo $ac_n "(cached) $ac_c" 1>&6
     
    665809#endif
    666810EOF
    667 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:668: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     811if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:812: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    668812  ac_cv_prog_gcc=yes
    669813else
     
    684828CFLAGS=
    685829echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    686 echo "configure:687: checking whether ${CC-cc} accepts -g" >&5
     830echo "configure:831: checking whether ${CC-cc} accepts -g" >&5
    687831if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    688832  echo $ac_n "(cached) $ac_c" 1>&6
     
    727871set dummy ranlib; ac_word=$2
    728872echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    729 echo "configure:730: checking for $ac_word" >&5
     873echo "configure:874: checking for $ac_word" >&5
    730874if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    731875  echo $ac_n "(cached) $ac_c" 1>&6
     
    734878  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
    735879else
    736   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     880  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    737881  ac_dummy="$PATH"
    738882  for ac_dir in $ac_dummy; do
    739883    test -z "$ac_dir" && ac_dir=.
    740     if test -f $ac_dir/$ac_word; then
     884    if test -f $ac_dir/$ac_word -o \
     885            -f $ac_dir/$ac_word$ac_exeext ; then
    741886      ac_cv_prog_RANLIB="ranlib"
    742887      break
     
    756901fi
    757902echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
    758 echo "configure:759: checking whether ${MAKE-make} sets \${MAKE}" >&5
     903echo "configure:904: checking whether ${MAKE-make} sets \${MAKE}" >&5
    759904set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
    760905if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
     
    786931# Sanity check for the cross-compilation case:
    787932echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
    788 echo "configure:789: checking how to run the C preprocessor" >&5
     933echo "configure:934: checking how to run the C preprocessor" >&5
    789934# On Suns, sometimes $CPP names a directory.
    790935if test -n "$CPP" && test -d "$CPP"; then
     
    801946  # not just through cpp.
    802947  cat > conftest.$ac_ext <<EOF
    803 #line 804 "configure"
     948#include <sys/types.h>
     949#line 950 "configure"
    804950#include "confdefs.h"
    805951#include <assert.h>
     
    807953EOF
    808954ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    809 { (eval echo configure:810: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     955{ (eval echo configure:956: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    810956ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    811957if test -z "$ac_err"; then
     
    818964  CPP="${CC-cc} -E -traditional-cpp"
    819965  cat > conftest.$ac_ext <<EOF
    820 #line 821 "configure"
     966#include <sys/types.h>
     967#line 968 "configure"
    821968#include "confdefs.h"
    822969#include <assert.h>
     
    824971EOF
    825972ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    826 { (eval echo configure:827: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     973{ (eval echo configure:974: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    827974ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    828975if test -z "$ac_err"; then
     
    835982  CPP="${CC-cc} -nologo -E"
    836983  cat > conftest.$ac_ext <<EOF
    837 #line 838 "configure"
     984#include <sys/types.h>
     985#line 986 "configure"
    838986#include "confdefs.h"
    839987#include <assert.h>
     
    841989EOF
    842990ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    843 { (eval echo configure:844: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     991{ (eval echo configure:992: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    844992ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    845993if test -z "$ac_err"; then
     
    8671015ac_safe=`echo "stdio.h" | sed 'y%./+-%__p_%'`
    8681016echo $ac_n "checking for stdio.h""... $ac_c" 1>&6
    869 echo "configure:870: checking for stdio.h" >&5
     1017echo "configure:1018: checking for stdio.h" >&5
    8701018if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    8711019  echo $ac_n "(cached) $ac_c" 1>&6
    8721020else
    8731021  cat > conftest.$ac_ext <<EOF
    874 #line 875 "configure"
     1022#include <sys/types.h>
     1023#line 1024 "configure"
    8751024#include "confdefs.h"
    8761025#include <stdio.h>
    8771026EOF
    8781027ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    879 { (eval echo configure:880: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1028{ (eval echo configure:1029: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    8801029ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    8811030if test -z "$ac_err"; then
     
    9051054
    9061055echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
    907 echo "configure:908: checking for ANSI C header files" >&5
     1056echo "configure:1057: checking for ANSI C header files" >&5
    9081057if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
    9091058  echo $ac_n "(cached) $ac_c" 1>&6
    9101059else
    9111060  cat > conftest.$ac_ext <<EOF
    912 #line 913 "configure"
     1061#include <sys/types.h>
     1062#line 1063 "configure"
    9131063#include "confdefs.h"
    9141064#include <stdlib.h>
     
    9181068EOF
    9191069ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    920 { (eval echo configure:921: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1070{ (eval echo configure:1071: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    9211071ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    9221072if test -z "$ac_err"; then
     
    9351085  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    9361086cat > conftest.$ac_ext <<EOF
    937 #line 938 "configure"
     1087#line 1088 "configure"
    9381088#include "confdefs.h"
    9391089#include <string.h>
     
    9531103  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    9541104cat > conftest.$ac_ext <<EOF
    955 #line 956 "configure"
     1105#line 1106 "configure"
    9561106#include "confdefs.h"
    9571107#include <stdlib.h>
     
    9741124else
    9751125  cat > conftest.$ac_ext <<EOF
    976 #line 977 "configure"
     1126#line 1127 "configure"
    9771127#include "confdefs.h"
    9781128#include <ctype.h>
     
    9851135
    9861136EOF
    987 if { (eval echo configure:988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     1137if { (eval echo configure:1138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    9881138then
    9891139  :
     
    10101160
    10111161echo $ac_n "checking for posix""... $ac_c" 1>&6
    1012 echo "configure:1013: checking for posix" >&5
     1162echo "configure:1163: checking for posix" >&5
    10131163if eval "test \"`echo '$''{'g77_cv_header_posix'+set}'`\" = set"; then
    10141164  echo $ac_n "(cached) $ac_c" 1>&6
    10151165else
    10161166  cat > conftest.$ac_ext <<EOF
    1017 #line 1018 "configure"
     1167#line 1168 "configure"
    10181168#include "confdefs.h"
    10191169#include <sys/types.h>
     
    10411191# header isn't actually like checking the functions, though...
    10421192echo $ac_n "checking for GNU library""... $ac_c" 1>&6
    1043 echo "configure:1044: checking for GNU library" >&5
     1193echo "configure:1194: checking for GNU library" >&5
    10441194if eval "test \"`echo '$''{'g77_cv_lib_gnu'+set}'`\" = set"; then
    10451195  echo $ac_n "(cached) $ac_c" 1>&6
    10461196else
    10471197  cat > conftest.$ac_ext <<EOF
    1048 #line 1049 "configure"
     1198#line 1199 "configure"
    10491199#include "confdefs.h"
    10501200#include <stdio.h>
     
    10691219
    10701220echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
    1071 echo "configure:1072: checking return type of signal handlers" >&5
     1221echo "configure:1222: checking return type of signal handlers" >&5
    10721222if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
    10731223  echo $ac_n "(cached) $ac_c" 1>&6
    10741224else
    10751225  cat > conftest.$ac_ext <<EOF
    1076 #line 1077 "configure"
     1226#line 1227 "configure"
    10771227#include "confdefs.h"
    10781228#include <sys/types.h>
     
    10911241; return 0; }
    10921242EOF
    1093 if { (eval echo configure:1094: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1243if { (eval echo configure:1244: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    10941244  rm -rf conftest*
    10951245  ac_cv_type_signal=void
     
    11121262if test $ac_cv_header_stdc != yes; then
    11131263echo $ac_n "checking for atexit""... $ac_c" 1>&6
    1114 echo "configure:1115: checking for atexit" >&5
     1264echo "configure:1265: checking for atexit" >&5
    11151265if eval "test \"`echo '$''{'ac_cv_func_atexit'+set}'`\" = set"; then
    11161266  echo $ac_n "(cached) $ac_c" 1>&6
    11171267else
    11181268  cat > conftest.$ac_ext <<EOF
    1119 #line 1120 "configure"
     1269#line 1270 "configure"
    11201270#include "confdefs.h"
    11211271/* System header to define __stub macros and hopefully few prototypes,
     
    11401290; return 0; }
    11411291EOF
    1142 if { (eval echo configure:1143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1292if { (eval echo configure:1293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    11431293  rm -rf conftest*
    11441294  eval "ac_cv_func_atexit=yes"
     
    11651315
    11661316  echo $ac_n "checking for onexit""... $ac_c" 1>&6
    1167 echo "configure:1168: checking for onexit" >&5
     1317echo "configure:1318: checking for onexit" >&5
    11681318if eval "test \"`echo '$''{'ac_cv_func_onexit'+set}'`\" = set"; then
    11691319  echo $ac_n "(cached) $ac_c" 1>&6
    11701320else
    11711321  cat > conftest.$ac_ext <<EOF
    1172 #line 1173 "configure"
     1322#line 1323 "configure"
    11731323#include "confdefs.h"
    11741324/* System header to define __stub macros and hopefully few prototypes,
     
    11931343; return 0; }
    11941344EOF
    1195 if { (eval echo configure:1196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1345if { (eval echo configure:1346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    11961346  rm -rf conftest*
    11971347  eval "ac_cv_func_onexit=yes"
     
    12111361  echo "$ac_t""no" 1>&6
    12121362echo $ac_n "checking for on_exit""... $ac_c" 1>&6
    1213 echo "configure:1214: checking for on_exit" >&5
     1363echo "configure:1364: checking for on_exit" >&5
    12141364if eval "test \"`echo '$''{'ac_cv_func_on_exit'+set}'`\" = set"; then
    12151365  echo $ac_n "(cached) $ac_c" 1>&6
    12161366else
    12171367  cat > conftest.$ac_ext <<EOF
    1218 #line 1219 "configure"
     1368#line 1369 "configure"
    12191369#include "confdefs.h"
    12201370/* System header to define __stub macros and hopefully few prototypes,
     
    12391389; return 0; }
    12401390EOF
    1241 if { (eval echo configure:1242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1391if { (eval echo configure:1392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    12421392  rm -rf conftest*
    12431393  eval "ac_cv_func_on_exit=yes"
     
    12691419
    12701420echo $ac_n "checking for drem in -lm""... $ac_c" 1>&6
    1271 echo "configure:1272: checking for drem in -lm" >&5
     1421echo "configure:1422: checking for drem in -lm" >&5
    12721422ac_lib_var=`echo m'_'drem | sed 'y%./+-%__p_%'`
    12731423if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    12771427LIBS="-lm  $LIBS"
    12781428cat > conftest.$ac_ext <<EOF
    1279 #line 1280 "configure"
     1429#line 1430 "configure"
    12801430#include "confdefs.h"
    12811431/* Override any gcc2 internal prototype to avoid an error.  */
     
    12881438; return 0; }
    12891439EOF
    1290 if { (eval echo configure:1291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1440if { (eval echo configure:1441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    12911441  rm -rf conftest*
    12921442  eval "ac_cv_lib_$ac_lib_var=yes"
     
    13941544s%\$%$$%g
    13951545EOF
    1396 DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
     1546DEFS=`sed -f conftest.defs confdefs.h | tr '\012\015' ' '`
    13971547rm -f conftest.defs
    13981548
     
    14081558# Run this file to recreate the current configuration.
    14091559# This directory was configured as follows,
     1560EOF
     1561echo ': ${CONFIG_SHELL='"${CONFIG_SHELL-/bin/sh}"'}' >> $CONFIG_STATUS
     1562cat >> $CONFIG_STATUS <<EOF
    14101563# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
    14111564#
     
    14321585
    14331586ac_given_srcdir=$srcdir
     1587PATHIFS="$PATH_IFS"
    14341588
    14351589trap 'rm -fr `echo "Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
     
    14421596$ac_vpsub
    14431597$extrasub
     1598s,\([^a-zA-Z0-9:]\)/bin/sh\(.exe\),\1${CONFIG_SHELL-/bin/sh}\2,g
    14441599s%@SHELL@%$SHELL%g
    14451600s%@CFLAGS@%$CFLAGS%g
     
    14651620s%@infodir@%$infodir%g
    14661621s%@mandir@%$mandir%g
     1622s%@PATH_IFS@%$PATH_IFS%g
     1623s%@EXEEXT@%$EXEEXT%g
    14671624s%@CC@%$CC%g
    14681625s%@LIBTOOL@%$LIBTOOL%g
     
    15411698      if test -z "$ac_dots"; then top_srcdir=.
    15421699      else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
    1543   /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
     1700  /* | [A-Za-z]:*)
     1701    srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
    15441702  *) # Relative path.
    15451703    srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
     
    15571715  esac
    15581716
    1559   ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
     1717  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%$PATHIFS% $ac_given_srcdir/%g"`
    15601718  sed -e "$ac_comsub
    15611719s%@configure_input@%$configure_input%g
  • trunk/src/gcc/libf2c/libI77/configure

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r79 r80  
    521521fi
    522522
     523echo $ac_n "checking for path separator""... $ac_c" 1>&6
     524echo "configure:525: checking for path separator" >&5
     525# Filter path to get backslahes into forwardslashes
     526case "`uname -s 2> /dev/null`" in
     527OS/2)
     528  PATH=`echo -E "$PATH" | sed 's+\\\\+/+g'`
     529  PATH_IFS=';'
     530  ;;
     531*)
     532  PATH_IFS=':'
     533  ;;
     534esac
     535echo "$ac_t""${PATH_IFS}" 1>&6
     536
     537echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
     538echo "configure:539: checking for Cygwin environment" >&5
     539if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
     540  echo $ac_n "(cached) $ac_c" 1>&6
     541else
     542  cat > conftest.$ac_ext <<EOF
     543#line 544 "configure"
     544#include "confdefs.h"
     545
     546int main() {
     547
     548#ifndef __CYGWIN__
     549#define __CYGWIN__ __CYGWIN32__
     550#endif
     551return __CYGWIN__;
     552; return 0; }
     553EOF
     554if { (eval echo configure:555: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     555  rm -rf conftest*
     556  ac_cv_cygwin=yes
     557else
     558  echo "configure: failed program was:" >&5
     559  cat conftest.$ac_ext >&5
     560  rm -rf conftest*
     561  ac_cv_cygwin=no
     562fi
     563rm -f conftest*
     564rm -f conftest*
     565fi
     566
     567echo "$ac_t""$ac_cv_cygwin" 1>&6
     568CYGWIN=
     569test "$ac_cv_cygwin" = yes && CYGWIN=yes
     570echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
     571echo "configure:572: checking for mingw32 environment" >&5
     572if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
     573  echo $ac_n "(cached) $ac_c" 1>&6
     574else
     575  cat > conftest.$ac_ext <<EOF
     576#line 577 "configure"
     577#include "confdefs.h"
     578
     579int main() {
     580return __MINGW32__;
     581; return 0; }
     582EOF
     583if { (eval echo configure:584: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     584  rm -rf conftest*
     585  ac_cv_mingw32=yes
     586else
     587  echo "configure: failed program was:" >&5
     588  cat conftest.$ac_ext >&5
     589  rm -rf conftest*
     590  ac_cv_mingw32=no
     591fi
     592rm -f conftest*
     593rm -f conftest*
     594fi
     595
     596echo "$ac_t""$ac_cv_mingw32" 1>&6
     597MINGW32=
     598test "$ac_cv_mingw32" = yes && MINGW32=yes
     599echo $ac_n "checking for EMX/OS2 environment""... $ac_c" 1>&6
     600echo "configure:601: checking for EMX/OS2 environment" >&5
     601if eval "test \"`echo '$''{'ac_cv_emxos2'+set}'`\" = set"; then
     602  echo $ac_n "(cached) $ac_c" 1>&6
     603else
     604  : ${CC=gcc.exe}
     605cat > conftest.$ac_ext <<EOF
     606#line 607 "configure"
     607#include "confdefs.h"
     608
     609int main() {
     610return __EMX__;
     611; return 0; }
     612EOF
     613if { (eval echo configure:614: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     614  rm -rf conftest*
     615  ac_cv_emxos2=yes
     616else
     617  echo "configure: failed program was:" >&5
     618  cat conftest.$ac_ext >&5
     619  rm -rf conftest*
     620  ac_cv_emxos2=no
     621fi
     622rm -f conftest*
     623rm -f conftest*
     624fi
     625
     626echo "$ac_t""$ac_cv_emxos2" 1>&6
     627if eval "test \"`echo '$''{'ac_cv_libpre'+set}'`\" = set"; then
     628  echo $ac_n "(cached) $ac_c" 1>&6
     629else
     630  if test "$ac_cv_emxos2" = yes ; then
     631  ac_cv_libpre=
     632else
     633  ac_cv_libpre=lib
     634fi
     635
     636fi
     637
     638EMXOS2=
     639test "$ac_cv_emxos2" = yes && EMXOS2=yes
     640
     641
     642
     643echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
     644echo "configure:645: checking for executable suffix" >&5
     645if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
     646  echo $ac_n "(cached) $ac_c" 1>&6
     647else
     648  if test "$CYGWIN" = yes || test "$MINGW32" = yes || test "$EMXOS2" = yes; then
     649  ac_cv_exeext=.exe
     650else
     651  rm -f conftest*
     652  echo 'int main () { return 0; }' > conftest.$ac_ext
     653  ac_cv_exeext=
     654  if { (eval echo configure:655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     655    for file in conftest.*; do
     656      case $file in
     657      *.c | *.o | *.obj) ;;
     658      *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
     659      esac
     660    done
     661  else
     662    { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
     663  fi
     664  rm -f conftest*
     665  test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
     666fi
     667fi
     668
     669EXEEXT=""
     670test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
     671echo "$ac_t""${ac_cv_exeext}" 1>&6
     672ac_exeext=$EXEEXT
     673
    523674
    524675
     
    557708set dummy gcc; ac_word=$2
    558709echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    559 echo "configure:560: checking for $ac_word" >&5
     710echo "configure:711: checking for $ac_word" >&5
    560711if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    561712  echo $ac_n "(cached) $ac_c" 1>&6
     
    564715  ac_cv_prog_CC="$CC" # Let the user override the test.
    565716else
    566   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     717  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    567718  ac_dummy="$PATH"
    568719  for ac_dir in $ac_dummy; do
    569720    test -z "$ac_dir" && ac_dir=.
    570     if test -f $ac_dir/$ac_word; then
     721    if test -f $ac_dir/$ac_word -o \
     722            -f $ac_dir/$ac_word$ac_exeext ; then
    571723      ac_cv_prog_CC="gcc"
    572724      break
     
    587739set dummy cc; ac_word=$2
    588740echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    589 echo "configure:590: checking for $ac_word" >&5
     741echo "configure:742: checking for $ac_word" >&5
    590742if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    591743  echo $ac_n "(cached) $ac_c" 1>&6
     
    594746  ac_cv_prog_CC="$CC" # Let the user override the test.
    595747else
    596   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     748  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    597749  ac_prog_rejected=no
    598750  ac_dummy="$PATH"
    599751  for ac_dir in $ac_dummy; do
    600752    test -z "$ac_dir" && ac_dir=.
    601     if test -f $ac_dir/$ac_word; then
    602       if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
     753    if test -f $ac_dir/$ac_word -o \
     754            -f $ac_dir/$ac_word$ac_exeext ; then
     755      if test "$ac_dir/$ac_word" = "/usr/ucb/cc" -o \
     756               "$ac_dir/$ac_word$ac_exeext" = "/usr/ucb/cc" ; then
    603757        ac_prog_rejected=yes
    604758        continue
     
    638792set dummy cl; ac_word=$2
    639793echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    640 echo "configure:641: checking for $ac_word" >&5
     794echo "configure:795: checking for $ac_word" >&5
    641795if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    642796  echo $ac_n "(cached) $ac_c" 1>&6
     
    645799  ac_cv_prog_CC="$CC" # Let the user override the test.
    646800else
    647   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     801  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    648802  ac_dummy="$PATH"
    649803  for ac_dir in $ac_dummy; do
    650804    test -z "$ac_dir" && ac_dir=.
    651     if test -f $ac_dir/$ac_word; then
     805    if test -f $ac_dir/$ac_word -o \
     806            -f $ac_dir/$ac_word$ac_exeext ; then
    652807      ac_cv_prog_CC="cl"
    653808      break
     
    671826
    672827echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    673 echo "configure:674: checking whether we are using GNU C" >&5
     828echo "configure:829: checking whether we are using GNU C" >&5
    674829if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    675830  echo $ac_n "(cached) $ac_c" 1>&6
     
    680835#endif
    681836EOF
    682 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:683: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     837if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:838: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    683838  ac_cv_prog_gcc=yes
    684839else
     
    699854CFLAGS=
    700855echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    701 echo "configure:702: checking whether ${CC-cc} accepts -g" >&5
     856echo "configure:857: checking whether ${CC-cc} accepts -g" >&5
    702857if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    703858  echo $ac_n "(cached) $ac_c" 1>&6
     
    737892
    738893echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
    739 echo "configure:740: checking whether ${MAKE-make} sets \${MAKE}" >&5
     894echo "configure:895: checking whether ${MAKE-make} sets \${MAKE}" >&5
    740895set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
    741896if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
     
    767922# Sanity check for the cross-compilation case:
    768923echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
    769 echo "configure:770: checking how to run the C preprocessor" >&5
     924echo "configure:925: checking how to run the C preprocessor" >&5
    770925# On Suns, sometimes $CPP names a directory.
    771926if test -n "$CPP" && test -d "$CPP"; then
     
    782937  # not just through cpp.
    783938  cat > conftest.$ac_ext <<EOF
    784 #line 785 "configure"
     939#include <sys/types.h>
     940#line 941 "configure"
    785941#include "confdefs.h"
    786942#include <assert.h>
     
    788944EOF
    789945ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    790 { (eval echo configure:791: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     946{ (eval echo configure:947: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    791947ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    792948if test -z "$ac_err"; then
     
    799955  CPP="${CC-cc} -E -traditional-cpp"
    800956  cat > conftest.$ac_ext <<EOF
    801 #line 802 "configure"
     957#include <sys/types.h>
     958#line 959 "configure"
    802959#include "confdefs.h"
    803960#include <assert.h>
     
    805962EOF
    806963ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    807 { (eval echo configure:808: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     964{ (eval echo configure:965: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    808965ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    809966if test -z "$ac_err"; then
     
    816973  CPP="${CC-cc} -nologo -E"
    817974  cat > conftest.$ac_ext <<EOF
    818 #line 819 "configure"
     975#include <sys/types.h>
     976#line 977 "configure"
    819977#include "confdefs.h"
    820978#include <assert.h>
     
    822980EOF
    823981ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    824 { (eval echo configure:825: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     982{ (eval echo configure:983: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    825983ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    826984if test -z "$ac_err"; then
     
    8481006ac_safe=`echo "stdio.h" | sed 'y%./+-%__p_%'`
    8491007echo $ac_n "checking for stdio.h""... $ac_c" 1>&6
    850 echo "configure:851: checking for stdio.h" >&5
     1008echo "configure:1009: checking for stdio.h" >&5
    8511009if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    8521010  echo $ac_n "(cached) $ac_c" 1>&6
    8531011else
    8541012  cat > conftest.$ac_ext <<EOF
    855 #line 856 "configure"
     1013#include <sys/types.h>
     1014#line 1015 "configure"
    8561015#include "confdefs.h"
    8571016#include <stdio.h>
    8581017EOF
    8591018ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    860 { (eval echo configure:861: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1019{ (eval echo configure:1020: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    8611020ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    8621021if test -z "$ac_err"; then
     
    8861045
    8871046echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
    888 echo "configure:889: checking for ANSI C header files" >&5
     1047echo "configure:1048: checking for ANSI C header files" >&5
    8891048if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
    8901049  echo $ac_n "(cached) $ac_c" 1>&6
    8911050else
    8921051  cat > conftest.$ac_ext <<EOF
    893 #line 894 "configure"
     1052#include <sys/types.h>
     1053#line 1054 "configure"
    8941054#include "confdefs.h"
    8951055#include <stdlib.h>
     
    8991059EOF
    9001060ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    901 { (eval echo configure:902: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1061{ (eval echo configure:1062: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    9021062ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    9031063if test -z "$ac_err"; then
     
    9161076  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    9171077cat > conftest.$ac_ext <<EOF
    918 #line 919 "configure"
     1078#line 1079 "configure"
    9191079#include "confdefs.h"
    9201080#include <string.h>
     
    9341094  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    9351095cat > conftest.$ac_ext <<EOF
    936 #line 937 "configure"
     1096#line 1097 "configure"
    9371097#include "confdefs.h"
    9381098#include <stdlib.h>
     
    9551115else
    9561116  cat > conftest.$ac_ext <<EOF
    957 #line 958 "configure"
     1117#line 1118 "configure"
    9581118#include "confdefs.h"
    9591119#include <ctype.h>
     
    9661126
    9671127EOF
    968 if { (eval echo configure:969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     1128if { (eval echo configure:1129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    9691129then
    9701130  :
     
    9911151
    9921152echo $ac_n "checking for posix""... $ac_c" 1>&6
    993 echo "configure:994: checking for posix" >&5
     1153echo "configure:1154: checking for posix" >&5
    9941154if eval "test \"`echo '$''{'g77_cv_header_posix'+set}'`\" = set"; then
    9951155  echo $ac_n "(cached) $ac_c" 1>&6
    9961156else
    9971157  cat > conftest.$ac_ext <<EOF
    998 #line 999 "configure"
     1158#line 1159 "configure"
    9991159#include "confdefs.h"
    10001160#include <sys/types.h>
     
    10221182# header isn't actually like checking the functions, though...
    10231183echo $ac_n "checking for GNU library""... $ac_c" 1>&6
    1024 echo "configure:1025: checking for GNU library" >&5
     1184echo "configure:1185: checking for GNU library" >&5
    10251185if eval "test \"`echo '$''{'g77_cv_lib_gnu'+set}'`\" = set"; then
    10261186  echo $ac_n "(cached) $ac_c" 1>&6
    10271187else
    10281188  cat > conftest.$ac_ext <<EOF
    1029 #line 1030 "configure"
     1189#line 1190 "configure"
    10301190#include "confdefs.h"
    10311191#include <stdio.h>
     
    10511211# Apparently cygwin needs to be special-cased.
    10521212echo $ac_n "checking for cyg\`win'32""... $ac_c" 1>&6
    1053 echo "configure:1054: checking for cyg\`win'32" >&5
     1213echo "configure:1214: checking for cyg\`win'32" >&5
    10541214if eval "test \"`echo '$''{'g77_cv_sys_cygwin32'+set}'`\" = set"; then
    10551215  echo $ac_n "(cached) $ac_c" 1>&6
    10561216else
    10571217  cat > conftest.$ac_ext <<EOF
    1058 #line 1059 "configure"
     1218#line 1219 "configure"
    10591219#include "confdefs.h"
    10601220#ifdef __CYGWIN32__
     
    10791239# ditto for mingw32.
    10801240echo $ac_n "checking for mingw32""... $ac_c" 1>&6
    1081 echo "configure:1082: checking for mingw32" >&5
     1241echo "configure:1242: checking for mingw32" >&5
    10821242if eval "test \"`echo '$''{'g77_cv_sys_mingw32'+set}'`\" = set"; then
    10831243  echo $ac_n "(cached) $ac_c" 1>&6
    10841244else
    10851245  cat > conftest.$ac_ext <<EOF
    1086 #line 1087 "configure"
     1246#line 1247 "configure"
    10871247#include "confdefs.h"
    10881248#ifdef __MINGW32__
     
    11071267
    11081268echo $ac_n "checking for working const""... $ac_c" 1>&6
    1109 echo "configure:1110: checking for working const" >&5
     1269echo "configure:1270: checking for working const" >&5
    11101270if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
    11111271  echo $ac_n "(cached) $ac_c" 1>&6
    11121272else
    11131273  cat > conftest.$ac_ext <<EOF
    1114 #line 1115 "configure"
     1274#line 1275 "configure"
    11151275#include "confdefs.h"
    11161276
     
    11611321; return 0; }
    11621322EOF
    1163 if { (eval echo configure:1164: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1323if { (eval echo configure:1324: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    11641324  rm -rf conftest*
    11651325  ac_cv_c_const=yes
     
    11821342
    11831343echo $ac_n "checking for size_t""... $ac_c" 1>&6
    1184 echo "configure:1185: checking for size_t" >&5
     1344echo "configure:1345: checking for size_t" >&5
    11851345if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
    11861346  echo $ac_n "(cached) $ac_c" 1>&6
    11871347else
    11881348  cat > conftest.$ac_ext <<EOF
    1189 #line 1190 "configure"
     1349#line 1350 "configure"
    11901350#include "confdefs.h"
    11911351#include <sys/types.h>
     
    12201380# (as of cygwin b18). Likewise on mingw.
    12211381echo $ac_n "checking for fstat""... $ac_c" 1>&6
    1222 echo "configure:1223: checking for fstat" >&5
     1382echo "configure:1383: checking for fstat" >&5
    12231383if eval "test \"`echo '$''{'ac_cv_func_fstat'+set}'`\" = set"; then
    12241384  echo $ac_n "(cached) $ac_c" 1>&6
    12251385else
    12261386  cat > conftest.$ac_ext <<EOF
    1227 #line 1228 "configure"
     1387#line 1388 "configure"
    12281388#include "confdefs.h"
    12291389/* System header to define __stub macros and hopefully few prototypes,
     
    12481408; return 0; }
    12491409EOF
    1250 if { (eval echo configure:1251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1410if { (eval echo configure:1411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    12511411  rm -rf conftest*
    12521412  eval "ac_cv_func_fstat=yes"
     
    12681428
    12691429echo $ac_n "checking need for NON_UNIX_STDIO""... $ac_c" 1>&6
    1270 echo "configure:1271: checking need for NON_UNIX_STDIO" >&5
     1430echo "configure:1431: checking need for NON_UNIX_STDIO" >&5
    12711431if test $g77_cv_sys_cygwin32 = yes \
    12721432  || test $g77_cv_sys_mingw32 = yes \
     
    12841444do
    12851445echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    1286 echo "configure:1287: checking for $ac_func" >&5
     1446echo "configure:1447: checking for $ac_func" >&5
    12871447if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    12881448  echo $ac_n "(cached) $ac_c" 1>&6
    12891449else
    12901450  cat > conftest.$ac_ext <<EOF
    1291 #line 1292 "configure"
     1451#line 1452 "configure"
    12921452#include "confdefs.h"
    12931453/* System header to define __stub macros and hopefully few prototypes,
     
    13121472; return 0; }
    13131473EOF
    1314 if { (eval echo configure:1315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1474if { (eval echo configure:1475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    13151475  rm -rf conftest*
    13161476  eval "ac_cv_func_$ac_func=yes"
     
    13391499do
    13401500echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    1341 echo "configure:1342: checking for $ac_func" >&5
     1501echo "configure:1502: checking for $ac_func" >&5
    13421502if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    13431503  echo $ac_n "(cached) $ac_c" 1>&6
    13441504else
    13451505  cat > conftest.$ac_ext <<EOF
    1346 #line 1347 "configure"
     1506#line 1507 "configure"
    13471507#include "confdefs.h"
    13481508/* System header to define __stub macros and hopefully few prototypes,
     
    13671527; return 0; }
    13681528EOF
    1369 if { (eval echo configure:1370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1529if { (eval echo configure:1530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    13701530  rm -rf conftest*
    13711531  eval "ac_cv_func_$ac_func=yes"
     
    13941554do
    13951555echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    1396 echo "configure:1397: checking for $ac_func" >&5
     1556echo "configure:1557: checking for $ac_func" >&5
    13971557if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    13981558  echo $ac_n "(cached) $ac_c" 1>&6
    13991559else
    14001560  cat > conftest.$ac_ext <<EOF
    1401 #line 1402 "configure"
     1561#line 1562 "configure"
    14021562#include "confdefs.h"
    14031563/* System header to define __stub macros and hopefully few prototypes,
     
    14221582; return 0; }
    14231583EOF
    1424 if { (eval echo configure:1425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1584if { (eval echo configure:1585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    14251585  rm -rf conftest*
    14261586  eval "ac_cv_func_$ac_func=yes"
     
    14491609do
    14501610echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    1451 echo "configure:1452: checking for $ac_func" >&5
     1611echo "configure:1612: checking for $ac_func" >&5
    14521612if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    14531613  echo $ac_n "(cached) $ac_c" 1>&6
    14541614else
    14551615  cat > conftest.$ac_ext <<EOF
    1456 #line 1457 "configure"
     1616#line 1617 "configure"
    14571617#include "confdefs.h"
    14581618/* System header to define __stub macros and hopefully few prototypes,
     
    14771637; return 0; }
    14781638EOF
    1479 if { (eval echo configure:1480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1639if { (eval echo configure:1640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    14801640  rm -rf conftest*
    14811641  eval "ac_cv_func_$ac_func=yes"
     
    15041664do
    15051665echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    1506 echo "configure:1507: checking for $ac_func" >&5
     1666echo "configure:1667: checking for $ac_func" >&5
    15071667if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    15081668  echo $ac_n "(cached) $ac_c" 1>&6
    15091669else
    15101670  cat > conftest.$ac_ext <<EOF
    1511 #line 1512 "configure"
     1671#line 1672 "configure"
    15121672#include "confdefs.h"
    15131673/* System header to define __stub macros and hopefully few prototypes,
     
    15321692; return 0; }
    15331693EOF
    1534 if { (eval echo configure:1535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1694if { (eval echo configure:1695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    15351695  rm -rf conftest*
    15361696  eval "ac_cv_func_$ac_func=yes"
     
    15591719do
    15601720echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    1561 echo "configure:1562: checking for $ac_func" >&5
     1721echo "configure:1722: checking for $ac_func" >&5
    15621722if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    15631723  echo $ac_n "(cached) $ac_c" 1>&6
    15641724else
    15651725  cat > conftest.$ac_ext <<EOF
    1566 #line 1567 "configure"
     1726#line 1727 "configure"
    15671727#include "confdefs.h"
    15681728/* System header to define __stub macros and hopefully few prototypes,
     
    15871747; return 0; }
    15881748EOF
    1589 if { (eval echo configure:1590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1749if { (eval echo configure:1750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    15901750  rm -rf conftest*
    15911751  eval "ac_cv_func_$ac_func=yes"
     
    16171777# we're posix-conformant, so always do the test.
    16181778echo $ac_n "checking for ansi/posix sprintf result""... $ac_c" 1>&6
    1619 echo "configure:1620: checking for ansi/posix sprintf result" >&5
     1779echo "configure:1780: checking for ansi/posix sprintf result" >&5
    16201780if test "$cross_compiling" = yes; then
    16211781  g77_cv_sys_sprintf_ansi=no
    16221782else
    16231783  cat > conftest.$ac_ext <<EOF
    1624 #line 1625 "configure"
     1784#line 1785 "configure"
    16251785#include "confdefs.h"
    16261786  #include <stdio.h>
     
    16291789
    16301790EOF
    1631 if { (eval echo configure:1632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     1791if { (eval echo configure:1792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    16321792then
    16331793  g77_cv_sys_sprintf_ansi=yes
     
    16601820# define NON_ANSI_RW_MODES on unix (can't hurt)
    16611821echo $ac_n "checking NON_ANSI_RW_MODES""... $ac_c" 1>&6
    1662 echo "configure:1663: checking NON_ANSI_RW_MODES" >&5
     1822echo "configure:1823: checking NON_ANSI_RW_MODES" >&5
    16631823cat > conftest.$ac_ext <<EOF
    1664 #line 1665 "configure"
     1824#line 1825 "configure"
    16651825#include "confdefs.h"
    16661826#ifdef unix
     
    17071867
    17081868echo $ac_n "checking for off_t""... $ac_c" 1>&6
    1709 echo "configure:1710: checking for off_t" >&5
     1869echo "configure:1870: checking for off_t" >&5
    17101870if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
    17111871  echo $ac_n "(cached) $ac_c" 1>&6
    17121872else
    17131873  cat > conftest.$ac_ext <<EOF
    1714 #line 1715 "configure"
     1874#line 1875 "configure"
    17151875#include "confdefs.h"
    17161876#include <sys/types.h>
     
    18201980# Run this file to recreate the current configuration.
    18211981# This directory was configured as follows,
     1982EOF
     1983echo ': ${CONFIG_SHELL='"${CONFIG_SHELL-/bin/sh}"'}' >> $CONFIG_STATUS
     1984cat >> $CONFIG_STATUS <<EOF
    18221985# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
    18231986#
     
    18442007
    18452008ac_given_srcdir=$srcdir
     2009PATHIFS="$PATH_IFS"
    18462010
    18472011trap 'rm -fr `echo "Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
     
    18542018$ac_vpsub
    18552019$extrasub
     2020s,\([^a-zA-Z0-9:]\)/bin/sh\(.exe\),\1${CONFIG_SHELL-/bin/sh}\2,g
    18562021s%@SHELL@%$SHELL%g
    18572022s%@CFLAGS@%$CFLAGS%g
     
    18772042s%@infodir@%$infodir%g
    18782043s%@mandir@%$mandir%g
     2044s%@PATH_IFS@%$PATH_IFS%g
     2045s%@EXEEXT@%$EXEEXT%g
    18792046s%@CC@%$CC%g
    18802047s%@LIBTOOL@%$LIBTOOL%g
     
    19522119      if test -z "$ac_dots"; then top_srcdir=.
    19532120      else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
    1954   /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
     2121  /* | [A-Za-z]:*)
     2122    srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
    19552123  *) # Relative path.
    19562124    srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
     
    19682136  esac
    19692137
    1970   ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
     2138  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%$PATHIFS% $ac_given_srcdir/%g"`
    19712139  sed -e "$ac_comsub
    19722140s%@configure_input@%$configure_input%g
     
    20142182
    20152183  rm -f conftest.frag conftest.in conftest.out
    2016   ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
     2184# kso the other way around might work better with drive letters and such.
     2185#  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
     2186  ac_file_inputs=`echo $ac_file_in|sed -e "s%:% $ac_given_srcdir/%g" -e "s%^%$ac_given_srcdir/%" `
    20172187  cat $ac_file_inputs > conftest.in
    20182188
  • trunk/src/gcc/libf2c/libU77/configure

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r79 r80  
    521521fi
    522522
     523echo $ac_n "checking for path separator""... $ac_c" 1>&6
     524echo "configure:525: checking for path separator" >&5
     525# Filter path to get backslahes into forwardslashes
     526case "`uname -s 2> /dev/null`" in
     527OS/2)
     528  PATH=`echo -E "$PATH" | sed 's+\\\\+/+g'`
     529  PATH_IFS=';'
     530  ;;
     531*)
     532  PATH_IFS=':'
     533  ;;
     534esac
     535echo "$ac_t""${PATH_IFS}" 1>&6
     536
     537echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
     538echo "configure:539: checking for Cygwin environment" >&5
     539if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
     540  echo $ac_n "(cached) $ac_c" 1>&6
     541else
     542  cat > conftest.$ac_ext <<EOF
     543#line 544 "configure"
     544#include "confdefs.h"
     545
     546int main() {
     547
     548#ifndef __CYGWIN__
     549#define __CYGWIN__ __CYGWIN32__
     550#endif
     551return __CYGWIN__;
     552; return 0; }
     553EOF
     554if { (eval echo configure:555: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     555  rm -rf conftest*
     556  ac_cv_cygwin=yes
     557else
     558  echo "configure: failed program was:" >&5
     559  cat conftest.$ac_ext >&5
     560  rm -rf conftest*
     561  ac_cv_cygwin=no
     562fi
     563rm -f conftest*
     564rm -f conftest*
     565fi
     566
     567echo "$ac_t""$ac_cv_cygwin" 1>&6
     568CYGWIN=
     569test "$ac_cv_cygwin" = yes && CYGWIN=yes
     570echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
     571echo "configure:572: checking for mingw32 environment" >&5
     572if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
     573  echo $ac_n "(cached) $ac_c" 1>&6
     574else
     575  cat > conftest.$ac_ext <<EOF
     576#line 577 "configure"
     577#include "confdefs.h"
     578
     579int main() {
     580return __MINGW32__;
     581; return 0; }
     582EOF
     583if { (eval echo configure:584: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     584  rm -rf conftest*
     585  ac_cv_mingw32=yes
     586else
     587  echo "configure: failed program was:" >&5
     588  cat conftest.$ac_ext >&5
     589  rm -rf conftest*
     590  ac_cv_mingw32=no
     591fi
     592rm -f conftest*
     593rm -f conftest*
     594fi
     595
     596echo "$ac_t""$ac_cv_mingw32" 1>&6
     597MINGW32=
     598test "$ac_cv_mingw32" = yes && MINGW32=yes
     599echo $ac_n "checking for EMX/OS2 environment""... $ac_c" 1>&6
     600echo "configure:601: checking for EMX/OS2 environment" >&5
     601if eval "test \"`echo '$''{'ac_cv_emxos2'+set}'`\" = set"; then
     602  echo $ac_n "(cached) $ac_c" 1>&6
     603else
     604  : ${CC=gcc.exe}
     605cat > conftest.$ac_ext <<EOF
     606#line 607 "configure"
     607#include "confdefs.h"
     608
     609int main() {
     610return __EMX__;
     611; return 0; }
     612EOF
     613if { (eval echo configure:614: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     614  rm -rf conftest*
     615  ac_cv_emxos2=yes
     616else
     617  echo "configure: failed program was:" >&5
     618  cat conftest.$ac_ext >&5
     619  rm -rf conftest*
     620  ac_cv_emxos2=no
     621fi
     622rm -f conftest*
     623rm -f conftest*
     624fi
     625
     626echo "$ac_t""$ac_cv_emxos2" 1>&6
     627if eval "test \"`echo '$''{'ac_cv_libpre'+set}'`\" = set"; then
     628  echo $ac_n "(cached) $ac_c" 1>&6
     629else
     630  if test "$ac_cv_emxos2" = yes ; then
     631  ac_cv_libpre=
     632else
     633  ac_cv_libpre=lib
     634fi
     635
     636fi
     637
     638EMXOS2=
     639test "$ac_cv_emxos2" = yes && EMXOS2=yes
     640
     641
     642
     643echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
     644echo "configure:645: checking for executable suffix" >&5
     645if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
     646  echo $ac_n "(cached) $ac_c" 1>&6
     647else
     648  if test "$CYGWIN" = yes || test "$MINGW32" = yes || test "$EMXOS2" = yes; then
     649  ac_cv_exeext=.exe
     650else
     651  rm -f conftest*
     652  echo 'int main () { return 0; }' > conftest.$ac_ext
     653  ac_cv_exeext=
     654  if { (eval echo configure:655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     655    for file in conftest.*; do
     656      case $file in
     657      *.c | *.o | *.obj) ;;
     658      *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
     659      esac
     660    done
     661  else
     662    { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
     663  fi
     664  rm -f conftest*
     665  test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
     666fi
     667fi
     668
     669EXEEXT=""
     670test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
     671echo "$ac_t""${ac_cv_exeext}" 1>&6
     672ac_exeext=$EXEEXT
     673
    523674
    524675
     
    553704set dummy gcc; ac_word=$2
    554705echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    555 echo "configure:556: checking for $ac_word" >&5
     706echo "configure:707: checking for $ac_word" >&5
    556707if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    557708  echo $ac_n "(cached) $ac_c" 1>&6
     
    560711  ac_cv_prog_CC="$CC" # Let the user override the test.
    561712else
    562   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     713  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    563714  ac_dummy="$PATH"
    564715  for ac_dir in $ac_dummy; do
    565716    test -z "$ac_dir" && ac_dir=.
    566     if test -f $ac_dir/$ac_word; then
     717    if test -f $ac_dir/$ac_word -o \
     718            -f $ac_dir/$ac_word$ac_exeext ; then
    567719      ac_cv_prog_CC="gcc"
    568720      break
     
    583735set dummy cc; ac_word=$2
    584736echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    585 echo "configure:586: checking for $ac_word" >&5
     737echo "configure:738: checking for $ac_word" >&5
    586738if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    587739  echo $ac_n "(cached) $ac_c" 1>&6
     
    590742  ac_cv_prog_CC="$CC" # Let the user override the test.
    591743else
    592   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     744  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    593745  ac_prog_rejected=no
    594746  ac_dummy="$PATH"
    595747  for ac_dir in $ac_dummy; do
    596748    test -z "$ac_dir" && ac_dir=.
    597     if test -f $ac_dir/$ac_word; then
    598       if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
     749    if test -f $ac_dir/$ac_word -o \
     750            -f $ac_dir/$ac_word$ac_exeext ; then
     751      if test "$ac_dir/$ac_word" = "/usr/ucb/cc" -o \
     752               "$ac_dir/$ac_word$ac_exeext" = "/usr/ucb/cc" ; then
    599753        ac_prog_rejected=yes
    600754        continue
     
    634788set dummy cl; ac_word=$2
    635789echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    636 echo "configure:637: checking for $ac_word" >&5
     790echo "configure:791: checking for $ac_word" >&5
    637791if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    638792  echo $ac_n "(cached) $ac_c" 1>&6
     
    641795  ac_cv_prog_CC="$CC" # Let the user override the test.
    642796else
    643   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     797  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    644798  ac_dummy="$PATH"
    645799  for ac_dir in $ac_dummy; do
    646800    test -z "$ac_dir" && ac_dir=.
    647     if test -f $ac_dir/$ac_word; then
     801    if test -f $ac_dir/$ac_word -o \
     802            -f $ac_dir/$ac_word$ac_exeext ; then
    648803      ac_cv_prog_CC="cl"
    649804      break
     
    667822
    668823echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    669 echo "configure:670: checking whether we are using GNU C" >&5
     824echo "configure:825: checking whether we are using GNU C" >&5
    670825if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    671826  echo $ac_n "(cached) $ac_c" 1>&6
     
    676831#endif
    677832EOF
    678 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:679: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     833if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:834: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    679834  ac_cv_prog_gcc=yes
    680835else
     
    695850CFLAGS=
    696851echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    697 echo "configure:698: checking whether ${CC-cc} accepts -g" >&5
     852echo "configure:853: checking whether ${CC-cc} accepts -g" >&5
    698853if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    699854  echo $ac_n "(cached) $ac_c" 1>&6
     
    739894
    740895echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
    741 echo "configure:742: checking whether ${MAKE-make} sets \${MAKE}" >&5
     896echo "configure:897: checking whether ${MAKE-make} sets \${MAKE}" >&5
    742897set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
    743898if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
     
    769924set dummy chmod; ac_word=$2
    770925echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    771 echo "configure:772: checking for $ac_word" >&5
     926echo "configure:927: checking for $ac_word" >&5
    772927if eval "test \"`echo '$''{'ac_cv_path_ac_cv_prog_chmod'+set}'`\" = set"; then
    773928  echo $ac_n "(cached) $ac_c" 1>&6
    774929else
    775930  case "$ac_cv_prog_chmod" in
    776   /*)
     931  /* | [a-zA-Z]:*)
    777932  ac_cv_path_ac_cv_prog_chmod="$ac_cv_prog_chmod" # Let the user override the test with a path.
    778933  ;;
    779   ?:/*)                  
     934  ?:/*)                 
    780935  ac_cv_path_ac_cv_prog_chmod="$ac_cv_prog_chmod" # Let the user override the test with a dos path.
    781936  ;;
    782937  *)
    783   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     938  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    784939  ac_dummy="$PATH"
    785   for ac_dir in $ac_dummy; do 
     940  for ac_dir in $ac_dummy; do
    786941    test -z "$ac_dir" && ac_dir=.
    787942    if test -f $ac_dir/$ac_word; then
    788943      ac_cv_path_ac_cv_prog_chmod="$ac_dir/$ac_word"
     944      break
     945    fi
     946    if test -f $ac_dir/$ac_word$ac_exeext; then
     947      ac_cv_path_ac_cv_prog_chmod="$ac_dir/$ac_word$ac_exeext"
    789948      break
    790949    fi
     
    813972
    814973echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
    815 echo "configure:816: checking how to run the C preprocessor" >&5
     974echo "configure:975: checking how to run the C preprocessor" >&5
    816975# On Suns, sometimes $CPP names a directory.
    817976if test -n "$CPP" && test -d "$CPP"; then
     
    828987  # not just through cpp.
    829988  cat > conftest.$ac_ext <<EOF
    830 #line 831 "configure"
     989#include <sys/types.h>
     990#line 991 "configure"
    831991#include "confdefs.h"
    832992#include <assert.h>
     
    834994EOF
    835995ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    836 { (eval echo configure:837: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     996{ (eval echo configure:997: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    837997ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    838998if test -z "$ac_err"; then
     
    8451005  CPP="${CC-cc} -E -traditional-cpp"
    8461006  cat > conftest.$ac_ext <<EOF
    847 #line 848 "configure"
     1007#include <sys/types.h>
     1008#line 1009 "configure"
    8481009#include "confdefs.h"
    8491010#include <assert.h>
     
    8511012EOF
    8521013ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    853 { (eval echo configure:854: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1014{ (eval echo configure:1015: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    8541015ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    8551016if test -z "$ac_err"; then
     
    8621023  CPP="${CC-cc} -nologo -E"
    8631024  cat > conftest.$ac_ext <<EOF
    864 #line 865 "configure"
     1025#include <sys/types.h>
     1026#line 1027 "configure"
    8651027#include "confdefs.h"
    8661028#include <assert.h>
     
    8681030EOF
    8691031ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    870 { (eval echo configure:871: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1032{ (eval echo configure:1033: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    8711033ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    8721034if test -z "$ac_err"; then
     
    8931055
    8941056echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
    895 echo "configure:896: checking for ANSI C header files" >&5
     1057echo "configure:1058: checking for ANSI C header files" >&5
    8961058if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
    8971059  echo $ac_n "(cached) $ac_c" 1>&6
    8981060else
    8991061  cat > conftest.$ac_ext <<EOF
    900 #line 901 "configure"
     1062#include <sys/types.h>
     1063#line 1064 "configure"
    9011064#include "confdefs.h"
    9021065#include <stdlib.h>
     
    9061069EOF
    9071070ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    908 { (eval echo configure:909: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1071{ (eval echo configure:1072: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    9091072ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    9101073if test -z "$ac_err"; then
     
    9231086  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    9241087cat > conftest.$ac_ext <<EOF
    925 #line 926 "configure"
     1088#line 1089 "configure"
    9261089#include "confdefs.h"
    9271090#include <string.h>
     
    9411104  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    9421105cat > conftest.$ac_ext <<EOF
    943 #line 944 "configure"
     1106#line 1107 "configure"
    9441107#include "confdefs.h"
    9451108#include <stdlib.h>
     
    9621125else
    9631126  cat > conftest.$ac_ext <<EOF
    964 #line 965 "configure"
     1127#line 1128 "configure"
    9651128#include "confdefs.h"
    9661129#include <ctype.h>
     
    9731136
    9741137EOF
    975 if { (eval echo configure:976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     1138if { (eval echo configure:1139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    9761139then
    9771140  :
     
    9981161
    9991162echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
    1000 echo "configure:1001: checking whether time.h and sys/time.h may both be included" >&5
     1163echo "configure:1164: checking whether time.h and sys/time.h may both be included" >&5
    10011164if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
    10021165  echo $ac_n "(cached) $ac_c" 1>&6
    10031166else
    10041167  cat > conftest.$ac_ext <<EOF
    1005 #line 1006 "configure"
     1168#line 1169 "configure"
    10061169#include "confdefs.h"
    10071170#include <sys/types.h>
     
    10121175; return 0; }
    10131176EOF
    1014 if { (eval echo configure:1015: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1177if { (eval echo configure:1178: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    10151178  rm -rf conftest*
    10161179  ac_cv_header_time=yes
     
    10371200ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    10381201echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    1039 echo "configure:1040: checking for $ac_hdr" >&5
     1202echo "configure:1203: checking for $ac_hdr" >&5
    10401203if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    10411204  echo $ac_n "(cached) $ac_c" 1>&6
    10421205else
    10431206  cat > conftest.$ac_ext <<EOF
    1044 #line 1045 "configure"
     1207#include <sys/types.h>
     1208#line 1209 "configure"
    10451209#include "confdefs.h"
    10461210#include <$ac_hdr>
    10471211EOF
    10481212ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1049 { (eval echo configure:1050: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1213{ (eval echo configure:1214: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    10501214ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    10511215if test -z "$ac_err"; then
     
    10751239
    10761240echo $ac_n "checking for working const""... $ac_c" 1>&6
    1077 echo "configure:1078: checking for working const" >&5
     1241echo "configure:1242: checking for working const" >&5
    10781242if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
    10791243  echo $ac_n "(cached) $ac_c" 1>&6
    10801244else
    10811245  cat > conftest.$ac_ext <<EOF
    1082 #line 1083 "configure"
     1246#line 1247 "configure"
    10831247#include "confdefs.h"
    10841248
     
    11291293; return 0; }
    11301294EOF
    1131 if { (eval echo configure:1132: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1295if { (eval echo configure:1296: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    11321296  rm -rf conftest*
    11331297  ac_cv_c_const=yes
     
    11501314
    11511315echo $ac_n "checking for size_t""... $ac_c" 1>&6
    1152 echo "configure:1153: checking for size_t" >&5
     1316echo "configure:1317: checking for size_t" >&5
    11531317if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
    11541318  echo $ac_n "(cached) $ac_c" 1>&6
    11551319else
    11561320  cat > conftest.$ac_ext <<EOF
    1157 #line 1158 "configure"
     1321#line 1322 "configure"
    11581322#include "confdefs.h"
    11591323#include <sys/types.h>
     
    11831347
    11841348echo $ac_n "checking for mode_t""... $ac_c" 1>&6
    1185 echo "configure:1186: checking for mode_t" >&5
     1349echo "configure:1350: checking for mode_t" >&5
    11861350if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
    11871351  echo $ac_n "(cached) $ac_c" 1>&6
    11881352else
    11891353  cat > conftest.$ac_ext <<EOF
    1190 #line 1191 "configure"
     1354#line 1355 "configure"
    11911355#include "confdefs.h"
    11921356#include <sys/types.h>
     
    12171381
    12181382echo $ac_n "checking for pid_t""... $ac_c" 1>&6
    1219 echo "configure:1220: checking for pid_t" >&5
     1383echo "configure:1384: checking for pid_t" >&5
    12201384if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
    12211385  echo $ac_n "(cached) $ac_c" 1>&6
    12221386else
    12231387  cat > conftest.$ac_ext <<EOF
    1224 #line 1225 "configure"
     1388#line 1389 "configure"
    12251389#include "confdefs.h"
    12261390#include <sys/types.h>
     
    12501414
    12511415echo $ac_n "checking for st_blksize in struct stat""... $ac_c" 1>&6
    1252 echo "configure:1253: checking for st_blksize in struct stat" >&5
     1416echo "configure:1417: checking for st_blksize in struct stat" >&5
    12531417if eval "test \"`echo '$''{'ac_cv_struct_st_blksize'+set}'`\" = set"; then
    12541418  echo $ac_n "(cached) $ac_c" 1>&6
    12551419else
    12561420  cat > conftest.$ac_ext <<EOF
    1257 #line 1258 "configure"
     1421#line 1422 "configure"
    12581422#include "confdefs.h"
    12591423#include <sys/types.h>
     
    12631427; return 0; }
    12641428EOF
    1265 if { (eval echo configure:1266: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1429if { (eval echo configure:1430: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    12661430  rm -rf conftest*
    12671431  ac_cv_struct_st_blksize=yes
     
    12841448
    12851449echo $ac_n "checking for st_blocks in struct stat""... $ac_c" 1>&6
    1286 echo "configure:1287: checking for st_blocks in struct stat" >&5
     1450echo "configure:1451: checking for st_blocks in struct stat" >&5
    12871451if eval "test \"`echo '$''{'ac_cv_struct_st_blocks'+set}'`\" = set"; then
    12881452  echo $ac_n "(cached) $ac_c" 1>&6
    12891453else
    12901454  cat > conftest.$ac_ext <<EOF
    1291 #line 1292 "configure"
     1455#line 1456 "configure"
    12921456#include "confdefs.h"
    12931457#include <sys/types.h>
     
    12971461; return 0; }
    12981462EOF
    1299 if { (eval echo configure:1300: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1463if { (eval echo configure:1464: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    13001464  rm -rf conftest*
    13011465  ac_cv_struct_st_blocks=yes
     
    13201484
    13211485echo $ac_n "checking for st_rdev in struct stat""... $ac_c" 1>&6
    1322 echo "configure:1323: checking for st_rdev in struct stat" >&5
     1486echo "configure:1487: checking for st_rdev in struct stat" >&5
    13231487if eval "test \"`echo '$''{'ac_cv_struct_st_rdev'+set}'`\" = set"; then
    13241488  echo $ac_n "(cached) $ac_c" 1>&6
    13251489else
    13261490  cat > conftest.$ac_ext <<EOF
    1327 #line 1328 "configure"
     1491#line 1492 "configure"
    13281492#include "confdefs.h"
    13291493#include <sys/types.h>
     
    13331497; return 0; }
    13341498EOF
    1335 if { (eval echo configure:1336: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1499if { (eval echo configure:1500: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    13361500  rm -rf conftest*
    13371501  ac_cv_struct_st_rdev=yes
     
    13541518
    13551519echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
    1356 echo "configure:1357: checking whether struct tm is in sys/time.h or time.h" >&5
     1520echo "configure:1521: checking whether struct tm is in sys/time.h or time.h" >&5
    13571521if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
    13581522  echo $ac_n "(cached) $ac_c" 1>&6
    13591523else
    13601524  cat > conftest.$ac_ext <<EOF
    1361 #line 1362 "configure"
     1525#line 1526 "configure"
    13621526#include "confdefs.h"
    13631527#include <sys/types.h>
     
    13671531; return 0; }
    13681532EOF
    1369 if { (eval echo configure:1370: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1533if { (eval echo configure:1534: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    13701534  rm -rf conftest*
    13711535  ac_cv_struct_tm=time.h
     
    13891553
    13901554echo $ac_n "checking for gethostname in -lsocket""... $ac_c" 1>&6
    1391 echo "configure:1392: checking for gethostname in -lsocket" >&5
     1555echo "configure:1556: checking for gethostname in -lsocket" >&5
    13921556ac_lib_var=`echo socket'_'gethostname | sed 'y%./+-%__p_%'`
    13931557if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    13971561LIBS="-lsocket  $LIBS"
    13981562cat > conftest.$ac_ext <<EOF
    1399 #line 1400 "configure"
     1563#line 1564 "configure"
    14001564#include "confdefs.h"
    14011565/* Override any gcc2 internal prototype to avoid an error.  */
     
    14081572; return 0; }
    14091573EOF
    1410 if { (eval echo configure:1411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1574if { (eval echo configure:1575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    14111575  rm -rf conftest*
    14121576  eval "ac_cv_lib_$ac_lib_var=yes"
     
    14341598do
    14351599echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    1436 echo "configure:1437: checking for $ac_func" >&5
     1600echo "configure:1601: checking for $ac_func" >&5
    14371601if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    14381602  echo $ac_n "(cached) $ac_c" 1>&6
    14391603else
    14401604  cat > conftest.$ac_ext <<EOF
    1441 #line 1442 "configure"
     1605#line 1606 "configure"
    14421606#include "confdefs.h"
    14431607/* System header to define __stub macros and hopefully few prototypes,
     
    14621626; return 0; }
    14631627EOF
    1464 if { (eval echo configure:1465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1628if { (eval echo configure:1629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    14651629  rm -rf conftest*
    14661630  eval "ac_cv_func_$ac_func=yes"
     
    14911655do
    14921656echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    1493 echo "configure:1494: checking for $ac_func" >&5
     1657echo "configure:1658: checking for $ac_func" >&5
    14941658if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    14951659  echo $ac_n "(cached) $ac_c" 1>&6
    14961660else
    14971661  cat > conftest.$ac_ext <<EOF
    1498 #line 1499 "configure"
     1662#line 1663 "configure"
    14991663#include "confdefs.h"
    15001664/* System header to define __stub macros and hopefully few prototypes,
     
    15191683; return 0; }
    15201684EOF
    1521 if { (eval echo configure:1522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1685if { (eval echo configure:1686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    15221686  rm -rf conftest*
    15231687  eval "ac_cv_func_$ac_func=yes"
     
    15451709  if test "$ac_cv_func_gettimeofday" = yes; then
    15461710    echo $ac_n "checking for struct timezone""... $ac_c" 1>&6
    1547 echo "configure:1548: checking for struct timezone" >&5
     1711echo "configure:1712: checking for struct timezone" >&5
    15481712if eval "test \"`echo '$''{'g77_cv_struct_timezone'+set}'`\" = set"; then
    15491713  echo $ac_n "(cached) $ac_c" 1>&6
    15501714else
    15511715  cat > conftest.$ac_ext <<EOF
    1552 #line 1553 "configure"
     1716#line 1717 "configure"
    15531717#include "confdefs.h"
    15541718#include <sys/time.h>
     
    15571721; return 0; }
    15581722EOF
    1559 if { (eval echo configure:1560: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1723if { (eval echo configure:1724: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    15601724  rm -rf conftest*
    15611725  g77_cv_struct_timezone=yes
     
    15781742else
    15791743  cat > conftest.$ac_ext <<EOF
    1580 #line 1581 "configure"
     1744#line 1745 "configure"
    15811745#include "confdefs.h"
    15821746
     
    16011765}
    16021766EOF
    1603 if { (eval echo configure:1604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     1767if { (eval echo configure:1768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    16041768then
    16051769  cat >> confdefs.h <<\EOF
     
    16171781   
    16181782    echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6
    1619 echo "configure:1620: checking whether gettimeofday can accept two arguments" >&5
     1783echo "configure:1784: checking whether gettimeofday can accept two arguments" >&5
    16201784if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then
    16211785  echo $ac_n "(cached) $ac_c" 1>&6
    16221786else
    16231787  cat > conftest.$ac_ext <<EOF
    1624 #line 1625 "configure"
     1788#line 1789 "configure"
    16251789#include "confdefs.h"
    16261790
     
    16481812; return 0; }
    16491813EOF
    1650 if { (eval echo configure:1651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1814if { (eval echo configure:1815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    16511815  rm -rf conftest*
    16521816  emacs_cv_gettimeofday_two_arguments=yes
     
    17541918# Run this file to recreate the current configuration.
    17551919# This directory was configured as follows,
     1920EOF
     1921echo ': ${CONFIG_SHELL='"${CONFIG_SHELL-/bin/sh}"'}' >> $CONFIG_STATUS
     1922cat >> $CONFIG_STATUS <<EOF
    17561923# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
    17571924#
     
    17781945
    17791946ac_given_srcdir=$srcdir
     1947PATHIFS="$PATH_IFS"
    17801948
    17811949trap 'rm -fr `echo "Makefile config.h:config.hin" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
     
    17881956$ac_vpsub
    17891957$extrasub
     1958s,\([^a-zA-Z0-9:]\)/bin/sh\(.exe\),\1${CONFIG_SHELL-/bin/sh}\2,g
    17901959s%@SHELL@%$SHELL%g
    17911960s%@CFLAGS@%$CFLAGS%g
     
    18111980s%@infodir@%$infodir%g
    18121981s%@mandir@%$mandir%g
     1982s%@PATH_IFS@%$PATH_IFS%g
     1983s%@EXEEXT@%$EXEEXT%g
    18131984s%@CC@%$CC%g
    18141985s%@LIBTOOL@%$LIBTOOL%g
     
    18922063      if test -z "$ac_dots"; then top_srcdir=.
    18932064      else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
    1894   /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
     2065  /* | [A-Za-z]:*)
     2066    srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
    18952067  *) # Relative path.
    18962068    srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
     
    19082080  esac
    19092081
    1910   ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
     2082  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%$PATHIFS% $ac_given_srcdir/%g"`
    19112083  sed -e "$ac_comsub
    19122084s%@configure_input@%$configure_input%g
     
    19542126
    19552127  rm -f conftest.frag conftest.in conftest.out
    1956   ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
     2128# kso the other way around might work better with drive letters and such.
     2129#  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
     2130  ac_file_inputs=`echo $ac_file_in|sed -e "s%:% $ac_given_srcdir/%g" -e "s%^%$ac_given_srcdir/%" `
    19572131  cat $ac_file_inputs > conftest.in
    19582132
Note: See TracChangeset for help on using the changeset viewer.