From b11163012ea67ed821fef58221b05bea454b2f6b Mon Sep 17 00:00:00 2001
From: Sami Kerola <kerolasa@iki.fi>
Date: Sat, 19 Mar 2011 12:14:52 +0100
Subject: [PATCH] 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 <kerolasa@iki.fi>
---
 configure.ac |   14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

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
-- 
1.7.10.4