#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.67 for mech_eap 0.1.
+# Generated by GNU Autoconf 2.67 for mech_eap 0.9.
#
# Report bugs to <bugs@project-moonshot.org>.
#
# Identity of this package.
PACKAGE_NAME='mech_eap'
PACKAGE_TARNAME='mech_eap'
-PACKAGE_VERSION='0.1'
-PACKAGE_STRING='mech_eap 0.1'
+PACKAGE_VERSION='0.9'
+PACKAGE_STRING='mech_eap 0.9'
PACKAGE_BUGREPORT='bugs@project-moonshot.org'
PACKAGE_URL=''
RADSEC_LIBS
RADSEC_LDFLAGS
RADSEC_CFLAGS
+OPENSSL_LIBS
+OPENSSL_LDFLAGS
+OPENSSL_CFLAGS
SHIBSP_LIBS
SHIBSP_LDFLAGS
SHIBSP_CXXFLAGS
with_opensaml
with_shibresolver
with_shibsp
+with_openssl
with_radsec
with_jansson
with_libmoonshot
# 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 mech_eap 0.1 to adapt to many kinds of systems.
+\`configure' configures mech_eap 0.9 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of mech_eap 0.1:";;
+ short | recursive ) echo "Configuration of mech_eap 0.9:";;
esac
cat <<\_ACEOF
directory)
--with-shibsp Use shibspboleth (in specified installation
directory)
+ --with-openssl Use OpenSSL (in specified installation directory)
--with-radsec Use radsec (in specified installation directory)
--with-jansson Use jansson (in specified installation directory)
--with-libmoonshot Use libmoonshot (in specified installation
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-mech_eap configure 0.1
+mech_eap configure 0.9
generated by GNU Autoconf 2.67
Copyright (C) 2010 Free Software Foundation, Inc.
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by mech_eap $as_me 0.1, which was
+It was created by mech_eap $as_me 0.9, which was
generated by GNU Autoconf 2.67. Invocation command line was
$ $0 $@
# Define the identity of the package.
PACKAGE='mech_eap'
- VERSION='0.1'
+ VERSION='0.9'
cat >>confdefs.h <<_ACEOF
else
lt_cv_nm_interface="BSD nm"
echo "int some_variable = 0;" > conftest.$ac_ext
- (eval echo "\"\$as_me:5151: $ac_compile\"" >&5)
+ (eval echo "\"\$as_me:5156: $ac_compile\"" >&5)
(eval "$ac_compile" 2>conftest.err)
cat conftest.err >&5
- (eval echo "\"\$as_me:5154: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
+ (eval echo "\"\$as_me:5159: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
cat conftest.err >&5
- (eval echo "\"\$as_me:5157: output\"" >&5)
+ (eval echo "\"\$as_me:5162: output\"" >&5)
cat conftest.out >&5
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
lt_cv_nm_interface="MS dumpbin"
;;
*-*-irix6*)
# Find out which ABI we are using.
- echo '#line 6359 "configure"' > conftest.$ac_ext
+ echo '#line 6364 "configure"' > conftest.$ac_ext
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
(eval $ac_compile) 2>&5
ac_status=$?
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:7917: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:7922: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:7921: \$? = $ac_status" >&5
+ echo "$as_me:7926: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:8256: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:8261: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:8260: \$? = $ac_status" >&5
+ echo "$as_me:8265: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:8361: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:8366: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:8365: \$? = $ac_status" >&5
+ echo "$as_me:8370: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:8416: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:8421: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:8420: \$? = $ac_status" >&5
+ echo "$as_me:8425: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 10800 "configure"
+#line 10805 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 10896 "configure"
+#line 10901 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:13783: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:13788: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:13787: \$? = $ac_status" >&5
+ echo "$as_me:13792: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:13882: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:13887: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:13886: \$? = $ac_status" >&5
+ echo "$as_me:13891: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:13934: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:13939: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:13938: \$? = $ac_status" >&5
+ echo "$as_me:13943: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL" >&5
+$as_echo_n "checking for OpenSSL... " >&6; }
+OPENSSL_DIR=
+found_openssl="no"
+
+# Check whether --with-openssl was given.
+if test "${with_openssl+set}" = set; then :
+ withval=$with_openssl; check_openssl_dir="$withval"
+else
+ check_openssl_dir=
+fi
+
+for dir in $check_openssl_dir $prefix /usr /usr/local ; do
+ openssldir="$dir"
+ if test -f "$dir/include/openssl/opensslv.h"; then
+ found_openssl="yes";
+ OPENSSL_DIR="${openssldir}"
+ OPENSSL_CFLAGS="-I$openssldir/include";
+ break;
+ fi
+done
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_openssl" >&5
+$as_echo "$found_openssl" >&6; }
+if test x_$found_openssl != x_yes; then
+ as_fn_error $? "
+----------------------------------------------------------------------
+ Cannot find OpenSSL libraries.
+
+ Please install libssl or specify installation directory with
+ --with-openssl=(dir).
+----------------------------------------------------------------------
+" "$LINENO" 5
+else
+ printf "OpenSSL found in $openssldir\n";
+ OPENSSL_LIBS="-lssl -lcrypto";
+ OPENSSL_LDFLAGS="-L$openssldir/lib";
+
+
+
+fi
+
+
if test "x$acceptor" = "xyes" ; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for radsec" >&5
$as_echo_n "checking for radsec... " >&6; }
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by mech_eap $as_me 0.1, which was
+This file was extended by mech_eap $as_me 0.9, which was
generated by GNU Autoconf 2.67. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-mech_eap config.status 0.1
+mech_eap config.status 0.9
configured by $0, generated by GNU Autoconf 2.67,
with options \\"\$ac_cs_config\\"