esac
fi
-AC_PROG_LIBTOOL
AC_DISABLE_STATIC
+AC_PROG_LIBTOOL
# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
SSLFLAGS="-I${with_openssl}/include"
fi])
-if test "x$SSLFLAGS" = "x" ; then
+if test "x$with_openssl" = "x" ; then
AC_PATH_PROG(PKG_CONFIG, pkg-config)
if test "x$PKG_CONFIG" != x && test "x$PKG_CONFIG" != "xno" ; then
if pkg-config openssl ; then