Use AC_CONFIG_SRCDIR in configure.ac

Adds a safety check to ensure that the --srcdir option to ./configure is valid.
This commit is contained in:
Andrew Bettison 2016-10-24 16:11:22 +10:30
parent 6201b97fa3
commit a72f6ae91b

View File

@ -1,5 +1,6 @@
dnl Process this file with autoconf to produce a configure script.
AC_INIT(servald, 0.9)
AC_CONFIG_SRCDIR([serval_types.h])
AC_CONFIG_MACRO_DIR([m4])
CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"