Beautify configure output

Checking for cpp before using it avoids somewhat ugly
nested output. Pointed out in bug 593544.
This commit is contained in:
Matthias Clasen 2010-08-05 01:53:15 -04:00
parent 530f67384e
commit 84d3aa652f

View 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