From: Ezra Peisach Date: Sat, 11 May 1996 14:13:50 +0000 (+0000) Subject: configure.in: Need to include sys/types.h before regexp.h in test to X-Git-Tag: krb5-1.0-beta6~102 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5709aed2057d9bdac636b014b55265f44b5de831;p=krb5.git configure.in: Need to include sys/types.h before regexp.h in test to see if regcomp works. NetBSD required this so that size_t is defined. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7978 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/os/ChangeLog b/src/lib/krb5/os/ChangeLog index c2b4f96f7..bd007d9f1 100644 --- a/src/lib/krb5/os/ChangeLog +++ b/src/lib/krb5/os/ChangeLog @@ -1,3 +1,9 @@ +Sat May 11 10:08:15 1996 Ezra Peisach + + * configure.in: Need to include sys/types.h before regexp.h in + test to see if regcomp works. + Add V5_USE_SHARED_LIB for the tests that are built. + Tue Apr 30 17:51:47 1996 Ken Raeburn * configure.in: Test that regcomp actually works. diff --git a/src/lib/krb5/os/configure.in b/src/lib/krb5/os/configure.in index b7f52f497..d6753de57 100644 --- a/src/lib/krb5/os/configure.in +++ b/src/lib/krb5/os/configure.in @@ -10,6 +10,7 @@ AC_C_CROSS AC_MSG_CHECKING(for working regcomp) AC_CACHE_VAL(ac_cv_func_regcomp,[ AC_TRY_RUN([ +#include #include regex_t x; regmatch_t m; int main() { return regcomp(&x,"pat.*",0) || regexec(&x,"pattern",1,&m,0); } @@ -23,6 +24,7 @@ HAS_ANSI_VOLATILE AC_DEFINE(AN_TO_LN_RULES) USE_ANAME V5_SHARED_LIB_OBJS +V5_USE_SHARED_LIB KRB5_LIBRARIES KRB5_RUN_FLAGS SubdirLibraryRule([${OBJS}])