aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2011-08-05 06:18:28 -0400
committerGlenn Morris2011-08-05 06:18:28 -0400
commit1abfdc54d7ce46cf2e799c79b7f655360040fb61 (patch)
treec7718ea887aabd0fc516a3e9105233f0341a466d
parent89b3f01921741408950540f7ac50f32932c49356 (diff)
downloademacs-1abfdc54d7ce46cf2e799c79b7f655360040fb61.tar.gz
emacs-1abfdc54d7ce46cf2e799c79b7f655360040fb61.zip
Auto-commit of generated files.
-rw-r--r--autogen/Makefile.in1
-rw-r--r--autogen/config.in6
-rwxr-xr-xautogen/configure131
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@
495LIBX_OTHER = @LIBX_OTHER@ 495LIBX_OTHER = @LIBX_OTHER@
496LIB_GCC = @LIB_GCC@ 496LIB_GCC = @LIB_GCC@
497LIB_MATH = @LIB_MATH@ 497LIB_MATH = @LIB_MATH@
498LIB_PTHREAD = @LIB_PTHREAD@
498LIB_PTHREAD_SIGMASK = @LIB_PTHREAD_SIGMASK@ 499LIB_PTHREAD_SIGMASK = @LIB_PTHREAD_SIGMASK@
499LIB_STANDARD = @LIB_STANDARD@ 500LIB_STANDARD = @LIB_STANDARD@
500LTLIBINTL = @LTLIBINTL@ 501LTLIBINTL = @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
1139IMAGEMAGICK_CFLAGS 1139IMAGEMAGICK_CFLAGS
1140RSVG_LIBS 1140RSVG_LIBS
1141RSVG_CFLAGS 1141RSVG_CFLAGS
1142LIB_PTHREAD
1142VMLIMIT_OBJ 1143VMLIMIT_OBJ
1143GMALLOC_OBJ 1144GMALLOC_OBJ
1144HAVE_XSERVER 1145HAVE_XSERVER
@@ -9949,6 +9950,72 @@ if test "x$ac_cv_lib_Xbsd_main" = x""yes; then :
9949fi 9950fi
9950 9951
9951 9952
9953LIB_PTHREAD=
9954for ac_header in pthread.h
9955do :
9956 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
9957if test "x$ac_cv_header_pthread_h" = x""yes; then :
9958 cat >>confdefs.h <<_ACEOF
9959#define HAVE_PTHREAD_H 1
9960_ACEOF
9961
9962fi
9963
9964done
9965
9966if 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; }
9969if test "${ac_cv_lib_pthread_pthread_self+set}" = set; then :
9970 $as_echo_n "(cached) " >&6
9971else
9972 ac_check_lib_save_LIBS=$LIBS
9973LIBS="-lpthread $LIBS"
9974cat 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
9981extern "C"
9982#endif
9983char pthread_self ();
9984int
9985main ()
9986{
9987return pthread_self ();
9988 ;
9989 return 0;
9990}
9991_ACEOF
9992if ac_fn_c_try_link "$LINENO"; then :
9993 ac_cv_lib_pthread_pthread_self=yes
9994else
9995 ac_cv_lib_pthread_pthread_self=no
9996fi
9997rm -f core conftest.err conftest.$ac_objext \
9998 conftest$ac_exeext conftest.$ac_ext
9999LIBS=$ac_check_lib_save_LIBS
10000fi
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; }
10003if test "x$ac_cv_lib_pthread_pthread_self" = x""yes; then :
10004 HAVE_PTHREAD=yes
10005fi
10006
10007fi
10008if 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
10016fi
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; }
9954if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then : 10021if 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
10779do :
10780 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
10781if test "x$ac_cv_header_pthread_h" = x""yes; then :
10782 cat >>confdefs.h <<_ACEOF
10783#define HAVE_PTHREAD_H 1
10784_ACEOF
10785
10786fi
10787
10788done
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; }
10793if test "${ac_cv_lib_pthread_pthread_self+set}" = set; then :
10794 $as_echo_n "(cached) " >&6
10795else
10796 ac_check_lib_save_LIBS=$LIBS
10797LIBS="-lpthread $LIBS"
10798cat 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
10805extern "C"
10806#endif
10807char pthread_self ();
10808int
10809main ()
10810{
10811return pthread_self ();
10812 ;
10813 return 0;
10814}
10815_ACEOF
10816if ac_fn_c_try_link "$LINENO"; then :
10817 ac_cv_lib_pthread_pthread_self=yes
10818else
10819 ac_cv_lib_pthread_pthread_self=no
10820fi
10821rm -f core conftest.err conftest.$ac_objext \
10822 conftest$ac_exeext conftest.$ac_ext
10823LIBS=$ac_check_lib_save_LIBS
10824fi
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; }
10827if test "x$ac_cv_lib_pthread_pthread_self" = x""yes; then :
10828 HAVE_GTK_AND_PTHREAD=yes
10829fi
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 \