summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rwxr-xr-xconfigure.ac4
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index ab58b585..7ebd9a85 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-01-04 Greg Troxel <gdt@fnord.ir.bbn.com>
+
+ * configure.ac: Use AC_MSG_CHECKING/AC_MSG_RESULT around
+ CMSG_FIRSTHDR check, so it shows up in the output of configure.
+ Tested on NetBSD, which doesn't define HAVE_BROKEN_CMSG_FIRSTHDR.
+
2005-01-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* configure.ac: Added test for broken CMSG_FIRSTHDR macro
diff --git a/configure.ac b/configure.ac
index 4cad8282..609bbaec 100755
--- a/configure.ac
+++ b/configure.ac
@@ -497,6 +497,7 @@ AC_SUBST(OTHER_METHOD)
dnl ------------------------------------
dnl check for broken CMSG_FIRSTHDR macro
dnl ------------------------------------
+AC_MSG_CHECKING(for broken CMSG_FIRSTHDR)
AC_TRY_RUN([
#ifdef SUNOS_5
#define _XPG4_2
@@ -517,7 +518,8 @@ main()
if (CMSG_FIRSTHDR(&msg) != NULL)
exit(0);
exit (1);
-}],[AC_DEFINE(HAVE_BROKEN_CMSG_FIRSTHDR,,Broken CMSG_FIRSTHDR)])
+}],[AC_MSG_RESULT(yes - using workaround) AC_DEFINE(HAVE_BROKEN_CMSG_FIRSTHDR,,Broken CMSG_FIRSTHDR)],
+[AC_MSG_RESULT(no)])
dnl ------------------------------
dnl check kernel route read method