diff options
| author | Marc Horowitz <marc@mit.edu> | 1996-07-26 19:57:41 +0000 |
|---|---|---|
| committer | Marc Horowitz <marc@mit.edu> | 1996-07-26 19:57:41 +0000 |
| commit | ca7d42a82d1d4f2d4b3189eeb5cba64e09f4db55 (patch) | |
| tree | 6884a708d6c93aca9f51e94c617e2120bcde8c4e /src/lib | |
| parent | 0946bf30c22ef959038e5c6b55c6a1fcf0d69bd3 (diff) | |
| download | krb5-ca7d42a82d1d4f2d4b3189eeb5cba64e09f4db55.tar.gz krb5-ca7d42a82d1d4f2d4b3189eeb5cba64e09f4db55.tar.xz krb5-ca7d42a82d1d4f2d4b3189eeb5cba64e09f4db55.zip | |
* configure.in, an_to_ln.c (do_replacement, aname_do_match): use
the compile() function in -lgen on solaris. Check for the
relevant stuff at configure-time
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8843 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/krb5/os/configure.in | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/lib/krb5/os/configure.in b/src/lib/krb5/os/configure.in index d6753de57..419de14f6 100644 --- a/src/lib/krb5/os/configure.in +++ b/src/lib/krb5/os/configure.in @@ -3,7 +3,7 @@ CONFIG_RULES dnl time checks are for timeofday.c (which gets them from osconf.h) dnl and gmt_mktime.c (which only gets them from here...) AC_TIME_WITH_SYS_TIME -AC_HAVE_HEADERS(unistd.h sys/time.h regex.h regexp.h) +AC_HAVE_HEADERS(unistd.h sys/time.h regex.h regexp.h regexpr.h) dnl regcomp is present but non-functional on Solaris 2.4 AC_C_CROSS @@ -17,7 +17,12 @@ int main() { return regcomp(&x,"pat.*",0) || regexec(&x,"pattern",1,&m,0); } ], ac_cv_func_regcomp=yes, ac_cv_func_regcomp=no)]) AC_MSG_RESULT($ac_cv_func_regcomp) test $ac_cv_func_regcomp = yes && AC_DEFINE(HAVE_REGCOMP) - +save_LIBS="$LIBS" +LIBS=-lgen +dnl this will fail if there's no compile/step in -lgen, or if there's +dnl no -lgen. This is fine. +AC_CHECK_FUNCS(compile step) +LIBS="$save_LIBS" AC_HAVE_FUNCS(re_comp) AC_HEADER_EGREP(time_t, sys/types.h, AC_DEFINE(POSIX_TYPES)) HAS_ANSI_VOLATILE |
