diff options
| author | Dave Love | 2000-07-18 22:16:01 +0000 |
|---|---|---|
| committer | Dave Love | 2000-07-18 22:16:01 +0000 |
| commit | 3b33a0059c10b22373eeee7914685afa7af20108 (patch) | |
| tree | 5c682a7ae62bc2df3abd3c25d0e1b39abbdf1aa7 | |
| parent | 4428e2683a856eb1ea77cc98cf1244925c14be6c (diff) | |
| download | emacs-3b33a0059c10b22373eeee7914685afa7af20108.tar.gz emacs-3b33a0059c10b22373eeee7914685afa7af20108.zip | |
*** empty log message ***
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rwxr-xr-x | configure | 444 | ||||
| -rw-r--r-- | lisp/ChangeLog | 5 |
3 files changed, 232 insertions, 222 deletions
| @@ -1,3 +1,8 @@ | |||
| 1 | 2000-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 | |||
| 1 | 2000-07-10 Gerd Moellmann <gerd@gnu.org> | 6 | 2000-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 |
| @@ -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 | |||
| 2254 | echo "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 | ||
| 2257 | echo "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. | ||
| 2274 | tempcname="conftest.c" | ||
| 2275 | |||
| 2276 | echo ' | ||
| 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 | ||
| 2291 | configure___ libsrc_libs=LIBS_MACHINE LIBS_SYSTEM | ||
| 2292 | configure___ c_switch_system=C_SWITCH_SYSTEM | ||
| 2293 | configure___ 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 | ||
| 2306 | configure___ LIBX=LIB_X11_LIB LIBX11_MACHINE LIBX11_SYSTEM | ||
| 2307 | |||
| 2308 | #ifdef UNEXEC | ||
| 2309 | configure___ unexec=UNEXEC | ||
| 2310 | #else | ||
| 2311 | configure___ unexec=unexec.o | ||
| 2312 | #endif | ||
| 2313 | |||
| 2314 | #ifdef SYSTEM_MALLOC | ||
| 2315 | configure___ system_malloc=yes | ||
| 2316 | #else | ||
| 2317 | configure___ 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 | |||
| 2344 | configure___ ld_switch_system=LD_SWITCH_SYSTEM | ||
| 2345 | configure___ ld_switch_machine=LD_SWITCH_MACHINE | ||
| 2346 | |||
| 2347 | #ifdef THIS_IS_CONFIGURE | ||
| 2348 | |||
| 2349 | /* Get the CFLAGS for tests in configure. */ | ||
| 2350 | #ifdef __GNUC__ | ||
| 2351 | configure___ CFLAGS=C_DEBUG_SWITCH C_OPTIMIZE_SWITCH '${SPECIFIED_CFLAGS}' | ||
| 2352 | #else | ||
| 2353 | configure___ 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__ | ||
| 2360 | configure___ REAL_CFLAGS=C_DEBUG_SWITCH C_OPTIMIZE_SWITCH '${SPECIFIED_CFLAGS}' | ||
| 2361 | #else | ||
| 2362 | configure___ 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... | ||
| 2370 | CPP=`eval "echo $CPP"` | ||
| 2371 | eval `${CPP} -Isrc ${tempcname} \ | ||
| 2372 | | sed -n -e 's/^configure___ \([^=]*=\)\(.*\)$/\1"\2"/p'` | ||
| 2373 | if test "x$SPECIFIED_CFLAGS" = x; then | ||
| 2374 | eval `${CPP} -Isrc -DTHIS_IS_CONFIGURE ${tempcname} \ | ||
| 2375 | | sed -n -e 's/^configure___ \([^=]*=\)\(.*\)$/\1"\2"/p'` | ||
| 2376 | else | ||
| 2377 | REAL_CFLAGS="$CFLAGS" | ||
| 2378 | fi | ||
| 2379 | rm ${tempcname} | ||
| 2380 | |||
| 2381 | ac_link="$ac_link $ld_switch_machine $ld_switch_system" | ||
| 2382 | |||
| 2383 | ### Make sure subsequent tests use flags consistent with the build flags. | ||
| 2384 | |||
| 2385 | if test x"${OVERRIDE_CPPFLAGS}" != x; then | ||
| 2386 | CPPFLAGS="${OVERRIDE_CPPFLAGS}" | ||
| 2387 | else | ||
| 2388 | CPPFLAGS="$c_switch_system $c_switch_machine $CPPFLAGS" | ||
| 2389 | fi | ||
| 2390 | |||
| 2252 | # Sound support for GNU/Linux and the free BSDs. | 2391 | # Sound support for GNU/Linux and the free BSDs. |
| 2253 | for ac_hdr in machine/soundcard.h sys/soundcard.h soundcard.h | 2392 | for ac_hdr in machine/soundcard.h sys/soundcard.h soundcard.h |
| 2254 | do | 2393 | do |
| 2255 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2394 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 2256 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2395 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 2257 | echo "configure:2258: checking for $ac_hdr" >&5 | 2396 | echo "configure:2397: checking for $ac_hdr" >&5 |
| 2258 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 2397 | if 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 |
| 2260 | else | 2399 | else |
| 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> |
| 2265 | EOF | 2404 | EOF |
| 2266 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2405 | ac_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; } |
| 2268 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2407 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 2269 | if test -z "$ac_err"; then | 2408 | if 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. |
| 2294 | echo $ac_n "checking for _oss_ioctl in -lossaudio""... $ac_c" 1>&6 | 2433 | echo $ac_n "checking for _oss_ioctl in -lossaudio""... $ac_c" 1>&6 |
| 2295 | echo "configure:2296: checking for _oss_ioctl in -lossaudio" >&5 | 2434 | echo "configure:2435: checking for _oss_ioctl in -lossaudio" >&5 |
| 2296 | ac_lib_var=`echo ossaudio'_'_oss_ioctl | sed 'y%./+-%__p_%'` | 2435 | ac_lib_var=`echo ossaudio'_'_oss_ioctl | sed 'y%./+-%__p_%'` |
| 2297 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 2436 | if 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" |
| 2301 | LIBS="-lossaudio $LIBS" | 2440 | LIBS="-lossaudio $LIBS" |
| 2302 | cat > conftest.$ac_ext <<EOF | 2441 | cat > 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; } |
| 2313 | EOF | 2452 | EOF |
| 2314 | if { (eval echo configure:2315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2453 | if { (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" |
| 2317 | else | 2456 | else |
| @@ -2340,17 +2479,17 @@ for ac_hdr in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ | |||
| 2340 | do | 2479 | do |
| 2341 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2480 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 2342 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2481 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 2343 | echo "configure:2344: checking for $ac_hdr" >&5 | 2482 | echo "configure:2483: checking for $ac_hdr" >&5 |
| 2344 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 2483 | if 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 |
| 2346 | else | 2485 | else |
| 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> |
| 2351 | EOF | 2490 | EOF |
| 2352 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2491 | ac_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; } |
| 2354 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2493 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 2355 | if test -z "$ac_err"; then | 2494 | if test -z "$ac_err"; then |
| 2356 | rm -rf conftest* | 2495 | rm -rf conftest* |
| @@ -2377,12 +2516,12 @@ fi | |||
| 2377 | done | 2516 | done |
| 2378 | 2517 | ||
| 2379 | echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 2518 | echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
| 2380 | echo "configure:2381: checking for ANSI C header files" >&5 | 2519 | echo "configure:2520: checking for ANSI C header files" >&5 |
| 2381 | if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then | 2520 | if 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 |
| 2383 | else | 2522 | else |
| 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> |
| 2391 | EOF | 2530 | EOF |
| 2392 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2531 | ac_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; } |
| 2394 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2533 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 2395 | if test -z "$ac_err"; then | 2534 | if test -z "$ac_err"; then |
| 2396 | rm -rf conftest* | 2535 | rm -rf conftest* |
| @@ -2407,7 +2546,7 @@ rm -f conftest* | |||
| 2407 | if test $ac_cv_header_stdc = yes; then | 2546 | if 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. |
| 2409 | cat > conftest.$ac_ext <<EOF | 2548 | cat > 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> |
| 2413 | EOF | 2552 | EOF |
| @@ -2425,7 +2564,7 @@ fi | |||
| 2425 | if test $ac_cv_header_stdc = yes; then | 2564 | if 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. |
| 2427 | cat > conftest.$ac_ext <<EOF | 2566 | cat > 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> |
| 2431 | EOF | 2570 | EOF |
| @@ -2446,7 +2585,7 @@ if test "$cross_compiling" = yes; then | |||
| 2446 | : | 2585 | : |
| 2447 | else | 2586 | else |
| 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); | |||
| 2457 | exit (0); } | 2596 | exit (0); } |
| 2458 | 2597 | ||
| 2459 | EOF | 2598 | EOF |
| 2460 | if { (eval echo configure:2461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 2599 | if { (eval echo configure:2600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
| 2461 | then | 2600 | then |
| 2462 | : | 2601 | : |
| 2463 | else | 2602 | else |
| @@ -2481,12 +2620,12 @@ EOF | |||
| 2481 | fi | 2620 | fi |
| 2482 | 2621 | ||
| 2483 | echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 2622 | echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
| 2484 | echo "configure:2485: checking whether time.h and sys/time.h may both be included" >&5 | 2623 | echo "configure:2624: checking whether time.h and sys/time.h may both be included" >&5 |
| 2485 | if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then | 2624 | if 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 |
| 2487 | else | 2626 | else |
| 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() { | |||
| 2495 | struct tm *tp; | 2634 | struct tm *tp; |
| 2496 | ; return 0; } | 2635 | ; return 0; } |
| 2497 | EOF | 2636 | EOF |
| 2498 | if { (eval echo configure:2499: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2637 | if { (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 |
| 2501 | else | 2640 | else |
| @@ -2516,12 +2655,12 @@ EOF | |||
| 2516 | fi | 2655 | fi |
| 2517 | 2656 | ||
| 2518 | echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 2657 | echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
| 2519 | echo "configure:2520: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 2658 | echo "configure:2659: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
| 2520 | if eval "test \"`echo '$''{'ac_cv_decl_sys_siglist'+set}'`\" = set"; then | 2659 | if 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 |
| 2522 | else | 2661 | else |
| 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() { | |||
| 2533 | char *msg = *(sys_siglist + 1); | 2672 | char *msg = *(sys_siglist + 1); |
| 2534 | ; return 0; } | 2673 | ; return 0; } |
| 2535 | EOF | 2674 | EOF |
| 2536 | if { (eval echo configure:2537: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2675 | if { (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 |
| 2539 | else | 2678 | else |
| @@ -2554,12 +2693,12 @@ EOF | |||
| 2554 | fi | 2693 | fi |
| 2555 | 2694 | ||
| 2556 | echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 2695 | echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
| 2557 | echo "configure:2558: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 2696 | echo "configure:2697: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
| 2558 | if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then | 2697 | if 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 |
| 2560 | else | 2699 | else |
| 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); | |||
| 2575 | s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 2714 | s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
| 2576 | ; return 0; } | 2715 | ; return 0; } |
| 2577 | EOF | 2716 | EOF |
| 2578 | if { (eval echo configure:2579: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2717 | if { (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 |
| 2581 | else | 2720 | else |
| @@ -2597,12 +2736,12 @@ fi | |||
| 2597 | 2736 | ||
| 2598 | 2737 | ||
| 2599 | echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 | 2738 | echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 |
| 2600 | echo "configure:2601: checking for struct utimbuf" >&5 | 2739 | echo "configure:2740: checking for struct utimbuf" >&5 |
| 2601 | if eval "test \"`echo '$''{'emacs_cv_struct_utimbuf'+set}'`\" = set"; then | 2740 | if 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 |
| 2603 | else | 2742 | else |
| 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() { | |||
| 2621 | static struct utimbuf x; x.actime = x.modtime; | 2760 | static struct utimbuf x; x.actime = x.modtime; |
| 2622 | ; return 0; } | 2761 | ; return 0; } |
| 2623 | EOF | 2762 | EOF |
| 2624 | if { (eval echo configure:2625: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2763 | if { (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 |
| 2627 | else | 2766 | else |
| @@ -2642,12 +2781,12 @@ EOF | |||
| 2642 | fi | 2781 | fi |
| 2643 | 2782 | ||
| 2644 | echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 2783 | echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
| 2645 | echo "configure:2646: checking return type of signal handlers" >&5 | 2784 | echo "configure:2785: checking return type of signal handlers" >&5 |
| 2646 | if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then | 2785 | if 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 |
| 2648 | else | 2787 | else |
| 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() { | |||
| 2664 | int i; | 2803 | int i; |
| 2665 | ; return 0; } | 2804 | ; return 0; } |
| 2666 | EOF | 2805 | EOF |
| 2667 | if { (eval echo configure:2668: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2806 | if { (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 |
| 2670 | else | 2809 | else |
| @@ -2684,19 +2823,19 @@ EOF | |||
| 2684 | 2823 | ||
| 2685 | 2824 | ||
| 2686 | echo $ac_n "checking for speed_t""... $ac_c" 1>&6 | 2825 | echo $ac_n "checking for speed_t""... $ac_c" 1>&6 |
| 2687 | echo "configure:2688: checking for speed_t" >&5 | 2826 | echo "configure:2827: checking for speed_t" >&5 |
| 2688 | if eval "test \"`echo '$''{'emacs_cv_speed_t'+set}'`\" = set"; then | 2827 | if 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 |
| 2690 | else | 2829 | else |
| 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> |
| 2695 | int main() { | 2834 | int main() { |
| 2696 | speed_t x = 1; | 2835 | speed_t x = 1; |
| 2697 | ; return 0; } | 2836 | ; return 0; } |
| 2698 | EOF | 2837 | EOF |
| 2699 | if { (eval echo configure:2700: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2838 | if { (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 |
| 2702 | else | 2841 | else |
| @@ -2715,12 +2854,12 @@ EOF | |||
| 2715 | fi | 2854 | fi |
| 2716 | 2855 | ||
| 2717 | echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 2856 | echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
| 2718 | echo "configure:2719: checking for struct timeval" >&5 | 2857 | echo "configure:2858: checking for struct timeval" >&5 |
| 2719 | if eval "test \"`echo '$''{'emacs_cv_struct_timeval'+set}'`\" = set"; then | 2858 | if 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 |
| 2721 | else | 2860 | else |
| 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() { | |||
| 2736 | static struct timeval x; x.tv_sec = x.tv_usec; | 2875 | static struct timeval x; x.tv_sec = x.tv_usec; |
| 2737 | ; return 0; } | 2876 | ; return 0; } |
| 2738 | EOF | 2877 | EOF |
| 2739 | if { (eval echo configure:2740: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2878 | if { (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 |
| 2742 | else | 2881 | else |
| @@ -2758,19 +2897,19 @@ EOF | |||
| 2758 | fi | 2897 | fi |
| 2759 | 2898 | ||
| 2760 | echo $ac_n "checking for struct exception""... $ac_c" 1>&6 | 2899 | echo $ac_n "checking for struct exception""... $ac_c" 1>&6 |
| 2761 | echo "configure:2762: checking for struct exception" >&5 | 2900 | echo "configure:2901: checking for struct exception" >&5 |
| 2762 | if eval "test \"`echo '$''{'emacs_cv_struct_exception'+set}'`\" = set"; then | 2901 | if 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 |
| 2764 | else | 2903 | else |
| 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> |
| 2769 | int main() { | 2908 | int main() { |
| 2770 | static struct exception x; x.arg1 = x.arg2 = x.retval; x.name = ""; x.type = 1; | 2909 | static struct exception x; x.arg1 = x.arg2 = x.retval; x.name = ""; x.type = 1; |
| 2771 | ; return 0; } | 2910 | ; return 0; } |
| 2772 | EOF | 2911 | EOF |
| 2773 | if { (eval echo configure:2774: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2912 | if { (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 |
| 2776 | else | 2915 | else |
| @@ -2792,12 +2931,12 @@ EOF | |||
| 2792 | fi | 2931 | fi |
| 2793 | 2932 | ||
| 2794 | echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 2933 | echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
| 2795 | echo "configure:2796: checking whether struct tm is in sys/time.h or time.h" >&5 | 2934 | echo "configure:2935: checking whether struct tm is in sys/time.h or time.h" >&5 |
| 2796 | if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then | 2935 | if 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 |
| 2798 | else | 2937 | else |
| 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() { | |||
| 2805 | struct tm *tp; tp->tm_sec; | 2944 | struct tm *tp; tp->tm_sec; |
| 2806 | ; return 0; } | 2945 | ; return 0; } |
| 2807 | EOF | 2946 | EOF |
| 2808 | if { (eval echo configure:2809: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2947 | if { (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 |
| 2811 | else | 2950 | else |
| @@ -2826,12 +2965,12 @@ EOF | |||
| 2826 | fi | 2965 | fi |
| 2827 | 2966 | ||
| 2828 | echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 2967 | echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
| 2829 | echo "configure:2830: checking for tm_zone in struct tm" >&5 | 2968 | echo "configure:2969: checking for tm_zone in struct tm" >&5 |
| 2830 | if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then | 2969 | if 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 |
| 2832 | else | 2971 | else |
| 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() { | |||
| 2839 | struct tm tm; tm.tm_zone; | 2978 | struct tm tm; tm.tm_zone; |
| 2840 | ; return 0; } | 2979 | ; return 0; } |
| 2841 | EOF | 2980 | EOF |
| 2842 | if { (eval echo configure:2843: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2981 | if { (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 |
| 2845 | else | 2984 | else |
| @@ -2859,12 +2998,12 @@ EOF | |||
| 2859 | 2998 | ||
| 2860 | else | 2999 | else |
| 2861 | echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 3000 | echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
| 2862 | echo "configure:2863: checking for tzname" >&5 | 3001 | echo "configure:3002: checking for tzname" >&5 |
| 2863 | if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then | 3002 | if 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 |
| 2865 | else | 3004 | else |
| 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() { | |||
| 2874 | atoi(*tzname); | 3013 | atoi(*tzname); |
| 2875 | ; return 0; } | 3014 | ; return 0; } |
| 2876 | EOF | 3015 | EOF |
| 2877 | if { (eval echo configure:2878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3016 | if { (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 |
| 2880 | else | 3019 | else |
| @@ -2896,19 +3035,19 @@ EOF | |||
| 2896 | fi | 3035 | fi |
| 2897 | 3036 | ||
| 2898 | echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6 | 3037 | echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6 |
| 2899 | echo "configure:2900: checking for tm_gmtoff in struct tm" >&5 | 3038 | echo "configure:3039: checking for tm_gmtoff in struct tm" >&5 |
| 2900 | if eval "test \"`echo '$''{'emacs_cv_tm_gmtoff'+set}'`\" = set"; then | 3039 | if 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 |
| 2902 | else | 3041 | else |
| 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> |
| 2907 | int main() { | 3046 | int main() { |
| 2908 | struct tm t; t.tm_gmtoff = 0 | 3047 | struct tm t; t.tm_gmtoff = 0 |
| 2909 | ; return 0; } | 3048 | ; return 0; } |
| 2910 | EOF | 3049 | EOF |
| 2911 | if { (eval echo configure:2912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3050 | if { (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 |
| 2914 | else | 3053 | else |
| @@ -2930,7 +3069,7 @@ fi | |||
| 2930 | 3069 | ||
| 2931 | 3070 | ||
| 2932 | echo $ac_n "checking for ${CC-cc} option to accept ANSI C""... $ac_c" 1>&6 | 3071 | echo $ac_n "checking for ${CC-cc} option to accept ANSI C""... $ac_c" 1>&6 |
| 2933 | echo "configure:2934: checking for ${CC-cc} option to accept ANSI C" >&5 | 3072 | echo "configure:3073: checking for ${CC-cc} option to accept ANSI C" >&5 |
| 2934 | if eval "test \"`echo '$''{'ac_cv_prog_cc_stdc'+set}'`\" = set"; then | 3073 | if 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 |
| 2936 | else | 3075 | else |
| @@ -2947,7 +3086,7 @@ for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIO | |||
| 2947 | do | 3086 | do |
| 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() { | |||
| 2981 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | 3120 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
| 2982 | ; return 0; } | 3121 | ; return 0; } |
| 2983 | EOF | 3122 | EOF |
| 2984 | if { (eval echo configure:2985: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3123 | if { (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 |
| 2987 | else | 3126 | else |
| @@ -3003,7 +3142,7 @@ case "x$ac_cv_prog_cc_stdc" in | |||
| 3003 | esac | 3142 | esac |
| 3004 | 3143 | ||
| 3005 | echo $ac_n "checking for function prototypes""... $ac_c" 1>&6 | 3144 | echo $ac_n "checking for function prototypes""... $ac_c" 1>&6 |
| 3006 | echo "configure:3007: checking for function prototypes" >&5 | 3145 | echo "configure:3146: checking for function prototypes" >&5 |
| 3007 | if test "$ac_cv_prog_cc_stdc" != no; then | 3146 | if 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 | |||
| 3015 | fi | 3154 | fi |
| 3016 | 3155 | ||
| 3017 | echo $ac_n "checking for working volatile""... $ac_c" 1>&6 | 3156 | echo $ac_n "checking for working volatile""... $ac_c" 1>&6 |
| 3018 | echo "configure:3019: checking for working volatile" >&5 | 3157 | echo "configure:3158: checking for working volatile" >&5 |
| 3019 | if eval "test \"`echo '$''{'ac_cv_c_volatile'+set}'`\" = set"; then | 3158 | if 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 |
| 3021 | else | 3160 | else |
| 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 | ||
| 3026 | int main() { | 3165 | int main() { |
| @@ -3029,7 +3168,7 @@ volatile int x; | |||
| 3029 | int * volatile y; | 3168 | int * volatile y; |
| 3030 | ; return 0; } | 3169 | ; return 0; } |
| 3031 | EOF | 3170 | EOF |
| 3032 | if { (eval echo configure:3033: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3171 | if { (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 |
| 3035 | else | 3174 | else |
| @@ -3050,18 +3189,18 @@ EOF | |||
| 3050 | fi | 3189 | fi |
| 3051 | 3190 | ||
| 3052 | echo $ac_n "checking for working const""... $ac_c" 1>&6 | 3191 | echo $ac_n "checking for working const""... $ac_c" 1>&6 |
| 3053 | echo "configure:3054: checking for working const" >&5 | 3192 | echo "configure:3193: checking for working const" >&5 |
| 3054 | if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then | 3193 | if 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 |
| 3056 | else | 3195 | else |
| 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 | ||
| 3061 | int main() { | 3200 | int main() { |
| 3062 | 3201 | ||
| 3063 | /* Ultrix mips cc rejects this. */ | 3202 | /* Ultrix mips cc rejects this. */ |
| 3064 | typedef int charset[2]; const charset x; | 3203 | typedef int charset[2]; const charset x = {0,0}; |
| 3065 | /* SunOS 4.1.1 cc rejects this. */ | 3204 | /* SunOS 4.1.1 cc rejects this. */ |
| 3066 | char const *const *ccp; | 3205 | char const *const *ccp; |
| 3067 | char **p; | 3206 | char **p; |
| @@ -3104,7 +3243,7 @@ ccp = (char const *const *) p; | |||
| 3104 | 3243 | ||
| 3105 | ; return 0; } | 3244 | ; return 0; } |
| 3106 | EOF | 3245 | EOF |
| 3107 | if { (eval echo configure:3108: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3246 | if { (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 |
| 3110 | else | 3249 | else |
| @@ -3125,19 +3264,19 @@ EOF | |||
| 3125 | fi | 3264 | fi |
| 3126 | 3265 | ||
| 3127 | echo $ac_n "checking for void * support""... $ac_c" 1>&6 | 3266 | echo $ac_n "checking for void * support""... $ac_c" 1>&6 |
| 3128 | echo "configure:3129: checking for void * support" >&5 | 3267 | echo "configure:3268: checking for void * support" >&5 |
| 3129 | if eval "test \"`echo '$''{'emacs_cv_void_star'+set}'`\" = set"; then | 3268 | if 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 |
| 3131 | else | 3270 | else |
| 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 | ||
| 3136 | int main() { | 3275 | int main() { |
| 3137 | void * foo; | 3276 | void * foo; |
| 3138 | ; return 0; } | 3277 | ; return 0; } |
| 3139 | EOF | 3278 | EOF |
| 3140 | if { (eval echo configure:3141: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3279 | if { (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 |
| 3143 | else | 3282 | else |
| @@ -3163,7 +3302,7 @@ EOF | |||
| 3163 | fi | 3302 | fi |
| 3164 | 3303 | ||
| 3165 | echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 3304 | echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
| 3166 | echo "configure:3167: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 3305 | echo "configure:3306: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
| 3167 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 3306 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
| 3168 | if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then | 3307 | if 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 | ||
| 3193 | echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 3332 | echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
| 3194 | echo "configure:3195: checking for long file names" >&5 | 3333 | echo "configure:3334: checking for long file names" >&5 |
| 3195 | if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then | 3334 | if 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 |
| 3197 | else | 3336 | else |
| @@ -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. |
| 3244 | echo $ac_n "checking for X""... $ac_c" 1>&6 | 3383 | echo $ac_n "checking for X""... $ac_c" 1>&6 |
| 3245 | echo "configure:3246: checking for X" >&5 | 3384 | echo "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. |
| 3248 | if test "${with_x+set}" = set; then | 3387 | if 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. |
| 3306 | cat > conftest.$ac_ext <<EOF | 3445 | cat > 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> |
| 3310 | EOF | 3449 | EOF |
| 3311 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3450 | ac_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; } |
| 3313 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3452 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 3314 | if test -z "$ac_err"; then | 3453 | if 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" |
| 3380 | cat > conftest.$ac_ext <<EOF | 3519 | cat > conftest.$ac_ext <<EOF |
| 3381 | #line 3382 "configure" | 3520 | #line 3521 "configure" |
| 3382 | #include "confdefs.h" | 3521 | #include "confdefs.h" |
| 3383 | 3522 | ||
| 3384 | int main() { | 3523 | int main() { |
| 3385 | ${x_direct_test_function}() | 3524 | ${x_direct_test_function}() |
| 3386 | ; return 0; } | 3525 | ; return 0; } |
| 3387 | EOF | 3526 | EOF |
| 3388 | if { (eval echo configure:3389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3527 | if { (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 |
| 3556 | fi | 3695 | fi |
| 3557 | 3696 | ||
| 3558 | #### Extract some information from the operating system and machine files. | ||
| 3559 | |||
| 3560 | echo "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 | ||
| 3563 | echo "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. | ||
| 3580 | tempcname="conftest.c" | ||
| 3581 | |||
| 3582 | echo ' | ||
| 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 | ||
| 3597 | configure___ libsrc_libs=LIBS_MACHINE LIBS_SYSTEM | ||
| 3598 | configure___ c_switch_system=C_SWITCH_SYSTEM | ||
| 3599 | configure___ 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 | ||
| 3612 | configure___ LIBX=LIB_X11_LIB LIBX11_MACHINE LIBX11_SYSTEM | ||
| 3613 | |||
| 3614 | #ifdef UNEXEC | ||
| 3615 | configure___ unexec=UNEXEC | ||
| 3616 | #else | ||
| 3617 | configure___ unexec=unexec.o | ||
| 3618 | #endif | ||
| 3619 | |||
| 3620 | #ifdef SYSTEM_MALLOC | ||
| 3621 | configure___ system_malloc=yes | ||
| 3622 | #else | ||
| 3623 | configure___ 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 | |||
| 3650 | configure___ ld_switch_system=LD_SWITCH_SYSTEM | ||
| 3651 | configure___ ld_switch_machine=LD_SWITCH_MACHINE | ||
| 3652 | |||
| 3653 | #ifdef THIS_IS_CONFIGURE | ||
| 3654 | |||
| 3655 | /* Get the CFLAGS for tests in configure. */ | ||
| 3656 | #ifdef __GNUC__ | ||
| 3657 | configure___ CFLAGS=C_DEBUG_SWITCH C_OPTIMIZE_SWITCH '${SPECIFIED_CFLAGS}' | ||
| 3658 | #else | ||
| 3659 | configure___ 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__ | ||
| 3666 | configure___ REAL_CFLAGS=C_DEBUG_SWITCH C_OPTIMIZE_SWITCH '${SPECIFIED_CFLAGS}' | ||
| 3667 | #else | ||
| 3668 | configure___ 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... | ||
| 3676 | CPP=`eval "echo $CPP"` | ||
| 3677 | eval `${CPP} -Isrc ${tempcname} \ | ||
| 3678 | | sed -n -e 's/^configure___ \([^=]*=\)\(.*\)$/\1"\2"/p'` | ||
| 3679 | if test "x$SPECIFIED_CFLAGS" = x; then | ||
| 3680 | eval `${CPP} -Isrc -DTHIS_IS_CONFIGURE ${tempcname} \ | ||
| 3681 | | sed -n -e 's/^configure___ \([^=]*=\)\(.*\)$/\1"\2"/p'` | ||
| 3682 | else | ||
| 3683 | REAL_CFLAGS="$CFLAGS" | ||
| 3684 | fi | ||
| 3685 | rm ${tempcname} | ||
| 3686 | |||
| 3687 | ac_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. |
| 3690 | UNEXEC_SRC="`echo ${unexec} | sed 's/\.o/.c/'`" | 3698 | UNEXEC_SRC="`echo ${unexec} | sed 's/\.o/.c/'`" |
| 3691 | 3699 | ||
| @@ -3694,12 +3702,12 @@ UNEXEC_SRC="`echo ${unexec} | sed 's/\.o/.c/'`" | |||
| 3694 | GNU_MALLOC=yes | 3702 | GNU_MALLOC=yes |
| 3695 | doug_lea_malloc=yes | 3703 | doug_lea_malloc=yes |
| 3696 | echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 | 3704 | echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 |
| 3697 | echo "configure:3698: checking for malloc_get_state" >&5 | 3705 | echo "configure:3706: checking for malloc_get_state" >&5 |
| 3698 | if eval "test \"`echo '$''{'ac_cv_func_malloc_get_state'+set}'`\" = set"; then | 3706 | if 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 |
| 3700 | else | 3708 | else |
| 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; } |
| 3724 | EOF | 3732 | EOF |
| 3725 | if { (eval echo configure:3726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3733 | if { (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" |
| 3728 | else | 3736 | else |
| @@ -3743,12 +3751,12 @@ doug_lea_malloc=no | |||
| 3743 | fi | 3751 | fi |
| 3744 | 3752 | ||
| 3745 | echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 3753 | echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
| 3746 | echo "configure:3747: checking for malloc_set_state" >&5 | 3754 | echo "configure:3755: checking for malloc_set_state" >&5 |
| 3747 | if eval "test \"`echo '$''{'ac_cv_func_malloc_set_state'+set}'`\" = set"; then | 3755 | if 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 |
| 3749 | else | 3757 | else |
| 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; } |
| 3773 | EOF | 3781 | EOF |
| 3774 | if { (eval echo configure:3775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3782 | if { (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" |
| 3777 | else | 3785 | else |
| @@ -3792,19 +3800,19 @@ doug_lea_malloc=no | |||
| 3792 | fi | 3800 | fi |
| 3793 | 3801 | ||
| 3794 | echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 3802 | echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
| 3795 | echo "configure:3796: checking whether __after_morecore_hook exists" >&5 | 3803 | echo "configure:3804: checking whether __after_morecore_hook exists" >&5 |
| 3796 | if eval "test \"`echo '$''{'emacs_cv_var___after_morecore_hook'+set}'`\" = set"; then | 3804 | if 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 |
| 3798 | else | 3806 | else |
| 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" |
| 3802 | extern void (* __after_morecore_hook)(); | 3810 | extern void (* __after_morecore_hook)(); |
| 3803 | int main() { | 3811 | int main() { |
| 3804 | __after_morecore_hook = 0 | 3812 | __after_morecore_hook = 0 |
| 3805 | ; return 0; } | 3813 | ; return 0; } |
| 3806 | EOF | 3814 | EOF |
| 3807 | if { (eval echo configure:3808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3815 | if { (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 |
| 3810 | else | 3818 | else |
| @@ -3840,14 +3848,6 @@ if test x"${REL_ALLOC}" = x; then | |||
| 3840 | REL_ALLOC=${GNU_MALLOC} | 3848 | REL_ALLOC=${GNU_MALLOC} |
| 3841 | fi | 3849 | fi |
| 3842 | 3850 | ||
| 3843 | #### Add the libraries to LIBS and check for some functions. | ||
| 3844 | |||
| 3845 | if test x"${OVERRIDE_CPPFLAGS}" != x; then | ||
| 3846 | CPPFLAGS="${OVERRIDE_CPPFLAGS}" | ||
| 3847 | else | ||
| 3848 | CPPFLAGS="$c_switch_system $c_switch_machine $CPPFLAGS" | ||
| 3849 | fi | ||
| 3850 | |||
| 3851 | LIBS="$libsrc_libs $LIBS" | 3851 | LIBS="$libsrc_libs $LIBS" |
| 3852 | 3852 | ||
| 3853 | echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 3853 | echo $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> |
| 5078 | int main() { | 5078 | int main() { |
| 5079 | char *p = alloca(2 * sizeof(int)); | 5079 | void *p = alloca(2 * sizeof(int)); |
| 5080 | ; return 0; } | 5080 | ; return 0; } |
| 5081 | EOF | 5081 | EOF |
| 5082 | if { (eval echo configure:5083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5082 | if { (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 @@ | |||
| 1 | 2000-07-18 Dave Love <fx@gnu.org> | ||
| 2 | |||
| 3 | * bindings.el (mode-line-mule-info, mode-line-modified): help-echo | ||
| 4 | improvements. | ||
| 5 | |||
| 1 | 2000-07-18 Gerd Moellmann <gerd@gnu.org> | 6 | 2000-07-18 Gerd Moellmann <gerd@gnu.org> |
| 2 | 7 | ||
| 3 | * faces.el (face-font-selection-order) | 8 | * faces.el (face-font-selection-order) |