Index: trunk/FACT++/configure.ac
===================================================================
--- trunk/FACT++/configure.ac	(revision 10461)
+++ trunk/FACT++/configure.ac	(revision 10463)
@@ -96,4 +96,14 @@
    AC_MSG_ERROR([ncurses panel library not found]))
 
+# Xm.h (lesstif/motif, needed to compile did)
+AC_FIND_MOTIF
+
+CPPFLAGS+=" "$MOTIF_INCL" "
+LDFLAGS+=" "$MOTIF_LDFLAGS" "
+
+AM_COND_IF(HAS_LIBXP,, 
+      AC_MSG_WARN([ Motif/lesstif not found!])
+)
+
 # Needed to compile FACT++
 AC_CHECK_PACKAGE(cfitsio, ffpss, cfitsio, fitsio.h,,
@@ -113,19 +123,4 @@
 #AC_CHECK_LIB(CCfits, main,,
 #   AC_MSG_ERROR(CCfits library not found))
-
-
-######################################################################
-# Xm.h (lesstif/motif, needed by did)
-######################################################################
-
-# Needed to compile dim
-AC_FIND_MOTIF
-
-CPPFLAGS+=" "$MOTIF_INCL" "
-LDFLAGS+=" "$MOTIF_LDFLAGS" "
-
-AM_COND_IF(HAS_LIBXP,, 
-      AC_MSG_WARN([ Motif/lesstif not found!])
-)
 
 ######################################################################
@@ -357,6 +352,6 @@
    AC_MSG_NOTICE([ QT4 support enabled    /  QT4 toolkit      found: no])
 )
-AC_MSG_NOTICE([ ROOT support enabled   /  root >= 5.12/00  found: $ROOTEXEC])
-AC_MSG_NOTICE([ ROOT built with --with-qt                  found: $HAVE_ROOT_QT])
+AC_MSG_NOTICE([ ROOT support enabled   /  root >= 5.12/00   found: $ROOTEXEC])
+AC_MSG_NOTICE([ ROOT built with --with-qt                   found: $HAVE_ROOT_QT])
 AC_MSG_NOTICE()
 AC_MSG_NOTICE(--------------------------------------------------------------------)
