No configuration changes

Signed-off-by: Gaetan Nadon <mems...@videotron.ca>
---
 configure.ac |   16 +++++++---------
 1 files changed, 7 insertions(+), 9 deletions(-)

diff --git a/configure.ac b/configure.ac
index 59bc5ee..7781034 100644
--- a/configure.ac
+++ b/configure.ac
@@ -84,6 +84,13 @@ AC_SEARCH_LIBS(crypt, crypt)
 
 # Checks for header files.
 AC_CHECK_HEADERS([grp.h syslog.h sys/param.h])
+AC_CHECK_DECL(key_setnet,
+       AC_DEFINE(HAVE_DECL_KEY_SETNET,1,
+            [Define to 1 if your headers define the key_setnet() function.]),
+       [],[
+#include <rpc/rpc.h>
+#include <rpc/key_prot.h>
+])
 
 # Checks for typedefs, structures, and compiler characteristics.
 AC_TYPE_SIGNAL
@@ -108,15 +115,6 @@ XTRANS_CONNECTION_FLAGS
 XTRANS_SECURE_RPC_FLAGS
 AM_CONDITIONAL(HAS_SECURE_RPC, test x$SECURE_RPC = xyes)
 
-dnl Is key_setnet defined in a header file?
-AC_CHECK_DECL(key_setnet, 
-       AC_DEFINE(HAVE_DECL_KEY_SETNET,1,
-            [Define to 1 if your headers define the key_setnet() function.]),
-       [],[
-#include <rpc/rpc.h>
-#include <rpc/key_prot.h>
-])
-
 # Check for pluggable authentication modules (PAM) support
 AC_ARG_WITH(pam, AS_HELP_STRING([--with-pam],
        [Use PAM for authentication (default is autodected)]),
-- 
1.6.0.4

_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to