diff options
author | Ruslan Ermilov <ru@FreeBSD.org> | 2002-08-13 16:52:52 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@FreeBSD.org> | 2002-08-13 16:52:52 +0000 |
commit | 9645701d925c08eedff764e52e9ddd57805c57b9 (patch) | |
tree | 9e3f61b1e0c6777e6f8a479dd5de99bb44d3575e /kerberos5 | |
parent | 35655e3c45a5c500a54680a40f02962bd1a37887 (diff) | |
download | src-test2-9645701d925c08eedff764e52e9ddd57805c57b9.tar.gz src-test2-9645701d925c08eedff764e52e9ddd57805c57b9.zip |
Notes
Diffstat (limited to 'kerberos5')
-rw-r--r-- | kerberos5/include/config.h | 8 | ||||
-rw-r--r-- | kerberos5/lib/libasn1/Makefile | 4 | ||||
-rw-r--r-- | kerberos5/lib/libhdb/Makefile | 4 |
3 files changed, 16 insertions, 0 deletions
diff --git a/kerberos5/include/config.h b/kerberos5/include/config.h index a76a7deabd47..6812a53deee9 100644 --- a/kerberos5/include/config.h +++ b/kerberos5/include/config.h @@ -3,6 +3,8 @@ /* $FreeBSD$ */ +#include <osreldate.h> + #ifndef RCSID #define RCSID(msg) static /**/const char *const rcsid[] = { (const char *)rcsid, "\100(#)" msg } #endif @@ -284,7 +286,10 @@ #define HAVE_GETOPT 1 /* Define if you have the `getprogname' function. */ +#if (__FreeBSD_version >= 430002 && __FreeBSD_version < 500000) || \ + __FreeBSD_version >= 500019 #define HAVE_GETPROGNAME 1 +#endif /* Define if you have the `getpwnam_r' function. */ /* #undef HAVE_GETPWNAM_R */ @@ -582,7 +587,10 @@ #define HAVE_SETPROCTITLE 1 /* Define if you have the `setprogname' function. */ +#if (__FreeBSD_version >= 430002 && __FreeBSD_version < 500000) || \ + __FreeBSD_version >= 500019 #define HAVE_SETPROGNAME 1 +#endif /* Define if you have the `setregid' function. */ #define HAVE_SETREGID 1 diff --git a/kerberos5/lib/libasn1/Makefile b/kerberos5/lib/libasn1/Makefile index 4806ca5d52c3..f38c2bfd37f1 100644 --- a/kerberos5/lib/libasn1/Makefile +++ b/kerberos5/lib/libasn1/Makefile @@ -106,6 +106,10 @@ asn1_compile: \ strupr.c ${CC} ${CFLAGS} ${.OODATE} -o ${.TARGET} +.if defined(BOOTSTRAPPING) +asn1_compile: getprogname.c setprogname.c +.endif + parse.o: parse.c roken.h .ORDER: parse.c parse.h diff --git a/kerberos5/lib/libhdb/Makefile b/kerberos5/lib/libhdb/Makefile index 8009de032c1f..5a433f19baae 100644 --- a/kerberos5/lib/libhdb/Makefile +++ b/kerberos5/lib/libhdb/Makefile @@ -61,6 +61,10 @@ asn1_compile: parse.o lex.o main.c hash.c symbol.c emalloc.c gen.c \ get_window_size.c strupr.c ${CC} ${CFLAGS} ${.OODATE} -o ${.TARGET} +.if defined(BOOTSTRAPPING) +asn1_compile: getprogname.c setprogname.c +.endif + parse.o: parse.c .ORDER: parse.c parse.h |