summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 29a36bb)
raw | patch | inline | side by side (parent: 29a36bb)
author | Sebastian Harl <sh@tokkee.org> | |
Sun, 2 May 2010 21:33:49 +0000 (23:33 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Sun, 2 May 2010 21:33:49 +0000 (23:33 +0200) |
configure.ac | patch | blob | history | |
src/Makefile.am | patch | blob | history |
diff --git a/configure.ac b/configure.ac
index e1c988f7603ce830c7f0a801b0bbee58ab48da69..254580cf2e4ac6b86331e5ff62ee300ae58d87e7 100644 (file)
--- a/configure.ac
+++ b/configure.ac
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)
Please report bugs to $PACKAGE_BUGREPORT.
diff --git a/src/Makefile.am b/src/Makefile.am
index 5c8a5ceb0563f203be31192e81f3fa1ceaca5a70..4787460c94a618241a765019907c7dca76d8883a 100644 (file)
--- a/src/Makefile.am
+++ b/src/Makefile.am
bin_PROGRAMS = fb
fb_SOURCES = fb.c foobar.h
+fb_CFLAGS = $(AM_CFLAGS) -DBUILD_DATE="\"$$( date --utc '+%F %T' ) (UTC)\""
fb_LDADD = libfoobar.la
../version: FORCE