Specify package name and version in call to AC_INIT
authorTiziano Müller <tiziano.mueller@stepping-stone.ch>
Wed, 8 Apr 2015 11:29:38 +0000 (13:29 +0200)
committerWayne Davison <wayned@samba.org>
Fri, 1 May 2015 21:26:21 +0000 (14:26 -0700)
configure.ac

index ebfd30abc15609799d4fce2993fe2768d9389b4d..58bc46c3dad1648336246ed5b679625bdf19b4e4 100644 (file)
@@ -1,17 +1,16 @@
 dnl Process this file with autoconf to produce a configure script.
 
-AC_INIT()
+AC_INIT([rsync], [3.1.2dev], [http://rsync.samba.org/bugzilla.html])
 
 AC_CONFIG_MACRO_DIR([m4])
 AC_CONFIG_SRCDIR([byteorder.h])
 AC_CONFIG_HEADER(config.h)
 AC_PREREQ(2.60)
 
-RSYNC_VERSION=3.1.2dev
-AC_SUBST(RSYNC_VERSION)
-AC_MSG_NOTICE([Configuring rsync $RSYNC_VERSION])
+AC_SUBST(RSYNC_VERSION, $PACKAGE_VERSION)
+AC_MSG_NOTICE([Configuring rsync $PACKAGE_VERSION])
 
-AC_DEFINE_UNQUOTED(RSYNC_VERSION, ["$RSYNC_VERSION"], [rsync release version])
+AC_DEFINE_UNQUOTED(RSYNC_VERSION, ["$PACKAGE_VERSION"], [rsync release version])
 
 LDFLAGS=${LDFLAGS-""}