]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
minimal cleanup of configure.ac 757/head
authorChristian Hofstaedtler <christian@hofstaedtler.name>
Mon, 29 Apr 2013 23:39:59 +0000 (01:39 +0200)
committerChristian Hofstaedtler <christian@hofstaedtler.name>
Mon, 29 Apr 2013 23:39:59 +0000 (01:39 +0200)
move SQLITE3 conditional definition before needsqlite3 test,
fix unixodbc detection message.

configure.ac

index 1ff6c06869875676207f3d5d8800a6ef3e7c1663..b9b97f88a2cef6d17f1d4906f895da8bcc1de278 100644 (file)
@@ -386,7 +386,6 @@ do
 done
 
 AM_CONDITIONAL(ORACLE,test x"$needoracle" = "xyes")
-
 if test "$needoracle"
 then
        AC_ARG_WITH(oracle_includes, AC_HELP_STRING([--with-oracle-includes=<path>],[instantclient sdk include dir]))
@@ -619,6 +618,7 @@ then
        AC_MSG_RESULT([$PGSQL_incdir])
 fi
 
+AM_CONDITIONAL(SQLITE3, test "$needsqlite3")
 if test "$needsqlite3"
 then
        PKG_CHECK_MODULES(SQLITE3, $SQLITE3PC, HAVE_SQLITE3=yes, AC_MSG_ERROR([+Could not find sqlite3]))
@@ -634,9 +634,6 @@ then
         AC_SUBST(CDB_CFLAGS)
 fi
 
-AM_CONDITIONAL(SQLITE3, test "$needsqlite3")
-
-
 if test "$needunixodbc"
 then
         AC_ARG_WITH(unixodbc,
@@ -651,7 +648,7 @@ then
         AC_ARG_WITH(unixodbc-includes,
             AC_HELP_STRING([--with-unixodbc-includes=<path>],[directory path of unixodbc header installation]),
             [UNIXODBC_inc_check="$withval/include $withval/include/unixodbc $withval/unixodbc $withval"])
-        AC_MSG_CHECKING([for SQLite3 library directory])
+        AC_MSG_CHECKING([for unixodbc library directory])
         UNIXODBC_libdir=
         for m in $UNIXODBC_lib_check; do
                 if test -d "$m" && \