diff options
| author | Glenn Morris | 2011-12-17 06:17:53 -0500 |
|---|---|---|
| committer | Glenn Morris | 2011-12-17 06:17:53 -0500 |
| commit | e1fefc61a4b0c59007b9375b62e889dd1e70bfdc (patch) | |
| tree | 7da5192889d1a5e1d603a01ca53db2a33fbd8043 | |
| parent | 9cff91f800cc72f8c77cf192c119c78d4a14a8ee (diff) | |
| download | emacs-e1fefc61a4b0c59007b9375b62e889dd1e70bfdc.tar.gz emacs-e1fefc61a4b0c59007b9375b62e889dd1e70bfdc.zip | |
Auto-commit of generated files.
| -rwxr-xr-x | autogen/configure | 28 |
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 | |||
| 10339 | done | 10339 | done |
| 10340 | 10340 | ||
| 10341 | if test "$ac_cv_header_pthread_h"; then | 10341 | if 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 |
| 10344 | if 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; } | ||
| 10350 | if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
| 10345 | $as_echo_n "(cached) " >&6 | 10351 | $as_echo_n "(cached) " >&6 |
| 10346 | else | 10352 | else |
| 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 |
| 10356 | extern "C" | 10362 | extern "C" |
| 10357 | #endif | 10363 | #endif |
| 10358 | char pthread_self (); | 10364 | char $emacs_pthread_function (); |
| 10359 | int | 10365 | int |
| 10360 | main () | 10366 | main () |
| 10361 | { | 10367 | { |
| 10362 | return pthread_self (); | 10368 | return $emacs_pthread_function (); |
| 10363 | ; | 10369 | ; |
| 10364 | return 0; | 10370 | return 0; |
| 10365 | } | 10371 | } |
| 10366 | _ACEOF | 10372 | _ACEOF |
| 10367 | if ac_fn_c_try_link "$LINENO"; then : | 10373 | if ac_fn_c_try_link "$LINENO"; then : |
| 10368 | ac_cv_lib_pthread_pthread_self=yes | 10374 | eval "$as_ac_Lib=yes" |
| 10369 | else | 10375 | else |
| 10370 | ac_cv_lib_pthread_pthread_self=no | 10376 | eval "$as_ac_Lib=no" |
| 10371 | fi | 10377 | fi |
| 10372 | rm -f core conftest.err conftest.$ac_objext \ | 10378 | rm -f core conftest.err conftest.$ac_objext \ |
| 10373 | conftest$ac_exeext conftest.$ac_ext | 10379 | conftest$ac_exeext conftest.$ac_ext |
| 10374 | LIBS=$ac_check_lib_save_LIBS | 10380 | LIBS=$ac_check_lib_save_LIBS |
| 10375 | fi | 10381 | fi |
| 10376 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_self" >&5 | 10382 | eval 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 |
| 10378 | if test "x$ac_cv_lib_pthread_pthread_self" = x""yes; then : | 10384 | $as_echo "$ac_res" >&6; } |
| 10385 | eval as_val=\$$as_ac_Lib | ||
| 10386 | if test "x$as_val" = x""yes; then : | ||
| 10379 | HAVE_PTHREAD=yes | 10387 | HAVE_PTHREAD=yes |
| 10380 | fi | 10388 | fi |
| 10381 | 10389 | ||