summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorhasso <hasso>2005-04-03 23:46:37 +0000
committerhasso <hasso>2005-04-03 23:46:37 +0000
commitd0f6af172370037a5c716616bcf639480b85648e (patch)
treec76605585e17065c7208a4a81c78966c422da006 /configure.ac
parenta1573f0bd3f53f97e816702acf60d45fffebd89e (diff)
downloadquagga-d0f6af172370037a5c716616bcf639480b85648e.tar.bz2
quagga-d0f6af172370037a5c716616bcf639480b85648e.tar.xz
* configure.ac: Fix AC_LANG_SOURCE usage. It needs double square
brackets around source. Single ones broke square brackets in the code (arrays).
Diffstat (limited to 'configure.ac')
-rwxr-xr-xconfigure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index e95f7da3..e1c9d396 100755
--- a/configure.ac
+++ b/configure.ac
@@ -540,7 +540,7 @@ dnl ------------------------------------
dnl check for broken CMSG_FIRSTHDR macro
dnl ------------------------------------
AC_MSG_CHECKING(for broken CMSG_FIRSTHDR)
-AC_RUN_IFELSE([
+AC_RUN_IFELSE([AC_LANG_SOURCE([[
#ifdef SUNOS_5
#define _XPG4_2
#define __EXTENSIONS__
@@ -560,7 +560,7 @@ main()
if (CMSG_FIRSTHDR(&msg) != NULL)
exit(0);
exit (1);
-}],[AC_MSG_RESULT(yes - using workaround) 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)],[AC_MSG_RESULT(no)])
dnl ------------------------------