From: warlord Date: Wed, 23 Apr 2003 16:00:43 +0000 (+0000) Subject: Solaris requires a re-order of libraries (at least on MY solaris box) X-Git-Tag: 2.4~2455 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fsp.git;a=commitdiff_plain;h=e09f1da014ce4ca01e925d5ea64226d6f6c7c210 Solaris requires a re-order of libraries (at least on MY solaris box) to make sure we link -lxml-security before -lcrypto. git-svn-id: https://svn.middleware.georgetown.edu/cpp-sp/trunk@383 cb58f699-b61c-0410-a6fe-9272a202ed29 --- diff --git a/configure.ac b/configure.ac index 4713545..f4594ea 100644 --- a/configure.ac +++ b/configure.ac @@ -108,6 +108,13 @@ AC_TRY_LINK( LIBS="$saved_LIBS" ]) +AC_CHECK_HEADER([openssl/ssl.h],, + AC_MSG_ERROR([unable to find openssl header files])) +AC_CHECK_LIB([crypto], [ERR_load_CRYPTO_strings],, + AC_MSG_ERROR([unable to link with openssl libraries])) +AC_CHECK_LIB([ssl], [SSL_library_init],, + AC_MSG_ERROR([unable to link with openssl libraries])) + AC_CHECK_HEADER([xsec/utils/XSECPlatformUtils.hpp],, AC_MSG_ERROR([unable to find xsec header files])) saved_LIBS="$LIBS" @@ -120,13 +127,6 @@ AC_TRY_LINK( LIBS="$saved_LIBS" ]) -AC_CHECK_HEADER([openssl/ssl.h],, - AC_MSG_ERROR([unable to find openssl header files])) -AC_CHECK_LIB([crypto], [ERR_load_CRYPTO_strings],, - AC_MSG_ERROR([unable to link with openssl libraries])) -AC_CHECK_LIB([ssl], [SSL_library_init],, - AC_MSG_ERROR([unable to link with openssl libraries])) - AC_CHECK_HEADER([log4cpp/Category.hh],, AC_MSG_ERROR([unable to find log4cpp header files]))