SF.net SVN: geany:[2893] trunk
eht16 at users.sourceforge.net
eht16 at xxxxx
Mon Aug 18 10:36:15 UTC 2008
Revision: 2893
http://geany.svn.sourceforge.net/geany/?rev=2893&view=rev
Author: eht16
Date: 2008-08-18 10:36:15 +0000 (Mon, 18 Aug 2008)
Log Message:
-----------
Don't use AC_CHECK_PROG() to check for a C++ compiler as it breaks compatibility with suncc (reported by Andras Barna, thanks).
Modified Paths:
--------------
trunk/ChangeLog
trunk/configure.in
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2008-08-18 10:35:22 UTC (rev 2892)
+++ trunk/ChangeLog 2008-08-18 10:36:15 UTC (rev 2893)
@@ -2,6 +2,9 @@
* scintilla/Makefile.am:
Remove non-portable compiler optimisation '-Os'.
+ * configure.in:
+ Don't use AC_CHECK_PROG() to check for a C++ compiler as it
+ breaks compatibility with suncc (reported by Andras Barna, thanks).
2008-08-17 Enrico Tröger <Enrico Tröger at localhost>
Modified: trunk/configure.in
===================================================================
--- trunk/configure.in 2008-08-18 10:35:22 UTC (rev 2892)
+++ trunk/configure.in 2008-08-18 10:36:15 UTC (rev 2893)
@@ -15,8 +15,8 @@
AC_PROG_CXX
# check for C++ compiler explicitly and fail if none is found, do this check
# after AC_PROG_CXX has set the CXX environment variable
-AC_CHECK_PROG([have_cxx], [$CXX], [yes], [no])
-if test "x$have_cxx" = "xno"; then
+which $CXX >/dev/null 2>&1
+if test "x$?" != "x0"; then
AC_MSG_ERROR([No C++ compiler not found. Please install a C++ compiler.])
fi
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Commits
mailing list