summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <Alan.Coopersmith@sun.com>2005-08-28 22:46:07 +0000
committerAlan Coopersmith <Alan.Coopersmith@sun.com>2005-08-28 22:46:07 +0000
commit92864cfde7de9b5d9cf8894abeb7a972ea35d2a0 (patch)
tree8ee1e5a93f8ef4ef0ac6ff26d8eb81252e183dd7
parente0187570bd3efd7b61ccc41dbc21d0840ee82260 (diff)
Add comment to configure.ac explaining error: possibly undefined macro:
AC_DEFINE message that some users were seeing, thanks to diagnosis from Stepan Kasal on the autoconf@gnu.org mailing list: dnl If you're looking here because you got a message that said dnl 'error: possibly undefined macro: AC_DEFINE', the source of dnl your problem is not here. You need to upgrade to pkgconfig 0.18 dnl or later to get an updated pkg.m4 with PKG_CHECK_EXISTS defined. dnl See http://www.mail-archive.com/autoconf@gnu.org/msg13413.html
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 09b5057..ff66a9c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -35,6 +35,12 @@ AC_CANONICAL_HOST
XORG_PROG_RAWCPP
AC_FUNC_FORK
+
+dnl If you're looking here because you got a message that said
+dnl 'error: possibly undefined macro: AC_DEFINE', the source of
+dnl your problem is not here. You need to upgrade to pkgconfig 0.18
+dnl or later to get an updated pkg.m4 with PKG_CHECK_EXISTS defined.
+dnl See http://www.mail-archive.com/autoconf@gnu.org/msg13413.html
AC_CHECK_FUNC(mkstemp, AC_DEFINE(HAS_MKSTEMP,1,
[Define to 1 if you have the 'mkstemp' function.]))
AC_CHECK_FUNC(getifaddrs, AC_DEFINE(HAS_GETIFADDRS,1,