X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=configure.ac;fp=configure.ac;h=3fb9757641441aa7106392cd9f90186d295672f2;hb=599f90122371e8f776936996521073a7a84b1381;hp=ff2ddd526d4ab27cad48e28805ac4c10a4b424b6;hpb=ce0029a0c689d9b96d6a797a2e46aa0bee712e36;p=umurmur.git diff --git a/configure.ac b/configure.ac index ff2ddd5..3fb9757 100644 --- a/configure.ac +++ b/configure.ac @@ -32,7 +32,7 @@ AC_PREREQ([2.63]) AC_INIT([umurmur], [0.2.14], [http://code.google.com/p/umurmur/issues/entry], [umurmur], [http://code.google.com/p/umurmur]) AC_CONFIG_SRCDIR([src/client.h]) -AC_CONFIG_HEADERS([config.h]) +AC_CONFIG_HEADERS([src/config.h]) AM_INIT_AUTOMAKE AC_CANONICAL_HOST @@ -86,6 +86,9 @@ AS_IF([test "x$with_ssl" = xopenssl], [ AC_CHECK_LIB([ssl], [SSL_library_init], [], [AC_MSG_ERROR([could not find libssl])]) ]) +AM_CONDITIONAL(USE_OPENSSL, test x$with_ssl = xopenssl) +AM_CONDITIONAL(USE_GNUTLS, test x$with_ssl = xgnutls) + AC_DEFINE([DEFAULT_CONFIG], ["/etc/umurmur.conf"], [Default config]) # Checks for header files.