ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/gvpe/configure
(Generate patch)

Comparing gvpe/configure (file contents):
Revision 1.45 by root, Tue Feb 15 13:31:21 2011 UTC vs.
Revision 1.48 by root, Tue Jun 21 16:27:32 2011 UTC

589#endif 589#endif
590#ifdef HAVE_UNISTD_H 590#ifdef HAVE_UNISTD_H
591# include <unistd.h> 591# include <unistd.h>
592#endif" 592#endif"
593 593
594ac_subst_vars='LTLIBOBJS 594ac_subst_vars='am__EXEEXT_FALSE
595am__EXEEXT_TRUE
596LTLIBOBJS
595LIBOBJS 597LIBOBJS
596INCLUDES 598INCLUDES
597ROHC_FALSE 599ROHC_FALSE
598ROHC_TRUE 600ROHC_TRUE
599LDFLAGS_DAEMON 601LDFLAGS_DAEMON
643MSGFMT 645MSGFMT
644MKINSTALLDIRS 646MKINSTALLDIRS
645MAINT 647MAINT
646MAINTAINER_MODE_FALSE 648MAINTAINER_MODE_FALSE
647MAINTAINER_MODE_TRUE 649MAINTAINER_MODE_TRUE
650am__untar
651am__tar
652AMTAR
648am__leading_dot 653am__leading_dot
649SET_MAKE 654SET_MAKE
650AWK 655AWK
656mkdir_p
657MKDIR_P
651INSTALL_STRIP_PROGRAM 658INSTALL_STRIP_PROGRAM
652STRIP 659STRIP
653install_sh 660install_sh
654AMTAR
655MAKEINFO 661MAKEINFO
656AUTOHEADER 662AUTOHEADER
657AUTOMAKE 663AUTOMAKE
658AUTOCONF 664AUTOCONF
659ACLOCAL 665ACLOCAL
660VERSION 666VERSION
661PACKAGE 667PACKAGE
662CYGPATH_W 668CYGPATH_W
669am__isrc
663INSTALL_DATA 670INSTALL_DATA
664INSTALL_SCRIPT 671INSTALL_SCRIPT
665INSTALL_PROGRAM 672INSTALL_PROGRAM
666target_os 673target_os
667target_vendor 674target_vendor
725with_libintl_prefix 732with_libintl_prefix
726enable_iftype 733enable_iftype
727with_kernel 734with_kernel
728with_openssl_include 735with_openssl_include
729with_openssl_lib 736with_openssl_lib
737enable_threads
730enable_static_daemon 738enable_static_daemon
731enable_icmp 739enable_icmp
732enable_tcp 740enable_tcp
733enable_http_proxy 741enable_http_proxy
734enable_dns 742enable_dns
1369 1377
1370Optional Features: 1378Optional Features:
1371 --disable-option-checking ignore unrecognized --enable/--with options 1379 --disable-option-checking ignore unrecognized --enable/--with options
1372 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1380 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1373 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1381 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1374 --enable-maintainer-mode enable make rules and dependencies not useful 1382 --enable-maintainer-mode enable make rules and dependencies not useful
1375 (and sometimes confusing) to the casual installer 1383 (and sometimes confusing) to the casual installer
1376 --disable-dependency-tracking Speeds up one-time builds 1384 --disable-dependency-tracking speeds up one-time build
1377 --enable-dependency-tracking Do not reject slow dependency extractors 1385 --enable-dependency-tracking do not reject slow dependency extractors
1378 --disable-rpath do not hardcode runtime library paths 1386 --disable-rpath do not hardcode runtime library paths
1379 --disable-nls do not use Native Language Support 1387 --disable-nls do not use Native Language Support
1380 --enable-iftype=TYPE/SUBTYPE 1388 --enable-iftype=TYPE/SUBTYPE
1381 Use kernel/net device interface TYPE/SUBTYPE. 1389 Use kernel/net device interface TYPE/SUBTYPE.
1382 Working combinations are (see doc/gvpe.osdep.5.pod): 1390 Working combinations are (see doc/gvpe.osdep.5.pod):
1385 "tincd/darwin" "native/cygwin"; Untested 1393 "tincd/darwin" "native/cygwin"; Untested
1386 combinations are: "tincd/bsd" "tincd/solaris" 1394 combinations are: "tincd/bsd" "tincd/solaris"
1387 "tincd/mingw" "tincd/raw_socket" "tincd/uml_socket"; 1395 "tincd/mingw" "tincd/raw_socket" "tincd/uml_socket";
1388 Broken combinations are: "tincd/cygwin"; The default 1396 Broken combinations are: "tincd/cygwin"; The default
1389 is to autodetect. 1397 is to autodetect.
1398 --enable-threads try to use threads for long-running asynchronous
1399 operations (default enabled).
1390 --enable-static-daemon enable statically linked daemon. 1400 --enable-static-daemon enable statically linked daemon.
1391 --disable-icmp enable icmp protocol support (default enabled). 1401 --disable-icmp enable icmp protocol support (default enabled).
1392 --disable-tcp enable tcp protocol support (default enabled). 1402 --disable-tcp enable tcp protocol support (default enabled).
1393 --disable-http-proxy enable http proxy connect support (default enabled). 1403 --disable-http-proxy enable http proxy connect support (default enabled).
1394 --enable-dns enable dns tunnel protocol support (default 1404 --enable-dns enable dns tunnel protocol support (default
2724# will get canonicalized. 2734# will get canonicalized.
2725test -n "$target_alias" && 2735test -n "$target_alias" &&
2726 test "$program_prefix$program_suffix$program_transform_name" = \ 2736 test "$program_prefix$program_suffix$program_transform_name" = \
2727 NONENONEs,x,x, && 2737 NONENONEs,x,x, &&
2728 program_prefix=${target_alias}- 2738 program_prefix=${target_alias}-
2729am__api_version="1.7" 2739am__api_version='1.11'
2740
2730# Find a good install program. We prefer a C program (faster), 2741# Find a good install program. We prefer a C program (faster),
2731# so one script is as good as another. But avoid the broken or 2742# so one script is as good as another. But avoid the broken or
2732# incompatible versions: 2743# incompatible versions:
2733# SysV /etc/install, /usr/sbin/install 2744# SysV /etc/install, /usr/sbin/install
2734# SunOS /usr/etc/install 2745# SunOS /usr/etc/install
2823{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2834{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2824$as_echo_n "checking whether build environment is sane... " >&6; } 2835$as_echo_n "checking whether build environment is sane... " >&6; }
2825# Just in case 2836# Just in case
2826sleep 1 2837sleep 1
2827echo timestamp > conftest.file 2838echo timestamp > conftest.file
2839# Reject unsafe characters in $srcdir or the absolute working directory
2840# name. Accept space and tab only in the latter.
2841am_lf='
2842'
2843case `pwd` in
2844 *[\\\"\#\$\&\'\`$am_lf]*)
2845 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2846esac
2847case $srcdir in
2848 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2849 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2850esac
2851
2828# Do `set' in a subshell so we don't clobber the current shell's 2852# Do `set' in a subshell so we don't clobber the current shell's
2829# arguments. Must try -L first in case configure is actually a 2853# arguments. Must try -L first in case configure is actually a
2830# symlink; some systems play weird games with the mod time of symlinks 2854# symlink; some systems play weird games with the mod time of symlinks
2831# (eg FreeBSD returns the mod time of the symlink's containing 2855# (eg FreeBSD returns the mod time of the symlink's containing
2832# directory). 2856# directory).
2833if ( 2857if (
2834 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 2858 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2835 if test "$*" = "X"; then 2859 if test "$*" = "X"; then
2836 # -L didn't work. 2860 # -L didn't work.
2837 set X `ls -t $srcdir/configure conftest.file` 2861 set X `ls -t "$srcdir/configure" conftest.file`
2838 fi 2862 fi
2839 rm -f conftest.file 2863 rm -f conftest.file
2840 if test "$*" != "X $srcdir/configure conftest.file" \ 2864 if test "$*" != "X $srcdir/configure conftest.file" \
2841 && test "$*" != "X conftest.file $srcdir/configure"; then 2865 && test "$*" != "X conftest.file $srcdir/configure"; then
2842 2866
2867# Double any \ or $. 2891# Double any \ or $.
2868# By default was `s,x,x', remove it if useless. 2892# By default was `s,x,x', remove it if useless.
2869ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2893ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2870program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2894program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2871 2895
2872
2873# expand $ac_aux_dir to an absolute path 2896# expand $ac_aux_dir to an absolute path
2874am_aux_dir=`cd $ac_aux_dir && pwd` 2897am_aux_dir=`cd $ac_aux_dir && pwd`
2875 2898
2876test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 2899if test x"${MISSING+set}" != xset; then
2900 case $am_aux_dir in
2901 *\ * | *\ *)
2902 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2903 *)
2904 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2905 esac
2906fi
2877# Use eval to expand $SHELL 2907# Use eval to expand $SHELL
2878if eval "$MISSING --run true"; then 2908if eval "$MISSING --run true"; then
2879 am_missing_run="$MISSING --run " 2909 am_missing_run="$MISSING --run "
2880else 2910else
2881 am_missing_run= 2911 am_missing_run=
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 2912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2883$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2913$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2884fi 2914fi
2915
2916if test x"${install_sh}" != xset; then
2917 case $am_aux_dir in
2918 *\ * | *\ *)
2919 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2920 *)
2921 install_sh="\${SHELL} $am_aux_dir/install-sh"
2922 esac
2923fi
2924
2925# Installed binaries are usually stripped using `strip' when the user
2926# run `make install-strip'. However `strip' might not be the right
2927# tool to use in cross-compilation environments, therefore Automake
2928# will honor the `STRIP' environment variable to overrule this program.
2929if test "$cross_compiling" != no; then
2930 if test -n "$ac_tool_prefix"; then
2931 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2932set dummy ${ac_tool_prefix}strip; ac_word=$2
2933{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2934$as_echo_n "checking for $ac_word... " >&6; }
2935if test "${ac_cv_prog_STRIP+set}" = set; then :
2936 $as_echo_n "(cached) " >&6
2937else
2938 if test -n "$STRIP"; then
2939 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2940else
2941as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2942for as_dir in $PATH
2943do
2944 IFS=$as_save_IFS
2945 test -z "$as_dir" && as_dir=.
2946 for ac_exec_ext in '' $ac_executable_extensions; do
2947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2948 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2950 break 2
2951 fi
2952done
2953 done
2954IFS=$as_save_IFS
2955
2956fi
2957fi
2958STRIP=$ac_cv_prog_STRIP
2959if test -n "$STRIP"; then
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2961$as_echo "$STRIP" >&6; }
2962else
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2964$as_echo "no" >&6; }
2965fi
2966
2967
2968fi
2969if test -z "$ac_cv_prog_STRIP"; then
2970 ac_ct_STRIP=$STRIP
2971 # Extract the first word of "strip", so it can be a program name with args.
2972set dummy strip; ac_word=$2
2973{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2974$as_echo_n "checking for $ac_word... " >&6; }
2975if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2976 $as_echo_n "(cached) " >&6
2977else
2978 if test -n "$ac_ct_STRIP"; then
2979 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2980else
2981as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2982for as_dir in $PATH
2983do
2984 IFS=$as_save_IFS
2985 test -z "$as_dir" && as_dir=.
2986 for ac_exec_ext in '' $ac_executable_extensions; do
2987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2988 ac_cv_prog_ac_ct_STRIP="strip"
2989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2990 break 2
2991 fi
2992done
2993 done
2994IFS=$as_save_IFS
2995
2996fi
2997fi
2998ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2999if test -n "$ac_ct_STRIP"; then
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3001$as_echo "$ac_ct_STRIP" >&6; }
3002else
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3004$as_echo "no" >&6; }
3005fi
3006
3007 if test "x$ac_ct_STRIP" = x; then
3008 STRIP=":"
3009 else
3010 case $cross_compiling:$ac_tool_warned in
3011yes:)
3012{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3013$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3014ac_tool_warned=yes ;;
3015esac
3016 STRIP=$ac_ct_STRIP
3017 fi
3018else
3019 STRIP="$ac_cv_prog_STRIP"
3020fi
3021
3022fi
3023INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3024
3025{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3026$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3027if test -z "$MKDIR_P"; then
3028 if test "${ac_cv_path_mkdir+set}" = set; then :
3029 $as_echo_n "(cached) " >&6
3030else
3031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3032for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3033do
3034 IFS=$as_save_IFS
3035 test -z "$as_dir" && as_dir=.
3036 for ac_prog in mkdir gmkdir; do
3037 for ac_exec_ext in '' $ac_executable_extensions; do
3038 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3039 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3040 'mkdir (GNU coreutils) '* | \
3041 'mkdir (coreutils) '* | \
3042 'mkdir (fileutils) '4.1*)
3043 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3044 break 3;;
3045 esac
3046 done
3047 done
3048 done
3049IFS=$as_save_IFS
3050
3051fi
3052
3053 test -d ./--version && rmdir ./--version
3054 if test "${ac_cv_path_mkdir+set}" = set; then
3055 MKDIR_P="$ac_cv_path_mkdir -p"
3056 else
3057 # As a last resort, use the slow shell script. Don't cache a
3058 # value for MKDIR_P within a source directory, because that will
3059 # break other packages using the cache if that directory is
3060 # removed, or if the value is a relative name.
3061 MKDIR_P="$ac_install_sh -d"
3062 fi
3063fi
3064{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3065$as_echo "$MKDIR_P" >&6; }
3066
3067mkdir_p="$MKDIR_P"
3068case $mkdir_p in
3069 [\\/$]* | ?:[\\/]*) ;;
3070 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3071esac
2885 3072
2886for ac_prog in gawk mawk nawk awk 3073for ac_prog in gawk mawk nawk awk
2887do 3074do
2888 # Extract the first word of "$ac_prog", so it can be a program name with args. 3075 # Extract the first word of "$ac_prog", so it can be a program name with args.
2889set dummy $ac_prog; ac_word=$2 3076set dummy $ac_prog; ac_word=$2
2963else 3150else
2964 am__leading_dot=_ 3151 am__leading_dot=_
2965fi 3152fi
2966rmdir .tst 2>/dev/null 3153rmdir .tst 2>/dev/null
2967 3154
3155if test "`cd $srcdir && pwd`" != "`pwd`"; then
3156 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3157 # is not polluted with repeated "-I."
3158 am__isrc=' -I$(srcdir)'
2968 # test to see if srcdir already configured 3159 # test to see if srcdir already configured
2969if test "`cd $srcdir && pwd`" != "`pwd`" &&
2970 test -f $srcdir/config.status; then 3160 if test -f $srcdir/config.status; then
2971 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 3161 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3162 fi
2972fi 3163fi
2973 3164
2974# test whether we have cygpath 3165# test whether we have cygpath
2975if test -z "$CYGPATH_W"; then 3166if test -z "$CYGPATH_W"; then
2976 if (cygpath --version) >/dev/null 2>/dev/null; then 3167 if (cygpath --version) >/dev/null 2>/dev/null; then
3009AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 3200AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3010 3201
3011 3202
3012MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 3203MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3013 3204
3014
3015AMTAR=${AMTAR-"${am_missing_run}tar"}
3016
3017install_sh=${install_sh-"$am_aux_dir/install-sh"}
3018
3019# Installed binaries are usually stripped using `strip' when the user
3020# run `make install-strip'. However `strip' might not be the right
3021# tool to use in cross-compilation environments, therefore Automake
3022# will honor the `STRIP' environment variable to overrule this program.
3023if test "$cross_compiling" != no; then
3024 if test -n "$ac_tool_prefix"; then
3025 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3026set dummy ${ac_tool_prefix}strip; ac_word=$2
3027{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3028$as_echo_n "checking for $ac_word... " >&6; }
3029if test "${ac_cv_prog_STRIP+set}" = set; then :
3030 $as_echo_n "(cached) " >&6
3031else
3032 if test -n "$STRIP"; then
3033 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3034else
3035as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3036for as_dir in $PATH
3037do
3038 IFS=$as_save_IFS
3039 test -z "$as_dir" && as_dir=.
3040 for ac_exec_ext in '' $ac_executable_extensions; do
3041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3042 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3044 break 2
3045 fi
3046done
3047 done
3048IFS=$as_save_IFS
3049
3050fi
3051fi
3052STRIP=$ac_cv_prog_STRIP
3053if test -n "$STRIP"; then
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3055$as_echo "$STRIP" >&6; }
3056else
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3058$as_echo "no" >&6; }
3059fi
3060
3061
3062fi
3063if test -z "$ac_cv_prog_STRIP"; then
3064 ac_ct_STRIP=$STRIP
3065 # Extract the first word of "strip", so it can be a program name with args.
3066set dummy strip; ac_word=$2
3067{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3068$as_echo_n "checking for $ac_word... " >&6; }
3069if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3070 $as_echo_n "(cached) " >&6
3071else
3072 if test -n "$ac_ct_STRIP"; then
3073 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3074else
3075as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3076for as_dir in $PATH
3077do
3078 IFS=$as_save_IFS
3079 test -z "$as_dir" && as_dir=.
3080 for ac_exec_ext in '' $ac_executable_extensions; do
3081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3082 ac_cv_prog_ac_ct_STRIP="strip"
3083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3084 break 2
3085 fi
3086done
3087 done
3088IFS=$as_save_IFS
3089
3090fi
3091fi
3092ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3093if test -n "$ac_ct_STRIP"; then
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3095$as_echo "$ac_ct_STRIP" >&6; }
3096else
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3098$as_echo "no" >&6; }
3099fi
3100
3101 if test "x$ac_ct_STRIP" = x; then
3102 STRIP=":"
3103 else
3104 case $cross_compiling:$ac_tool_warned in
3105yes:)
3106{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3107$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3108ac_tool_warned=yes ;;
3109esac
3110 STRIP=$ac_ct_STRIP
3111 fi
3112else
3113 STRIP="$ac_cv_prog_STRIP"
3114fi
3115
3116fi
3117INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
3118
3119# We need awk for the "check" target. The system "awk" is bad on 3205# We need awk for the "check" target. The system "awk" is bad on
3120# some platforms. 3206# some platforms.
3207# Always define AMTAR for backward compatibility.
3208
3209AMTAR=${AMTAR-"${am_missing_run}tar"}
3210
3211am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3212
3213
3121 3214
3122 3215
3123 3216
3124ac_config_headers="$ac_config_headers config.h" 3217ac_config_headers="$ac_config_headers config.h"
3218
3125 3219
3126{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 3220{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3127$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 3221$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3128 # Check whether --enable-maintainer-mode was given. 3222 # Check whether --enable-maintainer-mode was given.
3129if test "${enable_maintainer_mode+set}" = set; then : 3223if test "${enable_maintainer_mode+set}" = set; then :
3132 USE_MAINTAINER_MODE=no 3226 USE_MAINTAINER_MODE=no
3133fi 3227fi
3134 3228
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3136$as_echo "$USE_MAINTAINER_MODE" >&6; } 3230$as_echo "$USE_MAINTAINER_MODE" >&6; }
3137
3138
3139if test $USE_MAINTAINER_MODE = yes; then 3231 if test $USE_MAINTAINER_MODE = yes; then
3140 MAINTAINER_MODE_TRUE= 3232 MAINTAINER_MODE_TRUE=
3141 MAINTAINER_MODE_FALSE='#' 3233 MAINTAINER_MODE_FALSE='#'
3142else 3234else
3143 MAINTAINER_MODE_TRUE='#' 3235 MAINTAINER_MODE_TRUE='#'
3144 MAINTAINER_MODE_FALSE= 3236 MAINTAINER_MODE_FALSE=
3375 3467
3376 3468
3377am_make=${MAKE-make} 3469am_make=${MAKE-make}
3378cat > confinc << 'END' 3470cat > confinc << 'END'
3379am__doit: 3471am__doit:
3380 @echo done 3472 @echo this is the am__doit target
3381.PHONY: am__doit 3473.PHONY: am__doit
3382END 3474END
3383# If we don't find an include directive, just comment out the code. 3475# If we don't find an include directive, just comment out the code.
3384{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3476{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3385$as_echo_n "checking for style of include used by $am_make... " >&6; } 3477$as_echo_n "checking for style of include used by $am_make... " >&6; }
3386am__include="#" 3478am__include="#"
3387am__quote= 3479am__quote=
3388_am_result=none 3480_am_result=none
3389# First try GNU make style include. 3481# First try GNU make style include.
3390echo "include confinc" > confmf 3482echo "include confinc" > confmf
3391# We grep out `Entering directory' and `Leaving directory' 3483# Ignore all kinds of additional output from `make'.
3392# messages which can occur if `w' ends up in MAKEFLAGS. 3484case `$am_make -s -f confmf 2> /dev/null` in #(
3393# In particular we don't look at `^make:' because GNU make might 3485*the\ am__doit\ target*)
3394# be invoked under some other name (usually "gmake"), in which
3395# case it prints its new name instead of `make'.
3396if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3397 am__include=include 3486 am__include=include
3398 am__quote= 3487 am__quote=
3399 _am_result=GNU 3488 _am_result=GNU
3400fi 3489 ;;
3490esac
3401# Now try BSD make style include. 3491# Now try BSD make style include.
3402if test "$am__include" = "#"; then 3492if test "$am__include" = "#"; then
3403 echo '.include "confinc"' > confmf 3493 echo '.include "confinc"' > confmf
3404 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 3494 case `$am_make -s -f confmf 2> /dev/null` in #(
3495 *the\ am__doit\ target*)
3405 am__include=.include 3496 am__include=.include
3406 am__quote="\"" 3497 am__quote="\""
3407 _am_result=BSD 3498 _am_result=BSD
3408 fi 3499 ;;
3500 esac
3409fi 3501fi
3410 3502
3411 3503
3412{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3504{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3413$as_echo "$_am_result" >&6; } 3505$as_echo "$_am_result" >&6; }
3420 3512
3421if test "x$enable_dependency_tracking" != xno; then 3513if test "x$enable_dependency_tracking" != xno; then
3422 am_depcomp="$ac_aux_dir/depcomp" 3514 am_depcomp="$ac_aux_dir/depcomp"
3423 AMDEPBACKSLASH='\' 3515 AMDEPBACKSLASH='\'
3424fi 3516fi
3425
3426
3427if test "x$enable_dependency_tracking" != xno; then 3517 if test "x$enable_dependency_tracking" != xno; then
3428 AMDEP_TRUE= 3518 AMDEP_TRUE=
3429 AMDEP_FALSE='#' 3519 AMDEP_FALSE='#'
3430else 3520else
3431 AMDEP_TRUE='#' 3521 AMDEP_TRUE='#'
3432 AMDEP_FALSE= 3522 AMDEP_FALSE=
3433fi 3523fi
3434
3435 3524
3436 3525
3437ac_ext=c 3526ac_ext=c
3438ac_cpp='$CPP $CPPFLAGS' 3527ac_cpp='$CPP $CPPFLAGS'
3439ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3528ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4252 4341
4253 am_cv_CC_dependencies_compiler_type=none 4342 am_cv_CC_dependencies_compiler_type=none
4254 if test "$am_compiler_list" = ""; then 4343 if test "$am_compiler_list" = ""; then
4255 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4344 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4256 fi 4345 fi
4346 am__universal=false
4347 case " $depcc " in #(
4348 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4349 esac
4350
4257 for depmode in $am_compiler_list; do 4351 for depmode in $am_compiler_list; do
4258 # Setup a source with many dependencies, because some compilers 4352 # Setup a source with many dependencies, because some compilers
4259 # like to wrap large dependency lists on column 80 (with \), and 4353 # like to wrap large dependency lists on column 80 (with \), and
4260 # we should not choose a depcomp mode which is confused by this. 4354 # we should not choose a depcomp mode which is confused by this.
4261 # 4355 #
4263 # overwrite some of them when testing with obscure command lines. 4357 # overwrite some of them when testing with obscure command lines.
4264 # This happens at least with the AIX C compiler. 4358 # This happens at least with the AIX C compiler.
4265 : > sub/conftest.c 4359 : > sub/conftest.c
4266 for i in 1 2 3 4 5 6; do 4360 for i in 1 2 3 4 5 6; do
4267 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4361 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4362 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4363 # Solaris 8's {/usr,}/bin/sh.
4268 : > sub/conftst$i.h 4364 touch sub/conftst$i.h
4269 done 4365 done
4270 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4366 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4271 4367
4368 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4369 # mode. It turns out that the SunPro C++ compiler does not properly
4370 # handle `-M -o', and we need to detect this. Also, some Intel
4371 # versions had trouble with output in subdirs
4372 am__obj=sub/conftest.${OBJEXT-o}
4373 am__minus_obj="-o $am__obj"
4272 case $depmode in 4374 case $depmode in
4375 gcc)
4376 # This depmode causes a compiler race in universal mode.
4377 test "$am__universal" = false || continue
4378 ;;
4273 nosideeffect) 4379 nosideeffect)
4274 # after this tag, mechanisms are not by side-effect, so they'll 4380 # after this tag, mechanisms are not by side-effect, so they'll
4275 # only be used when explicitly requested 4381 # only be used when explicitly requested
4276 if test "x$enable_dependency_tracking" = xyes; then 4382 if test "x$enable_dependency_tracking" = xyes; then
4277 continue 4383 continue
4278 else 4384 else
4279 break 4385 break
4280 fi 4386 fi
4281 ;; 4387 ;;
4388 msvisualcpp | msvcmsys)
4389 # This compiler won't grok `-c -o', but also, the minuso test has
4390 # not run yet. These depmodes are late enough in the game, and
4391 # so weak that their functioning should not be impacted.
4392 am__obj=conftest.${OBJEXT-o}
4393 am__minus_obj=
4394 ;;
4282 none) break ;; 4395 none) break ;;
4283 esac 4396 esac
4284 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4285 # mode. It turns out that the SunPro C++ compiler does not properly
4286 # handle `-M -o', and we need to detect this.
4287 if depmode=$depmode \ 4397 if depmode=$depmode \
4288 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 4398 source=sub/conftest.c object=$am__obj \
4289 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4399 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4290 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 4400 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4291 >/dev/null 2>conftest.err && 4401 >/dev/null 2>conftest.err &&
4402 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4292 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4403 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4293 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 4404 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4294 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4405 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4295 # icc doesn't choke on unknown options, it will just issue warnings 4406 # icc doesn't choke on unknown options, it will just issue warnings
4296 # (even with -Werror). So we grep stderr for any message 4407 # or remarks (even with -Werror). So we grep stderr for any message
4297 # that says an option was ignored. 4408 # that says an option was ignored or not supported.
4409 # When given -MP, icc 7.0 and 7.1 complain thusly:
4410 # icc: Command line warning: ignoring option '-M'; no argument required
4411 # The diagnosis changed in icc 8.0:
4412 # icc: Command line remark: option '-MP' not supported
4413 if (grep 'ignoring option' conftest.err ||
4298 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else 4414 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4299 am_cv_CC_dependencies_compiler_type=$depmode 4415 am_cv_CC_dependencies_compiler_type=$depmode
4300 break 4416 break
4301 fi 4417 fi
4302 fi 4418 fi
4303 done 4419 done
4311fi 4427fi
4312{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4428{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4313$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4429$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4314CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4430CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4315 4431
4316
4317
4318if 4432 if
4319 test "x$enable_dependency_tracking" != xno \ 4433 test "x$enable_dependency_tracking" != xno \
4320 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4434 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4321 am__fastdepCC_TRUE= 4435 am__fastdepCC_TRUE=
4322 am__fastdepCC_FALSE='#' 4436 am__fastdepCC_FALSE='#'
4323else 4437else
5976 6090
5977 am_cv_CXX_dependencies_compiler_type=none 6091 am_cv_CXX_dependencies_compiler_type=none
5978 if test "$am_compiler_list" = ""; then 6092 if test "$am_compiler_list" = ""; then
5979 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 6093 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5980 fi 6094 fi
6095 am__universal=false
6096 case " $depcc " in #(
6097 *\ -arch\ *\ -arch\ *) am__universal=true ;;
6098 esac
6099
5981 for depmode in $am_compiler_list; do 6100 for depmode in $am_compiler_list; do
5982 # Setup a source with many dependencies, because some compilers 6101 # Setup a source with many dependencies, because some compilers
5983 # like to wrap large dependency lists on column 80 (with \), and 6102 # like to wrap large dependency lists on column 80 (with \), and
5984 # we should not choose a depcomp mode which is confused by this. 6103 # we should not choose a depcomp mode which is confused by this.
5985 # 6104 #
5987 # overwrite some of them when testing with obscure command lines. 6106 # overwrite some of them when testing with obscure command lines.
5988 # This happens at least with the AIX C compiler. 6107 # This happens at least with the AIX C compiler.
5989 : > sub/conftest.c 6108 : > sub/conftest.c
5990 for i in 1 2 3 4 5 6; do 6109 for i in 1 2 3 4 5 6; do
5991 echo '#include "conftst'$i'.h"' >> sub/conftest.c 6110 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6111 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6112 # Solaris 8's {/usr,}/bin/sh.
5992 : > sub/conftst$i.h 6113 touch sub/conftst$i.h
5993 done 6114 done
5994 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 6115 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5995 6116
6117 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6118 # mode. It turns out that the SunPro C++ compiler does not properly
6119 # handle `-M -o', and we need to detect this. Also, some Intel
6120 # versions had trouble with output in subdirs
6121 am__obj=sub/conftest.${OBJEXT-o}
6122 am__minus_obj="-o $am__obj"
5996 case $depmode in 6123 case $depmode in
6124 gcc)
6125 # This depmode causes a compiler race in universal mode.
6126 test "$am__universal" = false || continue
6127 ;;
5997 nosideeffect) 6128 nosideeffect)
5998 # after this tag, mechanisms are not by side-effect, so they'll 6129 # after this tag, mechanisms are not by side-effect, so they'll
5999 # only be used when explicitly requested 6130 # only be used when explicitly requested
6000 if test "x$enable_dependency_tracking" = xyes; then 6131 if test "x$enable_dependency_tracking" = xyes; then
6001 continue 6132 continue
6002 else 6133 else
6003 break 6134 break
6004 fi 6135 fi
6005 ;; 6136 ;;
6137 msvisualcpp | msvcmsys)
6138 # This compiler won't grok `-c -o', but also, the minuso test has
6139 # not run yet. These depmodes are late enough in the game, and
6140 # so weak that their functioning should not be impacted.
6141 am__obj=conftest.${OBJEXT-o}
6142 am__minus_obj=
6143 ;;
6006 none) break ;; 6144 none) break ;;
6007 esac 6145 esac
6008 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6009 # mode. It turns out that the SunPro C++ compiler does not properly
6010 # handle `-M -o', and we need to detect this.
6011 if depmode=$depmode \ 6146 if depmode=$depmode \
6012 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 6147 source=sub/conftest.c object=$am__obj \
6013 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 6148 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6014 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 6149 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6015 >/dev/null 2>conftest.err && 6150 >/dev/null 2>conftest.err &&
6151 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6016 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 6152 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6017 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 6153 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6018 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 6154 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6019 # icc doesn't choke on unknown options, it will just issue warnings 6155 # icc doesn't choke on unknown options, it will just issue warnings
6020 # (even with -Werror). So we grep stderr for any message 6156 # or remarks (even with -Werror). So we grep stderr for any message
6021 # that says an option was ignored. 6157 # that says an option was ignored or not supported.
6158 # When given -MP, icc 7.0 and 7.1 complain thusly:
6159 # icc: Command line warning: ignoring option '-M'; no argument required
6160 # The diagnosis changed in icc 8.0:
6161 # icc: Command line remark: option '-MP' not supported
6162 if (grep 'ignoring option' conftest.err ||
6022 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else 6163 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6023 am_cv_CXX_dependencies_compiler_type=$depmode 6164 am_cv_CXX_dependencies_compiler_type=$depmode
6024 break 6165 break
6025 fi 6166 fi
6026 fi 6167 fi
6027 done 6168 done
6035fi 6176fi
6036{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 6177{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
6037$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } 6178$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6038CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 6179CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6039 6180
6040
6041
6042if 6181 if
6043 test "x$enable_dependency_tracking" != xno \ 6182 test "x$enable_dependency_tracking" != xno \
6044 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 6183 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6045 am__fastdepCXX_TRUE= 6184 am__fastdepCXX_TRUE=
6046 am__fastdepCXX_FALSE='#' 6185 am__fastdepCXX_FALSE='#'
6047else 6186else
7800 7939
7801fi 7940fi
7802done 7941done
7803 7942
7804 7943
7944if test -z "$LIBEV_M4_AVOID_LIBM"; then
7945 LIBM=m
7946fi
7805{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil in -lm" >&5 7947{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing floor" >&5
7806$as_echo_n "checking for ceil in -lm... " >&6; } 7948$as_echo_n "checking for library containing floor... " >&6; }
7807if test "${ac_cv_lib_m_ceil+set}" = set; then : 7949if test "${ac_cv_search_floor+set}" = set; then :
7808 $as_echo_n "(cached) " >&6 7950 $as_echo_n "(cached) " >&6
7809else 7951else
7810 ac_check_lib_save_LIBS=$LIBS 7952 ac_func_search_save_LIBS=$LIBS
7811LIBS="-lm $LIBS"
7812cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7953cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7813/* end confdefs.h. */ 7954/* end confdefs.h. */
7814 7955
7815/* Override any GCC internal prototype to avoid an error. 7956/* Override any GCC internal prototype to avoid an error.
7816 Use char because int might match the return type of a GCC 7957 Use char because int might match the return type of a GCC
7817 builtin and then its argument prototype would still apply. */ 7958 builtin and then its argument prototype would still apply. */
7818#ifdef __cplusplus 7959#ifdef __cplusplus
7819extern "C" 7960extern "C"
7820#endif 7961#endif
7821char ceil (); 7962char floor ();
7822int 7963int
7823main () 7964main ()
7824{ 7965{
7825return ceil (); 7966return floor ();
7826 ; 7967 ;
7827 return 0; 7968 return 0;
7828} 7969}
7829_ACEOF 7970_ACEOF
7971for ac_lib in '' $LIBM; do
7972 if test -z "$ac_lib"; then
7973 ac_res="none required"
7974 else
7975 ac_res=-l$ac_lib
7976 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
7977 fi
7830if ac_fn_c_try_link "$LINENO"; then : 7978 if ac_fn_c_try_link "$LINENO"; then :
7831 ac_cv_lib_m_ceil=yes 7979 ac_cv_search_floor=$ac_res
7832else
7833 ac_cv_lib_m_ceil=no
7834fi 7980fi
7835rm -f core conftest.err conftest.$ac_objext \ 7981rm -f core conftest.err conftest.$ac_objext \
7836 conftest$ac_exeext conftest.$ac_ext 7982 conftest$ac_exeext
7837LIBS=$ac_check_lib_save_LIBS 7983 if test "${ac_cv_search_floor+set}" = set; then :
7984 break
7838fi 7985fi
7986done
7987if test "${ac_cv_search_floor+set}" = set; then :
7988
7989else
7990 ac_cv_search_floor=no
7991fi
7992rm conftest.$ac_ext
7993LIBS=$ac_func_search_save_LIBS
7994fi
7839{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceil" >&5 7995{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_floor" >&5
7840$as_echo "$ac_cv_lib_m_ceil" >&6; } 7996$as_echo "$ac_cv_search_floor" >&6; }
7841if test "x$ac_cv_lib_m_ceil" = x""yes; then : 7997ac_res=$ac_cv_search_floor
7842 cat >>confdefs.h <<_ACEOF 7998if test "$ac_res" != no; then :
7843#define HAVE_LIBM 1 7999 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
7844_ACEOF
7845 8000
7846 LIBS="-lm $LIBS" 8001$as_echo "#define HAVE_FLOOR 1" >>confdefs.h
7847 8002
7848fi 8003fi
7849 8004
7850 8005
7851 8006
8051done 8206done
8052 8207
8053 8208
8054 CPPFLAGS="$tinc_ac_save_CPPFLAGS" 8209 CPPFLAGS="$tinc_ac_save_CPPFLAGS"
8055 8210
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA1_version in -lcrypto" >&5 8211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA1_Init in -lcrypto" >&5
8057$as_echo_n "checking for SHA1_version in -lcrypto... " >&6; } 8212$as_echo_n "checking for SHA1_Init in -lcrypto... " >&6; }
8058if test "${ac_cv_lib_crypto_SHA1_version+set}" = set; then : 8213if test "${ac_cv_lib_crypto_SHA1_Init+set}" = set; then :
8059 $as_echo_n "(cached) " >&6 8214 $as_echo_n "(cached) " >&6
8060else 8215else
8061 ac_check_lib_save_LIBS=$LIBS 8216 ac_check_lib_save_LIBS=$LIBS
8062LIBS="-lcrypto $LIBS" 8217LIBS="-lcrypto $LIBS"
8063cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8218cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8067 Use char because int might match the return type of a GCC 8222 Use char because int might match the return type of a GCC
8068 builtin and then its argument prototype would still apply. */ 8223 builtin and then its argument prototype would still apply. */
8069#ifdef __cplusplus 8224#ifdef __cplusplus
8070extern "C" 8225extern "C"
8071#endif 8226#endif
8072char SHA1_version (); 8227char SHA1_Init ();
8073int 8228int
8074main () 8229main ()
8075{ 8230{
8076return SHA1_version (); 8231return SHA1_Init ();
8077 ; 8232 ;
8078 return 0; 8233 return 0;
8079} 8234}
8080_ACEOF 8235_ACEOF
8081if ac_fn_cxx_try_link "$LINENO"; then : 8236if ac_fn_cxx_try_link "$LINENO"; then :
8082 ac_cv_lib_crypto_SHA1_version=yes 8237 ac_cv_lib_crypto_SHA1_Init=yes
8083else 8238else
8084 ac_cv_lib_crypto_SHA1_version=no 8239 ac_cv_lib_crypto_SHA1_Init=no
8085fi 8240fi
8086rm -f core conftest.err conftest.$ac_objext \ 8241rm -f core conftest.err conftest.$ac_objext \
8087 conftest$ac_exeext conftest.$ac_ext 8242 conftest$ac_exeext conftest.$ac_ext
8088LIBS=$ac_check_lib_save_LIBS 8243LIBS=$ac_check_lib_save_LIBS
8089fi 8244fi
8090{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA1_version" >&5 8245{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA1_Init" >&5
8091$as_echo "$ac_cv_lib_crypto_SHA1_version" >&6; } 8246$as_echo "$ac_cv_lib_crypto_SHA1_Init" >&6; }
8092if test "x$ac_cv_lib_crypto_SHA1_version" = x""yes; then : 8247if test "x$ac_cv_lib_crypto_SHA1_Init" = x""yes; then :
8093 LIBS="$LIBS -lcrypto" 8248 LIBS="$LIBS -lcrypto"
8094else 8249else
8095 as_fn_error $? "OpenSSL libraries not found." "$LINENO" 5 8250 as_fn_error $? "OpenSSL libraries not found." "$LINENO" 5
8096 8251
8097fi 8252fi
8159 8314
8160 8315
8161fi 8316fi
8162 8317
8163 8318
8319 ac_fn_cxx_check_func "$LINENO" "inflate" "ac_cv_func_inflate"
8320if test "x$ac_cv_func_inflate" = x""yes; then :
8321
8322else
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
8324$as_echo_n "checking for inflate in -lz... " >&6; }
8325if test "${ac_cv_lib_z_inflate+set}" = set; then :
8326 $as_echo_n "(cached) " >&6
8327else
8328 ac_check_lib_save_LIBS=$LIBS
8329LIBS="-lz $LIBS"
8330cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8331/* end confdefs.h. */
8332
8333/* Override any GCC internal prototype to avoid an error.
8334 Use char because int might match the return type of a GCC
8335 builtin and then its argument prototype would still apply. */
8336#ifdef __cplusplus
8337extern "C"
8338#endif
8339char inflate ();
8340int
8341main ()
8342{
8343return inflate ();
8344 ;
8345 return 0;
8346}
8347_ACEOF
8348if ac_fn_cxx_try_link "$LINENO"; then :
8349 ac_cv_lib_z_inflate=yes
8350else
8351 ac_cv_lib_z_inflate=no
8352fi
8353rm -f core conftest.err conftest.$ac_objext \
8354 conftest$ac_exeext conftest.$ac_ext
8355LIBS=$ac_check_lib_save_LIBS
8356fi
8357{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
8358$as_echo "$ac_cv_lib_z_inflate" >&6; }
8359if test "x$ac_cv_lib_z_inflate" = x""yes; then :
8360 LIBS="$LIBS -lz"
8361else
8362 as_fn_error $? "OpenSSL depends on libz." "$LINENO" 5
8363
8364fi
8365
8366
8367fi
8368
8369
8164if test "x$openssl_include" != x; then 8370if test "x$openssl_include" != x; then
8165 CXXFLAGS="$CXXFLAGS -I$openssl_include" 8371 CXXFLAGS="$CXXFLAGS -I$openssl_include"
8372fi
8373
8374# Check whether --enable-threads was given.
8375if test "${enable_threads+set}" = set; then :
8376 enableval=$enable_threads; try_threads=$enableval
8377else
8378 try_threads=yes
8379
8380fi
8381
8382
8383if test "x$try_threads" = xyes; then
8384 ac_fn_cxx_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8385if test "x$ac_cv_header_pthread_h" = x""yes; then :
8386
8387 LIBS="$LIBS -lpthread"
8388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8389/* end confdefs.h. */
8390#include <pthread.h>
8391int
8392main ()
8393{
8394pthread_t id; pthread_create (&id, 0, 0, 0);
8395 ;
8396 return 0;
8397}
8398_ACEOF
8399if ac_fn_cxx_try_compile "$LINENO"; then :
8400
8401cat >>confdefs.h <<_ACEOF
8402#define ENABLE_PTHREADS 1
8403_ACEOF
8404
8405
8406fi
8407rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8408
8409fi
8410
8411
8166fi 8412fi
8167 8413
8168# Check whether --enable-static-daemon was given. 8414# Check whether --enable-static-daemon was given.
8169if test "${enable_static_daemon+set}" = set; then : 8415if test "${enable_static_daemon+set}" = set; then :
8170 enableval=$enable_static_daemon; LDFLAGS_DAEMON=-static 8416 enableval=$enable_static_daemon; LDFLAGS_DAEMON=-static
8172fi 8418fi
8173 8419
8174 8420
8175 8421
8176 8422
8177
8178
8179if test x$rohc = xtrue; then 8423 if test x$rohc = xtrue; then
8180 ROHC_TRUE= 8424 ROHC_TRUE=
8181 ROHC_FALSE='#' 8425 ROHC_FALSE='#'
8182else 8426else
8183 ROHC_TRUE='#' 8427 ROHC_TRUE='#'
8184 ROHC_FALSE= 8428 ROHC_FALSE=
8498done 8742done
8499LIBOBJS=$ac_libobjs 8743LIBOBJS=$ac_libobjs
8500 8744
8501LTLIBOBJS=$ac_ltlibobjs 8745LTLIBOBJS=$ac_ltlibobjs
8502 8746
8747
8748 if test -n "$EXEEXT"; then
8749 am__EXEEXT_TRUE=
8750 am__EXEEXT_FALSE='#'
8751else
8752 am__EXEEXT_TRUE='#'
8753 am__EXEEXT_FALSE=
8754fi
8503 8755
8504if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 8756if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
8505 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 8757 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
8506Usually this means the macro was only invoked conditionally." "$LINENO" 5 8758Usually this means the macro was only invoked conditionally." "$LINENO" 5
8507fi 8759fi
9004gives unlimited permission to copy, distribute and modify it." 9256gives unlimited permission to copy, distribute and modify it."
9005 9257
9006ac_pwd='$ac_pwd' 9258ac_pwd='$ac_pwd'
9007srcdir='$srcdir' 9259srcdir='$srcdir'
9008INSTALL='$INSTALL' 9260INSTALL='$INSTALL'
9261MKDIR_P='$MKDIR_P'
9009AWK='$AWK' 9262AWK='$AWK'
9010test -n "\$AWK" || AWK=awk 9263test -n "\$AWK" || AWK=awk
9011_ACEOF 9264_ACEOF
9012 9265
9013cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9266cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9583 9836
9584 case $INSTALL in 9837 case $INSTALL in
9585 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 9838 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9586 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 9839 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
9587 esac 9840 esac
9841 ac_MKDIR_P=$MKDIR_P
9842 case $MKDIR_P in
9843 [\\/$]* | ?:[\\/]* ) ;;
9844 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
9845 esac
9588_ACEOF 9846_ACEOF
9589 9847
9590cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9848cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9591# If the template does not know about datarootdir, expand it. 9849# If the template does not know about datarootdir, expand it.
9592# FIXME: This hack should be removed a few years after 2.60. 9850# FIXME: This hack should be removed a few years after 2.60.
9637s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 9895s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
9638s&@builddir@&$ac_builddir&;t t 9896s&@builddir@&$ac_builddir&;t t
9639s&@abs_builddir@&$ac_abs_builddir&;t t 9897s&@abs_builddir@&$ac_abs_builddir&;t t
9640s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 9898s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9641s&@INSTALL@&$ac_INSTALL&;t t 9899s&@INSTALL@&$ac_INSTALL&;t t
9900s&@MKDIR_P@&$ac_MKDIR_P&;t t
9642$ac_datarootdir_hack 9901$ac_datarootdir_hack
9643" 9902"
9644eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 9903eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
9645 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9904 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9646 9905
9681 $as_echo "/* $configure_input */" \ 9940 $as_echo "/* $configure_input */" \
9682 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 9941 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
9683 || as_fn_error $? "could not create -" "$LINENO" 5 9942 || as_fn_error $? "could not create -" "$LINENO" 5
9684 fi 9943 fi
9685# Compute "$ac_file"'s index in $config_headers. 9944# Compute "$ac_file"'s index in $config_headers.
9945_am_arg="$ac_file"
9686_am_stamp_count=1 9946_am_stamp_count=1
9687for _am_header in $config_headers :; do 9947for _am_header in $config_headers :; do
9688 case $_am_header in 9948 case $_am_header in
9689 "$ac_file" | "$ac_file":* ) 9949 $_am_arg | $_am_arg:* )
9690 break ;; 9950 break ;;
9691 * ) 9951 * )
9692 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 9952 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
9693 esac 9953 esac
9694done 9954done
9695echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" || 9955echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
9696$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9956$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9697 X"$ac_file" : 'X\(//\)[^/]' \| \ 9957 X"$_am_arg" : 'X\(//\)[^/]' \| \
9698 X"$ac_file" : 'X\(//\)$' \| \ 9958 X"$_am_arg" : 'X\(//\)$' \| \
9699 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 9959 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
9700$as_echo X"$ac_file" | 9960$as_echo X"$_am_arg" |
9701 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9961 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9702 s//\1/ 9962 s//\1/
9703 q 9963 q
9704 } 9964 }
9705 /^X\(\/\/\)[^/].*/{ 9965 /^X\(\/\/\)[^/].*/{
9818 done 10078 done
9819 fi 10079 fi
9820 ;; 10080 ;;
9821 esac 10081 esac
9822 done ;; 10082 done ;;
9823 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do 10083 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
10084 # Autoconf 2.62 quotes --file arguments for eval, but not when files
10085 # are listed without --file. Let's play safe and only enable the eval
10086 # if we detect the quoting.
10087 case $CONFIG_FILES in
10088 *\'*) eval set x "$CONFIG_FILES" ;;
10089 *) set x $CONFIG_FILES ;;
10090 esac
10091 shift
10092 for mf
10093 do
9824 # Strip MF so we end up with the name of the file. 10094 # Strip MF so we end up with the name of the file.
9825 mf=`echo "$mf" | sed -e 's/:.*$//'` 10095 mf=`echo "$mf" | sed -e 's/:.*$//'`
9826 # Check whether this is an Automake generated Makefile or not. 10096 # Check whether this is an Automake generated Makefile or not.
9827 # We used to match only the files named `Makefile.in', but 10097 # We used to match only the files named `Makefile.in', but
9828 # some people rename them; so instead we look at the file content. 10098 # some people rename them; so instead we look at the file content.
9829 # Grep'ing the first line is not enough: some people post-process 10099 # Grep'ing the first line is not enough: some people post-process
9830 # each Makefile.in and add a new line on top of each file to say so. 10100 # each Makefile.in and add a new line on top of each file to say so.
9831 # So let's grep whole file. 10101 # Grep'ing the whole file is not good either: AIX grep has a line
10102 # limit of 2048, but all sed's we know have understand at least 4000.
9832 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then 10103 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
9833 dirpart=`$as_dirname -- "$mf" || 10104 dirpart=`$as_dirname -- "$mf" ||
9834$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10105$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9835 X"$mf" : 'X\(//\)[^/]' \| \ 10106 X"$mf" : 'X\(//\)[^/]' \| \
9836 X"$mf" : 'X\(//\)$' \| \ 10107 X"$mf" : 'X\(//\)$' \| \
9837 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 10108 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
9838$as_echo X"$mf" | 10109$as_echo X"$mf" |
9851 /^X\(\/\).*/{ 10122 /^X\(\/\).*/{
9852 s//\1/ 10123 s//\1/
9853 q 10124 q
9854 } 10125 }
9855 s/.*/./; q'` 10126 s/.*/./; q'`
9856 else 10127 else
9857 continue 10128 continue
9858 fi 10129 fi
9859 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue 10130 # Extract the definition of DEPDIR, am__include, and am__quote
9860 # Extract the definition of DEP_FILES from the Makefile without 10131 # from the Makefile without running `make'.
9861 # running `make'.
9862 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` 10132 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
9863 test -z "$DEPDIR" && continue 10133 test -z "$DEPDIR" && continue
10134 am__include=`sed -n 's/^am__include = //p' < "$mf"`
10135 test -z "am__include" && continue
10136 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
9864 # When using ansi2knr, U may be empty or an underscore; expand it 10137 # When using ansi2knr, U may be empty or an underscore; expand it
9865 U=`sed -n -e '/^U = / s///p' < "$mf"` 10138 U=`sed -n 's/^U = //p' < "$mf"`
9866 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" 10139 # Find all dependency output files, they are included files with
9867 # We invoke sed twice because it is the simplest approach to 10140 # $(DEPDIR) in their names. We invoke sed twice because it is the
9868 # changing $(DEPDIR) to its actual value in the expansion. 10141 # simplest approach to changing $(DEPDIR) to its actual value in the
10142 # expansion.
9869 for file in `sed -n -e ' 10143 for file in `sed -n "
9870 /^DEP_FILES = .*\\\\$/ { 10144 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9871 s/^DEP_FILES = //
9872 :loop
9873 s/\\\\$//
9874 p
9875 n
9876 /\\\\$/ b loop
9877 p
9878 }
9879 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
9880 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 10145 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9881 # Make sure the directory exists. 10146 # Make sure the directory exists.
9882 test -f "$dirpart/$file" && continue 10147 test -f "$dirpart/$file" && continue
9883 fdir=`$as_dirname -- "$file" || 10148 fdir=`$as_dirname -- "$file" ||
9884$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10149$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9885 X"$file" : 'X\(//\)[^/]' \| \ 10150 X"$file" : 'X\(//\)[^/]' \| \
9886 X"$file" : 'X\(//\)$' \| \ 10151 X"$file" : 'X\(//\)$' \| \
9887 X"$file" : 'X\(/\)' \| . 2>/dev/null || 10152 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
9888$as_echo X"$file" | 10153$as_echo X"$file" |
9901 /^X\(\/\).*/{ 10166 /^X\(\/\).*/{
9902 s//\1/ 10167 s//\1/
9903 q 10168 q
9904 } 10169 }
9905 s/.*/./; q'` 10170 s/.*/./; q'`
9906 as_dir=$dirpart/$fdir; as_fn_mkdir_p 10171 as_dir=$dirpart/$fdir; as_fn_mkdir_p
9907 # echo "creating $dirpart/$file" 10172 # echo "creating $dirpart/$file"
9908 echo '# dummy' > "$dirpart/$file" 10173 echo '# dummy' > "$dirpart/$file"
10174 done
9909 done 10175 done
9910done 10176}
9911 ;; 10177 ;;
9912 10178
9913 esac 10179 esac
9914done # for ac_tag 10180done # for ac_tag
9915 10181
9966if test "x$DIGEST" = xmd4; then 10232if test "x$DIGEST" = xmd4; then
9967echo "***" 10233echo "***"
9968echo "*** WARNING: The digest you have chosen ($DIGEST) is known to be insecure" 10234echo "*** WARNING: The digest you have chosen ($DIGEST) is known to be insecure"
9969fi 10235fi
9970 10236
10237if test "x$DIGEST" = xmd5; then
10238echo "***"
10239echo "*** WARNING: The digest you have chosen ($DIGEST) is probably insecure"
10240fi
10241
9971if test "$HMAC" -lt 12; then 10242if test "$HMAC" -lt 12; then
9972echo "***" 10243echo "***"
9973echo "*** WARNING: The hmac length you have chosen ($HMAC) is probably insecure" 10244echo "*** WARNING: The hmac length you have chosen ($HMAC) is probably insecure"
9974fi 10245fi
9975 10246

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines