diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2009-08-10 14:45:44 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2009-08-10 14:45:44 -0400 |
commit | 5a53c4d3c134dfc502a91783106374e6e158b225 (patch) | |
tree | 0f85a3c2b075689e2376adb1bc26c247788d3f61 | |
parent | b2ff4fa41d33af6c3f784d26667d5aa2ad81ebd3 (diff) | |
download | pango-5a53c4d3c134dfc502a91783106374e6e158b225.tar.gz |
Add CXX check to configure
-rw-r--r-- | configure.in | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/configure.in b/configure.in index 783742a4..9034916b 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 |