diff options
| author | Glenn Morris | 2011-08-05 06:18:28 -0400 |
|---|---|---|
| committer | Glenn Morris | 2011-08-05 06:18:28 -0400 |
| commit | 1abfdc54d7ce46cf2e799c79b7f655360040fb61 (patch) | |
| tree | c7718ea887aabd0fc516a3e9105233f0341a466d | |
| parent | 89b3f01921741408950540f7ac50f32932c49356 (diff) | |
| download | emacs-1abfdc54d7ce46cf2e799c79b7f655360040fb61.tar.gz emacs-1abfdc54d7ce46cf2e799c79b7f655360040fb61.zip | |
Auto-commit of generated files.
| -rw-r--r-- | autogen/Makefile.in | 1 | ||||
| -rw-r--r-- | autogen/config.in | 6 | ||||
| -rwxr-xr-x | autogen/configure | 131 |
3 files changed, 71 insertions, 67 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..ca44b80c91e 100644 --- a/autogen/config.in +++ b/autogen/config.in | |||
| @@ -321,9 +321,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. */ | 321 | /* Define to 1 if you have the `gtk_adjustment_get_page_size' function. */ |
| 322 | #undef HAVE_GTK_ADJUSTMENT_GET_PAGE_SIZE | 322 | #undef HAVE_GTK_ADJUSTMENT_GET_PAGE_SIZE |
| 323 | 323 | ||
| 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. */ | 324 | /* Define to 1 if you have the `gtk_dialog_get_action_area' function. */ |
| 328 | #undef HAVE_GTK_DIALOG_GET_ACTION_AREA | 325 | #undef HAVE_GTK_DIALOG_GET_ACTION_AREA |
| 329 | 326 | ||
| @@ -582,6 +579,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 582 | /* Define to 1 if you have the `pstat_getdynamic' function. */ | 579 | /* Define to 1 if you have the `pstat_getdynamic' function. */ |
| 583 | #undef HAVE_PSTAT_GETDYNAMIC | 580 | #undef HAVE_PSTAT_GETDYNAMIC |
| 584 | 581 | ||
| 582 | /* Define to 1 if you have pthread (-lpthread). */ | ||
| 583 | #undef HAVE_PTHREAD | ||
| 584 | |||
| 585 | /* Define to 1 if you have the <pthread.h> header file. */ | 585 | /* Define to 1 if you have the <pthread.h> header file. */ |
| 586 | #undef HAVE_PTHREAD_H | 586 | #undef HAVE_PTHREAD_H |
| 587 | 587 | ||
diff --git a/autogen/configure b/autogen/configure index 074850731b0..351937c35a7 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 |
| @@ -9949,6 +9950,72 @@ if test "x$ac_cv_lib_Xbsd_main" = x""yes; then : | |||
| 9949 | fi | 9950 | fi |
| 9950 | 9951 | ||
| 9951 | 9952 | ||
| 9953 | LIB_PTHREAD= | ||
| 9954 | for ac_header in pthread.h | ||
| 9955 | do : | ||
| 9956 | ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" | ||
| 9957 | if test "x$ac_cv_header_pthread_h" = x""yes; then : | ||
| 9958 | cat >>confdefs.h <<_ACEOF | ||
| 9959 | #define HAVE_PTHREAD_H 1 | ||
| 9960 | _ACEOF | ||
| 9961 | |||
| 9962 | fi | ||
| 9963 | |||
| 9964 | done | ||
| 9965 | |||
| 9966 | if test "$ac_cv_header_pthread_h"; then | ||
| 9967 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_self in -lpthread" >&5 | ||
| 9968 | $as_echo_n "checking for pthread_self in -lpthread... " >&6; } | ||
| 9969 | if test "${ac_cv_lib_pthread_pthread_self+set}" = set; then : | ||
| 9970 | $as_echo_n "(cached) " >&6 | ||
| 9971 | else | ||
| 9972 | ac_check_lib_save_LIBS=$LIBS | ||
| 9973 | LIBS="-lpthread $LIBS" | ||
| 9974 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 9975 | /* end confdefs.h. */ | ||
| 9976 | |||
| 9977 | /* Override any GCC internal prototype to avoid an error. | ||
| 9978 | Use char because int might match the return type of a GCC | ||
| 9979 | builtin and then its argument prototype would still apply. */ | ||
| 9980 | #ifdef __cplusplus | ||
| 9981 | extern "C" | ||
| 9982 | #endif | ||
| 9983 | char pthread_self (); | ||
| 9984 | int | ||
| 9985 | main () | ||
| 9986 | { | ||
| 9987 | return pthread_self (); | ||
| 9988 | ; | ||
| 9989 | return 0; | ||
| 9990 | } | ||
| 9991 | _ACEOF | ||
| 9992 | if ac_fn_c_try_link "$LINENO"; then : | ||
| 9993 | ac_cv_lib_pthread_pthread_self=yes | ||
| 9994 | else | ||
| 9995 | ac_cv_lib_pthread_pthread_self=no | ||
| 9996 | fi | ||
| 9997 | rm -f core conftest.err conftest.$ac_objext \ | ||
| 9998 | conftest$ac_exeext conftest.$ac_ext | ||
| 9999 | LIBS=$ac_check_lib_save_LIBS | ||
| 10000 | fi | ||
| 10001 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_self" >&5 | ||
| 10002 | $as_echo "$ac_cv_lib_pthread_pthread_self" >&6; } | ||
| 10003 | if test "x$ac_cv_lib_pthread_pthread_self" = x""yes; then : | ||
| 10004 | HAVE_PTHREAD=yes | ||
| 10005 | fi | ||
| 10006 | |||
| 10007 | fi | ||
| 10008 | if test "$HAVE_PTHREAD" = yes; then | ||
| 10009 | case "${canonical}" in | ||
| 10010 | *-hpux*) ;; | ||
| 10011 | *) LIB_PTHREAD="-lpthread" ;; | ||
| 10012 | esac | ||
| 10013 | |||
| 10014 | $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h | ||
| 10015 | |||
| 10016 | fi | ||
| 10017 | |||
| 10018 | |||
| 9952 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cma_open in -lpthreads" >&5 | 10019 | { $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; } | 10020 | $as_echo_n "checking for cma_open in -lpthreads... " >&6; } |
| 9954 | if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then : | 10021 | if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then : |
| @@ -10774,70 +10841,6 @@ done | |||
| 10774 | 10841 | ||
| 10775 | fi | 10842 | fi |
| 10776 | 10843 | ||
| 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 | 10844 | ||
| 10842 | for ac_func in gtk_widget_get_window gtk_widget_set_has_window \ | 10845 | for ac_func in gtk_widget_get_window gtk_widget_set_has_window \ |
| 10843 | gtk_dialog_get_action_area gtk_widget_get_sensitive \ | 10846 | gtk_dialog_get_action_area gtk_widget_get_sensitive \ |