diff options
| author | Paul Eggert | 2011-09-03 16:03:38 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-09-03 16:03:38 -0700 |
| commit | b49e353d9d01adbe60bc5d0b1658b4ef978b0b06 (patch) | |
| tree | 9f2ffa6f7a6562abf661a4951012b488ad8b1ae7 /autogen | |
| parent | 74b880cbc18bd0194c7b1fc44c4a983ee05adae2 (diff) | |
| parent | bc3200871917d5c54c8c4299a06bf8f8ba2ea02d (diff) | |
| download | emacs-b49e353d9d01adbe60bc5d0b1658b4ef978b0b06.tar.gz emacs-b49e353d9d01adbe60bc5d0b1658b4ef978b0b06.zip | |
Merge from trunk.
Diffstat (limited to 'autogen')
| -rw-r--r-- | autogen/Makefile.in | 1 | ||||
| -rw-r--r-- | autogen/config.in | 21 | ||||
| -rwxr-xr-x | autogen/configure | 337 |
3 files changed, 220 insertions, 139 deletions
diff --git a/autogen/Makefile.in b/autogen/Makefile.in index 3348d3a4c02..5b28ad0808b 100644 --- a/autogen/Makefile.in +++ b/autogen/Makefile.in | |||
| @@ -495,6 +495,7 @@ LIBXT_OTHER = @LIBXT_OTHER@ | |||
| 495 | LIBX_OTHER = @LIBX_OTHER@ | 495 | LIBX_OTHER = @LIBX_OTHER@ |
| 496 | LIB_GCC = @LIB_GCC@ | 496 | LIB_GCC = @LIB_GCC@ |
| 497 | LIB_MATH = @LIB_MATH@ | 497 | LIB_MATH = @LIB_MATH@ |
| 498 | LIB_PTHREAD = @LIB_PTHREAD@ | ||
| 498 | LIB_PTHREAD_SIGMASK = @LIB_PTHREAD_SIGMASK@ | 499 | LIB_PTHREAD_SIGMASK = @LIB_PTHREAD_SIGMASK@ |
| 499 | LIB_STANDARD = @LIB_STANDARD@ | 500 | LIB_STANDARD = @LIB_STANDARD@ |
| 500 | LTLIBINTL = @LTLIBINTL@ | 501 | LTLIBINTL = @LTLIBINTL@ |
diff --git a/autogen/config.in b/autogen/config.in index d4ec03b8343..24dd54db43f 100644 --- a/autogen/config.in +++ b/autogen/config.in | |||
| @@ -218,6 +218,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 218 | /* Define to 1 if you have the `fpathconf' function. */ | 218 | /* Define to 1 if you have the `fpathconf' function. */ |
| 219 | #undef HAVE_FPATHCONF | 219 | #undef HAVE_FPATHCONF |
| 220 | 220 | ||
| 221 | /* Define to 1 if you have the `freeifaddrs' function. */ | ||
| 222 | #undef HAVE_FREEIFADDRS | ||
| 223 | |||
| 221 | /* Define to 1 if using the freetype and fontconfig libraries. */ | 224 | /* Define to 1 if using the freetype and fontconfig libraries. */ |
| 222 | #undef HAVE_FREETYPE | 225 | #undef HAVE_FREETYPE |
| 223 | 226 | ||
| @@ -254,6 +257,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 254 | /* Define to 1 if you have the `gethostname' function. */ | 257 | /* Define to 1 if you have the `gethostname' function. */ |
| 255 | #undef HAVE_GETHOSTNAME | 258 | #undef HAVE_GETHOSTNAME |
| 256 | 259 | ||
| 260 | /* Define to 1 if you have the `getifaddrs' function. */ | ||
| 261 | #undef HAVE_GETIFADDRS | ||
| 262 | |||
| 257 | /* Define to 1 if you have the `getline' function. */ | 263 | /* Define to 1 if you have the `getline' function. */ |
| 258 | #undef HAVE_GETLINE | 264 | #undef HAVE_GETLINE |
| 259 | 265 | ||
| @@ -321,9 +327,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 321 | /* Define to 1 if you have the `gtk_adjustment_get_page_size' function. */ | 327 | /* Define to 1 if you have the `gtk_adjustment_get_page_size' function. */ |
| 322 | #undef HAVE_GTK_ADJUSTMENT_GET_PAGE_SIZE | 328 | #undef HAVE_GTK_ADJUSTMENT_GET_PAGE_SIZE |
| 323 | 329 | ||
| 324 | /* Define to 1 if you have GTK and pthread (-lpthread). */ | ||
| 325 | #undef HAVE_GTK_AND_PTHREAD | ||
| 326 | |||
| 327 | /* Define to 1 if you have the `gtk_dialog_get_action_area' function. */ | 330 | /* Define to 1 if you have the `gtk_dialog_get_action_area' function. */ |
| 328 | #undef HAVE_GTK_DIALOG_GET_ACTION_AREA | 331 | #undef HAVE_GTK_DIALOG_GET_ACTION_AREA |
| 329 | 332 | ||
| @@ -354,6 +357,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 354 | /* Define to 1 if netdb.h declares h_errno. */ | 357 | /* Define to 1 if netdb.h declares h_errno. */ |
| 355 | #undef HAVE_H_ERRNO | 358 | #undef HAVE_H_ERRNO |
| 356 | 359 | ||
| 360 | /* Define to 1 if you have the <ifaddrs.h> header file. */ | ||
| 361 | #undef HAVE_IFADDRS_H | ||
| 362 | |||
| 357 | /* Define to 1 if using imagemagick. */ | 363 | /* Define to 1 if using imagemagick. */ |
| 358 | #undef HAVE_IMAGEMAGICK | 364 | #undef HAVE_IMAGEMAGICK |
| 359 | 365 | ||
| @@ -554,6 +560,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 554 | /* Define to 1 if you have the `mremap' function. */ | 560 | /* Define to 1 if you have the `mremap' function. */ |
| 555 | #undef HAVE_MREMAP | 561 | #undef HAVE_MREMAP |
| 556 | 562 | ||
| 563 | /* Define to 1 if you have the <net/if_dl.h> header file. */ | ||
| 564 | #undef HAVE_NET_IF_DL_H | ||
| 565 | |||
| 557 | /* Define to 1 if you have the <net/if.h> header file. */ | 566 | /* Define to 1 if you have the <net/if.h> header file. */ |
| 558 | #undef HAVE_NET_IF_H | 567 | #undef HAVE_NET_IF_H |
| 559 | 568 | ||
| @@ -582,6 +591,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 582 | /* Define to 1 if you have the `pstat_getdynamic' function. */ | 591 | /* Define to 1 if you have the `pstat_getdynamic' function. */ |
| 583 | #undef HAVE_PSTAT_GETDYNAMIC | 592 | #undef HAVE_PSTAT_GETDYNAMIC |
| 584 | 593 | ||
| 594 | /* Define to 1 if you have pthread (-lpthread). */ | ||
| 595 | #undef HAVE_PTHREAD | ||
| 596 | |||
| 585 | /* Define to 1 if you have the <pthread.h> header file. */ | 597 | /* Define to 1 if you have the <pthread.h> header file. */ |
| 586 | #undef HAVE_PTHREAD_H | 598 | #undef HAVE_PTHREAD_H |
| 587 | 599 | ||
| @@ -705,6 +717,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 705 | /* Define to 1 if `ifr_addr' is a member of `struct ifreq'. */ | 717 | /* Define to 1 if `ifr_addr' is a member of `struct ifreq'. */ |
| 706 | #undef HAVE_STRUCT_IFREQ_IFR_ADDR | 718 | #undef HAVE_STRUCT_IFREQ_IFR_ADDR |
| 707 | 719 | ||
| 720 | /* Define to 1 if `ifr_addr.sa_len' is a member of `struct ifreq'. */ | ||
| 721 | #undef HAVE_STRUCT_IFREQ_IFR_ADDR_SA_LEN | ||
| 722 | |||
| 708 | /* Define to 1 if `ifr_broadaddr' is a member of `struct ifreq'. */ | 723 | /* Define to 1 if `ifr_broadaddr' is a member of `struct ifreq'. */ |
| 709 | #undef HAVE_STRUCT_IFREQ_IFR_BROADADDR | 724 | #undef HAVE_STRUCT_IFREQ_IFR_BROADADDR |
| 710 | 725 | ||
diff --git a/autogen/configure b/autogen/configure index 074850731b0..bbd54f57153 100755 --- a/autogen/configure +++ b/autogen/configure | |||
| @@ -1139,6 +1139,7 @@ IMAGEMAGICK_LIBS | |||
| 1139 | IMAGEMAGICK_CFLAGS | 1139 | IMAGEMAGICK_CFLAGS |
| 1140 | RSVG_LIBS | 1140 | RSVG_LIBS |
| 1141 | RSVG_CFLAGS | 1141 | RSVG_CFLAGS |
| 1142 | LIB_PTHREAD | ||
| 1142 | VMLIMIT_OBJ | 1143 | VMLIMIT_OBJ |
| 1143 | GMALLOC_OBJ | 1144 | GMALLOC_OBJ |
| 1144 | HAVE_XSERVER | 1145 | HAVE_XSERVER |
| @@ -2467,63 +2468,6 @@ $as_echo "$ac_res" >&6; } | |||
| 2467 | 2468 | ||
| 2468 | } # ac_fn_c_check_header_preproc | 2469 | } # ac_fn_c_check_header_preproc |
| 2469 | 2470 | ||
| 2470 | # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES | ||
| 2471 | # ---------------------------------------------------- | ||
| 2472 | # Tries to find if the field MEMBER exists in type AGGR, after including | ||
| 2473 | # INCLUDES, setting cache variable VAR accordingly. | ||
| 2474 | ac_fn_c_check_member () | ||
| 2475 | { | ||
| 2476 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 2477 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 | ||
| 2478 | $as_echo_n "checking for $2.$3... " >&6; } | ||
| 2479 | if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
| 2480 | $as_echo_n "(cached) " >&6 | ||
| 2481 | else | ||
| 2482 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 2483 | /* end confdefs.h. */ | ||
| 2484 | $5 | ||
| 2485 | int | ||
| 2486 | main () | ||
| 2487 | { | ||
| 2488 | static $2 ac_aggr; | ||
| 2489 | if (ac_aggr.$3) | ||
| 2490 | return 0; | ||
| 2491 | ; | ||
| 2492 | return 0; | ||
| 2493 | } | ||
| 2494 | _ACEOF | ||
| 2495 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 2496 | eval "$4=yes" | ||
| 2497 | else | ||
| 2498 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 2499 | /* end confdefs.h. */ | ||
| 2500 | $5 | ||
| 2501 | int | ||
| 2502 | main () | ||
| 2503 | { | ||
| 2504 | static $2 ac_aggr; | ||
| 2505 | if (sizeof ac_aggr.$3) | ||
| 2506 | return 0; | ||
| 2507 | ; | ||
| 2508 | return 0; | ||
| 2509 | } | ||
| 2510 | _ACEOF | ||
| 2511 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 2512 | eval "$4=yes" | ||
| 2513 | else | ||
| 2514 | eval "$4=no" | ||
| 2515 | fi | ||
| 2516 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 2517 | fi | ||
| 2518 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 2519 | fi | ||
| 2520 | eval ac_res=\$$4 | ||
| 2521 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
| 2522 | $as_echo "$ac_res" >&6; } | ||
| 2523 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
| 2524 | |||
| 2525 | } # ac_fn_c_check_member | ||
| 2526 | |||
| 2527 | # ac_fn_c_check_func LINENO FUNC VAR | 2471 | # ac_fn_c_check_func LINENO FUNC VAR |
| 2528 | # ---------------------------------- | 2472 | # ---------------------------------- |
| 2529 | # Tests whether FUNC exists, setting the cache variable VAR accordingly | 2473 | # Tests whether FUNC exists, setting the cache variable VAR accordingly |
| @@ -2591,6 +2535,63 @@ $as_echo "$ac_res" >&6; } | |||
| 2591 | 2535 | ||
| 2592 | } # ac_fn_c_check_func | 2536 | } # ac_fn_c_check_func |
| 2593 | 2537 | ||
| 2538 | # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES | ||
| 2539 | # ---------------------------------------------------- | ||
| 2540 | # Tries to find if the field MEMBER exists in type AGGR, after including | ||
| 2541 | # INCLUDES, setting cache variable VAR accordingly. | ||
| 2542 | ac_fn_c_check_member () | ||
| 2543 | { | ||
| 2544 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 2545 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 | ||
| 2546 | $as_echo_n "checking for $2.$3... " >&6; } | ||
| 2547 | if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
| 2548 | $as_echo_n "(cached) " >&6 | ||
| 2549 | else | ||
| 2550 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 2551 | /* end confdefs.h. */ | ||
| 2552 | $5 | ||
| 2553 | int | ||
| 2554 | main () | ||
| 2555 | { | ||
| 2556 | static $2 ac_aggr; | ||
| 2557 | if (ac_aggr.$3) | ||
| 2558 | return 0; | ||
| 2559 | ; | ||
| 2560 | return 0; | ||
| 2561 | } | ||
| 2562 | _ACEOF | ||
| 2563 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 2564 | eval "$4=yes" | ||
| 2565 | else | ||
| 2566 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 2567 | /* end confdefs.h. */ | ||
| 2568 | $5 | ||
| 2569 | int | ||
| 2570 | main () | ||
| 2571 | { | ||
| 2572 | static $2 ac_aggr; | ||
| 2573 | if (sizeof ac_aggr.$3) | ||
| 2574 | return 0; | ||
| 2575 | ; | ||
| 2576 | return 0; | ||
| 2577 | } | ||
| 2578 | _ACEOF | ||
| 2579 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 2580 | eval "$4=yes" | ||
| 2581 | else | ||
| 2582 | eval "$4=no" | ||
| 2583 | fi | ||
| 2584 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 2585 | fi | ||
| 2586 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 2587 | fi | ||
| 2588 | eval ac_res=\$$4 | ||
| 2589 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
| 2590 | $as_echo "$ac_res" >&6; } | ||
| 2591 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
| 2592 | |||
| 2593 | } # ac_fn_c_check_member | ||
| 2594 | |||
| 2594 | # ac_fn_c_check_type LINENO TYPE VAR INCLUDES | 2595 | # ac_fn_c_check_type LINENO TYPE VAR INCLUDES |
| 2595 | # ------------------------------------------- | 2596 | # ------------------------------------------- |
| 2596 | # Tests whether TYPE exists after having included INCLUDES, setting cache | 2597 | # Tests whether TYPE exists after having included INCLUDES, setting cache |
| @@ -4373,8 +4374,8 @@ configuration=${host_alias-${build_alias-$host}} | |||
| 4373 | machine='' opsys='' unported=no | 4374 | machine='' opsys='' unported=no |
| 4374 | case "${canonical}" in | 4375 | case "${canonical}" in |
| 4375 | 4376 | ||
| 4376 | ## GNU/Linux ports | 4377 | ## GNU/Linux and similar ports |
| 4377 | *-*-linux-gnu*) | 4378 | *-*-linux* ) |
| 4378 | opsys=gnu-linux | 4379 | opsys=gnu-linux |
| 4379 | case ${canonical} in | 4380 | case ${canonical} in |
| 4380 | alpha*) machine=alpha ;; | 4381 | alpha*) machine=alpha ;; |
| @@ -4471,17 +4472,6 @@ case "${canonical}" in | |||
| 4471 | CFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CFLAGS" | 4472 | CFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CFLAGS" |
| 4472 | ;; | 4473 | ;; |
| 4473 | 4474 | ||
| 4474 | ia64*-hp-hpux1[1-9]* ) | ||
| 4475 | machine=hp800 opsys=hpux11 | ||
| 4476 | ## FIXME. Peter O'Gorman reports that dumping using unexelf.o doesn't | ||
| 4477 | ## work either: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6811 | ||
| 4478 | CANNOT_DUMP=yes | ||
| 4479 | ;; | ||
| 4480 | |||
| 4481 | hppa*-*-linux-gnu* ) | ||
| 4482 | machine=hp800 opsys=gnu-linux | ||
| 4483 | ;; | ||
| 4484 | |||
| 4485 | ## IBM machines | 4475 | ## IBM machines |
| 4486 | rs6000-ibm-aix4.[23]* ) | 4476 | rs6000-ibm-aix4.[23]* ) |
| 4487 | machine=ibmrs6000 opsys=aix4-2 | 4477 | machine=ibmrs6000 opsys=aix4-2 |
| @@ -8358,6 +8348,18 @@ $as_echo "#define NO_MATHERR 1" >>confdefs.h | |||
| 8358 | 8348 | ||
| 8359 | fi | 8349 | fi |
| 8360 | 8350 | ||
| 8351 | for ac_header in sys/socket.h | ||
| 8352 | do : | ||
| 8353 | ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default" | ||
| 8354 | if test "x$ac_cv_header_sys_socket_h" = x""yes; then : | ||
| 8355 | cat >>confdefs.h <<_ACEOF | ||
| 8356 | #define HAVE_SYS_SOCKET_H 1 | ||
| 8357 | _ACEOF | ||
| 8358 | |||
| 8359 | fi | ||
| 8360 | |||
| 8361 | done | ||
| 8362 | |||
| 8361 | for ac_header in net/if.h | 8363 | for ac_header in net/if.h |
| 8362 | do : | 8364 | do : |
| 8363 | ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "$ac_includes_default | 8365 | ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "$ac_includes_default |
| @@ -8374,6 +8376,51 @@ fi | |||
| 8374 | 8376 | ||
| 8375 | done | 8377 | done |
| 8376 | 8378 | ||
| 8379 | for ac_header in ifaddrs.h | ||
| 8380 | do : | ||
| 8381 | ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "$ac_includes_default | ||
| 8382 | #if HAVE_SYS_SOCKET_H | ||
| 8383 | #include <sys/socket.h> | ||
| 8384 | #endif | ||
| 8385 | " | ||
| 8386 | if test "x$ac_cv_header_ifaddrs_h" = x""yes; then : | ||
| 8387 | cat >>confdefs.h <<_ACEOF | ||
| 8388 | #define HAVE_IFADDRS_H 1 | ||
| 8389 | _ACEOF | ||
| 8390 | |||
| 8391 | fi | ||
| 8392 | |||
| 8393 | done | ||
| 8394 | |||
| 8395 | for ac_header in net/if_dl.h | ||
| 8396 | do : | ||
| 8397 | ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "$ac_includes_default | ||
| 8398 | #if HAVE_SYS_SOCKET_H | ||
| 8399 | #include <sys/socket.h> | ||
| 8400 | #endif | ||
| 8401 | " | ||
| 8402 | if test "x$ac_cv_header_net_if_dl_h" = x""yes; then : | ||
| 8403 | cat >>confdefs.h <<_ACEOF | ||
| 8404 | #define HAVE_NET_IF_DL_H 1 | ||
| 8405 | _ACEOF | ||
| 8406 | |||
| 8407 | fi | ||
| 8408 | |||
| 8409 | done | ||
| 8410 | |||
| 8411 | for ac_func in getifaddrs freeifaddrs | ||
| 8412 | do : | ||
| 8413 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
| 8414 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | ||
| 8415 | eval as_val=\$$as_ac_var | ||
| 8416 | if test "x$as_val" = x""yes; then : | ||
| 8417 | cat >>confdefs.h <<_ACEOF | ||
| 8418 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
| 8419 | _ACEOF | ||
| 8420 | |||
| 8421 | fi | ||
| 8422 | done | ||
| 8423 | |||
| 8377 | 8424 | ||
| 8378 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 | 8425 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 |
| 8379 | $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } | 8426 | $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } |
| @@ -8565,6 +8612,22 @@ _ACEOF | |||
| 8565 | 8612 | ||
| 8566 | 8613 | ||
| 8567 | fi | 8614 | fi |
| 8615 | ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_addr.sa_len" "ac_cv_member_struct_ifreq_ifr_addr_sa_len" "$ac_includes_default | ||
| 8616 | #if HAVE_SYS_SOCKET_H | ||
| 8617 | #include <sys/socket.h> | ||
| 8618 | #endif | ||
| 8619 | #if HAVE_NET_IF_H | ||
| 8620 | #include <net/if.h> | ||
| 8621 | #endif | ||
| 8622 | " | ||
| 8623 | if test "x$ac_cv_member_struct_ifreq_ifr_addr_sa_len" = x""yes; then : | ||
| 8624 | |||
| 8625 | cat >>confdefs.h <<_ACEOF | ||
| 8626 | #define HAVE_STRUCT_IFREQ_IFR_ADDR_SA_LEN 1 | ||
| 8627 | _ACEOF | ||
| 8628 | |||
| 8629 | |||
| 8630 | fi | ||
| 8568 | 8631 | ||
| 8569 | 8632 | ||
| 8570 | 8633 | ||
| @@ -9038,7 +9101,7 @@ $as_echo "$HAVE_GNU_MAKE" >&6; } | |||
| 9038 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands -MMD -MF" >&5 | 9101 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands -MMD -MF" >&5 |
| 9039 | $as_echo_n "checking whether gcc understands -MMD -MF... " >&6; } | 9102 | $as_echo_n "checking whether gcc understands -MMD -MF... " >&6; } |
| 9040 | SAVE_CFLAGS="$CFLAGS" | 9103 | SAVE_CFLAGS="$CFLAGS" |
| 9041 | CFLAGS="$CFLAGS -MMD -MF deps.d" | 9104 | CFLAGS="$CFLAGS -MMD -MF deps.d -MP" |
| 9042 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 9105 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 9043 | /* end confdefs.h. */ | 9106 | /* end confdefs.h. */ |
| 9044 | 9107 | ||
| @@ -9063,7 +9126,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |||
| 9063 | $as_echo "$ac_enable_autodepend" >&6; } | 9126 | $as_echo "$ac_enable_autodepend" >&6; } |
| 9064 | fi | 9127 | fi |
| 9065 | if test $ac_enable_autodepend = yes; then | 9128 | if test $ac_enable_autodepend = yes; then |
| 9066 | DEPFLAGS='-MMD -MF ${DEPDIR}/$*.d' | 9129 | DEPFLAGS='-MMD -MF ${DEPDIR}/$*.d -MP' |
| 9067 | ## In parallel builds, another make might create depdir between | 9130 | ## In parallel builds, another make might create depdir between |
| 9068 | ## the first test and mkdir, so stick another test on the end. | 9131 | ## the first test and mkdir, so stick another test on the end. |
| 9069 | ## Or use install-sh -d? mkdir -p is not portable. | 9132 | ## Or use install-sh -d? mkdir -p is not portable. |
| @@ -9949,6 +10012,72 @@ if test "x$ac_cv_lib_Xbsd_main" = x""yes; then : | |||
| 9949 | fi | 10012 | fi |
| 9950 | 10013 | ||
| 9951 | 10014 | ||
| 10015 | LIB_PTHREAD= | ||
| 10016 | for ac_header in pthread.h | ||
| 10017 | do : | ||
| 10018 | ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" | ||
| 10019 | if test "x$ac_cv_header_pthread_h" = x""yes; then : | ||
| 10020 | cat >>confdefs.h <<_ACEOF | ||
| 10021 | #define HAVE_PTHREAD_H 1 | ||
| 10022 | _ACEOF | ||
| 10023 | |||
| 10024 | fi | ||
| 10025 | |||
| 10026 | done | ||
| 10027 | |||
| 10028 | if test "$ac_cv_header_pthread_h"; then | ||
| 10029 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_self in -lpthread" >&5 | ||
| 10030 | $as_echo_n "checking for pthread_self in -lpthread... " >&6; } | ||
| 10031 | if test "${ac_cv_lib_pthread_pthread_self+set}" = set; then : | ||
| 10032 | $as_echo_n "(cached) " >&6 | ||
| 10033 | else | ||
| 10034 | ac_check_lib_save_LIBS=$LIBS | ||
| 10035 | LIBS="-lpthread $LIBS" | ||
| 10036 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 10037 | /* end confdefs.h. */ | ||
| 10038 | |||
| 10039 | /* Override any GCC internal prototype to avoid an error. | ||
| 10040 | Use char because int might match the return type of a GCC | ||
| 10041 | builtin and then its argument prototype would still apply. */ | ||
| 10042 | #ifdef __cplusplus | ||
| 10043 | extern "C" | ||
| 10044 | #endif | ||
| 10045 | char pthread_self (); | ||
| 10046 | int | ||
| 10047 | main () | ||
| 10048 | { | ||
| 10049 | return pthread_self (); | ||
| 10050 | ; | ||
| 10051 | return 0; | ||
| 10052 | } | ||
| 10053 | _ACEOF | ||
| 10054 | if ac_fn_c_try_link "$LINENO"; then : | ||
| 10055 | ac_cv_lib_pthread_pthread_self=yes | ||
| 10056 | else | ||
| 10057 | ac_cv_lib_pthread_pthread_self=no | ||
| 10058 | fi | ||
| 10059 | rm -f core conftest.err conftest.$ac_objext \ | ||
| 10060 | conftest$ac_exeext conftest.$ac_ext | ||
| 10061 | LIBS=$ac_check_lib_save_LIBS | ||
| 10062 | fi | ||
| 10063 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_self" >&5 | ||
| 10064 | $as_echo "$ac_cv_lib_pthread_pthread_self" >&6; } | ||
| 10065 | if test "x$ac_cv_lib_pthread_pthread_self" = x""yes; then : | ||
| 10066 | HAVE_PTHREAD=yes | ||
| 10067 | fi | ||
| 10068 | |||
| 10069 | fi | ||
| 10070 | if test "$HAVE_PTHREAD" = yes; then | ||
| 10071 | case "${canonical}" in | ||
| 10072 | *-hpux*) ;; | ||
| 10073 | *) LIB_PTHREAD="-lpthread" ;; | ||
| 10074 | esac | ||
| 10075 | |||
| 10076 | $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h | ||
| 10077 | |||
| 10078 | fi | ||
| 10079 | |||
| 10080 | |||
| 9952 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cma_open in -lpthreads" >&5 | 10081 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cma_open in -lpthreads" >&5 |
| 9953 | $as_echo_n "checking for cma_open in -lpthreads... " >&6; } | 10082 | $as_echo_n "checking for cma_open in -lpthreads... " >&6; } |
| 9954 | if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then : | 10083 | if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then : |
| @@ -10774,70 +10903,6 @@ done | |||
| 10774 | 10903 | ||
| 10775 | fi | 10904 | fi |
| 10776 | 10905 | ||
| 10777 | HAVE_GTK_AND_PTHREAD=no | ||
| 10778 | for ac_header in pthread.h | ||
| 10779 | do : | ||
| 10780 | ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" | ||
| 10781 | if test "x$ac_cv_header_pthread_h" = x""yes; then : | ||
| 10782 | cat >>confdefs.h <<_ACEOF | ||
| 10783 | #define HAVE_PTHREAD_H 1 | ||
| 10784 | _ACEOF | ||
| 10785 | |||
| 10786 | fi | ||
| 10787 | |||
| 10788 | done | ||
| 10789 | |||
| 10790 | if test "$ac_cv_header_pthread_h"; then | ||
| 10791 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_self in -lpthread" >&5 | ||
| 10792 | $as_echo_n "checking for pthread_self in -lpthread... " >&6; } | ||
| 10793 | if test "${ac_cv_lib_pthread_pthread_self+set}" = set; then : | ||
| 10794 | $as_echo_n "(cached) " >&6 | ||
| 10795 | else | ||
| 10796 | ac_check_lib_save_LIBS=$LIBS | ||
| 10797 | LIBS="-lpthread $LIBS" | ||
| 10798 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 10799 | /* end confdefs.h. */ | ||
| 10800 | |||
| 10801 | /* Override any GCC internal prototype to avoid an error. | ||
| 10802 | Use char because int might match the return type of a GCC | ||
| 10803 | builtin and then its argument prototype would still apply. */ | ||
| 10804 | #ifdef __cplusplus | ||
| 10805 | extern "C" | ||
| 10806 | #endif | ||
| 10807 | char pthread_self (); | ||
| 10808 | int | ||
| 10809 | main () | ||
| 10810 | { | ||
| 10811 | return pthread_self (); | ||
| 10812 | ; | ||
| 10813 | return 0; | ||
| 10814 | } | ||
| 10815 | _ACEOF | ||
| 10816 | if ac_fn_c_try_link "$LINENO"; then : | ||
| 10817 | ac_cv_lib_pthread_pthread_self=yes | ||
| 10818 | else | ||
| 10819 | ac_cv_lib_pthread_pthread_self=no | ||
| 10820 | fi | ||
| 10821 | rm -f core conftest.err conftest.$ac_objext \ | ||
| 10822 | conftest$ac_exeext conftest.$ac_ext | ||
| 10823 | LIBS=$ac_check_lib_save_LIBS | ||
| 10824 | fi | ||
| 10825 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_self" >&5 | ||
| 10826 | $as_echo "$ac_cv_lib_pthread_pthread_self" >&6; } | ||
| 10827 | if test "x$ac_cv_lib_pthread_pthread_self" = x""yes; then : | ||
| 10828 | HAVE_GTK_AND_PTHREAD=yes | ||
| 10829 | fi | ||
| 10830 | |||
| 10831 | fi | ||
| 10832 | if test "$HAVE_GTK_AND_PTHREAD" = yes; then | ||
| 10833 | case "${canonical}" in | ||
| 10834 | *-hpux*) ;; | ||
| 10835 | *) GTK_LIBS="$GTK_LIBS -lpthread" ;; | ||
| 10836 | esac | ||
| 10837 | |||
| 10838 | $as_echo "#define HAVE_GTK_AND_PTHREAD 1" >>confdefs.h | ||
| 10839 | |||
| 10840 | fi | ||
| 10841 | 10906 | ||
| 10842 | for ac_func in gtk_widget_get_window gtk_widget_set_has_window \ | 10907 | for ac_func in gtk_widget_get_window gtk_widget_set_has_window \ |
| 10843 | gtk_dialog_get_action_area gtk_widget_get_sensitive \ | 10908 | gtk_dialog_get_action_area gtk_widget_get_sensitive \ |