Re-corrected test for CVS version.
This commit is contained in:
parent
b588eaed02
commit
016e547daa
|
@ -8,7 +8,7 @@
|
||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
# Please read the file COPYING, README and AUTHORS for more information.
|
# 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
|
AUTOMAKE_OPTIONS = ../portab/ansi2knr
|
||||||
|
@ -64,7 +64,7 @@ lint:
|
||||||
ngircd.c: cvs-date cvs-version.h
|
ngircd.c: cvs-date cvs-version.h
|
||||||
|
|
||||||
cvs-date:
|
cvs-date:
|
||||||
grep PACKAGE_VERSION ../config.h | grep "CVS" \
|
grep VERSION ../config.h | grep "CVS" \
|
||||||
&& echo "#define CVSDATE \"$$( grep "\$$Id" $(srcdir)/*.c \
|
&& echo "#define CVSDATE \"$$( grep "\$$Id" $(srcdir)/*.c \
|
||||||
| $(AWK) "{ print \$$9 }" | sort | tail -1 \
|
| $(AWK) "{ print \$$9 }" | sort | tail -1 \
|
||||||
| sed -e "s/\//-/g" )\"" > cvs-version.new \
|
| sed -e "s/\//-/g" )\"" > cvs-version.new \
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
* (at your option) any later version.
|
* (at your option) any later version.
|
||||||
* Please read the file COPYING, README and AUTHORS for more information.
|
* 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).
|
* 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 ));
|
EXTERN INT vsnprintf PARAMS(( CHAR *str, size_t count, CONST CHAR *fmt, va_list args ));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef PACKAGE_NAME
|
||||||
|
#define PACKAGE_NAME PACKAGE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef PACKAGE_VERSION
|
||||||
|
#define PACKAGE_VERSION VERSION
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue