Bug 532497 – Configure problem when cross-compiling

2008-05-25  Matthias Clasen  <mclasen@redhat.com>

        Bug 532497 – Configure problem when cross-compiling

        * configure.in: Use AC_CHECK_TOOLS to find C++ compiler,
        pointed out by Marko Lindqvist.


svn path=/trunk/; revision=20156
This commit is contained in:
Matthias Clasen 2008-05-25 20:18:16 +00:00 committed by Matthias Clasen
parent cd697bb2e3
commit bd4acfe467
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2008-05-25 Matthias Clasen <mclasen@redhat.com>
Bug 532497 Configure problem when cross-compiling
* configure.in: Use AC_CHECK_TOOLS to find C++ compiler,
pointed out by Marko Lindqvist.
2008-05-25 Richard Hult <richard@imendio.com>
* gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):

View File

@ -147,7 +147,7 @@ dnl
dnl Check for a working C++ compiler, but do not bail out, if none is found.
dnl We use this for an automated test for C++ header correctness.
dnl
AC_CHECK_PROGS(CXX, [$CCC c++ g++ gcc CC cxx cc++ cl], gcc)
AC_CHECK_TOOLS(CXX, [$CCC c++ g++ gcc CC cxx cc++ cl], gcc)
AC_LANG_SAVE
AC_LANG_CPLUSPLUS