aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Moellmann2000-12-11 12:15:07 +0000
committerGerd Moellmann2000-12-11 12:15:07 +0000
commit169fe44e5619260f5d5cbd5f7c9f4eb58ac01bb2 (patch)
tree490488cb8315f33650bc9e7f0b8d56db963ce796
parentb7d95d4220021b84527bf9263cb0255ca057b367 (diff)
downloademacs-169fe44e5619260f5d5cbd5f7c9f4eb58ac01bb2.tar.gz
emacs-169fe44e5619260f5d5cbd5f7c9f4eb58ac01bb2.zip
*** empty log message ***
-rw-r--r--ChangeLog12
-rwxr-xr-xconfigure956
-rw-r--r--src/ChangeLog10
3 files changed, 453 insertions, 525 deletions
diff --git a/ChangeLog b/ChangeLog
index aa048dfaf4e..74d82f2f727 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
12000-12-11 Paul Eggert <eggert@twinsun.com>
2
3 * aclocal.m4 (AC_SYS_LARGEFILE, AC_SYS_LARGEFILE_MACRO_VALUE):
4 Merge fixes from latest GNU tar version. These macros no longer
5 futz with _XOPEN_SOURCE, as that was not portable in practice.
6 (AC_FUNC_FSEEKO): New macro.
7
8 * configure.in: Use it instead of invoking AC_CHECK_FUNCS on
9 ftello.
10
12000-12-05 Dave Love <fx@gnu.org> 112000-12-05 Dave Love <fx@gnu.org>
2 12
3 * Makefile.in (TAGS, info): Avoid tab-prefixed comments in rules. 13 * Makefile.in (TAGS, info): Avoid tab-prefixed comments in rules.
@@ -44,7 +54,7 @@
44 * configure.in: Fix last change. 54 * configure.in: Fix last change.
45 55
46 * GETTING.GNU.SOFTWARE: Deleted. 56 * GETTING.GNU.SOFTWARE: Deleted.
47 * FTP: new file to replace it. 57 * FTP: New file to replace it.
48 * make-dist: Add FTP, remove GETTING.GNU.SOFTWARE. 58 * make-dist: Add FTP, remove GETTING.GNU.SOFTWARE.
49 59
502000-11-20 Gerd Moellmann <gerd@gnu.org> 602000-11-20 Gerd Moellmann <gerd@gnu.org>
diff --git a/configure b/configure
index fbd556f0ddc..6db2bcd9c35 100755
--- a/configure
+++ b/configure
@@ -2401,7 +2401,8 @@ else
2401 CPPFLAGS="$c_switch_system $c_switch_machine $CPPFLAGS" 2401 CPPFLAGS="$c_switch_system $c_switch_machine $CPPFLAGS"
2402fi 2402fi
2403 2403
2404# Check whether --enable-largefile or --disable-largefile was given. 2404
2405 # Check whether --enable-largefile or --disable-largefile was given.
2405if test "${enable_largefile+set}" = set; then 2406if test "${enable_largefile+set}" = set; then
2406 enableval="$enable_largefile" 2407 enableval="$enable_largefile"
2407 : 2408 :
@@ -2410,7 +2411,7 @@ fi
2410 if test "$enable_largefile" != no; then 2411 if test "$enable_largefile" != no; then
2411 2412
2412 echo $ac_n "checking for special C compiler options needed for large files""... $ac_c" 1>&6 2413 echo $ac_n "checking for special C compiler options needed for large files""... $ac_c" 1>&6
2413echo "configure:2414: checking for special C compiler options needed for large files" >&5 2414echo "configure:2415: checking for special C compiler options needed for large files" >&5
2414if eval "test \"`echo '$''{'ac_cv_sys_largefile_CC'+set}'`\" = set"; then 2415if eval "test \"`echo '$''{'ac_cv_sys_largefile_CC'+set}'`\" = set"; then
2415 echo $ac_n "(cached) $ac_c" 1>&6 2416 echo $ac_n "(cached) $ac_c" 1>&6
2416else 2417else
@@ -2419,7 +2420,7 @@ else
2419 # IRIX 6.2 and later do not support large files by default, 2420 # IRIX 6.2 and later do not support large files by default,
2420 # so use the C compiler's -n32 option if that helps. 2421 # so use the C compiler's -n32 option if that helps.
2421 cat > conftest.$ac_ext <<EOF 2422 cat > conftest.$ac_ext <<EOF
2422#line 2423 "configure" 2423#line 2424 "configure"
2423#include "confdefs.h" 2424#include "confdefs.h"
2424#include <sys/types.h> 2425#include <sys/types.h>
2425 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; 2426 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
@@ -2428,7 +2429,7 @@ int main() {
2428 2429
2429; return 0; } 2430; return 0; }
2430EOF 2431EOF
2431if { (eval echo configure:2432: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2432if { (eval echo configure:2433: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2432 : 2433 :
2433else 2434else
2434 echo "configure: failed program was:" >&5 2435 echo "configure: failed program was:" >&5
@@ -2437,7 +2438,7 @@ else
2437 ac_save_CC="$CC" 2438 ac_save_CC="$CC"
2438 CC="$CC -n32" 2439 CC="$CC -n32"
2439 cat > conftest.$ac_ext <<EOF 2440 cat > conftest.$ac_ext <<EOF
2440#line 2441 "configure" 2441#line 2442 "configure"
2441#include "confdefs.h" 2442#include "confdefs.h"
2442#include <sys/types.h> 2443#include <sys/types.h>
2443 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; 2444 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
@@ -2446,7 +2447,7 @@ int main() {
2446 2447
2447; return 0; } 2448; return 0; }
2448EOF 2449EOF
2449if { (eval echo configure:2450: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2450if { (eval echo configure:2451: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2450 rm -rf conftest* 2451 rm -rf conftest*
2451 ac_cv_sys_largefile_CC=' -n32' 2452 ac_cv_sys_largefile_CC=' -n32'
2452else 2453else
@@ -2466,43 +2467,40 @@ echo "$ac_t""$ac_cv_sys_largefile_CC" 1>&6
2466 fi 2467 fi
2467 2468
2468 echo $ac_n "checking for _FILE_OFFSET_BITS value needed for large files""... $ac_c" 1>&6 2469 echo $ac_n "checking for _FILE_OFFSET_BITS value needed for large files""... $ac_c" 1>&6
2469echo "configure:2470: checking for _FILE_OFFSET_BITS value needed for large files" >&5 2470echo "configure:2471: checking for _FILE_OFFSET_BITS value needed for large files" >&5
2470if eval "test \"`echo '$''{'ac_cv_sys_file_offset_bits'+set}'`\" = set"; then 2471if eval "test \"`echo '$''{'ac_cv_sys_file_offset_bits'+set}'`\" = set"; then
2471 echo $ac_n "(cached) $ac_c" 1>&6 2472 echo $ac_n "(cached) $ac_c" 1>&6
2472else 2473else
2473 ac_cv_sys_file_offset_bits=no 2474 ac_cv_sys_file_offset_bits=no
2474 cat > conftest.$ac_ext <<EOF 2475 cat > conftest.$ac_ext <<EOF
2475#line 2476 "configure" 2476#line 2477 "configure"
2476#include "confdefs.h" 2477#include "confdefs.h"
2477#include <sys/types.h> 2478#include <sys/types.h>
2478 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; 2479 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
2479 2480
2480
2481
2482int main() { 2481int main() {
2483 2482
2484; return 0; } 2483; return 0; }
2485EOF 2484EOF
2486if { (eval echo configure:2487: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2485if { (eval echo configure:2486: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2487 : 2486 :
2488else 2487else
2489 echo "configure: failed program was:" >&5 2488 echo "configure: failed program was:" >&5
2490 cat conftest.$ac_ext >&5 2489 cat conftest.$ac_ext >&5
2491 rm -rf conftest* 2490 rm -rf conftest*
2492 cat > conftest.$ac_ext <<EOF 2491 cat > conftest.$ac_ext <<EOF
2493#line 2494 "configure" 2492#line 2493 "configure"
2494#include "confdefs.h" 2493#include "confdefs.h"
2495#define _FILE_OFFSET_BITS 64 2494#define _FILE_OFFSET_BITS 64
2496#include <sys/types.h> 2495#include <sys/types.h>
2497 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; 2496 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
2498 2497
2499
2500 2498
2501int main() { 2499int main() {
2502 2500
2503; return 0; } 2501; return 0; }
2504EOF 2502EOF
2505if { (eval echo configure:2506: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2503if { (eval echo configure:2504: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2506 rm -rf conftest* 2504 rm -rf conftest*
2507 ac_cv_sys_file_offset_bits=64 2505 ac_cv_sys_file_offset_bits=64
2508else 2506else
@@ -2521,100 +2519,37 @@ echo "$ac_t""$ac_cv_sys_file_offset_bits" 1>&6
2521EOF 2519EOF
2522 2520
2523 fi 2521 fi
2524 echo $ac_n "checking for _LARGEFILE_SOURCE value needed for large files""... $ac_c" 1>&6
2525echo "configure:2526: checking for _LARGEFILE_SOURCE value needed for large files" >&5
2526if eval "test \"`echo '$''{'ac_cv_sys_largefile_source'+set}'`\" = set"; then
2527 echo $ac_n "(cached) $ac_c" 1>&6
2528else
2529 ac_cv_sys_largefile_source=no
2530 cat > conftest.$ac_ext <<EOF
2531#line 2532 "configure"
2532#include "confdefs.h"
2533#include <sys/types.h>
2534 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
2535
2536#include <stdio.h>
2537
2538int main() {
2539return !ftello;
2540; return 0; }
2541EOF
2542if { (eval echo configure:2543: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2543 :
2544else
2545 echo "configure: failed program was:" >&5
2546 cat conftest.$ac_ext >&5
2547 rm -rf conftest*
2548 cat > conftest.$ac_ext <<EOF
2549#line 2550 "configure"
2550#include "confdefs.h"
2551#define _LARGEFILE_SOURCE 1
2552#include <sys/types.h>
2553 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
2554
2555#include <stdio.h>
2556
2557int main() {
2558return !ftello;
2559; return 0; }
2560EOF
2561if { (eval echo configure:2562: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2562 rm -rf conftest*
2563 ac_cv_sys_largefile_source=1
2564else
2565 echo "configure: failed program was:" >&5
2566 cat conftest.$ac_ext >&5
2567fi
2568rm -f conftest*
2569fi
2570rm -f conftest*
2571fi
2572
2573echo "$ac_t""$ac_cv_sys_largefile_source" 1>&6
2574 if test "$ac_cv_sys_largefile_source" != no; then
2575 cat >> confdefs.h <<EOF
2576#define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
2577EOF
2578
2579 fi
2580 echo $ac_n "checking for _LARGE_FILES value needed for large files""... $ac_c" 1>&6 2522 echo $ac_n "checking for _LARGE_FILES value needed for large files""... $ac_c" 1>&6
2581echo "configure:2582: checking for _LARGE_FILES value needed for large files" >&5 2523echo "configure:2524: checking for _LARGE_FILES value needed for large files" >&5
2582if eval "test \"`echo '$''{'ac_cv_sys_large_files'+set}'`\" = set"; then 2524if eval "test \"`echo '$''{'ac_cv_sys_large_files'+set}'`\" = set"; then
2583 echo $ac_n "(cached) $ac_c" 1>&6 2525 echo $ac_n "(cached) $ac_c" 1>&6
2584else 2526else
2585 ac_cv_sys_large_files=no 2527 ac_cv_sys_large_files=no
2586 cat > conftest.$ac_ext <<EOF 2528 cat > conftest.$ac_ext <<EOF
2587#line 2588 "configure" 2529#line 2530 "configure"
2588#include "confdefs.h" 2530#include "confdefs.h"
2589#include <sys/types.h>
2590 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
2591
2592 2531
2593
2594int main() { 2532int main() {
2595 2533
2596; return 0; } 2534; return 0; }
2597EOF 2535EOF
2598if { (eval echo configure:2599: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2536if { (eval echo configure:2537: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2599 : 2537 :
2600else 2538else
2601 echo "configure: failed program was:" >&5 2539 echo "configure: failed program was:" >&5
2602 cat conftest.$ac_ext >&5 2540 cat conftest.$ac_ext >&5
2603 rm -rf conftest* 2541 rm -rf conftest*
2604 cat > conftest.$ac_ext <<EOF 2542 cat > conftest.$ac_ext <<EOF
2605#line 2606 "configure" 2543#line 2544 "configure"
2606#include "confdefs.h" 2544#include "confdefs.h"
2607#define _LARGE_FILES 1 2545#define _LARGE_FILES 1
2608#include <sys/types.h>
2609 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
2610
2611 2546
2612 2547
2613int main() { 2548int main() {
2614 2549
2615; return 0; } 2550; return 0; }
2616EOF 2551EOF
2617if { (eval echo configure:2618: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2552if { (eval echo configure:2553: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2618 rm -rf conftest* 2553 rm -rf conftest*
2619 ac_cv_sys_large_files=1 2554 ac_cv_sys_large_files=1
2620else 2555else
@@ -2633,62 +2568,6 @@ echo "$ac_t""$ac_cv_sys_large_files" 1>&6
2633EOF 2568EOF
2634 2569
2635 fi 2570 fi
2636 echo $ac_n "checking for _XOPEN_SOURCE value needed for large files""... $ac_c" 1>&6
2637echo "configure:2638: checking for _XOPEN_SOURCE value needed for large files" >&5
2638if eval "test \"`echo '$''{'ac_cv_sys_xopen_source'+set}'`\" = set"; then
2639 echo $ac_n "(cached) $ac_c" 1>&6
2640else
2641 ac_cv_sys_xopen_source=no
2642 cat > conftest.$ac_ext <<EOF
2643#line 2644 "configure"
2644#include "confdefs.h"
2645#include <sys/types.h>
2646 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
2647
2648#include <stdio.h>
2649
2650int main() {
2651return !ftello;
2652; return 0; }
2653EOF
2654if { (eval echo configure:2655: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2655 :
2656else
2657 echo "configure: failed program was:" >&5
2658 cat conftest.$ac_ext >&5
2659 rm -rf conftest*
2660 cat > conftest.$ac_ext <<EOF
2661#line 2662 "configure"
2662#include "confdefs.h"
2663#define _XOPEN_SOURCE 500
2664#include <sys/types.h>
2665 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
2666
2667#include <stdio.h>
2668
2669int main() {
2670return !ftello;
2671; return 0; }
2672EOF
2673if { (eval echo configure:2674: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2674 rm -rf conftest*
2675 ac_cv_sys_xopen_source=500
2676else
2677 echo "configure: failed program was:" >&5
2678 cat conftest.$ac_ext >&5
2679fi
2680rm -f conftest*
2681fi
2682rm -f conftest*
2683fi
2684
2685echo "$ac_t""$ac_cv_sys_xopen_source" 1>&6
2686 if test "$ac_cv_sys_xopen_source" != no; then
2687 cat >> confdefs.h <<EOF
2688#define _XOPEN_SOURCE $ac_cv_sys_xopen_source
2689EOF
2690
2691 fi
2692 fi 2571 fi
2693 2572
2694 2573
@@ -2697,17 +2576,17 @@ for ac_hdr in machine/soundcard.h sys/soundcard.h soundcard.h
2697do 2576do
2698ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2577ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2699echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2578echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2700echo "configure:2701: checking for $ac_hdr" >&5 2579echo "configure:2580: checking for $ac_hdr" >&5
2701if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2580if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2702 echo $ac_n "(cached) $ac_c" 1>&6 2581 echo $ac_n "(cached) $ac_c" 1>&6
2703else 2582else
2704 cat > conftest.$ac_ext <<EOF 2583 cat > conftest.$ac_ext <<EOF
2705#line 2706 "configure" 2584#line 2585 "configure"
2706#include "confdefs.h" 2585#include "confdefs.h"
2707#include <$ac_hdr> 2586#include <$ac_hdr>
2708EOF 2587EOF
2709ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2588ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2710{ (eval echo configure:2711: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2589{ (eval echo configure:2590: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2711ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2590ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2712if test -z "$ac_err"; then 2591if test -z "$ac_err"; then
2713 rm -rf conftest* 2592 rm -rf conftest*
@@ -2735,7 +2614,7 @@ done
2735 2614
2736# Emulation library used on NetBSD. 2615# Emulation library used on NetBSD.
2737echo $ac_n "checking for _oss_ioctl in -lossaudio""... $ac_c" 1>&6 2616echo $ac_n "checking for _oss_ioctl in -lossaudio""... $ac_c" 1>&6
2738echo "configure:2739: checking for _oss_ioctl in -lossaudio" >&5 2617echo "configure:2618: checking for _oss_ioctl in -lossaudio" >&5
2739ac_lib_var=`echo ossaudio'_'_oss_ioctl | sed 'y%./+-%__p_%'` 2618ac_lib_var=`echo ossaudio'_'_oss_ioctl | sed 'y%./+-%__p_%'`
2740if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 2619if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2741 echo $ac_n "(cached) $ac_c" 1>&6 2620 echo $ac_n "(cached) $ac_c" 1>&6
@@ -2743,7 +2622,7 @@ else
2743 ac_save_LIBS="$LIBS" 2622 ac_save_LIBS="$LIBS"
2744LIBS="-lossaudio $LIBS" 2623LIBS="-lossaudio $LIBS"
2745cat > conftest.$ac_ext <<EOF 2624cat > conftest.$ac_ext <<EOF
2746#line 2747 "configure" 2625#line 2626 "configure"
2747#include "confdefs.h" 2626#include "confdefs.h"
2748/* Override any gcc2 internal prototype to avoid an error. */ 2627/* Override any gcc2 internal prototype to avoid an error. */
2749/* We use char because int might match the return type of a gcc2 2628/* We use char because int might match the return type of a gcc2
@@ -2754,7 +2633,7 @@ int main() {
2754_oss_ioctl() 2633_oss_ioctl()
2755; return 0; } 2634; return 0; }
2756EOF 2635EOF
2757if { (eval echo configure:2758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2636if { (eval echo configure:2637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2758 rm -rf conftest* 2637 rm -rf conftest*
2759 eval "ac_cv_lib_$ac_lib_var=yes" 2638 eval "ac_cv_lib_$ac_lib_var=yes"
2760else 2639else
@@ -2783,17 +2662,17 @@ for ac_hdr in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \
2783do 2662do
2784ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2663ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2785echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2664echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2786echo "configure:2787: checking for $ac_hdr" >&5 2665echo "configure:2666: checking for $ac_hdr" >&5
2787if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2666if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2788 echo $ac_n "(cached) $ac_c" 1>&6 2667 echo $ac_n "(cached) $ac_c" 1>&6
2789else 2668else
2790 cat > conftest.$ac_ext <<EOF 2669 cat > conftest.$ac_ext <<EOF
2791#line 2792 "configure" 2670#line 2671 "configure"
2792#include "confdefs.h" 2671#include "confdefs.h"
2793#include <$ac_hdr> 2672#include <$ac_hdr>
2794EOF 2673EOF
2795ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2674ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2796{ (eval echo configure:2797: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2675{ (eval echo configure:2676: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2797ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2676ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2798if test -z "$ac_err"; then 2677if test -z "$ac_err"; then
2799 rm -rf conftest* 2678 rm -rf conftest*
@@ -2820,12 +2699,12 @@ fi
2820done 2699done
2821 2700
2822echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 2701echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
2823echo "configure:2824: checking for ANSI C header files" >&5 2702echo "configure:2703: checking for ANSI C header files" >&5
2824if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 2703if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
2825 echo $ac_n "(cached) $ac_c" 1>&6 2704 echo $ac_n "(cached) $ac_c" 1>&6
2826else 2705else
2827 cat > conftest.$ac_ext <<EOF 2706 cat > conftest.$ac_ext <<EOF
2828#line 2829 "configure" 2707#line 2708 "configure"
2829#include "confdefs.h" 2708#include "confdefs.h"
2830#include <stdlib.h> 2709#include <stdlib.h>
2831#include <stdarg.h> 2710#include <stdarg.h>
@@ -2833,7 +2712,7 @@ else
2833#include <float.h> 2712#include <float.h>
2834EOF 2713EOF
2835ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2714ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2836{ (eval echo configure:2837: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2715{ (eval echo configure:2716: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2837ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2716ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2838if test -z "$ac_err"; then 2717if test -z "$ac_err"; then
2839 rm -rf conftest* 2718 rm -rf conftest*
@@ -2850,7 +2729,7 @@ rm -f conftest*
2850if test $ac_cv_header_stdc = yes; then 2729if test $ac_cv_header_stdc = yes; then
2851 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 2730 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2852cat > conftest.$ac_ext <<EOF 2731cat > conftest.$ac_ext <<EOF
2853#line 2854 "configure" 2732#line 2733 "configure"
2854#include "confdefs.h" 2733#include "confdefs.h"
2855#include <string.h> 2734#include <string.h>
2856EOF 2735EOF
@@ -2868,7 +2747,7 @@ fi
2868if test $ac_cv_header_stdc = yes; then 2747if test $ac_cv_header_stdc = yes; then
2869 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 2748 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2870cat > conftest.$ac_ext <<EOF 2749cat > conftest.$ac_ext <<EOF
2871#line 2872 "configure" 2750#line 2751 "configure"
2872#include "confdefs.h" 2751#include "confdefs.h"
2873#include <stdlib.h> 2752#include <stdlib.h>
2874EOF 2753EOF
@@ -2889,7 +2768,7 @@ if test "$cross_compiling" = yes; then
2889 : 2768 :
2890else 2769else
2891 cat > conftest.$ac_ext <<EOF 2770 cat > conftest.$ac_ext <<EOF
2892#line 2893 "configure" 2771#line 2772 "configure"
2893#include "confdefs.h" 2772#include "confdefs.h"
2894#include <ctype.h> 2773#include <ctype.h>
2895#define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 2774#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
@@ -2900,7 +2779,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
2900exit (0); } 2779exit (0); }
2901 2780
2902EOF 2781EOF
2903if { (eval echo configure:2904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2782if { (eval echo configure:2783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2904then 2783then
2905 : 2784 :
2906else 2785else
@@ -2924,12 +2803,12 @@ EOF
2924fi 2803fi
2925 2804
2926echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 2805echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
2927echo "configure:2928: checking whether time.h and sys/time.h may both be included" >&5 2806echo "configure:2807: checking whether time.h and sys/time.h may both be included" >&5
2928if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then 2807if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
2929 echo $ac_n "(cached) $ac_c" 1>&6 2808 echo $ac_n "(cached) $ac_c" 1>&6
2930else 2809else
2931 cat > conftest.$ac_ext <<EOF 2810 cat > conftest.$ac_ext <<EOF
2932#line 2933 "configure" 2811#line 2812 "configure"
2933#include "confdefs.h" 2812#include "confdefs.h"
2934#include <sys/types.h> 2813#include <sys/types.h>
2935#include <sys/time.h> 2814#include <sys/time.h>
@@ -2938,7 +2817,7 @@ int main() {
2938struct tm *tp; 2817struct tm *tp;
2939; return 0; } 2818; return 0; }
2940EOF 2819EOF
2941if { (eval echo configure:2942: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2820if { (eval echo configure:2821: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2942 rm -rf conftest* 2821 rm -rf conftest*
2943 ac_cv_header_time=yes 2822 ac_cv_header_time=yes
2944else 2823else
@@ -2959,12 +2838,12 @@ EOF
2959fi 2838fi
2960 2839
2961echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 2840echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6
2962echo "configure:2963: checking for sys_siglist declaration in signal.h or unistd.h" >&5 2841echo "configure:2842: checking for sys_siglist declaration in signal.h or unistd.h" >&5
2963if eval "test \"`echo '$''{'ac_cv_decl_sys_siglist'+set}'`\" = set"; then 2842if eval "test \"`echo '$''{'ac_cv_decl_sys_siglist'+set}'`\" = set"; then
2964 echo $ac_n "(cached) $ac_c" 1>&6 2843 echo $ac_n "(cached) $ac_c" 1>&6
2965else 2844else
2966 cat > conftest.$ac_ext <<EOF 2845 cat > conftest.$ac_ext <<EOF
2967#line 2968 "configure" 2846#line 2847 "configure"
2968#include "confdefs.h" 2847#include "confdefs.h"
2969#include <sys/types.h> 2848#include <sys/types.h>
2970#include <signal.h> 2849#include <signal.h>
@@ -2976,7 +2855,7 @@ int main() {
2976char *msg = *(sys_siglist + 1); 2855char *msg = *(sys_siglist + 1);
2977; return 0; } 2856; return 0; }
2978EOF 2857EOF
2979if { (eval echo configure:2980: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2858if { (eval echo configure:2859: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2980 rm -rf conftest* 2859 rm -rf conftest*
2981 ac_cv_decl_sys_siglist=yes 2860 ac_cv_decl_sys_siglist=yes
2982else 2861else
@@ -2997,12 +2876,12 @@ EOF
2997fi 2876fi
2998 2877
2999echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 2878echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
3000echo "configure:3001: checking for sys/wait.h that is POSIX.1 compatible" >&5 2879echo "configure:2880: checking for sys/wait.h that is POSIX.1 compatible" >&5
3001if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then 2880if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
3002 echo $ac_n "(cached) $ac_c" 1>&6 2881 echo $ac_n "(cached) $ac_c" 1>&6
3003else 2882else
3004 cat > conftest.$ac_ext <<EOF 2883 cat > conftest.$ac_ext <<EOF
3005#line 3006 "configure" 2884#line 2885 "configure"
3006#include "confdefs.h" 2885#include "confdefs.h"
3007#include <sys/types.h> 2886#include <sys/types.h>
3008#include <sys/wait.h> 2887#include <sys/wait.h>
@@ -3018,7 +2897,7 @@ wait (&s);
3018s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; 2897s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
3019; return 0; } 2898; return 0; }
3020EOF 2899EOF
3021if { (eval echo configure:3022: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2900if { (eval echo configure:2901: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3022 rm -rf conftest* 2901 rm -rf conftest*
3023 ac_cv_header_sys_wait_h=yes 2902 ac_cv_header_sys_wait_h=yes
3024else 2903else
@@ -3040,12 +2919,12 @@ fi
3040 2919
3041 2920
3042echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 2921echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6
3043echo "configure:3044: checking for struct utimbuf" >&5 2922echo "configure:2923: checking for struct utimbuf" >&5
3044if eval "test \"`echo '$''{'emacs_cv_struct_utimbuf'+set}'`\" = set"; then 2923if eval "test \"`echo '$''{'emacs_cv_struct_utimbuf'+set}'`\" = set"; then
3045 echo $ac_n "(cached) $ac_c" 1>&6 2924 echo $ac_n "(cached) $ac_c" 1>&6
3046else 2925else
3047 cat > conftest.$ac_ext <<EOF 2926 cat > conftest.$ac_ext <<EOF
3048#line 3049 "configure" 2927#line 2928 "configure"
3049#include "confdefs.h" 2928#include "confdefs.h"
3050#ifdef TIME_WITH_SYS_TIME 2929#ifdef TIME_WITH_SYS_TIME
3051#include <sys/time.h> 2930#include <sys/time.h>
@@ -3064,7 +2943,7 @@ int main() {
3064static struct utimbuf x; x.actime = x.modtime; 2943static struct utimbuf x; x.actime = x.modtime;
3065; return 0; } 2944; return 0; }
3066EOF 2945EOF
3067if { (eval echo configure:3068: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2946if { (eval echo configure:2947: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3068 rm -rf conftest* 2947 rm -rf conftest*
3069 emacs_cv_struct_utimbuf=yes 2948 emacs_cv_struct_utimbuf=yes
3070else 2949else
@@ -3085,12 +2964,12 @@ EOF
3085fi 2964fi
3086 2965
3087echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 2966echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
3088echo "configure:3089: checking return type of signal handlers" >&5 2967echo "configure:2968: checking return type of signal handlers" >&5
3089if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then 2968if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
3090 echo $ac_n "(cached) $ac_c" 1>&6 2969 echo $ac_n "(cached) $ac_c" 1>&6
3091else 2970else
3092 cat > conftest.$ac_ext <<EOF 2971 cat > conftest.$ac_ext <<EOF
3093#line 3094 "configure" 2972#line 2973 "configure"
3094#include "confdefs.h" 2973#include "confdefs.h"
3095#include <sys/types.h> 2974#include <sys/types.h>
3096#include <signal.h> 2975#include <signal.h>
@@ -3107,7 +2986,7 @@ int main() {
3107int i; 2986int i;
3108; return 0; } 2987; return 0; }
3109EOF 2988EOF
3110if { (eval echo configure:3111: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2989if { (eval echo configure:2990: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3111 rm -rf conftest* 2990 rm -rf conftest*
3112 ac_cv_type_signal=void 2991 ac_cv_type_signal=void
3113else 2992else
@@ -3127,19 +3006,19 @@ EOF
3127 3006
3128 3007
3129echo $ac_n "checking for speed_t""... $ac_c" 1>&6 3008echo $ac_n "checking for speed_t""... $ac_c" 1>&6
3130echo "configure:3131: checking for speed_t" >&5 3009echo "configure:3010: checking for speed_t" >&5
3131if eval "test \"`echo '$''{'emacs_cv_speed_t'+set}'`\" = set"; then 3010if eval "test \"`echo '$''{'emacs_cv_speed_t'+set}'`\" = set"; then
3132 echo $ac_n "(cached) $ac_c" 1>&6 3011 echo $ac_n "(cached) $ac_c" 1>&6
3133else 3012else
3134 cat > conftest.$ac_ext <<EOF 3013 cat > conftest.$ac_ext <<EOF
3135#line 3136 "configure" 3014#line 3015 "configure"
3136#include "confdefs.h" 3015#include "confdefs.h"
3137#include <termios.h> 3016#include <termios.h>
3138int main() { 3017int main() {
3139speed_t x = 1; 3018speed_t x = 1;
3140; return 0; } 3019; return 0; }
3141EOF 3020EOF
3142if { (eval echo configure:3143: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3021if { (eval echo configure:3022: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3143 rm -rf conftest* 3022 rm -rf conftest*
3144 emacs_cv_speed_t=yes 3023 emacs_cv_speed_t=yes
3145else 3024else
@@ -3158,12 +3037,12 @@ EOF
3158fi 3037fi
3159 3038
3160echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 3039echo $ac_n "checking for struct timeval""... $ac_c" 1>&6
3161echo "configure:3162: checking for struct timeval" >&5 3040echo "configure:3041: checking for struct timeval" >&5
3162if eval "test \"`echo '$''{'emacs_cv_struct_timeval'+set}'`\" = set"; then 3041if eval "test \"`echo '$''{'emacs_cv_struct_timeval'+set}'`\" = set"; then
3163 echo $ac_n "(cached) $ac_c" 1>&6 3042 echo $ac_n "(cached) $ac_c" 1>&6
3164else 3043else
3165 cat > conftest.$ac_ext <<EOF 3044 cat > conftest.$ac_ext <<EOF
3166#line 3167 "configure" 3045#line 3046 "configure"
3167#include "confdefs.h" 3046#include "confdefs.h"
3168#ifdef TIME_WITH_SYS_TIME 3047#ifdef TIME_WITH_SYS_TIME
3169#include <sys/time.h> 3048#include <sys/time.h>
@@ -3179,7 +3058,7 @@ int main() {
3179static struct timeval x; x.tv_sec = x.tv_usec; 3058static struct timeval x; x.tv_sec = x.tv_usec;
3180; return 0; } 3059; return 0; }
3181EOF 3060EOF
3182if { (eval echo configure:3183: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3061if { (eval echo configure:3062: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3183 rm -rf conftest* 3062 rm -rf conftest*
3184 emacs_cv_struct_timeval=yes 3063 emacs_cv_struct_timeval=yes
3185else 3064else
@@ -3201,19 +3080,19 @@ EOF
3201fi 3080fi
3202 3081
3203echo $ac_n "checking for struct exception""... $ac_c" 1>&6 3082echo $ac_n "checking for struct exception""... $ac_c" 1>&6
3204echo "configure:3205: checking for struct exception" >&5 3083echo "configure:3084: checking for struct exception" >&5
3205if eval "test \"`echo '$''{'emacs_cv_struct_exception'+set}'`\" = set"; then 3084if eval "test \"`echo '$''{'emacs_cv_struct_exception'+set}'`\" = set"; then
3206 echo $ac_n "(cached) $ac_c" 1>&6 3085 echo $ac_n "(cached) $ac_c" 1>&6
3207else 3086else
3208 cat > conftest.$ac_ext <<EOF 3087 cat > conftest.$ac_ext <<EOF
3209#line 3210 "configure" 3088#line 3089 "configure"
3210#include "confdefs.h" 3089#include "confdefs.h"
3211#include <math.h> 3090#include <math.h>
3212int main() { 3091int main() {
3213static struct exception x; x.arg1 = x.arg2 = x.retval; x.name = ""; x.type = 1; 3092static struct exception x; x.arg1 = x.arg2 = x.retval; x.name = ""; x.type = 1;
3214; return 0; } 3093; return 0; }
3215EOF 3094EOF
3216if { (eval echo configure:3217: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3095if { (eval echo configure:3096: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3217 rm -rf conftest* 3096 rm -rf conftest*
3218 emacs_cv_struct_exception=yes 3097 emacs_cv_struct_exception=yes
3219else 3098else
@@ -3235,12 +3114,12 @@ EOF
3235fi 3114fi
3236 3115
3237echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 3116echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
3238echo "configure:3239: checking whether struct tm is in sys/time.h or time.h" >&5 3117echo "configure:3118: checking whether struct tm is in sys/time.h or time.h" >&5
3239if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then 3118if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
3240 echo $ac_n "(cached) $ac_c" 1>&6 3119 echo $ac_n "(cached) $ac_c" 1>&6
3241else 3120else
3242 cat > conftest.$ac_ext <<EOF 3121 cat > conftest.$ac_ext <<EOF
3243#line 3244 "configure" 3122#line 3123 "configure"
3244#include "confdefs.h" 3123#include "confdefs.h"
3245#include <sys/types.h> 3124#include <sys/types.h>
3246#include <time.h> 3125#include <time.h>
@@ -3248,7 +3127,7 @@ int main() {
3248struct tm *tp; tp->tm_sec; 3127struct tm *tp; tp->tm_sec;
3249; return 0; } 3128; return 0; }
3250EOF 3129EOF
3251if { (eval echo configure:3252: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3130if { (eval echo configure:3131: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3252 rm -rf conftest* 3131 rm -rf conftest*
3253 ac_cv_struct_tm=time.h 3132 ac_cv_struct_tm=time.h
3254else 3133else
@@ -3269,12 +3148,12 @@ EOF
3269fi 3148fi
3270 3149
3271echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 3150echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6
3272echo "configure:3273: checking for tm_zone in struct tm" >&5 3151echo "configure:3152: checking for tm_zone in struct tm" >&5
3273if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then 3152if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then
3274 echo $ac_n "(cached) $ac_c" 1>&6 3153 echo $ac_n "(cached) $ac_c" 1>&6
3275else 3154else
3276 cat > conftest.$ac_ext <<EOF 3155 cat > conftest.$ac_ext <<EOF
3277#line 3278 "configure" 3156#line 3157 "configure"
3278#include "confdefs.h" 3157#include "confdefs.h"
3279#include <sys/types.h> 3158#include <sys/types.h>
3280#include <$ac_cv_struct_tm> 3159#include <$ac_cv_struct_tm>
@@ -3282,7 +3161,7 @@ int main() {
3282struct tm tm; tm.tm_zone; 3161struct tm tm; tm.tm_zone;
3283; return 0; } 3162; return 0; }
3284EOF 3163EOF
3285if { (eval echo configure:3286: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3164if { (eval echo configure:3165: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3286 rm -rf conftest* 3165 rm -rf conftest*
3287 ac_cv_struct_tm_zone=yes 3166 ac_cv_struct_tm_zone=yes
3288else 3167else
@@ -3302,12 +3181,12 @@ EOF
3302 3181
3303else 3182else
3304 echo $ac_n "checking for tzname""... $ac_c" 1>&6 3183 echo $ac_n "checking for tzname""... $ac_c" 1>&6
3305echo "configure:3306: checking for tzname" >&5 3184echo "configure:3185: checking for tzname" >&5
3306if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then 3185if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then
3307 echo $ac_n "(cached) $ac_c" 1>&6 3186 echo $ac_n "(cached) $ac_c" 1>&6
3308else 3187else
3309 cat > conftest.$ac_ext <<EOF 3188 cat > conftest.$ac_ext <<EOF
3310#line 3311 "configure" 3189#line 3190 "configure"
3311#include "confdefs.h" 3190#include "confdefs.h"
3312#include <time.h> 3191#include <time.h>
3313#ifndef tzname /* For SGI. */ 3192#ifndef tzname /* For SGI. */
@@ -3317,7 +3196,7 @@ int main() {
3317atoi(*tzname); 3196atoi(*tzname);
3318; return 0; } 3197; return 0; }
3319EOF 3198EOF
3320if { (eval echo configure:3321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3199if { (eval echo configure:3200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3321 rm -rf conftest* 3200 rm -rf conftest*
3322 ac_cv_var_tzname=yes 3201 ac_cv_var_tzname=yes
3323else 3202else
@@ -3339,19 +3218,19 @@ EOF
3339fi 3218fi
3340 3219
3341echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6 3220echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
3342echo "configure:3343: checking for tm_gmtoff in struct tm" >&5 3221echo "configure:3222: checking for tm_gmtoff in struct tm" >&5
3343if eval "test \"`echo '$''{'emacs_cv_tm_gmtoff'+set}'`\" = set"; then 3222if eval "test \"`echo '$''{'emacs_cv_tm_gmtoff'+set}'`\" = set"; then
3344 echo $ac_n "(cached) $ac_c" 1>&6 3223 echo $ac_n "(cached) $ac_c" 1>&6
3345else 3224else
3346 cat > conftest.$ac_ext <<EOF 3225 cat > conftest.$ac_ext <<EOF
3347#line 3348 "configure" 3226#line 3227 "configure"
3348#include "confdefs.h" 3227#include "confdefs.h"
3349#include <time.h> 3228#include <time.h>
3350int main() { 3229int main() {
3351struct tm t; t.tm_gmtoff = 0 3230struct tm t; t.tm_gmtoff = 0
3352; return 0; } 3231; return 0; }
3353EOF 3232EOF
3354if { (eval echo configure:3355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3233if { (eval echo configure:3234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3355 rm -rf conftest* 3234 rm -rf conftest*
3356 emacs_cv_tm_gmtoff=yes 3235 emacs_cv_tm_gmtoff=yes
3357else 3236else
@@ -3373,7 +3252,7 @@ fi
3373 3252
3374 3253
3375echo $ac_n "checking for ${CC-cc} option to accept ANSI C""... $ac_c" 1>&6 3254echo $ac_n "checking for ${CC-cc} option to accept ANSI C""... $ac_c" 1>&6
3376echo "configure:3377: checking for ${CC-cc} option to accept ANSI C" >&5 3255echo "configure:3256: checking for ${CC-cc} option to accept ANSI C" >&5
3377if eval "test \"`echo '$''{'ac_cv_prog_cc_stdc'+set}'`\" = set"; then 3256if eval "test \"`echo '$''{'ac_cv_prog_cc_stdc'+set}'`\" = set"; then
3378 echo $ac_n "(cached) $ac_c" 1>&6 3257 echo $ac_n "(cached) $ac_c" 1>&6
3379else 3258else
@@ -3390,7 +3269,7 @@ for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIO
3390do 3269do
3391 CC="$ac_save_CC $ac_arg" 3270 CC="$ac_save_CC $ac_arg"
3392 cat > conftest.$ac_ext <<EOF 3271 cat > conftest.$ac_ext <<EOF
3393#line 3394 "configure" 3272#line 3273 "configure"
3394#include "confdefs.h" 3273#include "confdefs.h"
3395#include <stdarg.h> 3274#include <stdarg.h>
3396#include <stdio.h> 3275#include <stdio.h>
@@ -3424,7 +3303,7 @@ int main() {
3424return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3303return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3425; return 0; } 3304; return 0; }
3426EOF 3305EOF
3427if { (eval echo configure:3428: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3306if { (eval echo configure:3307: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3428 rm -rf conftest* 3307 rm -rf conftest*
3429 ac_cv_prog_cc_stdc="$ac_arg"; break 3308 ac_cv_prog_cc_stdc="$ac_arg"; break
3430else 3309else
@@ -3446,7 +3325,7 @@ case "x$ac_cv_prog_cc_stdc" in
3446esac 3325esac
3447 3326
3448echo $ac_n "checking for function prototypes""... $ac_c" 1>&6 3327echo $ac_n "checking for function prototypes""... $ac_c" 1>&6
3449echo "configure:3450: checking for function prototypes" >&5 3328echo "configure:3329: checking for function prototypes" >&5
3450if test "$ac_cv_prog_cc_stdc" != no; then 3329if test "$ac_cv_prog_cc_stdc" != no; then
3451 echo "$ac_t""yes" 1>&6 3330 echo "$ac_t""yes" 1>&6
3452 cat >> confdefs.h <<\EOF 3331 cat >> confdefs.h <<\EOF
@@ -3458,12 +3337,12 @@ else
3458fi 3337fi
3459 3338
3460echo $ac_n "checking for working volatile""... $ac_c" 1>&6 3339echo $ac_n "checking for working volatile""... $ac_c" 1>&6
3461echo "configure:3462: checking for working volatile" >&5 3340echo "configure:3341: checking for working volatile" >&5
3462if eval "test \"`echo '$''{'ac_cv_c_volatile'+set}'`\" = set"; then 3341if eval "test \"`echo '$''{'ac_cv_c_volatile'+set}'`\" = set"; then
3463 echo $ac_n "(cached) $ac_c" 1>&6 3342 echo $ac_n "(cached) $ac_c" 1>&6
3464else 3343else
3465 cat > conftest.$ac_ext <<EOF 3344 cat > conftest.$ac_ext <<EOF
3466#line 3467 "configure" 3345#line 3346 "configure"
3467#include "confdefs.h" 3346#include "confdefs.h"
3468 3347
3469int main() { 3348int main() {
@@ -3472,7 +3351,7 @@ volatile int x;
3472int * volatile y; 3351int * volatile y;
3473; return 0; } 3352; return 0; }
3474EOF 3353EOF
3475if { (eval echo configure:3476: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3354if { (eval echo configure:3355: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3476 rm -rf conftest* 3355 rm -rf conftest*
3477 ac_cv_c_volatile=yes 3356 ac_cv_c_volatile=yes
3478else 3357else
@@ -3493,12 +3372,12 @@ EOF
3493fi 3372fi
3494 3373
3495echo $ac_n "checking for working const""... $ac_c" 1>&6 3374echo $ac_n "checking for working const""... $ac_c" 1>&6
3496echo "configure:3497: checking for working const" >&5 3375echo "configure:3376: checking for working const" >&5
3497if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 3376if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
3498 echo $ac_n "(cached) $ac_c" 1>&6 3377 echo $ac_n "(cached) $ac_c" 1>&6
3499else 3378else
3500 cat > conftest.$ac_ext <<EOF 3379 cat > conftest.$ac_ext <<EOF
3501#line 3502 "configure" 3380#line 3381 "configure"
3502#include "confdefs.h" 3381#include "confdefs.h"
3503 3382
3504int main() { 3383int main() {
@@ -3547,7 +3426,7 @@ ccp = (char const *const *) p;
3547 3426
3548; return 0; } 3427; return 0; }
3549EOF 3428EOF
3550if { (eval echo configure:3551: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3429if { (eval echo configure:3430: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3551 rm -rf conftest* 3430 rm -rf conftest*
3552 ac_cv_c_const=yes 3431 ac_cv_c_const=yes
3553else 3432else
@@ -3568,19 +3447,19 @@ EOF
3568fi 3447fi
3569 3448
3570echo $ac_n "checking for void * support""... $ac_c" 1>&6 3449echo $ac_n "checking for void * support""... $ac_c" 1>&6
3571echo "configure:3572: checking for void * support" >&5 3450echo "configure:3451: checking for void * support" >&5
3572if eval "test \"`echo '$''{'emacs_cv_void_star'+set}'`\" = set"; then 3451if eval "test \"`echo '$''{'emacs_cv_void_star'+set}'`\" = set"; then
3573 echo $ac_n "(cached) $ac_c" 1>&6 3452 echo $ac_n "(cached) $ac_c" 1>&6
3574else 3453else
3575 cat > conftest.$ac_ext <<EOF 3454 cat > conftest.$ac_ext <<EOF
3576#line 3577 "configure" 3455#line 3456 "configure"
3577#include "confdefs.h" 3456#include "confdefs.h"
3578 3457
3579int main() { 3458int main() {
3580void * foo; 3459void * foo;
3581; return 0; } 3460; return 0; }
3582EOF 3461EOF
3583if { (eval echo configure:3584: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3462if { (eval echo configure:3463: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3584 rm -rf conftest* 3463 rm -rf conftest*
3585 emacs_cv_void_star=yes 3464 emacs_cv_void_star=yes
3586else 3465else
@@ -3606,7 +3485,7 @@ EOF
3606fi 3485fi
3607 3486
3608echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 3487echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
3609echo "configure:3610: checking whether ${MAKE-make} sets \${MAKE}" >&5 3488echo "configure:3489: checking whether ${MAKE-make} sets \${MAKE}" >&5
3610set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 3489set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
3611if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then 3490if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
3612 echo $ac_n "(cached) $ac_c" 1>&6 3491 echo $ac_n "(cached) $ac_c" 1>&6
@@ -3634,7 +3513,7 @@ fi
3634 3513
3635 3514
3636echo $ac_n "checking for long file names""... $ac_c" 1>&6 3515echo $ac_n "checking for long file names""... $ac_c" 1>&6
3637echo "configure:3638: checking for long file names" >&5 3516echo "configure:3517: checking for long file names" >&5
3638if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then 3517if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then
3639 echo $ac_n "(cached) $ac_c" 1>&6 3518 echo $ac_n "(cached) $ac_c" 1>&6
3640else 3519else
@@ -3685,7 +3564,7 @@ fi
3685# Uses ac_ vars as temps to allow command line to override cache and checks. 3564# Uses ac_ vars as temps to allow command line to override cache and checks.
3686# --without-x overrides everything else, but does not touch the cache. 3565# --without-x overrides everything else, but does not touch the cache.
3687echo $ac_n "checking for X""... $ac_c" 1>&6 3566echo $ac_n "checking for X""... $ac_c" 1>&6
3688echo "configure:3689: checking for X" >&5 3567echo "configure:3568: checking for X" >&5
3689 3568
3690# Check whether --with-x or --without-x was given. 3569# Check whether --with-x or --without-x was given.
3691if test "${with_x+set}" = set; then 3570if test "${with_x+set}" = set; then
@@ -3747,12 +3626,12 @@ if test "$ac_x_includes" = NO; then
3747 3626
3748 # First, try using that file with no special directory specified. 3627 # First, try using that file with no special directory specified.
3749cat > conftest.$ac_ext <<EOF 3628cat > conftest.$ac_ext <<EOF
3750#line 3751 "configure" 3629#line 3630 "configure"
3751#include "confdefs.h" 3630#include "confdefs.h"
3752#include <$x_direct_test_include> 3631#include <$x_direct_test_include>
3753EOF 3632EOF
3754ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3633ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3755{ (eval echo configure:3756: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3634{ (eval echo configure:3635: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3756ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3635ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3757if test -z "$ac_err"; then 3636if test -z "$ac_err"; then
3758 rm -rf conftest* 3637 rm -rf conftest*
@@ -3821,14 +3700,14 @@ if test "$ac_x_libraries" = NO; then
3821 ac_save_LIBS="$LIBS" 3700 ac_save_LIBS="$LIBS"
3822 LIBS="-l$x_direct_test_library $LIBS" 3701 LIBS="-l$x_direct_test_library $LIBS"
3823cat > conftest.$ac_ext <<EOF 3702cat > conftest.$ac_ext <<EOF
3824#line 3825 "configure" 3703#line 3704 "configure"
3825#include "confdefs.h" 3704#include "confdefs.h"
3826 3705
3827int main() { 3706int main() {
3828${x_direct_test_function}() 3707${x_direct_test_function}()
3829; return 0; } 3708; return 0; }
3830EOF 3709EOF
3831if { (eval echo configure:3832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3710if { (eval echo configure:3711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3832 rm -rf conftest* 3711 rm -rf conftest*
3833 LIBS="$ac_save_LIBS" 3712 LIBS="$ac_save_LIBS"
3834# We can link X programs with no special library path. 3713# We can link X programs with no special library path.
@@ -4006,12 +3885,12 @@ UNEXEC_SRC="`echo ${unexec} | sed 's/\.o/.c/'`"
4006GNU_MALLOC=yes 3885GNU_MALLOC=yes
4007doug_lea_malloc=yes 3886doug_lea_malloc=yes
4008echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 3887echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6
4009echo "configure:4010: checking for malloc_get_state" >&5 3888echo "configure:3889: checking for malloc_get_state" >&5
4010if eval "test \"`echo '$''{'ac_cv_func_malloc_get_state'+set}'`\" = set"; then 3889if eval "test \"`echo '$''{'ac_cv_func_malloc_get_state'+set}'`\" = set"; then
4011 echo $ac_n "(cached) $ac_c" 1>&6 3890 echo $ac_n "(cached) $ac_c" 1>&6
4012else 3891else
4013 cat > conftest.$ac_ext <<EOF 3892 cat > conftest.$ac_ext <<EOF
4014#line 4015 "configure" 3893#line 3894 "configure"
4015#include "confdefs.h" 3894#include "confdefs.h"
4016/* System header to define __stub macros and hopefully few prototypes, 3895/* System header to define __stub macros and hopefully few prototypes,
4017 which can conflict with char malloc_get_state(); below. */ 3896 which can conflict with char malloc_get_state(); below. */
@@ -4034,7 +3913,7 @@ malloc_get_state();
4034 3913
4035; return 0; } 3914; return 0; }
4036EOF 3915EOF
4037if { (eval echo configure:4038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3916if { (eval echo configure:3917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4038 rm -rf conftest* 3917 rm -rf conftest*
4039 eval "ac_cv_func_malloc_get_state=yes" 3918 eval "ac_cv_func_malloc_get_state=yes"
4040else 3919else
@@ -4055,12 +3934,12 @@ doug_lea_malloc=no
4055fi 3934fi
4056 3935
4057echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 3936echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6
4058echo "configure:4059: checking for malloc_set_state" >&5 3937echo "configure:3938: checking for malloc_set_state" >&5
4059if eval "test \"`echo '$''{'ac_cv_func_malloc_set_state'+set}'`\" = set"; then 3938if eval "test \"`echo '$''{'ac_cv_func_malloc_set_state'+set}'`\" = set"; then
4060 echo $ac_n "(cached) $ac_c" 1>&6 3939 echo $ac_n "(cached) $ac_c" 1>&6
4061else 3940else
4062 cat > conftest.$ac_ext <<EOF 3941 cat > conftest.$ac_ext <<EOF
4063#line 4064 "configure" 3942#line 3943 "configure"
4064#include "confdefs.h" 3943#include "confdefs.h"
4065/* System header to define __stub macros and hopefully few prototypes, 3944/* System header to define __stub macros and hopefully few prototypes,
4066 which can conflict with char malloc_set_state(); below. */ 3945 which can conflict with char malloc_set_state(); below. */
@@ -4083,7 +3962,7 @@ malloc_set_state();
4083 3962
4084; return 0; } 3963; return 0; }
4085EOF 3964EOF
4086if { (eval echo configure:4087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3965if { (eval echo configure:3966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4087 rm -rf conftest* 3966 rm -rf conftest*
4088 eval "ac_cv_func_malloc_set_state=yes" 3967 eval "ac_cv_func_malloc_set_state=yes"
4089else 3968else
@@ -4104,19 +3983,19 @@ doug_lea_malloc=no
4104fi 3983fi
4105 3984
4106echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 3985echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6
4107echo "configure:4108: checking whether __after_morecore_hook exists" >&5 3986echo "configure:3987: checking whether __after_morecore_hook exists" >&5
4108if eval "test \"`echo '$''{'emacs_cv_var___after_morecore_hook'+set}'`\" = set"; then 3987if eval "test \"`echo '$''{'emacs_cv_var___after_morecore_hook'+set}'`\" = set"; then
4109 echo $ac_n "(cached) $ac_c" 1>&6 3988 echo $ac_n "(cached) $ac_c" 1>&6
4110else 3989else
4111 cat > conftest.$ac_ext <<EOF 3990 cat > conftest.$ac_ext <<EOF
4112#line 4113 "configure" 3991#line 3992 "configure"
4113#include "confdefs.h" 3992#include "confdefs.h"
4114extern void (* __after_morecore_hook)(); 3993extern void (* __after_morecore_hook)();
4115int main() { 3994int main() {
4116__after_morecore_hook = 0 3995__after_morecore_hook = 0
4117; return 0; } 3996; return 0; }
4118EOF 3997EOF
4119if { (eval echo configure:4120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3998if { (eval echo configure:3999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4120 rm -rf conftest* 3999 rm -rf conftest*
4121 emacs_cv_var___after_morecore_hook=yes 4000 emacs_cv_var___after_morecore_hook=yes
4122else 4001else
@@ -4157,17 +4036,17 @@ for ac_hdr in stdlib.h unistd.h sys/stat.h
4157do 4036do
4158ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 4037ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4159echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 4038echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4160echo "configure:4161: checking for $ac_hdr" >&5 4039echo "configure:4040: checking for $ac_hdr" >&5
4161if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4040if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4162 echo $ac_n "(cached) $ac_c" 1>&6 4041 echo $ac_n "(cached) $ac_c" 1>&6
4163else 4042else
4164 cat > conftest.$ac_ext <<EOF 4043 cat > conftest.$ac_ext <<EOF
4165#line 4166 "configure" 4044#line 4045 "configure"
4166#include "confdefs.h" 4045#include "confdefs.h"
4167#include <$ac_hdr> 4046#include <$ac_hdr>
4168EOF 4047EOF
4169ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4048ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4170{ (eval echo configure:4171: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4049{ (eval echo configure:4050: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4171ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4050ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4172if test -z "$ac_err"; then 4051if test -z "$ac_err"; then
4173 rm -rf conftest* 4052 rm -rf conftest*
@@ -4196,12 +4075,12 @@ done
4196for ac_func in getpagesize 4075for ac_func in getpagesize
4197do 4076do
4198echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4077echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4199echo "configure:4200: checking for $ac_func" >&5 4078echo "configure:4079: checking for $ac_func" >&5
4200if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4079if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4201 echo $ac_n "(cached) $ac_c" 1>&6 4080 echo $ac_n "(cached) $ac_c" 1>&6
4202else 4081else
4203 cat > conftest.$ac_ext <<EOF 4082 cat > conftest.$ac_ext <<EOF
4204#line 4205 "configure" 4083#line 4084 "configure"
4205#include "confdefs.h" 4084#include "confdefs.h"
4206/* System header to define __stub macros and hopefully few prototypes, 4085/* System header to define __stub macros and hopefully few prototypes,
4207 which can conflict with char $ac_func(); below. */ 4086 which can conflict with char $ac_func(); below. */
@@ -4224,7 +4103,7 @@ $ac_func();
4224 4103
4225; return 0; } 4104; return 0; }
4226EOF 4105EOF
4227if { (eval echo configure:4228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4106if { (eval echo configure:4107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4228 rm -rf conftest* 4107 rm -rf conftest*
4229 eval "ac_cv_func_$ac_func=yes" 4108 eval "ac_cv_func_$ac_func=yes"
4230else 4109else
@@ -4249,7 +4128,7 @@ fi
4249done 4128done
4250 4129
4251echo $ac_n "checking for working mmap""... $ac_c" 1>&6 4130echo $ac_n "checking for working mmap""... $ac_c" 1>&6
4252echo "configure:4253: checking for working mmap" >&5 4131echo "configure:4132: checking for working mmap" >&5
4253if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then 4132if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
4254 echo $ac_n "(cached) $ac_c" 1>&6 4133 echo $ac_n "(cached) $ac_c" 1>&6
4255else 4134else
@@ -4257,7 +4136,7 @@ else
4257 ac_cv_func_mmap_fixed_mapped=no 4136 ac_cv_func_mmap_fixed_mapped=no
4258else 4137else
4259 cat > conftest.$ac_ext <<EOF 4138 cat > conftest.$ac_ext <<EOF
4260#line 4261 "configure" 4139#line 4140 "configure"
4261#include "confdefs.h" 4140#include "confdefs.h"
4262/* Thanks to Mike Haertel and Jim Avera for this test. 4141/* Thanks to Mike Haertel and Jim Avera for this test.
4263 Here is a matrix of mmap possibilities: 4142 Here is a matrix of mmap possibilities:
@@ -4391,7 +4270,7 @@ main ()
4391 exit (0); 4270 exit (0);
4392} 4271}
4393EOF 4272EOF
4394if { (eval echo configure:4395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 4273if { (eval echo configure:4274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4395then 4274then
4396 ac_cv_func_mmap_fixed_mapped=yes 4275 ac_cv_func_mmap_fixed_mapped=yes
4397else 4276else
@@ -4420,7 +4299,7 @@ fi
4420LIBS="$libsrc_libs $LIBS" 4299LIBS="$libsrc_libs $LIBS"
4421 4300
4422echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 4301echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
4423echo "configure:4424: checking for dnet_ntoa in -ldnet" >&5 4302echo "configure:4303: checking for dnet_ntoa in -ldnet" >&5
4424ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` 4303ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
4425if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4304if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4426 echo $ac_n "(cached) $ac_c" 1>&6 4305 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4428,7 +4307,7 @@ else
4428 ac_save_LIBS="$LIBS" 4307 ac_save_LIBS="$LIBS"
4429LIBS="-ldnet $LIBS" 4308LIBS="-ldnet $LIBS"
4430cat > conftest.$ac_ext <<EOF 4309cat > conftest.$ac_ext <<EOF
4431#line 4432 "configure" 4310#line 4311 "configure"
4432#include "confdefs.h" 4311#include "confdefs.h"
4433/* Override any gcc2 internal prototype to avoid an error. */ 4312/* Override any gcc2 internal prototype to avoid an error. */
4434/* We use char because int might match the return type of a gcc2 4313/* We use char because int might match the return type of a gcc2
@@ -4439,7 +4318,7 @@ int main() {
4439dnet_ntoa() 4318dnet_ntoa()
4440; return 0; } 4319; return 0; }
4441EOF 4320EOF
4442if { (eval echo configure:4443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4321if { (eval echo configure:4322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4443 rm -rf conftest* 4322 rm -rf conftest*
4444 eval "ac_cv_lib_$ac_lib_var=yes" 4323 eval "ac_cv_lib_$ac_lib_var=yes"
4445else 4324else
@@ -4468,7 +4347,7 @@ fi
4468 4347
4469 4348
4470echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 4349echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6
4471echo "configure:4472: checking for main in -lXbsd" >&5 4350echo "configure:4351: checking for main in -lXbsd" >&5
4472ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` 4351ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'`
4473if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4352if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4474 echo $ac_n "(cached) $ac_c" 1>&6 4353 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4476,14 +4355,14 @@ else
4476 ac_save_LIBS="$LIBS" 4355 ac_save_LIBS="$LIBS"
4477LIBS="-lXbsd $LIBS" 4356LIBS="-lXbsd $LIBS"
4478cat > conftest.$ac_ext <<EOF 4357cat > conftest.$ac_ext <<EOF
4479#line 4480 "configure" 4358#line 4359 "configure"
4480#include "confdefs.h" 4359#include "confdefs.h"
4481 4360
4482int main() { 4361int main() {
4483main() 4362main()
4484; return 0; } 4363; return 0; }
4485EOF 4364EOF
4486if { (eval echo configure:4487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4365if { (eval echo configure:4366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4487 rm -rf conftest* 4366 rm -rf conftest*
4488 eval "ac_cv_lib_$ac_lib_var=yes" 4367 eval "ac_cv_lib_$ac_lib_var=yes"
4489else 4368else
@@ -4505,7 +4384,7 @@ fi
4505 4384
4506 4385
4507echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 4386echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6
4508echo "configure:4509: checking for cma_open in -lpthreads" >&5 4387echo "configure:4388: checking for cma_open in -lpthreads" >&5
4509ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` 4388ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'`
4510if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4389if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4511 echo $ac_n "(cached) $ac_c" 1>&6 4390 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4513,7 +4392,7 @@ else
4513 ac_save_LIBS="$LIBS" 4392 ac_save_LIBS="$LIBS"
4514LIBS="-lpthreads $LIBS" 4393LIBS="-lpthreads $LIBS"
4515cat > conftest.$ac_ext <<EOF 4394cat > conftest.$ac_ext <<EOF
4516#line 4517 "configure" 4395#line 4396 "configure"
4517#include "confdefs.h" 4396#include "confdefs.h"
4518/* Override any gcc2 internal prototype to avoid an error. */ 4397/* Override any gcc2 internal prototype to avoid an error. */
4519/* We use char because int might match the return type of a gcc2 4398/* We use char because int might match the return type of a gcc2
@@ -4524,7 +4403,7 @@ int main() {
4524cma_open() 4403cma_open()
4525; return 0; } 4404; return 0; }
4526EOF 4405EOF
4527if { (eval echo configure:4528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4406if { (eval echo configure:4407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4528 rm -rf conftest* 4407 rm -rf conftest*
4529 eval "ac_cv_lib_$ac_lib_var=yes" 4408 eval "ac_cv_lib_$ac_lib_var=yes"
4530else 4409else
@@ -4553,7 +4432,7 @@ fi
4553 4432
4554 4433
4555echo $ac_n "checking for XFree86 in /usr/X386""... $ac_c" 1>&6 4434echo $ac_n "checking for XFree86 in /usr/X386""... $ac_c" 1>&6
4556echo "configure:4557: checking for XFree86 in /usr/X386" >&5 4435echo "configure:4436: checking for XFree86 in /usr/X386" >&5
4557if test -d /usr/X386/include; then 4436if test -d /usr/X386/include; then
4558 HAVE_XFREE386=yes 4437 HAVE_XFREE386=yes
4559 : ${C_SWITCH_X_SITE="-I/usr/X386/include"} 4438 : ${C_SWITCH_X_SITE="-I/usr/X386/include"}
@@ -4585,16 +4464,16 @@ if test "${HAVE_X11}" = "yes"; then
4585 4464
4586 if test "${opsys}" = "gnu-linux"; then 4465 if test "${opsys}" = "gnu-linux"; then
4587 echo $ac_n "checking whether X on GNU/Linux needs -b to link""... $ac_c" 1>&6 4466 echo $ac_n "checking whether X on GNU/Linux needs -b to link""... $ac_c" 1>&6
4588echo "configure:4589: checking whether X on GNU/Linux needs -b to link" >&5 4467echo "configure:4468: checking whether X on GNU/Linux needs -b to link" >&5
4589 cat > conftest.$ac_ext <<EOF 4468 cat > conftest.$ac_ext <<EOF
4590#line 4591 "configure" 4469#line 4470 "configure"
4591#include "confdefs.h" 4470#include "confdefs.h"
4592 4471
4593int main() { 4472int main() {
4594XOpenDisplay ("foo"); 4473XOpenDisplay ("foo");
4595; return 0; } 4474; return 0; }
4596EOF 4475EOF
4597if { (eval echo configure:4598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4476if { (eval echo configure:4477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4598 rm -rf conftest* 4477 rm -rf conftest*
4599 xlinux_first_failure=no 4478 xlinux_first_failure=no
4600else 4479else
@@ -4614,14 +4493,14 @@ rm -f conftest*
4614 CPPFLAGS="$CPPFLAGS -b i486-linuxaout" 4493 CPPFLAGS="$CPPFLAGS -b i486-linuxaout"
4615 LIBS="$LIBS -b i486-linuxaout" 4494 LIBS="$LIBS -b i486-linuxaout"
4616 cat > conftest.$ac_ext <<EOF 4495 cat > conftest.$ac_ext <<EOF
4617#line 4618 "configure" 4496#line 4497 "configure"
4618#include "confdefs.h" 4497#include "confdefs.h"
4619 4498
4620int main() { 4499int main() {
4621XOpenDisplay ("foo"); 4500XOpenDisplay ("foo");
4622; return 0; } 4501; return 0; }
4623EOF 4502EOF
4624if { (eval echo configure:4625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4503if { (eval echo configure:4504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4625 rm -rf conftest* 4504 rm -rf conftest*
4626 xlinux_second_failure=no 4505 xlinux_second_failure=no
4627else 4506else
@@ -4651,12 +4530,12 @@ rm -f conftest*
4651XScreenNumberOfScreen XSetWMProtocols 4530XScreenNumberOfScreen XSetWMProtocols
4652do 4531do
4653echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4532echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4654echo "configure:4655: checking for $ac_func" >&5 4533echo "configure:4534: checking for $ac_func" >&5
4655if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4534if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4656 echo $ac_n "(cached) $ac_c" 1>&6 4535 echo $ac_n "(cached) $ac_c" 1>&6
4657else 4536else
4658 cat > conftest.$ac_ext <<EOF 4537 cat > conftest.$ac_ext <<EOF
4659#line 4660 "configure" 4538#line 4539 "configure"
4660#include "confdefs.h" 4539#include "confdefs.h"
4661/* System header to define __stub macros and hopefully few prototypes, 4540/* System header to define __stub macros and hopefully few prototypes,
4662 which can conflict with char $ac_func(); below. */ 4541 which can conflict with char $ac_func(); below. */
@@ -4679,7 +4558,7 @@ $ac_func();
4679 4558
4680; return 0; } 4559; return 0; }
4681EOF 4560EOF
4682if { (eval echo configure:4683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4561if { (eval echo configure:4562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4683 rm -rf conftest* 4562 rm -rf conftest*
4684 eval "ac_cv_func_$ac_func=yes" 4563 eval "ac_cv_func_$ac_func=yes"
4685else 4564else
@@ -4707,12 +4586,12 @@ fi
4707 4586
4708if test "${window_system}" = "x11"; then 4587if test "${window_system}" = "x11"; then
4709 echo $ac_n "checking X11 version 6""... $ac_c" 1>&6 4588 echo $ac_n "checking X11 version 6""... $ac_c" 1>&6
4710echo "configure:4711: checking X11 version 6" >&5 4589echo "configure:4590: checking X11 version 6" >&5
4711 if eval "test \"`echo '$''{'emacs_cv_x11_version_6'+set}'`\" = set"; then 4590 if eval "test \"`echo '$''{'emacs_cv_x11_version_6'+set}'`\" = set"; then
4712 echo $ac_n "(cached) $ac_c" 1>&6 4591 echo $ac_n "(cached) $ac_c" 1>&6
4713else 4592else
4714 cat > conftest.$ac_ext <<EOF 4593 cat > conftest.$ac_ext <<EOF
4715#line 4716 "configure" 4594#line 4595 "configure"
4716#include "confdefs.h" 4595#include "confdefs.h"
4717#include <X11/Xlib.h> 4596#include <X11/Xlib.h>
4718int main() { 4597int main() {
@@ -4722,7 +4601,7 @@ fail;
4722 4601
4723; return 0; } 4602; return 0; }
4724EOF 4603EOF
4725if { (eval echo configure:4726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4604if { (eval echo configure:4605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4726 rm -rf conftest* 4605 rm -rf conftest*
4727 emacs_cv_x11_version_6=yes 4606 emacs_cv_x11_version_6=yes
4728else 4607else
@@ -4747,12 +4626,12 @@ fi
4747 4626
4748if test "${window_system}" = "x11"; then 4627if test "${window_system}" = "x11"; then
4749 echo $ac_n "checking X11 version 5""... $ac_c" 1>&6 4628 echo $ac_n "checking X11 version 5""... $ac_c" 1>&6
4750echo "configure:4751: checking X11 version 5" >&5 4629echo "configure:4630: checking X11 version 5" >&5
4751 if eval "test \"`echo '$''{'emacs_cv_x11_version_5'+set}'`\" = set"; then 4630 if eval "test \"`echo '$''{'emacs_cv_x11_version_5'+set}'`\" = set"; then
4752 echo $ac_n "(cached) $ac_c" 1>&6 4631 echo $ac_n "(cached) $ac_c" 1>&6
4753else 4632else
4754 cat > conftest.$ac_ext <<EOF 4633 cat > conftest.$ac_ext <<EOF
4755#line 4756 "configure" 4634#line 4635 "configure"
4756#include "confdefs.h" 4635#include "confdefs.h"
4757#include <X11/Xlib.h> 4636#include <X11/Xlib.h>
4758int main() { 4637int main() {
@@ -4762,7 +4641,7 @@ fail;
4762 4641
4763; return 0; } 4642; return 0; }
4764EOF 4643EOF
4765if { (eval echo configure:4766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4644if { (eval echo configure:4645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4766 rm -rf conftest* 4645 rm -rf conftest*
4767 emacs_cv_x11_version_5=yes 4646 emacs_cv_x11_version_5=yes
4768else 4647else
@@ -4790,12 +4669,12 @@ fi
4790if test x"${USE_X_TOOLKIT}" = xmaybe; then 4669if test x"${USE_X_TOOLKIT}" = xmaybe; then
4791 if test x"${HAVE_X11R5}" = xyes; then 4670 if test x"${HAVE_X11R5}" = xyes; then
4792 echo $ac_n "checking X11 version 5 with Xaw""... $ac_c" 1>&6 4671 echo $ac_n "checking X11 version 5 with Xaw""... $ac_c" 1>&6
4793echo "configure:4794: checking X11 version 5 with Xaw" >&5 4672echo "configure:4673: checking X11 version 5 with Xaw" >&5
4794 if eval "test \"`echo '$''{'emacs_cv_x11_version_5_with_xaw'+set}'`\" = set"; then 4673 if eval "test \"`echo '$''{'emacs_cv_x11_version_5_with_xaw'+set}'`\" = set"; then
4795 echo $ac_n "(cached) $ac_c" 1>&6 4674 echo $ac_n "(cached) $ac_c" 1>&6
4796else 4675else
4797 cat > conftest.$ac_ext <<EOF 4676 cat > conftest.$ac_ext <<EOF
4798#line 4799 "configure" 4677#line 4678 "configure"
4799#include "confdefs.h" 4678#include "confdefs.h"
4800 4679
4801#include <X11/Intrinsic.h> 4680#include <X11/Intrinsic.h>
@@ -4804,7 +4683,7 @@ int main() {
4804 4683
4805; return 0; } 4684; return 0; }
4806EOF 4685EOF
4807if { (eval echo configure:4808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4686if { (eval echo configure:4687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4808 rm -rf conftest* 4687 rm -rf conftest*
4809 emacs_cv_x11_version_5_with_xaw=yes 4688 emacs_cv_x11_version_5_with_xaw=yes
4810else 4689else
@@ -4832,12 +4711,12 @@ X_TOOLKIT_TYPE=$USE_X_TOOLKIT
4832 4711
4833if test "${USE_X_TOOLKIT}" != "none"; then 4712if test "${USE_X_TOOLKIT}" != "none"; then
4834 echo $ac_n "checking X11 toolkit version""... $ac_c" 1>&6 4713 echo $ac_n "checking X11 toolkit version""... $ac_c" 1>&6
4835echo "configure:4836: checking X11 toolkit version" >&5 4714echo "configure:4715: checking X11 toolkit version" >&5
4836 if eval "test \"`echo '$''{'emacs_cv_x11_toolkit_version_6'+set}'`\" = set"; then 4715 if eval "test \"`echo '$''{'emacs_cv_x11_toolkit_version_6'+set}'`\" = set"; then
4837 echo $ac_n "(cached) $ac_c" 1>&6 4716 echo $ac_n "(cached) $ac_c" 1>&6
4838else 4717else
4839 cat > conftest.$ac_ext <<EOF 4718 cat > conftest.$ac_ext <<EOF
4840#line 4841 "configure" 4719#line 4720 "configure"
4841#include "confdefs.h" 4720#include "confdefs.h"
4842#include <X11/Intrinsic.h> 4721#include <X11/Intrinsic.h>
4843int main() { 4722int main() {
@@ -4847,7 +4726,7 @@ fail;
4847 4726
4848; return 0; } 4727; return 0; }
4849EOF 4728EOF
4850if { (eval echo configure:4851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4729if { (eval echo configure:4730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4851 rm -rf conftest* 4730 rm -rf conftest*
4852 emacs_cv_x11_toolkit_version_6=yes 4731 emacs_cv_x11_toolkit_version_6=yes
4853else 4732else
@@ -4877,7 +4756,7 @@ EOF
4877 LIBS="-lXt $LIBS" 4756 LIBS="-lXt $LIBS"
4878 fi 4757 fi
4879 echo $ac_n "checking for XmuConvertStandardSelection in -lXmu""... $ac_c" 1>&6 4758 echo $ac_n "checking for XmuConvertStandardSelection in -lXmu""... $ac_c" 1>&6
4880echo "configure:4881: checking for XmuConvertStandardSelection in -lXmu" >&5 4759echo "configure:4760: checking for XmuConvertStandardSelection in -lXmu" >&5
4881ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'` 4760ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'`
4882if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4761if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4883 echo $ac_n "(cached) $ac_c" 1>&6 4762 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4885,7 +4764,7 @@ else
4885 ac_save_LIBS="$LIBS" 4764 ac_save_LIBS="$LIBS"
4886LIBS="-lXmu $LIBS" 4765LIBS="-lXmu $LIBS"
4887cat > conftest.$ac_ext <<EOF 4766cat > conftest.$ac_ext <<EOF
4888#line 4889 "configure" 4767#line 4768 "configure"
4889#include "confdefs.h" 4768#include "confdefs.h"
4890/* Override any gcc2 internal prototype to avoid an error. */ 4769/* Override any gcc2 internal prototype to avoid an error. */
4891/* We use char because int might match the return type of a gcc2 4770/* We use char because int might match the return type of a gcc2
@@ -4896,7 +4775,7 @@ int main() {
4896XmuConvertStandardSelection() 4775XmuConvertStandardSelection()
4897; return 0; } 4776; return 0; }
4898EOF 4777EOF
4899if { (eval echo configure:4900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4778if { (eval echo configure:4779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4900 rm -rf conftest* 4779 rm -rf conftest*
4901 eval "ac_cv_lib_$ac_lib_var=yes" 4780 eval "ac_cv_lib_$ac_lib_var=yes"
4902else 4781else
@@ -4928,12 +4807,12 @@ fi
4928 4807
4929if test "${USE_X_TOOLKIT}" = "MOTIF"; then 4808if test "${USE_X_TOOLKIT}" = "MOTIF"; then
4930 echo $ac_n "checking for Motif version 2.1""... $ac_c" 1>&6 4809 echo $ac_n "checking for Motif version 2.1""... $ac_c" 1>&6
4931echo "configure:4932: checking for Motif version 2.1" >&5 4810echo "configure:4811: checking for Motif version 2.1" >&5
4932if eval "test \"`echo '$''{'emacs_cv_motif_version_2_1'+set}'`\" = set"; then 4811if eval "test \"`echo '$''{'emacs_cv_motif_version_2_1'+set}'`\" = set"; then
4933 echo $ac_n "(cached) $ac_c" 1>&6 4812 echo $ac_n "(cached) $ac_c" 1>&6
4934else 4813else
4935 cat > conftest.$ac_ext <<EOF 4814 cat > conftest.$ac_ext <<EOF
4936#line 4937 "configure" 4815#line 4816 "configure"
4937#include "confdefs.h" 4816#include "confdefs.h"
4938#include <Xm/Xm.h> 4817#include <Xm/Xm.h>
4939int main() { 4818int main() {
@@ -4944,7 +4823,7 @@ Motif version prior to 2.1.
4944#endif 4823#endif
4945; return 0; } 4824; return 0; }
4946EOF 4825EOF
4947if { (eval echo configure:4948: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4826if { (eval echo configure:4827: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4948 rm -rf conftest* 4827 rm -rf conftest*
4949 emacs_cv_motif_version_2_1=yes 4828 emacs_cv_motif_version_2_1=yes
4950else 4829else
@@ -4959,12 +4838,13 @@ fi
4959echo "$ac_t""$emacs_cv_motif_version_2_1" 1>&6 4838echo "$ac_t""$emacs_cv_motif_version_2_1" 1>&6
4960 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1 4839 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1
4961 if test $emacs_cv_motif_version_2_1 = yes; then 4840 if test $emacs_cv_motif_version_2_1 = yes; then
4841 HAVE_LIBXP=no
4962 cat >> confdefs.h <<\EOF 4842 cat >> confdefs.h <<\EOF
4963#define HAVE_MOTIF_2_1 1 4843#define HAVE_MOTIF_2_1 1
4964EOF 4844EOF
4965 4845
4966 echo $ac_n "checking for XpCreateContext in -lXp""... $ac_c" 1>&6 4846 echo $ac_n "checking for XpCreateContext in -lXp""... $ac_c" 1>&6
4967echo "configure:4968: checking for XpCreateContext in -lXp" >&5 4847echo "configure:4848: checking for XpCreateContext in -lXp" >&5
4968ac_lib_var=`echo Xp'_'XpCreateContext | sed 'y%./+-%__p_%'` 4848ac_lib_var=`echo Xp'_'XpCreateContext | sed 'y%./+-%__p_%'`
4969if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4849if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4970 echo $ac_n "(cached) $ac_c" 1>&6 4850 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4972,7 +4852,7 @@ else
4972 ac_save_LIBS="$LIBS" 4852 ac_save_LIBS="$LIBS"
4973LIBS="-lXp -lXext $LIBS" 4853LIBS="-lXp -lXext $LIBS"
4974cat > conftest.$ac_ext <<EOF 4854cat > conftest.$ac_ext <<EOF
4975#line 4976 "configure" 4855#line 4856 "configure"
4976#include "confdefs.h" 4856#include "confdefs.h"
4977/* Override any gcc2 internal prototype to avoid an error. */ 4857/* Override any gcc2 internal prototype to avoid an error. */
4978/* We use char because int might match the return type of a gcc2 4858/* We use char because int might match the return type of a gcc2
@@ -4983,7 +4863,7 @@ int main() {
4983XpCreateContext() 4863XpCreateContext()
4984; return 0; } 4864; return 0; }
4985EOF 4865EOF
4986if { (eval echo configure:4987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4866if { (eval echo configure:4867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4987 rm -rf conftest* 4867 rm -rf conftest*
4988 eval "ac_cv_lib_$ac_lib_var=yes" 4868 eval "ac_cv_lib_$ac_lib_var=yes"
4989else 4869else
@@ -5020,17 +4900,17 @@ if test "${HAVE_X11}" = "yes"; then
5020 CFLAGS="${LD_SWITCH_X_SITE}" 4900 CFLAGS="${LD_SWITCH_X_SITE}"
5021 ac_safe=`echo "X11/Xaw3d/Scrollbar.h" | sed 'y%./+-%__p_%'` 4901 ac_safe=`echo "X11/Xaw3d/Scrollbar.h" | sed 'y%./+-%__p_%'`
5022echo $ac_n "checking for X11/Xaw3d/Scrollbar.h""... $ac_c" 1>&6 4902echo $ac_n "checking for X11/Xaw3d/Scrollbar.h""... $ac_c" 1>&6
5023echo "configure:5024: checking for X11/Xaw3d/Scrollbar.h" >&5 4903echo "configure:4904: checking for X11/Xaw3d/Scrollbar.h" >&5
5024if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4904if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5025 echo $ac_n "(cached) $ac_c" 1>&6 4905 echo $ac_n "(cached) $ac_c" 1>&6
5026else 4906else
5027 cat > conftest.$ac_ext <<EOF 4907 cat > conftest.$ac_ext <<EOF
5028#line 5029 "configure" 4908#line 4909 "configure"
5029#include "confdefs.h" 4909#include "confdefs.h"
5030#include <X11/Xaw3d/Scrollbar.h> 4910#include <X11/Xaw3d/Scrollbar.h>
5031EOF 4911EOF
5032ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4912ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5033{ (eval echo configure:5034: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4913{ (eval echo configure:4914: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5034ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4914ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5035if test -z "$ac_err"; then 4915if test -z "$ac_err"; then
5036 rm -rf conftest* 4916 rm -rf conftest*
@@ -5047,7 +4927,7 @@ fi
5047if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4927if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5048 echo "$ac_t""yes" 1>&6 4928 echo "$ac_t""yes" 1>&6
5049 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw3d""... $ac_c" 1>&6 4929 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw3d""... $ac_c" 1>&6
5050echo "configure:5051: checking for XawScrollbarSetThumb in -lXaw3d" >&5 4930echo "configure:4931: checking for XawScrollbarSetThumb in -lXaw3d" >&5
5051ac_lib_var=`echo Xaw3d'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` 4931ac_lib_var=`echo Xaw3d'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'`
5052if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4932if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5053 echo $ac_n "(cached) $ac_c" 1>&6 4933 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5055,7 +4935,7 @@ else
5055 ac_save_LIBS="$LIBS" 4935 ac_save_LIBS="$LIBS"
5056LIBS="-lXaw3d -lX11 $LIBS" 4936LIBS="-lXaw3d -lX11 $LIBS"
5057cat > conftest.$ac_ext <<EOF 4937cat > conftest.$ac_ext <<EOF
5058#line 5059 "configure" 4938#line 4939 "configure"
5059#include "confdefs.h" 4939#include "confdefs.h"
5060/* Override any gcc2 internal prototype to avoid an error. */ 4940/* Override any gcc2 internal prototype to avoid an error. */
5061/* We use char because int might match the return type of a gcc2 4941/* We use char because int might match the return type of a gcc2
@@ -5066,7 +4946,7 @@ int main() {
5066XawScrollbarSetThumb() 4946XawScrollbarSetThumb()
5067; return 0; } 4947; return 0; }
5068EOF 4948EOF
5069if { (eval echo configure:5070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4949if { (eval echo configure:4950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5070 rm -rf conftest* 4950 rm -rf conftest*
5071 eval "ac_cv_lib_$ac_lib_var=yes" 4951 eval "ac_cv_lib_$ac_lib_var=yes"
5072else 4952else
@@ -5138,17 +5018,17 @@ if test "${HAVE_X11}" = "yes"; then
5138 CFLAGS="${LD_SWITCH_X_SITE}" 5018 CFLAGS="${LD_SWITCH_X_SITE}"
5139 ac_safe=`echo "X11/xpm.h" | sed 'y%./+-%__p_%'` 5019 ac_safe=`echo "X11/xpm.h" | sed 'y%./+-%__p_%'`
5140echo $ac_n "checking for X11/xpm.h""... $ac_c" 1>&6 5020echo $ac_n "checking for X11/xpm.h""... $ac_c" 1>&6
5141echo "configure:5142: checking for X11/xpm.h" >&5 5021echo "configure:5022: checking for X11/xpm.h" >&5
5142if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5022if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5143 echo $ac_n "(cached) $ac_c" 1>&6 5023 echo $ac_n "(cached) $ac_c" 1>&6
5144else 5024else
5145 cat > conftest.$ac_ext <<EOF 5025 cat > conftest.$ac_ext <<EOF
5146#line 5147 "configure" 5026#line 5027 "configure"
5147#include "confdefs.h" 5027#include "confdefs.h"
5148#include <X11/xpm.h> 5028#include <X11/xpm.h>
5149EOF 5029EOF
5150ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5030ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5151{ (eval echo configure:5152: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5031{ (eval echo configure:5032: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5152ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5032ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5153if test -z "$ac_err"; then 5033if test -z "$ac_err"; then
5154 rm -rf conftest* 5034 rm -rf conftest*
@@ -5165,7 +5045,7 @@ fi
5165if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 5045if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5166 echo "$ac_t""yes" 1>&6 5046 echo "$ac_t""yes" 1>&6
5167 echo $ac_n "checking for XpmReadFileToPixmap in -lXpm""... $ac_c" 1>&6 5047 echo $ac_n "checking for XpmReadFileToPixmap in -lXpm""... $ac_c" 1>&6
5168echo "configure:5169: checking for XpmReadFileToPixmap in -lXpm" >&5 5048echo "configure:5049: checking for XpmReadFileToPixmap in -lXpm" >&5
5169ac_lib_var=`echo Xpm'_'XpmReadFileToPixmap | sed 'y%./+-%__p_%'` 5049ac_lib_var=`echo Xpm'_'XpmReadFileToPixmap | sed 'y%./+-%__p_%'`
5170if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5050if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5171 echo $ac_n "(cached) $ac_c" 1>&6 5051 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5173,7 +5053,7 @@ else
5173 ac_save_LIBS="$LIBS" 5053 ac_save_LIBS="$LIBS"
5174LIBS="-lXpm -lX11 $LIBS" 5054LIBS="-lXpm -lX11 $LIBS"
5175cat > conftest.$ac_ext <<EOF 5055cat > conftest.$ac_ext <<EOF
5176#line 5177 "configure" 5056#line 5057 "configure"
5177#include "confdefs.h" 5057#include "confdefs.h"
5178/* Override any gcc2 internal prototype to avoid an error. */ 5058/* Override any gcc2 internal prototype to avoid an error. */
5179/* We use char because int might match the return type of a gcc2 5059/* We use char because int might match the return type of a gcc2
@@ -5184,7 +5064,7 @@ int main() {
5184XpmReadFileToPixmap() 5064XpmReadFileToPixmap()
5185; return 0; } 5065; return 0; }
5186EOF 5066EOF
5187if { (eval echo configure:5188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5067if { (eval echo configure:5068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5188 rm -rf conftest* 5068 rm -rf conftest*
5189 eval "ac_cv_lib_$ac_lib_var=yes" 5069 eval "ac_cv_lib_$ac_lib_var=yes"
5190else 5070else
@@ -5210,9 +5090,9 @@ fi
5210 5090
5211 if test "${HAVE_XPM}" = "yes"; then 5091 if test "${HAVE_XPM}" = "yes"; then
5212 echo $ac_n "checking for XpmReturnAllocPixels preprocessor define""... $ac_c" 1>&6 5092 echo $ac_n "checking for XpmReturnAllocPixels preprocessor define""... $ac_c" 1>&6
5213echo "configure:5214: checking for XpmReturnAllocPixels preprocessor define" >&5 5093echo "configure:5094: checking for XpmReturnAllocPixels preprocessor define" >&5
5214 cat > conftest.$ac_ext <<EOF 5094 cat > conftest.$ac_ext <<EOF
5215#line 5216 "configure" 5095#line 5096 "configure"
5216#include "confdefs.h" 5096#include "confdefs.h"
5217#include "X11/xpm.h" 5097#include "X11/xpm.h"
5218#ifndef XpmReturnAllocPixels 5098#ifndef XpmReturnAllocPixels
@@ -5255,17 +5135,17 @@ if test "${HAVE_X11}" = "yes"; then
5255 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" 5135 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
5256 ac_safe=`echo "jerror.h" | sed 'y%./+-%__p_%'` 5136 ac_safe=`echo "jerror.h" | sed 'y%./+-%__p_%'`
5257echo $ac_n "checking for jerror.h""... $ac_c" 1>&6 5137echo $ac_n "checking for jerror.h""... $ac_c" 1>&6
5258echo "configure:5259: checking for jerror.h" >&5 5138echo "configure:5139: checking for jerror.h" >&5
5259if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5139if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5260 echo $ac_n "(cached) $ac_c" 1>&6 5140 echo $ac_n "(cached) $ac_c" 1>&6
5261else 5141else
5262 cat > conftest.$ac_ext <<EOF 5142 cat > conftest.$ac_ext <<EOF
5263#line 5264 "configure" 5143#line 5144 "configure"
5264#include "confdefs.h" 5144#include "confdefs.h"
5265#include <jerror.h> 5145#include <jerror.h>
5266EOF 5146EOF
5267ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5147ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5268{ (eval echo configure:5269: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5148{ (eval echo configure:5149: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5269ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5149ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5270if test -z "$ac_err"; then 5150if test -z "$ac_err"; then
5271 rm -rf conftest* 5151 rm -rf conftest*
@@ -5282,7 +5162,7 @@ fi
5282if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 5162if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5283 echo "$ac_t""yes" 1>&6 5163 echo "$ac_t""yes" 1>&6
5284 echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6 5164 echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6
5285echo "configure:5286: checking for jpeg_destroy_compress in -ljpeg" >&5 5165echo "configure:5166: checking for jpeg_destroy_compress in -ljpeg" >&5
5286ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'` 5166ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'`
5287if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5167if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5288 echo $ac_n "(cached) $ac_c" 1>&6 5168 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5290,7 +5170,7 @@ else
5290 ac_save_LIBS="$LIBS" 5170 ac_save_LIBS="$LIBS"
5291LIBS="-ljpeg -lX11 $LIBS" 5171LIBS="-ljpeg -lX11 $LIBS"
5292cat > conftest.$ac_ext <<EOF 5172cat > conftest.$ac_ext <<EOF
5293#line 5294 "configure" 5173#line 5174 "configure"
5294#include "confdefs.h" 5174#include "confdefs.h"
5295/* Override any gcc2 internal prototype to avoid an error. */ 5175/* Override any gcc2 internal prototype to avoid an error. */
5296/* We use char because int might match the return type of a gcc2 5176/* We use char because int might match the return type of a gcc2
@@ -5301,7 +5181,7 @@ int main() {
5301jpeg_destroy_compress() 5181jpeg_destroy_compress()
5302; return 0; } 5182; return 0; }
5303EOF 5183EOF
5304if { (eval echo configure:5305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5184if { (eval echo configure:5185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5305 rm -rf conftest* 5185 rm -rf conftest*
5306 eval "ac_cv_lib_$ac_lib_var=yes" 5186 eval "ac_cv_lib_$ac_lib_var=yes"
5307else 5187else
@@ -5344,17 +5224,17 @@ if test "${HAVE_X11}" = "yes"; then
5344 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" 5224 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
5345 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` 5225 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'`
5346echo $ac_n "checking for png.h""... $ac_c" 1>&6 5226echo $ac_n "checking for png.h""... $ac_c" 1>&6
5347echo "configure:5348: checking for png.h" >&5 5227echo "configure:5228: checking for png.h" >&5
5348if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5228if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5349 echo $ac_n "(cached) $ac_c" 1>&6 5229 echo $ac_n "(cached) $ac_c" 1>&6
5350else 5230else
5351 cat > conftest.$ac_ext <<EOF 5231 cat > conftest.$ac_ext <<EOF
5352#line 5353 "configure" 5232#line 5233 "configure"
5353#include "confdefs.h" 5233#include "confdefs.h"
5354#include <png.h> 5234#include <png.h>
5355EOF 5235EOF
5356ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5236ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5357{ (eval echo configure:5358: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5237{ (eval echo configure:5238: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5358ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5238ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5359if test -z "$ac_err"; then 5239if test -z "$ac_err"; then
5360 rm -rf conftest* 5240 rm -rf conftest*
@@ -5371,7 +5251,7 @@ fi
5371if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 5251if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5372 echo "$ac_t""yes" 1>&6 5252 echo "$ac_t""yes" 1>&6
5373 echo $ac_n "checking for png_get_channels in -lpng""... $ac_c" 1>&6 5253 echo $ac_n "checking for png_get_channels in -lpng""... $ac_c" 1>&6
5374echo "configure:5375: checking for png_get_channels in -lpng" >&5 5254echo "configure:5255: checking for png_get_channels in -lpng" >&5
5375ac_lib_var=`echo png'_'png_get_channels | sed 'y%./+-%__p_%'` 5255ac_lib_var=`echo png'_'png_get_channels | sed 'y%./+-%__p_%'`
5376if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5256if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5377 echo $ac_n "(cached) $ac_c" 1>&6 5257 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5379,7 +5259,7 @@ else
5379 ac_save_LIBS="$LIBS" 5259 ac_save_LIBS="$LIBS"
5380LIBS="-lpng -lX11 -lz -lm $LIBS" 5260LIBS="-lpng -lX11 -lz -lm $LIBS"
5381cat > conftest.$ac_ext <<EOF 5261cat > conftest.$ac_ext <<EOF
5382#line 5383 "configure" 5262#line 5263 "configure"
5383#include "confdefs.h" 5263#include "confdefs.h"
5384/* Override any gcc2 internal prototype to avoid an error. */ 5264/* Override any gcc2 internal prototype to avoid an error. */
5385/* We use char because int might match the return type of a gcc2 5265/* We use char because int might match the return type of a gcc2
@@ -5390,7 +5270,7 @@ int main() {
5390png_get_channels() 5270png_get_channels()
5391; return 0; } 5271; return 0; }
5392EOF 5272EOF
5393if { (eval echo configure:5394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5273if { (eval echo configure:5274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5394 rm -rf conftest* 5274 rm -rf conftest*
5395 eval "ac_cv_lib_$ac_lib_var=yes" 5275 eval "ac_cv_lib_$ac_lib_var=yes"
5396else 5276else
@@ -5433,17 +5313,17 @@ if test "${HAVE_X11}" = "yes"; then
5433 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" 5313 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
5434 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` 5314 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
5435echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 5315echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
5436echo "configure:5437: checking for tiffio.h" >&5 5316echo "configure:5317: checking for tiffio.h" >&5
5437if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5317if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5438 echo $ac_n "(cached) $ac_c" 1>&6 5318 echo $ac_n "(cached) $ac_c" 1>&6
5439else 5319else
5440 cat > conftest.$ac_ext <<EOF 5320 cat > conftest.$ac_ext <<EOF
5441#line 5442 "configure" 5321#line 5322 "configure"
5442#include "confdefs.h" 5322#include "confdefs.h"
5443#include <tiffio.h> 5323#include <tiffio.h>
5444EOF 5324EOF
5445ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5325ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5446{ (eval echo configure:5447: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5326{ (eval echo configure:5327: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5447ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5327ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5448if test -z "$ac_err"; then 5328if test -z "$ac_err"; then
5449 rm -rf conftest* 5329 rm -rf conftest*
@@ -5463,7 +5343,7 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5463 # At least one tiff package requires the jpeg library. 5343 # At least one tiff package requires the jpeg library.
5464 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi 5344 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi
5465 echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6 5345 echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6
5466echo "configure:5467: checking for TIFFGetVersion in -ltiff" >&5 5346echo "configure:5347: checking for TIFFGetVersion in -ltiff" >&5
5467ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'` 5347ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'`
5468if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5348if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5469 echo $ac_n "(cached) $ac_c" 1>&6 5349 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5471,7 +5351,7 @@ else
5471 ac_save_LIBS="$LIBS" 5351 ac_save_LIBS="$LIBS"
5472LIBS="-ltiff $tifflibs $LIBS" 5352LIBS="-ltiff $tifflibs $LIBS"
5473cat > conftest.$ac_ext <<EOF 5353cat > conftest.$ac_ext <<EOF
5474#line 5475 "configure" 5354#line 5355 "configure"
5475#include "confdefs.h" 5355#include "confdefs.h"
5476/* Override any gcc2 internal prototype to avoid an error. */ 5356/* Override any gcc2 internal prototype to avoid an error. */
5477/* We use char because int might match the return type of a gcc2 5357/* We use char because int might match the return type of a gcc2
@@ -5482,7 +5362,7 @@ int main() {
5482TIFFGetVersion() 5362TIFFGetVersion()
5483; return 0; } 5363; return 0; }
5484EOF 5364EOF
5485if { (eval echo configure:5486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5365if { (eval echo configure:5366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5486 rm -rf conftest* 5366 rm -rf conftest*
5487 eval "ac_cv_lib_$ac_lib_var=yes" 5367 eval "ac_cv_lib_$ac_lib_var=yes"
5488else 5368else
@@ -5525,17 +5405,17 @@ if test "${HAVE_X11}" = "yes"; then
5525 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" 5405 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
5526 ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` 5406 ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'`
5527echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 5407echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6
5528echo "configure:5529: checking for gif_lib.h" >&5 5408echo "configure:5409: checking for gif_lib.h" >&5
5529if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5409if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5530 echo $ac_n "(cached) $ac_c" 1>&6 5410 echo $ac_n "(cached) $ac_c" 1>&6
5531else 5411else
5532 cat > conftest.$ac_ext <<EOF 5412 cat > conftest.$ac_ext <<EOF
5533#line 5534 "configure" 5413#line 5414 "configure"
5534#include "confdefs.h" 5414#include "confdefs.h"
5535#include <gif_lib.h> 5415#include <gif_lib.h>
5536EOF 5416EOF
5537ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5417ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5538{ (eval echo configure:5539: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5418{ (eval echo configure:5419: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5539ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5419ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5540if test -z "$ac_err"; then 5420if test -z "$ac_err"; then
5541 rm -rf conftest* 5421 rm -rf conftest*
@@ -5552,7 +5432,7 @@ fi
5552if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 5432if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5553 echo "$ac_t""yes" 1>&6 5433 echo "$ac_t""yes" 1>&6
5554 echo $ac_n "checking for DGifOpen in -lungif""... $ac_c" 1>&6 5434 echo $ac_n "checking for DGifOpen in -lungif""... $ac_c" 1>&6
5555echo "configure:5556: checking for DGifOpen in -lungif" >&5 5435echo "configure:5436: checking for DGifOpen in -lungif" >&5
5556ac_lib_var=`echo ungif'_'DGifOpen | sed 'y%./+-%__p_%'` 5436ac_lib_var=`echo ungif'_'DGifOpen | sed 'y%./+-%__p_%'`
5557if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5437if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5558 echo $ac_n "(cached) $ac_c" 1>&6 5438 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5560,7 +5440,7 @@ else
5560 ac_save_LIBS="$LIBS" 5440 ac_save_LIBS="$LIBS"
5561LIBS="-lungif -lX11 $LIBS" 5441LIBS="-lungif -lX11 $LIBS"
5562cat > conftest.$ac_ext <<EOF 5442cat > conftest.$ac_ext <<EOF
5563#line 5564 "configure" 5443#line 5444 "configure"
5564#include "confdefs.h" 5444#include "confdefs.h"
5565/* Override any gcc2 internal prototype to avoid an error. */ 5445/* Override any gcc2 internal prototype to avoid an error. */
5566/* We use char because int might match the return type of a gcc2 5446/* We use char because int might match the return type of a gcc2
@@ -5571,7 +5451,7 @@ int main() {
5571DGifOpen() 5451DGifOpen()
5572; return 0; } 5452; return 0; }
5573EOF 5453EOF
5574if { (eval echo configure:5575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5454if { (eval echo configure:5455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5575 rm -rf conftest* 5455 rm -rf conftest*
5576 eval "ac_cv_lib_$ac_lib_var=yes" 5456 eval "ac_cv_lib_$ac_lib_var=yes"
5577else 5457else
@@ -5608,19 +5488,19 @@ fi
5608 5488
5609# If netdb.h doesn't declare h_errno, we must declare it by hand. 5489# If netdb.h doesn't declare h_errno, we must declare it by hand.
5610echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 5490echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6
5611echo "configure:5612: checking whether netdb declares h_errno" >&5 5491echo "configure:5492: checking whether netdb declares h_errno" >&5
5612if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then 5492if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then
5613 echo $ac_n "(cached) $ac_c" 1>&6 5493 echo $ac_n "(cached) $ac_c" 1>&6
5614else 5494else
5615 cat > conftest.$ac_ext <<EOF 5495 cat > conftest.$ac_ext <<EOF
5616#line 5617 "configure" 5496#line 5497 "configure"
5617#include "confdefs.h" 5497#include "confdefs.h"
5618#include <netdb.h> 5498#include <netdb.h>
5619int main() { 5499int main() {
5620return h_errno; 5500return h_errno;
5621; return 0; } 5501; return 0; }
5622EOF 5502EOF
5623if { (eval echo configure:5624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5503if { (eval echo configure:5504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5624 rm -rf conftest* 5504 rm -rf conftest*
5625 emacs_cv_netdb_declares_h_errno=yes 5505 emacs_cv_netdb_declares_h_errno=yes
5626else 5506else
@@ -5643,19 +5523,19 @@ fi
5643# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 5523# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
5644# for constant arguments. Useless! 5524# for constant arguments. Useless!
5645echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 5525echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
5646echo "configure:5647: checking for working alloca.h" >&5 5526echo "configure:5527: checking for working alloca.h" >&5
5647if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 5527if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
5648 echo $ac_n "(cached) $ac_c" 1>&6 5528 echo $ac_n "(cached) $ac_c" 1>&6
5649else 5529else
5650 cat > conftest.$ac_ext <<EOF 5530 cat > conftest.$ac_ext <<EOF
5651#line 5652 "configure" 5531#line 5532 "configure"
5652#include "confdefs.h" 5532#include "confdefs.h"
5653#include <alloca.h> 5533#include <alloca.h>
5654int main() { 5534int main() {
5655char *p = alloca(2 * sizeof(int)); 5535char *p = alloca(2 * sizeof(int));
5656; return 0; } 5536; return 0; }
5657EOF 5537EOF
5658if { (eval echo configure:5659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5538if { (eval echo configure:5539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5659 rm -rf conftest* 5539 rm -rf conftest*
5660 ac_cv_header_alloca_h=yes 5540 ac_cv_header_alloca_h=yes
5661else 5541else
@@ -5676,12 +5556,12 @@ EOF
5676fi 5556fi
5677 5557
5678echo $ac_n "checking for alloca""... $ac_c" 1>&6 5558echo $ac_n "checking for alloca""... $ac_c" 1>&6
5679echo "configure:5680: checking for alloca" >&5 5559echo "configure:5560: checking for alloca" >&5
5680if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 5560if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
5681 echo $ac_n "(cached) $ac_c" 1>&6 5561 echo $ac_n "(cached) $ac_c" 1>&6
5682else 5562else
5683 cat > conftest.$ac_ext <<EOF 5563 cat > conftest.$ac_ext <<EOF
5684#line 5685 "configure" 5564#line 5565 "configure"
5685#include "confdefs.h" 5565#include "confdefs.h"
5686 5566
5687#ifdef __GNUC__ 5567#ifdef __GNUC__
@@ -5709,7 +5589,7 @@ int main() {
5709char *p = (char *) alloca(1); 5589char *p = (char *) alloca(1);
5710; return 0; } 5590; return 0; }
5711EOF 5591EOF
5712if { (eval echo configure:5713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5592if { (eval echo configure:5593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5713 rm -rf conftest* 5593 rm -rf conftest*
5714 ac_cv_func_alloca_works=yes 5594 ac_cv_func_alloca_works=yes
5715else 5595else
@@ -5741,12 +5621,12 @@ EOF
5741 5621
5742 5622
5743echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 5623echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
5744echo "configure:5745: checking whether alloca needs Cray hooks" >&5 5624echo "configure:5625: checking whether alloca needs Cray hooks" >&5
5745if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 5625if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
5746 echo $ac_n "(cached) $ac_c" 1>&6 5626 echo $ac_n "(cached) $ac_c" 1>&6
5747else 5627else
5748 cat > conftest.$ac_ext <<EOF 5628 cat > conftest.$ac_ext <<EOF
5749#line 5750 "configure" 5629#line 5630 "configure"
5750#include "confdefs.h" 5630#include "confdefs.h"
5751#if defined(CRAY) && ! defined(CRAY2) 5631#if defined(CRAY) && ! defined(CRAY2)
5752webecray 5632webecray
@@ -5771,12 +5651,12 @@ echo "$ac_t""$ac_cv_os_cray" 1>&6
5771if test $ac_cv_os_cray = yes; then 5651if test $ac_cv_os_cray = yes; then
5772for ac_func in _getb67 GETB67 getb67; do 5652for ac_func in _getb67 GETB67 getb67; do
5773 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5653 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5774echo "configure:5775: checking for $ac_func" >&5 5654echo "configure:5655: checking for $ac_func" >&5
5775if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 5655if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5776 echo $ac_n "(cached) $ac_c" 1>&6 5656 echo $ac_n "(cached) $ac_c" 1>&6
5777else 5657else
5778 cat > conftest.$ac_ext <<EOF 5658 cat > conftest.$ac_ext <<EOF
5779#line 5780 "configure" 5659#line 5660 "configure"
5780#include "confdefs.h" 5660#include "confdefs.h"
5781/* System header to define __stub macros and hopefully few prototypes, 5661/* System header to define __stub macros and hopefully few prototypes,
5782 which can conflict with char $ac_func(); below. */ 5662 which can conflict with char $ac_func(); below. */
@@ -5799,7 +5679,7 @@ $ac_func();
5799 5679
5800; return 0; } 5680; return 0; }
5801EOF 5681EOF
5802if { (eval echo configure:5803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5682if { (eval echo configure:5683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5803 rm -rf conftest* 5683 rm -rf conftest*
5804 eval "ac_cv_func_$ac_func=yes" 5684 eval "ac_cv_func_$ac_func=yes"
5805else 5685else
@@ -5826,7 +5706,7 @@ done
5826fi 5706fi
5827 5707
5828echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 5708echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
5829echo "configure:5830: checking stack direction for C alloca" >&5 5709echo "configure:5710: checking stack direction for C alloca" >&5
5830if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 5710if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
5831 echo $ac_n "(cached) $ac_c" 1>&6 5711 echo $ac_n "(cached) $ac_c" 1>&6
5832else 5712else
@@ -5834,7 +5714,7 @@ else
5834 ac_cv_c_stack_direction=0 5714 ac_cv_c_stack_direction=0
5835else 5715else
5836 cat > conftest.$ac_ext <<EOF 5716 cat > conftest.$ac_ext <<EOF
5837#line 5838 "configure" 5717#line 5718 "configure"
5838#include "confdefs.h" 5718#include "confdefs.h"
5839find_stack_direction () 5719find_stack_direction ()
5840{ 5720{
@@ -5853,7 +5733,7 @@ main ()
5853 exit (find_stack_direction() < 0); 5733 exit (find_stack_direction() < 0);
5854} 5734}
5855EOF 5735EOF
5856if { (eval echo configure:5857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 5736if { (eval echo configure:5737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5857then 5737then
5858 ac_cv_c_stack_direction=1 5738 ac_cv_c_stack_direction=1
5859else 5739else
@@ -5878,7 +5758,7 @@ fi
5878# fmod, logb, and frexp are found in -lm on most systems. 5758# fmod, logb, and frexp are found in -lm on most systems.
5879# On HPUX 9.01, -lm does not contain logb, so check for sqrt. 5759# On HPUX 9.01, -lm does not contain logb, so check for sqrt.
5880echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 5760echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6
5881echo "configure:5882: checking for sqrt in -lm" >&5 5761echo "configure:5762: checking for sqrt in -lm" >&5
5882ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` 5762ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'`
5883if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5763if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5884 echo $ac_n "(cached) $ac_c" 1>&6 5764 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5886,7 +5766,7 @@ else
5886 ac_save_LIBS="$LIBS" 5766 ac_save_LIBS="$LIBS"
5887LIBS="-lm $LIBS" 5767LIBS="-lm $LIBS"
5888cat > conftest.$ac_ext <<EOF 5768cat > conftest.$ac_ext <<EOF
5889#line 5890 "configure" 5769#line 5770 "configure"
5890#include "confdefs.h" 5770#include "confdefs.h"
5891/* Override any gcc2 internal prototype to avoid an error. */ 5771/* Override any gcc2 internal prototype to avoid an error. */
5892/* We use char because int might match the return type of a gcc2 5772/* We use char because int might match the return type of a gcc2
@@ -5897,7 +5777,7 @@ int main() {
5897sqrt() 5777sqrt()
5898; return 0; } 5778; return 0; }
5899EOF 5779EOF
5900if { (eval echo configure:5901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5780if { (eval echo configure:5781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5901 rm -rf conftest* 5781 rm -rf conftest*
5902 eval "ac_cv_lib_$ac_lib_var=yes" 5782 eval "ac_cv_lib_$ac_lib_var=yes"
5903else 5783else
@@ -5927,7 +5807,7 @@ fi
5927 5807
5928# Check for mail-locking functions in a "mail" library 5808# Check for mail-locking functions in a "mail" library
5929echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6 5809echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6
5930echo "configure:5931: checking for maillock in -lmail" >&5 5810echo "configure:5811: checking for maillock in -lmail" >&5
5931ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'` 5811ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'`
5932if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5812if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5933 echo $ac_n "(cached) $ac_c" 1>&6 5813 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5935,7 +5815,7 @@ else
5935 ac_save_LIBS="$LIBS" 5815 ac_save_LIBS="$LIBS"
5936LIBS="-lmail $LIBS" 5816LIBS="-lmail $LIBS"
5937cat > conftest.$ac_ext <<EOF 5817cat > conftest.$ac_ext <<EOF
5938#line 5939 "configure" 5818#line 5819 "configure"
5939#include "confdefs.h" 5819#include "confdefs.h"
5940/* Override any gcc2 internal prototype to avoid an error. */ 5820/* Override any gcc2 internal prototype to avoid an error. */
5941/* We use char because int might match the return type of a gcc2 5821/* We use char because int might match the return type of a gcc2
@@ -5946,7 +5826,7 @@ int main() {
5946maillock() 5826maillock()
5947; return 0; } 5827; return 0; }
5948EOF 5828EOF
5949if { (eval echo configure:5950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5829if { (eval echo configure:5830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5950 rm -rf conftest* 5830 rm -rf conftest*
5951 eval "ac_cv_lib_$ac_lib_var=yes" 5831 eval "ac_cv_lib_$ac_lib_var=yes"
5952else 5832else
@@ -5974,7 +5854,7 @@ else
5974fi 5854fi
5975 5855
5976echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6 5856echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6
5977echo "configure:5978: checking for maillock in -llockfile" >&5 5857echo "configure:5858: checking for maillock in -llockfile" >&5
5978ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'` 5858ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'`
5979if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5859if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5980 echo $ac_n "(cached) $ac_c" 1>&6 5860 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5982,7 +5862,7 @@ else
5982 ac_save_LIBS="$LIBS" 5862 ac_save_LIBS="$LIBS"
5983LIBS="-llockfile $LIBS" 5863LIBS="-llockfile $LIBS"
5984cat > conftest.$ac_ext <<EOF 5864cat > conftest.$ac_ext <<EOF
5985#line 5986 "configure" 5865#line 5866 "configure"
5986#include "confdefs.h" 5866#include "confdefs.h"
5987/* Override any gcc2 internal prototype to avoid an error. */ 5867/* Override any gcc2 internal prototype to avoid an error. */
5988/* We use char because int might match the return type of a gcc2 5868/* We use char because int might match the return type of a gcc2
@@ -5993,7 +5873,7 @@ int main() {
5993maillock() 5873maillock()
5994; return 0; } 5874; return 0; }
5995EOF 5875EOF
5996if { (eval echo configure:5997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5876if { (eval echo configure:5877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5997 rm -rf conftest* 5877 rm -rf conftest*
5998 eval "ac_cv_lib_$ac_lib_var=yes" 5878 eval "ac_cv_lib_$ac_lib_var=yes"
5999else 5879else
@@ -6027,7 +5907,7 @@ if test "$ac_cv_lib_lockfile_maillock" = no; then
6027 # Extract the first word of "liblockfile.so", so it can be a program name with args. 5907 # Extract the first word of "liblockfile.so", so it can be a program name with args.
6028set dummy liblockfile.so; ac_word=$2 5908set dummy liblockfile.so; ac_word=$2
6029echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 5909echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6030echo "configure:6031: checking for $ac_word" >&5 5910echo "configure:5911: checking for $ac_word" >&5
6031if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then 5911if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then
6032 echo $ac_n "(cached) $ac_c" 1>&6 5912 echo $ac_n "(cached) $ac_c" 1>&6
6033else 5913else
@@ -6068,12 +5948,12 @@ fi
6068for ac_func in touchlock 5948for ac_func in touchlock
6069do 5949do
6070echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5950echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6071echo "configure:6072: checking for $ac_func" >&5 5951echo "configure:5952: checking for $ac_func" >&5
6072if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 5952if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6073 echo $ac_n "(cached) $ac_c" 1>&6 5953 echo $ac_n "(cached) $ac_c" 1>&6
6074else 5954else
6075 cat > conftest.$ac_ext <<EOF 5955 cat > conftest.$ac_ext <<EOF
6076#line 6077 "configure" 5956#line 5957 "configure"
6077#include "confdefs.h" 5957#include "confdefs.h"
6078/* System header to define __stub macros and hopefully few prototypes, 5958/* System header to define __stub macros and hopefully few prototypes,
6079 which can conflict with char $ac_func(); below. */ 5959 which can conflict with char $ac_func(); below. */
@@ -6096,7 +5976,7 @@ $ac_func();
6096 5976
6097; return 0; } 5977; return 0; }
6098EOF 5978EOF
6099if { (eval echo configure:6100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5979if { (eval echo configure:5980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6100 rm -rf conftest* 5980 rm -rf conftest*
6101 eval "ac_cv_func_$ac_func=yes" 5981 eval "ac_cv_func_$ac_func=yes"
6102else 5982else
@@ -6124,17 +6004,17 @@ for ac_hdr in maillock.h
6124do 6004do
6125ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6005ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6126echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6006echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6127echo "configure:6128: checking for $ac_hdr" >&5 6007echo "configure:6008: checking for $ac_hdr" >&5
6128if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6008if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6129 echo $ac_n "(cached) $ac_c" 1>&6 6009 echo $ac_n "(cached) $ac_c" 1>&6
6130else 6010else
6131 cat > conftest.$ac_ext <<EOF 6011 cat > conftest.$ac_ext <<EOF
6132#line 6133 "configure" 6012#line 6013 "configure"
6133#include "confdefs.h" 6013#include "confdefs.h"
6134#include <$ac_hdr> 6014#include <$ac_hdr>
6135EOF 6015EOF
6136ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6016ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6137{ (eval echo configure:6138: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6017{ (eval echo configure:6018: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6138ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6018ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6139if test -z "$ac_err"; then 6019if test -z "$ac_err"; then
6140 rm -rf conftest* 6020 rm -rf conftest*
@@ -6170,12 +6050,12 @@ __fpending mblen mbrlen strsignal setitimer ualarm index rindex \
6170gai_strerror mkstemp 6050gai_strerror mkstemp
6171do 6051do
6172echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 6052echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6173echo "configure:6174: checking for $ac_func" >&5 6053echo "configure:6054: checking for $ac_func" >&5
6174if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 6054if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6175 echo $ac_n "(cached) $ac_c" 1>&6 6055 echo $ac_n "(cached) $ac_c" 1>&6
6176else 6056else
6177 cat > conftest.$ac_ext <<EOF 6057 cat > conftest.$ac_ext <<EOF
6178#line 6179 "configure" 6058#line 6059 "configure"
6179#include "confdefs.h" 6059#include "confdefs.h"
6180/* System header to define __stub macros and hopefully few prototypes, 6060/* System header to define __stub macros and hopefully few prototypes,
6181 which can conflict with char $ac_func(); below. */ 6061 which can conflict with char $ac_func(); below. */
@@ -6198,7 +6078,7 @@ $ac_func();
6198 6078
6199; return 0; } 6079; return 0; }
6200EOF 6080EOF
6201if { (eval echo configure:6202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6081if { (eval echo configure:6082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6202 rm -rf conftest* 6082 rm -rf conftest*
6203 eval "ac_cv_func_$ac_func=yes" 6083 eval "ac_cv_func_$ac_func=yes"
6204else 6084else
@@ -6227,17 +6107,17 @@ for ac_hdr in sys/time.h unistd.h
6227do 6107do
6228ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6108ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6229echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6109echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6230echo "configure:6231: checking for $ac_hdr" >&5 6110echo "configure:6111: checking for $ac_hdr" >&5
6231if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6111if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6232 echo $ac_n "(cached) $ac_c" 1>&6 6112 echo $ac_n "(cached) $ac_c" 1>&6
6233else 6113else
6234 cat > conftest.$ac_ext <<EOF 6114 cat > conftest.$ac_ext <<EOF
6235#line 6236 "configure" 6115#line 6116 "configure"
6236#include "confdefs.h" 6116#include "confdefs.h"
6237#include <$ac_hdr> 6117#include <$ac_hdr>
6238EOF 6118EOF
6239ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6119ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6240{ (eval echo configure:6241: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6120{ (eval echo configure:6121: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6241ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6121ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6242if test -z "$ac_err"; then 6122if test -z "$ac_err"; then
6243 rm -rf conftest* 6123 rm -rf conftest*
@@ -6266,12 +6146,12 @@ done
6266for ac_func in alarm 6146for ac_func in alarm
6267do 6147do
6268echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 6148echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6269echo "configure:6270: checking for $ac_func" >&5 6149echo "configure:6150: checking for $ac_func" >&5
6270if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 6150if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6271 echo $ac_n "(cached) $ac_c" 1>&6 6151 echo $ac_n "(cached) $ac_c" 1>&6
6272else 6152else
6273 cat > conftest.$ac_ext <<EOF 6153 cat > conftest.$ac_ext <<EOF
6274#line 6275 "configure" 6154#line 6155 "configure"
6275#include "confdefs.h" 6155#include "confdefs.h"
6276/* System header to define __stub macros and hopefully few prototypes, 6156/* System header to define __stub macros and hopefully few prototypes,
6277 which can conflict with char $ac_func(); below. */ 6157 which can conflict with char $ac_func(); below. */
@@ -6294,7 +6174,7 @@ $ac_func();
6294 6174
6295; return 0; } 6175; return 0; }
6296EOF 6176EOF
6297if { (eval echo configure:6298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6177if { (eval echo configure:6178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6298 rm -rf conftest* 6178 rm -rf conftest*
6299 eval "ac_cv_func_$ac_func=yes" 6179 eval "ac_cv_func_$ac_func=yes"
6300else 6180else
@@ -6319,7 +6199,7 @@ fi
6319done 6199done
6320 6200
6321echo $ac_n "checking for working mktime""... $ac_c" 1>&6 6201echo $ac_n "checking for working mktime""... $ac_c" 1>&6
6322echo "configure:6323: checking for working mktime" >&5 6202echo "configure:6203: checking for working mktime" >&5
6323if eval "test \"`echo '$''{'ac_cv_func_working_mktime'+set}'`\" = set"; then 6203if eval "test \"`echo '$''{'ac_cv_func_working_mktime'+set}'`\" = set"; then
6324 echo $ac_n "(cached) $ac_c" 1>&6 6204 echo $ac_n "(cached) $ac_c" 1>&6
6325else 6205else
@@ -6327,7 +6207,7 @@ else
6327 ac_cv_func_working_mktime=no 6207 ac_cv_func_working_mktime=no
6328else 6208else
6329 cat > conftest.$ac_ext <<EOF 6209 cat > conftest.$ac_ext <<EOF
6330#line 6331 "configure" 6210#line 6211 "configure"
6331#include "confdefs.h" 6211#include "confdefs.h"
6332/* Test program from Paul Eggert (eggert@twinsun.com) 6212/* Test program from Paul Eggert (eggert@twinsun.com)
6333 and Tony Leneis (tony@plaza.ds.adp.com). */ 6213 and Tony Leneis (tony@plaza.ds.adp.com). */
@@ -6476,7 +6356,7 @@ main ()
6476 exit (0); 6356 exit (0);
6477} 6357}
6478EOF 6358EOF
6479if { (eval echo configure:6480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 6359if { (eval echo configure:6360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6480then 6360then
6481 ac_cv_func_working_mktime=yes 6361 ac_cv_func_working_mktime=yes
6482else 6362else
@@ -6508,7 +6388,7 @@ ac_have_func=no # yes means we've found a way to get the load average.
6508# On Solaris, -lkvm requires nlist from -lelf, so check that first 6388# On Solaris, -lkvm requires nlist from -lelf, so check that first
6509# to get the right answer into the cache. 6389# to get the right answer into the cache.
6510echo $ac_n "checking for elf_begin in -lelf""... $ac_c" 1>&6 6390echo $ac_n "checking for elf_begin in -lelf""... $ac_c" 1>&6
6511echo "configure:6512: checking for elf_begin in -lelf" >&5 6391echo "configure:6392: checking for elf_begin in -lelf" >&5
6512ac_lib_var=`echo elf'_'elf_begin | sed 'y%./+-%__p_%'` 6392ac_lib_var=`echo elf'_'elf_begin | sed 'y%./+-%__p_%'`
6513if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6393if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6514 echo $ac_n "(cached) $ac_c" 1>&6 6394 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6516,7 +6396,7 @@ else
6516 ac_save_LIBS="$LIBS" 6396 ac_save_LIBS="$LIBS"
6517LIBS="-lelf $LIBS" 6397LIBS="-lelf $LIBS"
6518cat > conftest.$ac_ext <<EOF 6398cat > conftest.$ac_ext <<EOF
6519#line 6520 "configure" 6399#line 6400 "configure"
6520#include "confdefs.h" 6400#include "confdefs.h"
6521/* Override any gcc2 internal prototype to avoid an error. */ 6401/* Override any gcc2 internal prototype to avoid an error. */
6522/* We use char because int might match the return type of a gcc2 6402/* We use char because int might match the return type of a gcc2
@@ -6527,7 +6407,7 @@ int main() {
6527elf_begin() 6407elf_begin()
6528; return 0; } 6408; return 0; }
6529EOF 6409EOF
6530if { (eval echo configure:6531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6410if { (eval echo configure:6411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6531 rm -rf conftest* 6411 rm -rf conftest*
6532 eval "ac_cv_lib_$ac_lib_var=yes" 6412 eval "ac_cv_lib_$ac_lib_var=yes"
6533else 6413else
@@ -6548,7 +6428,7 @@ else
6548fi 6428fi
6549 6429
6550echo $ac_n "checking for kvm_open in -lkvm""... $ac_c" 1>&6 6430echo $ac_n "checking for kvm_open in -lkvm""... $ac_c" 1>&6
6551echo "configure:6552: checking for kvm_open in -lkvm" >&5 6431echo "configure:6432: checking for kvm_open in -lkvm" >&5
6552ac_lib_var=`echo kvm'_'kvm_open | sed 'y%./+-%__p_%'` 6432ac_lib_var=`echo kvm'_'kvm_open | sed 'y%./+-%__p_%'`
6553if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6433if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6554 echo $ac_n "(cached) $ac_c" 1>&6 6434 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6556,7 +6436,7 @@ else
6556 ac_save_LIBS="$LIBS" 6436 ac_save_LIBS="$LIBS"
6557LIBS="-lkvm $LIBS" 6437LIBS="-lkvm $LIBS"
6558cat > conftest.$ac_ext <<EOF 6438cat > conftest.$ac_ext <<EOF
6559#line 6560 "configure" 6439#line 6440 "configure"
6560#include "confdefs.h" 6440#include "confdefs.h"
6561/* Override any gcc2 internal prototype to avoid an error. */ 6441/* Override any gcc2 internal prototype to avoid an error. */
6562/* We use char because int might match the return type of a gcc2 6442/* We use char because int might match the return type of a gcc2
@@ -6567,7 +6447,7 @@ int main() {
6567kvm_open() 6447kvm_open()
6568; return 0; } 6448; return 0; }
6569EOF 6449EOF
6570if { (eval echo configure:6571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6450if { (eval echo configure:6451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6571 rm -rf conftest* 6451 rm -rf conftest*
6572 eval "ac_cv_lib_$ac_lib_var=yes" 6452 eval "ac_cv_lib_$ac_lib_var=yes"
6573else 6453else
@@ -6589,7 +6469,7 @@ fi
6589 6469
6590# Check for the 4.4BSD definition of getloadavg. 6470# Check for the 4.4BSD definition of getloadavg.
6591echo $ac_n "checking for getloadavg in -lutil""... $ac_c" 1>&6 6471echo $ac_n "checking for getloadavg in -lutil""... $ac_c" 1>&6
6592echo "configure:6593: checking for getloadavg in -lutil" >&5 6472echo "configure:6473: checking for getloadavg in -lutil" >&5
6593ac_lib_var=`echo util'_'getloadavg | sed 'y%./+-%__p_%'` 6473ac_lib_var=`echo util'_'getloadavg | sed 'y%./+-%__p_%'`
6594if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6474if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6595 echo $ac_n "(cached) $ac_c" 1>&6 6475 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6597,7 +6477,7 @@ else
6597 ac_save_LIBS="$LIBS" 6477 ac_save_LIBS="$LIBS"
6598LIBS="-lutil $LIBS" 6478LIBS="-lutil $LIBS"
6599cat > conftest.$ac_ext <<EOF 6479cat > conftest.$ac_ext <<EOF
6600#line 6601 "configure" 6480#line 6481 "configure"
6601#include "confdefs.h" 6481#include "confdefs.h"
6602/* Override any gcc2 internal prototype to avoid an error. */ 6482/* Override any gcc2 internal prototype to avoid an error. */
6603/* We use char because int might match the return type of a gcc2 6483/* We use char because int might match the return type of a gcc2
@@ -6608,7 +6488,7 @@ int main() {
6608getloadavg() 6488getloadavg()
6609; return 0; } 6489; return 0; }
6610EOF 6490EOF
6611if { (eval echo configure:6612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6491if { (eval echo configure:6492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6612 rm -rf conftest* 6492 rm -rf conftest*
6613 eval "ac_cv_lib_$ac_lib_var=yes" 6493 eval "ac_cv_lib_$ac_lib_var=yes"
6614else 6494else
@@ -6634,7 +6514,7 @@ if test $ac_have_func = no; then
6634 # Since it is not a standard part of AIX, it might be installed locally. 6514 # Since it is not a standard part of AIX, it might be installed locally.
6635 ac_getloadavg_LIBS="$LIBS"; LIBS="-L/usr/local/lib $LIBS" 6515 ac_getloadavg_LIBS="$LIBS"; LIBS="-L/usr/local/lib $LIBS"
6636 echo $ac_n "checking for getloadavg in -lgetloadavg""... $ac_c" 1>&6 6516 echo $ac_n "checking for getloadavg in -lgetloadavg""... $ac_c" 1>&6
6637echo "configure:6638: checking for getloadavg in -lgetloadavg" >&5 6517echo "configure:6518: checking for getloadavg in -lgetloadavg" >&5
6638ac_lib_var=`echo getloadavg'_'getloadavg | sed 'y%./+-%__p_%'` 6518ac_lib_var=`echo getloadavg'_'getloadavg | sed 'y%./+-%__p_%'`
6639if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6519if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6640 echo $ac_n "(cached) $ac_c" 1>&6 6520 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6642,7 +6522,7 @@ else
6642 ac_save_LIBS="$LIBS" 6522 ac_save_LIBS="$LIBS"
6643LIBS="-lgetloadavg $LIBS" 6523LIBS="-lgetloadavg $LIBS"
6644cat > conftest.$ac_ext <<EOF 6524cat > conftest.$ac_ext <<EOF
6645#line 6646 "configure" 6525#line 6526 "configure"
6646#include "confdefs.h" 6526#include "confdefs.h"
6647/* Override any gcc2 internal prototype to avoid an error. */ 6527/* Override any gcc2 internal prototype to avoid an error. */
6648/* We use char because int might match the return type of a gcc2 6528/* We use char because int might match the return type of a gcc2
@@ -6653,7 +6533,7 @@ int main() {
6653getloadavg() 6533getloadavg()
6654; return 0; } 6534; return 0; }
6655EOF 6535EOF
6656if { (eval echo configure:6657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6536if { (eval echo configure:6537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6657 rm -rf conftest* 6537 rm -rf conftest*
6658 eval "ac_cv_lib_$ac_lib_var=yes" 6538 eval "ac_cv_lib_$ac_lib_var=yes"
6659else 6539else
@@ -6680,12 +6560,12 @@ fi
6680for ac_func in getloadavg 6560for ac_func in getloadavg
6681do 6561do
6682echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 6562echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6683echo "configure:6684: checking for $ac_func" >&5 6563echo "configure:6564: checking for $ac_func" >&5
6684if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 6564if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6685 echo $ac_n "(cached) $ac_c" 1>&6 6565 echo $ac_n "(cached) $ac_c" 1>&6
6686else 6566else
6687 cat > conftest.$ac_ext <<EOF 6567 cat > conftest.$ac_ext <<EOF
6688#line 6689 "configure" 6568#line 6569 "configure"
6689#include "confdefs.h" 6569#include "confdefs.h"
6690/* System header to define __stub macros and hopefully few prototypes, 6570/* System header to define __stub macros and hopefully few prototypes,
6691 which can conflict with char $ac_func(); below. */ 6571 which can conflict with char $ac_func(); below. */
@@ -6708,7 +6588,7 @@ $ac_func();
6708 6588
6709; return 0; } 6589; return 0; }
6710EOF 6590EOF
6711if { (eval echo configure:6712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6591if { (eval echo configure:6592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6712 rm -rf conftest* 6592 rm -rf conftest*
6713 eval "ac_cv_func_$ac_func=yes" 6593 eval "ac_cv_func_$ac_func=yes"
6714else 6594else
@@ -6746,17 +6626,17 @@ else
6746 ac_have_func=no 6626 ac_have_func=no
6747 ac_safe=`echo "sys/dg_sys_info.h" | sed 'y%./+-%__p_%'` 6627 ac_safe=`echo "sys/dg_sys_info.h" | sed 'y%./+-%__p_%'`
6748echo $ac_n "checking for sys/dg_sys_info.h""... $ac_c" 1>&6 6628echo $ac_n "checking for sys/dg_sys_info.h""... $ac_c" 1>&6
6749echo "configure:6750: checking for sys/dg_sys_info.h" >&5 6629echo "configure:6630: checking for sys/dg_sys_info.h" >&5
6750if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6630if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6751 echo $ac_n "(cached) $ac_c" 1>&6 6631 echo $ac_n "(cached) $ac_c" 1>&6
6752else 6632else
6753 cat > conftest.$ac_ext <<EOF 6633 cat > conftest.$ac_ext <<EOF
6754#line 6755 "configure" 6634#line 6635 "configure"
6755#include "confdefs.h" 6635#include "confdefs.h"
6756#include <sys/dg_sys_info.h> 6636#include <sys/dg_sys_info.h>
6757EOF 6637EOF
6758ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6638ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6759{ (eval echo configure:6760: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6639{ (eval echo configure:6640: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6760ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6640ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6761if test -z "$ac_err"; then 6641if test -z "$ac_err"; then
6762 rm -rf conftest* 6642 rm -rf conftest*
@@ -6777,7 +6657,7 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6777EOF 6657EOF
6778 6658
6779 echo $ac_n "checking for dg_sys_info in -ldgc""... $ac_c" 1>&6 6659 echo $ac_n "checking for dg_sys_info in -ldgc""... $ac_c" 1>&6
6780echo "configure:6781: checking for dg_sys_info in -ldgc" >&5 6660echo "configure:6661: checking for dg_sys_info in -ldgc" >&5
6781ac_lib_var=`echo dgc'_'dg_sys_info | sed 'y%./+-%__p_%'` 6661ac_lib_var=`echo dgc'_'dg_sys_info | sed 'y%./+-%__p_%'`
6782if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6662if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6783 echo $ac_n "(cached) $ac_c" 1>&6 6663 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6785,7 +6665,7 @@ else
6785 ac_save_LIBS="$LIBS" 6665 ac_save_LIBS="$LIBS"
6786LIBS="-ldgc $LIBS" 6666LIBS="-ldgc $LIBS"
6787cat > conftest.$ac_ext <<EOF 6667cat > conftest.$ac_ext <<EOF
6788#line 6789 "configure" 6668#line 6669 "configure"
6789#include "confdefs.h" 6669#include "confdefs.h"
6790/* Override any gcc2 internal prototype to avoid an error. */ 6670/* Override any gcc2 internal prototype to avoid an error. */
6791/* We use char because int might match the return type of a gcc2 6671/* We use char because int might match the return type of a gcc2
@@ -6796,7 +6676,7 @@ int main() {
6796dg_sys_info() 6676dg_sys_info()
6797; return 0; } 6677; return 0; }
6798EOF 6678EOF
6799if { (eval echo configure:6800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6679if { (eval echo configure:6680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6800 rm -rf conftest* 6680 rm -rf conftest*
6801 eval "ac_cv_lib_$ac_lib_var=yes" 6681 eval "ac_cv_lib_$ac_lib_var=yes"
6802else 6682else
@@ -6841,17 +6721,17 @@ EOF
6841 if test $ac_have_func = no; then 6721 if test $ac_have_func = no; then
6842 ac_safe=`echo "inq_stats/cpustats.h" | sed 'y%./+-%__p_%'` 6722 ac_safe=`echo "inq_stats/cpustats.h" | sed 'y%./+-%__p_%'`
6843echo $ac_n "checking for inq_stats/cpustats.h""... $ac_c" 1>&6 6723echo $ac_n "checking for inq_stats/cpustats.h""... $ac_c" 1>&6
6844echo "configure:6845: checking for inq_stats/cpustats.h" >&5 6724echo "configure:6725: checking for inq_stats/cpustats.h" >&5
6845if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6725if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6846 echo $ac_n "(cached) $ac_c" 1>&6 6726 echo $ac_n "(cached) $ac_c" 1>&6
6847else 6727else
6848 cat > conftest.$ac_ext <<EOF 6728 cat > conftest.$ac_ext <<EOF
6849#line 6850 "configure" 6729#line 6730 "configure"
6850#include "confdefs.h" 6730#include "confdefs.h"
6851#include <inq_stats/cpustats.h> 6731#include <inq_stats/cpustats.h>
6852EOF 6732EOF
6853ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6733ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6854{ (eval echo configure:6855: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6734{ (eval echo configure:6735: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6855ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6735ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6856if test -z "$ac_err"; then 6736if test -z "$ac_err"; then
6857 rm -rf conftest* 6737 rm -rf conftest*
@@ -6884,17 +6764,17 @@ fi
6884 if test $ac_have_func = no; then 6764 if test $ac_have_func = no; then
6885 ac_safe=`echo "sys/cpustats.h" | sed 'y%./+-%__p_%'` 6765 ac_safe=`echo "sys/cpustats.h" | sed 'y%./+-%__p_%'`
6886echo $ac_n "checking for sys/cpustats.h""... $ac_c" 1>&6 6766echo $ac_n "checking for sys/cpustats.h""... $ac_c" 1>&6
6887echo "configure:6888: checking for sys/cpustats.h" >&5 6767echo "configure:6768: checking for sys/cpustats.h" >&5
6888if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6768if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6889 echo $ac_n "(cached) $ac_c" 1>&6 6769 echo $ac_n "(cached) $ac_c" 1>&6
6890else 6770else
6891 cat > conftest.$ac_ext <<EOF 6771 cat > conftest.$ac_ext <<EOF
6892#line 6893 "configure" 6772#line 6773 "configure"
6893#include "confdefs.h" 6773#include "confdefs.h"
6894#include <sys/cpustats.h> 6774#include <sys/cpustats.h>
6895EOF 6775EOF
6896ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6776ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6897{ (eval echo configure:6898: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6777{ (eval echo configure:6778: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6898ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6778ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6899if test -z "$ac_err"; then 6779if test -z "$ac_err"; then
6900 rm -rf conftest* 6780 rm -rf conftest*
@@ -6925,17 +6805,17 @@ fi
6925do 6805do
6926ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6806ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6927echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6807echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6928echo "configure:6929: checking for $ac_hdr" >&5 6808echo "configure:6809: checking for $ac_hdr" >&5
6929if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6809if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6930 echo $ac_n "(cached) $ac_c" 1>&6 6810 echo $ac_n "(cached) $ac_c" 1>&6
6931else 6811else
6932 cat > conftest.$ac_ext <<EOF 6812 cat > conftest.$ac_ext <<EOF
6933#line 6934 "configure" 6813#line 6814 "configure"
6934#include "confdefs.h" 6814#include "confdefs.h"
6935#include <$ac_hdr> 6815#include <$ac_hdr>
6936EOF 6816EOF
6937ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6817ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6938{ (eval echo configure:6939: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6818{ (eval echo configure:6819: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6939ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6819ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6940if test -z "$ac_err"; then 6820if test -z "$ac_err"; then
6941 rm -rf conftest* 6821 rm -rf conftest*
@@ -6965,17 +6845,17 @@ done
6965 6845
6966 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` 6846 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'`
6967echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 6847echo $ac_n "checking for nlist.h""... $ac_c" 1>&6
6968echo "configure:6969: checking for nlist.h" >&5 6848echo "configure:6849: checking for nlist.h" >&5
6969if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6849if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6970 echo $ac_n "(cached) $ac_c" 1>&6 6850 echo $ac_n "(cached) $ac_c" 1>&6
6971else 6851else
6972 cat > conftest.$ac_ext <<EOF 6852 cat > conftest.$ac_ext <<EOF
6973#line 6974 "configure" 6853#line 6854 "configure"
6974#include "confdefs.h" 6854#include "confdefs.h"
6975#include <nlist.h> 6855#include <nlist.h>
6976EOF 6856EOF
6977ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6857ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6978{ (eval echo configure:6979: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6858{ (eval echo configure:6859: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6979ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6859ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6980if test -z "$ac_err"; then 6860if test -z "$ac_err"; then
6981 rm -rf conftest* 6861 rm -rf conftest*
@@ -6996,19 +6876,19 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6996EOF 6876EOF
6997 6877
6998 echo $ac_n "checking for n_un in struct nlist""... $ac_c" 1>&6 6878 echo $ac_n "checking for n_un in struct nlist""... $ac_c" 1>&6
6999echo "configure:7000: checking for n_un in struct nlist" >&5 6879echo "configure:6880: checking for n_un in struct nlist" >&5
7000if eval "test \"`echo '$''{'ac_cv_struct_nlist_n_un'+set}'`\" = set"; then 6880if eval "test \"`echo '$''{'ac_cv_struct_nlist_n_un'+set}'`\" = set"; then
7001 echo $ac_n "(cached) $ac_c" 1>&6 6881 echo $ac_n "(cached) $ac_c" 1>&6
7002else 6882else
7003 cat > conftest.$ac_ext <<EOF 6883 cat > conftest.$ac_ext <<EOF
7004#line 7005 "configure" 6884#line 6885 "configure"
7005#include "confdefs.h" 6885#include "confdefs.h"
7006#include <nlist.h> 6886#include <nlist.h>
7007int main() { 6887int main() {
7008struct nlist n; n.n_un.n_name = 0; 6888struct nlist n; n.n_un.n_name = 0;
7009; return 0; } 6889; return 0; }
7010EOF 6890EOF
7011if { (eval echo configure:7012: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 6891if { (eval echo configure:6892: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7012 rm -rf conftest* 6892 rm -rf conftest*
7013 ac_cv_struct_nlist_n_un=yes 6893 ac_cv_struct_nlist_n_un=yes
7014else 6894else
@@ -7035,12 +6915,12 @@ fi # Do not have getloadavg in system libraries.
7035 6915
7036# Some definitions of getloadavg require that the program be installed setgid. 6916# Some definitions of getloadavg require that the program be installed setgid.
7037echo $ac_n "checking whether getloadavg requires setgid""... $ac_c" 1>&6 6917echo $ac_n "checking whether getloadavg requires setgid""... $ac_c" 1>&6
7038echo "configure:7039: checking whether getloadavg requires setgid" >&5 6918echo "configure:6919: checking whether getloadavg requires setgid" >&5
7039if eval "test \"`echo '$''{'ac_cv_func_getloadavg_setgid'+set}'`\" = set"; then 6919if eval "test \"`echo '$''{'ac_cv_func_getloadavg_setgid'+set}'`\" = set"; then
7040 echo $ac_n "(cached) $ac_c" 1>&6 6920 echo $ac_n "(cached) $ac_c" 1>&6
7041else 6921else
7042 cat > conftest.$ac_ext <<EOF 6922 cat > conftest.$ac_ext <<EOF
7043#line 7044 "configure" 6923#line 6924 "configure"
7044#include "confdefs.h" 6924#include "confdefs.h"
7045#include "$srcdir/getloadavg.c" 6925#include "$srcdir/getloadavg.c"
7046#ifdef LDAV_PRIVILEGED 6926#ifdef LDAV_PRIVILEGED
@@ -7071,7 +6951,7 @@ fi
7071 6951
7072if test $ac_cv_func_getloadavg_setgid = yes; then 6952if test $ac_cv_func_getloadavg_setgid = yes; then
7073 echo $ac_n "checking group of /dev/kmem""... $ac_c" 1>&6 6953 echo $ac_n "checking group of /dev/kmem""... $ac_c" 1>&6
7074echo "configure:7075: checking group of /dev/kmem" >&5 6954echo "configure:6955: checking group of /dev/kmem" >&5
7075if eval "test \"`echo '$''{'ac_cv_group_kmem'+set}'`\" = set"; then 6955if eval "test \"`echo '$''{'ac_cv_group_kmem'+set}'`\" = set"; then
7076 echo $ac_n "(cached) $ac_c" 1>&6 6956 echo $ac_n "(cached) $ac_c" 1>&6
7077else 6957else
@@ -7091,73 +6971,101 @@ echo "$ac_t""$ac_cv_group_kmem" 1>&6
7091fi 6971fi
7092 6972
7093 6973
7094for ac_func in ftello 6974echo $ac_n "checking for _LARGEFILE_SOURCE value needed for large files""... $ac_c" 1>&6
7095do 6975echo "configure:6976: checking for _LARGEFILE_SOURCE value needed for large files" >&5
7096echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 6976if eval "test \"`echo '$''{'ac_cv_sys_largefile_source'+set}'`\" = set"; then
7097echo "configure:7098: checking for $ac_func" >&5
7098if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7099 echo $ac_n "(cached) $ac_c" 1>&6 6977 echo $ac_n "(cached) $ac_c" 1>&6
7100else 6978else
6979 ac_cv_sys_largefile_source=no
6980 cat > conftest.$ac_ext <<EOF
6981#line 6982 "configure"
6982#include "confdefs.h"
6983#include <stdio.h>
6984int main() {
6985return !fseeko;
6986; return 0; }
6987EOF
6988if { (eval echo configure:6989: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6989 :
6990else
6991 echo "configure: failed program was:" >&5
6992 cat conftest.$ac_ext >&5
6993 rm -rf conftest*
7101 cat > conftest.$ac_ext <<EOF 6994 cat > conftest.$ac_ext <<EOF
7102#line 7103 "configure" 6995#line 6996 "configure"
7103#include "confdefs.h" 6996#include "confdefs.h"
7104/* System header to define __stub macros and hopefully few prototypes, 6997#define _LARGEFILE_SOURCE 1
7105 which can conflict with char $ac_func(); below. */ 6998#include <stdio.h>
7106#include <assert.h> 6999
7107/* Override any gcc2 internal prototype to avoid an error. */
7108/* We use char because int might match the return type of a gcc2
7109 builtin and then its argument prototype would still apply. */
7110char $ac_func();
7111
7112int main() { 7000int main() {
7113 7001return !fseeko;
7114/* The GNU C library defines this for functions which it implements
7115 to always fail with ENOSYS. Some functions are actually named
7116 something starting with __ and the normal name is an alias. */
7117#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7118choke me
7119#else
7120$ac_func();
7121#endif
7122
7123; return 0; } 7002; return 0; }
7124EOF 7003EOF
7125if { (eval echo configure:7126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7004if { (eval echo configure:7005: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7126 rm -rf conftest* 7005 rm -rf conftest*
7127 eval "ac_cv_func_$ac_func=yes" 7006 ac_cv_sys_largefile_source=1
7128else 7007else
7129 echo "configure: failed program was:" >&5 7008 echo "configure: failed program was:" >&5
7130 cat conftest.$ac_ext >&5 7009 cat conftest.$ac_ext >&5
7131 rm -rf conftest* 7010fi
7132 eval "ac_cv_func_$ac_func=no" 7011rm -f conftest*
7133fi 7012fi
7134rm -f conftest* 7013rm -f conftest*
7135fi 7014fi
7136 7015
7137if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then 7016echo "$ac_t""$ac_cv_sys_largefile_source" 1>&6
7138 echo "$ac_t""yes" 1>&6 7017 if test "$ac_cv_sys_largefile_source" != no; then
7139 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` 7018 cat >> confdefs.h <<EOF
7140 cat >> confdefs.h <<EOF 7019#define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
7141#define $ac_tr_func 1
7142EOF 7020EOF
7143 7021
7022 fi
7023 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
7024 # in glibc 2.1.3, but that breaks too many other things.
7025 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
7026
7027 echo $ac_n "checking for fseeko""... $ac_c" 1>&6
7028echo "configure:7029: checking for fseeko" >&5
7029if eval "test \"`echo '$''{'ac_cv_func_fseeko'+set}'`\" = set"; then
7030 echo $ac_n "(cached) $ac_c" 1>&6
7144else 7031else
7145 echo "$ac_t""no" 1>&6 7032 ac_cv_func_fseeko=no
7033 cat > conftest.$ac_ext <<EOF
7034#line 7035 "configure"
7035#include "confdefs.h"
7036#include <stdio.h>
7037int main() {
7038return fseeko && fseeko (stdin, 0, 0);
7039; return 0; }
7040EOF
7041if { (eval echo configure:7042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7042 rm -rf conftest*
7043 ac_cv_func_fseeko=yes
7044else
7045 echo "configure: failed program was:" >&5
7046 cat conftest.$ac_ext >&5
7047fi
7048rm -f conftest*
7146fi 7049fi
7147done
7148 7050
7051echo "$ac_t""$ac_cv_func_fseeko" 1>&6
7052 if test $ac_cv_func_fseeko != no; then
7053 cat >> confdefs.h <<\EOF
7054#define HAVE_FSEEKO 1
7055EOF
7056
7057 fi
7149 7058
7150# UNIX98 PTYs. AC_SYS_LARGEFILE should have defined _XOPEN_SOURCE 7059# UNIX98 PTYs.
7151# if we need it.
7152for ac_func in grantpt 7060for ac_func in grantpt
7153do 7061do
7154echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 7062echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7155echo "configure:7156: checking for $ac_func" >&5 7063echo "configure:7064: checking for $ac_func" >&5
7156if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 7064if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7157 echo $ac_n "(cached) $ac_c" 1>&6 7065 echo $ac_n "(cached) $ac_c" 1>&6
7158else 7066else
7159 cat > conftest.$ac_ext <<EOF 7067 cat > conftest.$ac_ext <<EOF
7160#line 7161 "configure" 7068#line 7069 "configure"
7161#include "confdefs.h" 7069#include "confdefs.h"
7162/* System header to define __stub macros and hopefully few prototypes, 7070/* System header to define __stub macros and hopefully few prototypes,
7163 which can conflict with char $ac_func(); below. */ 7071 which can conflict with char $ac_func(); below. */
@@ -7180,7 +7088,7 @@ $ac_func();
7180 7088
7181; return 0; } 7089; return 0; }
7182EOF 7090EOF
7183if { (eval echo configure:7184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7091if { (eval echo configure:7092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7184 rm -rf conftest* 7092 rm -rf conftest*
7185 eval "ac_cv_func_$ac_func=yes" 7093 eval "ac_cv_func_$ac_func=yes"
7186else 7094else
@@ -7209,12 +7117,12 @@ done
7209for ac_func in getpt 7117for ac_func in getpt
7210do 7118do
7211echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 7119echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7212echo "configure:7213: checking for $ac_func" >&5 7120echo "configure:7121: checking for $ac_func" >&5
7213if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 7121if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7214 echo $ac_n "(cached) $ac_c" 1>&6 7122 echo $ac_n "(cached) $ac_c" 1>&6
7215else 7123else
7216 cat > conftest.$ac_ext <<EOF 7124 cat > conftest.$ac_ext <<EOF
7217#line 7218 "configure" 7125#line 7126 "configure"
7218#include "confdefs.h" 7126#include "confdefs.h"
7219/* System header to define __stub macros and hopefully few prototypes, 7127/* System header to define __stub macros and hopefully few prototypes,
7220 which can conflict with char $ac_func(); below. */ 7128 which can conflict with char $ac_func(); below. */
@@ -7237,7 +7145,7 @@ $ac_func();
7237 7145
7238; return 0; } 7146; return 0; }
7239EOF 7147EOF
7240if { (eval echo configure:7241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7148if { (eval echo configure:7149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7241 rm -rf conftest* 7149 rm -rf conftest*
7242 eval "ac_cv_func_$ac_func=yes" 7150 eval "ac_cv_func_$ac_func=yes"
7243else 7151else
@@ -7267,7 +7175,7 @@ done
7267# It's better to believe a function is not available 7175# It's better to believe a function is not available
7268# than to expect to find it in ncurses. 7176# than to expect to find it in ncurses.
7269echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6 7177echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6
7270echo "configure:7271: checking for tparm in -lncurses" >&5 7178echo "configure:7179: checking for tparm in -lncurses" >&5
7271ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'` 7179ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'`
7272if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7180if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7273 echo $ac_n "(cached) $ac_c" 1>&6 7181 echo $ac_n "(cached) $ac_c" 1>&6
@@ -7275,7 +7183,7 @@ else
7275 ac_save_LIBS="$LIBS" 7183 ac_save_LIBS="$LIBS"
7276LIBS="-lncurses $LIBS" 7184LIBS="-lncurses $LIBS"
7277cat > conftest.$ac_ext <<EOF 7185cat > conftest.$ac_ext <<EOF
7278#line 7279 "configure" 7186#line 7187 "configure"
7279#include "confdefs.h" 7187#include "confdefs.h"
7280/* Override any gcc2 internal prototype to avoid an error. */ 7188/* Override any gcc2 internal prototype to avoid an error. */
7281/* We use char because int might match the return type of a gcc2 7189/* We use char because int might match the return type of a gcc2
@@ -7286,7 +7194,7 @@ int main() {
7286tparm() 7194tparm()
7287; return 0; } 7195; return 0; }
7288EOF 7196EOF
7289if { (eval echo configure:7290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7197if { (eval echo configure:7198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7290 rm -rf conftest* 7198 rm -rf conftest*
7291 eval "ac_cv_lib_$ac_lib_var=yes" 7199 eval "ac_cv_lib_$ac_lib_var=yes"
7292else 7200else
@@ -7317,7 +7225,7 @@ fi
7317# These tell us which Kerberos-related libraries to use. 7225# These tell us which Kerberos-related libraries to use.
7318if test "${with_kerberos+set}" = set; then 7226if test "${with_kerberos+set}" = set; then
7319 echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6 7227 echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6
7320echo "configure:7321: checking for com_err in -lcom_err" >&5 7228echo "configure:7229: checking for com_err in -lcom_err" >&5
7321ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'` 7229ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'`
7322if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7230if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7323 echo $ac_n "(cached) $ac_c" 1>&6 7231 echo $ac_n "(cached) $ac_c" 1>&6
@@ -7325,7 +7233,7 @@ else
7325 ac_save_LIBS="$LIBS" 7233 ac_save_LIBS="$LIBS"
7326LIBS="-lcom_err $LIBS" 7234LIBS="-lcom_err $LIBS"
7327cat > conftest.$ac_ext <<EOF 7235cat > conftest.$ac_ext <<EOF
7328#line 7329 "configure" 7236#line 7237 "configure"
7329#include "confdefs.h" 7237#include "confdefs.h"
7330/* Override any gcc2 internal prototype to avoid an error. */ 7238/* Override any gcc2 internal prototype to avoid an error. */
7331/* We use char because int might match the return type of a gcc2 7239/* We use char because int might match the return type of a gcc2
@@ -7336,7 +7244,7 @@ int main() {
7336com_err() 7244com_err()
7337; return 0; } 7245; return 0; }
7338EOF 7246EOF
7339if { (eval echo configure:7340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7247if { (eval echo configure:7248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7340 rm -rf conftest* 7248 rm -rf conftest*
7341 eval "ac_cv_lib_$ac_lib_var=yes" 7249 eval "ac_cv_lib_$ac_lib_var=yes"
7342else 7250else
@@ -7364,7 +7272,7 @@ else
7364fi 7272fi
7365 7273
7366 echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6 7274 echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6
7367echo "configure:7368: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 7275echo "configure:7276: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
7368ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` 7276ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'`
7369if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7277if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7370 echo $ac_n "(cached) $ac_c" 1>&6 7278 echo $ac_n "(cached) $ac_c" 1>&6
@@ -7372,7 +7280,7 @@ else
7372 ac_save_LIBS="$LIBS" 7280 ac_save_LIBS="$LIBS"
7373LIBS="-lk5crypto $LIBS" 7281LIBS="-lk5crypto $LIBS"
7374cat > conftest.$ac_ext <<EOF 7282cat > conftest.$ac_ext <<EOF
7375#line 7376 "configure" 7283#line 7284 "configure"
7376#include "confdefs.h" 7284#include "confdefs.h"
7377/* Override any gcc2 internal prototype to avoid an error. */ 7285/* Override any gcc2 internal prototype to avoid an error. */
7378/* We use char because int might match the return type of a gcc2 7286/* We use char because int might match the return type of a gcc2
@@ -7383,7 +7291,7 @@ int main() {
7383mit_des_cbc_encrypt() 7291mit_des_cbc_encrypt()
7384; return 0; } 7292; return 0; }
7385EOF 7293EOF
7386if { (eval echo configure:7387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7294if { (eval echo configure:7295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7387 rm -rf conftest* 7295 rm -rf conftest*
7388 eval "ac_cv_lib_$ac_lib_var=yes" 7296 eval "ac_cv_lib_$ac_lib_var=yes"
7389else 7297else
@@ -7411,7 +7319,7 @@ else
7411fi 7319fi
7412 7320
7413 echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6 7321 echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6
7414echo "configure:7415: checking for mit_des_cbc_encrypt in -lcrypto" >&5 7322echo "configure:7323: checking for mit_des_cbc_encrypt in -lcrypto" >&5
7415ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` 7323ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'`
7416if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7324if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7417 echo $ac_n "(cached) $ac_c" 1>&6 7325 echo $ac_n "(cached) $ac_c" 1>&6
@@ -7419,7 +7327,7 @@ else
7419 ac_save_LIBS="$LIBS" 7327 ac_save_LIBS="$LIBS"
7420LIBS="-lcrypto $LIBS" 7328LIBS="-lcrypto $LIBS"
7421cat > conftest.$ac_ext <<EOF 7329cat > conftest.$ac_ext <<EOF
7422#line 7423 "configure" 7330#line 7331 "configure"
7423#include "confdefs.h" 7331#include "confdefs.h"
7424/* Override any gcc2 internal prototype to avoid an error. */ 7332/* Override any gcc2 internal prototype to avoid an error. */
7425/* We use char because int might match the return type of a gcc2 7333/* We use char because int might match the return type of a gcc2
@@ -7430,7 +7338,7 @@ int main() {
7430mit_des_cbc_encrypt() 7338mit_des_cbc_encrypt()
7431; return 0; } 7339; return 0; }
7432EOF 7340EOF
7433if { (eval echo configure:7434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7341if { (eval echo configure:7342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7434 rm -rf conftest* 7342 rm -rf conftest*
7435 eval "ac_cv_lib_$ac_lib_var=yes" 7343 eval "ac_cv_lib_$ac_lib_var=yes"
7436else 7344else
@@ -7458,7 +7366,7 @@ else
7458fi 7366fi
7459 7367
7460 echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6 7368 echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6
7461echo "configure:7462: checking for krb5_init_context in -lkrb5" >&5 7369echo "configure:7370: checking for krb5_init_context in -lkrb5" >&5
7462ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'` 7370ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'`
7463if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7371if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7464 echo $ac_n "(cached) $ac_c" 1>&6 7372 echo $ac_n "(cached) $ac_c" 1>&6
@@ -7466,7 +7374,7 @@ else
7466 ac_save_LIBS="$LIBS" 7374 ac_save_LIBS="$LIBS"
7467LIBS="-lkrb5 $LIBS" 7375LIBS="-lkrb5 $LIBS"
7468cat > conftest.$ac_ext <<EOF 7376cat > conftest.$ac_ext <<EOF
7469#line 7470 "configure" 7377#line 7378 "configure"
7470#include "confdefs.h" 7378#include "confdefs.h"
7471/* Override any gcc2 internal prototype to avoid an error. */ 7379/* Override any gcc2 internal prototype to avoid an error. */
7472/* We use char because int might match the return type of a gcc2 7380/* We use char because int might match the return type of a gcc2
@@ -7477,7 +7385,7 @@ int main() {
7477krb5_init_context() 7385krb5_init_context()
7478; return 0; } 7386; return 0; }
7479EOF 7387EOF
7480if { (eval echo configure:7481: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7388if { (eval echo configure:7389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7481 rm -rf conftest* 7389 rm -rf conftest*
7482 eval "ac_cv_lib_$ac_lib_var=yes" 7390 eval "ac_cv_lib_$ac_lib_var=yes"
7483else 7391else
@@ -7506,7 +7414,7 @@ fi
7506 7414
7507 if test "${with_kerberos5+set}" != set; then 7415 if test "${with_kerberos5+set}" != set; then
7508 echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6 7416 echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6
7509echo "configure:7510: checking for des_cbc_encrypt in -ldes425" >&5 7417echo "configure:7418: checking for des_cbc_encrypt in -ldes425" >&5
7510ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` 7418ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'`
7511if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7419if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7512 echo $ac_n "(cached) $ac_c" 1>&6 7420 echo $ac_n "(cached) $ac_c" 1>&6
@@ -7514,7 +7422,7 @@ else
7514 ac_save_LIBS="$LIBS" 7422 ac_save_LIBS="$LIBS"
7515LIBS="-ldes425 $LIBS" 7423LIBS="-ldes425 $LIBS"
7516cat > conftest.$ac_ext <<EOF 7424cat > conftest.$ac_ext <<EOF
7517#line 7518 "configure" 7425#line 7426 "configure"
7518#include "confdefs.h" 7426#include "confdefs.h"
7519/* Override any gcc2 internal prototype to avoid an error. */ 7427/* Override any gcc2 internal prototype to avoid an error. */
7520/* We use char because int might match the return type of a gcc2 7428/* We use char because int might match the return type of a gcc2
@@ -7525,7 +7433,7 @@ int main() {
7525des_cbc_encrypt() 7433des_cbc_encrypt()
7526; return 0; } 7434; return 0; }
7527EOF 7435EOF
7528if { (eval echo configure:7529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7436if { (eval echo configure:7437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7529 rm -rf conftest* 7437 rm -rf conftest*
7530 eval "ac_cv_lib_$ac_lib_var=yes" 7438 eval "ac_cv_lib_$ac_lib_var=yes"
7531else 7439else
@@ -7551,7 +7459,7 @@ EOF
7551else 7459else
7552 echo "$ac_t""no" 1>&6 7460 echo "$ac_t""no" 1>&6
7553echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6 7461echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6
7554echo "configure:7555: checking for des_cbc_encrypt in -ldes" >&5 7462echo "configure:7463: checking for des_cbc_encrypt in -ldes" >&5
7555ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` 7463ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'`
7556if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7464if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7557 echo $ac_n "(cached) $ac_c" 1>&6 7465 echo $ac_n "(cached) $ac_c" 1>&6
@@ -7559,7 +7467,7 @@ else
7559 ac_save_LIBS="$LIBS" 7467 ac_save_LIBS="$LIBS"
7560LIBS="-ldes $LIBS" 7468LIBS="-ldes $LIBS"
7561cat > conftest.$ac_ext <<EOF 7469cat > conftest.$ac_ext <<EOF
7562#line 7563 "configure" 7470#line 7471 "configure"
7563#include "confdefs.h" 7471#include "confdefs.h"
7564/* Override any gcc2 internal prototype to avoid an error. */ 7472/* Override any gcc2 internal prototype to avoid an error. */
7565/* We use char because int might match the return type of a gcc2 7473/* We use char because int might match the return type of a gcc2
@@ -7570,7 +7478,7 @@ int main() {
7570des_cbc_encrypt() 7478des_cbc_encrypt()
7571; return 0; } 7479; return 0; }
7572EOF 7480EOF
7573if { (eval echo configure:7574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7481if { (eval echo configure:7482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7574 rm -rf conftest* 7482 rm -rf conftest*
7575 eval "ac_cv_lib_$ac_lib_var=yes" 7483 eval "ac_cv_lib_$ac_lib_var=yes"
7576else 7484else
@@ -7600,7 +7508,7 @@ fi
7600fi 7508fi
7601 7509
7602 echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6 7510 echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6
7603echo "configure:7604: checking for krb_get_cred in -lkrb4" >&5 7511echo "configure:7512: checking for krb_get_cred in -lkrb4" >&5
7604ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'` 7512ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'`
7605if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7513if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7606 echo $ac_n "(cached) $ac_c" 1>&6 7514 echo $ac_n "(cached) $ac_c" 1>&6
@@ -7608,7 +7516,7 @@ else
7608 ac_save_LIBS="$LIBS" 7516 ac_save_LIBS="$LIBS"
7609LIBS="-lkrb4 $LIBS" 7517LIBS="-lkrb4 $LIBS"
7610cat > conftest.$ac_ext <<EOF 7518cat > conftest.$ac_ext <<EOF
7611#line 7612 "configure" 7519#line 7520 "configure"
7612#include "confdefs.h" 7520#include "confdefs.h"
7613/* Override any gcc2 internal prototype to avoid an error. */ 7521/* Override any gcc2 internal prototype to avoid an error. */
7614/* We use char because int might match the return type of a gcc2 7522/* We use char because int might match the return type of a gcc2
@@ -7619,7 +7527,7 @@ int main() {
7619krb_get_cred() 7527krb_get_cred()
7620; return 0; } 7528; return 0; }
7621EOF 7529EOF
7622if { (eval echo configure:7623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7530if { (eval echo configure:7531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7623 rm -rf conftest* 7531 rm -rf conftest*
7624 eval "ac_cv_lib_$ac_lib_var=yes" 7532 eval "ac_cv_lib_$ac_lib_var=yes"
7625else 7533else
@@ -7645,7 +7553,7 @@ EOF
7645else 7553else
7646 echo "$ac_t""no" 1>&6 7554 echo "$ac_t""no" 1>&6
7647echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6 7555echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6
7648echo "configure:7649: checking for krb_get_cred in -lkrb" >&5 7556echo "configure:7557: checking for krb_get_cred in -lkrb" >&5
7649ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'` 7557ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'`
7650if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7558if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7651 echo $ac_n "(cached) $ac_c" 1>&6 7559 echo $ac_n "(cached) $ac_c" 1>&6
@@ -7653,7 +7561,7 @@ else
7653 ac_save_LIBS="$LIBS" 7561 ac_save_LIBS="$LIBS"
7654LIBS="-lkrb $LIBS" 7562LIBS="-lkrb $LIBS"
7655cat > conftest.$ac_ext <<EOF 7563cat > conftest.$ac_ext <<EOF
7656#line 7657 "configure" 7564#line 7565 "configure"
7657#include "confdefs.h" 7565#include "confdefs.h"
7658/* Override any gcc2 internal prototype to avoid an error. */ 7566/* Override any gcc2 internal prototype to avoid an error. */
7659/* We use char because int might match the return type of a gcc2 7567/* We use char because int might match the return type of a gcc2
@@ -7664,7 +7572,7 @@ int main() {
7664krb_get_cred() 7572krb_get_cred()
7665; return 0; } 7573; return 0; }
7666EOF 7574EOF
7667if { (eval echo configure:7668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7575if { (eval echo configure:7576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7668 rm -rf conftest* 7576 rm -rf conftest*
7669 eval "ac_cv_lib_$ac_lib_var=yes" 7577 eval "ac_cv_lib_$ac_lib_var=yes"
7670else 7578else
@@ -7700,17 +7608,17 @@ fi
7700do 7608do
7701ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7609ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7702echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7610echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7703echo "configure:7704: checking for $ac_hdr" >&5 7611echo "configure:7612: checking for $ac_hdr" >&5
7704if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7612if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7705 echo $ac_n "(cached) $ac_c" 1>&6 7613 echo $ac_n "(cached) $ac_c" 1>&6
7706else 7614else
7707 cat > conftest.$ac_ext <<EOF 7615 cat > conftest.$ac_ext <<EOF
7708#line 7709 "configure" 7616#line 7617 "configure"
7709#include "confdefs.h" 7617#include "confdefs.h"
7710#include <$ac_hdr> 7618#include <$ac_hdr>
7711EOF 7619EOF
7712ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7620ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7713{ (eval echo configure:7714: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7621{ (eval echo configure:7622: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7714ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7622ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7715if test -z "$ac_err"; then 7623if test -z "$ac_err"; then
7716 rm -rf conftest* 7624 rm -rf conftest*
@@ -7741,17 +7649,17 @@ done
7741do 7649do
7742ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7650ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7743echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7651echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7744echo "configure:7745: checking for $ac_hdr" >&5 7652echo "configure:7653: checking for $ac_hdr" >&5
7745if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7653if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7746 echo $ac_n "(cached) $ac_c" 1>&6 7654 echo $ac_n "(cached) $ac_c" 1>&6
7747else 7655else
7748 cat > conftest.$ac_ext <<EOF 7656 cat > conftest.$ac_ext <<EOF
7749#line 7750 "configure" 7657#line 7658 "configure"
7750#include "confdefs.h" 7658#include "confdefs.h"
7751#include <$ac_hdr> 7659#include <$ac_hdr>
7752EOF 7660EOF
7753ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7661ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7754{ (eval echo configure:7755: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7662{ (eval echo configure:7663: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7755ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7663ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7756if test -z "$ac_err"; then 7664if test -z "$ac_err"; then
7757 rm -rf conftest* 7665 rm -rf conftest*
@@ -7778,17 +7686,17 @@ for ac_hdr in kerberosIV/des.h
7778do 7686do
7779ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7687ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7780echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7688echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7781echo "configure:7782: checking for $ac_hdr" >&5 7689echo "configure:7690: checking for $ac_hdr" >&5
7782if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7690if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7783 echo $ac_n "(cached) $ac_c" 1>&6 7691 echo $ac_n "(cached) $ac_c" 1>&6
7784else 7692else
7785 cat > conftest.$ac_ext <<EOF 7693 cat > conftest.$ac_ext <<EOF
7786#line 7787 "configure" 7694#line 7695 "configure"
7787#include "confdefs.h" 7695#include "confdefs.h"
7788#include <$ac_hdr> 7696#include <$ac_hdr>
7789EOF 7697EOF
7790ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7698ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7791{ (eval echo configure:7792: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7699{ (eval echo configure:7700: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7792ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7700ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7793if test -z "$ac_err"; then 7701if test -z "$ac_err"; then
7794 rm -rf conftest* 7702 rm -rf conftest*
@@ -7815,17 +7723,17 @@ for ac_hdr in kerberos/des.h
7815do 7723do
7816ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7724ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7817echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7725echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7818echo "configure:7819: checking for $ac_hdr" >&5 7726echo "configure:7727: checking for $ac_hdr" >&5
7819if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7727if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7820 echo $ac_n "(cached) $ac_c" 1>&6 7728 echo $ac_n "(cached) $ac_c" 1>&6
7821else 7729else
7822 cat > conftest.$ac_ext <<EOF 7730 cat > conftest.$ac_ext <<EOF
7823#line 7824 "configure" 7731#line 7732 "configure"
7824#include "confdefs.h" 7732#include "confdefs.h"
7825#include <$ac_hdr> 7733#include <$ac_hdr>
7826EOF 7734EOF
7827ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7735ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7828{ (eval echo configure:7829: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7736{ (eval echo configure:7737: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7829ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7737ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7830if test -z "$ac_err"; then 7738if test -z "$ac_err"; then
7831 rm -rf conftest* 7739 rm -rf conftest*
@@ -7861,17 +7769,17 @@ done
7861do 7769do
7862ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7770ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7863echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7771echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7864echo "configure:7865: checking for $ac_hdr" >&5 7772echo "configure:7773: checking for $ac_hdr" >&5
7865if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7773if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7866 echo $ac_n "(cached) $ac_c" 1>&6 7774 echo $ac_n "(cached) $ac_c" 1>&6
7867else 7775else
7868 cat > conftest.$ac_ext <<EOF 7776 cat > conftest.$ac_ext <<EOF
7869#line 7870 "configure" 7777#line 7778 "configure"
7870#include "confdefs.h" 7778#include "confdefs.h"
7871#include <$ac_hdr> 7779#include <$ac_hdr>
7872EOF 7780EOF
7873ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7781ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7874{ (eval echo configure:7875: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7782{ (eval echo configure:7783: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7875ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7783ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7876if test -z "$ac_err"; then 7784if test -z "$ac_err"; then
7877 rm -rf conftest* 7785 rm -rf conftest*
@@ -7898,17 +7806,17 @@ for ac_hdr in kerberosIV/krb.h
7898do 7806do
7899ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7807ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7900echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7808echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7901echo "configure:7902: checking for $ac_hdr" >&5 7809echo "configure:7810: checking for $ac_hdr" >&5
7902if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7810if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7903 echo $ac_n "(cached) $ac_c" 1>&6 7811 echo $ac_n "(cached) $ac_c" 1>&6
7904else 7812else
7905 cat > conftest.$ac_ext <<EOF 7813 cat > conftest.$ac_ext <<EOF
7906#line 7907 "configure" 7814#line 7815 "configure"
7907#include "confdefs.h" 7815#include "confdefs.h"
7908#include <$ac_hdr> 7816#include <$ac_hdr>
7909EOF 7817EOF
7910ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7818ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7911{ (eval echo configure:7912: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7819{ (eval echo configure:7820: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7912ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7820ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7913if test -z "$ac_err"; then 7821if test -z "$ac_err"; then
7914 rm -rf conftest* 7822 rm -rf conftest*
@@ -7935,17 +7843,17 @@ for ac_hdr in kerberos/krb.h
7935do 7843do
7936ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7844ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7937echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7845echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7938echo "configure:7939: checking for $ac_hdr" >&5 7846echo "configure:7847: checking for $ac_hdr" >&5
7939if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7847if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7940 echo $ac_n "(cached) $ac_c" 1>&6 7848 echo $ac_n "(cached) $ac_c" 1>&6
7941else 7849else
7942 cat > conftest.$ac_ext <<EOF 7850 cat > conftest.$ac_ext <<EOF
7943#line 7944 "configure" 7851#line 7852 "configure"
7944#include "confdefs.h" 7852#include "confdefs.h"
7945#include <$ac_hdr> 7853#include <$ac_hdr>
7946EOF 7854EOF
7947ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7855ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7948{ (eval echo configure:7949: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7856{ (eval echo configure:7857: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7949ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7857ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7950if test -z "$ac_err"; then 7858if test -z "$ac_err"; then
7951 rm -rf conftest* 7859 rm -rf conftest*
@@ -7982,17 +7890,17 @@ done
7982do 7890do
7983ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7891ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7984echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7892echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7985echo "configure:7986: checking for $ac_hdr" >&5 7893echo "configure:7894: checking for $ac_hdr" >&5
7986if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7894if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7987 echo $ac_n "(cached) $ac_c" 1>&6 7895 echo $ac_n "(cached) $ac_c" 1>&6
7988else 7896else
7989 cat > conftest.$ac_ext <<EOF 7897 cat > conftest.$ac_ext <<EOF
7990#line 7991 "configure" 7898#line 7899 "configure"
7991#include "confdefs.h" 7899#include "confdefs.h"
7992#include <$ac_hdr> 7900#include <$ac_hdr>
7993EOF 7901EOF
7994ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7902ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7995{ (eval echo configure:7996: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7903{ (eval echo configure:7904: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7996ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7904ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7997if test -z "$ac_err"; then 7905if test -z "$ac_err"; then
7998 rm -rf conftest* 7906 rm -rf conftest*
@@ -8023,7 +7931,7 @@ fi
8023# Solaris requires -lintl if you want strerror (which calls dgettext) 7931# Solaris requires -lintl if you want strerror (which calls dgettext)
8024# to return localized messages. 7932# to return localized messages.
8025echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6 7933echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6
8026echo "configure:8027: checking for dgettext in -lintl" >&5 7934echo "configure:7935: checking for dgettext in -lintl" >&5
8027ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'` 7935ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'`
8028if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7936if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8029 echo $ac_n "(cached) $ac_c" 1>&6 7937 echo $ac_n "(cached) $ac_c" 1>&6
@@ -8031,7 +7939,7 @@ else
8031 ac_save_LIBS="$LIBS" 7939 ac_save_LIBS="$LIBS"
8032LIBS="-lintl $LIBS" 7940LIBS="-lintl $LIBS"
8033cat > conftest.$ac_ext <<EOF 7941cat > conftest.$ac_ext <<EOF
8034#line 8035 "configure" 7942#line 7943 "configure"
8035#include "confdefs.h" 7943#include "confdefs.h"
8036/* Override any gcc2 internal prototype to avoid an error. */ 7944/* Override any gcc2 internal prototype to avoid an error. */
8037/* We use char because int might match the return type of a gcc2 7945/* We use char because int might match the return type of a gcc2
@@ -8042,7 +7950,7 @@ int main() {
8042dgettext() 7950dgettext()
8043; return 0; } 7951; return 0; }
8044EOF 7952EOF
8045if { (eval echo configure:8046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7953if { (eval echo configure:7954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8046 rm -rf conftest* 7954 rm -rf conftest*
8047 eval "ac_cv_lib_$ac_lib_var=yes" 7955 eval "ac_cv_lib_$ac_lib_var=yes"
8048else 7956else
@@ -8071,7 +7979,7 @@ fi
8071 7979
8072 7980
8073echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 7981echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6
8074echo "configure:8075: checking whether localtime caches TZ" >&5 7982echo "configure:7983: checking whether localtime caches TZ" >&5
8075if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then 7983if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then
8076 echo $ac_n "(cached) $ac_c" 1>&6 7984 echo $ac_n "(cached) $ac_c" 1>&6
8077else 7985else
@@ -8081,7 +7989,7 @@ if test "$cross_compiling" = yes; then
8081emacs_cv_localtime_cache=yes 7989emacs_cv_localtime_cache=yes
8082else 7990else
8083 cat > conftest.$ac_ext <<EOF 7991 cat > conftest.$ac_ext <<EOF
8084#line 8085 "configure" 7992#line 7993 "configure"
8085#include "confdefs.h" 7993#include "confdefs.h"
8086#include <time.h> 7994#include <time.h>
8087extern char **environ; 7995extern char **environ;
@@ -8113,7 +8021,7 @@ main()
8113 exit (0); 8021 exit (0);
8114} 8022}
8115EOF 8023EOF
8116if { (eval echo configure:8117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 8024if { (eval echo configure:8025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8117then 8025then
8118 emacs_cv_localtime_cache=no 8026 emacs_cv_localtime_cache=no
8119else 8027else
@@ -8143,12 +8051,12 @@ if test "x$HAVE_TIMEVAL" = xyes; then
8143 for ac_func in gettimeofday 8051 for ac_func in gettimeofday
8144do 8052do
8145echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 8053echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8146echo "configure:8147: checking for $ac_func" >&5 8054echo "configure:8055: checking for $ac_func" >&5
8147if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 8055if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8148 echo $ac_n "(cached) $ac_c" 1>&6 8056 echo $ac_n "(cached) $ac_c" 1>&6
8149else 8057else
8150 cat > conftest.$ac_ext <<EOF 8058 cat > conftest.$ac_ext <<EOF
8151#line 8152 "configure" 8059#line 8060 "configure"
8152#include "confdefs.h" 8060#include "confdefs.h"
8153/* System header to define __stub macros and hopefully few prototypes, 8061/* System header to define __stub macros and hopefully few prototypes,
8154 which can conflict with char $ac_func(); below. */ 8062 which can conflict with char $ac_func(); below. */
@@ -8171,7 +8079,7 @@ $ac_func();
8171 8079
8172; return 0; } 8080; return 0; }
8173EOF 8081EOF
8174if { (eval echo configure:8175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8082if { (eval echo configure:8083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8175 rm -rf conftest* 8083 rm -rf conftest*
8176 eval "ac_cv_func_$ac_func=yes" 8084 eval "ac_cv_func_$ac_func=yes"
8177else 8085else
@@ -8196,12 +8104,12 @@ fi
8196done 8104done
8197 8105
8198 echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6 8106 echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6
8199echo "configure:8200: checking whether gettimeofday can accept two arguments" >&5 8107echo "configure:8108: checking whether gettimeofday can accept two arguments" >&5
8200if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then 8108if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then
8201 echo $ac_n "(cached) $ac_c" 1>&6 8109 echo $ac_n "(cached) $ac_c" 1>&6
8202else 8110else
8203 cat > conftest.$ac_ext <<EOF 8111 cat > conftest.$ac_ext <<EOF
8204#line 8205 "configure" 8112#line 8113 "configure"
8205#include "confdefs.h" 8113#include "confdefs.h"
8206 8114
8207#ifdef TIME_WITH_SYS_TIME 8115#ifdef TIME_WITH_SYS_TIME
@@ -8219,7 +8127,7 @@ struct timeval time;
8219 gettimeofday (&time, 0); 8127 gettimeofday (&time, 0);
8220; return 0; } 8128; return 0; }
8221EOF 8129EOF
8222if { (eval echo configure:8223: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 8130if { (eval echo configure:8131: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8223 rm -rf conftest* 8131 rm -rf conftest*
8224 emacs_cv_gettimeofday_two_arguments=yes 8132 emacs_cv_gettimeofday_two_arguments=yes
8225else 8133else
@@ -8242,25 +8150,25 @@ fi
8242 8150
8243if test "$ac_cv_func_gettimeofday" = yes; then 8151if test "$ac_cv_func_gettimeofday" = yes; then
8244 echo $ac_n "checking for struct timezone""... $ac_c" 1>&6 8152 echo $ac_n "checking for struct timezone""... $ac_c" 1>&6
8245echo "configure:8246: checking for struct timezone" >&5 8153echo "configure:8154: checking for struct timezone" >&5
8246if eval "test \"`echo '$''{'emacs_cv_struct_timezone'+set}'`\" = set"; then 8154if eval "test \"`echo '$''{'emacs_cv_struct_timezone'+set}'`\" = set"; then
8247 echo $ac_n "(cached) $ac_c" 1>&6 8155 echo $ac_n "(cached) $ac_c" 1>&6
8248else 8156else
8249 cat > conftest.$ac_ext <<EOF 8157 cat > conftest.$ac_ext <<EOF
8250#line 8251 "configure" 8158#line 8159 "configure"
8251#include "confdefs.h" 8159#include "confdefs.h"
8252#include <sys/time.h> 8160#include <sys/time.h>
8253int main() { 8161int main() {
8254struct timezone tz; 8162struct timezone tz;
8255; return 0; } 8163; return 0; }
8256EOF 8164EOF
8257if { (eval echo configure:8258: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 8165if { (eval echo configure:8166: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8258 rm -rf conftest* 8166 rm -rf conftest*
8259 if test "$cross_compiling" = yes; then 8167 if test "$cross_compiling" = yes; then
8260 emacs_cv_struct_timezone=yes 8168 emacs_cv_struct_timezone=yes
8261else 8169else
8262 cat > conftest.$ac_ext <<EOF 8170 cat > conftest.$ac_ext <<EOF
8263#line 8264 "configure" 8171#line 8172 "configure"
8264#include "confdefs.h" 8172#include "confdefs.h"
8265 8173
8266#ifdef TIME_WITH_SYS_TIME 8174#ifdef TIME_WITH_SYS_TIME
@@ -8279,7 +8187,7 @@ main () {
8279 exit (gettimeofday (&time, &dummy)); 8187 exit (gettimeofday (&time, &dummy));
8280} 8188}
8281EOF 8189EOF
8282if { (eval echo configure:8283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 8190if { (eval echo configure:8191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8283then 8191then
8284 emacs_cv_struct_timezone=yes 8192 emacs_cv_struct_timezone=yes
8285else 8193else
@@ -8305,12 +8213,12 @@ fi
8305 8213
8306ok_so_far=yes 8214ok_so_far=yes
8307echo $ac_n "checking for socket""... $ac_c" 1>&6 8215echo $ac_n "checking for socket""... $ac_c" 1>&6
8308echo "configure:8309: checking for socket" >&5 8216echo "configure:8217: checking for socket" >&5
8309if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then 8217if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
8310 echo $ac_n "(cached) $ac_c" 1>&6 8218 echo $ac_n "(cached) $ac_c" 1>&6
8311else 8219else
8312 cat > conftest.$ac_ext <<EOF 8220 cat > conftest.$ac_ext <<EOF
8313#line 8314 "configure" 8221#line 8222 "configure"
8314#include "confdefs.h" 8222#include "confdefs.h"
8315/* System header to define __stub macros and hopefully few prototypes, 8223/* System header to define __stub macros and hopefully few prototypes,
8316 which can conflict with char socket(); below. */ 8224 which can conflict with char socket(); below. */
@@ -8333,7 +8241,7 @@ socket();
8333 8241
8334; return 0; } 8242; return 0; }
8335EOF 8243EOF
8336if { (eval echo configure:8337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8244if { (eval echo configure:8245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8337 rm -rf conftest* 8245 rm -rf conftest*
8338 eval "ac_cv_func_socket=yes" 8246 eval "ac_cv_func_socket=yes"
8339else 8247else
@@ -8356,17 +8264,17 @@ fi
8356if test $ok_so_far = yes; then 8264if test $ok_so_far = yes; then
8357 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` 8265 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'`
8358echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 8266echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6
8359echo "configure:8360: checking for netinet/in.h" >&5 8267echo "configure:8268: checking for netinet/in.h" >&5
8360if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 8268if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8361 echo $ac_n "(cached) $ac_c" 1>&6 8269 echo $ac_n "(cached) $ac_c" 1>&6
8362else 8270else
8363 cat > conftest.$ac_ext <<EOF 8271 cat > conftest.$ac_ext <<EOF
8364#line 8365 "configure" 8272#line 8273 "configure"
8365#include "confdefs.h" 8273#include "confdefs.h"
8366#include <netinet/in.h> 8274#include <netinet/in.h>
8367EOF 8275EOF
8368ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8276ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8369{ (eval echo configure:8370: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8277{ (eval echo configure:8278: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8370ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8278ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8371if test -z "$ac_err"; then 8279if test -z "$ac_err"; then
8372 rm -rf conftest* 8280 rm -rf conftest*
@@ -8392,17 +8300,17 @@ fi
8392if test $ok_so_far = yes; then 8300if test $ok_so_far = yes; then
8393 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` 8301 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'`
8394echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 8302echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6
8395echo "configure:8396: checking for arpa/inet.h" >&5 8303echo "configure:8304: checking for arpa/inet.h" >&5
8396if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 8304if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8397 echo $ac_n "(cached) $ac_c" 1>&6 8305 echo $ac_n "(cached) $ac_c" 1>&6
8398else 8306else
8399 cat > conftest.$ac_ext <<EOF 8307 cat > conftest.$ac_ext <<EOF
8400#line 8401 "configure" 8308#line 8309 "configure"
8401#include "confdefs.h" 8309#include "confdefs.h"
8402#include <arpa/inet.h> 8310#include <arpa/inet.h>
8403EOF 8311EOF
8404ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8312ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8405{ (eval echo configure:8406: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8313{ (eval echo configure:8314: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8406ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8314ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8407if test -z "$ac_err"; then 8315if test -z "$ac_err"; then
8408 rm -rf conftest* 8316 rm -rf conftest*
@@ -8440,7 +8348,7 @@ EOF
8440fi 8348fi
8441 8349
8442echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6 8350echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6
8443echo "configure:8444: checking whether system supports dynamic ptys" >&5 8351echo "configure:8352: checking whether system supports dynamic ptys" >&5
8444if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then 8352if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then
8445 echo "$ac_t""yes" 1>&6 8353 echo "$ac_t""yes" 1>&6
8446 cat >> confdefs.h <<\EOF 8354 cat >> confdefs.h <<\EOF
@@ -8452,12 +8360,12 @@ else
8452fi 8360fi
8453 8361
8454echo $ac_n "checking for pid_t""... $ac_c" 1>&6 8362echo $ac_n "checking for pid_t""... $ac_c" 1>&6
8455echo "configure:8456: checking for pid_t" >&5 8363echo "configure:8364: checking for pid_t" >&5
8456if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then 8364if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
8457 echo $ac_n "(cached) $ac_c" 1>&6 8365 echo $ac_n "(cached) $ac_c" 1>&6
8458else 8366else
8459 cat > conftest.$ac_ext <<EOF 8367 cat > conftest.$ac_ext <<EOF
8460#line 8461 "configure" 8368#line 8369 "configure"
8461#include "confdefs.h" 8369#include "confdefs.h"
8462#include <sys/types.h> 8370#include <sys/types.h>
8463#if STDC_HEADERS 8371#if STDC_HEADERS
@@ -8486,17 +8394,17 @@ fi
8486 8394
8487ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` 8395ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'`
8488echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 8396echo $ac_n "checking for vfork.h""... $ac_c" 1>&6
8489echo "configure:8490: checking for vfork.h" >&5 8397echo "configure:8398: checking for vfork.h" >&5
8490if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 8398if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8491 echo $ac_n "(cached) $ac_c" 1>&6 8399 echo $ac_n "(cached) $ac_c" 1>&6
8492else 8400else
8493 cat > conftest.$ac_ext <<EOF 8401 cat > conftest.$ac_ext <<EOF
8494#line 8495 "configure" 8402#line 8403 "configure"
8495#include "confdefs.h" 8403#include "confdefs.h"
8496#include <vfork.h> 8404#include <vfork.h>
8497EOF 8405EOF
8498ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8406ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8499{ (eval echo configure:8500: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8407{ (eval echo configure:8408: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8500ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8408ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8501if test -z "$ac_err"; then 8409if test -z "$ac_err"; then
8502 rm -rf conftest* 8410 rm -rf conftest*
@@ -8521,18 +8429,18 @@ else
8521fi 8429fi
8522 8430
8523echo $ac_n "checking for working vfork""... $ac_c" 1>&6 8431echo $ac_n "checking for working vfork""... $ac_c" 1>&6
8524echo "configure:8525: checking for working vfork" >&5 8432echo "configure:8433: checking for working vfork" >&5
8525if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then 8433if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then
8526 echo $ac_n "(cached) $ac_c" 1>&6 8434 echo $ac_n "(cached) $ac_c" 1>&6
8527else 8435else
8528 if test "$cross_compiling" = yes; then 8436 if test "$cross_compiling" = yes; then
8529 echo $ac_n "checking for vfork""... $ac_c" 1>&6 8437 echo $ac_n "checking for vfork""... $ac_c" 1>&6
8530echo "configure:8531: checking for vfork" >&5 8438echo "configure:8439: checking for vfork" >&5
8531if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then 8439if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then
8532 echo $ac_n "(cached) $ac_c" 1>&6 8440 echo $ac_n "(cached) $ac_c" 1>&6
8533else 8441else
8534 cat > conftest.$ac_ext <<EOF 8442 cat > conftest.$ac_ext <<EOF
8535#line 8536 "configure" 8443#line 8444 "configure"
8536#include "confdefs.h" 8444#include "confdefs.h"
8537/* System header to define __stub macros and hopefully few prototypes, 8445/* System header to define __stub macros and hopefully few prototypes,
8538 which can conflict with char vfork(); below. */ 8446 which can conflict with char vfork(); below. */
@@ -8555,7 +8463,7 @@ vfork();
8555 8463
8556; return 0; } 8464; return 0; }
8557EOF 8465EOF
8558if { (eval echo configure:8559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8466if { (eval echo configure:8467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8559 rm -rf conftest* 8467 rm -rf conftest*
8560 eval "ac_cv_func_vfork=yes" 8468 eval "ac_cv_func_vfork=yes"
8561else 8469else
@@ -8577,7 +8485,7 @@ fi
8577ac_cv_func_vfork_works=$ac_cv_func_vfork 8485ac_cv_func_vfork_works=$ac_cv_func_vfork
8578else 8486else
8579 cat > conftest.$ac_ext <<EOF 8487 cat > conftest.$ac_ext <<EOF
8580#line 8581 "configure" 8488#line 8489 "configure"
8581#include "confdefs.h" 8489#include "confdefs.h"
8582/* Thanks to Paul Eggert for this test. */ 8490/* Thanks to Paul Eggert for this test. */
8583#include <stdio.h> 8491#include <stdio.h>
@@ -8672,7 +8580,7 @@ main() {
8672 } 8580 }
8673} 8581}
8674EOF 8582EOF
8675if { (eval echo configure:8676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 8583if { (eval echo configure:8584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8676then 8584then
8677 ac_cv_func_vfork_works=yes 8585 ac_cv_func_vfork_works=yes
8678else 8586else
@@ -8697,12 +8605,12 @@ fi
8697 8605
8698# Fixme: This should be replaced when we have autoconf 2.14. 8606# Fixme: This should be replaced when we have autoconf 2.14.
8699echo $ac_n "checking for size_t""... $ac_c" 1>&6 8607echo $ac_n "checking for size_t""... $ac_c" 1>&6
8700echo "configure:8701: checking for size_t" >&5 8608echo "configure:8609: checking for size_t" >&5
8701if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then 8609if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
8702 echo $ac_n "(cached) $ac_c" 1>&6 8610 echo $ac_n "(cached) $ac_c" 1>&6
8703else 8611else
8704 cat > conftest.$ac_ext <<EOF 8612 cat > conftest.$ac_ext <<EOF
8705#line 8706 "configure" 8613#line 8614 "configure"
8706#include "confdefs.h" 8614#include "confdefs.h"
8707#include <sys/types.h> 8615#include <sys/types.h>
8708#if STDC_HEADERS 8616#if STDC_HEADERS
diff --git a/src/ChangeLog b/src/ChangeLog
index 18756b345f9..7972c662899 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,13 @@
12000-12-11 Paul Eggert <eggert@twinsun.com>
2
3 * config.in (HAVE_FTELLO): Remove.
4 (HAVE_FSEEKO): Add.
5 (_XOPEN_SOURCE): Remove; the large-file code no longer needs it.
6 * lread.c (file_offset, file_tell): Depend on HAVE_FSEEKO, not
7 HAVE_FTELLO.
8 * s/hpux10.h (_FILE_OFFSET_BITS): Do not undef.
9 * s/isc3-0.h, s/osf5-0.h: Update comment about _XOPEN_SOURCE.
10
12000-12-11 Miles Bader <miles@gnu.org> 112000-12-11 Miles Bader <miles@gnu.org>
2 12
3 * window.c (displayed_window_lines): Don't round up when 13 * window.c (displayed_window_lines): Don't round up when