From 66921fc3ecd57bcf1ab355a5a060ec8fd86935d0 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Wed, 21 Jun 1995 21:41:39 +0000 Subject: [PATCH] Add KRB5_SIGTYPE, replacing definition that was there for krb5_sigtype. This is so that other parts of the tree may use macro. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6119 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/krb5/ChangeLog | 5 +++++ src/include/krb5/configure.in | 22 +--------------------- 2 files changed, 6 insertions(+), 21 deletions(-) diff --git a/src/include/krb5/ChangeLog b/src/include/krb5/ChangeLog index dc7041862..8d5290016 100644 --- a/src/include/krb5/ChangeLog +++ b/src/include/krb5/ChangeLog @@ -1,3 +1,8 @@ +Wed Jun 21 17:39:25 1995 Ezra Peisach + + * configure.in: Replace krb5_sigtype tests with KRB5_SIGTYPE which + has been moved to aclocal.m4 + Wed Jun 21 10:44:06 1995 * Makefile.in: Don't remove autoconf.h when doing a make clean; diff --git a/src/include/krb5/configure.in b/src/include/krb5/configure.in index 2444c5fb3..cca698b51 100644 --- a/src/include/krb5/configure.in +++ b/src/include/krb5/configure.in @@ -18,28 +18,8 @@ KRB5_POSIX_LOCKS dnl time_t, only used in lib/krb5/os/timeofday.c AC_EGREP_HEADER(time_t, sys/types.h, AC_DEFINE(POSIX_TYPES)) +KRB5_SIGTYPE -dnl AC_RETSIGTYPE isn't quite right, but almost. -AC_MSG_CHECKING([POSIX signal handlers]) -AC_CACHE_VAL(krb5_cv_has_posix_signals, -[AC_TRY_COMPILE( -[#include -#include -#ifdef signal -#undef signal -#endif -extern void (*signal ()) ();], [], -krb5_cv_has_posix_signals=yes, krb5_cv_has_posix_signals=no)]) -AC_MSG_RESULT($krb5_cv_has_posix_signals) -if test $krb5_cv_has_posix_signals = yes; then -AC_DEFINE(krb5_sigtype, void) AC_DEFINE(POSIX_SIGTYPE) -else -if test $ac_cv_type_signal = void; then -AC_DEFINE(krb5_sigtype, void) -else -AC_DEFINE(krb5_sigtype, int) -fi -fi dnl dnl AC_HEADER_CHECK(string.h,AC_DEFINE(USE_STRING_H)) -- 2.26.2