From: Sami Kerola Date: Sat, 19 Mar 2011 11:14:52 +0000 (+0100) Subject: autotools: point correct location of src X-Git-Tag: v2.15~9 X-Git-Url: http://git.asbjorn.biz/?p=debian%2Fdhcpd-pools.git;a=commitdiff_plain;h=b11163012ea67ed821fef58221b05bea454b2f6b autotools: point correct location of src Fix to error where program src is. Also a bit of clean up and alignment with autoscan output. Signed-off-by: Sami Kerola --- diff --git a/configure.ac b/configure.ac index 049073e..5d2550a 100644 --- a/configure.ac +++ b/configure.ac @@ -5,12 +5,13 @@ AC_PREREQ(2.64) AC_CONFIG_MACRO_DIR([m4]) AC_INIT([dhcpd-pools],[2.14],[kerolasa@iki.fi],,[http://dhcpd-pools.sourceforge.net/]) AM_INIT_AUTOMAKE -AC_CONFIG_SRCDIR([config.h.in]) +AC_CONFIG_SRCDIR([src/dhcpd-pools.h]) AC_CONFIG_HEADERS([config.h]) AC_GNU_SOURCE # Checks for programs +AC_PROG_AWK AC_PROG_CC AC_PROG_CXX AC_PROG_MAKE_SET @@ -20,7 +21,16 @@ AC_PROG_LIBTOOL LT_INIT # Checks for header files. -AC_CHECK_HEADERS([arpa/inet.h fcntl.h libintl.h netinet/in.h stdlib.h string.h strings.h sys/socket.h unistd.h]) + +AC_CHECK_HEADERS([arpa/inet.h \ + fcntl.h \ + libintl.h \ + netinet/in.h \ + stdlib.h \ + string.h \ + strings.h \ + sys/socket.h \ + unistd.h]) # Checks for typedefs, structures, and compiler characteristics. AC_HEADER_STDBOOL