mod_netconf: added $Id string
diff --git a/src/configure.in b/src/configure.in
index 06eb53d..2d122af 100644
--- a/src/configure.in
+++ b/src/configure.in
@@ -15,6 +15,14 @@
RELEASE=1
AC_SUBST(RELEASE)
+if test "`git show > /dev/null 2>&1;echo $?`" = "0"; then
+ RCSID="-DRCSID=\\\"\$(IDGIT)\\\""
+ ARCSID="-DARCSID='\\\"\$(IDGIT)\\\"'"
+else
+ RCSID="-DRCSID=\\\"\$(IDNOGIT)\\\""
+ ARCSID="-DARCSID='\\\"\$(IDNOGIT)\\\"'"
+fi
+
REQS="$REQS httpd php json-c"
BUILDREQS="$BUILDREQS json-c-devel httpd-devel"
@@ -37,6 +45,9 @@
AC_SUBST(REQS)
AC_SUBST(BUILDREQS)
+AC_SUBST(CPPFLAGS)
+AC_SUBST(RCSID)
+AC_SUBST(ARCSID)
AC_CONFIG_FILES([Makefile])
AC_CONFIG_FILES([mod_netconf.spec])