diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 247 |
1 files changed, 236 insertions, 11 deletions
@@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.67 for radsecproxy 1.4.3. +# Generated by GNU Autoconf 2.67 for radsecproxy 1.5-dev. # # Report bugs to <radsecproxy@uninett.no>. # @@ -551,8 +551,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='radsecproxy' PACKAGE_TARNAME='radsecproxy' -PACKAGE_VERSION='1.4.3' -PACKAGE_STRING='radsecproxy 1.4.3' +PACKAGE_VERSION='1.5-dev' +PACKAGE_STRING='radsecproxy 1.5-dev' PACKAGE_BUGREPORT='radsecproxy@uninett.no' PACKAGE_URL='' @@ -568,6 +568,9 @@ TARGET_CFLAGS HAVE_DOCBOOK2X_MAN_FALSE HAVE_DOCBOOK2X_MAN_TRUE DOCBOOK2X_MAN +WANT_FTICKS_FALSE +WANT_FTICKS_TRUE +RANLIB am__fastdepCC_FALSE am__fastdepCC_TRUE CCDEPMODE @@ -665,6 +668,7 @@ enable_udp enable_tcp enable_tls enable_dtls +enable_fticks with_ssl ' ac_precious_vars='build_alias @@ -1218,7 +1222,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures radsecproxy 1.4.3 to adapt to many kinds of systems. +\`configure' configures radsecproxy 1.5-dev to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1289,7 +1293,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of radsecproxy 1.4.3:";; + short | recursive ) echo "Configuration of radsecproxy 1.5-dev:";; esac cat <<\_ACEOF @@ -1303,6 +1307,7 @@ Optional Features: --enable-tcp whether to enable TCP transport: yes/no; default yes --enable-tls whether to enable TLS (RadSec) transport: yes/no; default yes --enable-dtls whether to enable DTLS transport: yes/no; default yes + --enable-fticks build with F-Ticks support [default=no] Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] @@ -1386,7 +1391,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -radsecproxy configure 1.4.3 +radsecproxy configure 1.5-dev generated by GNU Autoconf 2.67 Copyright (C) 2010 Free Software Foundation, Inc. @@ -1437,11 +1442,57 @@ fi as_fn_set_status $ac_retval } # ac_fn_c_try_compile + +# ac_fn_c_try_link LINENO +# ----------------------- +# Try to link conftest.$ac_ext, and return whether this succeeded. +ac_fn_c_try_link () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + rm -f conftest.$ac_objext conftest$ac_exeext + if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + $as_test_x conftest$ac_exeext + }; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information + # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would + # interfere with the next link command; also delete a directory that is + # left behind by Apple's compiler. We do this before executing the actions. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + as_fn_set_status $ac_retval + +} # ac_fn_c_try_link cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by radsecproxy $as_me 1.4.3, which was +It was created by radsecproxy $as_me 1.5-dev, which was generated by GNU Autoconf 2.67. Invocation command line was $ $0 $@ @@ -2366,7 +2417,7 @@ fi # Define the identity of the package. PACKAGE='radsecproxy' - VERSION='1.4.3' + VERSION='1.5-dev' cat >>confdefs.h <<_ACEOF @@ -3511,6 +3562,98 @@ if test "$am_t" != yes; then fi +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. +set dummy ${ac_tool_prefix}ranlib; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_RANLIB+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$RANLIB"; then + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +RANLIB=$ac_cv_prog_RANLIB +if test -n "$RANLIB"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 +$as_echo "$RANLIB" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_RANLIB"; then + ac_ct_RANLIB=$RANLIB + # Extract the first word of "ranlib", so it can be a program name with args. +set dummy ranlib; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_RANLIB"; then + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_RANLIB="ranlib" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB +if test -n "$ac_ct_RANLIB"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 +$as_echo "$ac_ct_RANLIB" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_RANLIB" = x; then + RANLIB=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + RANLIB=$ac_ct_RANLIB + fi +else + RANLIB="$ac_cv_prog_RANLIB" +fi + udp=yes # Check whether --enable-udp was given. if test "${enable_udp+set}" = set; then : @@ -3563,6 +3706,83 @@ if test "${enable_dtls+set}" = set; then : fi +# Check whether --enable-fticks was given. +if test "${enable_fticks+set}" = set; then : + enableval=$enable_fticks; case $enableval in +yes|no) ;; +*) as_fn_error $? "bad value $enableval for --enable-fticks, need yes or no" "$LINENO" 5 ;; +esac +else + enable_fticks=no +fi + + +if test "$enable_fticks" = "yes"; then + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for nettle_sha256_init in -lnettle" >&5 +$as_echo_n "checking for nettle_sha256_init in -lnettle... " >&6; } +if test "${ac_cv_lib_nettle_nettle_sha256_init+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lnettle $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char nettle_sha256_init (); +int +main () +{ +return nettle_sha256_init (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_nettle_nettle_sha256_init=yes +else + ac_cv_lib_nettle_nettle_sha256_init=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nettle_nettle_sha256_init" >&5 +$as_echo "$ac_cv_lib_nettle_nettle_sha256_init" >&6; } +if test "x$ac_cv_lib_nettle_nettle_sha256_init" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBNETTLE 1 +_ACEOF + + LIBS="-lnettle $LIBS" + +else + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: required library nettle not found, fticks support disabled" >&5 +$as_echo "$as_me: WARNING: required library nettle not found, fticks support disabled" >&2;} + enable_fticks=no +fi + +fi + +if test "$enable_fticks" = "yes"; then +$as_echo "#define WANT_FTICKS 1" >>confdefs.h + +fi + if test "$enable_fticks" = "yes"; then + WANT_FTICKS_TRUE= + WANT_FTICKS_FALSE='#' +else + WANT_FTICKS_TRUE='#' + WANT_FTICKS_FALSE= +fi + + case "${target_os}" in solaris*) @@ -3696,7 +3916,7 @@ _ACEOF fi -ac_config_files="$ac_config_files Makefile" +ac_config_files="$ac_config_files Makefile tests/Makefile" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure @@ -3848,6 +4068,10 @@ if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then as_fn_error $? "conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi +if test -z "${WANT_FTICKS_TRUE}" && test -z "${WANT_FTICKS_FALSE}"; then + as_fn_error $? "conditional \"WANT_FTICKS\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi if test -z "${HAVE_DOCBOOK2X_MAN_TRUE}" && test -z "${HAVE_DOCBOOK2X_MAN_FALSE}"; then as_fn_error $? "conditional \"HAVE_DOCBOOK2X_MAN\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 @@ -4260,7 +4484,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by radsecproxy $as_me 1.4.3, which was +This file was extended by radsecproxy $as_me 1.5-dev, which was generated by GNU Autoconf 2.67. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -4317,7 +4541,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -radsecproxy config.status 1.4.3 +radsecproxy config.status 1.5-dev configured by $0, generated by GNU Autoconf 2.67, with options \\"\$ac_cs_config\\" @@ -4437,6 +4661,7 @@ do case $ac_config_target in "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; + "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; esac |