Code

src/fb.c: Use FB_VERSION… rather than VERSION.
[template.git] / configure.ac
index 97e3ca081a2175d617258bd4178e4ac59e8bd574..254580cf2e4ac6b86331e5ff62ee300ae58d87e7 100644 (file)
@@ -186,26 +186,9 @@ if test "x$enable_strict_checks" = "xyes"; then
 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.])
-
-dnl Version information provided by fb_features.h.
-FB_VERSION_MAJOR=`echo $PACKAGE_VERSION | cut -d'.' -f1`
-FB_VERSION_MINOR=`echo $PACKAGE_VERSION | cut -d'.' -f2`
-FB_VERSION_PATCH=`echo $PACKAGE_VERSION | cut -d'.' -f3`
-FB_VERSION_EXTRA=`echo $PACKAGE_VERSION | cut -d'.' -f4-`
-FB_VERSION_STRING="$FB_VERSION_MAJOR.$FB_VERSION_MINOR.$FB_VERSION_PATCH"
-
-AC_SUBST(FB_VERSION_MAJOR)
-AC_SUBST(FB_VERSION_MINOR)
-AC_SUBST(FB_VERSION_PATCH)
-AC_SUBST(FB_VERSION_EXTRA)
-AC_SUBST(FB_VERSION_STRING)
-
 AC_CHECK_HEADERS(libgen.h)
 
-AC_CONFIG_FILES([Makefile src/Makefile src/fb_features.h])
+AC_CONFIG_FILES([Makefile src/Makefile])
 AC_OUTPUT
 
 cat <<EOF;
@@ -218,7 +201,7 @@ install the package into $prefix.
 Configuration summary:
 
   package version: $PACKAGE_VERSION
-  build date: $build_date
+  build date: `date --utc '+%F %T'` (UTC)
 
 Please report bugs to $PACKAGE_BUGREPORT.