Changeset 540 for trunk/configure
- Timestamp:
- 02/05/10 13:47:06 (2 years ago)
- File:
-
- 1 edited
-
trunk/configure (modified) (35 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure
r538 r540 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.62 for onioncat 0.2.2.r5 38.3 # Generated by GNU Autoconf 2.62 for onioncat 0.2.2.r540. 4 4 # 5 5 # Report bugs to <rahra@cypherpunk.at>. … … 597 597 PACKAGE_NAME='onioncat' 598 598 PACKAGE_TARNAME='onioncat' 599 PACKAGE_VERSION='0.2.2.r5 38'600 PACKAGE_STRING='onioncat 0.2.2.r5 38'599 PACKAGE_VERSION='0.2.2.r540' 600 PACKAGE_STRING='onioncat 0.2.2.r540' 601 601 PACKAGE_BUGREPORT='rahra@cypherpunk.at' 602 602 … … 684 684 host_vendor 685 685 host_os 686 a cx_pthread_config686 ax_pthread_config 687 687 PTHREAD_CC 688 688 PTHREAD_LIBS … … 1261 1261 # This message is too long to be a string in the A/UX 3.1 sh. 1262 1262 cat <<_ACEOF 1263 \`configure' configures onioncat 0.2.2.r5 38to adapt to many kinds of systems.1263 \`configure' configures onioncat 0.2.2.r540 to adapt to many kinds of systems. 1264 1264 1265 1265 Usage: $0 [OPTION]... [VAR=VALUE]... … … 1331 1331 if test -n "$ac_init_help"; then 1332 1332 case $ac_init_help in 1333 short | recursive ) echo "Configuration of onioncat 0.2.2.r5 38:";;1333 short | recursive ) echo "Configuration of onioncat 0.2.2.r540:";; 1334 1334 esac 1335 1335 cat <<\_ACEOF … … 1423 1423 if $ac_init_version; then 1424 1424 cat <<\_ACEOF 1425 onioncat configure 0.2.2.r5 381425 onioncat configure 0.2.2.r540 1426 1426 generated by GNU Autoconf 2.62 1427 1427 … … 1437 1437 running configure, to aid debugging if configure makes a mistake. 1438 1438 1439 It was created by onioncat $as_me 0.2.2.r5 38, which was1439 It was created by onioncat $as_me 0.2.2.r540, which was 1440 1440 generated by GNU Autoconf 2.62. Invocation command line was 1441 1441 … … 2086 2086 # Define the identity of the package. 2087 2087 PACKAGE='onioncat' 2088 VERSION='0.2.2.r5 38'2088 VERSION='0.2.2.r540' 2089 2089 2090 2090 … … 2237 2237 2238 2238 cat >>confdefs.h <<\_ACEOF 2239 #define SVN_REVISION "5 38"2239 #define SVN_REVISION "540" 2240 2240 _ACEOF 2241 2241 … … 3417 3417 fi 3418 3418 3419 3420 # =========================================================================== 3421 # http://www.nongnu.org/autoconf-archive/ax_pthread.html 3422 # =========================================================================== 3423 # 3424 # SYNOPSIS 3425 # 3426 # AX_PTHREAD([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]) 3427 # 3428 # DESCRIPTION 3429 # 3430 # This macro figures out how to build C programs using POSIX threads. It 3431 # sets the PTHREAD_LIBS output variable to the threads library and linker 3432 # flags, and the PTHREAD_CFLAGS output variable to any special C compiler 3433 # flags that are needed. (The user can also force certain compiler 3434 # flags/libs to be tested by setting these environment variables.) 3435 # 3436 # Also sets PTHREAD_CC to any special C compiler that is needed for 3437 # multi-threaded programs (defaults to the value of CC otherwise). (This 3438 # is necessary on AIX to use the special cc_r compiler alias.) 3439 # 3440 # NOTE: You are assumed to not only compile your program with these flags, 3441 # but also link it with them as well. e.g. you should link with 3442 # $PTHREAD_CC $CFLAGS $PTHREAD_CFLAGS $LDFLAGS ... $PTHREAD_LIBS $LIBS 3443 # 3444 # If you are only building threads programs, you may wish to use these 3445 # variables in your default LIBS, CFLAGS, and CC: 3446 # 3447 # LIBS="$PTHREAD_LIBS $LIBS" 3448 # CFLAGS="$CFLAGS $PTHREAD_CFLAGS" 3449 # CC="$PTHREAD_CC" 3450 # 3451 # In addition, if the PTHREAD_CREATE_JOINABLE thread-attribute constant 3452 # has a nonstandard name, defines PTHREAD_CREATE_JOINABLE to that name 3453 # (e.g. PTHREAD_CREATE_UNDETACHED on AIX). 3454 # 3455 # ACTION-IF-FOUND is a list of shell commands to run if a threads library 3456 # is found, and ACTION-IF-NOT-FOUND is a list of commands to run it if it 3457 # is not found. If ACTION-IF-FOUND is not specified, the default action 3458 # will define HAVE_PTHREAD. 3459 # 3460 # Please let the authors know if this macro fails on any platform, or if 3461 # you have any other suggestions or comments. This macro was based on work 3462 # by SGJ on autoconf scripts for FFTW (http://www.fftw.org/) (with help 3463 # from M. Frigo), as well as ac_pthread and hb_pthread macros posted by 3464 # Alejandro Forero Cuervo to the autoconf macro repository. We are also 3465 # grateful for the helpful feedback of numerous users. 3466 # 3467 # LICENSE 3468 # 3469 # Copyright (c) 2008 Steven G. Johnson <stevenj@alum.mit.edu> 3470 # 3471 # This program is free software: you can redistribute it and/or modify it 3472 # under the terms of the GNU General Public License as published by the 3473 # Free Software Foundation, either version 3 of the License, or (at your 3474 # option) any later version. 3475 # 3476 # This program is distributed in the hope that it will be useful, but 3477 # WITHOUT ANY WARRANTY; without even the implied warranty of 3478 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General 3479 # Public License for more details. 3480 # 3481 # You should have received a copy of the GNU General Public License along 3482 # with this program. If not, see <http://www.gnu.org/licenses/>. 3483 # 3484 # As a special exception, the respective Autoconf Macro's copyright owner 3485 # gives unlimited permission to copy, distribute and modify the configure 3486 # scripts that are the output of Autoconf when processing the Macro. You 3487 # need not follow the terms of the GNU General Public License when using 3488 # or distributing such scripts, even though portions of the text of the 3489 # Macro appear in them. The GNU General Public License (GPL) does govern 3490 # all other use of the material that constitutes the Autoconf Macro. 3491 # 3492 # This special exception to the GPL applies to versions of the Autoconf 3493 # Macro released by the Autoconf Archive. When you make and distribute a 3494 # modified version of the Autoconf Macro, you may extend this special 3495 # exception to the GPL to apply to your modified version as well. 3496 3497 #serial 5 3498 3499 # This is what autoupdate's m4 run will expand. It fires 3500 # the warning (with _au_warn_XXX), outputs it into the 3501 # updated configure.ac (with AC_DIAGNOSE), and then outputs 3502 # the replacement expansion. 3503 3504 3505 # This is an auxiliary macro that is also run when 3506 # autoupdate runs m4. It simply calls m4_warning, but 3507 # we need a wrapper so that each warning is emitted only 3508 # once. We break the quoting in m4_warning's argument in 3509 # order to expand this macro's arguments, not AU_DEFUN's. 3510 3511 3512 # Finally, this is the expansion that is picked up by 3513 # autoconf. It tells the user to run autoupdate, and 3514 # then outputs the replacement expansion. We do not care 3515 # about autoupdate's warning because that contains 3516 # information on what to do *after* running autoupdate. 3517 3518 3419 3519 # Make sure we can run config.sub. 3420 3520 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || … … 3510 3610 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3511 3611 3512 a cx_pthread_ok=no3612 ax_pthread_ok=no 3513 3613 3514 3614 # We used to check for pthread.h first, but this fails if pthread.h … … 3569 3669 $as_test_x conftest$ac_exeext 3570 3670 }; then 3571 a cx_pthread_ok=yes3671 ax_pthread_ok=yes 3572 3672 else 3573 3673 $as_echo "$as_me: failed program was:" >&5 … … 3580 3680 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3581 3681 conftest$ac_exeext conftest.$ac_ext 3582 { $as_echo "$as_me:$LINENO: result: $a cx_pthread_ok" >&53583 $as_echo "$a cx_pthread_ok" >&6; }3584 if test x"$a cx_pthread_ok" = xno; then3682 { $as_echo "$as_me:$LINENO: result: $ax_pthread_ok" >&5 3683 $as_echo "$ax_pthread_ok" >&6; } 3684 if test x"$ax_pthread_ok" = xno; then 3585 3685 PTHREAD_LIBS="" 3586 3686 PTHREAD_CFLAGS="" … … 3600 3700 # which is a program returning the flags for the Pth emulation library. 3601 3701 3602 a cx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"3702 ax_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config" 3603 3703 3604 3704 # The ordering *is* (sometimes) important. Some notes on the … … 3633 3733 # we'll just look for -pthreads and -lpthread first: 3634 3734 3635 a cx_pthread_flags="-pthreads pthread -mt -pthread $acx_pthread_flags"3735 ax_pthread_flags="-pthreads pthread -mt -pthread $ax_pthread_flags" 3636 3736 ;; 3637 3737 esac 3638 3738 3639 if test x"$a cx_pthread_ok" = xno; then3640 for flag in $a cx_pthread_flags; do3739 if test x"$ax_pthread_ok" = xno; then 3740 for flag in $ax_pthread_flags; do 3641 3741 3642 3742 case $flag in … … 3652 3752 ;; 3653 3753 3654 pthread-config)3655 # Extract the first word of "pthread-config", so it can be a program name with args.3754 pthread-config) 3755 # Extract the first word of "pthread-config", so it can be a program name with args. 3656 3756 set dummy pthread-config; ac_word=$2 3657 3757 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3658 3758 $as_echo_n "checking for $ac_word... " >&6; } 3659 if test "${ac_cv_prog_a cx_pthread_config+set}" = set; then3759 if test "${ac_cv_prog_ax_pthread_config+set}" = set; then 3660 3760 $as_echo_n "(cached) " >&6 3661 3761 else 3662 if test -n "$a cx_pthread_config"; then3663 ac_cv_prog_a cx_pthread_config="$acx_pthread_config" # Let the user override the test.3762 if test -n "$ax_pthread_config"; then 3763 ac_cv_prog_ax_pthread_config="$ax_pthread_config" # Let the user override the test. 3664 3764 else 3665 3765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 3670 3770 for ac_exec_ext in '' $ac_executable_extensions; do 3671 3771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3672 ac_cv_prog_a cx_pthread_config="yes"3772 ac_cv_prog_ax_pthread_config="yes" 3673 3773 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3674 3774 break 2 … … 3678 3778 IFS=$as_save_IFS 3679 3779 3680 test -z "$ac_cv_prog_a cx_pthread_config" && ac_cv_prog_acx_pthread_config="no"3681 fi 3682 fi 3683 a cx_pthread_config=$ac_cv_prog_acx_pthread_config3684 if test -n "$a cx_pthread_config"; then3685 { $as_echo "$as_me:$LINENO: result: $a cx_pthread_config" >&53686 $as_echo "$a cx_pthread_config" >&6; }3780 test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config="no" 3781 fi 3782 fi 3783 ax_pthread_config=$ac_cv_prog_ax_pthread_config 3784 if test -n "$ax_pthread_config"; then 3785 { $as_echo "$as_me:$LINENO: result: $ax_pthread_config" >&5 3786 $as_echo "$ax_pthread_config" >&6; } 3687 3787 else 3688 3788 { $as_echo "$as_me:$LINENO: result: no" >&5 … … 3691 3791 3692 3792 3693 if test x"$acx_pthread_config" = xno; then continue; fi3694 PTHREAD_CFLAGS="`pthread-config --cflags`"3695 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"3696 ;;3793 if test x"$ax_pthread_config" = xno; then continue; fi 3794 PTHREAD_CFLAGS="`pthread-config --cflags`" 3795 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`" 3796 ;; 3697 3797 3698 3798 *) … … 3724 3824 /* end confdefs.h. */ 3725 3825 #include <pthread.h> 3826 static void routine(void* a) {a=0;} 3827 static void* start_routine(void* a) {return a;} 3726 3828 int 3727 3829 main () 3728 3830 { 3729 pthread_t th; pthread_join(th, 0); 3730 pthread_attr_init(0); pthread_cleanup_push(0, 0); 3731 pthread_create(0,0,0,0); pthread_cleanup_pop(0); 3831 pthread_t th; pthread_attr_t attr; 3832 pthread_join(th, 0); 3833 pthread_attr_init(&attr); 3834 pthread_cleanup_push(routine, 0); 3835 pthread_create(&th,0,start_routine,0); 3836 pthread_cleanup_pop(0); 3732 3837 ; 3733 3838 return 0; … … 3755 3860 $as_test_x conftest$ac_exeext 3756 3861 }; then 3757 a cx_pthread_ok=yes3862 ax_pthread_ok=yes 3758 3863 else 3759 3864 $as_echo "$as_me: failed program was:" >&5 … … 3770 3875 CFLAGS="$save_CFLAGS" 3771 3876 3772 { $as_echo "$as_me:$LINENO: result: $a cx_pthread_ok" >&53773 $as_echo "$a cx_pthread_ok" >&6; }3774 if test "x$a cx_pthread_ok" = xyes; then3877 { $as_echo "$as_me:$LINENO: result: $ax_pthread_ok" >&5 3878 $as_echo "$ax_pthread_ok" >&6; } 3879 if test "x$ax_pthread_ok" = xyes; then 3775 3880 break; 3776 3881 fi … … 3782 3887 3783 3888 # Various other checks: 3784 if test "x$a cx_pthread_ok" = xyes; then3889 if test "x$ax_pthread_ok" = xyes; then 3785 3890 save_LIBS="$LIBS" 3786 3891 LIBS="$PTHREAD_LIBS $LIBS" … … 3789 3894 3790 3895 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED. 3791 { $as_echo "$as_me:$LINENO: checking for joinable pthread attribute" >&53896 { $as_echo "$as_me:$LINENO: checking for joinable pthread attribute" >&5 3792 3897 $as_echo_n "checking for joinable pthread attribute... " >&6; } 3793 attr_name=unknown3794 for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do3795 cat >conftest.$ac_ext <<_ACEOF3898 attr_name=unknown 3899 for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do 3900 cat >conftest.$ac_ext <<_ACEOF 3796 3901 /* confdefs.h. */ 3797 3902 _ACEOF … … 3840 3945 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3841 3946 conftest$ac_exeext conftest.$ac_ext 3842 done3947 done 3843 3948 { $as_echo "$as_me:$LINENO: result: $attr_name" >&5 3844 3949 $as_echo "$attr_name" >&6; } … … 3868 3973 3869 3974 # More AIX lossage: must compile with xlc_r or cc_r 3870 if test x"$GCC" != xyes; then3975 if test x"$GCC" != xyes; then 3871 3976 for ac_prog in xlc_r cc_r 3872 3977 do … … 3914 4019 else 3915 4020 PTHREAD_CC=$CC 3916 fi4021 fi 3917 4022 else 3918 4023 PTHREAD_CC="$CC" … … 3924 4029 3925 4030 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND: 3926 if test x"$a cx_pthread_ok" = xyes; then4031 if test x"$ax_pthread_ok" = xyes; then 3927 4032 3928 4033 cat >>confdefs.h <<\_ACEOF … … 3932 4037 : 3933 4038 else 3934 a cx_pthread_ok=no4039 ax_pthread_ok=no 3935 4040 3936 4041 fi … … 3942 4047 3943 4048 4049 LIBS="$PTHREAD_LIBS $LIBS" 4050 CFLAGS="$CFLAGS $PTHREAD_CFLAGS" 4051 CC="$PTHREAD_CC" 4052 3944 4053 3945 4054 # Checks for libraries. … … 3947 4056 #AC_CHECK_LIB([rt], [clock_gettime]) 3948 4057 #AC_CHECK_LIB([readline], [main]) 3949 3950 LIBS="$PTHREAD_LIBS $LIBS"3951 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"3952 CC="$PTHREAD_CC"3953 4058 3954 4059 # Checks for header files. … … 4786 4891 4787 4892 4788 ac_config_files="$ac_config_files Makefile src/cygwin/Makefile src/Makefile man/Makefile "4893 ac_config_files="$ac_config_files Makefile src/cygwin/Makefile src/Makefile man/Makefile debian/Makefile freebsd/Makefile" 4789 4894 4790 4895 cat >confcache <<\_ACEOF … … 5221 5326 # values after options handling. 5222 5327 ac_log=" 5223 This file was extended by onioncat $as_me 0.2.2.r5 38, which was5328 This file was extended by onioncat $as_me 0.2.2.r540, which was 5224 5329 generated by GNU Autoconf 2.62. Invocation command line was 5225 5330 … … 5274 5379 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5275 5380 ac_cs_version="\\ 5276 onioncat config.status 0.2.2.r5 385381 onioncat config.status 0.2.2.r540 5277 5382 configured by $0, generated by GNU Autoconf 2.62, 5278 5383 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" … … 5402 5507 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 5403 5508 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;; 5509 "debian/Makefile") CONFIG_FILES="$CONFIG_FILES debian/Makefile" ;; 5510 "freebsd/Makefile") CONFIG_FILES="$CONFIG_FILES freebsd/Makefile" ;; 5404 5511 5405 5512 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
Note: See TracChangeset
for help on using the changeset viewer.
