aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love2000-07-18 22:16:01 +0000
committerDave Love2000-07-18 22:16:01 +0000
commit3b33a0059c10b22373eeee7914685afa7af20108 (patch)
tree5c682a7ae62bc2df3abd3c25d0e1b39abbdf1aa7
parent4428e2683a856eb1ea77cc98cf1244925c14be6c (diff)
downloademacs-3b33a0059c10b22373eeee7914685afa7af20108.tar.gz
emacs-3b33a0059c10b22373eeee7914685afa7af20108.zip
*** empty log message ***
-rw-r--r--ChangeLog5
-rwxr-xr-xconfigure444
-rw-r--r--lisp/ChangeLog5
3 files changed, 232 insertions, 222 deletions
diff --git a/ChangeLog b/ChangeLog
index 0586abc3254..11f685bfacd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
12000-07-18 Dave Love <fx@gnu.org>
2
3 * configure.in: Reorder so that most tests are done after CPPFLAGS
4 is set from the C_SWITCH_... definitions.
5
12000-07-10 Gerd Moellmann <gerd@gnu.org> 62000-07-10 Gerd Moellmann <gerd@gnu.org>
2 7
3 * configure.in (HAVE_XPM): Undo previous change. Check for 8 * configure.in (HAVE_XPM): Undo previous change. Check for
diff --git a/configure b/configure
index 568b39a040f..659073901e1 100755
--- a/configure
+++ b/configure
@@ -2249,22 +2249,161 @@ rm -f conftest*
2249 2249
2250 2250
2251 2251
2252#### Extract some information from the operating system and machine files.
2253
2254echo "checking the machine- and system-dependent files to find out
2255 - which libraries the lib-src programs will want, and
2256 - whether the GNU malloc routines are usable" 1>&6
2257echo "configure:2258: checking the machine- and system-dependent files to find out
2258 - which libraries the lib-src programs will want, and
2259 - whether the GNU malloc routines are usable" >&5
2260
2261### First figure out CFLAGS (which we use for running the compiler here)
2262### and REAL_CFLAGS (which we use for real compilation).
2263### The two are the same except on a few systems, where they are made
2264### different to work around various lossages. For example,
2265### GCC 2.5 on GNU/Linux needs them to be different because it treats -g
2266### as implying static linking.
2267
2268### If the CFLAGS env var is specified, we use that value
2269### instead of the default.
2270
2271### It's not important that this name contain the PID; you can't run
2272### two configures in the same directory and have anything work
2273### anyway.
2274tempcname="conftest.c"
2275
2276echo '
2277#include "'${srcdir}'/src/'${opsysfile}'"
2278#include "'${srcdir}'/src/'${machfile}'"
2279#ifndef LIBS_MACHINE
2280#define LIBS_MACHINE
2281#endif
2282#ifndef LIBS_SYSTEM
2283#define LIBS_SYSTEM
2284#endif
2285#ifndef C_SWITCH_SYSTEM
2286#define C_SWITCH_SYSTEM
2287#endif
2288#ifndef C_SWITCH_MACHINE
2289#define C_SWITCH_MACHINE
2290#endif
2291configure___ libsrc_libs=LIBS_MACHINE LIBS_SYSTEM
2292configure___ c_switch_system=C_SWITCH_SYSTEM
2293configure___ c_switch_machine=C_SWITCH_MACHINE
2294
2295#ifndef LIB_X11_LIB
2296#define LIB_X11_LIB -lX11
2297#endif
2298
2299#ifndef LIBX11_MACHINE
2300#define LIBX11_MACHINE
2301#endif
2302
2303#ifndef LIBX11_SYSTEM
2304#define LIBX11_SYSTEM
2305#endif
2306configure___ LIBX=LIB_X11_LIB LIBX11_MACHINE LIBX11_SYSTEM
2307
2308#ifdef UNEXEC
2309configure___ unexec=UNEXEC
2310#else
2311configure___ unexec=unexec.o
2312#endif
2313
2314#ifdef SYSTEM_MALLOC
2315configure___ system_malloc=yes
2316#else
2317configure___ system_malloc=no
2318#endif
2319
2320#ifndef C_DEBUG_SWITCH
2321#define C_DEBUG_SWITCH -g
2322#endif
2323
2324#ifndef C_OPTIMIZE_SWITCH
2325#ifdef __GNUC__
2326#define C_OPTIMIZE_SWITCH -O2
2327#else
2328#define C_OPTIMIZE_SWITCH -O
2329#endif
2330#endif
2331
2332#ifndef LD_SWITCH_MACHINE
2333#define LD_SWITCH_MACHINE
2334#endif
2335
2336#ifndef LD_SWITCH_SYSTEM
2337#define LD_SWITCH_SYSTEM
2338#endif
2339
2340#ifndef LD_SWITCH_X_SITE_AUX
2341#define LD_SWITCH_X_SITE_AUX
2342#endif
2343
2344configure___ ld_switch_system=LD_SWITCH_SYSTEM
2345configure___ ld_switch_machine=LD_SWITCH_MACHINE
2346
2347#ifdef THIS_IS_CONFIGURE
2348
2349/* Get the CFLAGS for tests in configure. */
2350#ifdef __GNUC__
2351configure___ CFLAGS=C_DEBUG_SWITCH C_OPTIMIZE_SWITCH '${SPECIFIED_CFLAGS}'
2352#else
2353configure___ CFLAGS=C_DEBUG_SWITCH '${SPECIFIED_CFLAGS}'
2354#endif
2355
2356#else /* not THIS_IS_CONFIGURE */
2357
2358/* Get the CFLAGS for real compilation. */
2359#ifdef __GNUC__
2360configure___ REAL_CFLAGS=C_DEBUG_SWITCH C_OPTIMIZE_SWITCH '${SPECIFIED_CFLAGS}'
2361#else
2362configure___ REAL_CFLAGS=C_DEBUG_SWITCH '${SPECIFIED_CFLAGS}'
2363#endif
2364
2365#endif /* not THIS_IS_CONFIGURE */
2366' > ${tempcname}
2367
2368# The value of CPP is a quoted variable reference, so we need to do this
2369# to get its actual value...
2370CPP=`eval "echo $CPP"`
2371eval `${CPP} -Isrc ${tempcname} \
2372 | sed -n -e 's/^configure___ \([^=]*=\)\(.*\)$/\1"\2"/p'`
2373if test "x$SPECIFIED_CFLAGS" = x; then
2374 eval `${CPP} -Isrc -DTHIS_IS_CONFIGURE ${tempcname} \
2375 | sed -n -e 's/^configure___ \([^=]*=\)\(.*\)$/\1"\2"/p'`
2376else
2377 REAL_CFLAGS="$CFLAGS"
2378fi
2379rm ${tempcname}
2380
2381ac_link="$ac_link $ld_switch_machine $ld_switch_system"
2382
2383### Make sure subsequent tests use flags consistent with the build flags.
2384
2385if test x"${OVERRIDE_CPPFLAGS}" != x; then
2386 CPPFLAGS="${OVERRIDE_CPPFLAGS}"
2387else
2388 CPPFLAGS="$c_switch_system $c_switch_machine $CPPFLAGS"
2389fi
2390
2252# Sound support for GNU/Linux and the free BSDs. 2391# Sound support for GNU/Linux and the free BSDs.
2253for ac_hdr in machine/soundcard.h sys/soundcard.h soundcard.h 2392for ac_hdr in machine/soundcard.h sys/soundcard.h soundcard.h
2254do 2393do
2255ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2394ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2256echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2395echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2257echo "configure:2258: checking for $ac_hdr" >&5 2396echo "configure:2397: checking for $ac_hdr" >&5
2258if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2397if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2259 echo $ac_n "(cached) $ac_c" 1>&6 2398 echo $ac_n "(cached) $ac_c" 1>&6
2260else 2399else
2261 cat > conftest.$ac_ext <<EOF 2400 cat > conftest.$ac_ext <<EOF
2262#line 2263 "configure" 2401#line 2402 "configure"
2263#include "confdefs.h" 2402#include "confdefs.h"
2264#include <$ac_hdr> 2403#include <$ac_hdr>
2265EOF 2404EOF
2266ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2405ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2267{ (eval echo configure:2268: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2406{ (eval echo configure:2407: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2268ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2407ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2269if test -z "$ac_err"; then 2408if test -z "$ac_err"; then
2270 rm -rf conftest* 2409 rm -rf conftest*
@@ -2292,7 +2431,7 @@ done
2292 2431
2293# Emulation library used on NetBSD. 2432# Emulation library used on NetBSD.
2294echo $ac_n "checking for _oss_ioctl in -lossaudio""... $ac_c" 1>&6 2433echo $ac_n "checking for _oss_ioctl in -lossaudio""... $ac_c" 1>&6
2295echo "configure:2296: checking for _oss_ioctl in -lossaudio" >&5 2434echo "configure:2435: checking for _oss_ioctl in -lossaudio" >&5
2296ac_lib_var=`echo ossaudio'_'_oss_ioctl | sed 'y%./+-%__p_%'` 2435ac_lib_var=`echo ossaudio'_'_oss_ioctl | sed 'y%./+-%__p_%'`
2297if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 2436if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2298 echo $ac_n "(cached) $ac_c" 1>&6 2437 echo $ac_n "(cached) $ac_c" 1>&6
@@ -2300,7 +2439,7 @@ else
2300 ac_save_LIBS="$LIBS" 2439 ac_save_LIBS="$LIBS"
2301LIBS="-lossaudio $LIBS" 2440LIBS="-lossaudio $LIBS"
2302cat > conftest.$ac_ext <<EOF 2441cat > conftest.$ac_ext <<EOF
2303#line 2304 "configure" 2442#line 2443 "configure"
2304#include "confdefs.h" 2443#include "confdefs.h"
2305/* Override any gcc2 internal prototype to avoid an error. */ 2444/* Override any gcc2 internal prototype to avoid an error. */
2306/* We use char because int might match the return type of a gcc2 2445/* We use char because int might match the return type of a gcc2
@@ -2311,7 +2450,7 @@ int main() {
2311_oss_ioctl() 2450_oss_ioctl()
2312; return 0; } 2451; return 0; }
2313EOF 2452EOF
2314if { (eval echo configure:2315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2453if { (eval echo configure:2454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2315 rm -rf conftest* 2454 rm -rf conftest*
2316 eval "ac_cv_lib_$ac_lib_var=yes" 2455 eval "ac_cv_lib_$ac_lib_var=yes"
2317else 2456else
@@ -2340,17 +2479,17 @@ for ac_hdr in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \
2340do 2479do
2341ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2480ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2342echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2481echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2343echo "configure:2344: checking for $ac_hdr" >&5 2482echo "configure:2483: checking for $ac_hdr" >&5
2344if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2483if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2345 echo $ac_n "(cached) $ac_c" 1>&6 2484 echo $ac_n "(cached) $ac_c" 1>&6
2346else 2485else
2347 cat > conftest.$ac_ext <<EOF 2486 cat > conftest.$ac_ext <<EOF
2348#line 2349 "configure" 2487#line 2488 "configure"
2349#include "confdefs.h" 2488#include "confdefs.h"
2350#include <$ac_hdr> 2489#include <$ac_hdr>
2351EOF 2490EOF
2352ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2491ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2353{ (eval echo configure:2354: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2492{ (eval echo configure:2493: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2354ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2493ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2355if test -z "$ac_err"; then 2494if test -z "$ac_err"; then
2356 rm -rf conftest* 2495 rm -rf conftest*
@@ -2377,12 +2516,12 @@ fi
2377done 2516done
2378 2517
2379echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 2518echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
2380echo "configure:2381: checking for ANSI C header files" >&5 2519echo "configure:2520: checking for ANSI C header files" >&5
2381if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 2520if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
2382 echo $ac_n "(cached) $ac_c" 1>&6 2521 echo $ac_n "(cached) $ac_c" 1>&6
2383else 2522else
2384 cat > conftest.$ac_ext <<EOF 2523 cat > conftest.$ac_ext <<EOF
2385#line 2386 "configure" 2524#line 2525 "configure"
2386#include "confdefs.h" 2525#include "confdefs.h"
2387#include <stdlib.h> 2526#include <stdlib.h>
2388#include <stdarg.h> 2527#include <stdarg.h>
@@ -2390,7 +2529,7 @@ else
2390#include <float.h> 2529#include <float.h>
2391EOF 2530EOF
2392ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2531ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2393{ (eval echo configure:2394: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2532{ (eval echo configure:2533: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2394ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2533ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2395if test -z "$ac_err"; then 2534if test -z "$ac_err"; then
2396 rm -rf conftest* 2535 rm -rf conftest*
@@ -2407,7 +2546,7 @@ rm -f conftest*
2407if test $ac_cv_header_stdc = yes; then 2546if test $ac_cv_header_stdc = yes; then
2408 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 2547 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2409cat > conftest.$ac_ext <<EOF 2548cat > conftest.$ac_ext <<EOF
2410#line 2411 "configure" 2549#line 2550 "configure"
2411#include "confdefs.h" 2550#include "confdefs.h"
2412#include <string.h> 2551#include <string.h>
2413EOF 2552EOF
@@ -2425,7 +2564,7 @@ fi
2425if test $ac_cv_header_stdc = yes; then 2564if test $ac_cv_header_stdc = yes; then
2426 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 2565 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2427cat > conftest.$ac_ext <<EOF 2566cat > conftest.$ac_ext <<EOF
2428#line 2429 "configure" 2567#line 2568 "configure"
2429#include "confdefs.h" 2568#include "confdefs.h"
2430#include <stdlib.h> 2569#include <stdlib.h>
2431EOF 2570EOF
@@ -2446,7 +2585,7 @@ if test "$cross_compiling" = yes; then
2446 : 2585 :
2447else 2586else
2448 cat > conftest.$ac_ext <<EOF 2587 cat > conftest.$ac_ext <<EOF
2449#line 2450 "configure" 2588#line 2589 "configure"
2450#include "confdefs.h" 2589#include "confdefs.h"
2451#include <ctype.h> 2590#include <ctype.h>
2452#define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 2591#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
@@ -2457,7 +2596,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
2457exit (0); } 2596exit (0); }
2458 2597
2459EOF 2598EOF
2460if { (eval echo configure:2461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2599if { (eval echo configure:2600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2461then 2600then
2462 : 2601 :
2463else 2602else
@@ -2481,12 +2620,12 @@ EOF
2481fi 2620fi
2482 2621
2483echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 2622echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
2484echo "configure:2485: checking whether time.h and sys/time.h may both be included" >&5 2623echo "configure:2624: checking whether time.h and sys/time.h may both be included" >&5
2485if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then 2624if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
2486 echo $ac_n "(cached) $ac_c" 1>&6 2625 echo $ac_n "(cached) $ac_c" 1>&6
2487else 2626else
2488 cat > conftest.$ac_ext <<EOF 2627 cat > conftest.$ac_ext <<EOF
2489#line 2490 "configure" 2628#line 2629 "configure"
2490#include "confdefs.h" 2629#include "confdefs.h"
2491#include <sys/types.h> 2630#include <sys/types.h>
2492#include <sys/time.h> 2631#include <sys/time.h>
@@ -2495,7 +2634,7 @@ int main() {
2495struct tm *tp; 2634struct tm *tp;
2496; return 0; } 2635; return 0; }
2497EOF 2636EOF
2498if { (eval echo configure:2499: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2637if { (eval echo configure:2638: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2499 rm -rf conftest* 2638 rm -rf conftest*
2500 ac_cv_header_time=yes 2639 ac_cv_header_time=yes
2501else 2640else
@@ -2516,12 +2655,12 @@ EOF
2516fi 2655fi
2517 2656
2518echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 2657echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6
2519echo "configure:2520: checking for sys_siglist declaration in signal.h or unistd.h" >&5 2658echo "configure:2659: checking for sys_siglist declaration in signal.h or unistd.h" >&5
2520if eval "test \"`echo '$''{'ac_cv_decl_sys_siglist'+set}'`\" = set"; then 2659if eval "test \"`echo '$''{'ac_cv_decl_sys_siglist'+set}'`\" = set"; then
2521 echo $ac_n "(cached) $ac_c" 1>&6 2660 echo $ac_n "(cached) $ac_c" 1>&6
2522else 2661else
2523 cat > conftest.$ac_ext <<EOF 2662 cat > conftest.$ac_ext <<EOF
2524#line 2525 "configure" 2663#line 2664 "configure"
2525#include "confdefs.h" 2664#include "confdefs.h"
2526#include <sys/types.h> 2665#include <sys/types.h>
2527#include <signal.h> 2666#include <signal.h>
@@ -2533,7 +2672,7 @@ int main() {
2533char *msg = *(sys_siglist + 1); 2672char *msg = *(sys_siglist + 1);
2534; return 0; } 2673; return 0; }
2535EOF 2674EOF
2536if { (eval echo configure:2537: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2675if { (eval echo configure:2676: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2537 rm -rf conftest* 2676 rm -rf conftest*
2538 ac_cv_decl_sys_siglist=yes 2677 ac_cv_decl_sys_siglist=yes
2539else 2678else
@@ -2554,12 +2693,12 @@ EOF
2554fi 2693fi
2555 2694
2556echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 2695echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
2557echo "configure:2558: checking for sys/wait.h that is POSIX.1 compatible" >&5 2696echo "configure:2697: checking for sys/wait.h that is POSIX.1 compatible" >&5
2558if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then 2697if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
2559 echo $ac_n "(cached) $ac_c" 1>&6 2698 echo $ac_n "(cached) $ac_c" 1>&6
2560else 2699else
2561 cat > conftest.$ac_ext <<EOF 2700 cat > conftest.$ac_ext <<EOF
2562#line 2563 "configure" 2701#line 2702 "configure"
2563#include "confdefs.h" 2702#include "confdefs.h"
2564#include <sys/types.h> 2703#include <sys/types.h>
2565#include <sys/wait.h> 2704#include <sys/wait.h>
@@ -2575,7 +2714,7 @@ wait (&s);
2575s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; 2714s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
2576; return 0; } 2715; return 0; }
2577EOF 2716EOF
2578if { (eval echo configure:2579: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2717if { (eval echo configure:2718: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2579 rm -rf conftest* 2718 rm -rf conftest*
2580 ac_cv_header_sys_wait_h=yes 2719 ac_cv_header_sys_wait_h=yes
2581else 2720else
@@ -2597,12 +2736,12 @@ fi
2597 2736
2598 2737
2599echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 2738echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6
2600echo "configure:2601: checking for struct utimbuf" >&5 2739echo "configure:2740: checking for struct utimbuf" >&5
2601if eval "test \"`echo '$''{'emacs_cv_struct_utimbuf'+set}'`\" = set"; then 2740if eval "test \"`echo '$''{'emacs_cv_struct_utimbuf'+set}'`\" = set"; then
2602 echo $ac_n "(cached) $ac_c" 1>&6 2741 echo $ac_n "(cached) $ac_c" 1>&6
2603else 2742else
2604 cat > conftest.$ac_ext <<EOF 2743 cat > conftest.$ac_ext <<EOF
2605#line 2606 "configure" 2744#line 2745 "configure"
2606#include "confdefs.h" 2745#include "confdefs.h"
2607#ifdef TIME_WITH_SYS_TIME 2746#ifdef TIME_WITH_SYS_TIME
2608#include <sys/time.h> 2747#include <sys/time.h>
@@ -2621,7 +2760,7 @@ int main() {
2621static struct utimbuf x; x.actime = x.modtime; 2760static struct utimbuf x; x.actime = x.modtime;
2622; return 0; } 2761; return 0; }
2623EOF 2762EOF
2624if { (eval echo configure:2625: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2763if { (eval echo configure:2764: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2625 rm -rf conftest* 2764 rm -rf conftest*
2626 emacs_cv_struct_utimbuf=yes 2765 emacs_cv_struct_utimbuf=yes
2627else 2766else
@@ -2642,12 +2781,12 @@ EOF
2642fi 2781fi
2643 2782
2644echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 2783echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
2645echo "configure:2646: checking return type of signal handlers" >&5 2784echo "configure:2785: checking return type of signal handlers" >&5
2646if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then 2785if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
2647 echo $ac_n "(cached) $ac_c" 1>&6 2786 echo $ac_n "(cached) $ac_c" 1>&6
2648else 2787else
2649 cat > conftest.$ac_ext <<EOF 2788 cat > conftest.$ac_ext <<EOF
2650#line 2651 "configure" 2789#line 2790 "configure"
2651#include "confdefs.h" 2790#include "confdefs.h"
2652#include <sys/types.h> 2791#include <sys/types.h>
2653#include <signal.h> 2792#include <signal.h>
@@ -2664,7 +2803,7 @@ int main() {
2664int i; 2803int i;
2665; return 0; } 2804; return 0; }
2666EOF 2805EOF
2667if { (eval echo configure:2668: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2806if { (eval echo configure:2807: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2668 rm -rf conftest* 2807 rm -rf conftest*
2669 ac_cv_type_signal=void 2808 ac_cv_type_signal=void
2670else 2809else
@@ -2684,19 +2823,19 @@ EOF
2684 2823
2685 2824
2686echo $ac_n "checking for speed_t""... $ac_c" 1>&6 2825echo $ac_n "checking for speed_t""... $ac_c" 1>&6
2687echo "configure:2688: checking for speed_t" >&5 2826echo "configure:2827: checking for speed_t" >&5
2688if eval "test \"`echo '$''{'emacs_cv_speed_t'+set}'`\" = set"; then 2827if eval "test \"`echo '$''{'emacs_cv_speed_t'+set}'`\" = set"; then
2689 echo $ac_n "(cached) $ac_c" 1>&6 2828 echo $ac_n "(cached) $ac_c" 1>&6
2690else 2829else
2691 cat > conftest.$ac_ext <<EOF 2830 cat > conftest.$ac_ext <<EOF
2692#line 2693 "configure" 2831#line 2832 "configure"
2693#include "confdefs.h" 2832#include "confdefs.h"
2694#include <termios.h> 2833#include <termios.h>
2695int main() { 2834int main() {
2696speed_t x = 1; 2835speed_t x = 1;
2697; return 0; } 2836; return 0; }
2698EOF 2837EOF
2699if { (eval echo configure:2700: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2838if { (eval echo configure:2839: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2700 rm -rf conftest* 2839 rm -rf conftest*
2701 emacs_cv_speed_t=yes 2840 emacs_cv_speed_t=yes
2702else 2841else
@@ -2715,12 +2854,12 @@ EOF
2715fi 2854fi
2716 2855
2717echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 2856echo $ac_n "checking for struct timeval""... $ac_c" 1>&6
2718echo "configure:2719: checking for struct timeval" >&5 2857echo "configure:2858: checking for struct timeval" >&5
2719if eval "test \"`echo '$''{'emacs_cv_struct_timeval'+set}'`\" = set"; then 2858if eval "test \"`echo '$''{'emacs_cv_struct_timeval'+set}'`\" = set"; then
2720 echo $ac_n "(cached) $ac_c" 1>&6 2859 echo $ac_n "(cached) $ac_c" 1>&6
2721else 2860else
2722 cat > conftest.$ac_ext <<EOF 2861 cat > conftest.$ac_ext <<EOF
2723#line 2724 "configure" 2862#line 2863 "configure"
2724#include "confdefs.h" 2863#include "confdefs.h"
2725#ifdef TIME_WITH_SYS_TIME 2864#ifdef TIME_WITH_SYS_TIME
2726#include <sys/time.h> 2865#include <sys/time.h>
@@ -2736,7 +2875,7 @@ int main() {
2736static struct timeval x; x.tv_sec = x.tv_usec; 2875static struct timeval x; x.tv_sec = x.tv_usec;
2737; return 0; } 2876; return 0; }
2738EOF 2877EOF
2739if { (eval echo configure:2740: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2878if { (eval echo configure:2879: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2740 rm -rf conftest* 2879 rm -rf conftest*
2741 emacs_cv_struct_timeval=yes 2880 emacs_cv_struct_timeval=yes
2742else 2881else
@@ -2758,19 +2897,19 @@ EOF
2758fi 2897fi
2759 2898
2760echo $ac_n "checking for struct exception""... $ac_c" 1>&6 2899echo $ac_n "checking for struct exception""... $ac_c" 1>&6
2761echo "configure:2762: checking for struct exception" >&5 2900echo "configure:2901: checking for struct exception" >&5
2762if eval "test \"`echo '$''{'emacs_cv_struct_exception'+set}'`\" = set"; then 2901if eval "test \"`echo '$''{'emacs_cv_struct_exception'+set}'`\" = set"; then
2763 echo $ac_n "(cached) $ac_c" 1>&6 2902 echo $ac_n "(cached) $ac_c" 1>&6
2764else 2903else
2765 cat > conftest.$ac_ext <<EOF 2904 cat > conftest.$ac_ext <<EOF
2766#line 2767 "configure" 2905#line 2906 "configure"
2767#include "confdefs.h" 2906#include "confdefs.h"
2768#include <math.h> 2907#include <math.h>
2769int main() { 2908int main() {
2770static struct exception x; x.arg1 = x.arg2 = x.retval; x.name = ""; x.type = 1; 2909static struct exception x; x.arg1 = x.arg2 = x.retval; x.name = ""; x.type = 1;
2771; return 0; } 2910; return 0; }
2772EOF 2911EOF
2773if { (eval echo configure:2774: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2912if { (eval echo configure:2913: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2774 rm -rf conftest* 2913 rm -rf conftest*
2775 emacs_cv_struct_exception=yes 2914 emacs_cv_struct_exception=yes
2776else 2915else
@@ -2792,12 +2931,12 @@ EOF
2792fi 2931fi
2793 2932
2794echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 2933echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
2795echo "configure:2796: checking whether struct tm is in sys/time.h or time.h" >&5 2934echo "configure:2935: checking whether struct tm is in sys/time.h or time.h" >&5
2796if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then 2935if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
2797 echo $ac_n "(cached) $ac_c" 1>&6 2936 echo $ac_n "(cached) $ac_c" 1>&6
2798else 2937else
2799 cat > conftest.$ac_ext <<EOF 2938 cat > conftest.$ac_ext <<EOF
2800#line 2801 "configure" 2939#line 2940 "configure"
2801#include "confdefs.h" 2940#include "confdefs.h"
2802#include <sys/types.h> 2941#include <sys/types.h>
2803#include <time.h> 2942#include <time.h>
@@ -2805,7 +2944,7 @@ int main() {
2805struct tm *tp; tp->tm_sec; 2944struct tm *tp; tp->tm_sec;
2806; return 0; } 2945; return 0; }
2807EOF 2946EOF
2808if { (eval echo configure:2809: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2947if { (eval echo configure:2948: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2809 rm -rf conftest* 2948 rm -rf conftest*
2810 ac_cv_struct_tm=time.h 2949 ac_cv_struct_tm=time.h
2811else 2950else
@@ -2826,12 +2965,12 @@ EOF
2826fi 2965fi
2827 2966
2828echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 2967echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6
2829echo "configure:2830: checking for tm_zone in struct tm" >&5 2968echo "configure:2969: checking for tm_zone in struct tm" >&5
2830if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then 2969if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then
2831 echo $ac_n "(cached) $ac_c" 1>&6 2970 echo $ac_n "(cached) $ac_c" 1>&6
2832else 2971else
2833 cat > conftest.$ac_ext <<EOF 2972 cat > conftest.$ac_ext <<EOF
2834#line 2835 "configure" 2973#line 2974 "configure"
2835#include "confdefs.h" 2974#include "confdefs.h"
2836#include <sys/types.h> 2975#include <sys/types.h>
2837#include <$ac_cv_struct_tm> 2976#include <$ac_cv_struct_tm>
@@ -2839,7 +2978,7 @@ int main() {
2839struct tm tm; tm.tm_zone; 2978struct tm tm; tm.tm_zone;
2840; return 0; } 2979; return 0; }
2841EOF 2980EOF
2842if { (eval echo configure:2843: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2981if { (eval echo configure:2982: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2843 rm -rf conftest* 2982 rm -rf conftest*
2844 ac_cv_struct_tm_zone=yes 2983 ac_cv_struct_tm_zone=yes
2845else 2984else
@@ -2859,12 +2998,12 @@ EOF
2859 2998
2860else 2999else
2861 echo $ac_n "checking for tzname""... $ac_c" 1>&6 3000 echo $ac_n "checking for tzname""... $ac_c" 1>&6
2862echo "configure:2863: checking for tzname" >&5 3001echo "configure:3002: checking for tzname" >&5
2863if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then 3002if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then
2864 echo $ac_n "(cached) $ac_c" 1>&6 3003 echo $ac_n "(cached) $ac_c" 1>&6
2865else 3004else
2866 cat > conftest.$ac_ext <<EOF 3005 cat > conftest.$ac_ext <<EOF
2867#line 2868 "configure" 3006#line 3007 "configure"
2868#include "confdefs.h" 3007#include "confdefs.h"
2869#include <time.h> 3008#include <time.h>
2870#ifndef tzname /* For SGI. */ 3009#ifndef tzname /* For SGI. */
@@ -2874,7 +3013,7 @@ int main() {
2874atoi(*tzname); 3013atoi(*tzname);
2875; return 0; } 3014; return 0; }
2876EOF 3015EOF
2877if { (eval echo configure:2878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3016if { (eval echo configure:3017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2878 rm -rf conftest* 3017 rm -rf conftest*
2879 ac_cv_var_tzname=yes 3018 ac_cv_var_tzname=yes
2880else 3019else
@@ -2896,19 +3035,19 @@ EOF
2896fi 3035fi
2897 3036
2898echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6 3037echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
2899echo "configure:2900: checking for tm_gmtoff in struct tm" >&5 3038echo "configure:3039: checking for tm_gmtoff in struct tm" >&5
2900if eval "test \"`echo '$''{'emacs_cv_tm_gmtoff'+set}'`\" = set"; then 3039if eval "test \"`echo '$''{'emacs_cv_tm_gmtoff'+set}'`\" = set"; then
2901 echo $ac_n "(cached) $ac_c" 1>&6 3040 echo $ac_n "(cached) $ac_c" 1>&6
2902else 3041else
2903 cat > conftest.$ac_ext <<EOF 3042 cat > conftest.$ac_ext <<EOF
2904#line 2905 "configure" 3043#line 3044 "configure"
2905#include "confdefs.h" 3044#include "confdefs.h"
2906#include <time.h> 3045#include <time.h>
2907int main() { 3046int main() {
2908struct tm t; t.tm_gmtoff = 0 3047struct tm t; t.tm_gmtoff = 0
2909; return 0; } 3048; return 0; }
2910EOF 3049EOF
2911if { (eval echo configure:2912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3050if { (eval echo configure:3051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2912 rm -rf conftest* 3051 rm -rf conftest*
2913 emacs_cv_tm_gmtoff=yes 3052 emacs_cv_tm_gmtoff=yes
2914else 3053else
@@ -2930,7 +3069,7 @@ fi
2930 3069
2931 3070
2932echo $ac_n "checking for ${CC-cc} option to accept ANSI C""... $ac_c" 1>&6 3071echo $ac_n "checking for ${CC-cc} option to accept ANSI C""... $ac_c" 1>&6
2933echo "configure:2934: checking for ${CC-cc} option to accept ANSI C" >&5 3072echo "configure:3073: checking for ${CC-cc} option to accept ANSI C" >&5
2934if eval "test \"`echo '$''{'ac_cv_prog_cc_stdc'+set}'`\" = set"; then 3073if eval "test \"`echo '$''{'ac_cv_prog_cc_stdc'+set}'`\" = set"; then
2935 echo $ac_n "(cached) $ac_c" 1>&6 3074 echo $ac_n "(cached) $ac_c" 1>&6
2936else 3075else
@@ -2947,7 +3086,7 @@ for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIO
2947do 3086do
2948 CC="$ac_save_CC $ac_arg" 3087 CC="$ac_save_CC $ac_arg"
2949 cat > conftest.$ac_ext <<EOF 3088 cat > conftest.$ac_ext <<EOF
2950#line 2951 "configure" 3089#line 3090 "configure"
2951#include "confdefs.h" 3090#include "confdefs.h"
2952#include <stdarg.h> 3091#include <stdarg.h>
2953#include <stdio.h> 3092#include <stdio.h>
@@ -2981,7 +3120,7 @@ int main() {
2981return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3120return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2982; return 0; } 3121; return 0; }
2983EOF 3122EOF
2984if { (eval echo configure:2985: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3123if { (eval echo configure:3124: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2985 rm -rf conftest* 3124 rm -rf conftest*
2986 ac_cv_prog_cc_stdc="$ac_arg"; break 3125 ac_cv_prog_cc_stdc="$ac_arg"; break
2987else 3126else
@@ -3003,7 +3142,7 @@ case "x$ac_cv_prog_cc_stdc" in
3003esac 3142esac
3004 3143
3005echo $ac_n "checking for function prototypes""... $ac_c" 1>&6 3144echo $ac_n "checking for function prototypes""... $ac_c" 1>&6
3006echo "configure:3007: checking for function prototypes" >&5 3145echo "configure:3146: checking for function prototypes" >&5
3007if test "$ac_cv_prog_cc_stdc" != no; then 3146if test "$ac_cv_prog_cc_stdc" != no; then
3008 echo "$ac_t""yes" 1>&6 3147 echo "$ac_t""yes" 1>&6
3009 cat >> confdefs.h <<\EOF 3148 cat >> confdefs.h <<\EOF
@@ -3015,12 +3154,12 @@ else
3015fi 3154fi
3016 3155
3017echo $ac_n "checking for working volatile""... $ac_c" 1>&6 3156echo $ac_n "checking for working volatile""... $ac_c" 1>&6
3018echo "configure:3019: checking for working volatile" >&5 3157echo "configure:3158: checking for working volatile" >&5
3019if eval "test \"`echo '$''{'ac_cv_c_volatile'+set}'`\" = set"; then 3158if eval "test \"`echo '$''{'ac_cv_c_volatile'+set}'`\" = set"; then
3020 echo $ac_n "(cached) $ac_c" 1>&6 3159 echo $ac_n "(cached) $ac_c" 1>&6
3021else 3160else
3022 cat > conftest.$ac_ext <<EOF 3161 cat > conftest.$ac_ext <<EOF
3023#line 3024 "configure" 3162#line 3163 "configure"
3024#include "confdefs.h" 3163#include "confdefs.h"
3025 3164
3026int main() { 3165int main() {
@@ -3029,7 +3168,7 @@ volatile int x;
3029int * volatile y; 3168int * volatile y;
3030; return 0; } 3169; return 0; }
3031EOF 3170EOF
3032if { (eval echo configure:3033: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3171if { (eval echo configure:3172: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3033 rm -rf conftest* 3172 rm -rf conftest*
3034 ac_cv_c_volatile=yes 3173 ac_cv_c_volatile=yes
3035else 3174else
@@ -3050,18 +3189,18 @@ EOF
3050fi 3189fi
3051 3190
3052echo $ac_n "checking for working const""... $ac_c" 1>&6 3191echo $ac_n "checking for working const""... $ac_c" 1>&6
3053echo "configure:3054: checking for working const" >&5 3192echo "configure:3193: checking for working const" >&5
3054if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 3193if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
3055 echo $ac_n "(cached) $ac_c" 1>&6 3194 echo $ac_n "(cached) $ac_c" 1>&6
3056else 3195else
3057 cat > conftest.$ac_ext <<EOF 3196 cat > conftest.$ac_ext <<EOF
3058#line 3059 "configure" 3197#line 3198 "configure"
3059#include "confdefs.h" 3198#include "confdefs.h"
3060 3199
3061int main() { 3200int main() {
3062 3201
3063/* Ultrix mips cc rejects this. */ 3202/* Ultrix mips cc rejects this. */
3064typedef int charset[2]; const charset x; 3203typedef int charset[2]; const charset x = {0,0};
3065/* SunOS 4.1.1 cc rejects this. */ 3204/* SunOS 4.1.1 cc rejects this. */
3066char const *const *ccp; 3205char const *const *ccp;
3067char **p; 3206char **p;
@@ -3104,7 +3243,7 @@ ccp = (char const *const *) p;
3104 3243
3105; return 0; } 3244; return 0; }
3106EOF 3245EOF
3107if { (eval echo configure:3108: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3246if { (eval echo configure:3247: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3108 rm -rf conftest* 3247 rm -rf conftest*
3109 ac_cv_c_const=yes 3248 ac_cv_c_const=yes
3110else 3249else
@@ -3125,19 +3264,19 @@ EOF
3125fi 3264fi
3126 3265
3127echo $ac_n "checking for void * support""... $ac_c" 1>&6 3266echo $ac_n "checking for void * support""... $ac_c" 1>&6
3128echo "configure:3129: checking for void * support" >&5 3267echo "configure:3268: checking for void * support" >&5
3129if eval "test \"`echo '$''{'emacs_cv_void_star'+set}'`\" = set"; then 3268if eval "test \"`echo '$''{'emacs_cv_void_star'+set}'`\" = set"; then
3130 echo $ac_n "(cached) $ac_c" 1>&6 3269 echo $ac_n "(cached) $ac_c" 1>&6
3131else 3270else
3132 cat > conftest.$ac_ext <<EOF 3271 cat > conftest.$ac_ext <<EOF
3133#line 3134 "configure" 3272#line 3273 "configure"
3134#include "confdefs.h" 3273#include "confdefs.h"
3135 3274
3136int main() { 3275int main() {
3137void * foo; 3276void * foo;
3138; return 0; } 3277; return 0; }
3139EOF 3278EOF
3140if { (eval echo configure:3141: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3279if { (eval echo configure:3280: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3141 rm -rf conftest* 3280 rm -rf conftest*
3142 emacs_cv_void_star=yes 3281 emacs_cv_void_star=yes
3143else 3282else
@@ -3163,7 +3302,7 @@ EOF
3163fi 3302fi
3164 3303
3165echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 3304echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
3166echo "configure:3167: checking whether ${MAKE-make} sets \${MAKE}" >&5 3305echo "configure:3306: checking whether ${MAKE-make} sets \${MAKE}" >&5
3167set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 3306set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
3168if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then 3307if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
3169 echo $ac_n "(cached) $ac_c" 1>&6 3308 echo $ac_n "(cached) $ac_c" 1>&6
@@ -3191,7 +3330,7 @@ fi
3191 3330
3192 3331
3193echo $ac_n "checking for long file names""... $ac_c" 1>&6 3332echo $ac_n "checking for long file names""... $ac_c" 1>&6
3194echo "configure:3195: checking for long file names" >&5 3333echo "configure:3334: checking for long file names" >&5
3195if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then 3334if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then
3196 echo $ac_n "(cached) $ac_c" 1>&6 3335 echo $ac_n "(cached) $ac_c" 1>&6
3197else 3336else
@@ -3242,7 +3381,7 @@ fi
3242# Uses ac_ vars as temps to allow command line to override cache and checks. 3381# Uses ac_ vars as temps to allow command line to override cache and checks.
3243# --without-x overrides everything else, but does not touch the cache. 3382# --without-x overrides everything else, but does not touch the cache.
3244echo $ac_n "checking for X""... $ac_c" 1>&6 3383echo $ac_n "checking for X""... $ac_c" 1>&6
3245echo "configure:3246: checking for X" >&5 3384echo "configure:3385: checking for X" >&5
3246 3385
3247# Check whether --with-x or --without-x was given. 3386# Check whether --with-x or --without-x was given.
3248if test "${with_x+set}" = set; then 3387if test "${with_x+set}" = set; then
@@ -3304,12 +3443,12 @@ if test "$ac_x_includes" = NO; then
3304 3443
3305 # First, try using that file with no special directory specified. 3444 # First, try using that file with no special directory specified.
3306cat > conftest.$ac_ext <<EOF 3445cat > conftest.$ac_ext <<EOF
3307#line 3308 "configure" 3446#line 3447 "configure"
3308#include "confdefs.h" 3447#include "confdefs.h"
3309#include <$x_direct_test_include> 3448#include <$x_direct_test_include>
3310EOF 3449EOF
3311ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3450ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3312{ (eval echo configure:3313: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3451{ (eval echo configure:3452: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3313ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3452ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3314if test -z "$ac_err"; then 3453if test -z "$ac_err"; then
3315 rm -rf conftest* 3454 rm -rf conftest*
@@ -3378,14 +3517,14 @@ if test "$ac_x_libraries" = NO; then
3378 ac_save_LIBS="$LIBS" 3517 ac_save_LIBS="$LIBS"
3379 LIBS="-l$x_direct_test_library $LIBS" 3518 LIBS="-l$x_direct_test_library $LIBS"
3380cat > conftest.$ac_ext <<EOF 3519cat > conftest.$ac_ext <<EOF
3381#line 3382 "configure" 3520#line 3521 "configure"
3382#include "confdefs.h" 3521#include "confdefs.h"
3383 3522
3384int main() { 3523int main() {
3385${x_direct_test_function}() 3524${x_direct_test_function}()
3386; return 0; } 3525; return 0; }
3387EOF 3526EOF
3388if { (eval echo configure:3389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3527if { (eval echo configure:3528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3389 rm -rf conftest* 3528 rm -rf conftest*
3390 LIBS="$ac_save_LIBS" 3529 LIBS="$ac_save_LIBS"
3391# We can link X programs with no special library path. 3530# We can link X programs with no special library path.
@@ -3555,137 +3694,6 @@ if test "${opsys}" = "hpux9shr"; then
3555 esac 3694 esac
3556fi 3695fi
3557 3696
3558#### Extract some information from the operating system and machine files.
3559
3560echo "checking the machine- and system-dependent files to find out
3561 - which libraries the lib-src programs will want, and
3562 - whether the GNU malloc routines are usable" 1>&6
3563echo "configure:3564: checking the machine- and system-dependent files to find out
3564 - which libraries the lib-src programs will want, and
3565 - whether the GNU malloc routines are usable" >&5
3566
3567### First figure out CFLAGS (which we use for running the compiler here)
3568### and REAL_CFLAGS (which we use for real compilation).
3569### The two are the same except on a few systems, where they are made
3570### different to work around various lossages. For example,
3571### GCC 2.5 on GNU/Linux needs them to be different because it treats -g
3572### as implying static linking.
3573
3574### If the CFLAGS env var is specified, we use that value
3575### instead of the default.
3576
3577### It's not important that this name contain the PID; you can't run
3578### two configures in the same directory and have anything work
3579### anyway.
3580tempcname="conftest.c"
3581
3582echo '
3583#include "'${srcdir}'/src/'${opsysfile}'"
3584#include "'${srcdir}'/src/'${machfile}'"
3585#ifndef LIBS_MACHINE
3586#define LIBS_MACHINE
3587#endif
3588#ifndef LIBS_SYSTEM
3589#define LIBS_SYSTEM
3590#endif
3591#ifndef C_SWITCH_SYSTEM
3592#define C_SWITCH_SYSTEM
3593#endif
3594#ifndef C_SWITCH_MACHINE
3595#define C_SWITCH_MACHINE
3596#endif
3597configure___ libsrc_libs=LIBS_MACHINE LIBS_SYSTEM
3598configure___ c_switch_system=C_SWITCH_SYSTEM
3599configure___ c_switch_machine=C_SWITCH_MACHINE
3600
3601#ifndef LIB_X11_LIB
3602#define LIB_X11_LIB -lX11
3603#endif
3604
3605#ifndef LIBX11_MACHINE
3606#define LIBX11_MACHINE
3607#endif
3608
3609#ifndef LIBX11_SYSTEM
3610#define LIBX11_SYSTEM
3611#endif
3612configure___ LIBX=LIB_X11_LIB LIBX11_MACHINE LIBX11_SYSTEM
3613
3614#ifdef UNEXEC
3615configure___ unexec=UNEXEC
3616#else
3617configure___ unexec=unexec.o
3618#endif
3619
3620#ifdef SYSTEM_MALLOC
3621configure___ system_malloc=yes
3622#else
3623configure___ system_malloc=no
3624#endif
3625
3626#ifndef C_DEBUG_SWITCH
3627#define C_DEBUG_SWITCH -g
3628#endif
3629
3630#ifndef C_OPTIMIZE_SWITCH
3631#ifdef __GNUC__
3632#define C_OPTIMIZE_SWITCH -O2
3633#else
3634#define C_OPTIMIZE_SWITCH -O
3635#endif
3636#endif
3637
3638#ifndef LD_SWITCH_MACHINE
3639#define LD_SWITCH_MACHINE
3640#endif
3641
3642#ifndef LD_SWITCH_SYSTEM
3643#define LD_SWITCH_SYSTEM
3644#endif
3645
3646#ifndef LD_SWITCH_X_SITE_AUX
3647#define LD_SWITCH_X_SITE_AUX
3648#endif
3649
3650configure___ ld_switch_system=LD_SWITCH_SYSTEM
3651configure___ ld_switch_machine=LD_SWITCH_MACHINE
3652
3653#ifdef THIS_IS_CONFIGURE
3654
3655/* Get the CFLAGS for tests in configure. */
3656#ifdef __GNUC__
3657configure___ CFLAGS=C_DEBUG_SWITCH C_OPTIMIZE_SWITCH '${SPECIFIED_CFLAGS}'
3658#else
3659configure___ CFLAGS=C_DEBUG_SWITCH '${SPECIFIED_CFLAGS}'
3660#endif
3661
3662#else /* not THIS_IS_CONFIGURE */
3663
3664/* Get the CFLAGS for real compilation. */
3665#ifdef __GNUC__
3666configure___ REAL_CFLAGS=C_DEBUG_SWITCH C_OPTIMIZE_SWITCH '${SPECIFIED_CFLAGS}'
3667#else
3668configure___ REAL_CFLAGS=C_DEBUG_SWITCH '${SPECIFIED_CFLAGS}'
3669#endif
3670
3671#endif /* not THIS_IS_CONFIGURE */
3672' > ${tempcname}
3673
3674# The value of CPP is a quoted variable reference, so we need to do this
3675# to get its actual value...
3676CPP=`eval "echo $CPP"`
3677eval `${CPP} -Isrc ${tempcname} \
3678 | sed -n -e 's/^configure___ \([^=]*=\)\(.*\)$/\1"\2"/p'`
3679if test "x$SPECIFIED_CFLAGS" = x; then
3680 eval `${CPP} -Isrc -DTHIS_IS_CONFIGURE ${tempcname} \
3681 | sed -n -e 's/^configure___ \([^=]*=\)\(.*\)$/\1"\2"/p'`
3682else
3683 REAL_CFLAGS="$CFLAGS"
3684fi
3685rm ${tempcname}
3686
3687ac_link="$ac_link $ld_switch_machine $ld_switch_system"
3688
3689### Compute the unexec source name from the object name. 3697### Compute the unexec source name from the object name.
3690UNEXEC_SRC="`echo ${unexec} | sed 's/\.o/.c/'`" 3698UNEXEC_SRC="`echo ${unexec} | sed 's/\.o/.c/'`"
3691 3699
@@ -3694,12 +3702,12 @@ UNEXEC_SRC="`echo ${unexec} | sed 's/\.o/.c/'`"
3694GNU_MALLOC=yes 3702GNU_MALLOC=yes
3695doug_lea_malloc=yes 3703doug_lea_malloc=yes
3696echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 3704echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6
3697echo "configure:3698: checking for malloc_get_state" >&5 3705echo "configure:3706: checking for malloc_get_state" >&5
3698if eval "test \"`echo '$''{'ac_cv_func_malloc_get_state'+set}'`\" = set"; then 3706if eval "test \"`echo '$''{'ac_cv_func_malloc_get_state'+set}'`\" = set"; then
3699 echo $ac_n "(cached) $ac_c" 1>&6 3707 echo $ac_n "(cached) $ac_c" 1>&6
3700else 3708else
3701 cat > conftest.$ac_ext <<EOF 3709 cat > conftest.$ac_ext <<EOF
3702#line 3703 "configure" 3710#line 3711 "configure"
3703#include "confdefs.h" 3711#include "confdefs.h"
3704/* System header to define __stub macros and hopefully few prototypes, 3712/* System header to define __stub macros and hopefully few prototypes,
3705 which can conflict with char malloc_get_state(); below. */ 3713 which can conflict with char malloc_get_state(); below. */
@@ -3722,7 +3730,7 @@ malloc_get_state();
3722 3730
3723; return 0; } 3731; return 0; }
3724EOF 3732EOF
3725if { (eval echo configure:3726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3733if { (eval echo configure:3734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3726 rm -rf conftest* 3734 rm -rf conftest*
3727 eval "ac_cv_func_malloc_get_state=yes" 3735 eval "ac_cv_func_malloc_get_state=yes"
3728else 3736else
@@ -3743,12 +3751,12 @@ doug_lea_malloc=no
3743fi 3751fi
3744 3752
3745echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 3753echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6
3746echo "configure:3747: checking for malloc_set_state" >&5 3754echo "configure:3755: checking for malloc_set_state" >&5
3747if eval "test \"`echo '$''{'ac_cv_func_malloc_set_state'+set}'`\" = set"; then 3755if eval "test \"`echo '$''{'ac_cv_func_malloc_set_state'+set}'`\" = set"; then
3748 echo $ac_n "(cached) $ac_c" 1>&6 3756 echo $ac_n "(cached) $ac_c" 1>&6
3749else 3757else
3750 cat > conftest.$ac_ext <<EOF 3758 cat > conftest.$ac_ext <<EOF
3751#line 3752 "configure" 3759#line 3760 "configure"
3752#include "confdefs.h" 3760#include "confdefs.h"
3753/* System header to define __stub macros and hopefully few prototypes, 3761/* System header to define __stub macros and hopefully few prototypes,
3754 which can conflict with char malloc_set_state(); below. */ 3762 which can conflict with char malloc_set_state(); below. */
@@ -3771,7 +3779,7 @@ malloc_set_state();
3771 3779
3772; return 0; } 3780; return 0; }
3773EOF 3781EOF
3774if { (eval echo configure:3775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3782if { (eval echo configure:3783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3775 rm -rf conftest* 3783 rm -rf conftest*
3776 eval "ac_cv_func_malloc_set_state=yes" 3784 eval "ac_cv_func_malloc_set_state=yes"
3777else 3785else
@@ -3792,19 +3800,19 @@ doug_lea_malloc=no
3792fi 3800fi
3793 3801
3794echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 3802echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6
3795echo "configure:3796: checking whether __after_morecore_hook exists" >&5 3803echo "configure:3804: checking whether __after_morecore_hook exists" >&5
3796if eval "test \"`echo '$''{'emacs_cv_var___after_morecore_hook'+set}'`\" = set"; then 3804if eval "test \"`echo '$''{'emacs_cv_var___after_morecore_hook'+set}'`\" = set"; then
3797 echo $ac_n "(cached) $ac_c" 1>&6 3805 echo $ac_n "(cached) $ac_c" 1>&6
3798else 3806else
3799 cat > conftest.$ac_ext <<EOF 3807 cat > conftest.$ac_ext <<EOF
3800#line 3801 "configure" 3808#line 3809 "configure"
3801#include "confdefs.h" 3809#include "confdefs.h"
3802extern void (* __after_morecore_hook)(); 3810extern void (* __after_morecore_hook)();
3803int main() { 3811int main() {
3804__after_morecore_hook = 0 3812__after_morecore_hook = 0
3805; return 0; } 3813; return 0; }
3806EOF 3814EOF
3807if { (eval echo configure:3808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3815if { (eval echo configure:3816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3808 rm -rf conftest* 3816 rm -rf conftest*
3809 emacs_cv_var___after_morecore_hook=yes 3817 emacs_cv_var___after_morecore_hook=yes
3810else 3818else
@@ -3840,14 +3848,6 @@ if test x"${REL_ALLOC}" = x; then
3840 REL_ALLOC=${GNU_MALLOC} 3848 REL_ALLOC=${GNU_MALLOC}
3841fi 3849fi
3842 3850
3843#### Add the libraries to LIBS and check for some functions.
3844
3845if test x"${OVERRIDE_CPPFLAGS}" != x; then
3846 CPPFLAGS="${OVERRIDE_CPPFLAGS}"
3847else
3848 CPPFLAGS="$c_switch_system $c_switch_machine $CPPFLAGS"
3849fi
3850
3851LIBS="$libsrc_libs $LIBS" 3851LIBS="$libsrc_libs $LIBS"
3852 3852
3853echo $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
@@ -5076,7 +5076,7 @@ else
5076#include "confdefs.h" 5076#include "confdefs.h"
5077#include <alloca.h> 5077#include <alloca.h>
5078int main() { 5078int main() {
5079char *p = alloca(2 * sizeof(int)); 5079void *p = alloca(2 * sizeof(int));
5080; return 0; } 5080; return 0; }
5081EOF 5081EOF
5082if { (eval echo configure:5083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5082if { (eval echo configure:5083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index d737fa22455..3b326ed4d32 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12000-07-18 Dave Love <fx@gnu.org>
2
3 * bindings.el (mode-line-mule-info, mode-line-modified): help-echo
4 improvements.
5
12000-07-18 Gerd Moellmann <gerd@gnu.org> 62000-07-18 Gerd Moellmann <gerd@gnu.org>
2 7
3 * faces.el (face-font-selection-order) 8 * faces.el (face-font-selection-order)