diff --git a/configure.ac b/configure.ac
index e1c988f7603ce830c7f0a801b0bbee58ab48da69..f5fe02e889161dd9f97d1020b0f7de62422510fa 100644 (file)
--- a/configure.ac
+++ b/configure.ac
dnl
dnl This is the foobar configure script.
dnl
-dnl Copyright (C) 2010 Sebastian Harl <sh@tokkee.org>
+dnl Copyright (C) 2011 Sebastian 'tokkee' Harl <sh@tokkee.org>
dnl
dnl This program is free software; you can redistribute it and/or modify it
dnl under the terms of the GNU General Public License as published by the
dnl OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
dnl ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-AC_INIT([foobar],[m4_esyscmd(./version-gen.sh)],
- [Sebastian Harl <sh@tokkee.org>])
+AC_INIT([foobar full name],[m4_esyscmd(./version-gen.sh)],
+ [sh@tokkee.org],
+ [foobar],
+ [http://git.tokkee.org/?p=template.git])
+PACKAGE_MAINTAINER="Sebastian 'tokkee' Harl <sh@tokkee.org>"
+AC_DEFINE_UNQUOTED([PACKAGE_MAINTAINER], ["$PACKAGE_MAINTAINER"],
+ [Define to the name of the maintainer of this package.])
AC_CONFIG_SRCDIR([src/foobar.c])
AC_CONFIG_HEADERS([src/config.h])
AC_PREFIX_DEFAULT([/opt/foobar])
)
test_cc_flags() {
- AC_LANG_CONFTEST([int main() {}])
+ AC_LANG_CONFTEST([AC_LANG_PROGRAM([[ ]], [[ ]])])
$CC -c conftest.c $CFLAGS $@ > /dev/null 2> /dev/null
ret=$?
rm -f conftest.o
fi
AC_SUBST([STRICT_CFLAGS])
-build_date="`date --utc '+%F %T'` (UTC)"
-AC_DEFINE_UNQUOTED([BUILD_DATE], ["$build_date"],
- [Define to the date the package has been built on.])
-
AC_CHECK_HEADERS(libgen.h)
AC_CONFIG_FILES([Makefile src/Makefile])
Configuration summary:
package version: $PACKAGE_VERSION
- build date: $build_date
+ build date: `date --utc '+%F %T'` (UTC)
+This package is maintained by $PACKAGE_MAINTAINER.
Please report bugs to $PACKAGE_BUGREPORT.
EOF