]> granicus.if.org Git - graphviz/commitdiff
bug#603 move AC_PATH_XTRA test before Tk
authorellson <devnull@localhost>
Wed, 5 Jan 2005 19:41:20 +0000 (19:41 +0000)
committerellson <devnull@localhost>
Wed, 5 Jan 2005 19:41:20 +0000 (19:41 +0000)
Bob Lied <lied@lucent.com>

configure.ac

index 3b5587bf584e05224b460879352e9872503ad9ad..5f6d952212d0a860522dd2c04eed280a97d199cb 100644 (file)
@@ -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