[PATCH app-xdm 3/6] config: add "Check for system library functions"
Gaetan Nadon
memsize at videotron.ca
Mon Oct 25 17:21:35 PDT 2010
Relocate the existing AC_CHECK_FUNCS statement.
The functions are checked after the libraries checks to benefit
from the $LIBS updated values.
Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
---
configure.ac | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index 96ae8fe..b190a68 100644
--- a/configure.ac
+++ b/configure.ac
@@ -86,6 +86,15 @@ AC_CHECK_HEADERS([grp.h syslog.h sys/param.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_TYPE_SIGNAL
+#------------------------------------------------------------------------------
+# Check for system library functions
+#
+# Required system libraries have been searched for and are listed in $LIBS
+#------------------------------------------------------------------------------
+AC_CHECK_FUNCS([daemon sigaction openlog asprintf])
+
+#------------------------------------------------------------------------------
+
m4_ifdef([AM_SILENT_RULES],[HAVE_AM_SILENT_RULES=yes])
AM_CONDITIONAL(HAVE_AM_SILENT_RULES, test x$HAVE_AM_SILENT_RULES != x)
@@ -126,8 +135,6 @@ if test "x$HAS_SETUSERCONTEXT" = "xyes" ; then
[Define to 1 if you have the 'setusercontext' function.])
fi
-AC_CHECK_FUNCS([daemon sigaction openlog asprintf])
-
XTRANS_CONNECTION_FLAGS
dnl Sets $SECURE_RPC to "yes" or "no"
XTRANS_SECURE_RPC_FLAGS
--
1.6.0.4
More information about the xorg-devel
mailing list