aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2011-12-17 06:17:53 -0500
committerGlenn Morris2011-12-17 06:17:53 -0500
commite1fefc61a4b0c59007b9375b62e889dd1e70bfdc (patch)
tree7da5192889d1a5e1d603a01ca53db2a33fbd8043
parent9cff91f800cc72f8c77cf192c119c78d4a14a8ee (diff)
downloademacs-e1fefc61a4b0c59007b9375b62e889dd1e70bfdc.tar.gz
emacs-e1fefc61a4b0c59007b9375b62e889dd1e70bfdc.zip
Auto-commit of generated files.
-rwxr-xr-xautogen/configure28
1 files changed, 18 insertions, 10 deletions
diff --git a/autogen/configure b/autogen/configure
index 620be0abd07..325df38a2df 100755
--- a/autogen/configure
+++ b/autogen/configure
@@ -10339,9 +10339,15 @@ fi
10339done 10339done
10340 10340
10341if test "$ac_cv_header_pthread_h"; then 10341if test "$ac_cv_header_pthread_h"; then
10342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_self in -lpthread" >&5 10342 if test "$GMALLOC_OBJ" = gmalloc.o; then
10343$as_echo_n "checking for pthread_self in -lpthread... " >&6; } 10343 emacs_pthread_function=pthread_atfork
10344if test "${ac_cv_lib_pthread_pthread_self+set}" = set; then : 10344 else
10345 emacs_pthread_function=pthread_self
10346 fi
10347 as_ac_Lib=`$as_echo "ac_cv_lib_pthread_$emacs_pthread_function" | $as_tr_sh`
10348{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $emacs_pthread_function in -lpthread" >&5
10349$as_echo_n "checking for $emacs_pthread_function in -lpthread... " >&6; }
10350if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
10345 $as_echo_n "(cached) " >&6 10351 $as_echo_n "(cached) " >&6
10346else 10352else
10347 ac_check_lib_save_LIBS=$LIBS 10353 ac_check_lib_save_LIBS=$LIBS
@@ -10355,27 +10361,29 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10355#ifdef __cplusplus 10361#ifdef __cplusplus
10356extern "C" 10362extern "C"
10357#endif 10363#endif
10358char pthread_self (); 10364char $emacs_pthread_function ();
10359int 10365int
10360main () 10366main ()
10361{ 10367{
10362return pthread_self (); 10368return $emacs_pthread_function ();
10363 ; 10369 ;
10364 return 0; 10370 return 0;
10365} 10371}
10366_ACEOF 10372_ACEOF
10367if ac_fn_c_try_link "$LINENO"; then : 10373if ac_fn_c_try_link "$LINENO"; then :
10368 ac_cv_lib_pthread_pthread_self=yes 10374 eval "$as_ac_Lib=yes"
10369else 10375else
10370 ac_cv_lib_pthread_pthread_self=no 10376 eval "$as_ac_Lib=no"
10371fi 10377fi
10372rm -f core conftest.err conftest.$ac_objext \ 10378rm -f core conftest.err conftest.$ac_objext \
10373 conftest$ac_exeext conftest.$ac_ext 10379 conftest$ac_exeext conftest.$ac_ext
10374LIBS=$ac_check_lib_save_LIBS 10380LIBS=$ac_check_lib_save_LIBS
10375fi 10381fi
10376{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_self" >&5 10382eval ac_res=\$$as_ac_Lib
10377$as_echo "$ac_cv_lib_pthread_pthread_self" >&6; } 10383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10378if test "x$ac_cv_lib_pthread_pthread_self" = x""yes; then : 10384$as_echo "$ac_res" >&6; }
10385eval as_val=\$$as_ac_Lib
10386 if test "x$as_val" = x""yes; then :
10379 HAVE_PTHREAD=yes 10387 HAVE_PTHREAD=yes
10380fi 10388fi
10381 10389