Changeset 1394 for trunk/src/gcc/libf2c


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

#1040: Joined the GCC 3.3.3 with the trunk.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/gcc/libf2c/Makefile.in

    • Property cvs2svn:cvs-rev changed from 1.2 to 1.3
    r1393 r1394  
    2020#02111-1307, USA.
    2121
    22 SHELL = /bin/sh
     22SHELL = @SHELL@
     23PWD_COMMAND = $${PWDCMD-pwd}
    2324MAKEOVERRIDES=
    2425.NOEXPORTS:
     
    6768LIBTOOL = @LIBTOOL@
    6869CC = @CC@
     70WARN_CFLAGS = -W -Wall
    6971CFLAGS = @CFLAGS@
    7072AR = @AR@
     
    7779        LD='$(LD)' \
    7880        LIBTOOL='$(LIBTOOL)' \
     81        WARN_CFLAGS='$(WARN_CFLAGS)' \
    7982        CFLAGS='$(CFLAGS)' \
    8083        CPPFLAGS='$(CPPFLAGS)' \
     
    123126
    124127all: all-unilib
    125 ifeq "$(BUILD_PLATFORM)" "OS2"
    126         $(MULTIDO) $(FLAGS_TO_PASS) multi-do DO="all-unilib"
    127 else
    128128        : $(MAKE) ; exec $(MULTIDO) $(FLAGS_TO_PASS) multi-do DO="all-unilib"
    129 endif       
    130129
    131130# `all-unilib' is the overall target in the absence of multilibs,
     
    178177          echo $${name}; \
    179178          $(LIBTOOL) --mode=compile $(CC) -c -I. -I$(srcdir) -I../../include \
    180             $(CPPFLAGS) $(CFLAGS) -DL$${name} $(srcdir)/f2cext.c \
     179            $(CPPFLAGS) $(WARN_CFLAGS) $(CFLAGS) -DL$${name} $(srcdir)/f2cext.c \
    181180            -o libE77/L$${name}.lo ; \
    182181          if [ $$? -eq 0 ] ; then true; else exit 1; fi; \
     
    261260
    262261subdir_do:
    263         @rootpre=`pwd`/; export rootpre; \
    264         srcrootpre=`cd $(srcdir); pwd`/; export srcrootpre; \
     262        @rootpre=`${PWD_COMMAND}`/; export rootpre; \
     263        srcrootpre=`cd $(srcdir); ${PWD_COMMAND}`/; export srcrootpre; \
    265264        for i in .. $(DODIRS); do \
    266265          if [ x$$i != x.. ]; then \
  • trunk/src/gcc/libf2c/configure

    • Property cvs2svn:cvs-rev changed from 1.4 to 1.5
    r1393 r1394  
    858858# canonicalize only relative paths, because then amd will not unmount
    859859# drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
    860 glibcpp_builddir=`pwd`
     860glibcpp_builddir=`${PWDCMD-pwd}`
    861861case $srcdir in
    862862\\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;;
     
    17051705  hppa*)
    17061706    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
    1707   lt_cv_file_magic_cmd=/usr/bin/file
    1708   lt_cv_file_magic_test_file=/usr/lib/libc.sl
     1707    lt_cv_file_magic_cmd=/usr/bin/file
     1708    lt_cv_file_magic_test_file=/usr/lib/libc.sl
    17091709    ;;
    17101710  ia64*)
     
    17121712    lt_cv_file_magic_cmd=/usr/bin/file
    17131713    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
    1714   ;;
     1714    ;;
    17151715  esac
    17161716  ;;
     
    17401740linux-gnu*)
    17411741  case $host_cpu in
    1742   alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* )
     1742  alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
    17431743    lt_cv_deplibs_check_method=pass_all ;;
    17441744  *)
     
    21872187  ;;
    21882188
     2189x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
     2190  # Find out which ABI we are using.
     2191  echo 'int i;' > conftest.$ac_ext
     2192  if { (eval echo configure:2193: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2193    case "`/usr/bin/file conftest.o`" in
     2194    *32-bit*)
     2195      case $host in
     2196        x86_64-*linux*)
     2197          LD="${LD-ld} -m elf_i386"
     2198          ;;
     2199        ppc64-*linux*|powerpc64-*linux*)
     2200          LD="${LD-ld} -m elf32ppclinux"
     2201          ;;
     2202        s390x-*linux*)
     2203          LD="${LD-ld} -m elf_s390"
     2204          ;;
     2205        sparc64-*linux*)
     2206          LD="${LD-ld} -m elf32_sparc"
     2207          ;;
     2208      esac
     2209      ;;
     2210    *64-bit*)
     2211      case $host in
     2212        x86_64-*linux*)
     2213          LD="${LD-ld} -m elf_x86_64"
     2214          ;;
     2215        ppc*-*linux*|powerpc*-*linux*)
     2216          LD="${LD-ld} -m elf64ppc"
     2217          ;;
     2218        s390*-*linux*)
     2219          LD="${LD-ld} -m elf64_s390"
     2220          ;;
     2221        sparc*-*linux*)
     2222          LD="${LD-ld} -m elf64_sparc"
     2223          ;;
     2224      esac
     2225      ;;
     2226    esac
     2227  fi
     2228  rm -rf conftest*
     2229  ;;
     2230
    21892231*-*-sco3.2v5*)
    21902232  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
     
    21922234  CFLAGS="$CFLAGS -belf"
    21932235  echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
    2194 echo "configure:2195: checking whether the C compiler needs -belf" >&5
     2236echo "configure:2237: checking whether the C compiler needs -belf" >&5
    21952237if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
    21962238  echo $ac_n "(cached) $ac_c" 1>&6
     
    22052247
    22062248     cat > conftest.$ac_ext <<EOF
    2207 #line 2208 "configure"
     2249#line 2250 "configure"
    22082250#include "confdefs.h"
    22092251
     
    22122254; return 0; }
    22132255EOF
    2214 if { (eval echo configure:2215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2256if { (eval echo configure:2257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    22152257  rm -rf conftest*
    22162258  lt_cv_cc_needs_belf=yes
     
    23362378set dummy ranlib; ac_word=$2
    23372379echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2338 echo "configure:2339: checking for $ac_word" >&5
     2380echo "configure:2381: checking for $ac_word" >&5
    23392381if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    23402382  echo $ac_n "(cached) $ac_c" 1>&6
     
    23772419# ./install, which can be erroneously created by make from ./install.sh.
    23782420echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
    2379 echo "configure:2380: checking for a BSD compatible install" >&5
     2421echo "configure:2422: checking for a BSD compatible install" >&5
    23802422if test -z "$INSTALL"; then
    23812423if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
     
    24322474
    24332475echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
    2434 echo "configure:2435: checking whether ${MAKE-make} sets \${MAKE}" >&5
     2476echo "configure:2477: checking whether ${MAKE-make} sets \${MAKE}" >&5
    24352477set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
    24362478if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
     
    24612503# Sanity check for the cross-compilation case:
    24622504echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
    2463 echo "configure:2464: checking how to run the C preprocessor" >&5
     2505echo "configure:2506: checking how to run the C preprocessor" >&5
    24642506# On Suns, sometimes $CPP names a directory.
    24652507if test -n "$CPP" && test -d "$CPP"; then
     
    24772519  cat > conftest.$ac_ext <<EOF
    24782520#include <sys/types.h>
    2479 #line 2480 "configure"
     2521#line 2522 "configure"
    24802522#include "confdefs.h"
    24812523#include <assert.h>
     
    24832525EOF
    24842526ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2485 { (eval echo configure:2486: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2527{ (eval echo configure:2528: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    24862528ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    24872529if test -z "$ac_err"; then
     
    24952537  cat > conftest.$ac_ext <<EOF
    24962538#include <sys/types.h>
    2497 #line 2498 "configure"
     2539#line 2540 "configure"
    24982540#include "confdefs.h"
    24992541#include <assert.h>
     
    25012543EOF
    25022544ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2503 { (eval echo configure:2504: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2545{ (eval echo configure:2546: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    25042546ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    25052547if test -z "$ac_err"; then
     
    25132555  cat > conftest.$ac_ext <<EOF
    25142556#include <sys/types.h>
    2515 #line 2516 "configure"
     2557#line 2558 "configure"
    25162558#include "confdefs.h"
    25172559#include <assert.h>
     
    25192561EOF
    25202562ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2521 { (eval echo configure:2522: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2563{ (eval echo configure:2564: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    25222564ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    25232565if test -z "$ac_err"; then
     
    25452587ac_safe=`echo "stdio.h" | sed 'y%./+-%__p_%'`
    25462588echo $ac_n "checking for stdio.h""... $ac_c" 1>&6
    2547 echo "configure:2548: checking for stdio.h" >&5
     2589echo "configure:2590: checking for stdio.h" >&5
    25482590if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    25492591  echo $ac_n "(cached) $ac_c" 1>&6
     
    25512593  cat > conftest.$ac_ext <<EOF
    25522594#include <sys/types.h>
    2553 #line 2554 "configure"
     2595#line 2596 "configure"
    25542596#include "confdefs.h"
    25552597#include <stdio.h>
    25562598EOF
    25572599ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2558 { (eval echo configure:2559: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2600{ (eval echo configure:2601: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    25592601ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    25602602if test -z "$ac_err"; then
     
    25842626
    25852627echo $ac_n "checking for built-in g77 integer types""... $ac_c" 1>&6
    2586 echo "configure:2587: checking for built-in g77 integer types" >&5
     2628echo "configure:2629: checking for built-in g77 integer types" >&5
    25872629if eval "test \"`echo '$''{'libf2c_cv_has_g77_builtin_types'+set}'`\" = set"; then
    25882630  echo $ac_n "(cached) $ac_c" 1>&6
    25892631else
    25902632  cat > conftest.$ac_ext <<EOF
    2591 #line 2592 "configure"
     2633#line 2634 "configure"
    25922634#include "confdefs.h"
    25932635
     
    25992641; return 0; }
    26002642EOF
    2601 if { (eval echo configure:2602: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2643if { (eval echo configure:2644: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    26022644  rm -rf conftest*
    26032645  libf2c_cv_has_g77_builtin_types=yes
     
    29302972toplevel_srcdir=${toplevel_srcdir}
    29312973CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
     2974ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}"
    29322975
    29332976EOF
  • trunk/src/gcc/libf2c/libF77/configure

    • Property cvs2svn:cvs-rev changed from 1.4 to 1.5
    r1393 r1394  
    11581158fi
    11591159
    1160 
    11611160echo $ac_n "checking for posix""... $ac_c" 1>&6
    1162 echo "configure:1163: checking for posix" >&5
     1161echo "configure:1162: checking for posix" >&5
    11631162if eval "test \"`echo '$''{'g77_cv_header_posix'+set}'`\" = set"; then
    11641163  echo $ac_n "(cached) $ac_c" 1>&6
    11651164else
    11661165  cat > conftest.$ac_ext <<EOF
    1167 #line 1168 "configure"
     1166#line 1167 "configure"
    11681167#include "confdefs.h"
    11691168#include <sys/types.h>
     
    11911190# header isn't actually like checking the functions, though...
    11921191echo $ac_n "checking for GNU library""... $ac_c" 1>&6
    1193 echo "configure:1194: checking for GNU library" >&5
     1192echo "configure:1193: checking for GNU library" >&5
    11941193if eval "test \"`echo '$''{'g77_cv_lib_gnu'+set}'`\" = set"; then
    11951194  echo $ac_n "(cached) $ac_c" 1>&6
    11961195else
    11971196  cat > conftest.$ac_ext <<EOF
    1198 #line 1199 "configure"
     1197#line 1198 "configure"
    11991198#include "confdefs.h"
    12001199#include <stdio.h>
     
    12191218
    12201219echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
    1221 echo "configure:1222: checking return type of signal handlers" >&5
     1220echo "configure:1221: checking return type of signal handlers" >&5
    12221221if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
    12231222  echo $ac_n "(cached) $ac_c" 1>&6
    12241223else
    12251224  cat > conftest.$ac_ext <<EOF
    1226 #line 1227 "configure"
     1225#line 1226 "configure"
    12271226#include "confdefs.h"
    12281227#include <sys/types.h>
     
    12411240; return 0; }
    12421241EOF
    1243 if { (eval echo configure:1244: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1242if { (eval echo configure:1243: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    12441243  rm -rf conftest*
    12451244  ac_cv_type_signal=void
     
    12621261if test $ac_cv_header_stdc != yes; then
    12631262echo $ac_n "checking for atexit""... $ac_c" 1>&6
    1264 echo "configure:1265: checking for atexit" >&5
     1263echo "configure:1264: checking for atexit" >&5
    12651264if eval "test \"`echo '$''{'ac_cv_func_atexit'+set}'`\" = set"; then
    12661265  echo $ac_n "(cached) $ac_c" 1>&6
    12671266else
    12681267  cat > conftest.$ac_ext <<EOF
    1269 #line 1270 "configure"
     1268#line 1269 "configure"
    12701269#include "confdefs.h"
    12711270/* System header to define __stub macros and hopefully few prototypes,
     
    12901289; return 0; }
    12911290EOF
    1292 if { (eval echo configure:1293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1291if { (eval echo configure:1292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    12931292  rm -rf conftest*
    12941293  eval "ac_cv_func_atexit=yes"
     
    13151314
    13161315  echo $ac_n "checking for onexit""... $ac_c" 1>&6
    1317 echo "configure:1318: checking for onexit" >&5
     1316echo "configure:1317: checking for onexit" >&5
    13181317if eval "test \"`echo '$''{'ac_cv_func_onexit'+set}'`\" = set"; then
    13191318  echo $ac_n "(cached) $ac_c" 1>&6
    13201319else
    13211320  cat > conftest.$ac_ext <<EOF
    1322 #line 1323 "configure"
     1321#line 1322 "configure"
    13231322#include "confdefs.h"
    13241323/* System header to define __stub macros and hopefully few prototypes,
     
    13431342; return 0; }
    13441343EOF
    1345 if { (eval echo configure:1346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1344if { (eval echo configure:1345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    13461345  rm -rf conftest*
    13471346  eval "ac_cv_func_onexit=yes"
     
    13611360  echo "$ac_t""no" 1>&6
    13621361echo $ac_n "checking for on_exit""... $ac_c" 1>&6
    1363 echo "configure:1364: checking for on_exit" >&5
     1362echo "configure:1363: checking for on_exit" >&5
    13641363if eval "test \"`echo '$''{'ac_cv_func_on_exit'+set}'`\" = set"; then
    13651364  echo $ac_n "(cached) $ac_c" 1>&6
    13661365else
    13671366  cat > conftest.$ac_ext <<EOF
    1368 #line 1369 "configure"
     1367#line 1368 "configure"
    13691368#include "confdefs.h"
    13701369/* System header to define __stub macros and hopefully few prototypes,
     
    13891388; return 0; }
    13901389EOF
    1391 if { (eval echo configure:1392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1390if { (eval echo configure:1391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    13921391  rm -rf conftest*
    13931392  eval "ac_cv_func_on_exit=yes"
     
    14191418
    14201419echo $ac_n "checking for drem in -lm""... $ac_c" 1>&6
    1421 echo "configure:1422: checking for drem in -lm" >&5
     1420echo "configure:1421: checking for drem in -lm" >&5
    14221421ac_lib_var=`echo m'_'drem | sed 'y%./+-%__p_%'`
    14231422if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    14271426LIBS="-lm  $LIBS"
    14281427cat > conftest.$ac_ext <<EOF
    1429 #line 1430 "configure"
     1428#line 1429 "configure"
    14301429#include "confdefs.h"
    14311430/* Override any gcc2 internal prototype to avoid an error.  */
     
    14381437; return 0; }
    14391438EOF
    1440 if { (eval echo configure:1441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1439if { (eval echo configure:1440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    14411440  rm -rf conftest*
    14421441  eval "ac_cv_lib_$ac_lib_var=yes"
  • trunk/src/gcc/libf2c/libI77/configure

    • Property cvs2svn:cvs-rev changed from 1.4 to 1.5
    r1393 r1394  
    675675
    676676
    677 # These defines are necessary to get 64-bit file size support.
    678 
    679 cat >> confdefs.h <<\EOF
    680 #define _XOPEN_SOURCE 500L
    681 EOF
    682 
    683 # The following is needed by irix6.2 so that struct timeval is declared.
    684 cat >> confdefs.h <<\EOF
    685 #define _XOPEN_SOURCE_EXTENDED 1
    686 EOF
    687 
    688 # The following is needed by Solaris2.5.1 so that struct timeval is declared.
    689 cat >> confdefs.h <<\EOF
    690 #define __EXTENSIONS__ 1
    691 EOF
    692 
    693 cat >> confdefs.h <<\EOF
    694 #define _FILE_OFFSET_BITS 64
    695 EOF
    696 
    697 cat >> confdefs.h <<\EOF
    698 #define _LARGEFILE_SOURCE 1
    699 EOF
    700 
    701 
    702 
    703677
    704678
     
    708682set dummy gcc; ac_word=$2
    709683echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    710 echo "configure:711: checking for $ac_word" >&5
     684echo "configure:685: checking for $ac_word" >&5
    711685if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    712686  echo $ac_n "(cached) $ac_c" 1>&6
     
    739713set dummy cc; ac_word=$2
    740714echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    741 echo "configure:742: checking for $ac_word" >&5
     715echo "configure:716: checking for $ac_word" >&5
    742716if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    743717  echo $ac_n "(cached) $ac_c" 1>&6
     
    792766set dummy cl; ac_word=$2
    793767echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    794 echo "configure:795: checking for $ac_word" >&5
     768echo "configure:769: checking for $ac_word" >&5
    795769if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    796770  echo $ac_n "(cached) $ac_c" 1>&6
     
    826800
    827801echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    828 echo "configure:829: checking whether we are using GNU C" >&5
     802echo "configure:803: checking whether we are using GNU C" >&5
    829803if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    830804  echo $ac_n "(cached) $ac_c" 1>&6
     
    835809#endif
    836810EOF
    837 if { 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
     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
    838812  ac_cv_prog_gcc=yes
    839813else
     
    854828CFLAGS=
    855829echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    856 echo "configure:857: checking whether ${CC-cc} accepts -g" >&5
     830echo "configure:831: checking whether ${CC-cc} accepts -g" >&5
    857831if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    858832  echo $ac_n "(cached) $ac_c" 1>&6
     
    886860
    887861
     862# These defines are necessary to get 64-bit file size support.
     863# NetBSD 1.4 header files does not support XOPEN_SOURCE == 600, but it
     864# handles 64-bit file sizes without needing these defines.
     865echo $ac_n "checking whether _XOPEN_SOURCE may be defined""... $ac_c" 1>&6
     866echo "configure:867: checking whether _XOPEN_SOURCE may be defined" >&5
     867cat > conftest.$ac_ext <<EOF
     868#line 869 "configure"
     869#include "confdefs.h"
     870#define _XOPEN_SOURCE 600L
     871#include <unistd.h>
     872int main() {
     873
     874; return 0; }
     875EOF
     876if { (eval echo configure:877: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     877  rm -rf conftest*
     878  may_use_xopen_source=yes
     879else
     880  echo "configure: failed program was:" >&5
     881  cat conftest.$ac_ext >&5
     882  rm -rf conftest*
     883  may_use_xopen_source=no
     884fi
     885rm -f conftest*
     886echo "$ac_t""$may_use_xopen_source" 1>&6
     887if test $may_use_xopen_source = yes; then
     888  cat >> confdefs.h <<\EOF
     889#define _XOPEN_SOURCE 600L
     890EOF
     891
     892  # The following is needed by irix6.2 so that struct timeval is declared.
     893  cat >> confdefs.h <<\EOF
     894#define _XOPEN_SOURCE_EXTENDED 1
     895EOF
     896
     897  # The following is needed by Solaris2.5.1 so that struct timeval is declared.
     898  cat >> confdefs.h <<\EOF
     899#define __EXTENSIONS__ 1
     900EOF
     901
     902  cat >> confdefs.h <<\EOF
     903#define _FILE_OFFSET_BITS 64
     904EOF
     905
     906  cat >> confdefs.h <<\EOF
     907#define _LARGEFILE_SOURCE 1
     908EOF
     909
     910fi
     911
     912
    888913LIBTOOL='$(SHELL) ../libtool'
    889914
     
    892917
    893918echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
    894 echo "configure:895: checking whether ${MAKE-make} sets \${MAKE}" >&5
     919echo "configure:920: checking whether ${MAKE-make} sets \${MAKE}" >&5
    895920set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
    896921if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
     
    922947# Sanity check for the cross-compilation case:
    923948echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
    924 echo "configure:925: checking how to run the C preprocessor" >&5
     949echo "configure:950: checking how to run the C preprocessor" >&5
    925950# On Suns, sometimes $CPP names a directory.
    926951if test -n "$CPP" && test -d "$CPP"; then
     
    938963  cat > conftest.$ac_ext <<EOF
    939964#include <sys/types.h>
    940 #line 941 "configure"
     965#line 966 "configure"
    941966#include "confdefs.h"
    942967#include <assert.h>
     
    944969EOF
    945970ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    946 { (eval echo configure:947: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     971{ (eval echo configure:972: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    947972ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    948973if test -z "$ac_err"; then
     
    956981  cat > conftest.$ac_ext <<EOF
    957982#include <sys/types.h>
    958 #line 959 "configure"
     983#line 984 "configure"
    959984#include "confdefs.h"
    960985#include <assert.h>
     
    962987EOF
    963988ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    964 { (eval echo configure:965: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     989{ (eval echo configure:990: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    965990ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    966991if test -z "$ac_err"; then
     
    974999  cat > conftest.$ac_ext <<EOF
    9751000#include <sys/types.h>
    976 #line 977 "configure"
     1001#line 1002 "configure"
    9771002#include "confdefs.h"
    9781003#include <assert.h>
     
    9801005EOF
    9811006ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    982 { (eval echo configure:983: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1007{ (eval echo configure:1008: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    9831008ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    9841009if test -z "$ac_err"; then
     
    10061031ac_safe=`echo "stdio.h" | sed 'y%./+-%__p_%'`
    10071032echo $ac_n "checking for stdio.h""... $ac_c" 1>&6
    1008 echo "configure:1009: checking for stdio.h" >&5
     1033echo "configure:1034: checking for stdio.h" >&5
    10091034if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    10101035  echo $ac_n "(cached) $ac_c" 1>&6
     
    10121037  cat > conftest.$ac_ext <<EOF
    10131038#include <sys/types.h>
    1014 #line 1015 "configure"
     1039#line 1040 "configure"
    10151040#include "confdefs.h"
    10161041#include <stdio.h>
    10171042EOF
    10181043ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1019 { (eval echo configure:1020: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1044{ (eval echo configure:1045: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    10201045ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    10211046if test -z "$ac_err"; then
     
    10451070
    10461071echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
    1047 echo "configure:1048: checking for ANSI C header files" >&5
     1072echo "configure:1073: checking for ANSI C header files" >&5
    10481073if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
    10491074  echo $ac_n "(cached) $ac_c" 1>&6
     
    10511076  cat > conftest.$ac_ext <<EOF
    10521077#include <sys/types.h>
    1053 #line 1054 "configure"
     1078#line 1079 "configure"
    10541079#include "confdefs.h"
    10551080#include <stdlib.h>
     
    10591084EOF
    10601085ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1061 { (eval echo configure:1062: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1086{ (eval echo configure:1087: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    10621087ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    10631088if test -z "$ac_err"; then
     
    10761101  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    10771102cat > conftest.$ac_ext <<EOF
    1078 #line 1079 "configure"
     1103#line 1104 "configure"
    10791104#include "confdefs.h"
    10801105#include <string.h>
     
    10941119  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    10951120cat > conftest.$ac_ext <<EOF
    1096 #line 1097 "configure"
     1121#line 1122 "configure"
    10971122#include "confdefs.h"
    10981123#include <stdlib.h>
     
    11151140else
    11161141  cat > conftest.$ac_ext <<EOF
    1117 #line 1118 "configure"
     1142#line 1143 "configure"
    11181143#include "confdefs.h"
    11191144#include <ctype.h>
     
    11261151
    11271152EOF
    1128 if { (eval echo configure:1129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     1153if { (eval echo configure:1154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    11291154then
    11301155  :
     
    11491174fi
    11501175
    1151 
    11521176echo $ac_n "checking for posix""... $ac_c" 1>&6
    1153 echo "configure:1154: checking for posix" >&5
     1177echo "configure:1178: checking for posix" >&5
    11541178if eval "test \"`echo '$''{'g77_cv_header_posix'+set}'`\" = set"; then
    11551179  echo $ac_n "(cached) $ac_c" 1>&6
    11561180else
    11571181  cat > conftest.$ac_ext <<EOF
    1158 #line 1159 "configure"
     1182#line 1183 "configure"
    11591183#include "confdefs.h"
    11601184#include <sys/types.h>
     
    11821206# header isn't actually like checking the functions, though...
    11831207echo $ac_n "checking for GNU library""... $ac_c" 1>&6
    1184 echo "configure:1185: checking for GNU library" >&5
     1208echo "configure:1209: checking for GNU library" >&5
    11851209if eval "test \"`echo '$''{'g77_cv_lib_gnu'+set}'`\" = set"; then
    11861210  echo $ac_n "(cached) $ac_c" 1>&6
    11871211else
    11881212  cat > conftest.$ac_ext <<EOF
    1189 #line 1190 "configure"
     1213#line 1214 "configure"
    11901214#include "confdefs.h"
    11911215#include <stdio.h>
     
    12111235# Apparently cygwin needs to be special-cased.
    12121236echo $ac_n "checking for cyg\`win'32""... $ac_c" 1>&6
    1213 echo "configure:1214: checking for cyg\`win'32" >&5
     1237echo "configure:1238: checking for cyg\`win'32" >&5
    12141238if eval "test \"`echo '$''{'g77_cv_sys_cygwin32'+set}'`\" = set"; then
    12151239  echo $ac_n "(cached) $ac_c" 1>&6
    12161240else
    12171241  cat > conftest.$ac_ext <<EOF
    1218 #line 1219 "configure"
     1242#line 1243 "configure"
    12191243#include "confdefs.h"
    12201244#ifdef __CYGWIN32__
     
    12391263# ditto for mingw32.
    12401264echo $ac_n "checking for mingw32""... $ac_c" 1>&6
    1241 echo "configure:1242: checking for mingw32" >&5
     1265echo "configure:1266: checking for mingw32" >&5
    12421266if eval "test \"`echo '$''{'g77_cv_sys_mingw32'+set}'`\" = set"; then
    12431267  echo $ac_n "(cached) $ac_c" 1>&6
    12441268else
    12451269  cat > conftest.$ac_ext <<EOF
    1246 #line 1247 "configure"
     1270#line 1271 "configure"
    12471271#include "confdefs.h"
    12481272#ifdef __MINGW32__
     
    12671291
    12681292echo $ac_n "checking for working const""... $ac_c" 1>&6
    1269 echo "configure:1270: checking for working const" >&5
     1293echo "configure:1294: checking for working const" >&5
    12701294if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
    12711295  echo $ac_n "(cached) $ac_c" 1>&6
    12721296else
    12731297  cat > conftest.$ac_ext <<EOF
    1274 #line 1275 "configure"
     1298#line 1299 "configure"
    12751299#include "confdefs.h"
    12761300
     
    13211345; return 0; }
    13221346EOF
    1323 if { (eval echo configure:1324: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1347if { (eval echo configure:1348: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    13241348  rm -rf conftest*
    13251349  ac_cv_c_const=yes
     
    13421366
    13431367echo $ac_n "checking for size_t""... $ac_c" 1>&6
    1344 echo "configure:1345: checking for size_t" >&5
     1368echo "configure:1369: checking for size_t" >&5
    13451369if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
    13461370  echo $ac_n "(cached) $ac_c" 1>&6
    13471371else
    13481372  cat > conftest.$ac_ext <<EOF
    1349 #line 1350 "configure"
     1373#line 1374 "configure"
    13501374#include "confdefs.h"
    13511375#include <sys/types.h>
     
    13801404# (as of cygwin b18). Likewise on mingw.
    13811405echo $ac_n "checking for fstat""... $ac_c" 1>&6
    1382 echo "configure:1383: checking for fstat" >&5
     1406echo "configure:1407: checking for fstat" >&5
    13831407if eval "test \"`echo '$''{'ac_cv_func_fstat'+set}'`\" = set"; then
    13841408  echo $ac_n "(cached) $ac_c" 1>&6
    13851409else
    13861410  cat > conftest.$ac_ext <<EOF
    1387 #line 1388 "configure"
     1411#line 1412 "configure"
    13881412#include "confdefs.h"
    13891413/* System header to define __stub macros and hopefully few prototypes,
     
    14081432; return 0; }
    14091433EOF
    1410 if { (eval echo configure:1411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1434if { (eval echo configure:1435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    14111435  rm -rf conftest*
    14121436  eval "ac_cv_func_fstat=yes"
     
    14281452
    14291453echo $ac_n "checking need for NON_UNIX_STDIO""... $ac_c" 1>&6
    1430 echo "configure:1431: checking need for NON_UNIX_STDIO" >&5
     1454echo "configure:1455: checking need for NON_UNIX_STDIO" >&5
    14311455if test $g77_cv_sys_cygwin32 = yes \
    14321456  || test $g77_cv_sys_mingw32 = yes \
     
    14441468do
    14451469echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    1446 echo "configure:1447: checking for $ac_func" >&5
     1470echo "configure:1471: checking for $ac_func" >&5
    14471471if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    14481472  echo $ac_n "(cached) $ac_c" 1>&6
    14491473else
    14501474  cat > conftest.$ac_ext <<EOF
    1451 #line 1452 "configure"
     1475#line 1476 "configure"
    14521476#include "confdefs.h"
    14531477/* System header to define __stub macros and hopefully few prototypes,
     
    14721496; return 0; }
    14731497EOF
    1474 if { (eval echo configure:1475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1498if { (eval echo configure:1499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    14751499  rm -rf conftest*
    14761500  eval "ac_cv_func_$ac_func=yes"
     
    14991523do
    15001524echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    1501 echo "configure:1502: checking for $ac_func" >&5
     1525echo "configure:1526: checking for $ac_func" >&5
    15021526if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    15031527  echo $ac_n "(cached) $ac_c" 1>&6
    15041528else
    15051529  cat > conftest.$ac_ext <<EOF
    1506 #line 1507 "configure"
     1530#line 1531 "configure"
    15071531#include "confdefs.h"
    15081532/* System header to define __stub macros and hopefully few prototypes,
     
    15271551; return 0; }
    15281552EOF
    1529 if { (eval echo configure:1530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1553if { (eval echo configure:1554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    15301554  rm -rf conftest*
    15311555  eval "ac_cv_func_$ac_func=yes"
     
    15541578do
    15551579echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    1556 echo "configure:1557: checking for $ac_func" >&5
     1580echo "configure:1581: checking for $ac_func" >&5
    15571581if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    15581582  echo $ac_n "(cached) $ac_c" 1>&6
    15591583else
    15601584  cat > conftest.$ac_ext <<EOF
    1561 #line 1562 "configure"
     1585#line 1586 "configure"
    15621586#include "confdefs.h"
    15631587/* System header to define __stub macros and hopefully few prototypes,
     
    15821606; return 0; }
    15831607EOF
    1584 if { (eval echo configure:1585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1608if { (eval echo configure:1609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    15851609  rm -rf conftest*
    15861610  eval "ac_cv_func_$ac_func=yes"
     
    16091633do
    16101634echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    1611 echo "configure:1612: checking for $ac_func" >&5
     1635echo "configure:1636: checking for $ac_func" >&5
    16121636if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    16131637  echo $ac_n "(cached) $ac_c" 1>&6
    16141638else
    16151639  cat > conftest.$ac_ext <<EOF
    1616 #line 1617 "configure"
     1640#line 1641 "configure"
    16171641#include "confdefs.h"
    16181642/* System header to define __stub macros and hopefully few prototypes,
     
    16371661; return 0; }
    16381662EOF
    1639 if { (eval echo configure:1640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1663if { (eval echo configure:1664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    16401664  rm -rf conftest*
    16411665  eval "ac_cv_func_$ac_func=yes"
     
    16641688do
    16651689echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    1666 echo "configure:1667: checking for $ac_func" >&5
     1690echo "configure:1691: checking for $ac_func" >&5
    16671691if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    16681692  echo $ac_n "(cached) $ac_c" 1>&6
    16691693else
    16701694  cat > conftest.$ac_ext <<EOF
    1671 #line 1672 "configure"
     1695#line 1696 "configure"
    16721696#include "confdefs.h"
    16731697/* System header to define __stub macros and hopefully few prototypes,
     
    16921716; return 0; }
    16931717EOF
    1694 if { (eval echo configure:1695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1718if { (eval echo configure:1719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    16951719  rm -rf conftest*
    16961720  eval "ac_cv_func_$ac_func=yes"
     
    17191743do
    17201744echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    1721 echo "configure:1722: checking for $ac_func" >&5
     1745echo "configure:1746: checking for $ac_func" >&5
    17221746if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    17231747  echo $ac_n "(cached) $ac_c" 1>&6
    17241748else
    17251749  cat > conftest.$ac_ext <<EOF
    1726 #line 1727 "configure"
     1750#line 1751 "configure"
    17271751#include "confdefs.h"
    17281752/* System header to define __stub macros and hopefully few prototypes,
     
    17471771; return 0; }
    17481772EOF
    1749 if { (eval echo configure:1750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1773if { (eval echo configure:1774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    17501774  rm -rf conftest*
    17511775  eval "ac_cv_func_$ac_func=yes"
     
    17771801# we're posix-conformant, so always do the test.
    17781802echo $ac_n "checking for ansi/posix sprintf result""... $ac_c" 1>&6
    1779 echo "configure:1780: checking for ansi/posix sprintf result" >&5
     1803echo "configure:1804: checking for ansi/posix sprintf result" >&5
    17801804if test "$cross_compiling" = yes; then
    17811805  g77_cv_sys_sprintf_ansi=no
    17821806else
    17831807  cat > conftest.$ac_ext <<EOF
    1784 #line 1785 "configure"
     1808#line 1809 "configure"
    17851809#include "confdefs.h"
    17861810  #include <stdio.h>
     
    17891813
    17901814EOF
    1791 if { (eval echo configure:1792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     1815if { (eval echo configure:1816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    17921816then
    17931817  g77_cv_sys_sprintf_ansi=yes
     
    18201844# define NON_ANSI_RW_MODES on unix (can't hurt)
    18211845echo $ac_n "checking NON_ANSI_RW_MODES""... $ac_c" 1>&6
    1822 echo "configure:1823: checking NON_ANSI_RW_MODES" >&5
     1846echo "configure:1847: checking NON_ANSI_RW_MODES" >&5
    18231847cat > conftest.$ac_ext <<EOF
    1824 #line 1825 "configure"
     1848#line 1849 "configure"
    18251849#include "confdefs.h"
    18261850#ifdef unix
     
    18671891
    18681892echo $ac_n "checking for off_t""... $ac_c" 1>&6
    1869 echo "configure:1870: checking for off_t" >&5
     1893echo "configure:1894: checking for off_t" >&5
    18701894if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
    18711895  echo $ac_n "(cached) $ac_c" 1>&6
    18721896else
    18731897  cat > conftest.$ac_ext <<EOF
    1874 #line 1875 "configure"
     1898#line 1899 "configure"
    18751899#include "confdefs.h"
    18761900#include <sys/types.h>
  • trunk/src/gcc/libf2c/libU77/configure

    • Property cvs2svn:cvs-rev changed from 1.4 to 1.5
    r1393 r1394  
    675675
    676676
    677 # These defines are necessary to get 64-bit file size support.
    678 
    679 cat >> confdefs.h <<\EOF
    680 #define _XOPEN_SOURCE 500L
    681 EOF
    682 
    683 # The following is needed by irix6.2 so that struct timeval is declared.
    684 cat >> confdefs.h <<\EOF
    685 #define _XOPEN_SOURCE_EXTENDED 1
    686 EOF
    687 
    688 # The following is needed by Solaris2.5.1 so that struct timeval is declared.
    689 cat >> confdefs.h <<\EOF
    690 #define __EXTENSIONS__ 1
    691 EOF
    692 
    693 cat >> confdefs.h <<\EOF
    694 #define _FILE_OFFSET_BITS 64
    695 EOF
    696 
    697 
    698 
    699677
    700678
     
    704682set dummy gcc; ac_word=$2
    705683echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    706 echo "configure:707: checking for $ac_word" >&5
     684echo "configure:685: checking for $ac_word" >&5
    707685if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    708686  echo $ac_n "(cached) $ac_c" 1>&6
     
    735713set dummy cc; ac_word=$2
    736714echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    737 echo "configure:738: checking for $ac_word" >&5
     715echo "configure:716: checking for $ac_word" >&5
    738716if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    739717  echo $ac_n "(cached) $ac_c" 1>&6
     
    788766set dummy cl; ac_word=$2
    789767echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    790 echo "configure:791: checking for $ac_word" >&5
     768echo "configure:769: checking for $ac_word" >&5
    791769if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    792770  echo $ac_n "(cached) $ac_c" 1>&6
     
    822800
    823801echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    824 echo "configure:825: checking whether we are using GNU C" >&5
     802echo "configure:803: checking whether we are using GNU C" >&5
    825803if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    826804  echo $ac_n "(cached) $ac_c" 1>&6
     
    831809#endif
    832810EOF
    833 if { 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
     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
    834812  ac_cv_prog_gcc=yes
    835813else
     
    850828CFLAGS=
    851829echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    852 echo "configure:853: checking whether ${CC-cc} accepts -g" >&5
     830echo "configure:831: checking whether ${CC-cc} accepts -g" >&5
    853831if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    854832  echo $ac_n "(cached) $ac_c" 1>&6
     
    882860
    883861
     862# These defines are necessary to get 64-bit file size support.
     863# NetBSD 1.4 header files does not support XOPEN_SOURCE == 600, but it
     864# handles 64-bit file sizes without needing these defines.
     865echo $ac_n "checking whether _XOPEN_SOURCE may be defined""... $ac_c" 1>&6
     866echo "configure:867: checking whether _XOPEN_SOURCE may be defined" >&5
     867cat > conftest.$ac_ext <<EOF
     868#line 869 "configure"
     869#include "confdefs.h"
     870#define _XOPEN_SOURCE 600L
     871#include <unistd.h>
     872int main() {
     873
     874; return 0; }
     875EOF
     876if { (eval echo configure:877: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     877  rm -rf conftest*
     878  may_use_xopen_source=yes
     879else
     880  echo "configure: failed program was:" >&5
     881  cat conftest.$ac_ext >&5
     882  rm -rf conftest*
     883  may_use_xopen_source=no
     884fi
     885rm -f conftest*
     886echo "$ac_t""$may_use_xopen_source" 1>&6
     887if test $may_use_xopen_source = yes; then
     888  cat >> confdefs.h <<\EOF
     889#define _XOPEN_SOURCE 600L
     890EOF
     891
     892  # The following is needed by irix6.2 so that struct timeval is declared.
     893  cat >> confdefs.h <<\EOF
     894#define _XOPEN_SOURCE_EXTENDED 1
     895EOF
     896
     897  # The following is needed by Solaris2.5.1 so that struct timeval is declared.
     898  cat >> confdefs.h <<\EOF
     899#define __EXTENSIONS__ 1
     900EOF
     901
     902  cat >> confdefs.h <<\EOF
     903#define _FILE_OFFSET_BITS 64
     904EOF
     905
     906fi
     907
     908
    884909LIBTOOL='$(SHELL) ../libtool'
    885910
     
    894919
    895920echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
    896 echo "configure:897: checking whether ${MAKE-make} sets \${MAKE}" >&5
     921echo "configure:922: checking whether ${MAKE-make} sets \${MAKE}" >&5
    897922set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
    898923if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
     
    924949set dummy chmod; ac_word=$2
    925950echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    926 echo "configure:927: checking for $ac_word" >&5
     951echo "configure:952: checking for $ac_word" >&5
    927952if eval "test \"`echo '$''{'ac_cv_path_ac_cv_prog_chmod'+set}'`\" = set"; then
    928953  echo $ac_n "(cached) $ac_c" 1>&6
     
    972997
    973998echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
    974 echo "configure:975: checking how to run the C preprocessor" >&5
     999echo "configure:1000: checking how to run the C preprocessor" >&5
    9751000# On Suns, sometimes $CPP names a directory.
    9761001if test -n "$CPP" && test -d "$CPP"; then
     
    9881013  cat > conftest.$ac_ext <<EOF
    9891014#include <sys/types.h>
    990 #line 991 "configure"
     1015#line 1016 "configure"
    9911016#include "confdefs.h"
    9921017#include <assert.h>
     
    9941019EOF
    9951020ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    996 { (eval echo configure:997: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1021{ (eval echo configure:1022: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    9971022ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    9981023if test -z "$ac_err"; then
     
    10061031  cat > conftest.$ac_ext <<EOF
    10071032#include <sys/types.h>
    1008 #line 1009 "configure"
     1033#line 1034 "configure"
    10091034#include "confdefs.h"
    10101035#include <assert.h>
     
    10121037EOF
    10131038ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1014 { (eval echo configure:1015: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1039{ (eval echo configure:1040: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    10151040ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    10161041if test -z "$ac_err"; then
     
    10241049  cat > conftest.$ac_ext <<EOF
    10251050#include <sys/types.h>
    1026 #line 1027 "configure"
     1051#line 1052 "configure"
    10271052#include "confdefs.h"
    10281053#include <assert.h>
     
    10301055EOF
    10311056ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1032 { (eval echo configure:1033: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1057{ (eval echo configure:1058: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    10331058ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    10341059if test -z "$ac_err"; then
     
    10551080
    10561081echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
    1057 echo "configure:1058: checking for ANSI C header files" >&5
     1082echo "configure:1083: checking for ANSI C header files" >&5
    10581083if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
    10591084  echo $ac_n "(cached) $ac_c" 1>&6
     
    10611086  cat > conftest.$ac_ext <<EOF
    10621087#include <sys/types.h>
    1063 #line 1064 "configure"
     1088#line 1089 "configure"
    10641089#include "confdefs.h"
    10651090#include <stdlib.h>
     
    10691094EOF
    10701095ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1071 { (eval echo configure:1072: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1096{ (eval echo configure:1097: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    10721097ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    10731098if test -z "$ac_err"; then
     
    10861111  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    10871112cat > conftest.$ac_ext <<EOF
    1088 #line 1089 "configure"
     1113#line 1114 "configure"
    10891114#include "confdefs.h"
    10901115#include <string.h>
     
    11041129  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    11051130cat > conftest.$ac_ext <<EOF
    1106 #line 1107 "configure"
     1131#line 1132 "configure"
    11071132#include "confdefs.h"
    11081133#include <stdlib.h>
     
    11251150else
    11261151  cat > conftest.$ac_ext <<EOF
    1127 #line 1128 "configure"
     1152#line 1153 "configure"
    11281153#include "confdefs.h"
    11291154#include <ctype.h>
     
    11361161
    11371162EOF
    1138 if { (eval echo configure:1139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     1163if { (eval echo configure:1164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    11391164then
    11401165  :
     
    11591184fi
    11601185
    1161 
    11621186echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
    1163 echo "configure:1164: checking whether time.h and sys/time.h may both be included" >&5
     1187echo "configure:1188: checking whether time.h and sys/time.h may both be included" >&5
    11641188if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
    11651189  echo $ac_n "(cached) $ac_c" 1>&6
    11661190else
    11671191  cat > conftest.$ac_ext <<EOF
    1168 #line 1169 "configure"
     1192#line 1193 "configure"
    11691193#include "confdefs.h"
    11701194#include <sys/types.h>
     
    11751199; return 0; }
    11761200EOF
    1177 if { (eval echo configure:1178: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1201if { (eval echo configure:1202: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    11781202  rm -rf conftest*
    11791203  ac_cv_header_time=yes
     
    12001224ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    12011225echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    1202 echo "configure:1203: checking for $ac_hdr" >&5
     1226echo "configure:1227: checking for $ac_hdr" >&5
    12031227if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    12041228  echo $ac_n "(cached) $ac_c" 1>&6
     
    12061230  cat > conftest.$ac_ext <<EOF
    12071231#include <sys/types.h>
    1208 #line 1209 "configure"
     1232#line 1233 "configure"
    12091233#include "confdefs.h"
    12101234#include <$ac_hdr>
    12111235EOF
    12121236ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1213 { (eval echo configure:1214: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1237{ (eval echo configure:1238: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    12141238ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    12151239if test -z "$ac_err"; then
     
    12391263
    12401264echo $ac_n "checking for working const""... $ac_c" 1>&6
    1241 echo "configure:1242: checking for working const" >&5
     1265echo "configure:1266: checking for working const" >&5
    12421266if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
    12431267  echo $ac_n "(cached) $ac_c" 1>&6
    12441268else
    12451269  cat > conftest.$ac_ext <<EOF
    1246 #line 1247 "configure"
     1270#line 1271 "configure"
    12471271#include "confdefs.h"
    12481272
     
    12931317; return 0; }
    12941318EOF
    1295 if { (eval echo configure:1296: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1319if { (eval echo configure:1320: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    12961320  rm -rf conftest*
    12971321  ac_cv_c_const=yes
     
    13141338
    13151339echo $ac_n "checking for size_t""... $ac_c" 1>&6
    1316 echo "configure:1317: checking for size_t" >&5
     1340echo "configure:1341: checking for size_t" >&5
    13171341if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
    13181342  echo $ac_n "(cached) $ac_c" 1>&6
    13191343else
    13201344  cat > conftest.$ac_ext <<EOF
    1321 #line 1322 "configure"
     1345#line 1346 "configure"
    13221346#include "confdefs.h"
    13231347#include <sys/types.h>
     
    13471371
    13481372echo $ac_n "checking for mode_t""... $ac_c" 1>&6
    1349 echo "configure:1350: checking for mode_t" >&5
     1373echo "configure:1374: checking for mode_t" >&5
    13501374if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
    13511375  echo $ac_n "(cached) $ac_c" 1>&6
    13521376else
    13531377  cat > conftest.$ac_ext <<EOF
    1354 #line 1355 "configure"
     1378#line 1379 "configure"
    13551379#include "confdefs.h"
    13561380#include <sys/types.h>
     
    13811405
    13821406echo $ac_n "checking for pid_t""... $ac_c" 1>&6
    1383 echo "configure:1384: checking for pid_t" >&5
     1407echo "configure:1408: checking for pid_t" >&5
    13841408if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
    13851409  echo $ac_n "(cached) $ac_c" 1>&6
    13861410else
    13871411  cat > conftest.$ac_ext <<EOF
    1388 #line 1389 "configure"
     1412#line 1413 "configure"
    13891413#include "confdefs.h"
    13901414#include <sys/types.h>
     
    14141438
    14151439echo $ac_n "checking for st_blksize in struct stat""... $ac_c" 1>&6
    1416 echo "configure:1417: checking for st_blksize in struct stat" >&5
     1440echo "configure:1441: checking for st_blksize in struct stat" >&5
    14171441if eval "test \"`echo '$''{'ac_cv_struct_st_blksize'+set}'`\" = set"; then
    14181442  echo $ac_n "(cached) $ac_c" 1>&6
    14191443else
    14201444  cat > conftest.$ac_ext <<EOF
    1421 #line 1422 "configure"
     1445#line 1446 "configure"
    14221446#include "confdefs.h"
    14231447#include <sys/types.h>
     
    14271451; return 0; }
    14281452EOF
    1429 if { (eval echo configure:1430: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1453if { (eval echo configure:1454: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    14301454  rm -rf conftest*
    14311455  ac_cv_struct_st_blksize=yes
     
    14481472
    14491473echo $ac_n "checking for st_blocks in struct stat""... $ac_c" 1>&6
    1450 echo "configure:1451: checking for st_blocks in struct stat" >&5
     1474echo "configure:1475: checking for st_blocks in struct stat" >&5
    14511475if eval "test \"`echo '$''{'ac_cv_struct_st_blocks'+set}'`\" = set"; then
    14521476  echo $ac_n "(cached) $ac_c" 1>&6
    14531477else
    14541478  cat > conftest.$ac_ext <<EOF
    1455 #line 1456 "configure"
     1479#line 1480 "configure"
    14561480#include "confdefs.h"
    14571481#include <sys/types.h>
     
    14611485; return 0; }
    14621486EOF
    1463 if { (eval echo configure:1464: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1487if { (eval echo configure:1488: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    14641488  rm -rf conftest*
    14651489  ac_cv_struct_st_blocks=yes
     
    14841508
    14851509echo $ac_n "checking for st_rdev in struct stat""... $ac_c" 1>&6
    1486 echo "configure:1487: checking for st_rdev in struct stat" >&5
     1510echo "configure:1511: checking for st_rdev in struct stat" >&5
    14871511if eval "test \"`echo '$''{'ac_cv_struct_st_rdev'+set}'`\" = set"; then
    14881512  echo $ac_n "(cached) $ac_c" 1>&6
    14891513else
    14901514  cat > conftest.$ac_ext <<EOF
    1491 #line 1492 "configure"
     1515#line 1516 "configure"
    14921516#include "confdefs.h"
    14931517#include <sys/types.h>
     
    14971521; return 0; }
    14981522EOF
    1499 if { (eval echo configure:1500: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1523if { (eval echo configure:1524: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    15001524  rm -rf conftest*
    15011525  ac_cv_struct_st_rdev=yes
     
    15181542
    15191543echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
    1520 echo "configure:1521: checking whether struct tm is in sys/time.h or time.h" >&5
     1544echo "configure:1545: checking whether struct tm is in sys/time.h or time.h" >&5
    15211545if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
    15221546  echo $ac_n "(cached) $ac_c" 1>&6
    15231547else
    15241548  cat > conftest.$ac_ext <<EOF
    1525 #line 1526 "configure"
     1549#line 1550 "configure"
    15261550#include "confdefs.h"
    15271551#include <sys/types.h>
     
    15311555; return 0; }
    15321556EOF
    1533 if { (eval echo configure:1534: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1557if { (eval echo configure:1558: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    15341558  rm -rf conftest*
    15351559  ac_cv_struct_tm=time.h
     
    15531577
    15541578echo $ac_n "checking for gethostname in -lsocket""... $ac_c" 1>&6
    1555 echo "configure:1556: checking for gethostname in -lsocket" >&5
     1579echo "configure:1580: checking for gethostname in -lsocket" >&5
    15561580ac_lib_var=`echo socket'_'gethostname | sed 'y%./+-%__p_%'`
    15571581if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    15611585LIBS="-lsocket  $LIBS"
    15621586cat > conftest.$ac_ext <<EOF
    1563 #line 1564 "configure"
     1587#line 1588 "configure"
    15641588#include "confdefs.h"
    15651589/* Override any gcc2 internal prototype to avoid an error.  */
     
    15721596; return 0; }
    15731597EOF
    1574 if { (eval echo configure:1575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1598if { (eval echo configure:1599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    15751599  rm -rf conftest*
    15761600  eval "ac_cv_lib_$ac_lib_var=yes"
     
    15981622do
    15991623echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    1600 echo "configure:1601: checking for $ac_func" >&5
     1624echo "configure:1625: checking for $ac_func" >&5
    16011625if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    16021626  echo $ac_n "(cached) $ac_c" 1>&6
    16031627else
    16041628  cat > conftest.$ac_ext <<EOF
    1605 #line 1606 "configure"
     1629#line 1630 "configure"
    16061630#include "confdefs.h"
    16071631/* System header to define __stub macros and hopefully few prototypes,
     
    16261650; return 0; }
    16271651EOF
    1628 if { (eval echo configure:1629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1652if { (eval echo configure:1653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    16291653  rm -rf conftest*
    16301654  eval "ac_cv_func_$ac_func=yes"
     
    16551679do
    16561680echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    1657 echo "configure:1658: checking for $ac_func" >&5
     1681echo "configure:1682: checking for $ac_func" >&5
    16581682if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    16591683  echo $ac_n "(cached) $ac_c" 1>&6
    16601684else
    16611685  cat > conftest.$ac_ext <<EOF
    1662 #line 1663 "configure"
     1686#line 1687 "configure"
    16631687#include "confdefs.h"
    16641688/* System header to define __stub macros and hopefully few prototypes,
     
    16831707; return 0; }
    16841708EOF
    1685 if { (eval echo configure:1686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1709if { (eval echo configure:1710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    16861710  rm -rf conftest*
    16871711  eval "ac_cv_func_$ac_func=yes"
     
    17091733  if test "$ac_cv_func_gettimeofday" = yes; then
    17101734    echo $ac_n "checking for struct timezone""... $ac_c" 1>&6
    1711 echo "configure:1712: checking for struct timezone" >&5
     1735echo "configure:1736: checking for struct timezone" >&5
    17121736if eval "test \"`echo '$''{'g77_cv_struct_timezone'+set}'`\" = set"; then
    17131737  echo $ac_n "(cached) $ac_c" 1>&6
    17141738else
    17151739  cat > conftest.$ac_ext <<EOF
    1716 #line 1717 "configure"
     1740#line 1741 "configure"
    17171741#include "confdefs.h"
    17181742#include <sys/time.h>
     
    17211745; return 0; }
    17221746EOF
    1723 if { (eval echo configure:1724: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1747if { (eval echo configure:1748: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    17241748  rm -rf conftest*
    17251749  g77_cv_struct_timezone=yes
     
    17421766else
    17431767  cat > conftest.$ac_ext <<EOF
    1744 #line 1745 "configure"
     1768#line 1769 "configure"
    17451769#include "confdefs.h"
    17461770
     
    17651789}
    17661790EOF
    1767 if { (eval echo configure:1768: \"$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
    17681792then
    17691793  cat >> confdefs.h <<\EOF
     
    17811805   
    17821806    echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6
    1783 echo "configure:1784: checking whether gettimeofday can accept two arguments" >&5
     1807echo "configure:1808: checking whether gettimeofday can accept two arguments" >&5
    17841808if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then
    17851809  echo $ac_n "(cached) $ac_c" 1>&6
    17861810else
    17871811  cat > conftest.$ac_ext <<EOF
    1788 #line 1789 "configure"
     1812#line 1813 "configure"
    17891813#include "confdefs.h"
    17901814
     
    18121836; return 0; }
    18131837EOF
    1814 if { (eval echo configure:1815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1838if { (eval echo configure:1839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    18151839  rm -rf conftest*
    18161840  emacs_cv_gettimeofday_two_arguments=yes
Note: See TracChangeset for help on using the changeset viewer.