AC_CANONICAL_HOST
# Add some default CFLAGS and CXXFLAGS, can be appended to using the environment variables
-CFLAGS="-Wall -g -O2 $CFLAGS"
-CXXFLAGS="-Wall -g -O2 $CXXFLAGS"
+CFLAGS="-g -O2 -Wall -Wextra -Wshadow -Wno-unused-parameter $CFLAGS"
+CXXFLAGS="-g -O2 -Wall -Wextra -Wshadow -Wno-unused-parameter $CXXFLAGS"
AC_PROG_CC
AM_PROG_CC_C_O
PDNS_FROM_GIT
dnl Checks for library functions.
-AC_CHECK_FUNCS_ONCE([strcasestr localtime_r recvmmsg sched_setscheduler getrandom arc4random])
+dnl the *_r functions are in posix so we can use them unconditionally, but the ext/yahttp code is
+dnl using the defines.
+AC_CHECK_FUNCS_ONCE([strcasestr localtime_r gmtime_r recvmmsg sched_setscheduler getrandom arc4random])
AM_CONDITIONAL([HAVE_RECVMMSG], [test "x$ac_cv_func_recvmmsg" = "xyes"])
godbc)
PDNS_WITH_UNIXODBC
;;
- mydns|gmysql)
+ gmysql)
PDNS_WITH_MYSQL
;;
gpgsql)
modules/gsqlite3backend/Makefile
modules/ldapbackend/Makefile
modules/lmdbbackend/Makefile
- modules/luabackend/Makefile
modules/lua2backend/Makefile
- modules/mydnsbackend/Makefile
modules/opendbxbackend/Makefile
modules/pipebackend/Makefile
modules/randombackend/Makefile