From 1f72e1c4bb4415861f6d54ce75f4478114e09453 Mon Sep 17 00:00:00 2001 From: ellson Date: Wed, 5 Jan 2005 19:41:20 +0000 Subject: [PATCH] bug#603 move AC_PATH_XTRA test before Tk Bob Lied --- configure.ac | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/configure.ac b/configure.ac index 3b5587bf5..5f6d95221 100644 --- a/configure.ac +++ b/configure.ac @@ -198,6 +198,18 @@ if test "x${EFENCE}" != "x"; then LIBS="$LIBS -lefence" fi +dnl ----------------------------------- +dnl Don't compile X programs (and emit a warning message) +dnl if X isn't available. +dnl Checks for X header files. + +AC_PATH_XTRA +if test "X$no_x" = Xyes; then + AC_MSG_WARN([X11 not available.]) + X_SUBDIRS="" +fi +AM_CONDITIONAL(WITH_X, [test "X$no_x" != "Xyes"]) + dnl ----------------------------------- dnl INCLUDES and LIBS for TCL @@ -519,18 +531,6 @@ SOCKET_LIBS=$LIBS AC_SUBST(SOCKET_LIBS) LIBS=$save_LIBS -dnl ----------------------------------- -dnl Don't compile X programs (and emit a warning message) -dnl if X isn't available. -dnl Checks for X header files. - -AC_PATH_XTRA -if test "X$no_x" = Xyes; then - AC_MSG_WARN([X11 not available.]) - X_SUBDIRS="" -fi -AM_CONDITIONAL(WITH_X, [test "X$no_x" != "Xyes"]) - dnl ----------------------------------- dnl INCLUDES and LIBS for EXPAT -- 2.40.0