Loading configure.ac +35 −27 Original line number Diff line number Diff line Loading @@ -707,9 +707,29 @@ else CLEANCPPFLAGS="$CPPFLAGS" CLEANLIBS="$LIBS" dnl Detect the pkg-config tool, as it may have extra info about the openssl dnl installation we can use. I *believe* this is what we are expected to do dnl on really recent Redhat Linux hosts. case "$OPT_SSL" in yes) dnl --with-ssl (without path) used PKGTEST="yes" EXTRA_SSL=/usr/local/ssl ;; off) dnl no --with-ssl option given, just check default places PKGTEST="yes" EXTRA_SSL= ;; *) dnl check the given --with-ssl spot PKGTEST="no" EXTRA_SSL=$OPT_SSL LDFLAGS="$LDFLAGS -L$EXTRA_SSL/lib$libsuff" CPPFLAGS="$CPPFLAGS -I$EXTRA_SSL/include/openssl -I$EXTRA_SSL/include" ;; esac if test "$PKGTEST" = "yes"; then dnl Detect the pkg-config tool, as it may have extra info about the dnl openssl installation we can use. I *believe* this is what we are dnl expected to do on really recent Redhat Linux hosts. AC_PATH_PROG( PKGCONFIG, pkg-config, no, $PATH:/usr/bin:/usr/local/bin) if test "$PKGCONFIG" != "no" ; then Loading @@ -732,19 +752,7 @@ else AC_MSG_RESULT([no]) fi fi case "$OPT_SSL" in yes) EXTRA_SSL=/usr/local/ssl ;; off) EXTRA_SSL= ;; *) dnl check the given spot right away! EXTRA_SSL=$OPT_SSL LDFLAGS="$LDFLAGS -L$EXTRA_SSL/lib$libsuff" CPPFLAGS="$CPPFLAGS -I$EXTRA_SSL/include/openssl -I$EXTRA_SSL/include" ;; esac fi AC_CHECK_LIB(crypto, CRYPTO_lock,[ HAVECRYPTO="yes" Loading Loading
configure.ac +35 −27 Original line number Diff line number Diff line Loading @@ -707,9 +707,29 @@ else CLEANCPPFLAGS="$CPPFLAGS" CLEANLIBS="$LIBS" dnl Detect the pkg-config tool, as it may have extra info about the openssl dnl installation we can use. I *believe* this is what we are expected to do dnl on really recent Redhat Linux hosts. case "$OPT_SSL" in yes) dnl --with-ssl (without path) used PKGTEST="yes" EXTRA_SSL=/usr/local/ssl ;; off) dnl no --with-ssl option given, just check default places PKGTEST="yes" EXTRA_SSL= ;; *) dnl check the given --with-ssl spot PKGTEST="no" EXTRA_SSL=$OPT_SSL LDFLAGS="$LDFLAGS -L$EXTRA_SSL/lib$libsuff" CPPFLAGS="$CPPFLAGS -I$EXTRA_SSL/include/openssl -I$EXTRA_SSL/include" ;; esac if test "$PKGTEST" = "yes"; then dnl Detect the pkg-config tool, as it may have extra info about the dnl openssl installation we can use. I *believe* this is what we are dnl expected to do on really recent Redhat Linux hosts. AC_PATH_PROG( PKGCONFIG, pkg-config, no, $PATH:/usr/bin:/usr/local/bin) if test "$PKGCONFIG" != "no" ; then Loading @@ -732,19 +752,7 @@ else AC_MSG_RESULT([no]) fi fi case "$OPT_SSL" in yes) EXTRA_SSL=/usr/local/ssl ;; off) EXTRA_SSL= ;; *) dnl check the given spot right away! EXTRA_SSL=$OPT_SSL LDFLAGS="$LDFLAGS -L$EXTRA_SSL/lib$libsuff" CPPFLAGS="$CPPFLAGS -I$EXTRA_SSL/include/openssl -I$EXTRA_SSL/include" ;; esac fi AC_CHECK_LIB(crypto, CRYPTO_lock,[ HAVECRYPTO="yes" Loading