Changeset 1394 for trunk/src/gcc/libf2c
- Timestamp:
- Apr 28, 2004, 6:58:06 AM (21 years ago)
- 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
to1.3
r1393 r1394 20 20 #02111-1307, USA. 21 21 22 SHELL = /bin/sh 22 SHELL = @SHELL@ 23 PWD_COMMAND = $${PWDCMD-pwd} 23 24 MAKEOVERRIDES= 24 25 .NOEXPORTS: … … 67 68 LIBTOOL = @LIBTOOL@ 68 69 CC = @CC@ 70 WARN_CFLAGS = -W -Wall 69 71 CFLAGS = @CFLAGS@ 70 72 AR = @AR@ … … 77 79 LD='$(LD)' \ 78 80 LIBTOOL='$(LIBTOOL)' \ 81 WARN_CFLAGS='$(WARN_CFLAGS)' \ 79 82 CFLAGS='$(CFLAGS)' \ 80 83 CPPFLAGS='$(CPPFLAGS)' \ … … 123 126 124 127 all: all-unilib 125 ifeq "$(BUILD_PLATFORM)" "OS2"126 $(MULTIDO) $(FLAGS_TO_PASS) multi-do DO="all-unilib"127 else128 128 : $(MAKE) ; exec $(MULTIDO) $(FLAGS_TO_PASS) multi-do DO="all-unilib" 129 endif130 129 131 130 # `all-unilib' is the overall target in the absence of multilibs, … … 178 177 echo $${name}; \ 179 178 $(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 \ 181 180 -o libE77/L$${name}.lo ; \ 182 181 if [ $$? -eq 0 ] ; then true; else exit 1; fi; \ … … 261 260 262 261 subdir_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; \ 265 264 for i in .. $(DODIRS); do \ 266 265 if [ x$$i != x.. ]; then \ -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/gcc/libf2c/configure
-
Property cvs2svn:cvs-rev
changed from
1.4
to1.5
r1393 r1394 858 858 # canonicalize only relative paths, because then amd will not unmount 859 859 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd. 860 glibcpp_builddir=` pwd`860 glibcpp_builddir=`${PWDCMD-pwd}` 861 861 case $srcdir in 862 862 \\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;; … … 1705 1705 hppa*) 1706 1706 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/file1708 lt_cv_file_magic_test_file=/usr/lib/libc.sl1707 lt_cv_file_magic_cmd=/usr/bin/file 1708 lt_cv_file_magic_test_file=/usr/lib/libc.sl 1709 1709 ;; 1710 1710 ia64*) … … 1712 1712 lt_cv_file_magic_cmd=/usr/bin/file 1713 1713 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 1714 ;;1714 ;; 1715 1715 esac 1716 1716 ;; … … 1740 1740 linux-gnu*) 1741 1741 case $host_cpu in 1742 alpha* | mips* |hppa* | i*86 | powerpc* | sparc* | ia64* )1742 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* ) 1743 1743 lt_cv_deplibs_check_method=pass_all ;; 1744 1744 *) … … 2187 2187 ;; 2188 2188 2189 x86_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 2189 2231 *-*-sco3.2v5*) 2190 2232 # On SCO OpenServer 5, we need -belf to get full-featured binaries. … … 2192 2234 CFLAGS="$CFLAGS -belf" 2193 2235 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 2194 echo "configure:2 195: checking whether the C compiler needs -belf" >&52236 echo "configure:2237: checking whether the C compiler needs -belf" >&5 2195 2237 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then 2196 2238 echo $ac_n "(cached) $ac_c" 1>&6 … … 2205 2247 2206 2248 cat > conftest.$ac_ext <<EOF 2207 #line 22 08"configure"2249 #line 2250 "configure" 2208 2250 #include "confdefs.h" 2209 2251 … … 2212 2254 ; return 0; } 2213 2255 EOF 2214 if { (eval echo configure:22 15: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2256 if { (eval echo configure:2257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2215 2257 rm -rf conftest* 2216 2258 lt_cv_cc_needs_belf=yes … … 2336 2378 set dummy ranlib; ac_word=$2 2337 2379 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2338 echo "configure:23 39: checking for $ac_word" >&52380 echo "configure:2381: checking for $ac_word" >&5 2339 2381 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 2340 2382 echo $ac_n "(cached) $ac_c" 1>&6 … … 2377 2419 # ./install, which can be erroneously created by make from ./install.sh. 2378 2420 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 2379 echo "configure:2 380: checking for a BSD compatible install" >&52421 echo "configure:2422: checking for a BSD compatible install" >&5 2380 2422 if test -z "$INSTALL"; then 2381 2423 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then … … 2432 2474 2433 2475 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 2434 echo "configure:24 35: checking whether ${MAKE-make} sets \${MAKE}" >&52476 echo "configure:2477: checking whether ${MAKE-make} sets \${MAKE}" >&5 2435 2477 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 2436 2478 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then … … 2461 2503 # Sanity check for the cross-compilation case: 2462 2504 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 2463 echo "configure:2 464: checking how to run the C preprocessor" >&52505 echo "configure:2506: checking how to run the C preprocessor" >&5 2464 2506 # On Suns, sometimes $CPP names a directory. 2465 2507 if test -n "$CPP" && test -d "$CPP"; then … … 2477 2519 cat > conftest.$ac_ext <<EOF 2478 2520 #include <sys/types.h> 2479 #line 2 480"configure"2521 #line 2522 "configure" 2480 2522 #include "confdefs.h" 2481 2523 #include <assert.h> … … 2483 2525 EOF 2484 2526 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2485 { (eval echo configure:2 486: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2527 { (eval echo configure:2528: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2486 2528 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2487 2529 if test -z "$ac_err"; then … … 2495 2537 cat > conftest.$ac_ext <<EOF 2496 2538 #include <sys/types.h> 2497 #line 2 498"configure"2539 #line 2540 "configure" 2498 2540 #include "confdefs.h" 2499 2541 #include <assert.h> … … 2501 2543 EOF 2502 2544 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2503 { (eval echo configure:25 04: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2545 { (eval echo configure:2546: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2504 2546 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2505 2547 if test -z "$ac_err"; then … … 2513 2555 cat > conftest.$ac_ext <<EOF 2514 2556 #include <sys/types.h> 2515 #line 25 16"configure"2557 #line 2558 "configure" 2516 2558 #include "confdefs.h" 2517 2559 #include <assert.h> … … 2519 2561 EOF 2520 2562 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2521 { (eval echo configure:25 22: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2563 { (eval echo configure:2564: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2522 2564 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2523 2565 if test -z "$ac_err"; then … … 2545 2587 ac_safe=`echo "stdio.h" | sed 'y%./+-%__p_%'` 2546 2588 echo $ac_n "checking for stdio.h""... $ac_c" 1>&6 2547 echo "configure:25 48: checking for stdio.h" >&52589 echo "configure:2590: checking for stdio.h" >&5 2548 2590 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2549 2591 echo $ac_n "(cached) $ac_c" 1>&6 … … 2551 2593 cat > conftest.$ac_ext <<EOF 2552 2594 #include <sys/types.h> 2553 #line 25 54"configure"2595 #line 2596 "configure" 2554 2596 #include "confdefs.h" 2555 2597 #include <stdio.h> 2556 2598 EOF 2557 2599 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2558 { (eval echo configure:2 559: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2600 { (eval echo configure:2601: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2559 2601 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2560 2602 if test -z "$ac_err"; then … … 2584 2626 2585 2627 echo $ac_n "checking for built-in g77 integer types""... $ac_c" 1>&6 2586 echo "configure:2 587: checking for built-in g77 integer types" >&52628 echo "configure:2629: checking for built-in g77 integer types" >&5 2587 2629 if eval "test \"`echo '$''{'libf2c_cv_has_g77_builtin_types'+set}'`\" = set"; then 2588 2630 echo $ac_n "(cached) $ac_c" 1>&6 2589 2631 else 2590 2632 cat > conftest.$ac_ext <<EOF 2591 #line 2 592"configure"2633 #line 2634 "configure" 2592 2634 #include "confdefs.h" 2593 2635 … … 2599 2641 ; return 0; } 2600 2642 EOF 2601 if { (eval echo configure:26 02: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2643 if { (eval echo configure:2644: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2602 2644 rm -rf conftest* 2603 2645 libf2c_cv_has_g77_builtin_types=yes … … 2930 2972 toplevel_srcdir=${toplevel_srcdir} 2931 2973 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} 2974 ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}" 2932 2975 2933 2976 EOF -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/gcc/libf2c/libF77/configure
-
Property cvs2svn:cvs-rev
changed from
1.4
to1.5
r1393 r1394 1158 1158 fi 1159 1159 1160 1161 1160 echo $ac_n "checking for posix""... $ac_c" 1>&6 1162 echo "configure:116 3: checking for posix" >&51161 echo "configure:1162: checking for posix" >&5 1163 1162 if eval "test \"`echo '$''{'g77_cv_header_posix'+set}'`\" = set"; then 1164 1163 echo $ac_n "(cached) $ac_c" 1>&6 1165 1164 else 1166 1165 cat > conftest.$ac_ext <<EOF 1167 #line 116 8"configure"1166 #line 1167 "configure" 1168 1167 #include "confdefs.h" 1169 1168 #include <sys/types.h> … … 1191 1190 # header isn't actually like checking the functions, though... 1192 1191 echo $ac_n "checking for GNU library""... $ac_c" 1>&6 1193 echo "configure:119 4: checking for GNU library" >&51192 echo "configure:1193: checking for GNU library" >&5 1194 1193 if eval "test \"`echo '$''{'g77_cv_lib_gnu'+set}'`\" = set"; then 1195 1194 echo $ac_n "(cached) $ac_c" 1>&6 1196 1195 else 1197 1196 cat > conftest.$ac_ext <<EOF 1198 #line 119 9"configure"1197 #line 1198 "configure" 1199 1198 #include "confdefs.h" 1200 1199 #include <stdio.h> … … 1219 1218 1220 1219 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 1221 echo "configure:122 2: checking return type of signal handlers" >&51220 echo "configure:1221: checking return type of signal handlers" >&5 1222 1221 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then 1223 1222 echo $ac_n "(cached) $ac_c" 1>&6 1224 1223 else 1225 1224 cat > conftest.$ac_ext <<EOF 1226 #line 122 7"configure"1225 #line 1226 "configure" 1227 1226 #include "confdefs.h" 1228 1227 #include <sys/types.h> … … 1241 1240 ; return 0; } 1242 1241 EOF 1243 if { (eval echo configure:124 4: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1242 if { (eval echo configure:1243: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1244 1243 rm -rf conftest* 1245 1244 ac_cv_type_signal=void … … 1262 1261 if test $ac_cv_header_stdc != yes; then 1263 1262 echo $ac_n "checking for atexit""... $ac_c" 1>&6 1264 echo "configure:126 5: checking for atexit" >&51263 echo "configure:1264: checking for atexit" >&5 1265 1264 if eval "test \"`echo '$''{'ac_cv_func_atexit'+set}'`\" = set"; then 1266 1265 echo $ac_n "(cached) $ac_c" 1>&6 1267 1266 else 1268 1267 cat > conftest.$ac_ext <<EOF 1269 #line 12 70"configure"1268 #line 1269 "configure" 1270 1269 #include "confdefs.h" 1271 1270 /* System header to define __stub macros and hopefully few prototypes, … … 1290 1289 ; return 0; } 1291 1290 EOF 1292 if { (eval echo configure:129 3: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1291 if { (eval echo configure:1292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1293 1292 rm -rf conftest* 1294 1293 eval "ac_cv_func_atexit=yes" … … 1315 1314 1316 1315 echo $ac_n "checking for onexit""... $ac_c" 1>&6 1317 echo "configure:131 8: checking for onexit" >&51316 echo "configure:1317: checking for onexit" >&5 1318 1317 if eval "test \"`echo '$''{'ac_cv_func_onexit'+set}'`\" = set"; then 1319 1318 echo $ac_n "(cached) $ac_c" 1>&6 1320 1319 else 1321 1320 cat > conftest.$ac_ext <<EOF 1322 #line 132 3"configure"1321 #line 1322 "configure" 1323 1322 #include "confdefs.h" 1324 1323 /* System header to define __stub macros and hopefully few prototypes, … … 1343 1342 ; return 0; } 1344 1343 EOF 1345 if { (eval echo configure:134 6: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1344 if { (eval echo configure:1345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1346 1345 rm -rf conftest* 1347 1346 eval "ac_cv_func_onexit=yes" … … 1361 1360 echo "$ac_t""no" 1>&6 1362 1361 echo $ac_n "checking for on_exit""... $ac_c" 1>&6 1363 echo "configure:136 4: checking for on_exit" >&51362 echo "configure:1363: checking for on_exit" >&5 1364 1363 if eval "test \"`echo '$''{'ac_cv_func_on_exit'+set}'`\" = set"; then 1365 1364 echo $ac_n "(cached) $ac_c" 1>&6 1366 1365 else 1367 1366 cat > conftest.$ac_ext <<EOF 1368 #line 136 9"configure"1367 #line 1368 "configure" 1369 1368 #include "confdefs.h" 1370 1369 /* System header to define __stub macros and hopefully few prototypes, … … 1389 1388 ; return 0; } 1390 1389 EOF 1391 if { (eval echo configure:139 2: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1390 if { (eval echo configure:1391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1392 1391 rm -rf conftest* 1393 1392 eval "ac_cv_func_on_exit=yes" … … 1419 1418 1420 1419 echo $ac_n "checking for drem in -lm""... $ac_c" 1>&6 1421 echo "configure:142 2: checking for drem in -lm" >&51420 echo "configure:1421: checking for drem in -lm" >&5 1422 1421 ac_lib_var=`echo m'_'drem | sed 'y%./+-%__p_%'` 1423 1422 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1427 1426 LIBS="-lm $LIBS" 1428 1427 cat > conftest.$ac_ext <<EOF 1429 #line 14 30"configure"1428 #line 1429 "configure" 1430 1429 #include "confdefs.h" 1431 1430 /* Override any gcc2 internal prototype to avoid an error. */ … … 1438 1437 ; return 0; } 1439 1438 EOF 1440 if { (eval echo configure:144 1: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1439 if { (eval echo configure:1440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1441 1440 rm -rf conftest* 1442 1441 eval "ac_cv_lib_$ac_lib_var=yes" -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/gcc/libf2c/libI77/configure
-
Property cvs2svn:cvs-rev
changed from
1.4
to1.5
r1393 r1394 675 675 676 676 677 # These defines are necessary to get 64-bit file size support.678 679 cat >> confdefs.h <<\EOF680 #define _XOPEN_SOURCE 500L681 EOF682 683 # The following is needed by irix6.2 so that struct timeval is declared.684 cat >> confdefs.h <<\EOF685 #define _XOPEN_SOURCE_EXTENDED 1686 EOF687 688 # The following is needed by Solaris2.5.1 so that struct timeval is declared.689 cat >> confdefs.h <<\EOF690 #define __EXTENSIONS__ 1691 EOF692 693 cat >> confdefs.h <<\EOF694 #define _FILE_OFFSET_BITS 64695 EOF696 697 cat >> confdefs.h <<\EOF698 #define _LARGEFILE_SOURCE 1699 EOF700 701 702 703 677 704 678 … … 708 682 set dummy gcc; ac_word=$2 709 683 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 710 echo "configure: 711: checking for $ac_word" >&5684 echo "configure:685: checking for $ac_word" >&5 711 685 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 712 686 echo $ac_n "(cached) $ac_c" 1>&6 … … 739 713 set dummy cc; ac_word=$2 740 714 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 741 echo "configure:7 42: checking for $ac_word" >&5715 echo "configure:716: checking for $ac_word" >&5 742 716 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 743 717 echo $ac_n "(cached) $ac_c" 1>&6 … … 792 766 set dummy cl; ac_word=$2 793 767 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 794 echo "configure:7 95: checking for $ac_word" >&5768 echo "configure:769: checking for $ac_word" >&5 795 769 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 796 770 echo $ac_n "(cached) $ac_c" 1>&6 … … 826 800 827 801 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 828 echo "configure:8 29: checking whether we are using GNU C" >&5802 echo "configure:803: checking whether we are using GNU C" >&5 829 803 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 830 804 echo $ac_n "(cached) $ac_c" 1>&6 … … 835 809 #endif 836 810 EOF 837 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:8 38: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then811 if { 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 838 812 ac_cv_prog_gcc=yes 839 813 else … … 854 828 CFLAGS= 855 829 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 856 echo "configure:8 57: checking whether ${CC-cc} accepts -g" >&5830 echo "configure:831: checking whether ${CC-cc} accepts -g" >&5 857 831 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 858 832 echo $ac_n "(cached) $ac_c" 1>&6 … … 886 860 887 861 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. 865 echo $ac_n "checking whether _XOPEN_SOURCE may be defined""... $ac_c" 1>&6 866 echo "configure:867: checking whether _XOPEN_SOURCE may be defined" >&5 867 cat > conftest.$ac_ext <<EOF 868 #line 869 "configure" 869 #include "confdefs.h" 870 #define _XOPEN_SOURCE 600L 871 #include <unistd.h> 872 int main() { 873 874 ; return 0; } 875 EOF 876 if { (eval echo configure:877: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 877 rm -rf conftest* 878 may_use_xopen_source=yes 879 else 880 echo "configure: failed program was:" >&5 881 cat conftest.$ac_ext >&5 882 rm -rf conftest* 883 may_use_xopen_source=no 884 fi 885 rm -f conftest* 886 echo "$ac_t""$may_use_xopen_source" 1>&6 887 if test $may_use_xopen_source = yes; then 888 cat >> confdefs.h <<\EOF 889 #define _XOPEN_SOURCE 600L 890 EOF 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 895 EOF 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 900 EOF 901 902 cat >> confdefs.h <<\EOF 903 #define _FILE_OFFSET_BITS 64 904 EOF 905 906 cat >> confdefs.h <<\EOF 907 #define _LARGEFILE_SOURCE 1 908 EOF 909 910 fi 911 912 888 913 LIBTOOL='$(SHELL) ../libtool' 889 914 … … 892 917 893 918 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 894 echo "configure: 895: checking whether ${MAKE-make} sets \${MAKE}" >&5919 echo "configure:920: checking whether ${MAKE-make} sets \${MAKE}" >&5 895 920 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 896 921 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then … … 922 947 # Sanity check for the cross-compilation case: 923 948 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 924 echo "configure:9 25: checking how to run the C preprocessor" >&5949 echo "configure:950: checking how to run the C preprocessor" >&5 925 950 # On Suns, sometimes $CPP names a directory. 926 951 if test -n "$CPP" && test -d "$CPP"; then … … 938 963 cat > conftest.$ac_ext <<EOF 939 964 #include <sys/types.h> 940 #line 9 41"configure"965 #line 966 "configure" 941 966 #include "confdefs.h" 942 967 #include <assert.h> … … 944 969 EOF 945 970 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 946 { (eval echo configure:9 47: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }971 { (eval echo configure:972: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 947 972 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 948 973 if test -z "$ac_err"; then … … 956 981 cat > conftest.$ac_ext <<EOF 957 982 #include <sys/types.h> 958 #line 9 59"configure"983 #line 984 "configure" 959 984 #include "confdefs.h" 960 985 #include <assert.h> … … 962 987 EOF 963 988 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 964 { (eval echo configure:9 65: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }989 { (eval echo configure:990: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 965 990 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 966 991 if test -z "$ac_err"; then … … 974 999 cat > conftest.$ac_ext <<EOF 975 1000 #include <sys/types.h> 976 #line 977"configure"1001 #line 1002 "configure" 977 1002 #include "confdefs.h" 978 1003 #include <assert.h> … … 980 1005 EOF 981 1006 ac_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; } 983 1008 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 984 1009 if test -z "$ac_err"; then … … 1006 1031 ac_safe=`echo "stdio.h" | sed 'y%./+-%__p_%'` 1007 1032 echo $ac_n "checking for stdio.h""... $ac_c" 1>&6 1008 echo "configure:10 09: checking for stdio.h" >&51033 echo "configure:1034: checking for stdio.h" >&5 1009 1034 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1010 1035 echo $ac_n "(cached) $ac_c" 1>&6 … … 1012 1037 cat > conftest.$ac_ext <<EOF 1013 1038 #include <sys/types.h> 1014 #line 10 15"configure"1039 #line 1040 "configure" 1015 1040 #include "confdefs.h" 1016 1041 #include <stdio.h> 1017 1042 EOF 1018 1043 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1019 { (eval echo configure:10 20: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1044 { (eval echo configure:1045: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1020 1045 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1021 1046 if test -z "$ac_err"; then … … 1045 1070 1046 1071 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 1047 echo "configure:10 48: checking for ANSI C header files" >&51072 echo "configure:1073: checking for ANSI C header files" >&5 1048 1073 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 1049 1074 echo $ac_n "(cached) $ac_c" 1>&6 … … 1051 1076 cat > conftest.$ac_ext <<EOF 1052 1077 #include <sys/types.h> 1053 #line 10 54"configure"1078 #line 1079 "configure" 1054 1079 #include "confdefs.h" 1055 1080 #include <stdlib.h> … … 1059 1084 EOF 1060 1085 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1061 { (eval echo configure:10 62: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1086 { (eval echo configure:1087: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1062 1087 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1063 1088 if test -z "$ac_err"; then … … 1076 1101 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 1077 1102 cat > conftest.$ac_ext <<EOF 1078 #line 1 079"configure"1103 #line 1104 "configure" 1079 1104 #include "confdefs.h" 1080 1105 #include <string.h> … … 1094 1119 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 1095 1120 cat > conftest.$ac_ext <<EOF 1096 #line 1 097"configure"1121 #line 1122 "configure" 1097 1122 #include "confdefs.h" 1098 1123 #include <stdlib.h> … … 1115 1140 else 1116 1141 cat > conftest.$ac_ext <<EOF 1117 #line 11 18"configure"1142 #line 1143 "configure" 1118 1143 #include "confdefs.h" 1119 1144 #include <ctype.h> … … 1126 1151 1127 1152 EOF 1128 if { (eval echo configure:11 29: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null1153 if { (eval echo configure:1154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 1129 1154 then 1130 1155 : … … 1149 1174 fi 1150 1175 1151 1152 1176 echo $ac_n "checking for posix""... $ac_c" 1>&6 1153 echo "configure:11 54: checking for posix" >&51177 echo "configure:1178: checking for posix" >&5 1154 1178 if eval "test \"`echo '$''{'g77_cv_header_posix'+set}'`\" = set"; then 1155 1179 echo $ac_n "(cached) $ac_c" 1>&6 1156 1180 else 1157 1181 cat > conftest.$ac_ext <<EOF 1158 #line 11 59"configure"1182 #line 1183 "configure" 1159 1183 #include "confdefs.h" 1160 1184 #include <sys/types.h> … … 1182 1206 # header isn't actually like checking the functions, though... 1183 1207 echo $ac_n "checking for GNU library""... $ac_c" 1>&6 1184 echo "configure:1 185: checking for GNU library" >&51208 echo "configure:1209: checking for GNU library" >&5 1185 1209 if eval "test \"`echo '$''{'g77_cv_lib_gnu'+set}'`\" = set"; then 1186 1210 echo $ac_n "(cached) $ac_c" 1>&6 1187 1211 else 1188 1212 cat > conftest.$ac_ext <<EOF 1189 #line 1 190"configure"1213 #line 1214 "configure" 1190 1214 #include "confdefs.h" 1191 1215 #include <stdio.h> … … 1211 1235 # Apparently cygwin needs to be special-cased. 1212 1236 echo $ac_n "checking for cyg\`win'32""... $ac_c" 1>&6 1213 echo "configure:12 14: checking for cyg\`win'32" >&51237 echo "configure:1238: checking for cyg\`win'32" >&5 1214 1238 if eval "test \"`echo '$''{'g77_cv_sys_cygwin32'+set}'`\" = set"; then 1215 1239 echo $ac_n "(cached) $ac_c" 1>&6 1216 1240 else 1217 1241 cat > conftest.$ac_ext <<EOF 1218 #line 12 19"configure"1242 #line 1243 "configure" 1219 1243 #include "confdefs.h" 1220 1244 #ifdef __CYGWIN32__ … … 1239 1263 # ditto for mingw32. 1240 1264 echo $ac_n "checking for mingw32""... $ac_c" 1>&6 1241 echo "configure:12 42: checking for mingw32" >&51265 echo "configure:1266: checking for mingw32" >&5 1242 1266 if eval "test \"`echo '$''{'g77_cv_sys_mingw32'+set}'`\" = set"; then 1243 1267 echo $ac_n "(cached) $ac_c" 1>&6 1244 1268 else 1245 1269 cat > conftest.$ac_ext <<EOF 1246 #line 12 47"configure"1270 #line 1271 "configure" 1247 1271 #include "confdefs.h" 1248 1272 #ifdef __MINGW32__ … … 1267 1291 1268 1292 echo $ac_n "checking for working const""... $ac_c" 1>&6 1269 echo "configure:12 70: checking for working const" >&51293 echo "configure:1294: checking for working const" >&5 1270 1294 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 1271 1295 echo $ac_n "(cached) $ac_c" 1>&6 1272 1296 else 1273 1297 cat > conftest.$ac_ext <<EOF 1274 #line 12 75"configure"1298 #line 1299 "configure" 1275 1299 #include "confdefs.h" 1276 1300 … … 1321 1345 ; return 0; } 1322 1346 EOF 1323 if { (eval echo configure:13 24: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1347 if { (eval echo configure:1348: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1324 1348 rm -rf conftest* 1325 1349 ac_cv_c_const=yes … … 1342 1366 1343 1367 echo $ac_n "checking for size_t""... $ac_c" 1>&6 1344 echo "configure:13 45: checking for size_t" >&51368 echo "configure:1369: checking for size_t" >&5 1345 1369 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then 1346 1370 echo $ac_n "(cached) $ac_c" 1>&6 1347 1371 else 1348 1372 cat > conftest.$ac_ext <<EOF 1349 #line 13 50"configure"1373 #line 1374 "configure" 1350 1374 #include "confdefs.h" 1351 1375 #include <sys/types.h> … … 1380 1404 # (as of cygwin b18). Likewise on mingw. 1381 1405 echo $ac_n "checking for fstat""... $ac_c" 1>&6 1382 echo "configure:1 383: checking for fstat" >&51406 echo "configure:1407: checking for fstat" >&5 1383 1407 if eval "test \"`echo '$''{'ac_cv_func_fstat'+set}'`\" = set"; then 1384 1408 echo $ac_n "(cached) $ac_c" 1>&6 1385 1409 else 1386 1410 cat > conftest.$ac_ext <<EOF 1387 #line 1 388"configure"1411 #line 1412 "configure" 1388 1412 #include "confdefs.h" 1389 1413 /* System header to define __stub macros and hopefully few prototypes, … … 1408 1432 ; return 0; } 1409 1433 EOF 1410 if { (eval echo configure:14 11: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1434 if { (eval echo configure:1435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1411 1435 rm -rf conftest* 1412 1436 eval "ac_cv_func_fstat=yes" … … 1428 1452 1429 1453 echo $ac_n "checking need for NON_UNIX_STDIO""... $ac_c" 1>&6 1430 echo "configure:14 31: checking need for NON_UNIX_STDIO" >&51454 echo "configure:1455: checking need for NON_UNIX_STDIO" >&5 1431 1455 if test $g77_cv_sys_cygwin32 = yes \ 1432 1456 || test $g77_cv_sys_mingw32 = yes \ … … 1444 1468 do 1445 1469 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 1446 echo "configure:14 47: checking for $ac_func" >&51470 echo "configure:1471: checking for $ac_func" >&5 1447 1471 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 1448 1472 echo $ac_n "(cached) $ac_c" 1>&6 1449 1473 else 1450 1474 cat > conftest.$ac_ext <<EOF 1451 #line 14 52"configure"1475 #line 1476 "configure" 1452 1476 #include "confdefs.h" 1453 1477 /* System header to define __stub macros and hopefully few prototypes, … … 1472 1496 ; return 0; } 1473 1497 EOF 1474 if { (eval echo configure:14 75: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1498 if { (eval echo configure:1499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1475 1499 rm -rf conftest* 1476 1500 eval "ac_cv_func_$ac_func=yes" … … 1499 1523 do 1500 1524 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 1501 echo "configure:15 02: checking for $ac_func" >&51525 echo "configure:1526: checking for $ac_func" >&5 1502 1526 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 1503 1527 echo $ac_n "(cached) $ac_c" 1>&6 1504 1528 else 1505 1529 cat > conftest.$ac_ext <<EOF 1506 #line 15 07"configure"1530 #line 1531 "configure" 1507 1531 #include "confdefs.h" 1508 1532 /* System header to define __stub macros and hopefully few prototypes, … … 1527 1551 ; return 0; } 1528 1552 EOF 1529 if { (eval echo configure:15 30: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1553 if { (eval echo configure:1554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1530 1554 rm -rf conftest* 1531 1555 eval "ac_cv_func_$ac_func=yes" … … 1554 1578 do 1555 1579 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 1556 echo "configure:15 57: checking for $ac_func" >&51580 echo "configure:1581: checking for $ac_func" >&5 1557 1581 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 1558 1582 echo $ac_n "(cached) $ac_c" 1>&6 1559 1583 else 1560 1584 cat > conftest.$ac_ext <<EOF 1561 #line 15 62"configure"1585 #line 1586 "configure" 1562 1586 #include "confdefs.h" 1563 1587 /* System header to define __stub macros and hopefully few prototypes, … … 1582 1606 ; return 0; } 1583 1607 EOF 1584 if { (eval echo configure:1 585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1608 if { (eval echo configure:1609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1585 1609 rm -rf conftest* 1586 1610 eval "ac_cv_func_$ac_func=yes" … … 1609 1633 do 1610 1634 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 1611 echo "configure:16 12: checking for $ac_func" >&51635 echo "configure:1636: checking for $ac_func" >&5 1612 1636 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 1613 1637 echo $ac_n "(cached) $ac_c" 1>&6 1614 1638 else 1615 1639 cat > conftest.$ac_ext <<EOF 1616 #line 16 17"configure"1640 #line 1641 "configure" 1617 1641 #include "confdefs.h" 1618 1642 /* System header to define __stub macros and hopefully few prototypes, … … 1637 1661 ; return 0; } 1638 1662 EOF 1639 if { (eval echo configure:16 40: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1663 if { (eval echo configure:1664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1640 1664 rm -rf conftest* 1641 1665 eval "ac_cv_func_$ac_func=yes" … … 1664 1688 do 1665 1689 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 1666 echo "configure:16 67: checking for $ac_func" >&51690 echo "configure:1691: checking for $ac_func" >&5 1667 1691 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 1668 1692 echo $ac_n "(cached) $ac_c" 1>&6 1669 1693 else 1670 1694 cat > conftest.$ac_ext <<EOF 1671 #line 16 72"configure"1695 #line 1696 "configure" 1672 1696 #include "confdefs.h" 1673 1697 /* System header to define __stub macros and hopefully few prototypes, … … 1692 1716 ; return 0; } 1693 1717 EOF 1694 if { (eval echo configure:1 695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1718 if { (eval echo configure:1719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1695 1719 rm -rf conftest* 1696 1720 eval "ac_cv_func_$ac_func=yes" … … 1719 1743 do 1720 1744 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 1721 echo "configure:17 22: checking for $ac_func" >&51745 echo "configure:1746: checking for $ac_func" >&5 1722 1746 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 1723 1747 echo $ac_n "(cached) $ac_c" 1>&6 1724 1748 else 1725 1749 cat > conftest.$ac_ext <<EOF 1726 #line 17 27"configure"1750 #line 1751 "configure" 1727 1751 #include "confdefs.h" 1728 1752 /* System header to define __stub macros and hopefully few prototypes, … … 1747 1771 ; return 0; } 1748 1772 EOF 1749 if { (eval echo configure:17 50: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1773 if { (eval echo configure:1774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1750 1774 rm -rf conftest* 1751 1775 eval "ac_cv_func_$ac_func=yes" … … 1777 1801 # we're posix-conformant, so always do the test. 1778 1802 echo $ac_n "checking for ansi/posix sprintf result""... $ac_c" 1>&6 1779 echo "configure:1 780: checking for ansi/posix sprintf result" >&51803 echo "configure:1804: checking for ansi/posix sprintf result" >&5 1780 1804 if test "$cross_compiling" = yes; then 1781 1805 g77_cv_sys_sprintf_ansi=no 1782 1806 else 1783 1807 cat > conftest.$ac_ext <<EOF 1784 #line 1 785"configure"1808 #line 1809 "configure" 1785 1809 #include "confdefs.h" 1786 1810 #include <stdio.h> … … 1789 1813 1790 1814 EOF 1791 if { (eval echo configure:1 792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null1815 if { (eval echo configure:1816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 1792 1816 then 1793 1817 g77_cv_sys_sprintf_ansi=yes … … 1820 1844 # define NON_ANSI_RW_MODES on unix (can't hurt) 1821 1845 echo $ac_n "checking NON_ANSI_RW_MODES""... $ac_c" 1>&6 1822 echo "configure:18 23: checking NON_ANSI_RW_MODES" >&51846 echo "configure:1847: checking NON_ANSI_RW_MODES" >&5 1823 1847 cat > conftest.$ac_ext <<EOF 1824 #line 18 25"configure"1848 #line 1849 "configure" 1825 1849 #include "confdefs.h" 1826 1850 #ifdef unix … … 1867 1891 1868 1892 echo $ac_n "checking for off_t""... $ac_c" 1>&6 1869 echo "configure:18 70: checking for off_t" >&51893 echo "configure:1894: checking for off_t" >&5 1870 1894 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then 1871 1895 echo $ac_n "(cached) $ac_c" 1>&6 1872 1896 else 1873 1897 cat > conftest.$ac_ext <<EOF 1874 #line 18 75"configure"1898 #line 1899 "configure" 1875 1899 #include "confdefs.h" 1876 1900 #include <sys/types.h> -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/gcc/libf2c/libU77/configure
-
Property cvs2svn:cvs-rev
changed from
1.4
to1.5
r1393 r1394 675 675 676 676 677 # These defines are necessary to get 64-bit file size support.678 679 cat >> confdefs.h <<\EOF680 #define _XOPEN_SOURCE 500L681 EOF682 683 # The following is needed by irix6.2 so that struct timeval is declared.684 cat >> confdefs.h <<\EOF685 #define _XOPEN_SOURCE_EXTENDED 1686 EOF687 688 # The following is needed by Solaris2.5.1 so that struct timeval is declared.689 cat >> confdefs.h <<\EOF690 #define __EXTENSIONS__ 1691 EOF692 693 cat >> confdefs.h <<\EOF694 #define _FILE_OFFSET_BITS 64695 EOF696 697 698 699 677 700 678 … … 704 682 set dummy gcc; ac_word=$2 705 683 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 706 echo "configure: 707: checking for $ac_word" >&5684 echo "configure:685: checking for $ac_word" >&5 707 685 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 708 686 echo $ac_n "(cached) $ac_c" 1>&6 … … 735 713 set dummy cc; ac_word=$2 736 714 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 737 echo "configure:7 38: checking for $ac_word" >&5715 echo "configure:716: checking for $ac_word" >&5 738 716 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 739 717 echo $ac_n "(cached) $ac_c" 1>&6 … … 788 766 set dummy cl; ac_word=$2 789 767 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 790 echo "configure:7 91: checking for $ac_word" >&5768 echo "configure:769: checking for $ac_word" >&5 791 769 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 792 770 echo $ac_n "(cached) $ac_c" 1>&6 … … 822 800 823 801 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 824 echo "configure:8 25: checking whether we are using GNU C" >&5802 echo "configure:803: checking whether we are using GNU C" >&5 825 803 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 826 804 echo $ac_n "(cached) $ac_c" 1>&6 … … 831 809 #endif 832 810 EOF 833 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:8 34: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then811 if { 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 834 812 ac_cv_prog_gcc=yes 835 813 else … … 850 828 CFLAGS= 851 829 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 852 echo "configure:8 53: checking whether ${CC-cc} accepts -g" >&5830 echo "configure:831: checking whether ${CC-cc} accepts -g" >&5 853 831 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 854 832 echo $ac_n "(cached) $ac_c" 1>&6 … … 882 860 883 861 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. 865 echo $ac_n "checking whether _XOPEN_SOURCE may be defined""... $ac_c" 1>&6 866 echo "configure:867: checking whether _XOPEN_SOURCE may be defined" >&5 867 cat > conftest.$ac_ext <<EOF 868 #line 869 "configure" 869 #include "confdefs.h" 870 #define _XOPEN_SOURCE 600L 871 #include <unistd.h> 872 int main() { 873 874 ; return 0; } 875 EOF 876 if { (eval echo configure:877: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 877 rm -rf conftest* 878 may_use_xopen_source=yes 879 else 880 echo "configure: failed program was:" >&5 881 cat conftest.$ac_ext >&5 882 rm -rf conftest* 883 may_use_xopen_source=no 884 fi 885 rm -f conftest* 886 echo "$ac_t""$may_use_xopen_source" 1>&6 887 if test $may_use_xopen_source = yes; then 888 cat >> confdefs.h <<\EOF 889 #define _XOPEN_SOURCE 600L 890 EOF 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 895 EOF 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 900 EOF 901 902 cat >> confdefs.h <<\EOF 903 #define _FILE_OFFSET_BITS 64 904 EOF 905 906 fi 907 908 884 909 LIBTOOL='$(SHELL) ../libtool' 885 910 … … 894 919 895 920 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 896 echo "configure: 897: checking whether ${MAKE-make} sets \${MAKE}" >&5921 echo "configure:922: checking whether ${MAKE-make} sets \${MAKE}" >&5 897 922 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 898 923 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then … … 924 949 set dummy chmod; ac_word=$2 925 950 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 926 echo "configure:9 27: checking for $ac_word" >&5951 echo "configure:952: checking for $ac_word" >&5 927 952 if eval "test \"`echo '$''{'ac_cv_path_ac_cv_prog_chmod'+set}'`\" = set"; then 928 953 echo $ac_n "(cached) $ac_c" 1>&6 … … 972 997 973 998 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 974 echo "configure: 975: checking how to run the C preprocessor" >&5999 echo "configure:1000: checking how to run the C preprocessor" >&5 975 1000 # On Suns, sometimes $CPP names a directory. 976 1001 if test -n "$CPP" && test -d "$CPP"; then … … 988 1013 cat > conftest.$ac_ext <<EOF 989 1014 #include <sys/types.h> 990 #line 991"configure"1015 #line 1016 "configure" 991 1016 #include "confdefs.h" 992 1017 #include <assert.h> … … 994 1019 EOF 995 1020 ac_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; } 997 1022 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 998 1023 if test -z "$ac_err"; then … … 1006 1031 cat > conftest.$ac_ext <<EOF 1007 1032 #include <sys/types.h> 1008 #line 10 09"configure"1033 #line 1034 "configure" 1009 1034 #include "confdefs.h" 1010 1035 #include <assert.h> … … 1012 1037 EOF 1013 1038 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1014 { (eval echo configure:10 15: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1039 { (eval echo configure:1040: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1015 1040 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1016 1041 if test -z "$ac_err"; then … … 1024 1049 cat > conftest.$ac_ext <<EOF 1025 1050 #include <sys/types.h> 1026 #line 10 27"configure"1051 #line 1052 "configure" 1027 1052 #include "confdefs.h" 1028 1053 #include <assert.h> … … 1030 1055 EOF 1031 1056 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1032 { (eval echo configure:10 33: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1057 { (eval echo configure:1058: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1033 1058 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1034 1059 if test -z "$ac_err"; then … … 1055 1080 1056 1081 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 1057 echo "configure:10 58: checking for ANSI C header files" >&51082 echo "configure:1083: checking for ANSI C header files" >&5 1058 1083 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 1059 1084 echo $ac_n "(cached) $ac_c" 1>&6 … … 1061 1086 cat > conftest.$ac_ext <<EOF 1062 1087 #include <sys/types.h> 1063 #line 10 64"configure"1088 #line 1089 "configure" 1064 1089 #include "confdefs.h" 1065 1090 #include <stdlib.h> … … 1069 1094 EOF 1070 1095 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1071 { (eval echo configure:10 72: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1096 { (eval echo configure:1097: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1072 1097 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1073 1098 if test -z "$ac_err"; then … … 1086 1111 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 1087 1112 cat > conftest.$ac_ext <<EOF 1088 #line 1 089"configure"1113 #line 1114 "configure" 1089 1114 #include "confdefs.h" 1090 1115 #include <string.h> … … 1104 1129 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 1105 1130 cat > conftest.$ac_ext <<EOF 1106 #line 11 07"configure"1131 #line 1132 "configure" 1107 1132 #include "confdefs.h" 1108 1133 #include <stdlib.h> … … 1125 1150 else 1126 1151 cat > conftest.$ac_ext <<EOF 1127 #line 11 28"configure"1152 #line 1153 "configure" 1128 1153 #include "confdefs.h" 1129 1154 #include <ctype.h> … … 1136 1161 1137 1162 EOF 1138 if { (eval echo configure:11 39: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null1163 if { (eval echo configure:1164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 1139 1164 then 1140 1165 : … … 1159 1184 fi 1160 1185 1161 1162 1186 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 1163 echo "configure:11 64: checking whether time.h and sys/time.h may both be included" >&51187 echo "configure:1188: checking whether time.h and sys/time.h may both be included" >&5 1164 1188 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then 1165 1189 echo $ac_n "(cached) $ac_c" 1>&6 1166 1190 else 1167 1191 cat > conftest.$ac_ext <<EOF 1168 #line 11 69"configure"1192 #line 1193 "configure" 1169 1193 #include "confdefs.h" 1170 1194 #include <sys/types.h> … … 1175 1199 ; return 0; } 1176 1200 EOF 1177 if { (eval echo configure:1 178: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1201 if { (eval echo configure:1202: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1178 1202 rm -rf conftest* 1179 1203 ac_cv_header_time=yes … … 1200 1224 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1201 1225 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1202 echo "configure:12 03: checking for $ac_hdr" >&51226 echo "configure:1227: checking for $ac_hdr" >&5 1203 1227 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1204 1228 echo $ac_n "(cached) $ac_c" 1>&6 … … 1206 1230 cat > conftest.$ac_ext <<EOF 1207 1231 #include <sys/types.h> 1208 #line 12 09"configure"1232 #line 1233 "configure" 1209 1233 #include "confdefs.h" 1210 1234 #include <$ac_hdr> 1211 1235 EOF 1212 1236 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1213 { (eval echo configure:12 14: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1237 { (eval echo configure:1238: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1214 1238 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1215 1239 if test -z "$ac_err"; then … … 1239 1263 1240 1264 echo $ac_n "checking for working const""... $ac_c" 1>&6 1241 echo "configure:12 42: checking for working const" >&51265 echo "configure:1266: checking for working const" >&5 1242 1266 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 1243 1267 echo $ac_n "(cached) $ac_c" 1>&6 1244 1268 else 1245 1269 cat > conftest.$ac_ext <<EOF 1246 #line 12 47"configure"1270 #line 1271 "configure" 1247 1271 #include "confdefs.h" 1248 1272 … … 1293 1317 ; return 0; } 1294 1318 EOF 1295 if { (eval echo configure:1 296: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1319 if { (eval echo configure:1320: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1296 1320 rm -rf conftest* 1297 1321 ac_cv_c_const=yes … … 1314 1338 1315 1339 echo $ac_n "checking for size_t""... $ac_c" 1>&6 1316 echo "configure:13 17: checking for size_t" >&51340 echo "configure:1341: checking for size_t" >&5 1317 1341 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then 1318 1342 echo $ac_n "(cached) $ac_c" 1>&6 1319 1343 else 1320 1344 cat > conftest.$ac_ext <<EOF 1321 #line 13 22"configure"1345 #line 1346 "configure" 1322 1346 #include "confdefs.h" 1323 1347 #include <sys/types.h> … … 1347 1371 1348 1372 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 1349 echo "configure:13 50: checking for mode_t" >&51373 echo "configure:1374: checking for mode_t" >&5 1350 1374 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then 1351 1375 echo $ac_n "(cached) $ac_c" 1>&6 1352 1376 else 1353 1377 cat > conftest.$ac_ext <<EOF 1354 #line 13 55"configure"1378 #line 1379 "configure" 1355 1379 #include "confdefs.h" 1356 1380 #include <sys/types.h> … … 1381 1405 1382 1406 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 1383 echo "configure:1 384: checking for pid_t" >&51407 echo "configure:1408: checking for pid_t" >&5 1384 1408 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then 1385 1409 echo $ac_n "(cached) $ac_c" 1>&6 1386 1410 else 1387 1411 cat > conftest.$ac_ext <<EOF 1388 #line 1 389"configure"1412 #line 1413 "configure" 1389 1413 #include "confdefs.h" 1390 1414 #include <sys/types.h> … … 1414 1438 1415 1439 echo $ac_n "checking for st_blksize in struct stat""... $ac_c" 1>&6 1416 echo "configure:14 17: checking for st_blksize in struct stat" >&51440 echo "configure:1441: checking for st_blksize in struct stat" >&5 1417 1441 if eval "test \"`echo '$''{'ac_cv_struct_st_blksize'+set}'`\" = set"; then 1418 1442 echo $ac_n "(cached) $ac_c" 1>&6 1419 1443 else 1420 1444 cat > conftest.$ac_ext <<EOF 1421 #line 14 22"configure"1445 #line 1446 "configure" 1422 1446 #include "confdefs.h" 1423 1447 #include <sys/types.h> … … 1427 1451 ; return 0; } 1428 1452 EOF 1429 if { (eval echo configure:14 30: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1453 if { (eval echo configure:1454: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1430 1454 rm -rf conftest* 1431 1455 ac_cv_struct_st_blksize=yes … … 1448 1472 1449 1473 echo $ac_n "checking for st_blocks in struct stat""... $ac_c" 1>&6 1450 echo "configure:14 51: checking for st_blocks in struct stat" >&51474 echo "configure:1475: checking for st_blocks in struct stat" >&5 1451 1475 if eval "test \"`echo '$''{'ac_cv_struct_st_blocks'+set}'`\" = set"; then 1452 1476 echo $ac_n "(cached) $ac_c" 1>&6 1453 1477 else 1454 1478 cat > conftest.$ac_ext <<EOF 1455 #line 14 56"configure"1479 #line 1480 "configure" 1456 1480 #include "confdefs.h" 1457 1481 #include <sys/types.h> … … 1461 1485 ; return 0; } 1462 1486 EOF 1463 if { (eval echo configure:14 64: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1487 if { (eval echo configure:1488: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1464 1488 rm -rf conftest* 1465 1489 ac_cv_struct_st_blocks=yes … … 1484 1508 1485 1509 echo $ac_n "checking for st_rdev in struct stat""... $ac_c" 1>&6 1486 echo "configure:1 487: checking for st_rdev in struct stat" >&51510 echo "configure:1511: checking for st_rdev in struct stat" >&5 1487 1511 if eval "test \"`echo '$''{'ac_cv_struct_st_rdev'+set}'`\" = set"; then 1488 1512 echo $ac_n "(cached) $ac_c" 1>&6 1489 1513 else 1490 1514 cat > conftest.$ac_ext <<EOF 1491 #line 1 492"configure"1515 #line 1516 "configure" 1492 1516 #include "confdefs.h" 1493 1517 #include <sys/types.h> … … 1497 1521 ; return 0; } 1498 1522 EOF 1499 if { (eval echo configure:15 00: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1523 if { (eval echo configure:1524: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1500 1524 rm -rf conftest* 1501 1525 ac_cv_struct_st_rdev=yes … … 1518 1542 1519 1543 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 1520 echo "configure:15 21: checking whether struct tm is in sys/time.h or time.h" >&51544 echo "configure:1545: checking whether struct tm is in sys/time.h or time.h" >&5 1521 1545 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then 1522 1546 echo $ac_n "(cached) $ac_c" 1>&6 1523 1547 else 1524 1548 cat > conftest.$ac_ext <<EOF 1525 #line 15 26"configure"1549 #line 1550 "configure" 1526 1550 #include "confdefs.h" 1527 1551 #include <sys/types.h> … … 1531 1555 ; return 0; } 1532 1556 EOF 1533 if { (eval echo configure:15 34: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1557 if { (eval echo configure:1558: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1534 1558 rm -rf conftest* 1535 1559 ac_cv_struct_tm=time.h … … 1553 1577 1554 1578 echo $ac_n "checking for gethostname in -lsocket""... $ac_c" 1>&6 1555 echo "configure:15 56: checking for gethostname in -lsocket" >&51579 echo "configure:1580: checking for gethostname in -lsocket" >&5 1556 1580 ac_lib_var=`echo socket'_'gethostname | sed 'y%./+-%__p_%'` 1557 1581 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1561 1585 LIBS="-lsocket $LIBS" 1562 1586 cat > conftest.$ac_ext <<EOF 1563 #line 15 64"configure"1587 #line 1588 "configure" 1564 1588 #include "confdefs.h" 1565 1589 /* Override any gcc2 internal prototype to avoid an error. */ … … 1572 1596 ; return 0; } 1573 1597 EOF 1574 if { (eval echo configure:15 75: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1598 if { (eval echo configure:1599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1575 1599 rm -rf conftest* 1576 1600 eval "ac_cv_lib_$ac_lib_var=yes" … … 1598 1622 do 1599 1623 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 1600 echo "configure:16 01: checking for $ac_func" >&51624 echo "configure:1625: checking for $ac_func" >&5 1601 1625 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 1602 1626 echo $ac_n "(cached) $ac_c" 1>&6 1603 1627 else 1604 1628 cat > conftest.$ac_ext <<EOF 1605 #line 16 06"configure"1629 #line 1630 "configure" 1606 1630 #include "confdefs.h" 1607 1631 /* System header to define __stub macros and hopefully few prototypes, … … 1626 1650 ; return 0; } 1627 1651 EOF 1628 if { (eval echo configure:16 29: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1652 if { (eval echo configure:1653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1629 1653 rm -rf conftest* 1630 1654 eval "ac_cv_func_$ac_func=yes" … … 1655 1679 do 1656 1680 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 1657 echo "configure:16 58: checking for $ac_func" >&51681 echo "configure:1682: checking for $ac_func" >&5 1658 1682 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 1659 1683 echo $ac_n "(cached) $ac_c" 1>&6 1660 1684 else 1661 1685 cat > conftest.$ac_ext <<EOF 1662 #line 16 63"configure"1686 #line 1687 "configure" 1663 1687 #include "confdefs.h" 1664 1688 /* System header to define __stub macros and hopefully few prototypes, … … 1683 1707 ; return 0; } 1684 1708 EOF 1685 if { (eval echo configure:1 686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1709 if { (eval echo configure:1710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1686 1710 rm -rf conftest* 1687 1711 eval "ac_cv_func_$ac_func=yes" … … 1709 1733 if test "$ac_cv_func_gettimeofday" = yes; then 1710 1734 echo $ac_n "checking for struct timezone""... $ac_c" 1>&6 1711 echo "configure:17 12: checking for struct timezone" >&51735 echo "configure:1736: checking for struct timezone" >&5 1712 1736 if eval "test \"`echo '$''{'g77_cv_struct_timezone'+set}'`\" = set"; then 1713 1737 echo $ac_n "(cached) $ac_c" 1>&6 1714 1738 else 1715 1739 cat > conftest.$ac_ext <<EOF 1716 #line 17 17"configure"1740 #line 1741 "configure" 1717 1741 #include "confdefs.h" 1718 1742 #include <sys/time.h> … … 1721 1745 ; return 0; } 1722 1746 EOF 1723 if { (eval echo configure:17 24: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1747 if { (eval echo configure:1748: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1724 1748 rm -rf conftest* 1725 1749 g77_cv_struct_timezone=yes … … 1742 1766 else 1743 1767 cat > conftest.$ac_ext <<EOF 1744 #line 17 45"configure"1768 #line 1769 "configure" 1745 1769 #include "confdefs.h" 1746 1770 … … 1765 1789 } 1766 1790 EOF 1767 if { (eval echo configure:17 68: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null1791 if { (eval echo configure:1792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 1768 1792 then 1769 1793 cat >> confdefs.h <<\EOF … … 1781 1805 1782 1806 echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6 1783 echo "configure:1 784: checking whether gettimeofday can accept two arguments" >&51807 echo "configure:1808: checking whether gettimeofday can accept two arguments" >&5 1784 1808 if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then 1785 1809 echo $ac_n "(cached) $ac_c" 1>&6 1786 1810 else 1787 1811 cat > conftest.$ac_ext <<EOF 1788 #line 1 789"configure"1812 #line 1813 "configure" 1789 1813 #include "confdefs.h" 1790 1814 … … 1812 1836 ; return 0; } 1813 1837 EOF 1814 if { (eval echo configure:18 15: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1838 if { (eval echo configure:1839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1815 1839 rm -rf conftest* 1816 1840 emacs_cv_gettimeofday_two_arguments=yes -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.