summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2006-03-30 08:54:07 +0000
committerKen Raeburn <raeburn@mit.edu>2006-03-30 08:54:07 +0000
commitfa76c7afb0c3bc360fa9b67f99e1e026b59683cc (patch)
treec16a668d9140333fab4d77afad422f71a423d6a7 /src
parent00ce180e6193d515fded7f5146b855cbbe8d6953 (diff)
downloadkrb5-fa76c7afb0c3bc360fa9b67f99e1e026b59683cc.tar.gz
krb5-fa76c7afb0c3bc360fa9b67f99e1e026b59683cc.tar.xz
krb5-fa76c7afb0c3bc360fa9b67f99e1e026b59683cc.zip
* 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
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/configure.in7
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 <raeburn@mit.edu>
+
+ * 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 <raeburn@mit.edu>
* 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