]> granicus.if.org Git - pdns/commitdiff
Keep function checks together
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Wed, 24 Dec 2014 17:30:59 +0000 (18:30 +0100)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Wed, 24 Dec 2014 17:30:59 +0000 (18:30 +0100)
configure.ac

index 42ab6c806b6f4a8a8d5ae8e194aca2c953a466fe..ac6741aec1da49730957aa704c76a899d8af255e 100644 (file)
@@ -105,7 +105,7 @@ dnl Checks for typedefs, structures, and compiler characteristics.
 AC_TYPE_SIZE_T
 
 dnl Checks for library functions.
-AC_CHECK_FUNCS_ONCE([strcasestr])
+AC_CHECK_FUNCS_ONCE([strcasestr localtime_r])
 
 # Check for libdl
 my_save_LIBS="$LIBS"
@@ -293,8 +293,6 @@ if test "$needsqlite3"; then
   AC_DEFINE([HAVE_SQLITE3],[1],[If we have sqlite3])
 fi
 
-AC_CHECK_FUNCS([localtime_r])
-
 for a in $modules; do
   moduledirs="$moduledirs ${a}backend"