X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=configure.ac;h=0894f27b2e95a65b4da399d12544ccf6559abdef;hb=refs%2Fheads%2Fupstream-head;hp=a5adc2d589bbd455b49d2593d35b46a670ca0f02;hpb=d54721b3a44a87be75b83860a955ddc7a0ec6b3d;p=debian%2Fdhcpd-pools.git diff --git a/configure.ac b/configure.ac index a5adc2d..0894f27 100644 --- a/configure.ac +++ b/configure.ac @@ -3,7 +3,9 @@ AC_PREREQ(2.64) AC_CONFIG_MACRO_DIR([m4]) -AC_INIT([dhcpd-pools],[2.14],[kerolasa@iki.fi],,[http://dhcpd-pools.sourceforge.net/]) +AC_INIT([dhcpd-pools], + m4_esyscmd([build-aux/git-version-gen .tarball-version]), + [kerolasa@iki.fi],,[http://dhcpd-pools.sourceforge.net/]) AM_INIT_AUTOMAKE AC_CONFIG_SRCDIR([src/dhcpd-pools.h]) AC_CONFIG_HEADERS([config.h]) @@ -40,10 +42,6 @@ AC_TYPE_SIZE_T AC_FUNC_MALLOC AC_CHECK_FUNCS([inet_ntoa memset strerror strstr strdup]) -# GNU commandline parsing in getopt.h present? -AC_CHECK_HEADERS(getopt.h, AC_DEFINE(HAVE_GETOPT_H), - import_sources="getopt.c getopt1.c $import_sources") - AC_CONFIG_FILES([Makefile man/Makefile src/Makefile