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

Gaetan Nadon memsize at videotron.ca
Wed Oct 20 16:22:53 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 0ecf897..1fd828d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -86,6 +86,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)
 
@@ -127,8 +133,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