[pango] Add CXX check to configure
- From: Behdad Esfahbod <behdad src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [pango] Add CXX check to configure
- Date: Tue, 11 Aug 2009 14:12:02 +0000 (UTC)
commit 5a53c4d3c134dfc502a91783106374e6e158b225
Author: Behdad Esfahbod <behdad behdad org>
Date: Mon Aug 10 14:45:44 2009 -0400
Add CXX check to configure
configure.in | 11 +----------
1 files changed, 1 insertions(+), 10 deletions(-)
---
diff --git a/configure.in b/configure.in
index 783742a..9034916 100644
--- a/configure.in
+++ b/configure.in
@@ -111,17 +111,8 @@ AC_SUBST(LIB_EXE_MACHINE_FLAG)
AM_CONDITIONAL(OS_WIN32, test "$pango_os_win32" = "yes")
AC_PROG_CC
-
-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_LANG_SAVE
-AC_LANG_CPLUSPLUS
-AC_TRY_COMPILE(,[class a { int b; } c;], ,CXX=)
+AC_PROG_CXX
AM_CONDITIONAL(HAVE_CXX, test "$CXX" != "")
-AC_LANG_RESTORE
AC_LIBTOOL_WIN32_DLL
AM_DISABLE_STATIC
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]