summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorgdt <gdt>2005-01-04 17:02:48 +0000
committergdt <gdt>2005-01-04 17:02:48 +0000
commit3ed38d3e64429d36e926b3bbcc42d4f18e7ec65e (patch)
treea825224f2d08f9ee5740497ee86e88a41b7e90c3 /configure.ac
parentd80d9214ab402131b79b9b3e5395130d906f7c30 (diff)
downloadquagga-3ed38d3e64429d36e926b3bbcc42d4f18e7ec65e.tar.bz2
quagga-3ed38d3e64429d36e926b3bbcc42d4f18e7ec65e.tar.xz
minor fix to HAVE_BROKEN_CMSG_FIRSTHDR support: use AC_MSG_CHECKING
etc. so configure output shows the choice we made. (Andrew: please recheck on a buggy system; it configures/compiles fine on NetBSD.)
Diffstat (limited to 'configure.ac')
-rwxr-xr-xconfigure.ac4
1 files changed, 3 insertions, 1 deletions
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