Beautify configure output
authorMatthias Clasen <mclasen@redhat.com>
Thu, 5 Aug 2010 05:53:15 +0000 (01:53 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 5 Aug 2010 05:53:15 +0000 (01:53 -0400)
Checking for cpp before using it avoids somewhat ugly
nested output. Pointed out in bug 593544.

configure.ac

index 8d7c725..72740ad 100644 (file)
@@ -100,6 +100,10 @@ AC_SUBST(LT_CURRENT_MINUS_AGE)
 dnl Initialize maintainer mode
 AM_MAINTAINER_MODE
 
+dnl Checks for programs.
+AC_PROG_CC
+AC_PROG_CPP
+
 AC_CANONICAL_HOST
 
 AC_MSG_CHECKING([for the BeOS])
@@ -259,10 +263,6 @@ AC_SUBST(GLIB_RUNTIME_LIBDIR)
 AC_SUBST(ABS_GLIB_RUNTIME_LIBDIR)
 AM_CONDITIONAL(HAVE_GLIB_RUNTIME_LIBDIR, [test "x$with_runtime_libdir" != "x"])
 
-dnl Checks for programs.
-AC_PROG_CC
-AC_PROG_CPP
-
 dnl Check for a working C++ compiler, but do not bail out, if none is found.
 AC_CHECK_TOOLS(CXX, [$CCC c++ g++ gcc CC cxx cc++ cl], [gcc])
 AC_LANG_SAVE