From fa76c7afb0c3bc360fa9b67f99e1e026b59683cc Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Thu, 30 Mar 2006 08:54:07 +0000 Subject: [PATCH] * configure.in: Put definition of KRB5_AUTOCONF_H at top of header file, not bottom. Disable the #undefs for the PACKAGE_ macros. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17800 dc483132-0cff-0310-8789-dd5450dbe970 --- src/ChangeLog | 5 +++++ src/configure.in | 7 ++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index f4fd75f66..435da2f8c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2006-03-30 Ken Raeburn + + * configure.in: Put definition of KRB5_AUTOCONF_H at top of header + file, not bottom. Disable the #undefs for the PACKAGE_ macros. + 2006-03-28 Ken Raeburn * configure.in: Check for getusershell, lstat, pwd.h, diff --git a/src/configure.in b/src/configure.in index 6471be343..e09f60317 100644 --- a/src/configure.in +++ b/src/configure.in @@ -475,6 +475,8 @@ dnl AC_C_INLINE AH_TOP([ #ifndef KRB5_AUTOCONF_H +#define KRB5_AUTOCONF_H +#if 0 /* Leading comment stops autoconf/config.status from turning these into #define statements. But the preprocessor will still pay attention to them. (Comment removal is in translation phase 3; @@ -484,15 +486,14 @@ AH_TOP([ /*x*/#undef PACKAGE_BUGREPORT /*x*/#undef PACKAGE_STRING /*x*/#undef PACKAGE_TARNAME +#endif ]) AH_BOTTOM([ #if defined(__GNUC__) && !defined(inline) /* Silence gcc pedantic warnings about ANSI C. */ # define inline __inline__ #endif - -#define KRB5_AUTOCONF_H -#endif +#endif /* KRB5_AUTOCONF_H */ ]) dnl dnl Not used yet, but let's find out what we've got on the platforms -- 2.26.2