projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b64ee1f
)
Fix check for C++ compiler when cross-compiling
author
Hib Eris
<hib@hiberis.nl>
Tue, 3 Nov 2009 13:06:29 +0000
(15:06 +0200)
committer
Tor Lillqvist
<tml@iki.fi>
Tue, 3 Nov 2009 13:06:29 +0000
(15:06 +0200)
Use AC_CHECK_TOOLS instead of AC_CHECK_PROGS. Patch from bug #577711.
configure.in
patch
|
blob
|
history
diff --git
a/configure.in
b/configure.in
index
5e409c6
..
3cf30d7
100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-267,7
+267,7
@@
AC_PROG_CC
AC_PROG_CPP
dnl Check for a working C++ compiler, but do not bail out, if none is found.
-AC_CHECK_
PROG
S(CXX, [$CCC c++ g++ gcc CC cxx cc++ cl], [gcc])
+AC_CHECK_
TOOL
S(CXX, [$CCC c++ g++ gcc CC cxx cc++ cl], [gcc])
AC_LANG_SAVE
AC_LANG_CPLUSPLUS
AC_TRY_COMPILE(,[class a { int b; } c;], ,CXX=)