]> arthur.barton.de Git - ngircd-alex.git/commitdiff
Re-corrected test for CVS version.
authorAlexander Barton <alex@barton.de>
Mon, 31 Mar 2003 19:01:02 +0000 (19:01 +0000)
committerAlexander Barton <alex@barton.de>
Mon, 31 Mar 2003 19:01:02 +0000 (19:01 +0000)
src/ngircd/Makefile.am
src/portab/portab.h

index 3188f237610eeb3c483aa73e738d53363393bcbc..d3118d649b01ca6cb901ed9bb964c10ba59b6ed4 100644 (file)
@@ -8,7 +8,7 @@
 # (at your option) any later version.
 # Please read the file COPYING, README and AUTHORS for more information.
 #
-# $Id: Makefile.am,v 1.38 2003/03/31 15:54:21 alex Exp $
+# $Id: Makefile.am,v 1.39 2003/03/31 19:01:02 alex Exp $
 #
 
 AUTOMAKE_OPTIONS = ../portab/ansi2knr
@@ -64,7 +64,7 @@ lint:
 ngircd.c: cvs-date cvs-version.h
 
 cvs-date:
-       grep PACKAGE_VERSION ../config.h | grep "CVS" \
+       grep VERSION ../config.h | grep "CVS" \
         && echo "#define CVSDATE \"$$( grep "\$$Id" $(srcdir)/*.c \
            | $(AWK) "{ print \$$9 }" | sort | tail -1 \
            | sed -e "s/\//-/g" )\"" > cvs-version.new \
index c911613c08f274c04d6c164db117f079c0b5c1a1..dc0a4f926d497d3a8f770dbd935e8a0b3e20dc16 100644 (file)
@@ -8,7 +8,7 @@
  * (at your option) any later version.
  * Please read the file COPYING, README and AUTHORS for more information.
  *
- * $Id: portab.h,v 1.14 2003/03/17 01:12:10 alex Exp $
+ * $Id: portab.h,v 1.15 2003/03/31 19:01:02 alex Exp $
  *
  * Portability functions and declarations (header for libngbportab).
  */
@@ -146,6 +146,14 @@ EXTERN size_t strlcpy PARAMS(( CHAR *dst, CONST CHAR *src, size_t size ));
 EXTERN INT vsnprintf PARAMS(( CHAR *str, size_t count, CONST CHAR *fmt, va_list args ));
 #endif
 
+#ifndef PACKAGE_NAME
+#define PACKAGE_NAME PACKAGE
+#endif
+
+#ifndef PACKAGE_VERSION
+#define PACKAGE_VERSION VERSION
+#endif
+
 
 #endif