aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Raeburn2000-07-05 19:18:52 +0000
committerKen Raeburn2000-07-05 19:18:52 +0000
commitb192d653daad26b27e58f9a1a37593a9ce5a6bca (patch)
treed1509bf9f1f31179ed164196a17a96ccd408a568
parentd95443d17b89d0ab1826260588fa670b7e442233 (diff)
downloademacs-b192d653daad26b27e58f9a1a37593a9ce5a6bca.tar.gz
emacs-b192d653daad26b27e58f9a1a37593a9ce5a6bca.zip
* configure.in: Check for <soundcard.h>. Look for ossaudio library, and set
LIBSOUND accordingly.
-rw-r--r--ChangeLog5
-rwxr-xr-xconfigure766
-rw-r--r--configure.in5
3 files changed, 414 insertions, 362 deletions
diff --git a/ChangeLog b/ChangeLog
index a519c55412a..53c3afeab2a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
12000-07-05 Ken Raeburn <raeburn@gnu.org>
2
3 * configure.in: Check for <soundcard.h>. Look for ossaudio
4 library, and set LIBSOUND accordingly.
5
12000-07-05 Dave Love <fx@gnu.org> 62000-07-05 Dave Love <fx@gnu.org>
2 7
3 * configure.in: Use AC_HEADER_SYS_WAIT. 8 * configure.in: Use AC_HEADER_SYS_WAIT.
diff --git a/configure b/configure
index 9c8f12b2f6b..b871a509ede 100755
--- a/configure
+++ b/configure
@@ -2250,7 +2250,7 @@ rm -f conftest*
2250 2250
2251 2251
2252# Sound support for GNU/Linux and the free BSDs. 2252# Sound support for GNU/Linux and the free BSDs.
2253for ac_hdr in machine/soundcard.h sys/soundcard.h 2253for ac_hdr in machine/soundcard.h sys/soundcard.h soundcard.h
2254do 2254do
2255ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2255ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2256echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2256echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
@@ -2290,6 +2290,49 @@ else
2290fi 2290fi
2291done 2291done
2292 2292
2293# Emulation library used on NetBSD.
2294echo $ac_n "checking for _oss_ioctl in -lossaudio""... $ac_c" 1>&6
2295echo "configure:2296: checking for _oss_ioctl in -lossaudio" >&5
2296ac_lib_var=`echo ossaudio'_'_oss_ioctl | sed 'y%./+-%__p_%'`
2297if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2298 echo $ac_n "(cached) $ac_c" 1>&6
2299else
2300 ac_save_LIBS="$LIBS"
2301LIBS="-lossaudio $LIBS"
2302cat > conftest.$ac_ext <<EOF
2303#line 2304 "configure"
2304#include "confdefs.h"
2305/* Override any gcc2 internal prototype to avoid an error. */
2306/* We use char because int might match the return type of a gcc2
2307 builtin and then its argument prototype would still apply. */
2308char _oss_ioctl();
2309
2310int main() {
2311_oss_ioctl()
2312; return 0; }
2313EOF
2314if { (eval echo configure:2315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2315 rm -rf conftest*
2316 eval "ac_cv_lib_$ac_lib_var=yes"
2317else
2318 echo "configure: failed program was:" >&5
2319 cat conftest.$ac_ext >&5
2320 rm -rf conftest*
2321 eval "ac_cv_lib_$ac_lib_var=no"
2322fi
2323rm -f conftest*
2324LIBS="$ac_save_LIBS"
2325
2326fi
2327if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2328 echo "$ac_t""yes" 1>&6
2329 LIBSOUND=-lossaudio
2330else
2331 echo "$ac_t""no" 1>&6
2332LIBSOUND=
2333fi
2334
2335
2293 2336
2294for ac_hdr in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ 2337for ac_hdr in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \
2295 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \ 2338 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \
@@ -2297,17 +2340,17 @@ for ac_hdr in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \
2297do 2340do
2298ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2341ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2299echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2342echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2300echo "configure:2301: checking for $ac_hdr" >&5 2343echo "configure:2344: checking for $ac_hdr" >&5
2301if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2344if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2302 echo $ac_n "(cached) $ac_c" 1>&6 2345 echo $ac_n "(cached) $ac_c" 1>&6
2303else 2346else
2304 cat > conftest.$ac_ext <<EOF 2347 cat > conftest.$ac_ext <<EOF
2305#line 2306 "configure" 2348#line 2349 "configure"
2306#include "confdefs.h" 2349#include "confdefs.h"
2307#include <$ac_hdr> 2350#include <$ac_hdr>
2308EOF 2351EOF
2309ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2352ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2310{ (eval echo configure:2311: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2353{ (eval echo configure:2354: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2311ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2354ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2312if test -z "$ac_err"; then 2355if test -z "$ac_err"; then
2313 rm -rf conftest* 2356 rm -rf conftest*
@@ -2334,12 +2377,12 @@ fi
2334done 2377done
2335 2378
2336echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 2379echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
2337echo "configure:2338: checking for ANSI C header files" >&5 2380echo "configure:2381: checking for ANSI C header files" >&5
2338if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 2381if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
2339 echo $ac_n "(cached) $ac_c" 1>&6 2382 echo $ac_n "(cached) $ac_c" 1>&6
2340else 2383else
2341 cat > conftest.$ac_ext <<EOF 2384 cat > conftest.$ac_ext <<EOF
2342#line 2343 "configure" 2385#line 2386 "configure"
2343#include "confdefs.h" 2386#include "confdefs.h"
2344#include <stdlib.h> 2387#include <stdlib.h>
2345#include <stdarg.h> 2388#include <stdarg.h>
@@ -2347,7 +2390,7 @@ else
2347#include <float.h> 2390#include <float.h>
2348EOF 2391EOF
2349ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2392ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2350{ (eval echo configure:2351: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2393{ (eval echo configure:2394: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2351ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2394ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2352if test -z "$ac_err"; then 2395if test -z "$ac_err"; then
2353 rm -rf conftest* 2396 rm -rf conftest*
@@ -2364,7 +2407,7 @@ rm -f conftest*
2364if test $ac_cv_header_stdc = yes; then 2407if test $ac_cv_header_stdc = yes; then
2365 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 2408 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2366cat > conftest.$ac_ext <<EOF 2409cat > conftest.$ac_ext <<EOF
2367#line 2368 "configure" 2410#line 2411 "configure"
2368#include "confdefs.h" 2411#include "confdefs.h"
2369#include <string.h> 2412#include <string.h>
2370EOF 2413EOF
@@ -2382,7 +2425,7 @@ fi
2382if test $ac_cv_header_stdc = yes; then 2425if test $ac_cv_header_stdc = yes; then
2383 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 2426 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2384cat > conftest.$ac_ext <<EOF 2427cat > conftest.$ac_ext <<EOF
2385#line 2386 "configure" 2428#line 2429 "configure"
2386#include "confdefs.h" 2429#include "confdefs.h"
2387#include <stdlib.h> 2430#include <stdlib.h>
2388EOF 2431EOF
@@ -2403,7 +2446,7 @@ if test "$cross_compiling" = yes; then
2403 : 2446 :
2404else 2447else
2405 cat > conftest.$ac_ext <<EOF 2448 cat > conftest.$ac_ext <<EOF
2406#line 2407 "configure" 2449#line 2450 "configure"
2407#include "confdefs.h" 2450#include "confdefs.h"
2408#include <ctype.h> 2451#include <ctype.h>
2409#define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 2452#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
@@ -2414,7 +2457,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
2414exit (0); } 2457exit (0); }
2415 2458
2416EOF 2459EOF
2417if { (eval echo configure:2418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2460if { (eval echo configure:2461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2418then 2461then
2419 : 2462 :
2420else 2463else
@@ -2438,12 +2481,12 @@ EOF
2438fi 2481fi
2439 2482
2440echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 2483echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
2441echo "configure:2442: checking whether time.h and sys/time.h may both be included" >&5 2484echo "configure:2485: checking whether time.h and sys/time.h may both be included" >&5
2442if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then 2485if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
2443 echo $ac_n "(cached) $ac_c" 1>&6 2486 echo $ac_n "(cached) $ac_c" 1>&6
2444else 2487else
2445 cat > conftest.$ac_ext <<EOF 2488 cat > conftest.$ac_ext <<EOF
2446#line 2447 "configure" 2489#line 2490 "configure"
2447#include "confdefs.h" 2490#include "confdefs.h"
2448#include <sys/types.h> 2491#include <sys/types.h>
2449#include <sys/time.h> 2492#include <sys/time.h>
@@ -2452,7 +2495,7 @@ int main() {
2452struct tm *tp; 2495struct tm *tp;
2453; return 0; } 2496; return 0; }
2454EOF 2497EOF
2455if { (eval echo configure:2456: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2498if { (eval echo configure:2499: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2456 rm -rf conftest* 2499 rm -rf conftest*
2457 ac_cv_header_time=yes 2500 ac_cv_header_time=yes
2458else 2501else
@@ -2473,12 +2516,12 @@ EOF
2473fi 2516fi
2474 2517
2475echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 2518echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6
2476echo "configure:2477: checking for sys_siglist declaration in signal.h or unistd.h" >&5 2519echo "configure:2520: checking for sys_siglist declaration in signal.h or unistd.h" >&5
2477if eval "test \"`echo '$''{'ac_cv_decl_sys_siglist'+set}'`\" = set"; then 2520if eval "test \"`echo '$''{'ac_cv_decl_sys_siglist'+set}'`\" = set"; then
2478 echo $ac_n "(cached) $ac_c" 1>&6 2521 echo $ac_n "(cached) $ac_c" 1>&6
2479else 2522else
2480 cat > conftest.$ac_ext <<EOF 2523 cat > conftest.$ac_ext <<EOF
2481#line 2482 "configure" 2524#line 2525 "configure"
2482#include "confdefs.h" 2525#include "confdefs.h"
2483#include <sys/types.h> 2526#include <sys/types.h>
2484#include <signal.h> 2527#include <signal.h>
@@ -2490,7 +2533,7 @@ int main() {
2490char *msg = *(sys_siglist + 1); 2533char *msg = *(sys_siglist + 1);
2491; return 0; } 2534; return 0; }
2492EOF 2535EOF
2493if { (eval echo configure:2494: \"$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
2494 rm -rf conftest* 2537 rm -rf conftest*
2495 ac_cv_decl_sys_siglist=yes 2538 ac_cv_decl_sys_siglist=yes
2496else 2539else
@@ -2511,12 +2554,12 @@ EOF
2511fi 2554fi
2512 2555
2513echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 2556echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
2514echo "configure:2515: checking for sys/wait.h that is POSIX.1 compatible" >&5 2557echo "configure:2558: checking for sys/wait.h that is POSIX.1 compatible" >&5
2515if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then 2558if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
2516 echo $ac_n "(cached) $ac_c" 1>&6 2559 echo $ac_n "(cached) $ac_c" 1>&6
2517else 2560else
2518 cat > conftest.$ac_ext <<EOF 2561 cat > conftest.$ac_ext <<EOF
2519#line 2520 "configure" 2562#line 2563 "configure"
2520#include "confdefs.h" 2563#include "confdefs.h"
2521#include <sys/types.h> 2564#include <sys/types.h>
2522#include <sys/wait.h> 2565#include <sys/wait.h>
@@ -2532,7 +2575,7 @@ wait (&s);
2532s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; 2575s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
2533; return 0; } 2576; return 0; }
2534EOF 2577EOF
2535if { (eval echo configure:2536: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2578if { (eval echo configure:2579: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2536 rm -rf conftest* 2579 rm -rf conftest*
2537 ac_cv_header_sys_wait_h=yes 2580 ac_cv_header_sys_wait_h=yes
2538else 2581else
@@ -2554,12 +2597,12 @@ fi
2554 2597
2555 2598
2556echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 2599echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6
2557echo "configure:2558: checking for struct utimbuf" >&5 2600echo "configure:2601: checking for struct utimbuf" >&5
2558if eval "test \"`echo '$''{'emacs_cv_struct_utimbuf'+set}'`\" = set"; then 2601if eval "test \"`echo '$''{'emacs_cv_struct_utimbuf'+set}'`\" = set"; then
2559 echo $ac_n "(cached) $ac_c" 1>&6 2602 echo $ac_n "(cached) $ac_c" 1>&6
2560else 2603else
2561 cat > conftest.$ac_ext <<EOF 2604 cat > conftest.$ac_ext <<EOF
2562#line 2563 "configure" 2605#line 2606 "configure"
2563#include "confdefs.h" 2606#include "confdefs.h"
2564#ifdef TIME_WITH_SYS_TIME 2607#ifdef TIME_WITH_SYS_TIME
2565#include <sys/time.h> 2608#include <sys/time.h>
@@ -2578,7 +2621,7 @@ int main() {
2578static struct utimbuf x; x.actime = x.modtime; 2621static struct utimbuf x; x.actime = x.modtime;
2579; return 0; } 2622; return 0; }
2580EOF 2623EOF
2581if { (eval echo configure:2582: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2624if { (eval echo configure:2625: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2582 rm -rf conftest* 2625 rm -rf conftest*
2583 emacs_cv_struct_utimbuf=yes 2626 emacs_cv_struct_utimbuf=yes
2584else 2627else
@@ -2599,12 +2642,12 @@ EOF
2599fi 2642fi
2600 2643
2601echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 2644echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
2602echo "configure:2603: checking return type of signal handlers" >&5 2645echo "configure:2646: checking return type of signal handlers" >&5
2603if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then 2646if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
2604 echo $ac_n "(cached) $ac_c" 1>&6 2647 echo $ac_n "(cached) $ac_c" 1>&6
2605else 2648else
2606 cat > conftest.$ac_ext <<EOF 2649 cat > conftest.$ac_ext <<EOF
2607#line 2608 "configure" 2650#line 2651 "configure"
2608#include "confdefs.h" 2651#include "confdefs.h"
2609#include <sys/types.h> 2652#include <sys/types.h>
2610#include <signal.h> 2653#include <signal.h>
@@ -2621,7 +2664,7 @@ int main() {
2621int i; 2664int i;
2622; return 0; } 2665; return 0; }
2623EOF 2666EOF
2624if { (eval echo configure:2625: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2667if { (eval echo configure:2668: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2625 rm -rf conftest* 2668 rm -rf conftest*
2626 ac_cv_type_signal=void 2669 ac_cv_type_signal=void
2627else 2670else
@@ -2641,19 +2684,19 @@ EOF
2641 2684
2642 2685
2643echo $ac_n "checking for speed_t""... $ac_c" 1>&6 2686echo $ac_n "checking for speed_t""... $ac_c" 1>&6
2644echo "configure:2645: checking for speed_t" >&5 2687echo "configure:2688: checking for speed_t" >&5
2645if eval "test \"`echo '$''{'emacs_cv_speed_t'+set}'`\" = set"; then 2688if eval "test \"`echo '$''{'emacs_cv_speed_t'+set}'`\" = set"; then
2646 echo $ac_n "(cached) $ac_c" 1>&6 2689 echo $ac_n "(cached) $ac_c" 1>&6
2647else 2690else
2648 cat > conftest.$ac_ext <<EOF 2691 cat > conftest.$ac_ext <<EOF
2649#line 2650 "configure" 2692#line 2693 "configure"
2650#include "confdefs.h" 2693#include "confdefs.h"
2651#include <termios.h> 2694#include <termios.h>
2652int main() { 2695int main() {
2653speed_t x = 1; 2696speed_t x = 1;
2654; return 0; } 2697; return 0; }
2655EOF 2698EOF
2656if { (eval echo configure:2657: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2699if { (eval echo configure:2700: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2657 rm -rf conftest* 2700 rm -rf conftest*
2658 emacs_cv_speed_t=yes 2701 emacs_cv_speed_t=yes
2659else 2702else
@@ -2672,12 +2715,12 @@ EOF
2672fi 2715fi
2673 2716
2674echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 2717echo $ac_n "checking for struct timeval""... $ac_c" 1>&6
2675echo "configure:2676: checking for struct timeval" >&5 2718echo "configure:2719: checking for struct timeval" >&5
2676if eval "test \"`echo '$''{'emacs_cv_struct_timeval'+set}'`\" = set"; then 2719if eval "test \"`echo '$''{'emacs_cv_struct_timeval'+set}'`\" = set"; then
2677 echo $ac_n "(cached) $ac_c" 1>&6 2720 echo $ac_n "(cached) $ac_c" 1>&6
2678else 2721else
2679 cat > conftest.$ac_ext <<EOF 2722 cat > conftest.$ac_ext <<EOF
2680#line 2681 "configure" 2723#line 2724 "configure"
2681#include "confdefs.h" 2724#include "confdefs.h"
2682#ifdef TIME_WITH_SYS_TIME 2725#ifdef TIME_WITH_SYS_TIME
2683#include <sys/time.h> 2726#include <sys/time.h>
@@ -2693,7 +2736,7 @@ int main() {
2693static struct timeval x; x.tv_sec = x.tv_usec; 2736static struct timeval x; x.tv_sec = x.tv_usec;
2694; return 0; } 2737; return 0; }
2695EOF 2738EOF
2696if { (eval echo configure:2697: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2739if { (eval echo configure:2740: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2697 rm -rf conftest* 2740 rm -rf conftest*
2698 emacs_cv_struct_timeval=yes 2741 emacs_cv_struct_timeval=yes
2699else 2742else
@@ -2715,19 +2758,19 @@ EOF
2715fi 2758fi
2716 2759
2717echo $ac_n "checking for struct exception""... $ac_c" 1>&6 2760echo $ac_n "checking for struct exception""... $ac_c" 1>&6
2718echo "configure:2719: checking for struct exception" >&5 2761echo "configure:2762: checking for struct exception" >&5
2719if eval "test \"`echo '$''{'emacs_cv_struct_exception'+set}'`\" = set"; then 2762if eval "test \"`echo '$''{'emacs_cv_struct_exception'+set}'`\" = set"; then
2720 echo $ac_n "(cached) $ac_c" 1>&6 2763 echo $ac_n "(cached) $ac_c" 1>&6
2721else 2764else
2722 cat > conftest.$ac_ext <<EOF 2765 cat > conftest.$ac_ext <<EOF
2723#line 2724 "configure" 2766#line 2767 "configure"
2724#include "confdefs.h" 2767#include "confdefs.h"
2725#include <math.h> 2768#include <math.h>
2726int main() { 2769int main() {
2727static struct exception x; x.arg1 = x.arg2 = x.retval; x.name = ""; x.type = 1; 2770static struct exception x; x.arg1 = x.arg2 = x.retval; x.name = ""; x.type = 1;
2728; return 0; } 2771; return 0; }
2729EOF 2772EOF
2730if { (eval echo configure:2731: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2773if { (eval echo configure:2774: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2731 rm -rf conftest* 2774 rm -rf conftest*
2732 emacs_cv_struct_exception=yes 2775 emacs_cv_struct_exception=yes
2733else 2776else
@@ -2749,12 +2792,12 @@ EOF
2749fi 2792fi
2750 2793
2751echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 2794echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
2752echo "configure:2753: checking whether struct tm is in sys/time.h or time.h" >&5 2795echo "configure:2796: checking whether struct tm is in sys/time.h or time.h" >&5
2753if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then 2796if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
2754 echo $ac_n "(cached) $ac_c" 1>&6 2797 echo $ac_n "(cached) $ac_c" 1>&6
2755else 2798else
2756 cat > conftest.$ac_ext <<EOF 2799 cat > conftest.$ac_ext <<EOF
2757#line 2758 "configure" 2800#line 2801 "configure"
2758#include "confdefs.h" 2801#include "confdefs.h"
2759#include <sys/types.h> 2802#include <sys/types.h>
2760#include <time.h> 2803#include <time.h>
@@ -2762,7 +2805,7 @@ int main() {
2762struct tm *tp; tp->tm_sec; 2805struct tm *tp; tp->tm_sec;
2763; return 0; } 2806; return 0; }
2764EOF 2807EOF
2765if { (eval echo configure:2766: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2808if { (eval echo configure:2809: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2766 rm -rf conftest* 2809 rm -rf conftest*
2767 ac_cv_struct_tm=time.h 2810 ac_cv_struct_tm=time.h
2768else 2811else
@@ -2783,12 +2826,12 @@ EOF
2783fi 2826fi
2784 2827
2785echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 2828echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6
2786echo "configure:2787: checking for tm_zone in struct tm" >&5 2829echo "configure:2830: checking for tm_zone in struct tm" >&5
2787if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then 2830if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then
2788 echo $ac_n "(cached) $ac_c" 1>&6 2831 echo $ac_n "(cached) $ac_c" 1>&6
2789else 2832else
2790 cat > conftest.$ac_ext <<EOF 2833 cat > conftest.$ac_ext <<EOF
2791#line 2792 "configure" 2834#line 2835 "configure"
2792#include "confdefs.h" 2835#include "confdefs.h"
2793#include <sys/types.h> 2836#include <sys/types.h>
2794#include <$ac_cv_struct_tm> 2837#include <$ac_cv_struct_tm>
@@ -2796,7 +2839,7 @@ int main() {
2796struct tm tm; tm.tm_zone; 2839struct tm tm; tm.tm_zone;
2797; return 0; } 2840; return 0; }
2798EOF 2841EOF
2799if { (eval echo configure:2800: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2842if { (eval echo configure:2843: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2800 rm -rf conftest* 2843 rm -rf conftest*
2801 ac_cv_struct_tm_zone=yes 2844 ac_cv_struct_tm_zone=yes
2802else 2845else
@@ -2816,12 +2859,12 @@ EOF
2816 2859
2817else 2860else
2818 echo $ac_n "checking for tzname""... $ac_c" 1>&6 2861 echo $ac_n "checking for tzname""... $ac_c" 1>&6
2819echo "configure:2820: checking for tzname" >&5 2862echo "configure:2863: checking for tzname" >&5
2820if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then 2863if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then
2821 echo $ac_n "(cached) $ac_c" 1>&6 2864 echo $ac_n "(cached) $ac_c" 1>&6
2822else 2865else
2823 cat > conftest.$ac_ext <<EOF 2866 cat > conftest.$ac_ext <<EOF
2824#line 2825 "configure" 2867#line 2868 "configure"
2825#include "confdefs.h" 2868#include "confdefs.h"
2826#include <time.h> 2869#include <time.h>
2827#ifndef tzname /* For SGI. */ 2870#ifndef tzname /* For SGI. */
@@ -2831,7 +2874,7 @@ int main() {
2831atoi(*tzname); 2874atoi(*tzname);
2832; return 0; } 2875; return 0; }
2833EOF 2876EOF
2834if { (eval echo configure:2835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2877if { (eval echo configure:2878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2835 rm -rf conftest* 2878 rm -rf conftest*
2836 ac_cv_var_tzname=yes 2879 ac_cv_var_tzname=yes
2837else 2880else
@@ -2853,19 +2896,19 @@ EOF
2853fi 2896fi
2854 2897
2855echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6 2898echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
2856echo "configure:2857: checking for tm_gmtoff in struct tm" >&5 2899echo "configure:2900: checking for tm_gmtoff in struct tm" >&5
2857if eval "test \"`echo '$''{'emacs_cv_tm_gmtoff'+set}'`\" = set"; then 2900if eval "test \"`echo '$''{'emacs_cv_tm_gmtoff'+set}'`\" = set"; then
2858 echo $ac_n "(cached) $ac_c" 1>&6 2901 echo $ac_n "(cached) $ac_c" 1>&6
2859else 2902else
2860 cat > conftest.$ac_ext <<EOF 2903 cat > conftest.$ac_ext <<EOF
2861#line 2862 "configure" 2904#line 2905 "configure"
2862#include "confdefs.h" 2905#include "confdefs.h"
2863#include <time.h> 2906#include <time.h>
2864int main() { 2907int main() {
2865struct tm t; t.tm_gmtoff = 0 2908struct tm t; t.tm_gmtoff = 0
2866; return 0; } 2909; return 0; }
2867EOF 2910EOF
2868if { (eval echo configure:2869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2911if { (eval echo configure:2912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2869 rm -rf conftest* 2912 rm -rf conftest*
2870 emacs_cv_tm_gmtoff=yes 2913 emacs_cv_tm_gmtoff=yes
2871else 2914else
@@ -2887,7 +2930,7 @@ fi
2887 2930
2888 2931
2889echo $ac_n "checking for ${CC-cc} option to accept ANSI C""... $ac_c" 1>&6 2932echo $ac_n "checking for ${CC-cc} option to accept ANSI C""... $ac_c" 1>&6
2890echo "configure:2891: checking for ${CC-cc} option to accept ANSI C" >&5 2933echo "configure:2934: checking for ${CC-cc} option to accept ANSI C" >&5
2891if eval "test \"`echo '$''{'ac_cv_prog_cc_stdc'+set}'`\" = set"; then 2934if eval "test \"`echo '$''{'ac_cv_prog_cc_stdc'+set}'`\" = set"; then
2892 echo $ac_n "(cached) $ac_c" 1>&6 2935 echo $ac_n "(cached) $ac_c" 1>&6
2893else 2936else
@@ -2904,7 +2947,7 @@ for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIO
2904do 2947do
2905 CC="$ac_save_CC $ac_arg" 2948 CC="$ac_save_CC $ac_arg"
2906 cat > conftest.$ac_ext <<EOF 2949 cat > conftest.$ac_ext <<EOF
2907#line 2908 "configure" 2950#line 2951 "configure"
2908#include "confdefs.h" 2951#include "confdefs.h"
2909#include <stdarg.h> 2952#include <stdarg.h>
2910#include <stdio.h> 2953#include <stdio.h>
@@ -2938,7 +2981,7 @@ int main() {
2938return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 2981return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2939; return 0; } 2982; return 0; }
2940EOF 2983EOF
2941if { (eval echo configure:2942: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2984if { (eval echo configure:2985: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2942 rm -rf conftest* 2985 rm -rf conftest*
2943 ac_cv_prog_cc_stdc="$ac_arg"; break 2986 ac_cv_prog_cc_stdc="$ac_arg"; break
2944else 2987else
@@ -2960,7 +3003,7 @@ case "x$ac_cv_prog_cc_stdc" in
2960esac 3003esac
2961 3004
2962echo $ac_n "checking for function prototypes""... $ac_c" 1>&6 3005echo $ac_n "checking for function prototypes""... $ac_c" 1>&6
2963echo "configure:2964: checking for function prototypes" >&5 3006echo "configure:3007: checking for function prototypes" >&5
2964if test "$ac_cv_prog_cc_stdc" != no; then 3007if test "$ac_cv_prog_cc_stdc" != no; then
2965 echo "$ac_t""yes" 1>&6 3008 echo "$ac_t""yes" 1>&6
2966 cat >> confdefs.h <<\EOF 3009 cat >> confdefs.h <<\EOF
@@ -2972,12 +3015,12 @@ else
2972fi 3015fi
2973 3016
2974echo $ac_n "checking for working volatile""... $ac_c" 1>&6 3017echo $ac_n "checking for working volatile""... $ac_c" 1>&6
2975echo "configure:2976: checking for working volatile" >&5 3018echo "configure:3019: checking for working volatile" >&5
2976if eval "test \"`echo '$''{'ac_cv_c_volatile'+set}'`\" = set"; then 3019if eval "test \"`echo '$''{'ac_cv_c_volatile'+set}'`\" = set"; then
2977 echo $ac_n "(cached) $ac_c" 1>&6 3020 echo $ac_n "(cached) $ac_c" 1>&6
2978else 3021else
2979 cat > conftest.$ac_ext <<EOF 3022 cat > conftest.$ac_ext <<EOF
2980#line 2981 "configure" 3023#line 3024 "configure"
2981#include "confdefs.h" 3024#include "confdefs.h"
2982 3025
2983int main() { 3026int main() {
@@ -2986,7 +3029,7 @@ volatile int x;
2986int * volatile y; 3029int * volatile y;
2987; return 0; } 3030; return 0; }
2988EOF 3031EOF
2989if { (eval echo configure:2990: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3032if { (eval echo configure:3033: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2990 rm -rf conftest* 3033 rm -rf conftest*
2991 ac_cv_c_volatile=yes 3034 ac_cv_c_volatile=yes
2992else 3035else
@@ -3007,18 +3050,18 @@ EOF
3007fi 3050fi
3008 3051
3009echo $ac_n "checking for working const""... $ac_c" 1>&6 3052echo $ac_n "checking for working const""... $ac_c" 1>&6
3010echo "configure:3011: checking for working const" >&5 3053echo "configure:3054: checking for working const" >&5
3011if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 3054if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
3012 echo $ac_n "(cached) $ac_c" 1>&6 3055 echo $ac_n "(cached) $ac_c" 1>&6
3013else 3056else
3014 cat > conftest.$ac_ext <<EOF 3057 cat > conftest.$ac_ext <<EOF
3015#line 3016 "configure" 3058#line 3059 "configure"
3016#include "confdefs.h" 3059#include "confdefs.h"
3017 3060
3018int main() { 3061int main() {
3019 3062
3020/* Ultrix mips cc rejects this. */ 3063/* Ultrix mips cc rejects this. */
3021typedef int charset[2]; const charset x = {0,0}; 3064typedef int charset[2]; const charset x;
3022/* SunOS 4.1.1 cc rejects this. */ 3065/* SunOS 4.1.1 cc rejects this. */
3023char const *const *ccp; 3066char const *const *ccp;
3024char **p; 3067char **p;
@@ -3061,7 +3104,7 @@ ccp = (char const *const *) p;
3061 3104
3062; return 0; } 3105; return 0; }
3063EOF 3106EOF
3064if { (eval echo configure:3065: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3107if { (eval echo configure:3108: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3065 rm -rf conftest* 3108 rm -rf conftest*
3066 ac_cv_c_const=yes 3109 ac_cv_c_const=yes
3067else 3110else
@@ -3082,19 +3125,19 @@ EOF
3082fi 3125fi
3083 3126
3084echo $ac_n "checking for void * support""... $ac_c" 1>&6 3127echo $ac_n "checking for void * support""... $ac_c" 1>&6
3085echo "configure:3086: checking for void * support" >&5 3128echo "configure:3129: checking for void * support" >&5
3086if eval "test \"`echo '$''{'emacs_cv_void_star'+set}'`\" = set"; then 3129if eval "test \"`echo '$''{'emacs_cv_void_star'+set}'`\" = set"; then
3087 echo $ac_n "(cached) $ac_c" 1>&6 3130 echo $ac_n "(cached) $ac_c" 1>&6
3088else 3131else
3089 cat > conftest.$ac_ext <<EOF 3132 cat > conftest.$ac_ext <<EOF
3090#line 3091 "configure" 3133#line 3134 "configure"
3091#include "confdefs.h" 3134#include "confdefs.h"
3092 3135
3093int main() { 3136int main() {
3094void * foo; 3137void * foo;
3095; return 0; } 3138; return 0; }
3096EOF 3139EOF
3097if { (eval echo configure:3098: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3140if { (eval echo configure:3141: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3098 rm -rf conftest* 3141 rm -rf conftest*
3099 emacs_cv_void_star=yes 3142 emacs_cv_void_star=yes
3100else 3143else
@@ -3120,7 +3163,7 @@ EOF
3120fi 3163fi
3121 3164
3122echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 3165echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
3123echo "configure:3124: checking whether ${MAKE-make} sets \${MAKE}" >&5 3166echo "configure:3167: checking whether ${MAKE-make} sets \${MAKE}" >&5
3124set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 3167set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
3125if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then 3168if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
3126 echo $ac_n "(cached) $ac_c" 1>&6 3169 echo $ac_n "(cached) $ac_c" 1>&6
@@ -3148,7 +3191,7 @@ fi
3148 3191
3149 3192
3150echo $ac_n "checking for long file names""... $ac_c" 1>&6 3193echo $ac_n "checking for long file names""... $ac_c" 1>&6
3151echo "configure:3152: checking for long file names" >&5 3194echo "configure:3195: checking for long file names" >&5
3152if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then 3195if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then
3153 echo $ac_n "(cached) $ac_c" 1>&6 3196 echo $ac_n "(cached) $ac_c" 1>&6
3154else 3197else
@@ -3199,7 +3242,7 @@ fi
3199# Uses ac_ vars as temps to allow command line to override cache and checks. 3242# Uses ac_ vars as temps to allow command line to override cache and checks.
3200# --without-x overrides everything else, but does not touch the cache. 3243# --without-x overrides everything else, but does not touch the cache.
3201echo $ac_n "checking for X""... $ac_c" 1>&6 3244echo $ac_n "checking for X""... $ac_c" 1>&6
3202echo "configure:3203: checking for X" >&5 3245echo "configure:3246: checking for X" >&5
3203 3246
3204# Check whether --with-x or --without-x was given. 3247# Check whether --with-x or --without-x was given.
3205if test "${with_x+set}" = set; then 3248if test "${with_x+set}" = set; then
@@ -3261,12 +3304,12 @@ if test "$ac_x_includes" = NO; then
3261 3304
3262 # First, try using that file with no special directory specified. 3305 # First, try using that file with no special directory specified.
3263cat > conftest.$ac_ext <<EOF 3306cat > conftest.$ac_ext <<EOF
3264#line 3265 "configure" 3307#line 3308 "configure"
3265#include "confdefs.h" 3308#include "confdefs.h"
3266#include <$x_direct_test_include> 3309#include <$x_direct_test_include>
3267EOF 3310EOF
3268ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3311ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3269{ (eval echo configure:3270: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3312{ (eval echo configure:3313: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3270ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3313ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3271if test -z "$ac_err"; then 3314if test -z "$ac_err"; then
3272 rm -rf conftest* 3315 rm -rf conftest*
@@ -3335,14 +3378,14 @@ if test "$ac_x_libraries" = NO; then
3335 ac_save_LIBS="$LIBS" 3378 ac_save_LIBS="$LIBS"
3336 LIBS="-l$x_direct_test_library $LIBS" 3379 LIBS="-l$x_direct_test_library $LIBS"
3337cat > conftest.$ac_ext <<EOF 3380cat > conftest.$ac_ext <<EOF
3338#line 3339 "configure" 3381#line 3382 "configure"
3339#include "confdefs.h" 3382#include "confdefs.h"
3340 3383
3341int main() { 3384int main() {
3342${x_direct_test_function}() 3385${x_direct_test_function}()
3343; return 0; } 3386; return 0; }
3344EOF 3387EOF
3345if { (eval echo configure:3346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3388if { (eval echo configure:3389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3346 rm -rf conftest* 3389 rm -rf conftest*
3347 LIBS="$ac_save_LIBS" 3390 LIBS="$ac_save_LIBS"
3348# We can link X programs with no special library path. 3391# We can link X programs with no special library path.
@@ -3517,7 +3560,7 @@ fi
3517echo "checking the machine- and system-dependent files to find out 3560echo "checking the machine- and system-dependent files to find out
3518 - which libraries the lib-src programs will want, and 3561 - which libraries the lib-src programs will want, and
3519 - whether the GNU malloc routines are usable" 1>&6 3562 - whether the GNU malloc routines are usable" 1>&6
3520echo "configure:3521: checking the machine- and system-dependent files to find out 3563echo "configure:3564: checking the machine- and system-dependent files to find out
3521 - which libraries the lib-src programs will want, and 3564 - which libraries the lib-src programs will want, and
3522 - whether the GNU malloc routines are usable" >&5 3565 - whether the GNU malloc routines are usable" >&5
3523 3566
@@ -3651,12 +3694,12 @@ UNEXEC_SRC="`echo ${unexec} | sed 's/\.o/.c/'`"
3651GNU_MALLOC=yes 3694GNU_MALLOC=yes
3652doug_lea_malloc=yes 3695doug_lea_malloc=yes
3653echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 3696echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6
3654echo "configure:3655: checking for malloc_get_state" >&5 3697echo "configure:3698: checking for malloc_get_state" >&5
3655if eval "test \"`echo '$''{'ac_cv_func_malloc_get_state'+set}'`\" = set"; then 3698if eval "test \"`echo '$''{'ac_cv_func_malloc_get_state'+set}'`\" = set"; then
3656 echo $ac_n "(cached) $ac_c" 1>&6 3699 echo $ac_n "(cached) $ac_c" 1>&6
3657else 3700else
3658 cat > conftest.$ac_ext <<EOF 3701 cat > conftest.$ac_ext <<EOF
3659#line 3660 "configure" 3702#line 3703 "configure"
3660#include "confdefs.h" 3703#include "confdefs.h"
3661/* System header to define __stub macros and hopefully few prototypes, 3704/* System header to define __stub macros and hopefully few prototypes,
3662 which can conflict with char malloc_get_state(); below. */ 3705 which can conflict with char malloc_get_state(); below. */
@@ -3679,7 +3722,7 @@ malloc_get_state();
3679 3722
3680; return 0; } 3723; return 0; }
3681EOF 3724EOF
3682if { (eval echo configure:3683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3725if { (eval echo configure:3726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3683 rm -rf conftest* 3726 rm -rf conftest*
3684 eval "ac_cv_func_malloc_get_state=yes" 3727 eval "ac_cv_func_malloc_get_state=yes"
3685else 3728else
@@ -3700,12 +3743,12 @@ doug_lea_malloc=no
3700fi 3743fi
3701 3744
3702echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 3745echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6
3703echo "configure:3704: checking for malloc_set_state" >&5 3746echo "configure:3747: checking for malloc_set_state" >&5
3704if eval "test \"`echo '$''{'ac_cv_func_malloc_set_state'+set}'`\" = set"; then 3747if eval "test \"`echo '$''{'ac_cv_func_malloc_set_state'+set}'`\" = set"; then
3705 echo $ac_n "(cached) $ac_c" 1>&6 3748 echo $ac_n "(cached) $ac_c" 1>&6
3706else 3749else
3707 cat > conftest.$ac_ext <<EOF 3750 cat > conftest.$ac_ext <<EOF
3708#line 3709 "configure" 3751#line 3752 "configure"
3709#include "confdefs.h" 3752#include "confdefs.h"
3710/* System header to define __stub macros and hopefully few prototypes, 3753/* System header to define __stub macros and hopefully few prototypes,
3711 which can conflict with char malloc_set_state(); below. */ 3754 which can conflict with char malloc_set_state(); below. */
@@ -3728,7 +3771,7 @@ malloc_set_state();
3728 3771
3729; return 0; } 3772; return 0; }
3730EOF 3773EOF
3731if { (eval echo configure:3732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3774if { (eval echo configure:3775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3732 rm -rf conftest* 3775 rm -rf conftest*
3733 eval "ac_cv_func_malloc_set_state=yes" 3776 eval "ac_cv_func_malloc_set_state=yes"
3734else 3777else
@@ -3749,19 +3792,19 @@ doug_lea_malloc=no
3749fi 3792fi
3750 3793
3751echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 3794echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6
3752echo "configure:3753: checking whether __after_morecore_hook exists" >&5 3795echo "configure:3796: checking whether __after_morecore_hook exists" >&5
3753if eval "test \"`echo '$''{'emacs_cv_var___after_morecore_hook'+set}'`\" = set"; then 3796if eval "test \"`echo '$''{'emacs_cv_var___after_morecore_hook'+set}'`\" = set"; then
3754 echo $ac_n "(cached) $ac_c" 1>&6 3797 echo $ac_n "(cached) $ac_c" 1>&6
3755else 3798else
3756 cat > conftest.$ac_ext <<EOF 3799 cat > conftest.$ac_ext <<EOF
3757#line 3758 "configure" 3800#line 3801 "configure"
3758#include "confdefs.h" 3801#include "confdefs.h"
3759extern void (* __after_morecore_hook)(); 3802extern void (* __after_morecore_hook)();
3760int main() { 3803int main() {
3761__after_morecore_hook = 0 3804__after_morecore_hook = 0
3762; return 0; } 3805; return 0; }
3763EOF 3806EOF
3764if { (eval echo configure:3765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3807if { (eval echo configure:3808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3765 rm -rf conftest* 3808 rm -rf conftest*
3766 emacs_cv_var___after_morecore_hook=yes 3809 emacs_cv_var___after_morecore_hook=yes
3767else 3810else
@@ -3808,7 +3851,7 @@ fi
3808LIBS="$libsrc_libs $LIBS" 3851LIBS="$libsrc_libs $LIBS"
3809 3852
3810echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 3853echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
3811echo "configure:3812: checking for dnet_ntoa in -ldnet" >&5 3854echo "configure:3855: checking for dnet_ntoa in -ldnet" >&5
3812ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` 3855ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
3813if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 3856if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3814 echo $ac_n "(cached) $ac_c" 1>&6 3857 echo $ac_n "(cached) $ac_c" 1>&6
@@ -3816,7 +3859,7 @@ else
3816 ac_save_LIBS="$LIBS" 3859 ac_save_LIBS="$LIBS"
3817LIBS="-ldnet $LIBS" 3860LIBS="-ldnet $LIBS"
3818cat > conftest.$ac_ext <<EOF 3861cat > conftest.$ac_ext <<EOF
3819#line 3820 "configure" 3862#line 3863 "configure"
3820#include "confdefs.h" 3863#include "confdefs.h"
3821/* Override any gcc2 internal prototype to avoid an error. */ 3864/* Override any gcc2 internal prototype to avoid an error. */
3822/* We use char because int might match the return type of a gcc2 3865/* We use char because int might match the return type of a gcc2
@@ -3827,7 +3870,7 @@ int main() {
3827dnet_ntoa() 3870dnet_ntoa()
3828; return 0; } 3871; return 0; }
3829EOF 3872EOF
3830if { (eval echo configure:3831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3873if { (eval echo configure:3874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3831 rm -rf conftest* 3874 rm -rf conftest*
3832 eval "ac_cv_lib_$ac_lib_var=yes" 3875 eval "ac_cv_lib_$ac_lib_var=yes"
3833else 3876else
@@ -3856,7 +3899,7 @@ fi
3856 3899
3857 3900
3858echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 3901echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6
3859echo "configure:3860: checking for main in -lXbsd" >&5 3902echo "configure:3903: checking for main in -lXbsd" >&5
3860ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` 3903ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'`
3861if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 3904if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3862 echo $ac_n "(cached) $ac_c" 1>&6 3905 echo $ac_n "(cached) $ac_c" 1>&6
@@ -3864,14 +3907,14 @@ else
3864 ac_save_LIBS="$LIBS" 3907 ac_save_LIBS="$LIBS"
3865LIBS="-lXbsd $LIBS" 3908LIBS="-lXbsd $LIBS"
3866cat > conftest.$ac_ext <<EOF 3909cat > conftest.$ac_ext <<EOF
3867#line 3868 "configure" 3910#line 3911 "configure"
3868#include "confdefs.h" 3911#include "confdefs.h"
3869 3912
3870int main() { 3913int main() {
3871main() 3914main()
3872; return 0; } 3915; return 0; }
3873EOF 3916EOF
3874if { (eval echo configure:3875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3917if { (eval echo configure:3918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3875 rm -rf conftest* 3918 rm -rf conftest*
3876 eval "ac_cv_lib_$ac_lib_var=yes" 3919 eval "ac_cv_lib_$ac_lib_var=yes"
3877else 3920else
@@ -3893,7 +3936,7 @@ fi
3893 3936
3894 3937
3895echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 3938echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6
3896echo "configure:3897: checking for cma_open in -lpthreads" >&5 3939echo "configure:3940: checking for cma_open in -lpthreads" >&5
3897ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` 3940ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'`
3898if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 3941if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3899 echo $ac_n "(cached) $ac_c" 1>&6 3942 echo $ac_n "(cached) $ac_c" 1>&6
@@ -3901,7 +3944,7 @@ else
3901 ac_save_LIBS="$LIBS" 3944 ac_save_LIBS="$LIBS"
3902LIBS="-lpthreads $LIBS" 3945LIBS="-lpthreads $LIBS"
3903cat > conftest.$ac_ext <<EOF 3946cat > conftest.$ac_ext <<EOF
3904#line 3905 "configure" 3947#line 3948 "configure"
3905#include "confdefs.h" 3948#include "confdefs.h"
3906/* Override any gcc2 internal prototype to avoid an error. */ 3949/* Override any gcc2 internal prototype to avoid an error. */
3907/* We use char because int might match the return type of a gcc2 3950/* We use char because int might match the return type of a gcc2
@@ -3912,7 +3955,7 @@ int main() {
3912cma_open() 3955cma_open()
3913; return 0; } 3956; return 0; }
3914EOF 3957EOF
3915if { (eval echo configure:3916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3958if { (eval echo configure:3959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3916 rm -rf conftest* 3959 rm -rf conftest*
3917 eval "ac_cv_lib_$ac_lib_var=yes" 3960 eval "ac_cv_lib_$ac_lib_var=yes"
3918else 3961else
@@ -3941,7 +3984,7 @@ fi
3941 3984
3942 3985
3943echo $ac_n "checking for XFree86 in /usr/X386""... $ac_c" 1>&6 3986echo $ac_n "checking for XFree86 in /usr/X386""... $ac_c" 1>&6
3944echo "configure:3945: checking for XFree86 in /usr/X386" >&5 3987echo "configure:3988: checking for XFree86 in /usr/X386" >&5
3945if test -d /usr/X386/include; then 3988if test -d /usr/X386/include; then
3946 HAVE_XFREE386=yes 3989 HAVE_XFREE386=yes
3947 : ${C_SWITCH_X_SITE="-I/usr/X386/include"} 3990 : ${C_SWITCH_X_SITE="-I/usr/X386/include"}
@@ -3973,16 +4016,16 @@ if test "${HAVE_X11}" = "yes"; then
3973 4016
3974 if test "${opsys}" = "gnu-linux"; then 4017 if test "${opsys}" = "gnu-linux"; then
3975 echo $ac_n "checking whether X on GNU/Linux needs -b to link""... $ac_c" 1>&6 4018 echo $ac_n "checking whether X on GNU/Linux needs -b to link""... $ac_c" 1>&6
3976echo "configure:3977: checking whether X on GNU/Linux needs -b to link" >&5 4019echo "configure:4020: checking whether X on GNU/Linux needs -b to link" >&5
3977 cat > conftest.$ac_ext <<EOF 4020 cat > conftest.$ac_ext <<EOF
3978#line 3979 "configure" 4021#line 4022 "configure"
3979#include "confdefs.h" 4022#include "confdefs.h"
3980 4023
3981int main() { 4024int main() {
3982XOpenDisplay ("foo"); 4025XOpenDisplay ("foo");
3983; return 0; } 4026; return 0; }
3984EOF 4027EOF
3985if { (eval echo configure:3986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4028if { (eval echo configure:4029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3986 rm -rf conftest* 4029 rm -rf conftest*
3987 xlinux_first_failure=no 4030 xlinux_first_failure=no
3988else 4031else
@@ -4002,14 +4045,14 @@ rm -f conftest*
4002 CPPFLAGS="$CPPFLAGS -b i486-linuxaout" 4045 CPPFLAGS="$CPPFLAGS -b i486-linuxaout"
4003 LIBS="$LIBS -b i486-linuxaout" 4046 LIBS="$LIBS -b i486-linuxaout"
4004 cat > conftest.$ac_ext <<EOF 4047 cat > conftest.$ac_ext <<EOF
4005#line 4006 "configure" 4048#line 4049 "configure"
4006#include "confdefs.h" 4049#include "confdefs.h"
4007 4050
4008int main() { 4051int main() {
4009XOpenDisplay ("foo"); 4052XOpenDisplay ("foo");
4010; return 0; } 4053; return 0; }
4011EOF 4054EOF
4012if { (eval echo configure:4013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4055if { (eval echo configure:4056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4013 rm -rf conftest* 4056 rm -rf conftest*
4014 xlinux_second_failure=no 4057 xlinux_second_failure=no
4015else 4058else
@@ -4039,12 +4082,12 @@ rm -f conftest*
4039XScreenNumberOfScreen XSetWMProtocols 4082XScreenNumberOfScreen XSetWMProtocols
4040do 4083do
4041echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4084echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4042echo "configure:4043: checking for $ac_func" >&5 4085echo "configure:4086: checking for $ac_func" >&5
4043if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4086if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4044 echo $ac_n "(cached) $ac_c" 1>&6 4087 echo $ac_n "(cached) $ac_c" 1>&6
4045else 4088else
4046 cat > conftest.$ac_ext <<EOF 4089 cat > conftest.$ac_ext <<EOF
4047#line 4048 "configure" 4090#line 4091 "configure"
4048#include "confdefs.h" 4091#include "confdefs.h"
4049/* System header to define __stub macros and hopefully few prototypes, 4092/* System header to define __stub macros and hopefully few prototypes,
4050 which can conflict with char $ac_func(); below. */ 4093 which can conflict with char $ac_func(); below. */
@@ -4067,7 +4110,7 @@ $ac_func();
4067 4110
4068; return 0; } 4111; return 0; }
4069EOF 4112EOF
4070if { (eval echo configure:4071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4113if { (eval echo configure:4114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4071 rm -rf conftest* 4114 rm -rf conftest*
4072 eval "ac_cv_func_$ac_func=yes" 4115 eval "ac_cv_func_$ac_func=yes"
4073else 4116else
@@ -4095,12 +4138,12 @@ fi
4095 4138
4096if test "${window_system}" = "x11"; then 4139if test "${window_system}" = "x11"; then
4097 echo $ac_n "checking X11 version 6""... $ac_c" 1>&6 4140 echo $ac_n "checking X11 version 6""... $ac_c" 1>&6
4098echo "configure:4099: checking X11 version 6" >&5 4141echo "configure:4142: checking X11 version 6" >&5
4099 if eval "test \"`echo '$''{'emacs_cv_x11_version_6'+set}'`\" = set"; then 4142 if eval "test \"`echo '$''{'emacs_cv_x11_version_6'+set}'`\" = set"; then
4100 echo $ac_n "(cached) $ac_c" 1>&6 4143 echo $ac_n "(cached) $ac_c" 1>&6
4101else 4144else
4102 cat > conftest.$ac_ext <<EOF 4145 cat > conftest.$ac_ext <<EOF
4103#line 4104 "configure" 4146#line 4147 "configure"
4104#include "confdefs.h" 4147#include "confdefs.h"
4105#include <X11/Xlib.h> 4148#include <X11/Xlib.h>
4106int main() { 4149int main() {
@@ -4110,7 +4153,7 @@ fail;
4110 4153
4111; return 0; } 4154; return 0; }
4112EOF 4155EOF
4113if { (eval echo configure:4114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4156if { (eval echo configure:4157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4114 rm -rf conftest* 4157 rm -rf conftest*
4115 emacs_cv_x11_version_6=yes 4158 emacs_cv_x11_version_6=yes
4116else 4159else
@@ -4135,12 +4178,12 @@ fi
4135 4178
4136if test "${window_system}" = "x11"; then 4179if test "${window_system}" = "x11"; then
4137 echo $ac_n "checking X11 version 5""... $ac_c" 1>&6 4180 echo $ac_n "checking X11 version 5""... $ac_c" 1>&6
4138echo "configure:4139: checking X11 version 5" >&5 4181echo "configure:4182: checking X11 version 5" >&5
4139 if eval "test \"`echo '$''{'emacs_cv_x11_version_5'+set}'`\" = set"; then 4182 if eval "test \"`echo '$''{'emacs_cv_x11_version_5'+set}'`\" = set"; then
4140 echo $ac_n "(cached) $ac_c" 1>&6 4183 echo $ac_n "(cached) $ac_c" 1>&6
4141else 4184else
4142 cat > conftest.$ac_ext <<EOF 4185 cat > conftest.$ac_ext <<EOF
4143#line 4144 "configure" 4186#line 4187 "configure"
4144#include "confdefs.h" 4187#include "confdefs.h"
4145#include <X11/Xlib.h> 4188#include <X11/Xlib.h>
4146int main() { 4189int main() {
@@ -4150,7 +4193,7 @@ fail;
4150 4193
4151; return 0; } 4194; return 0; }
4152EOF 4195EOF
4153if { (eval echo configure:4154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4196if { (eval echo configure:4197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4154 rm -rf conftest* 4197 rm -rf conftest*
4155 emacs_cv_x11_version_5=yes 4198 emacs_cv_x11_version_5=yes
4156else 4199else
@@ -4178,12 +4221,12 @@ fi
4178if test x"${USE_X_TOOLKIT}" = xmaybe; then 4221if test x"${USE_X_TOOLKIT}" = xmaybe; then
4179 if test x"${HAVE_X11R5}" = xyes; then 4222 if test x"${HAVE_X11R5}" = xyes; then
4180 echo $ac_n "checking X11 version 5 with Xaw""... $ac_c" 1>&6 4223 echo $ac_n "checking X11 version 5 with Xaw""... $ac_c" 1>&6
4181echo "configure:4182: checking X11 version 5 with Xaw" >&5 4224echo "configure:4225: checking X11 version 5 with Xaw" >&5
4182 if eval "test \"`echo '$''{'emacs_cv_x11_version_5_with_xaw'+set}'`\" = set"; then 4225 if eval "test \"`echo '$''{'emacs_cv_x11_version_5_with_xaw'+set}'`\" = set"; then
4183 echo $ac_n "(cached) $ac_c" 1>&6 4226 echo $ac_n "(cached) $ac_c" 1>&6
4184else 4227else
4185 cat > conftest.$ac_ext <<EOF 4228 cat > conftest.$ac_ext <<EOF
4186#line 4187 "configure" 4229#line 4230 "configure"
4187#include "confdefs.h" 4230#include "confdefs.h"
4188 4231
4189#include <X11/Intrinsic.h> 4232#include <X11/Intrinsic.h>
@@ -4192,7 +4235,7 @@ int main() {
4192 4235
4193; return 0; } 4236; return 0; }
4194EOF 4237EOF
4195if { (eval echo configure:4196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4238if { (eval echo configure:4239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4196 rm -rf conftest* 4239 rm -rf conftest*
4197 emacs_cv_x11_version_5_with_xaw=yes 4240 emacs_cv_x11_version_5_with_xaw=yes
4198else 4241else
@@ -4220,12 +4263,12 @@ X_TOOLKIT_TYPE=$USE_X_TOOLKIT
4220 4263
4221if test "${USE_X_TOOLKIT}" != "none"; then 4264if test "${USE_X_TOOLKIT}" != "none"; then
4222 echo $ac_n "checking X11 toolkit version""... $ac_c" 1>&6 4265 echo $ac_n "checking X11 toolkit version""... $ac_c" 1>&6
4223echo "configure:4224: checking X11 toolkit version" >&5 4266echo "configure:4267: checking X11 toolkit version" >&5
4224 if eval "test \"`echo '$''{'emacs_cv_x11_toolkit_version_6'+set}'`\" = set"; then 4267 if eval "test \"`echo '$''{'emacs_cv_x11_toolkit_version_6'+set}'`\" = set"; then
4225 echo $ac_n "(cached) $ac_c" 1>&6 4268 echo $ac_n "(cached) $ac_c" 1>&6
4226else 4269else
4227 cat > conftest.$ac_ext <<EOF 4270 cat > conftest.$ac_ext <<EOF
4228#line 4229 "configure" 4271#line 4272 "configure"
4229#include "confdefs.h" 4272#include "confdefs.h"
4230#include <X11/Intrinsic.h> 4273#include <X11/Intrinsic.h>
4231int main() { 4274int main() {
@@ -4235,7 +4278,7 @@ fail;
4235 4278
4236; return 0; } 4279; return 0; }
4237EOF 4280EOF
4238if { (eval echo configure:4239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4281if { (eval echo configure:4282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4239 rm -rf conftest* 4282 rm -rf conftest*
4240 emacs_cv_x11_toolkit_version_6=yes 4283 emacs_cv_x11_toolkit_version_6=yes
4241else 4284else
@@ -4265,7 +4308,7 @@ EOF
4265 LIBS="-lXt $LIBS" 4308 LIBS="-lXt $LIBS"
4266 fi 4309 fi
4267 echo $ac_n "checking for XmuConvertStandardSelection in -lXmu""... $ac_c" 1>&6 4310 echo $ac_n "checking for XmuConvertStandardSelection in -lXmu""... $ac_c" 1>&6
4268echo "configure:4269: checking for XmuConvertStandardSelection in -lXmu" >&5 4311echo "configure:4312: checking for XmuConvertStandardSelection in -lXmu" >&5
4269ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'` 4312ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'`
4270if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4313if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4271 echo $ac_n "(cached) $ac_c" 1>&6 4314 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4273,7 +4316,7 @@ else
4273 ac_save_LIBS="$LIBS" 4316 ac_save_LIBS="$LIBS"
4274LIBS="-lXmu $LIBS" 4317LIBS="-lXmu $LIBS"
4275cat > conftest.$ac_ext <<EOF 4318cat > conftest.$ac_ext <<EOF
4276#line 4277 "configure" 4319#line 4320 "configure"
4277#include "confdefs.h" 4320#include "confdefs.h"
4278/* Override any gcc2 internal prototype to avoid an error. */ 4321/* Override any gcc2 internal prototype to avoid an error. */
4279/* We use char because int might match the return type of a gcc2 4322/* We use char because int might match the return type of a gcc2
@@ -4284,7 +4327,7 @@ int main() {
4284XmuConvertStandardSelection() 4327XmuConvertStandardSelection()
4285; return 0; } 4328; return 0; }
4286EOF 4329EOF
4287if { (eval echo configure:4288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4330if { (eval echo configure:4331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4288 rm -rf conftest* 4331 rm -rf conftest*
4289 eval "ac_cv_lib_$ac_lib_var=yes" 4332 eval "ac_cv_lib_$ac_lib_var=yes"
4290else 4333else
@@ -4316,12 +4359,12 @@ fi
4316 4359
4317if test "${USE_X_TOOLKIT}" = "MOTIF"; then 4360if test "${USE_X_TOOLKIT}" = "MOTIF"; then
4318 echo $ac_n "checking for Motif version 2.1""... $ac_c" 1>&6 4361 echo $ac_n "checking for Motif version 2.1""... $ac_c" 1>&6
4319echo "configure:4320: checking for Motif version 2.1" >&5 4362echo "configure:4363: checking for Motif version 2.1" >&5
4320if eval "test \"`echo '$''{'emacs_cv_motif_version_2_1'+set}'`\" = set"; then 4363if eval "test \"`echo '$''{'emacs_cv_motif_version_2_1'+set}'`\" = set"; then
4321 echo $ac_n "(cached) $ac_c" 1>&6 4364 echo $ac_n "(cached) $ac_c" 1>&6
4322else 4365else
4323 cat > conftest.$ac_ext <<EOF 4366 cat > conftest.$ac_ext <<EOF
4324#line 4325 "configure" 4367#line 4368 "configure"
4325#include "confdefs.h" 4368#include "confdefs.h"
4326#include <Xm/Xm.h> 4369#include <Xm/Xm.h>
4327int main() { 4370int main() {
@@ -4332,7 +4375,7 @@ Motif version prior to 2.1.
4332#endif 4375#endif
4333; return 0; } 4376; return 0; }
4334EOF 4377EOF
4335if { (eval echo configure:4336: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4378if { (eval echo configure:4379: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4336 rm -rf conftest* 4379 rm -rf conftest*
4337 emacs_cv_motif_version_2_1=yes 4380 emacs_cv_motif_version_2_1=yes
4338else 4381else
@@ -4352,7 +4395,7 @@ echo "$ac_t""$emacs_cv_motif_version_2_1" 1>&6
4352EOF 4395EOF
4353 4396
4354 echo $ac_n "checking for XpCreateContext in -lXp""... $ac_c" 1>&6 4397 echo $ac_n "checking for XpCreateContext in -lXp""... $ac_c" 1>&6
4355echo "configure:4356: checking for XpCreateContext in -lXp" >&5 4398echo "configure:4399: checking for XpCreateContext in -lXp" >&5
4356ac_lib_var=`echo Xp'_'XpCreateContext | sed 'y%./+-%__p_%'` 4399ac_lib_var=`echo Xp'_'XpCreateContext | sed 'y%./+-%__p_%'`
4357if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4400if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4358 echo $ac_n "(cached) $ac_c" 1>&6 4401 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4360,7 +4403,7 @@ else
4360 ac_save_LIBS="$LIBS" 4403 ac_save_LIBS="$LIBS"
4361LIBS="-lXp -lXext $LIBS" 4404LIBS="-lXp -lXext $LIBS"
4362cat > conftest.$ac_ext <<EOF 4405cat > conftest.$ac_ext <<EOF
4363#line 4364 "configure" 4406#line 4407 "configure"
4364#include "confdefs.h" 4407#include "confdefs.h"
4365/* Override any gcc2 internal prototype to avoid an error. */ 4408/* Override any gcc2 internal prototype to avoid an error. */
4366/* We use char because int might match the return type of a gcc2 4409/* We use char because int might match the return type of a gcc2
@@ -4371,7 +4414,7 @@ int main() {
4371XpCreateContext() 4414XpCreateContext()
4372; return 0; } 4415; return 0; }
4373EOF 4416EOF
4374if { (eval echo configure:4375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4417if { (eval echo configure:4418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4375 rm -rf conftest* 4418 rm -rf conftest*
4376 eval "ac_cv_lib_$ac_lib_var=yes" 4419 eval "ac_cv_lib_$ac_lib_var=yes"
4377else 4420else
@@ -4408,17 +4451,17 @@ if test "${HAVE_X11}" = "yes"; then
4408 CFLAGS="${LD_SWITCH_X_SITE}" 4451 CFLAGS="${LD_SWITCH_X_SITE}"
4409 ac_safe=`echo "X11/Xaw3d/Scrollbar.h" | sed 'y%./+-%__p_%'` 4452 ac_safe=`echo "X11/Xaw3d/Scrollbar.h" | sed 'y%./+-%__p_%'`
4410echo $ac_n "checking for X11/Xaw3d/Scrollbar.h""... $ac_c" 1>&6 4453echo $ac_n "checking for X11/Xaw3d/Scrollbar.h""... $ac_c" 1>&6
4411echo "configure:4412: checking for X11/Xaw3d/Scrollbar.h" >&5 4454echo "configure:4455: checking for X11/Xaw3d/Scrollbar.h" >&5
4412if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4455if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4413 echo $ac_n "(cached) $ac_c" 1>&6 4456 echo $ac_n "(cached) $ac_c" 1>&6
4414else 4457else
4415 cat > conftest.$ac_ext <<EOF 4458 cat > conftest.$ac_ext <<EOF
4416#line 4417 "configure" 4459#line 4460 "configure"
4417#include "confdefs.h" 4460#include "confdefs.h"
4418#include <X11/Xaw3d/Scrollbar.h> 4461#include <X11/Xaw3d/Scrollbar.h>
4419EOF 4462EOF
4420ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4463ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4421{ (eval echo configure:4422: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4464{ (eval echo configure:4465: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4422ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4465ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4423if test -z "$ac_err"; then 4466if test -z "$ac_err"; then
4424 rm -rf conftest* 4467 rm -rf conftest*
@@ -4435,7 +4478,7 @@ fi
4435if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4478if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4436 echo "$ac_t""yes" 1>&6 4479 echo "$ac_t""yes" 1>&6
4437 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw3d""... $ac_c" 1>&6 4480 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw3d""... $ac_c" 1>&6
4438echo "configure:4439: checking for XawScrollbarSetThumb in -lXaw3d" >&5 4481echo "configure:4482: checking for XawScrollbarSetThumb in -lXaw3d" >&5
4439ac_lib_var=`echo Xaw3d'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` 4482ac_lib_var=`echo Xaw3d'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'`
4440if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4483if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4441 echo $ac_n "(cached) $ac_c" 1>&6 4484 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4443,7 +4486,7 @@ else
4443 ac_save_LIBS="$LIBS" 4486 ac_save_LIBS="$LIBS"
4444LIBS="-lXaw3d -lX11 $LIBS" 4487LIBS="-lXaw3d -lX11 $LIBS"
4445cat > conftest.$ac_ext <<EOF 4488cat > conftest.$ac_ext <<EOF
4446#line 4447 "configure" 4489#line 4490 "configure"
4447#include "confdefs.h" 4490#include "confdefs.h"
4448/* Override any gcc2 internal prototype to avoid an error. */ 4491/* Override any gcc2 internal prototype to avoid an error. */
4449/* We use char because int might match the return type of a gcc2 4492/* We use char because int might match the return type of a gcc2
@@ -4454,7 +4497,7 @@ int main() {
4454XawScrollbarSetThumb() 4497XawScrollbarSetThumb()
4455; return 0; } 4498; return 0; }
4456EOF 4499EOF
4457if { (eval echo configure:4458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4500if { (eval echo configure:4501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4458 rm -rf conftest* 4501 rm -rf conftest*
4459 eval "ac_cv_lib_$ac_lib_var=yes" 4502 eval "ac_cv_lib_$ac_lib_var=yes"
4460else 4503else
@@ -4526,17 +4569,17 @@ if test "${HAVE_X11}" = "yes"; then
4526 CFLAGS="${LD_SWITCH_X_SITE}" 4569 CFLAGS="${LD_SWITCH_X_SITE}"
4527 ac_safe=`echo "X11/xpm.h" | sed 'y%./+-%__p_%'` 4570 ac_safe=`echo "X11/xpm.h" | sed 'y%./+-%__p_%'`
4528echo $ac_n "checking for X11/xpm.h""... $ac_c" 1>&6 4571echo $ac_n "checking for X11/xpm.h""... $ac_c" 1>&6
4529echo "configure:4530: checking for X11/xpm.h" >&5 4572echo "configure:4573: checking for X11/xpm.h" >&5
4530if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4573if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4531 echo $ac_n "(cached) $ac_c" 1>&6 4574 echo $ac_n "(cached) $ac_c" 1>&6
4532else 4575else
4533 cat > conftest.$ac_ext <<EOF 4576 cat > conftest.$ac_ext <<EOF
4534#line 4535 "configure" 4577#line 4578 "configure"
4535#include "confdefs.h" 4578#include "confdefs.h"
4536#include <X11/xpm.h> 4579#include <X11/xpm.h>
4537EOF 4580EOF
4538ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4581ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4539{ (eval echo configure:4540: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4582{ (eval echo configure:4583: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4540ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4583ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4541if test -z "$ac_err"; then 4584if test -z "$ac_err"; then
4542 rm -rf conftest* 4585 rm -rf conftest*
@@ -4553,7 +4596,7 @@ fi
4553if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4596if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4554 echo "$ac_t""yes" 1>&6 4597 echo "$ac_t""yes" 1>&6
4555 echo $ac_n "checking for XpmReadFileToPixmap in -lXpm""... $ac_c" 1>&6 4598 echo $ac_n "checking for XpmReadFileToPixmap in -lXpm""... $ac_c" 1>&6
4556echo "configure:4557: checking for XpmReadFileToPixmap in -lXpm" >&5 4599echo "configure:4600: checking for XpmReadFileToPixmap in -lXpm" >&5
4557ac_lib_var=`echo Xpm'_'XpmReadFileToPixmap | sed 'y%./+-%__p_%'` 4600ac_lib_var=`echo Xpm'_'XpmReadFileToPixmap | sed 'y%./+-%__p_%'`
4558if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4601if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4559 echo $ac_n "(cached) $ac_c" 1>&6 4602 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4561,7 +4604,7 @@ else
4561 ac_save_LIBS="$LIBS" 4604 ac_save_LIBS="$LIBS"
4562LIBS="-lXpm -lX11 $LIBS" 4605LIBS="-lXpm -lX11 $LIBS"
4563cat > conftest.$ac_ext <<EOF 4606cat > conftest.$ac_ext <<EOF
4564#line 4565 "configure" 4607#line 4608 "configure"
4565#include "confdefs.h" 4608#include "confdefs.h"
4566/* Override any gcc2 internal prototype to avoid an error. */ 4609/* Override any gcc2 internal prototype to avoid an error. */
4567/* We use char because int might match the return type of a gcc2 4610/* We use char because int might match the return type of a gcc2
@@ -4572,7 +4615,7 @@ int main() {
4572XpmReadFileToPixmap() 4615XpmReadFileToPixmap()
4573; return 0; } 4616; return 0; }
4574EOF 4617EOF
4575if { (eval echo configure:4576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4618if { (eval echo configure:4619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4576 rm -rf conftest* 4619 rm -rf conftest*
4577 eval "ac_cv_lib_$ac_lib_var=yes" 4620 eval "ac_cv_lib_$ac_lib_var=yes"
4578else 4621else
@@ -4615,17 +4658,17 @@ if test "${HAVE_X11}" = "yes"; then
4615 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" 4658 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
4616 ac_safe=`echo "jerror.h" | sed 'y%./+-%__p_%'` 4659 ac_safe=`echo "jerror.h" | sed 'y%./+-%__p_%'`
4617echo $ac_n "checking for jerror.h""... $ac_c" 1>&6 4660echo $ac_n "checking for jerror.h""... $ac_c" 1>&6
4618echo "configure:4619: checking for jerror.h" >&5 4661echo "configure:4662: checking for jerror.h" >&5
4619if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4662if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4620 echo $ac_n "(cached) $ac_c" 1>&6 4663 echo $ac_n "(cached) $ac_c" 1>&6
4621else 4664else
4622 cat > conftest.$ac_ext <<EOF 4665 cat > conftest.$ac_ext <<EOF
4623#line 4624 "configure" 4666#line 4667 "configure"
4624#include "confdefs.h" 4667#include "confdefs.h"
4625#include <jerror.h> 4668#include <jerror.h>
4626EOF 4669EOF
4627ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4670ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4628{ (eval echo configure:4629: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4671{ (eval echo configure:4672: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4629ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4672ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4630if test -z "$ac_err"; then 4673if test -z "$ac_err"; then
4631 rm -rf conftest* 4674 rm -rf conftest*
@@ -4642,7 +4685,7 @@ fi
4642if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4685if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4643 echo "$ac_t""yes" 1>&6 4686 echo "$ac_t""yes" 1>&6
4644 echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6 4687 echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6
4645echo "configure:4646: checking for jpeg_destroy_compress in -ljpeg" >&5 4688echo "configure:4689: checking for jpeg_destroy_compress in -ljpeg" >&5
4646ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'` 4689ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'`
4647if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4690if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4648 echo $ac_n "(cached) $ac_c" 1>&6 4691 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4650,7 +4693,7 @@ else
4650 ac_save_LIBS="$LIBS" 4693 ac_save_LIBS="$LIBS"
4651LIBS="-ljpeg -lX11 $LIBS" 4694LIBS="-ljpeg -lX11 $LIBS"
4652cat > conftest.$ac_ext <<EOF 4695cat > conftest.$ac_ext <<EOF
4653#line 4654 "configure" 4696#line 4697 "configure"
4654#include "confdefs.h" 4697#include "confdefs.h"
4655/* Override any gcc2 internal prototype to avoid an error. */ 4698/* Override any gcc2 internal prototype to avoid an error. */
4656/* We use char because int might match the return type of a gcc2 4699/* We use char because int might match the return type of a gcc2
@@ -4661,7 +4704,7 @@ int main() {
4661jpeg_destroy_compress() 4704jpeg_destroy_compress()
4662; return 0; } 4705; return 0; }
4663EOF 4706EOF
4664if { (eval echo configure:4665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4707if { (eval echo configure:4708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4665 rm -rf conftest* 4708 rm -rf conftest*
4666 eval "ac_cv_lib_$ac_lib_var=yes" 4709 eval "ac_cv_lib_$ac_lib_var=yes"
4667else 4710else
@@ -4704,17 +4747,17 @@ if test "${HAVE_X11}" = "yes"; then
4704 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" 4747 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
4705 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` 4748 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'`
4706echo $ac_n "checking for png.h""... $ac_c" 1>&6 4749echo $ac_n "checking for png.h""... $ac_c" 1>&6
4707echo "configure:4708: checking for png.h" >&5 4750echo "configure:4751: checking for png.h" >&5
4708if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4751if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4709 echo $ac_n "(cached) $ac_c" 1>&6 4752 echo $ac_n "(cached) $ac_c" 1>&6
4710else 4753else
4711 cat > conftest.$ac_ext <<EOF 4754 cat > conftest.$ac_ext <<EOF
4712#line 4713 "configure" 4755#line 4756 "configure"
4713#include "confdefs.h" 4756#include "confdefs.h"
4714#include <png.h> 4757#include <png.h>
4715EOF 4758EOF
4716ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4759ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4717{ (eval echo configure:4718: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4760{ (eval echo configure:4761: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4718ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4761ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4719if test -z "$ac_err"; then 4762if test -z "$ac_err"; then
4720 rm -rf conftest* 4763 rm -rf conftest*
@@ -4731,7 +4774,7 @@ fi
4731if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4774if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4732 echo "$ac_t""yes" 1>&6 4775 echo "$ac_t""yes" 1>&6
4733 echo $ac_n "checking for png_set_expand in -lpng""... $ac_c" 1>&6 4776 echo $ac_n "checking for png_set_expand in -lpng""... $ac_c" 1>&6
4734echo "configure:4735: checking for png_set_expand in -lpng" >&5 4777echo "configure:4778: checking for png_set_expand in -lpng" >&5
4735ac_lib_var=`echo png'_'png_set_expand | sed 'y%./+-%__p_%'` 4778ac_lib_var=`echo png'_'png_set_expand | sed 'y%./+-%__p_%'`
4736if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4779if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4737 echo $ac_n "(cached) $ac_c" 1>&6 4780 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4739,7 +4782,7 @@ else
4739 ac_save_LIBS="$LIBS" 4782 ac_save_LIBS="$LIBS"
4740LIBS="-lpng -lX11 -lz -lm $LIBS" 4783LIBS="-lpng -lX11 -lz -lm $LIBS"
4741cat > conftest.$ac_ext <<EOF 4784cat > conftest.$ac_ext <<EOF
4742#line 4743 "configure" 4785#line 4786 "configure"
4743#include "confdefs.h" 4786#include "confdefs.h"
4744/* Override any gcc2 internal prototype to avoid an error. */ 4787/* Override any gcc2 internal prototype to avoid an error. */
4745/* We use char because int might match the return type of a gcc2 4788/* We use char because int might match the return type of a gcc2
@@ -4750,7 +4793,7 @@ int main() {
4750png_set_expand() 4793png_set_expand()
4751; return 0; } 4794; return 0; }
4752EOF 4795EOF
4753if { (eval echo configure:4754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4796if { (eval echo configure:4797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4754 rm -rf conftest* 4797 rm -rf conftest*
4755 eval "ac_cv_lib_$ac_lib_var=yes" 4798 eval "ac_cv_lib_$ac_lib_var=yes"
4756else 4799else
@@ -4793,17 +4836,17 @@ if test "${HAVE_X11}" = "yes"; then
4793 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" 4836 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
4794 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` 4837 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
4795echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 4838echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
4796echo "configure:4797: checking for tiffio.h" >&5 4839echo "configure:4840: checking for tiffio.h" >&5
4797if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4840if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4798 echo $ac_n "(cached) $ac_c" 1>&6 4841 echo $ac_n "(cached) $ac_c" 1>&6
4799else 4842else
4800 cat > conftest.$ac_ext <<EOF 4843 cat > conftest.$ac_ext <<EOF
4801#line 4802 "configure" 4844#line 4845 "configure"
4802#include "confdefs.h" 4845#include "confdefs.h"
4803#include <tiffio.h> 4846#include <tiffio.h>
4804EOF 4847EOF
4805ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4848ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4806{ (eval echo configure:4807: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4849{ (eval echo configure:4850: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4807ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4850ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4808if test -z "$ac_err"; then 4851if test -z "$ac_err"; then
4809 rm -rf conftest* 4852 rm -rf conftest*
@@ -4823,7 +4866,7 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4823 # At least one tiff package requires the jpeg library. 4866 # At least one tiff package requires the jpeg library.
4824 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi 4867 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi
4825 echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6 4868 echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6
4826echo "configure:4827: checking for TIFFGetVersion in -ltiff" >&5 4869echo "configure:4870: checking for TIFFGetVersion in -ltiff" >&5
4827ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'` 4870ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'`
4828if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4871if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4829 echo $ac_n "(cached) $ac_c" 1>&6 4872 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4831,7 +4874,7 @@ else
4831 ac_save_LIBS="$LIBS" 4874 ac_save_LIBS="$LIBS"
4832LIBS="-ltiff $tifflibs $LIBS" 4875LIBS="-ltiff $tifflibs $LIBS"
4833cat > conftest.$ac_ext <<EOF 4876cat > conftest.$ac_ext <<EOF
4834#line 4835 "configure" 4877#line 4878 "configure"
4835#include "confdefs.h" 4878#include "confdefs.h"
4836/* Override any gcc2 internal prototype to avoid an error. */ 4879/* Override any gcc2 internal prototype to avoid an error. */
4837/* We use char because int might match the return type of a gcc2 4880/* We use char because int might match the return type of a gcc2
@@ -4842,7 +4885,7 @@ int main() {
4842TIFFGetVersion() 4885TIFFGetVersion()
4843; return 0; } 4886; return 0; }
4844EOF 4887EOF
4845if { (eval echo configure:4846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4888if { (eval echo configure:4889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4846 rm -rf conftest* 4889 rm -rf conftest*
4847 eval "ac_cv_lib_$ac_lib_var=yes" 4890 eval "ac_cv_lib_$ac_lib_var=yes"
4848else 4891else
@@ -4885,17 +4928,17 @@ if test "${HAVE_X11}" = "yes"; then
4885 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" 4928 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
4886 ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` 4929 ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'`
4887echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 4930echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6
4888echo "configure:4889: checking for gif_lib.h" >&5 4931echo "configure:4932: checking for gif_lib.h" >&5
4889if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4932if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4890 echo $ac_n "(cached) $ac_c" 1>&6 4933 echo $ac_n "(cached) $ac_c" 1>&6
4891else 4934else
4892 cat > conftest.$ac_ext <<EOF 4935 cat > conftest.$ac_ext <<EOF
4893#line 4894 "configure" 4936#line 4937 "configure"
4894#include "confdefs.h" 4937#include "confdefs.h"
4895#include <gif_lib.h> 4938#include <gif_lib.h>
4896EOF 4939EOF
4897ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4940ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4898{ (eval echo configure:4899: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4941{ (eval echo configure:4942: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4899ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4942ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4900if test -z "$ac_err"; then 4943if test -z "$ac_err"; then
4901 rm -rf conftest* 4944 rm -rf conftest*
@@ -4912,7 +4955,7 @@ fi
4912if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4955if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4913 echo "$ac_t""yes" 1>&6 4956 echo "$ac_t""yes" 1>&6
4914 echo $ac_n "checking for DGifOpen in -lungif""... $ac_c" 1>&6 4957 echo $ac_n "checking for DGifOpen in -lungif""... $ac_c" 1>&6
4915echo "configure:4916: checking for DGifOpen in -lungif" >&5 4958echo "configure:4959: checking for DGifOpen in -lungif" >&5
4916ac_lib_var=`echo ungif'_'DGifOpen | sed 'y%./+-%__p_%'` 4959ac_lib_var=`echo ungif'_'DGifOpen | sed 'y%./+-%__p_%'`
4917if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4960if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4918 echo $ac_n "(cached) $ac_c" 1>&6 4961 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4920,7 +4963,7 @@ else
4920 ac_save_LIBS="$LIBS" 4963 ac_save_LIBS="$LIBS"
4921LIBS="-lungif -lX11 $LIBS" 4964LIBS="-lungif -lX11 $LIBS"
4922cat > conftest.$ac_ext <<EOF 4965cat > conftest.$ac_ext <<EOF
4923#line 4924 "configure" 4966#line 4967 "configure"
4924#include "confdefs.h" 4967#include "confdefs.h"
4925/* Override any gcc2 internal prototype to avoid an error. */ 4968/* Override any gcc2 internal prototype to avoid an error. */
4926/* We use char because int might match the return type of a gcc2 4969/* We use char because int might match the return type of a gcc2
@@ -4931,7 +4974,7 @@ int main() {
4931DGifOpen() 4974DGifOpen()
4932; return 0; } 4975; return 0; }
4933EOF 4976EOF
4934if { (eval echo configure:4935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4977if { (eval echo configure:4978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4935 rm -rf conftest* 4978 rm -rf conftest*
4936 eval "ac_cv_lib_$ac_lib_var=yes" 4979 eval "ac_cv_lib_$ac_lib_var=yes"
4937else 4980else
@@ -4968,19 +5011,19 @@ fi
4968 5011
4969# If netdb.h doesn't declare h_errno, we must declare it by hand. 5012# If netdb.h doesn't declare h_errno, we must declare it by hand.
4970echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 5013echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6
4971echo "configure:4972: checking whether netdb declares h_errno" >&5 5014echo "configure:5015: checking whether netdb declares h_errno" >&5
4972if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then 5015if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then
4973 echo $ac_n "(cached) $ac_c" 1>&6 5016 echo $ac_n "(cached) $ac_c" 1>&6
4974else 5017else
4975 cat > conftest.$ac_ext <<EOF 5018 cat > conftest.$ac_ext <<EOF
4976#line 4977 "configure" 5019#line 5020 "configure"
4977#include "confdefs.h" 5020#include "confdefs.h"
4978#include <netdb.h> 5021#include <netdb.h>
4979int main() { 5022int main() {
4980return h_errno; 5023return h_errno;
4981; return 0; } 5024; return 0; }
4982EOF 5025EOF
4983if { (eval echo configure:4984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5026if { (eval echo configure:5027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4984 rm -rf conftest* 5027 rm -rf conftest*
4985 emacs_cv_netdb_declares_h_errno=yes 5028 emacs_cv_netdb_declares_h_errno=yes
4986else 5029else
@@ -5003,19 +5046,19 @@ fi
5003# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 5046# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
5004# for constant arguments. Useless! 5047# for constant arguments. Useless!
5005echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 5048echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
5006echo "configure:5007: checking for working alloca.h" >&5 5049echo "configure:5050: checking for working alloca.h" >&5
5007if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 5050if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
5008 echo $ac_n "(cached) $ac_c" 1>&6 5051 echo $ac_n "(cached) $ac_c" 1>&6
5009else 5052else
5010 cat > conftest.$ac_ext <<EOF 5053 cat > conftest.$ac_ext <<EOF
5011#line 5012 "configure" 5054#line 5055 "configure"
5012#include "confdefs.h" 5055#include "confdefs.h"
5013#include <alloca.h> 5056#include <alloca.h>
5014int main() { 5057int main() {
5015void *p = alloca(2 * sizeof(int)); 5058char *p = alloca(2 * sizeof(int));
5016; return 0; } 5059; return 0; }
5017EOF 5060EOF
5018if { (eval echo configure:5019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5061if { (eval echo configure:5062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5019 rm -rf conftest* 5062 rm -rf conftest*
5020 ac_cv_header_alloca_h=yes 5063 ac_cv_header_alloca_h=yes
5021else 5064else
@@ -5036,12 +5079,12 @@ EOF
5036fi 5079fi
5037 5080
5038echo $ac_n "checking for alloca""... $ac_c" 1>&6 5081echo $ac_n "checking for alloca""... $ac_c" 1>&6
5039echo "configure:5040: checking for alloca" >&5 5082echo "configure:5083: checking for alloca" >&5
5040if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 5083if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
5041 echo $ac_n "(cached) $ac_c" 1>&6 5084 echo $ac_n "(cached) $ac_c" 1>&6
5042else 5085else
5043 cat > conftest.$ac_ext <<EOF 5086 cat > conftest.$ac_ext <<EOF
5044#line 5045 "configure" 5087#line 5088 "configure"
5045#include "confdefs.h" 5088#include "confdefs.h"
5046 5089
5047#ifdef __GNUC__ 5090#ifdef __GNUC__
@@ -5069,7 +5112,7 @@ int main() {
5069char *p = (char *) alloca(1); 5112char *p = (char *) alloca(1);
5070; return 0; } 5113; return 0; }
5071EOF 5114EOF
5072if { (eval echo configure:5073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5115if { (eval echo configure:5116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5073 rm -rf conftest* 5116 rm -rf conftest*
5074 ac_cv_func_alloca_works=yes 5117 ac_cv_func_alloca_works=yes
5075else 5118else
@@ -5101,12 +5144,12 @@ EOF
5101 5144
5102 5145
5103echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 5146echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
5104echo "configure:5105: checking whether alloca needs Cray hooks" >&5 5147echo "configure:5148: checking whether alloca needs Cray hooks" >&5
5105if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 5148if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
5106 echo $ac_n "(cached) $ac_c" 1>&6 5149 echo $ac_n "(cached) $ac_c" 1>&6
5107else 5150else
5108 cat > conftest.$ac_ext <<EOF 5151 cat > conftest.$ac_ext <<EOF
5109#line 5110 "configure" 5152#line 5153 "configure"
5110#include "confdefs.h" 5153#include "confdefs.h"
5111#if defined(CRAY) && ! defined(CRAY2) 5154#if defined(CRAY) && ! defined(CRAY2)
5112webecray 5155webecray
@@ -5131,12 +5174,12 @@ echo "$ac_t""$ac_cv_os_cray" 1>&6
5131if test $ac_cv_os_cray = yes; then 5174if test $ac_cv_os_cray = yes; then
5132for ac_func in _getb67 GETB67 getb67; do 5175for ac_func in _getb67 GETB67 getb67; do
5133 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5176 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5134echo "configure:5135: checking for $ac_func" >&5 5177echo "configure:5178: checking for $ac_func" >&5
5135if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 5178if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5136 echo $ac_n "(cached) $ac_c" 1>&6 5179 echo $ac_n "(cached) $ac_c" 1>&6
5137else 5180else
5138 cat > conftest.$ac_ext <<EOF 5181 cat > conftest.$ac_ext <<EOF
5139#line 5140 "configure" 5182#line 5183 "configure"
5140#include "confdefs.h" 5183#include "confdefs.h"
5141/* System header to define __stub macros and hopefully few prototypes, 5184/* System header to define __stub macros and hopefully few prototypes,
5142 which can conflict with char $ac_func(); below. */ 5185 which can conflict with char $ac_func(); below. */
@@ -5159,7 +5202,7 @@ $ac_func();
5159 5202
5160; return 0; } 5203; return 0; }
5161EOF 5204EOF
5162if { (eval echo configure:5163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5205if { (eval echo configure:5206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5163 rm -rf conftest* 5206 rm -rf conftest*
5164 eval "ac_cv_func_$ac_func=yes" 5207 eval "ac_cv_func_$ac_func=yes"
5165else 5208else
@@ -5186,7 +5229,7 @@ done
5186fi 5229fi
5187 5230
5188echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 5231echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
5189echo "configure:5190: checking stack direction for C alloca" >&5 5232echo "configure:5233: checking stack direction for C alloca" >&5
5190if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 5233if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
5191 echo $ac_n "(cached) $ac_c" 1>&6 5234 echo $ac_n "(cached) $ac_c" 1>&6
5192else 5235else
@@ -5194,7 +5237,7 @@ else
5194 ac_cv_c_stack_direction=0 5237 ac_cv_c_stack_direction=0
5195else 5238else
5196 cat > conftest.$ac_ext <<EOF 5239 cat > conftest.$ac_ext <<EOF
5197#line 5198 "configure" 5240#line 5241 "configure"
5198#include "confdefs.h" 5241#include "confdefs.h"
5199find_stack_direction () 5242find_stack_direction ()
5200{ 5243{
@@ -5213,7 +5256,7 @@ main ()
5213 exit (find_stack_direction() < 0); 5256 exit (find_stack_direction() < 0);
5214} 5257}
5215EOF 5258EOF
5216if { (eval echo configure:5217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 5259if { (eval echo configure:5260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5217then 5260then
5218 ac_cv_c_stack_direction=1 5261 ac_cv_c_stack_direction=1
5219else 5262else
@@ -5238,7 +5281,7 @@ fi
5238# fmod, logb, and frexp are found in -lm on most systems. 5281# fmod, logb, and frexp are found in -lm on most systems.
5239# On HPUX 9.01, -lm does not contain logb, so check for sqrt. 5282# On HPUX 9.01, -lm does not contain logb, so check for sqrt.
5240echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 5283echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6
5241echo "configure:5242: checking for sqrt in -lm" >&5 5284echo "configure:5285: checking for sqrt in -lm" >&5
5242ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` 5285ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'`
5243if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5286if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5244 echo $ac_n "(cached) $ac_c" 1>&6 5287 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5246,7 +5289,7 @@ else
5246 ac_save_LIBS="$LIBS" 5289 ac_save_LIBS="$LIBS"
5247LIBS="-lm $LIBS" 5290LIBS="-lm $LIBS"
5248cat > conftest.$ac_ext <<EOF 5291cat > conftest.$ac_ext <<EOF
5249#line 5250 "configure" 5292#line 5293 "configure"
5250#include "confdefs.h" 5293#include "confdefs.h"
5251/* Override any gcc2 internal prototype to avoid an error. */ 5294/* Override any gcc2 internal prototype to avoid an error. */
5252/* We use char because int might match the return type of a gcc2 5295/* We use char because int might match the return type of a gcc2
@@ -5257,7 +5300,7 @@ int main() {
5257sqrt() 5300sqrt()
5258; return 0; } 5301; return 0; }
5259EOF 5302EOF
5260if { (eval echo configure:5261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5303if { (eval echo configure:5304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5261 rm -rf conftest* 5304 rm -rf conftest*
5262 eval "ac_cv_lib_$ac_lib_var=yes" 5305 eval "ac_cv_lib_$ac_lib_var=yes"
5263else 5306else
@@ -5287,7 +5330,7 @@ fi
5287 5330
5288# Check for mail-locking functions in a "mail" library 5331# Check for mail-locking functions in a "mail" library
5289echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6 5332echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6
5290echo "configure:5291: checking for maillock in -lmail" >&5 5333echo "configure:5334: checking for maillock in -lmail" >&5
5291ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'` 5334ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'`
5292if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5335if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5293 echo $ac_n "(cached) $ac_c" 1>&6 5336 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5295,7 +5338,7 @@ else
5295 ac_save_LIBS="$LIBS" 5338 ac_save_LIBS="$LIBS"
5296LIBS="-lmail $LIBS" 5339LIBS="-lmail $LIBS"
5297cat > conftest.$ac_ext <<EOF 5340cat > conftest.$ac_ext <<EOF
5298#line 5299 "configure" 5341#line 5342 "configure"
5299#include "confdefs.h" 5342#include "confdefs.h"
5300/* Override any gcc2 internal prototype to avoid an error. */ 5343/* Override any gcc2 internal prototype to avoid an error. */
5301/* We use char because int might match the return type of a gcc2 5344/* We use char because int might match the return type of a gcc2
@@ -5306,7 +5349,7 @@ int main() {
5306maillock() 5349maillock()
5307; return 0; } 5350; return 0; }
5308EOF 5351EOF
5309if { (eval echo configure:5310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5352if { (eval echo configure:5353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5310 rm -rf conftest* 5353 rm -rf conftest*
5311 eval "ac_cv_lib_$ac_lib_var=yes" 5354 eval "ac_cv_lib_$ac_lib_var=yes"
5312else 5355else
@@ -5334,7 +5377,7 @@ else
5334fi 5377fi
5335 5378
5336echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6 5379echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6
5337echo "configure:5338: checking for maillock in -llockfile" >&5 5380echo "configure:5381: checking for maillock in -llockfile" >&5
5338ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'` 5381ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'`
5339if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5382if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5340 echo $ac_n "(cached) $ac_c" 1>&6 5383 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5342,7 +5385,7 @@ else
5342 ac_save_LIBS="$LIBS" 5385 ac_save_LIBS="$LIBS"
5343LIBS="-llockfile $LIBS" 5386LIBS="-llockfile $LIBS"
5344cat > conftest.$ac_ext <<EOF 5387cat > conftest.$ac_ext <<EOF
5345#line 5346 "configure" 5388#line 5389 "configure"
5346#include "confdefs.h" 5389#include "confdefs.h"
5347/* Override any gcc2 internal prototype to avoid an error. */ 5390/* Override any gcc2 internal prototype to avoid an error. */
5348/* We use char because int might match the return type of a gcc2 5391/* We use char because int might match the return type of a gcc2
@@ -5353,7 +5396,7 @@ int main() {
5353maillock() 5396maillock()
5354; return 0; } 5397; return 0; }
5355EOF 5398EOF
5356if { (eval echo configure:5357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5399if { (eval echo configure:5400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5357 rm -rf conftest* 5400 rm -rf conftest*
5358 eval "ac_cv_lib_$ac_lib_var=yes" 5401 eval "ac_cv_lib_$ac_lib_var=yes"
5359else 5402else
@@ -5387,7 +5430,7 @@ if test "$ac_cv_lib_lockfile_maillock" = no; then
5387 # Extract the first word of "liblockfile.so", so it can be a program name with args. 5430 # Extract the first word of "liblockfile.so", so it can be a program name with args.
5388set dummy liblockfile.so; ac_word=$2 5431set dummy liblockfile.so; ac_word=$2
5389echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 5432echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5390echo "configure:5391: checking for $ac_word" >&5 5433echo "configure:5434: checking for $ac_word" >&5
5391if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then 5434if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then
5392 echo $ac_n "(cached) $ac_c" 1>&6 5435 echo $ac_n "(cached) $ac_c" 1>&6
5393else 5436else
@@ -5428,12 +5471,12 @@ fi
5428for ac_func in touchlock 5471for ac_func in touchlock
5429do 5472do
5430echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5473echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5431echo "configure:5432: checking for $ac_func" >&5 5474echo "configure:5475: checking for $ac_func" >&5
5432if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 5475if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5433 echo $ac_n "(cached) $ac_c" 1>&6 5476 echo $ac_n "(cached) $ac_c" 1>&6
5434else 5477else
5435 cat > conftest.$ac_ext <<EOF 5478 cat > conftest.$ac_ext <<EOF
5436#line 5437 "configure" 5479#line 5480 "configure"
5437#include "confdefs.h" 5480#include "confdefs.h"
5438/* System header to define __stub macros and hopefully few prototypes, 5481/* System header to define __stub macros and hopefully few prototypes,
5439 which can conflict with char $ac_func(); below. */ 5482 which can conflict with char $ac_func(); below. */
@@ -5456,7 +5499,7 @@ $ac_func();
5456 5499
5457; return 0; } 5500; return 0; }
5458EOF 5501EOF
5459if { (eval echo configure:5460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5502if { (eval echo configure:5503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5460 rm -rf conftest* 5503 rm -rf conftest*
5461 eval "ac_cv_func_$ac_func=yes" 5504 eval "ac_cv_func_$ac_func=yes"
5462else 5505else
@@ -5484,17 +5527,17 @@ for ac_hdr in maillock.h
5484do 5527do
5485ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5528ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5486echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5529echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5487echo "configure:5488: checking for $ac_hdr" >&5 5530echo "configure:5531: checking for $ac_hdr" >&5
5488if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5531if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5489 echo $ac_n "(cached) $ac_c" 1>&6 5532 echo $ac_n "(cached) $ac_c" 1>&6
5490else 5533else
5491 cat > conftest.$ac_ext <<EOF 5534 cat > conftest.$ac_ext <<EOF
5492#line 5493 "configure" 5535#line 5536 "configure"
5493#include "confdefs.h" 5536#include "confdefs.h"
5494#include <$ac_hdr> 5537#include <$ac_hdr>
5495EOF 5538EOF
5496ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5539ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5497{ (eval echo configure:5498: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5540{ (eval echo configure:5541: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5498ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5541ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5499if test -z "$ac_err"; then 5542if test -z "$ac_err"; then
5500 rm -rf conftest* 5543 rm -rf conftest*
@@ -5529,12 +5572,12 @@ utimes setrlimit setpgid getcwd getwd shutdown strftime getaddrinfo \
5529__fpending mblen mbrlen strsignal setitimer ualarm 5572__fpending mblen mbrlen strsignal setitimer ualarm
5530do 5573do
5531echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5574echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5532echo "configure:5533: checking for $ac_func" >&5 5575echo "configure:5576: checking for $ac_func" >&5
5533if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 5576if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5534 echo $ac_n "(cached) $ac_c" 1>&6 5577 echo $ac_n "(cached) $ac_c" 1>&6
5535else 5578else
5536 cat > conftest.$ac_ext <<EOF 5579 cat > conftest.$ac_ext <<EOF
5537#line 5538 "configure" 5580#line 5581 "configure"
5538#include "confdefs.h" 5581#include "confdefs.h"
5539/* System header to define __stub macros and hopefully few prototypes, 5582/* System header to define __stub macros and hopefully few prototypes,
5540 which can conflict with char $ac_func(); below. */ 5583 which can conflict with char $ac_func(); below. */
@@ -5557,7 +5600,7 @@ $ac_func();
5557 5600
5558; return 0; } 5601; return 0; }
5559EOF 5602EOF
5560if { (eval echo configure:5561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5603if { (eval echo configure:5604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5561 rm -rf conftest* 5604 rm -rf conftest*
5562 eval "ac_cv_func_$ac_func=yes" 5605 eval "ac_cv_func_$ac_func=yes"
5563else 5606else
@@ -5586,17 +5629,17 @@ for ac_hdr in sys/time.h unistd.h
5586do 5629do
5587ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5630ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5588echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5631echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5589echo "configure:5590: checking for $ac_hdr" >&5 5632echo "configure:5633: checking for $ac_hdr" >&5
5590if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5633if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5591 echo $ac_n "(cached) $ac_c" 1>&6 5634 echo $ac_n "(cached) $ac_c" 1>&6
5592else 5635else
5593 cat > conftest.$ac_ext <<EOF 5636 cat > conftest.$ac_ext <<EOF
5594#line 5595 "configure" 5637#line 5638 "configure"
5595#include "confdefs.h" 5638#include "confdefs.h"
5596#include <$ac_hdr> 5639#include <$ac_hdr>
5597EOF 5640EOF
5598ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5641ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5599{ (eval echo configure:5600: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5642{ (eval echo configure:5643: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5600ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5643ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5601if test -z "$ac_err"; then 5644if test -z "$ac_err"; then
5602 rm -rf conftest* 5645 rm -rf conftest*
@@ -5625,12 +5668,12 @@ done
5625for ac_func in alarm 5668for ac_func in alarm
5626do 5669do
5627echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5670echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5628echo "configure:5629: checking for $ac_func" >&5 5671echo "configure:5672: checking for $ac_func" >&5
5629if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 5672if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5630 echo $ac_n "(cached) $ac_c" 1>&6 5673 echo $ac_n "(cached) $ac_c" 1>&6
5631else 5674else
5632 cat > conftest.$ac_ext <<EOF 5675 cat > conftest.$ac_ext <<EOF
5633#line 5634 "configure" 5676#line 5677 "configure"
5634#include "confdefs.h" 5677#include "confdefs.h"
5635/* System header to define __stub macros and hopefully few prototypes, 5678/* System header to define __stub macros and hopefully few prototypes,
5636 which can conflict with char $ac_func(); below. */ 5679 which can conflict with char $ac_func(); below. */
@@ -5653,7 +5696,7 @@ $ac_func();
5653 5696
5654; return 0; } 5697; return 0; }
5655EOF 5698EOF
5656if { (eval echo configure:5657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5699if { (eval echo configure:5700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5657 rm -rf conftest* 5700 rm -rf conftest*
5658 eval "ac_cv_func_$ac_func=yes" 5701 eval "ac_cv_func_$ac_func=yes"
5659else 5702else
@@ -5678,7 +5721,7 @@ fi
5678done 5721done
5679 5722
5680echo $ac_n "checking for working mktime""... $ac_c" 1>&6 5723echo $ac_n "checking for working mktime""... $ac_c" 1>&6
5681echo "configure:5682: checking for working mktime" >&5 5724echo "configure:5725: checking for working mktime" >&5
5682if eval "test \"`echo '$''{'ac_cv_func_working_mktime'+set}'`\" = set"; then 5725if eval "test \"`echo '$''{'ac_cv_func_working_mktime'+set}'`\" = set"; then
5683 echo $ac_n "(cached) $ac_c" 1>&6 5726 echo $ac_n "(cached) $ac_c" 1>&6
5684else 5727else
@@ -5686,7 +5729,7 @@ else
5686 ac_cv_func_working_mktime=no 5729 ac_cv_func_working_mktime=no
5687else 5730else
5688 cat > conftest.$ac_ext <<EOF 5731 cat > conftest.$ac_ext <<EOF
5689#line 5690 "configure" 5732#line 5733 "configure"
5690#include "confdefs.h" 5733#include "confdefs.h"
5691/* Test program from Paul Eggert (eggert@twinsun.com) 5734/* Test program from Paul Eggert (eggert@twinsun.com)
5692 and Tony Leneis (tony@plaza.ds.adp.com). */ 5735 and Tony Leneis (tony@plaza.ds.adp.com). */
@@ -5835,7 +5878,7 @@ main ()
5835 exit (0); 5878 exit (0);
5836} 5879}
5837EOF 5880EOF
5838if { (eval echo configure:5839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 5881if { (eval echo configure:5882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5839then 5882then
5840 ac_cv_func_working_mktime=yes 5883 ac_cv_func_working_mktime=yes
5841else 5884else
@@ -5867,7 +5910,7 @@ ac_have_func=no # yes means we've found a way to get the load average.
5867# On Solaris, -lkvm requires nlist from -lelf, so check that first 5910# On Solaris, -lkvm requires nlist from -lelf, so check that first
5868# to get the right answer into the cache. 5911# to get the right answer into the cache.
5869echo $ac_n "checking for elf_begin in -lelf""... $ac_c" 1>&6 5912echo $ac_n "checking for elf_begin in -lelf""... $ac_c" 1>&6
5870echo "configure:5871: checking for elf_begin in -lelf" >&5 5913echo "configure:5914: checking for elf_begin in -lelf" >&5
5871ac_lib_var=`echo elf'_'elf_begin | sed 'y%./+-%__p_%'` 5914ac_lib_var=`echo elf'_'elf_begin | sed 'y%./+-%__p_%'`
5872if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5915if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5873 echo $ac_n "(cached) $ac_c" 1>&6 5916 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5875,7 +5918,7 @@ else
5875 ac_save_LIBS="$LIBS" 5918 ac_save_LIBS="$LIBS"
5876LIBS="-lelf $LIBS" 5919LIBS="-lelf $LIBS"
5877cat > conftest.$ac_ext <<EOF 5920cat > conftest.$ac_ext <<EOF
5878#line 5879 "configure" 5921#line 5922 "configure"
5879#include "confdefs.h" 5922#include "confdefs.h"
5880/* Override any gcc2 internal prototype to avoid an error. */ 5923/* Override any gcc2 internal prototype to avoid an error. */
5881/* We use char because int might match the return type of a gcc2 5924/* We use char because int might match the return type of a gcc2
@@ -5886,7 +5929,7 @@ int main() {
5886elf_begin() 5929elf_begin()
5887; return 0; } 5930; return 0; }
5888EOF 5931EOF
5889if { (eval echo configure:5890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5932if { (eval echo configure:5933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5890 rm -rf conftest* 5933 rm -rf conftest*
5891 eval "ac_cv_lib_$ac_lib_var=yes" 5934 eval "ac_cv_lib_$ac_lib_var=yes"
5892else 5935else
@@ -5907,7 +5950,7 @@ else
5907fi 5950fi
5908 5951
5909echo $ac_n "checking for kvm_open in -lkvm""... $ac_c" 1>&6 5952echo $ac_n "checking for kvm_open in -lkvm""... $ac_c" 1>&6
5910echo "configure:5911: checking for kvm_open in -lkvm" >&5 5953echo "configure:5954: checking for kvm_open in -lkvm" >&5
5911ac_lib_var=`echo kvm'_'kvm_open | sed 'y%./+-%__p_%'` 5954ac_lib_var=`echo kvm'_'kvm_open | sed 'y%./+-%__p_%'`
5912if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5955if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5913 echo $ac_n "(cached) $ac_c" 1>&6 5956 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5915,7 +5958,7 @@ else
5915 ac_save_LIBS="$LIBS" 5958 ac_save_LIBS="$LIBS"
5916LIBS="-lkvm $LIBS" 5959LIBS="-lkvm $LIBS"
5917cat > conftest.$ac_ext <<EOF 5960cat > conftest.$ac_ext <<EOF
5918#line 5919 "configure" 5961#line 5962 "configure"
5919#include "confdefs.h" 5962#include "confdefs.h"
5920/* Override any gcc2 internal prototype to avoid an error. */ 5963/* Override any gcc2 internal prototype to avoid an error. */
5921/* We use char because int might match the return type of a gcc2 5964/* We use char because int might match the return type of a gcc2
@@ -5926,7 +5969,7 @@ int main() {
5926kvm_open() 5969kvm_open()
5927; return 0; } 5970; return 0; }
5928EOF 5971EOF
5929if { (eval echo configure:5930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5972if { (eval echo configure:5973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5930 rm -rf conftest* 5973 rm -rf conftest*
5931 eval "ac_cv_lib_$ac_lib_var=yes" 5974 eval "ac_cv_lib_$ac_lib_var=yes"
5932else 5975else
@@ -5948,7 +5991,7 @@ fi
5948 5991
5949# Check for the 4.4BSD definition of getloadavg. 5992# Check for the 4.4BSD definition of getloadavg.
5950echo $ac_n "checking for getloadavg in -lutil""... $ac_c" 1>&6 5993echo $ac_n "checking for getloadavg in -lutil""... $ac_c" 1>&6
5951echo "configure:5952: checking for getloadavg in -lutil" >&5 5994echo "configure:5995: checking for getloadavg in -lutil" >&5
5952ac_lib_var=`echo util'_'getloadavg | sed 'y%./+-%__p_%'` 5995ac_lib_var=`echo util'_'getloadavg | sed 'y%./+-%__p_%'`
5953if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5996if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5954 echo $ac_n "(cached) $ac_c" 1>&6 5997 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5956,7 +5999,7 @@ else
5956 ac_save_LIBS="$LIBS" 5999 ac_save_LIBS="$LIBS"
5957LIBS="-lutil $LIBS" 6000LIBS="-lutil $LIBS"
5958cat > conftest.$ac_ext <<EOF 6001cat > conftest.$ac_ext <<EOF
5959#line 5960 "configure" 6002#line 6003 "configure"
5960#include "confdefs.h" 6003#include "confdefs.h"
5961/* Override any gcc2 internal prototype to avoid an error. */ 6004/* Override any gcc2 internal prototype to avoid an error. */
5962/* We use char because int might match the return type of a gcc2 6005/* We use char because int might match the return type of a gcc2
@@ -5967,7 +6010,7 @@ int main() {
5967getloadavg() 6010getloadavg()
5968; return 0; } 6011; return 0; }
5969EOF 6012EOF
5970if { (eval echo configure:5971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6013if { (eval echo configure:6014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5971 rm -rf conftest* 6014 rm -rf conftest*
5972 eval "ac_cv_lib_$ac_lib_var=yes" 6015 eval "ac_cv_lib_$ac_lib_var=yes"
5973else 6016else
@@ -5993,7 +6036,7 @@ if test $ac_have_func = no; then
5993 # Since it is not a standard part of AIX, it might be installed locally. 6036 # Since it is not a standard part of AIX, it might be installed locally.
5994 ac_getloadavg_LIBS="$LIBS"; LIBS="-L/usr/local/lib $LIBS" 6037 ac_getloadavg_LIBS="$LIBS"; LIBS="-L/usr/local/lib $LIBS"
5995 echo $ac_n "checking for getloadavg in -lgetloadavg""... $ac_c" 1>&6 6038 echo $ac_n "checking for getloadavg in -lgetloadavg""... $ac_c" 1>&6
5996echo "configure:5997: checking for getloadavg in -lgetloadavg" >&5 6039echo "configure:6040: checking for getloadavg in -lgetloadavg" >&5
5997ac_lib_var=`echo getloadavg'_'getloadavg | sed 'y%./+-%__p_%'` 6040ac_lib_var=`echo getloadavg'_'getloadavg | sed 'y%./+-%__p_%'`
5998if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6041if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5999 echo $ac_n "(cached) $ac_c" 1>&6 6042 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6001,7 +6044,7 @@ else
6001 ac_save_LIBS="$LIBS" 6044 ac_save_LIBS="$LIBS"
6002LIBS="-lgetloadavg $LIBS" 6045LIBS="-lgetloadavg $LIBS"
6003cat > conftest.$ac_ext <<EOF 6046cat > conftest.$ac_ext <<EOF
6004#line 6005 "configure" 6047#line 6048 "configure"
6005#include "confdefs.h" 6048#include "confdefs.h"
6006/* Override any gcc2 internal prototype to avoid an error. */ 6049/* Override any gcc2 internal prototype to avoid an error. */
6007/* We use char because int might match the return type of a gcc2 6050/* We use char because int might match the return type of a gcc2
@@ -6012,7 +6055,7 @@ int main() {
6012getloadavg() 6055getloadavg()
6013; return 0; } 6056; return 0; }
6014EOF 6057EOF
6015if { (eval echo configure:6016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6058if { (eval echo configure:6059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6016 rm -rf conftest* 6059 rm -rf conftest*
6017 eval "ac_cv_lib_$ac_lib_var=yes" 6060 eval "ac_cv_lib_$ac_lib_var=yes"
6018else 6061else
@@ -6039,12 +6082,12 @@ fi
6039for ac_func in getloadavg 6082for ac_func in getloadavg
6040do 6083do
6041echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 6084echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6042echo "configure:6043: checking for $ac_func" >&5 6085echo "configure:6086: checking for $ac_func" >&5
6043if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 6086if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6044 echo $ac_n "(cached) $ac_c" 1>&6 6087 echo $ac_n "(cached) $ac_c" 1>&6
6045else 6088else
6046 cat > conftest.$ac_ext <<EOF 6089 cat > conftest.$ac_ext <<EOF
6047#line 6048 "configure" 6090#line 6091 "configure"
6048#include "confdefs.h" 6091#include "confdefs.h"
6049/* System header to define __stub macros and hopefully few prototypes, 6092/* System header to define __stub macros and hopefully few prototypes,
6050 which can conflict with char $ac_func(); below. */ 6093 which can conflict with char $ac_func(); below. */
@@ -6067,7 +6110,7 @@ $ac_func();
6067 6110
6068; return 0; } 6111; return 0; }
6069EOF 6112EOF
6070if { (eval echo configure:6071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6113if { (eval echo configure:6114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6071 rm -rf conftest* 6114 rm -rf conftest*
6072 eval "ac_cv_func_$ac_func=yes" 6115 eval "ac_cv_func_$ac_func=yes"
6073else 6116else
@@ -6105,17 +6148,17 @@ else
6105 ac_have_func=no 6148 ac_have_func=no
6106 ac_safe=`echo "sys/dg_sys_info.h" | sed 'y%./+-%__p_%'` 6149 ac_safe=`echo "sys/dg_sys_info.h" | sed 'y%./+-%__p_%'`
6107echo $ac_n "checking for sys/dg_sys_info.h""... $ac_c" 1>&6 6150echo $ac_n "checking for sys/dg_sys_info.h""... $ac_c" 1>&6
6108echo "configure:6109: checking for sys/dg_sys_info.h" >&5 6151echo "configure:6152: checking for sys/dg_sys_info.h" >&5
6109if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6152if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6110 echo $ac_n "(cached) $ac_c" 1>&6 6153 echo $ac_n "(cached) $ac_c" 1>&6
6111else 6154else
6112 cat > conftest.$ac_ext <<EOF 6155 cat > conftest.$ac_ext <<EOF
6113#line 6114 "configure" 6156#line 6157 "configure"
6114#include "confdefs.h" 6157#include "confdefs.h"
6115#include <sys/dg_sys_info.h> 6158#include <sys/dg_sys_info.h>
6116EOF 6159EOF
6117ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6160ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6118{ (eval echo configure:6119: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6161{ (eval echo configure:6162: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6119ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6162ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6120if test -z "$ac_err"; then 6163if test -z "$ac_err"; then
6121 rm -rf conftest* 6164 rm -rf conftest*
@@ -6136,7 +6179,7 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6136EOF 6179EOF
6137 6180
6138 echo $ac_n "checking for dg_sys_info in -ldgc""... $ac_c" 1>&6 6181 echo $ac_n "checking for dg_sys_info in -ldgc""... $ac_c" 1>&6
6139echo "configure:6140: checking for dg_sys_info in -ldgc" >&5 6182echo "configure:6183: checking for dg_sys_info in -ldgc" >&5
6140ac_lib_var=`echo dgc'_'dg_sys_info | sed 'y%./+-%__p_%'` 6183ac_lib_var=`echo dgc'_'dg_sys_info | sed 'y%./+-%__p_%'`
6141if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6184if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6142 echo $ac_n "(cached) $ac_c" 1>&6 6185 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6144,7 +6187,7 @@ else
6144 ac_save_LIBS="$LIBS" 6187 ac_save_LIBS="$LIBS"
6145LIBS="-ldgc $LIBS" 6188LIBS="-ldgc $LIBS"
6146cat > conftest.$ac_ext <<EOF 6189cat > conftest.$ac_ext <<EOF
6147#line 6148 "configure" 6190#line 6191 "configure"
6148#include "confdefs.h" 6191#include "confdefs.h"
6149/* Override any gcc2 internal prototype to avoid an error. */ 6192/* Override any gcc2 internal prototype to avoid an error. */
6150/* We use char because int might match the return type of a gcc2 6193/* We use char because int might match the return type of a gcc2
@@ -6155,7 +6198,7 @@ int main() {
6155dg_sys_info() 6198dg_sys_info()
6156; return 0; } 6199; return 0; }
6157EOF 6200EOF
6158if { (eval echo configure:6159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6201if { (eval echo configure:6202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6159 rm -rf conftest* 6202 rm -rf conftest*
6160 eval "ac_cv_lib_$ac_lib_var=yes" 6203 eval "ac_cv_lib_$ac_lib_var=yes"
6161else 6204else
@@ -6200,17 +6243,17 @@ EOF
6200 if test $ac_have_func = no; then 6243 if test $ac_have_func = no; then
6201 ac_safe=`echo "inq_stats/cpustats.h" | sed 'y%./+-%__p_%'` 6244 ac_safe=`echo "inq_stats/cpustats.h" | sed 'y%./+-%__p_%'`
6202echo $ac_n "checking for inq_stats/cpustats.h""... $ac_c" 1>&6 6245echo $ac_n "checking for inq_stats/cpustats.h""... $ac_c" 1>&6
6203echo "configure:6204: checking for inq_stats/cpustats.h" >&5 6246echo "configure:6247: checking for inq_stats/cpustats.h" >&5
6204if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6247if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6205 echo $ac_n "(cached) $ac_c" 1>&6 6248 echo $ac_n "(cached) $ac_c" 1>&6
6206else 6249else
6207 cat > conftest.$ac_ext <<EOF 6250 cat > conftest.$ac_ext <<EOF
6208#line 6209 "configure" 6251#line 6252 "configure"
6209#include "confdefs.h" 6252#include "confdefs.h"
6210#include <inq_stats/cpustats.h> 6253#include <inq_stats/cpustats.h>
6211EOF 6254EOF
6212ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6255ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6213{ (eval echo configure:6214: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6256{ (eval echo configure:6257: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6214ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6257ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6215if test -z "$ac_err"; then 6258if test -z "$ac_err"; then
6216 rm -rf conftest* 6259 rm -rf conftest*
@@ -6243,17 +6286,17 @@ fi
6243 if test $ac_have_func = no; then 6286 if test $ac_have_func = no; then
6244 ac_safe=`echo "sys/cpustats.h" | sed 'y%./+-%__p_%'` 6287 ac_safe=`echo "sys/cpustats.h" | sed 'y%./+-%__p_%'`
6245echo $ac_n "checking for sys/cpustats.h""... $ac_c" 1>&6 6288echo $ac_n "checking for sys/cpustats.h""... $ac_c" 1>&6
6246echo "configure:6247: checking for sys/cpustats.h" >&5 6289echo "configure:6290: checking for sys/cpustats.h" >&5
6247if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6290if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6248 echo $ac_n "(cached) $ac_c" 1>&6 6291 echo $ac_n "(cached) $ac_c" 1>&6
6249else 6292else
6250 cat > conftest.$ac_ext <<EOF 6293 cat > conftest.$ac_ext <<EOF
6251#line 6252 "configure" 6294#line 6295 "configure"
6252#include "confdefs.h" 6295#include "confdefs.h"
6253#include <sys/cpustats.h> 6296#include <sys/cpustats.h>
6254EOF 6297EOF
6255ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6298ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6256{ (eval echo configure:6257: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6299{ (eval echo configure:6300: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6257ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6300ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6258if test -z "$ac_err"; then 6301if test -z "$ac_err"; then
6259 rm -rf conftest* 6302 rm -rf conftest*
@@ -6284,17 +6327,17 @@ fi
6284do 6327do
6285ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6328ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6286echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6329echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6287echo "configure:6288: checking for $ac_hdr" >&5 6330echo "configure:6331: checking for $ac_hdr" >&5
6288if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6331if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6289 echo $ac_n "(cached) $ac_c" 1>&6 6332 echo $ac_n "(cached) $ac_c" 1>&6
6290else 6333else
6291 cat > conftest.$ac_ext <<EOF 6334 cat > conftest.$ac_ext <<EOF
6292#line 6293 "configure" 6335#line 6336 "configure"
6293#include "confdefs.h" 6336#include "confdefs.h"
6294#include <$ac_hdr> 6337#include <$ac_hdr>
6295EOF 6338EOF
6296ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6339ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6297{ (eval echo configure:6298: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6340{ (eval echo configure:6341: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6298ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6341ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6299if test -z "$ac_err"; then 6342if test -z "$ac_err"; then
6300 rm -rf conftest* 6343 rm -rf conftest*
@@ -6324,17 +6367,17 @@ done
6324 6367
6325 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` 6368 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'`
6326echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 6369echo $ac_n "checking for nlist.h""... $ac_c" 1>&6
6327echo "configure:6328: checking for nlist.h" >&5 6370echo "configure:6371: checking for nlist.h" >&5
6328if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6371if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6329 echo $ac_n "(cached) $ac_c" 1>&6 6372 echo $ac_n "(cached) $ac_c" 1>&6
6330else 6373else
6331 cat > conftest.$ac_ext <<EOF 6374 cat > conftest.$ac_ext <<EOF
6332#line 6333 "configure" 6375#line 6376 "configure"
6333#include "confdefs.h" 6376#include "confdefs.h"
6334#include <nlist.h> 6377#include <nlist.h>
6335EOF 6378EOF
6336ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6379ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6337{ (eval echo configure:6338: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6380{ (eval echo configure:6381: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6338ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6381ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6339if test -z "$ac_err"; then 6382if test -z "$ac_err"; then
6340 rm -rf conftest* 6383 rm -rf conftest*
@@ -6355,19 +6398,19 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6355EOF 6398EOF
6356 6399
6357 echo $ac_n "checking for n_un in struct nlist""... $ac_c" 1>&6 6400 echo $ac_n "checking for n_un in struct nlist""... $ac_c" 1>&6
6358echo "configure:6359: checking for n_un in struct nlist" >&5 6401echo "configure:6402: checking for n_un in struct nlist" >&5
6359if eval "test \"`echo '$''{'ac_cv_struct_nlist_n_un'+set}'`\" = set"; then 6402if eval "test \"`echo '$''{'ac_cv_struct_nlist_n_un'+set}'`\" = set"; then
6360 echo $ac_n "(cached) $ac_c" 1>&6 6403 echo $ac_n "(cached) $ac_c" 1>&6
6361else 6404else
6362 cat > conftest.$ac_ext <<EOF 6405 cat > conftest.$ac_ext <<EOF
6363#line 6364 "configure" 6406#line 6407 "configure"
6364#include "confdefs.h" 6407#include "confdefs.h"
6365#include <nlist.h> 6408#include <nlist.h>
6366int main() { 6409int main() {
6367struct nlist n; n.n_un.n_name = 0; 6410struct nlist n; n.n_un.n_name = 0;
6368; return 0; } 6411; return 0; }
6369EOF 6412EOF
6370if { (eval echo configure:6371: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 6413if { (eval echo configure:6414: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6371 rm -rf conftest* 6414 rm -rf conftest*
6372 ac_cv_struct_nlist_n_un=yes 6415 ac_cv_struct_nlist_n_un=yes
6373else 6416else
@@ -6394,12 +6437,12 @@ fi # Do not have getloadavg in system libraries.
6394 6437
6395# Some definitions of getloadavg require that the program be installed setgid. 6438# Some definitions of getloadavg require that the program be installed setgid.
6396echo $ac_n "checking whether getloadavg requires setgid""... $ac_c" 1>&6 6439echo $ac_n "checking whether getloadavg requires setgid""... $ac_c" 1>&6
6397echo "configure:6398: checking whether getloadavg requires setgid" >&5 6440echo "configure:6441: checking whether getloadavg requires setgid" >&5
6398if eval "test \"`echo '$''{'ac_cv_func_getloadavg_setgid'+set}'`\" = set"; then 6441if eval "test \"`echo '$''{'ac_cv_func_getloadavg_setgid'+set}'`\" = set"; then
6399 echo $ac_n "(cached) $ac_c" 1>&6 6442 echo $ac_n "(cached) $ac_c" 1>&6
6400else 6443else
6401 cat > conftest.$ac_ext <<EOF 6444 cat > conftest.$ac_ext <<EOF
6402#line 6403 "configure" 6445#line 6446 "configure"
6403#include "confdefs.h" 6446#include "confdefs.h"
6404#include "$srcdir/getloadavg.c" 6447#include "$srcdir/getloadavg.c"
6405#ifdef LDAV_PRIVILEGED 6448#ifdef LDAV_PRIVILEGED
@@ -6430,7 +6473,7 @@ fi
6430 6473
6431if test $ac_cv_func_getloadavg_setgid = yes; then 6474if test $ac_cv_func_getloadavg_setgid = yes; then
6432 echo $ac_n "checking group of /dev/kmem""... $ac_c" 1>&6 6475 echo $ac_n "checking group of /dev/kmem""... $ac_c" 1>&6
6433echo "configure:6434: checking group of /dev/kmem" >&5 6476echo "configure:6477: checking group of /dev/kmem" >&5
6434if eval "test \"`echo '$''{'ac_cv_group_kmem'+set}'`\" = set"; then 6477if eval "test \"`echo '$''{'ac_cv_group_kmem'+set}'`\" = set"; then
6435 echo $ac_n "(cached) $ac_c" 1>&6 6478 echo $ac_n "(cached) $ac_c" 1>&6
6436else 6479else
@@ -6459,7 +6502,7 @@ fi
6459 if test "$enable_largefile" != no; then 6502 if test "$enable_largefile" != no; then
6460 6503
6461 echo $ac_n "checking for special C compiler options needed for large files""... $ac_c" 1>&6 6504 echo $ac_n "checking for special C compiler options needed for large files""... $ac_c" 1>&6
6462echo "configure:6463: checking for special C compiler options needed for large files" >&5 6505echo "configure:6506: checking for special C compiler options needed for large files" >&5
6463if eval "test \"`echo '$''{'ac_cv_sys_largefile_CC'+set}'`\" = set"; then 6506if eval "test \"`echo '$''{'ac_cv_sys_largefile_CC'+set}'`\" = set"; then
6464 echo $ac_n "(cached) $ac_c" 1>&6 6507 echo $ac_n "(cached) $ac_c" 1>&6
6465else 6508else
@@ -6468,7 +6511,7 @@ else
6468 # IRIX 6.2 and later do not support large files by default, 6511 # IRIX 6.2 and later do not support large files by default,
6469 # so use the C compiler's -n32 option if that helps. 6512 # so use the C compiler's -n32 option if that helps.
6470 cat > conftest.$ac_ext <<EOF 6513 cat > conftest.$ac_ext <<EOF
6471#line 6472 "configure" 6514#line 6515 "configure"
6472#include "confdefs.h" 6515#include "confdefs.h"
6473#include <sys/types.h> 6516#include <sys/types.h>
6474 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; 6517 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
@@ -6477,7 +6520,7 @@ int main() {
6477 6520
6478; return 0; } 6521; return 0; }
6479EOF 6522EOF
6480if { (eval echo configure:6481: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 6523if { (eval echo configure:6524: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6481 : 6524 :
6482else 6525else
6483 echo "configure: failed program was:" >&5 6526 echo "configure: failed program was:" >&5
@@ -6486,7 +6529,7 @@ else
6486 ac_save_CC="$CC" 6529 ac_save_CC="$CC"
6487 CC="$CC -n32" 6530 CC="$CC -n32"
6488 cat > conftest.$ac_ext <<EOF 6531 cat > conftest.$ac_ext <<EOF
6489#line 6490 "configure" 6532#line 6533 "configure"
6490#include "confdefs.h" 6533#include "confdefs.h"
6491#include <sys/types.h> 6534#include <sys/types.h>
6492 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; 6535 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
@@ -6495,7 +6538,7 @@ int main() {
6495 6538
6496; return 0; } 6539; return 0; }
6497EOF 6540EOF
6498if { (eval echo configure:6499: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 6541if { (eval echo configure:6542: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6499 rm -rf conftest* 6542 rm -rf conftest*
6500 ac_cv_sys_largefile_CC=' -n32' 6543 ac_cv_sys_largefile_CC=' -n32'
6501else 6544else
@@ -6515,13 +6558,13 @@ echo "$ac_t""$ac_cv_sys_largefile_CC" 1>&6
6515 fi 6558 fi
6516 6559
6517 echo $ac_n "checking for _FILE_OFFSET_BITS value needed for large files""... $ac_c" 1>&6 6560 echo $ac_n "checking for _FILE_OFFSET_BITS value needed for large files""... $ac_c" 1>&6
6518echo "configure:6519: checking for _FILE_OFFSET_BITS value needed for large files" >&5 6561echo "configure:6562: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6519if eval "test \"`echo '$''{'ac_cv_sys_file_offset_bits'+set}'`\" = set"; then 6562if eval "test \"`echo '$''{'ac_cv_sys_file_offset_bits'+set}'`\" = set"; then
6520 echo $ac_n "(cached) $ac_c" 1>&6 6563 echo $ac_n "(cached) $ac_c" 1>&6
6521else 6564else
6522 ac_cv_sys_file_offset_bits=no 6565 ac_cv_sys_file_offset_bits=no
6523 cat > conftest.$ac_ext <<EOF 6566 cat > conftest.$ac_ext <<EOF
6524#line 6525 "configure" 6567#line 6568 "configure"
6525#include "confdefs.h" 6568#include "confdefs.h"
6526#include <sys/types.h> 6569#include <sys/types.h>
6527 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; 6570 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
@@ -6532,14 +6575,14 @@ int main() {
6532 6575
6533; return 0; } 6576; return 0; }
6534EOF 6577EOF
6535if { (eval echo configure:6536: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 6578if { (eval echo configure:6579: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6536 : 6579 :
6537else 6580else
6538 echo "configure: failed program was:" >&5 6581 echo "configure: failed program was:" >&5
6539 cat conftest.$ac_ext >&5 6582 cat conftest.$ac_ext >&5
6540 rm -rf conftest* 6583 rm -rf conftest*
6541 cat > conftest.$ac_ext <<EOF 6584 cat > conftest.$ac_ext <<EOF
6542#line 6543 "configure" 6585#line 6586 "configure"
6543#include "confdefs.h" 6586#include "confdefs.h"
6544#define _FILE_OFFSET_BITS 64 6587#define _FILE_OFFSET_BITS 64
6545#include <sys/types.h> 6588#include <sys/types.h>
@@ -6551,7 +6594,7 @@ int main() {
6551 6594
6552; return 0; } 6595; return 0; }
6553EOF 6596EOF
6554if { (eval echo configure:6555: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 6597if { (eval echo configure:6598: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6555 rm -rf conftest* 6598 rm -rf conftest*
6556 ac_cv_sys_file_offset_bits=64 6599 ac_cv_sys_file_offset_bits=64
6557else 6600else
@@ -6571,13 +6614,13 @@ EOF
6571 6614
6572 fi 6615 fi
6573 echo $ac_n "checking for _LARGEFILE_SOURCE value needed for large files""... $ac_c" 1>&6 6616 echo $ac_n "checking for _LARGEFILE_SOURCE value needed for large files""... $ac_c" 1>&6
6574echo "configure:6575: checking for _LARGEFILE_SOURCE value needed for large files" >&5 6617echo "configure:6618: checking for _LARGEFILE_SOURCE value needed for large files" >&5
6575if eval "test \"`echo '$''{'ac_cv_sys_largefile_source'+set}'`\" = set"; then 6618if eval "test \"`echo '$''{'ac_cv_sys_largefile_source'+set}'`\" = set"; then
6576 echo $ac_n "(cached) $ac_c" 1>&6 6619 echo $ac_n "(cached) $ac_c" 1>&6
6577else 6620else
6578 ac_cv_sys_largefile_source=no 6621 ac_cv_sys_largefile_source=no
6579 cat > conftest.$ac_ext <<EOF 6622 cat > conftest.$ac_ext <<EOF
6580#line 6581 "configure" 6623#line 6624 "configure"
6581#include "confdefs.h" 6624#include "confdefs.h"
6582#include <sys/types.h> 6625#include <sys/types.h>
6583 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; 6626 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
@@ -6588,14 +6631,14 @@ int main() {
6588return !ftello; 6631return !ftello;
6589; return 0; } 6632; return 0; }
6590EOF 6633EOF
6591if { (eval echo configure:6592: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 6634if { (eval echo configure:6635: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6592 : 6635 :
6593else 6636else
6594 echo "configure: failed program was:" >&5 6637 echo "configure: failed program was:" >&5
6595 cat conftest.$ac_ext >&5 6638 cat conftest.$ac_ext >&5
6596 rm -rf conftest* 6639 rm -rf conftest*
6597 cat > conftest.$ac_ext <<EOF 6640 cat > conftest.$ac_ext <<EOF
6598#line 6599 "configure" 6641#line 6642 "configure"
6599#include "confdefs.h" 6642#include "confdefs.h"
6600#define _LARGEFILE_SOURCE 1 6643#define _LARGEFILE_SOURCE 1
6601#include <sys/types.h> 6644#include <sys/types.h>
@@ -6607,7 +6650,7 @@ int main() {
6607return !ftello; 6650return !ftello;
6608; return 0; } 6651; return 0; }
6609EOF 6652EOF
6610if { (eval echo configure:6611: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 6653if { (eval echo configure:6654: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6611 rm -rf conftest* 6654 rm -rf conftest*
6612 ac_cv_sys_largefile_source=1 6655 ac_cv_sys_largefile_source=1
6613else 6656else
@@ -6627,13 +6670,13 @@ EOF
6627 6670
6628 fi 6671 fi
6629 echo $ac_n "checking for _LARGE_FILES value needed for large files""... $ac_c" 1>&6 6672 echo $ac_n "checking for _LARGE_FILES value needed for large files""... $ac_c" 1>&6
6630echo "configure:6631: checking for _LARGE_FILES value needed for large files" >&5 6673echo "configure:6674: checking for _LARGE_FILES value needed for large files" >&5
6631if eval "test \"`echo '$''{'ac_cv_sys_large_files'+set}'`\" = set"; then 6674if eval "test \"`echo '$''{'ac_cv_sys_large_files'+set}'`\" = set"; then
6632 echo $ac_n "(cached) $ac_c" 1>&6 6675 echo $ac_n "(cached) $ac_c" 1>&6
6633else 6676else
6634 ac_cv_sys_large_files=no 6677 ac_cv_sys_large_files=no
6635 cat > conftest.$ac_ext <<EOF 6678 cat > conftest.$ac_ext <<EOF
6636#line 6637 "configure" 6679#line 6680 "configure"
6637#include "confdefs.h" 6680#include "confdefs.h"
6638#include <sys/types.h> 6681#include <sys/types.h>
6639 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; 6682 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
@@ -6644,14 +6687,14 @@ int main() {
6644 6687
6645; return 0; } 6688; return 0; }
6646EOF 6689EOF
6647if { (eval echo configure:6648: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 6690if { (eval echo configure:6691: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6648 : 6691 :
6649else 6692else
6650 echo "configure: failed program was:" >&5 6693 echo "configure: failed program was:" >&5
6651 cat conftest.$ac_ext >&5 6694 cat conftest.$ac_ext >&5
6652 rm -rf conftest* 6695 rm -rf conftest*
6653 cat > conftest.$ac_ext <<EOF 6696 cat > conftest.$ac_ext <<EOF
6654#line 6655 "configure" 6697#line 6698 "configure"
6655#include "confdefs.h" 6698#include "confdefs.h"
6656#define _LARGE_FILES 1 6699#define _LARGE_FILES 1
6657#include <sys/types.h> 6700#include <sys/types.h>
@@ -6663,7 +6706,7 @@ int main() {
6663 6706
6664; return 0; } 6707; return 0; }
6665EOF 6708EOF
6666if { (eval echo configure:6667: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 6709if { (eval echo configure:6710: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6667 rm -rf conftest* 6710 rm -rf conftest*
6668 ac_cv_sys_large_files=1 6711 ac_cv_sys_large_files=1
6669else 6712else
@@ -6683,13 +6726,13 @@ EOF
6683 6726
6684 fi 6727 fi
6685 echo $ac_n "checking for _XOPEN_SOURCE value needed for large files""... $ac_c" 1>&6 6728 echo $ac_n "checking for _XOPEN_SOURCE value needed for large files""... $ac_c" 1>&6
6686echo "configure:6687: checking for _XOPEN_SOURCE value needed for large files" >&5 6729echo "configure:6730: checking for _XOPEN_SOURCE value needed for large files" >&5
6687if eval "test \"`echo '$''{'ac_cv_sys_xopen_source'+set}'`\" = set"; then 6730if eval "test \"`echo '$''{'ac_cv_sys_xopen_source'+set}'`\" = set"; then
6688 echo $ac_n "(cached) $ac_c" 1>&6 6731 echo $ac_n "(cached) $ac_c" 1>&6
6689else 6732else
6690 ac_cv_sys_xopen_source=no 6733 ac_cv_sys_xopen_source=no
6691 cat > conftest.$ac_ext <<EOF 6734 cat > conftest.$ac_ext <<EOF
6692#line 6693 "configure" 6735#line 6736 "configure"
6693#include "confdefs.h" 6736#include "confdefs.h"
6694#include <sys/types.h> 6737#include <sys/types.h>
6695 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; 6738 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
@@ -6700,14 +6743,14 @@ int main() {
6700return !ftello; 6743return !ftello;
6701; return 0; } 6744; return 0; }
6702EOF 6745EOF
6703if { (eval echo configure:6704: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 6746if { (eval echo configure:6747: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6704 : 6747 :
6705else 6748else
6706 echo "configure: failed program was:" >&5 6749 echo "configure: failed program was:" >&5
6707 cat conftest.$ac_ext >&5 6750 cat conftest.$ac_ext >&5
6708 rm -rf conftest* 6751 rm -rf conftest*
6709 cat > conftest.$ac_ext <<EOF 6752 cat > conftest.$ac_ext <<EOF
6710#line 6711 "configure" 6753#line 6754 "configure"
6711#include "confdefs.h" 6754#include "confdefs.h"
6712#define _XOPEN_SOURCE 500 6755#define _XOPEN_SOURCE 500
6713#include <sys/types.h> 6756#include <sys/types.h>
@@ -6719,7 +6762,7 @@ int main() {
6719return !ftello; 6762return !ftello;
6720; return 0; } 6763; return 0; }
6721EOF 6764EOF
6722if { (eval echo configure:6723: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 6765if { (eval echo configure:6766: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6723 rm -rf conftest* 6766 rm -rf conftest*
6724 ac_cv_sys_xopen_source=500 6767 ac_cv_sys_xopen_source=500
6725else 6768else
@@ -6743,12 +6786,12 @@ EOF
6743for ac_func in ftello 6786for ac_func in ftello
6744do 6787do
6745echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 6788echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6746echo "configure:6747: checking for $ac_func" >&5 6789echo "configure:6790: checking for $ac_func" >&5
6747if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 6790if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6748 echo $ac_n "(cached) $ac_c" 1>&6 6791 echo $ac_n "(cached) $ac_c" 1>&6
6749else 6792else
6750 cat > conftest.$ac_ext <<EOF 6793 cat > conftest.$ac_ext <<EOF
6751#line 6752 "configure" 6794#line 6795 "configure"
6752#include "confdefs.h" 6795#include "confdefs.h"
6753/* System header to define __stub macros and hopefully few prototypes, 6796/* System header to define __stub macros and hopefully few prototypes,
6754 which can conflict with char $ac_func(); below. */ 6797 which can conflict with char $ac_func(); below. */
@@ -6771,7 +6814,7 @@ $ac_func();
6771 6814
6772; return 0; } 6815; return 0; }
6773EOF 6816EOF
6774if { (eval echo configure:6775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6817if { (eval echo configure:6818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6775 rm -rf conftest* 6818 rm -rf conftest*
6776 eval "ac_cv_func_$ac_func=yes" 6819 eval "ac_cv_func_$ac_func=yes"
6777else 6820else
@@ -6801,12 +6844,12 @@ done
6801for ac_func in grantpt 6844for ac_func in grantpt
6802do 6845do
6803echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 6846echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6804echo "configure:6805: checking for $ac_func" >&5 6847echo "configure:6848: checking for $ac_func" >&5
6805if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 6848if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6806 echo $ac_n "(cached) $ac_c" 1>&6 6849 echo $ac_n "(cached) $ac_c" 1>&6
6807else 6850else
6808 cat > conftest.$ac_ext <<EOF 6851 cat > conftest.$ac_ext <<EOF
6809#line 6810 "configure" 6852#line 6853 "configure"
6810#include "confdefs.h" 6853#include "confdefs.h"
6811/* System header to define __stub macros and hopefully few prototypes, 6854/* System header to define __stub macros and hopefully few prototypes,
6812 which can conflict with char $ac_func(); below. */ 6855 which can conflict with char $ac_func(); below. */
@@ -6829,7 +6872,7 @@ $ac_func();
6829 6872
6830; return 0; } 6873; return 0; }
6831EOF 6874EOF
6832if { (eval echo configure:6833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6875if { (eval echo configure:6876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6833 rm -rf conftest* 6876 rm -rf conftest*
6834 eval "ac_cv_func_$ac_func=yes" 6877 eval "ac_cv_func_$ac_func=yes"
6835else 6878else
@@ -6858,12 +6901,12 @@ done
6858for ac_func in getpt 6901for ac_func in getpt
6859do 6902do
6860echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 6903echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6861echo "configure:6862: checking for $ac_func" >&5 6904echo "configure:6905: checking for $ac_func" >&5
6862if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 6905if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6863 echo $ac_n "(cached) $ac_c" 1>&6 6906 echo $ac_n "(cached) $ac_c" 1>&6
6864else 6907else
6865 cat > conftest.$ac_ext <<EOF 6908 cat > conftest.$ac_ext <<EOF
6866#line 6867 "configure" 6909#line 6910 "configure"
6867#include "confdefs.h" 6910#include "confdefs.h"
6868/* System header to define __stub macros and hopefully few prototypes, 6911/* System header to define __stub macros and hopefully few prototypes,
6869 which can conflict with char $ac_func(); below. */ 6912 which can conflict with char $ac_func(); below. */
@@ -6886,7 +6929,7 @@ $ac_func();
6886 6929
6887; return 0; } 6930; return 0; }
6888EOF 6931EOF
6889if { (eval echo configure:6890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6932if { (eval echo configure:6933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6890 rm -rf conftest* 6933 rm -rf conftest*
6891 eval "ac_cv_func_$ac_func=yes" 6934 eval "ac_cv_func_$ac_func=yes"
6892else 6935else
@@ -6916,7 +6959,7 @@ done
6916# It's better to believe a function is not available 6959# It's better to believe a function is not available
6917# than to expect to find it in ncurses. 6960# than to expect to find it in ncurses.
6918echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6 6961echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6
6919echo "configure:6920: checking for tparm in -lncurses" >&5 6962echo "configure:6963: checking for tparm in -lncurses" >&5
6920ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'` 6963ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'`
6921if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6964if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6922 echo $ac_n "(cached) $ac_c" 1>&6 6965 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6924,7 +6967,7 @@ else
6924 ac_save_LIBS="$LIBS" 6967 ac_save_LIBS="$LIBS"
6925LIBS="-lncurses $LIBS" 6968LIBS="-lncurses $LIBS"
6926cat > conftest.$ac_ext <<EOF 6969cat > conftest.$ac_ext <<EOF
6927#line 6928 "configure" 6970#line 6971 "configure"
6928#include "confdefs.h" 6971#include "confdefs.h"
6929/* Override any gcc2 internal prototype to avoid an error. */ 6972/* Override any gcc2 internal prototype to avoid an error. */
6930/* We use char because int might match the return type of a gcc2 6973/* We use char because int might match the return type of a gcc2
@@ -6935,7 +6978,7 @@ int main() {
6935tparm() 6978tparm()
6936; return 0; } 6979; return 0; }
6937EOF 6980EOF
6938if { (eval echo configure:6939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6981if { (eval echo configure:6982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6939 rm -rf conftest* 6982 rm -rf conftest*
6940 eval "ac_cv_lib_$ac_lib_var=yes" 6983 eval "ac_cv_lib_$ac_lib_var=yes"
6941else 6984else
@@ -6966,7 +7009,7 @@ fi
6966# These tell us which Kerberos-related libraries to use. 7009# These tell us which Kerberos-related libraries to use.
6967if test "${with_kerberos+set}" = set; then 7010if test "${with_kerberos+set}" = set; then
6968 echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6 7011 echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6
6969echo "configure:6970: checking for com_err in -lcom_err" >&5 7012echo "configure:7013: checking for com_err in -lcom_err" >&5
6970ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'` 7013ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'`
6971if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7014if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6972 echo $ac_n "(cached) $ac_c" 1>&6 7015 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6974,7 +7017,7 @@ else
6974 ac_save_LIBS="$LIBS" 7017 ac_save_LIBS="$LIBS"
6975LIBS="-lcom_err $LIBS" 7018LIBS="-lcom_err $LIBS"
6976cat > conftest.$ac_ext <<EOF 7019cat > conftest.$ac_ext <<EOF
6977#line 6978 "configure" 7020#line 7021 "configure"
6978#include "confdefs.h" 7021#include "confdefs.h"
6979/* Override any gcc2 internal prototype to avoid an error. */ 7022/* Override any gcc2 internal prototype to avoid an error. */
6980/* We use char because int might match the return type of a gcc2 7023/* We use char because int might match the return type of a gcc2
@@ -6985,7 +7028,7 @@ int main() {
6985com_err() 7028com_err()
6986; return 0; } 7029; return 0; }
6987EOF 7030EOF
6988if { (eval echo configure:6989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7031if { (eval echo configure:7032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6989 rm -rf conftest* 7032 rm -rf conftest*
6990 eval "ac_cv_lib_$ac_lib_var=yes" 7033 eval "ac_cv_lib_$ac_lib_var=yes"
6991else 7034else
@@ -7013,7 +7056,7 @@ else
7013fi 7056fi
7014 7057
7015 echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6 7058 echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6
7016echo "configure:7017: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 7059echo "configure:7060: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
7017ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` 7060ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'`
7018if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7061if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7019 echo $ac_n "(cached) $ac_c" 1>&6 7062 echo $ac_n "(cached) $ac_c" 1>&6
@@ -7021,7 +7064,7 @@ else
7021 ac_save_LIBS="$LIBS" 7064 ac_save_LIBS="$LIBS"
7022LIBS="-lk5crypto $LIBS" 7065LIBS="-lk5crypto $LIBS"
7023cat > conftest.$ac_ext <<EOF 7066cat > conftest.$ac_ext <<EOF
7024#line 7025 "configure" 7067#line 7068 "configure"
7025#include "confdefs.h" 7068#include "confdefs.h"
7026/* Override any gcc2 internal prototype to avoid an error. */ 7069/* Override any gcc2 internal prototype to avoid an error. */
7027/* We use char because int might match the return type of a gcc2 7070/* We use char because int might match the return type of a gcc2
@@ -7032,7 +7075,7 @@ int main() {
7032mit_des_cbc_encrypt() 7075mit_des_cbc_encrypt()
7033; return 0; } 7076; return 0; }
7034EOF 7077EOF
7035if { (eval echo configure:7036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7078if { (eval echo configure:7079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7036 rm -rf conftest* 7079 rm -rf conftest*
7037 eval "ac_cv_lib_$ac_lib_var=yes" 7080 eval "ac_cv_lib_$ac_lib_var=yes"
7038else 7081else
@@ -7060,7 +7103,7 @@ else
7060fi 7103fi
7061 7104
7062 echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6 7105 echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6
7063echo "configure:7064: checking for mit_des_cbc_encrypt in -lcrypto" >&5 7106echo "configure:7107: checking for mit_des_cbc_encrypt in -lcrypto" >&5
7064ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` 7107ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'`
7065if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7108if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7066 echo $ac_n "(cached) $ac_c" 1>&6 7109 echo $ac_n "(cached) $ac_c" 1>&6
@@ -7068,7 +7111,7 @@ else
7068 ac_save_LIBS="$LIBS" 7111 ac_save_LIBS="$LIBS"
7069LIBS="-lcrypto $LIBS" 7112LIBS="-lcrypto $LIBS"
7070cat > conftest.$ac_ext <<EOF 7113cat > conftest.$ac_ext <<EOF
7071#line 7072 "configure" 7114#line 7115 "configure"
7072#include "confdefs.h" 7115#include "confdefs.h"
7073/* Override any gcc2 internal prototype to avoid an error. */ 7116/* Override any gcc2 internal prototype to avoid an error. */
7074/* We use char because int might match the return type of a gcc2 7117/* We use char because int might match the return type of a gcc2
@@ -7079,7 +7122,7 @@ int main() {
7079mit_des_cbc_encrypt() 7122mit_des_cbc_encrypt()
7080; return 0; } 7123; return 0; }
7081EOF 7124EOF
7082if { (eval echo configure:7083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7125if { (eval echo configure:7126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7083 rm -rf conftest* 7126 rm -rf conftest*
7084 eval "ac_cv_lib_$ac_lib_var=yes" 7127 eval "ac_cv_lib_$ac_lib_var=yes"
7085else 7128else
@@ -7107,7 +7150,7 @@ else
7107fi 7150fi
7108 7151
7109 echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6 7152 echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6
7110echo "configure:7111: checking for krb5_init_context in -lkrb5" >&5 7153echo "configure:7154: checking for krb5_init_context in -lkrb5" >&5
7111ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'` 7154ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'`
7112if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7155if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7113 echo $ac_n "(cached) $ac_c" 1>&6 7156 echo $ac_n "(cached) $ac_c" 1>&6
@@ -7115,7 +7158,7 @@ else
7115 ac_save_LIBS="$LIBS" 7158 ac_save_LIBS="$LIBS"
7116LIBS="-lkrb5 $LIBS" 7159LIBS="-lkrb5 $LIBS"
7117cat > conftest.$ac_ext <<EOF 7160cat > conftest.$ac_ext <<EOF
7118#line 7119 "configure" 7161#line 7162 "configure"
7119#include "confdefs.h" 7162#include "confdefs.h"
7120/* Override any gcc2 internal prototype to avoid an error. */ 7163/* Override any gcc2 internal prototype to avoid an error. */
7121/* We use char because int might match the return type of a gcc2 7164/* We use char because int might match the return type of a gcc2
@@ -7126,7 +7169,7 @@ int main() {
7126krb5_init_context() 7169krb5_init_context()
7127; return 0; } 7170; return 0; }
7128EOF 7171EOF
7129if { (eval echo configure:7130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7172if { (eval echo configure:7173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7130 rm -rf conftest* 7173 rm -rf conftest*
7131 eval "ac_cv_lib_$ac_lib_var=yes" 7174 eval "ac_cv_lib_$ac_lib_var=yes"
7132else 7175else
@@ -7155,7 +7198,7 @@ fi
7155 7198
7156 if test "${with_kerberos5+set}" != set; then 7199 if test "${with_kerberos5+set}" != set; then
7157 echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6 7200 echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6
7158echo "configure:7159: checking for des_cbc_encrypt in -ldes425" >&5 7201echo "configure:7202: checking for des_cbc_encrypt in -ldes425" >&5
7159ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` 7202ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'`
7160if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7203if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7161 echo $ac_n "(cached) $ac_c" 1>&6 7204 echo $ac_n "(cached) $ac_c" 1>&6
@@ -7163,7 +7206,7 @@ else
7163 ac_save_LIBS="$LIBS" 7206 ac_save_LIBS="$LIBS"
7164LIBS="-ldes425 $LIBS" 7207LIBS="-ldes425 $LIBS"
7165cat > conftest.$ac_ext <<EOF 7208cat > conftest.$ac_ext <<EOF
7166#line 7167 "configure" 7209#line 7210 "configure"
7167#include "confdefs.h" 7210#include "confdefs.h"
7168/* Override any gcc2 internal prototype to avoid an error. */ 7211/* Override any gcc2 internal prototype to avoid an error. */
7169/* We use char because int might match the return type of a gcc2 7212/* We use char because int might match the return type of a gcc2
@@ -7174,7 +7217,7 @@ int main() {
7174des_cbc_encrypt() 7217des_cbc_encrypt()
7175; return 0; } 7218; return 0; }
7176EOF 7219EOF
7177if { (eval echo configure:7178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7220if { (eval echo configure:7221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7178 rm -rf conftest* 7221 rm -rf conftest*
7179 eval "ac_cv_lib_$ac_lib_var=yes" 7222 eval "ac_cv_lib_$ac_lib_var=yes"
7180else 7223else
@@ -7200,7 +7243,7 @@ EOF
7200else 7243else
7201 echo "$ac_t""no" 1>&6 7244 echo "$ac_t""no" 1>&6
7202echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6 7245echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6
7203echo "configure:7204: checking for des_cbc_encrypt in -ldes" >&5 7246echo "configure:7247: checking for des_cbc_encrypt in -ldes" >&5
7204ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` 7247ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'`
7205if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7248if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7206 echo $ac_n "(cached) $ac_c" 1>&6 7249 echo $ac_n "(cached) $ac_c" 1>&6
@@ -7208,7 +7251,7 @@ else
7208 ac_save_LIBS="$LIBS" 7251 ac_save_LIBS="$LIBS"
7209LIBS="-ldes $LIBS" 7252LIBS="-ldes $LIBS"
7210cat > conftest.$ac_ext <<EOF 7253cat > conftest.$ac_ext <<EOF
7211#line 7212 "configure" 7254#line 7255 "configure"
7212#include "confdefs.h" 7255#include "confdefs.h"
7213/* Override any gcc2 internal prototype to avoid an error. */ 7256/* Override any gcc2 internal prototype to avoid an error. */
7214/* We use char because int might match the return type of a gcc2 7257/* We use char because int might match the return type of a gcc2
@@ -7219,7 +7262,7 @@ int main() {
7219des_cbc_encrypt() 7262des_cbc_encrypt()
7220; return 0; } 7263; return 0; }
7221EOF 7264EOF
7222if { (eval echo configure:7223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7265if { (eval echo configure:7266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7223 rm -rf conftest* 7266 rm -rf conftest*
7224 eval "ac_cv_lib_$ac_lib_var=yes" 7267 eval "ac_cv_lib_$ac_lib_var=yes"
7225else 7268else
@@ -7249,7 +7292,7 @@ fi
7249fi 7292fi
7250 7293
7251 echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6 7294 echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6
7252echo "configure:7253: checking for krb_get_cred in -lkrb4" >&5 7295echo "configure:7296: checking for krb_get_cred in -lkrb4" >&5
7253ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'` 7296ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'`
7254if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7297if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7255 echo $ac_n "(cached) $ac_c" 1>&6 7298 echo $ac_n "(cached) $ac_c" 1>&6
@@ -7257,7 +7300,7 @@ else
7257 ac_save_LIBS="$LIBS" 7300 ac_save_LIBS="$LIBS"
7258LIBS="-lkrb4 $LIBS" 7301LIBS="-lkrb4 $LIBS"
7259cat > conftest.$ac_ext <<EOF 7302cat > conftest.$ac_ext <<EOF
7260#line 7261 "configure" 7303#line 7304 "configure"
7261#include "confdefs.h" 7304#include "confdefs.h"
7262/* Override any gcc2 internal prototype to avoid an error. */ 7305/* Override any gcc2 internal prototype to avoid an error. */
7263/* We use char because int might match the return type of a gcc2 7306/* We use char because int might match the return type of a gcc2
@@ -7268,7 +7311,7 @@ int main() {
7268krb_get_cred() 7311krb_get_cred()
7269; return 0; } 7312; return 0; }
7270EOF 7313EOF
7271if { (eval echo configure:7272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7314if { (eval echo configure:7315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7272 rm -rf conftest* 7315 rm -rf conftest*
7273 eval "ac_cv_lib_$ac_lib_var=yes" 7316 eval "ac_cv_lib_$ac_lib_var=yes"
7274else 7317else
@@ -7294,7 +7337,7 @@ EOF
7294else 7337else
7295 echo "$ac_t""no" 1>&6 7338 echo "$ac_t""no" 1>&6
7296echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6 7339echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6
7297echo "configure:7298: checking for krb_get_cred in -lkrb" >&5 7340echo "configure:7341: checking for krb_get_cred in -lkrb" >&5
7298ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'` 7341ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'`
7299if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7342if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7300 echo $ac_n "(cached) $ac_c" 1>&6 7343 echo $ac_n "(cached) $ac_c" 1>&6
@@ -7302,7 +7345,7 @@ else
7302 ac_save_LIBS="$LIBS" 7345 ac_save_LIBS="$LIBS"
7303LIBS="-lkrb $LIBS" 7346LIBS="-lkrb $LIBS"
7304cat > conftest.$ac_ext <<EOF 7347cat > conftest.$ac_ext <<EOF
7305#line 7306 "configure" 7348#line 7349 "configure"
7306#include "confdefs.h" 7349#include "confdefs.h"
7307/* Override any gcc2 internal prototype to avoid an error. */ 7350/* Override any gcc2 internal prototype to avoid an error. */
7308/* We use char because int might match the return type of a gcc2 7351/* We use char because int might match the return type of a gcc2
@@ -7313,7 +7356,7 @@ int main() {
7313krb_get_cred() 7356krb_get_cred()
7314; return 0; } 7357; return 0; }
7315EOF 7358EOF
7316if { (eval echo configure:7317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7359if { (eval echo configure:7360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7317 rm -rf conftest* 7360 rm -rf conftest*
7318 eval "ac_cv_lib_$ac_lib_var=yes" 7361 eval "ac_cv_lib_$ac_lib_var=yes"
7319else 7362else
@@ -7349,17 +7392,17 @@ fi
7349do 7392do
7350ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7393ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7351echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7394echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7352echo "configure:7353: checking for $ac_hdr" >&5 7395echo "configure:7396: checking for $ac_hdr" >&5
7353if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7396if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7354 echo $ac_n "(cached) $ac_c" 1>&6 7397 echo $ac_n "(cached) $ac_c" 1>&6
7355else 7398else
7356 cat > conftest.$ac_ext <<EOF 7399 cat > conftest.$ac_ext <<EOF
7357#line 7358 "configure" 7400#line 7401 "configure"
7358#include "confdefs.h" 7401#include "confdefs.h"
7359#include <$ac_hdr> 7402#include <$ac_hdr>
7360EOF 7403EOF
7361ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7404ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7362{ (eval echo configure:7363: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7405{ (eval echo configure:7406: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7363ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7406ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7364if test -z "$ac_err"; then 7407if test -z "$ac_err"; then
7365 rm -rf conftest* 7408 rm -rf conftest*
@@ -7390,17 +7433,17 @@ done
7390do 7433do
7391ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7434ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7392echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7435echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7393echo "configure:7394: checking for $ac_hdr" >&5 7436echo "configure:7437: checking for $ac_hdr" >&5
7394if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7437if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7395 echo $ac_n "(cached) $ac_c" 1>&6 7438 echo $ac_n "(cached) $ac_c" 1>&6
7396else 7439else
7397 cat > conftest.$ac_ext <<EOF 7440 cat > conftest.$ac_ext <<EOF
7398#line 7399 "configure" 7441#line 7442 "configure"
7399#include "confdefs.h" 7442#include "confdefs.h"
7400#include <$ac_hdr> 7443#include <$ac_hdr>
7401EOF 7444EOF
7402ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7445ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7403{ (eval echo configure:7404: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7446{ (eval echo configure:7447: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7404ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7447ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7405if test -z "$ac_err"; then 7448if test -z "$ac_err"; then
7406 rm -rf conftest* 7449 rm -rf conftest*
@@ -7427,17 +7470,17 @@ for ac_hdr in kerberosIV/des.h
7427do 7470do
7428ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7471ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7429echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7472echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7430echo "configure:7431: checking for $ac_hdr" >&5 7473echo "configure:7474: checking for $ac_hdr" >&5
7431if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7474if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7432 echo $ac_n "(cached) $ac_c" 1>&6 7475 echo $ac_n "(cached) $ac_c" 1>&6
7433else 7476else
7434 cat > conftest.$ac_ext <<EOF 7477 cat > conftest.$ac_ext <<EOF
7435#line 7436 "configure" 7478#line 7479 "configure"
7436#include "confdefs.h" 7479#include "confdefs.h"
7437#include <$ac_hdr> 7480#include <$ac_hdr>
7438EOF 7481EOF
7439ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7482ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7440{ (eval echo configure:7441: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7483{ (eval echo configure:7484: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7441ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7484ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7442if test -z "$ac_err"; then 7485if test -z "$ac_err"; then
7443 rm -rf conftest* 7486 rm -rf conftest*
@@ -7464,17 +7507,17 @@ for ac_hdr in kerberos/des.h
7464do 7507do
7465ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7508ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7466echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7509echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7467echo "configure:7468: checking for $ac_hdr" >&5 7510echo "configure:7511: checking for $ac_hdr" >&5
7468if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7511if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7469 echo $ac_n "(cached) $ac_c" 1>&6 7512 echo $ac_n "(cached) $ac_c" 1>&6
7470else 7513else
7471 cat > conftest.$ac_ext <<EOF 7514 cat > conftest.$ac_ext <<EOF
7472#line 7473 "configure" 7515#line 7516 "configure"
7473#include "confdefs.h" 7516#include "confdefs.h"
7474#include <$ac_hdr> 7517#include <$ac_hdr>
7475EOF 7518EOF
7476ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7519ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7477{ (eval echo configure:7478: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7520{ (eval echo configure:7521: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7478ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7521ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7479if test -z "$ac_err"; then 7522if test -z "$ac_err"; then
7480 rm -rf conftest* 7523 rm -rf conftest*
@@ -7510,17 +7553,17 @@ done
7510do 7553do
7511ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7554ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7512echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7555echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7513echo "configure:7514: checking for $ac_hdr" >&5 7556echo "configure:7557: checking for $ac_hdr" >&5
7514if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7557if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7515 echo $ac_n "(cached) $ac_c" 1>&6 7558 echo $ac_n "(cached) $ac_c" 1>&6
7516else 7559else
7517 cat > conftest.$ac_ext <<EOF 7560 cat > conftest.$ac_ext <<EOF
7518#line 7519 "configure" 7561#line 7562 "configure"
7519#include "confdefs.h" 7562#include "confdefs.h"
7520#include <$ac_hdr> 7563#include <$ac_hdr>
7521EOF 7564EOF
7522ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7565ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7523{ (eval echo configure:7524: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7566{ (eval echo configure:7567: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7524ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7567ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7525if test -z "$ac_err"; then 7568if test -z "$ac_err"; then
7526 rm -rf conftest* 7569 rm -rf conftest*
@@ -7547,17 +7590,17 @@ for ac_hdr in kerberosIV/krb.h
7547do 7590do
7548ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7591ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7549echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7592echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7550echo "configure:7551: checking for $ac_hdr" >&5 7593echo "configure:7594: checking for $ac_hdr" >&5
7551if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7594if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7552 echo $ac_n "(cached) $ac_c" 1>&6 7595 echo $ac_n "(cached) $ac_c" 1>&6
7553else 7596else
7554 cat > conftest.$ac_ext <<EOF 7597 cat > conftest.$ac_ext <<EOF
7555#line 7556 "configure" 7598#line 7599 "configure"
7556#include "confdefs.h" 7599#include "confdefs.h"
7557#include <$ac_hdr> 7600#include <$ac_hdr>
7558EOF 7601EOF
7559ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7602ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7560{ (eval echo configure:7561: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7603{ (eval echo configure:7604: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7561ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7604ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7562if test -z "$ac_err"; then 7605if test -z "$ac_err"; then
7563 rm -rf conftest* 7606 rm -rf conftest*
@@ -7584,17 +7627,17 @@ for ac_hdr in kerberos/krb.h
7584do 7627do
7585ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7628ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7586echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7629echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7587echo "configure:7588: checking for $ac_hdr" >&5 7630echo "configure:7631: checking for $ac_hdr" >&5
7588if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7631if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7589 echo $ac_n "(cached) $ac_c" 1>&6 7632 echo $ac_n "(cached) $ac_c" 1>&6
7590else 7633else
7591 cat > conftest.$ac_ext <<EOF 7634 cat > conftest.$ac_ext <<EOF
7592#line 7593 "configure" 7635#line 7636 "configure"
7593#include "confdefs.h" 7636#include "confdefs.h"
7594#include <$ac_hdr> 7637#include <$ac_hdr>
7595EOF 7638EOF
7596ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7639ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7597{ (eval echo configure:7598: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7640{ (eval echo configure:7641: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7598ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7641ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7599if test -z "$ac_err"; then 7642if test -z "$ac_err"; then
7600 rm -rf conftest* 7643 rm -rf conftest*
@@ -7631,17 +7674,17 @@ done
7631do 7674do
7632ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7675ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7633echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7676echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7634echo "configure:7635: checking for $ac_hdr" >&5 7677echo "configure:7678: checking for $ac_hdr" >&5
7635if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7678if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7636 echo $ac_n "(cached) $ac_c" 1>&6 7679 echo $ac_n "(cached) $ac_c" 1>&6
7637else 7680else
7638 cat > conftest.$ac_ext <<EOF 7681 cat > conftest.$ac_ext <<EOF
7639#line 7640 "configure" 7682#line 7683 "configure"
7640#include "confdefs.h" 7683#include "confdefs.h"
7641#include <$ac_hdr> 7684#include <$ac_hdr>
7642EOF 7685EOF
7643ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7686ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7644{ (eval echo configure:7645: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7687{ (eval echo configure:7688: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7645ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7688ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7646if test -z "$ac_err"; then 7689if test -z "$ac_err"; then
7647 rm -rf conftest* 7690 rm -rf conftest*
@@ -7672,7 +7715,7 @@ fi
7672# Solaris requires -lintl if you want strerror (which calls dgettext) 7715# Solaris requires -lintl if you want strerror (which calls dgettext)
7673# to return localized messages. 7716# to return localized messages.
7674echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6 7717echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6
7675echo "configure:7676: checking for dgettext in -lintl" >&5 7718echo "configure:7719: checking for dgettext in -lintl" >&5
7676ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'` 7719ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'`
7677if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7720if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7678 echo $ac_n "(cached) $ac_c" 1>&6 7721 echo $ac_n "(cached) $ac_c" 1>&6
@@ -7680,7 +7723,7 @@ else
7680 ac_save_LIBS="$LIBS" 7723 ac_save_LIBS="$LIBS"
7681LIBS="-lintl $LIBS" 7724LIBS="-lintl $LIBS"
7682cat > conftest.$ac_ext <<EOF 7725cat > conftest.$ac_ext <<EOF
7683#line 7684 "configure" 7726#line 7727 "configure"
7684#include "confdefs.h" 7727#include "confdefs.h"
7685/* Override any gcc2 internal prototype to avoid an error. */ 7728/* Override any gcc2 internal prototype to avoid an error. */
7686/* We use char because int might match the return type of a gcc2 7729/* We use char because int might match the return type of a gcc2
@@ -7691,7 +7734,7 @@ int main() {
7691dgettext() 7734dgettext()
7692; return 0; } 7735; return 0; }
7693EOF 7736EOF
7694if { (eval echo configure:7695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7737if { (eval echo configure:7738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7695 rm -rf conftest* 7738 rm -rf conftest*
7696 eval "ac_cv_lib_$ac_lib_var=yes" 7739 eval "ac_cv_lib_$ac_lib_var=yes"
7697else 7740else
@@ -7720,7 +7763,7 @@ fi
7720 7763
7721 7764
7722echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 7765echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6
7723echo "configure:7724: checking whether localtime caches TZ" >&5 7766echo "configure:7767: checking whether localtime caches TZ" >&5
7724if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then 7767if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then
7725 echo $ac_n "(cached) $ac_c" 1>&6 7768 echo $ac_n "(cached) $ac_c" 1>&6
7726else 7769else
@@ -7730,7 +7773,7 @@ if test "$cross_compiling" = yes; then
7730emacs_cv_localtime_cache=yes 7773emacs_cv_localtime_cache=yes
7731else 7774else
7732 cat > conftest.$ac_ext <<EOF 7775 cat > conftest.$ac_ext <<EOF
7733#line 7734 "configure" 7776#line 7777 "configure"
7734#include "confdefs.h" 7777#include "confdefs.h"
7735#include <time.h> 7778#include <time.h>
7736extern char **environ; 7779extern char **environ;
@@ -7762,7 +7805,7 @@ main()
7762 exit (0); 7805 exit (0);
7763} 7806}
7764EOF 7807EOF
7765if { (eval echo configure:7766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 7808if { (eval echo configure:7809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7766then 7809then
7767 emacs_cv_localtime_cache=no 7810 emacs_cv_localtime_cache=no
7768else 7811else
@@ -7792,12 +7835,12 @@ if test "x$HAVE_TIMEVAL" = xyes; then
7792 for ac_func in gettimeofday 7835 for ac_func in gettimeofday
7793do 7836do
7794echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 7837echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7795echo "configure:7796: checking for $ac_func" >&5 7838echo "configure:7839: checking for $ac_func" >&5
7796if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 7839if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7797 echo $ac_n "(cached) $ac_c" 1>&6 7840 echo $ac_n "(cached) $ac_c" 1>&6
7798else 7841else
7799 cat > conftest.$ac_ext <<EOF 7842 cat > conftest.$ac_ext <<EOF
7800#line 7801 "configure" 7843#line 7844 "configure"
7801#include "confdefs.h" 7844#include "confdefs.h"
7802/* System header to define __stub macros and hopefully few prototypes, 7845/* System header to define __stub macros and hopefully few prototypes,
7803 which can conflict with char $ac_func(); below. */ 7846 which can conflict with char $ac_func(); below. */
@@ -7820,7 +7863,7 @@ $ac_func();
7820 7863
7821; return 0; } 7864; return 0; }
7822EOF 7865EOF
7823if { (eval echo configure:7824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7866if { (eval echo configure:7867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7824 rm -rf conftest* 7867 rm -rf conftest*
7825 eval "ac_cv_func_$ac_func=yes" 7868 eval "ac_cv_func_$ac_func=yes"
7826else 7869else
@@ -7845,12 +7888,12 @@ fi
7845done 7888done
7846 7889
7847 echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6 7890 echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6
7848echo "configure:7849: checking whether gettimeofday can accept two arguments" >&5 7891echo "configure:7892: checking whether gettimeofday can accept two arguments" >&5
7849if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then 7892if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then
7850 echo $ac_n "(cached) $ac_c" 1>&6 7893 echo $ac_n "(cached) $ac_c" 1>&6
7851else 7894else
7852 cat > conftest.$ac_ext <<EOF 7895 cat > conftest.$ac_ext <<EOF
7853#line 7854 "configure" 7896#line 7897 "configure"
7854#include "confdefs.h" 7897#include "confdefs.h"
7855 7898
7856#ifdef TIME_WITH_SYS_TIME 7899#ifdef TIME_WITH_SYS_TIME
@@ -7868,7 +7911,7 @@ struct timeval time;
7868 gettimeofday (&time, 0); 7911 gettimeofday (&time, 0);
7869; return 0; } 7912; return 0; }
7870EOF 7913EOF
7871if { (eval echo configure:7872: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 7914if { (eval echo configure:7915: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7872 rm -rf conftest* 7915 rm -rf conftest*
7873 emacs_cv_gettimeofday_two_arguments=yes 7916 emacs_cv_gettimeofday_two_arguments=yes
7874else 7917else
@@ -7891,25 +7934,25 @@ fi
7891 7934
7892if test "$ac_cv_func_gettimeofday" = yes; then 7935if test "$ac_cv_func_gettimeofday" = yes; then
7893 echo $ac_n "checking for struct timezone""... $ac_c" 1>&6 7936 echo $ac_n "checking for struct timezone""... $ac_c" 1>&6
7894echo "configure:7895: checking for struct timezone" >&5 7937echo "configure:7938: checking for struct timezone" >&5
7895if eval "test \"`echo '$''{'emacs_cv_struct_timezone'+set}'`\" = set"; then 7938if eval "test \"`echo '$''{'emacs_cv_struct_timezone'+set}'`\" = set"; then
7896 echo $ac_n "(cached) $ac_c" 1>&6 7939 echo $ac_n "(cached) $ac_c" 1>&6
7897else 7940else
7898 cat > conftest.$ac_ext <<EOF 7941 cat > conftest.$ac_ext <<EOF
7899#line 7900 "configure" 7942#line 7943 "configure"
7900#include "confdefs.h" 7943#include "confdefs.h"
7901#include <sys/time.h> 7944#include <sys/time.h>
7902int main() { 7945int main() {
7903struct timezone tz; 7946struct timezone tz;
7904; return 0; } 7947; return 0; }
7905EOF 7948EOF
7906if { (eval echo configure:7907: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 7949if { (eval echo configure:7950: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7907 rm -rf conftest* 7950 rm -rf conftest*
7908 if test "$cross_compiling" = yes; then 7951 if test "$cross_compiling" = yes; then
7909 emacs_cv_struct_timezone=yes 7952 emacs_cv_struct_timezone=yes
7910else 7953else
7911 cat > conftest.$ac_ext <<EOF 7954 cat > conftest.$ac_ext <<EOF
7912#line 7913 "configure" 7955#line 7956 "configure"
7913#include "confdefs.h" 7956#include "confdefs.h"
7914 7957
7915#ifdef TIME_WITH_SYS_TIME 7958#ifdef TIME_WITH_SYS_TIME
@@ -7928,7 +7971,7 @@ main () {
7928 exit (gettimeofday (&time, &dummy)); 7971 exit (gettimeofday (&time, &dummy));
7929} 7972}
7930EOF 7973EOF
7931if { (eval echo configure:7932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 7974if { (eval echo configure:7975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7932then 7975then
7933 emacs_cv_struct_timezone=yes 7976 emacs_cv_struct_timezone=yes
7934else 7977else
@@ -7954,12 +7997,12 @@ fi
7954 7997
7955ok_so_far=yes 7998ok_so_far=yes
7956echo $ac_n "checking for socket""... $ac_c" 1>&6 7999echo $ac_n "checking for socket""... $ac_c" 1>&6
7957echo "configure:7958: checking for socket" >&5 8000echo "configure:8001: checking for socket" >&5
7958if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then 8001if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
7959 echo $ac_n "(cached) $ac_c" 1>&6 8002 echo $ac_n "(cached) $ac_c" 1>&6
7960else 8003else
7961 cat > conftest.$ac_ext <<EOF 8004 cat > conftest.$ac_ext <<EOF
7962#line 7963 "configure" 8005#line 8006 "configure"
7963#include "confdefs.h" 8006#include "confdefs.h"
7964/* System header to define __stub macros and hopefully few prototypes, 8007/* System header to define __stub macros and hopefully few prototypes,
7965 which can conflict with char socket(); below. */ 8008 which can conflict with char socket(); below. */
@@ -7982,7 +8025,7 @@ socket();
7982 8025
7983; return 0; } 8026; return 0; }
7984EOF 8027EOF
7985if { (eval echo configure:7986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8028if { (eval echo configure:8029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7986 rm -rf conftest* 8029 rm -rf conftest*
7987 eval "ac_cv_func_socket=yes" 8030 eval "ac_cv_func_socket=yes"
7988else 8031else
@@ -8005,17 +8048,17 @@ fi
8005if test $ok_so_far = yes; then 8048if test $ok_so_far = yes; then
8006 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` 8049 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'`
8007echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 8050echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6
8008echo "configure:8009: checking for netinet/in.h" >&5 8051echo "configure:8052: checking for netinet/in.h" >&5
8009if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 8052if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8010 echo $ac_n "(cached) $ac_c" 1>&6 8053 echo $ac_n "(cached) $ac_c" 1>&6
8011else 8054else
8012 cat > conftest.$ac_ext <<EOF 8055 cat > conftest.$ac_ext <<EOF
8013#line 8014 "configure" 8056#line 8057 "configure"
8014#include "confdefs.h" 8057#include "confdefs.h"
8015#include <netinet/in.h> 8058#include <netinet/in.h>
8016EOF 8059EOF
8017ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8060ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8018{ (eval echo configure:8019: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8061{ (eval echo configure:8062: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8019ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8062ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8020if test -z "$ac_err"; then 8063if test -z "$ac_err"; then
8021 rm -rf conftest* 8064 rm -rf conftest*
@@ -8041,17 +8084,17 @@ fi
8041if test $ok_so_far = yes; then 8084if test $ok_so_far = yes; then
8042 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` 8085 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'`
8043echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 8086echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6
8044echo "configure:8045: checking for arpa/inet.h" >&5 8087echo "configure:8088: checking for arpa/inet.h" >&5
8045if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 8088if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8046 echo $ac_n "(cached) $ac_c" 1>&6 8089 echo $ac_n "(cached) $ac_c" 1>&6
8047else 8090else
8048 cat > conftest.$ac_ext <<EOF 8091 cat > conftest.$ac_ext <<EOF
8049#line 8050 "configure" 8092#line 8093 "configure"
8050#include "confdefs.h" 8093#include "confdefs.h"
8051#include <arpa/inet.h> 8094#include <arpa/inet.h>
8052EOF 8095EOF
8053ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8096ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8054{ (eval echo configure:8055: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8097{ (eval echo configure:8098: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8055ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8098ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8056if test -z "$ac_err"; then 8099if test -z "$ac_err"; then
8057 rm -rf conftest* 8100 rm -rf conftest*
@@ -8089,7 +8132,7 @@ EOF
8089fi 8132fi
8090 8133
8091echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6 8134echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6
8092echo "configure:8093: checking whether system supports dynamic ptys" >&5 8135echo "configure:8136: checking whether system supports dynamic ptys" >&5
8093if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then 8136if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then
8094 echo "$ac_t""yes" 1>&6 8137 echo "$ac_t""yes" 1>&6
8095 cat >> confdefs.h <<\EOF 8138 cat >> confdefs.h <<\EOF
@@ -8101,12 +8144,12 @@ else
8101fi 8144fi
8102 8145
8103echo $ac_n "checking for pid_t""... $ac_c" 1>&6 8146echo $ac_n "checking for pid_t""... $ac_c" 1>&6
8104echo "configure:8105: checking for pid_t" >&5 8147echo "configure:8148: checking for pid_t" >&5
8105if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then 8148if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
8106 echo $ac_n "(cached) $ac_c" 1>&6 8149 echo $ac_n "(cached) $ac_c" 1>&6
8107else 8150else
8108 cat > conftest.$ac_ext <<EOF 8151 cat > conftest.$ac_ext <<EOF
8109#line 8110 "configure" 8152#line 8153 "configure"
8110#include "confdefs.h" 8153#include "confdefs.h"
8111#include <sys/types.h> 8154#include <sys/types.h>
8112#if STDC_HEADERS 8155#if STDC_HEADERS
@@ -8135,17 +8178,17 @@ fi
8135 8178
8136ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` 8179ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'`
8137echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 8180echo $ac_n "checking for vfork.h""... $ac_c" 1>&6
8138echo "configure:8139: checking for vfork.h" >&5 8181echo "configure:8182: checking for vfork.h" >&5
8139if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 8182if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8140 echo $ac_n "(cached) $ac_c" 1>&6 8183 echo $ac_n "(cached) $ac_c" 1>&6
8141else 8184else
8142 cat > conftest.$ac_ext <<EOF 8185 cat > conftest.$ac_ext <<EOF
8143#line 8144 "configure" 8186#line 8187 "configure"
8144#include "confdefs.h" 8187#include "confdefs.h"
8145#include <vfork.h> 8188#include <vfork.h>
8146EOF 8189EOF
8147ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8190ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8148{ (eval echo configure:8149: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8191{ (eval echo configure:8192: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8149ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8192ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8150if test -z "$ac_err"; then 8193if test -z "$ac_err"; then
8151 rm -rf conftest* 8194 rm -rf conftest*
@@ -8170,18 +8213,18 @@ else
8170fi 8213fi
8171 8214
8172echo $ac_n "checking for working vfork""... $ac_c" 1>&6 8215echo $ac_n "checking for working vfork""... $ac_c" 1>&6
8173echo "configure:8174: checking for working vfork" >&5 8216echo "configure:8217: checking for working vfork" >&5
8174if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then 8217if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then
8175 echo $ac_n "(cached) $ac_c" 1>&6 8218 echo $ac_n "(cached) $ac_c" 1>&6
8176else 8219else
8177 if test "$cross_compiling" = yes; then 8220 if test "$cross_compiling" = yes; then
8178 echo $ac_n "checking for vfork""... $ac_c" 1>&6 8221 echo $ac_n "checking for vfork""... $ac_c" 1>&6
8179echo "configure:8180: checking for vfork" >&5 8222echo "configure:8223: checking for vfork" >&5
8180if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then 8223if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then
8181 echo $ac_n "(cached) $ac_c" 1>&6 8224 echo $ac_n "(cached) $ac_c" 1>&6
8182else 8225else
8183 cat > conftest.$ac_ext <<EOF 8226 cat > conftest.$ac_ext <<EOF
8184#line 8185 "configure" 8227#line 8228 "configure"
8185#include "confdefs.h" 8228#include "confdefs.h"
8186/* System header to define __stub macros and hopefully few prototypes, 8229/* System header to define __stub macros and hopefully few prototypes,
8187 which can conflict with char vfork(); below. */ 8230 which can conflict with char vfork(); below. */
@@ -8204,7 +8247,7 @@ vfork();
8204 8247
8205; return 0; } 8248; return 0; }
8206EOF 8249EOF
8207if { (eval echo configure:8208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8250if { (eval echo configure:8251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8208 rm -rf conftest* 8251 rm -rf conftest*
8209 eval "ac_cv_func_vfork=yes" 8252 eval "ac_cv_func_vfork=yes"
8210else 8253else
@@ -8226,7 +8269,7 @@ fi
8226ac_cv_func_vfork_works=$ac_cv_func_vfork 8269ac_cv_func_vfork_works=$ac_cv_func_vfork
8227else 8270else
8228 cat > conftest.$ac_ext <<EOF 8271 cat > conftest.$ac_ext <<EOF
8229#line 8230 "configure" 8272#line 8273 "configure"
8230#include "confdefs.h" 8273#include "confdefs.h"
8231/* Thanks to Paul Eggert for this test. */ 8274/* Thanks to Paul Eggert for this test. */
8232#include <stdio.h> 8275#include <stdio.h>
@@ -8321,7 +8364,7 @@ main() {
8321 } 8364 }
8322} 8365}
8323EOF 8366EOF
8324if { (eval echo configure:8325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 8367if { (eval echo configure:8368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8325then 8368then
8326 ac_cv_func_vfork_works=yes 8369 ac_cv_func_vfork_works=yes
8327else 8370else
@@ -8651,6 +8694,7 @@ s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
8651s%@INSTALL_DATA@%$INSTALL_DATA%g 8694s%@INSTALL_DATA@%$INSTALL_DATA%g
8652s%@YACC@%$YACC%g 8695s%@YACC@%$YACC%g
8653s%@RANLIB@%$RANLIB%g 8696s%@RANLIB@%$RANLIB%g
8697s%@LIBSOUND@%$LIBSOUND%g
8654s%@SET_MAKE@%$SET_MAKE%g 8698s%@SET_MAKE@%$SET_MAKE%g
8655s%@ALLOCA@%$ALLOCA%g 8699s%@ALLOCA@%$ALLOCA%g
8656s%@liblockfile@%$liblockfile%g 8700s%@liblockfile@%$liblockfile%g
diff --git a/configure.in b/configure.in
index 0def353749a..15eb1ec4623 100644
--- a/configure.in
+++ b/configure.in
@@ -1157,7 +1157,10 @@ dnl checks for Unix variants
1157AC_AIX 1157AC_AIX
1158 1158
1159# Sound support for GNU/Linux and the free BSDs. 1159# Sound support for GNU/Linux and the free BSDs.
1160AC_CHECK_HEADERS(machine/soundcard.h sys/soundcard.h) 1160AC_CHECK_HEADERS(machine/soundcard.h sys/soundcard.h soundcard.h)
1161# Emulation library used on NetBSD.
1162AC_CHECK_LIB(ossaudio, _oss_ioctl, LIBSOUND=-lossaudio, LIBSOUND=)
1163AC_SUBST(LIBSOUND)
1161 1164
1162dnl checks for header files 1165dnl checks for header files
1163AC_CHECK_HEADERS(sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ 1166AC_CHECK_HEADERS(sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \