[PATCH app-xdm 2/6] config: relocate headers, typedefs, and compiler characteristics

Gaetan Nadon memsize at videotron.ca
Mon Oct 25 17:21:34 PDT 2010


Those checks are next following the "Check for system libraries" section.
They are done before xorg specific configuration.

Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
---
 configure.ac |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 2833010..96ae8fe 100644
--- a/configure.ac
+++ b/configure.ac
@@ -80,6 +80,12 @@ AC_SEARCH_LIBS([arc4random], [bsd])
 AC_SEARCH_LIBS(crypt, crypt)
 #------------------------------------------------------------------------------
 
+# Checks for header files.
+AC_CHECK_HEADERS([grp.h syslog.h sys/param.h])
+
+# Checks for typedefs, structures, and compiler characteristics.
+AC_TYPE_SIGNAL
+
 m4_ifdef([AM_SILENT_RULES],[HAVE_AM_SILENT_RULES=yes])
 AM_CONDITIONAL(HAVE_AM_SILENT_RULES, test x$HAVE_AM_SILENT_RULES != x)
 
@@ -121,8 +127,6 @@ if test "x$HAS_SETUSERCONTEXT" = "xyes" ; then
 fi
 
 AC_CHECK_FUNCS([daemon sigaction openlog asprintf])
-AC_CHECK_HEADERS([grp.h syslog.h sys/param.h])
-AC_TYPE_SIGNAL
 
 XTRANS_CONNECTION_FLAGS
 dnl Sets $SECURE_RPC to "yes" or "no"
-- 
1.6.0.4



More information about the xorg-devel mailing list