#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for libmowgli-2 2.1.2.
+# Generated by GNU Autoconf 2.69 for libmowgli-2 2.1.3.
#
# Report bugs to <https://github.com/atheme/libmowgli-2>.
#
# Identity of this package.
PACKAGE_NAME='libmowgli-2'
PACKAGE_TARNAME='libmowgli-2'
-PACKAGE_VERSION='2.1.2'
-PACKAGE_STRING='libmowgli-2 2.1.2'
+PACKAGE_VERSION='2.1.3'
+PACKAGE_STRING='libmowgli-2 2.1.3'
PACKAGE_BUGREPORT='https://github.com/atheme/libmowgli-2'
PACKAGE_URL=''
# 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 libmowgli-2 2.1.2 to adapt to many kinds of systems.
+\`configure' configures libmowgli-2 2.1.3 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 libmowgli-2 2.1.2:";;
+ short | recursive ) echo "Configuration of libmowgli-2 2.1.3:";;
esac
cat <<\_ACEOF
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-libmowgli-2 configure 2.1.2
+libmowgli-2 configure 2.1.3
generated by GNU Autoconf 2.69
Copyright (C) 2012 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 libmowgli-2 $as_me 2.1.2, which was
+It was created by libmowgli-2 $as_me 2.1.3, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
found=false
skip=false
founddir=
+ ssldirs=
# Check whether --with-openssl was given.
if test "${with_openssl+set}" = set; then :
withval=$with_openssl;
case "$withval" in
- "")
- as_fn_error $? "Empty --with-openssl value" "$LINENO" 5
- ;;
n | no | N | NO)
skip=true
;;
- y | ye | yes | Y | YE | YES)
+ y | ye | yes | Y | YE | YES | "")
;;
- *) ssldirs="$withval"
+ *)
+ ssldirs="$withval"
;;
esac
-else
+fi
+
- # if pkg-config is installed and openssl has installed a .pc file,
- # then use that information and don't search ssldirs
- # Extract the first word of "pkg-config", so it can be a program name with args.
+ # if pkg-config is installed and openssl has installed a .pc file,
+ # then use that information and don't search ssldirs
+ # Extract the first word of "pkg-config", so it can be a program name with args.
set dummy pkg-config; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
fi
- if test x"$PKG_CONFIG" != x""; then
- OPENSSL_LDFLAGS=`$PKG_CONFIG openssl --libs-only-L 2>/dev/null`
- if test $? = 0; then
- OPENSSL_LIBS=`$PKG_CONFIG openssl --libs-only-l 2>/dev/null`
- OPENSSL_INCLUDES=`$PKG_CONFIG openssl --cflags-only-I 2>/dev/null`
- founddir=`$PKG_CONFIG openssl --variable=includedir 2>/dev/null`
- found=true
- fi
- fi
-
- # no such luck; use some default ssldirs
- if ! $found; then
- ssldirs="/usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg /usr/local /usr"
- fi
-
-
-fi
-
+ if test x"$ssldirs" = x"" && test x"$PKG_CONFIG" != x""; then
+ OPENSSL_LDFLAGS=`$PKG_CONFIG openssl --libs-only-L 2>/dev/null`
+ if test $? = 0; then
+ OPENSSL_LIBS=`$PKG_CONFIG openssl --libs-only-l 2>/dev/null`
+ OPENSSL_INCLUDES=`$PKG_CONFIG openssl --cflags-only-I 2>/dev/null`
+ founddir=`$PKG_CONFIG openssl --variable=includedir 2>/dev/null`
+ found=true
+ fi
+ fi
+ # no such luck; use some default ssldirs
+ if ! $found; then
+ ssldirs="/usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg /usr/local /usr"
+ fi
# note that we #include <openssl/foo.h>, so the OpenSSL headers have to be in
# an 'openssl' subdirectory
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by libmowgli-2 $as_me 2.1.2, which was
+This file was extended by libmowgli-2 $as_me 2.1.3, which was
generated by GNU Autoconf 2.69. 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="\\
-libmowgli-2 config.status 2.1.2
+libmowgli-2 config.status 2.1.3
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
found=false
skip=false
founddir=
+ ssldirs=
AC_ARG_WITH([openssl],
[AS_HELP_STRING([--with-openssl=DIR],
[root of the OpenSSL directory])],
[
case "$withval" in
- "")
- AC_MSG_ERROR([Empty --with-openssl value])
- ;;
n | no | N | NO)
skip=true
;;
- y | ye | yes | Y | YE | YES)
+ y | ye | yes | Y | YE | YES | "")
;;
- *) ssldirs="$withval"
+ *)
+ ssldirs="$withval"
;;
esac
- ], [
- # if pkg-config is installed and openssl has installed a .pc file,
- # then use that information and don't search ssldirs
- AC_PATH_PROG([PKG_CONFIG], [pkg-config])
- if test x"$PKG_CONFIG" != x""; then
- OPENSSL_LDFLAGS=`$PKG_CONFIG openssl --libs-only-L 2>/dev/null`
- if test $? = 0; then
- OPENSSL_LIBS=`$PKG_CONFIG openssl --libs-only-l 2>/dev/null`
- OPENSSL_INCLUDES=`$PKG_CONFIG openssl --cflags-only-I 2>/dev/null`
- founddir=`$PKG_CONFIG openssl --variable=includedir 2>/dev/null`
- found=true
- fi
- fi
+ ], []
+ )
- # no such luck; use some default ssldirs
- if ! $found; then
- ssldirs="/usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg /usr/local /usr"
- fi
- ]
- )
+ # if pkg-config is installed and openssl has installed a .pc file,
+ # then use that information and don't search ssldirs
+ AC_PATH_PROG([PKG_CONFIG], [pkg-config])
+ if test x"$ssldirs" = x"" && test x"$PKG_CONFIG" != x""; then
+ OPENSSL_LDFLAGS=`$PKG_CONFIG openssl --libs-only-L 2>/dev/null`
+ if test $? = 0; then
+ OPENSSL_LIBS=`$PKG_CONFIG openssl --libs-only-l 2>/dev/null`
+ OPENSSL_INCLUDES=`$PKG_CONFIG openssl --cflags-only-I 2>/dev/null`
+ founddir=`$PKG_CONFIG openssl --variable=includedir 2>/dev/null`
+ found=true
+ fi
+ fi
+ # no such luck; use some default ssldirs
+ if ! $found; then
+ ssldirs="/usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg /usr/local /usr"
+ fi
# note that we #include <openssl/foo.h>, so the OpenSSL headers have to be in
# an 'openssl' subdirectory