From bae12ce1f8eebd364c71ba096f29997f5af8473f Mon Sep 17 00:00:00 2001 From: sam Date: Sat, 20 Sep 2003 02:27:44 +0000 Subject: [PATCH] * Fixed the CXX check. * Updated NEWS. git-svn-id: svn://svn.zoy.org/elk/trunk@171 55e467fa-43c5-0310-a8a2-de718669efc6 --- NEWS | 2 +- configure.ac | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/NEWS b/NEWS index 64b5e0c..1c286d9 100644 --- a/NEWS +++ b/NEWS @@ -5,7 +5,7 @@ Changes between 3.0 and 4.0: * Not released yet. - * New in 3.99.4 prerelease (rev 169): + * New in 3.99.4 prerelease (rev 170): + Proper plugin support under Win32 and HP-UX. + Compilation fixes. + Minor bugs fixed. diff --git a/configure.ac b/configure.ac index b474d13..a5108c0 100644 --- a/configure.ac +++ b/configure.ac @@ -418,11 +418,11 @@ dnl CFLAGS_save="${CFLAGS}" LDFLAGS_save="${LDFLAGS}" -if test -n "${CXX}"; then - ac_cv_my_have_cxx=yes -else - ac_cv_my_have_cxx=no -fi +AC_CACHE_CHECK([if \$CXX really works], + [ac_cv_my_have_cxx], + [AC_LANG_PUSH(C++) + AC_TRY_COMPILE([],,ac_cv_my_have_cxx=yes, ac_cv_my_have_cxx=no) + AC_LANG_POP(C++)]) AM_CONDITIONAL(HAVE_CXX, test "${ac_cv_my_have_cxx}" = "yes") AC_CACHE_CHECK([if \$CC accepts -Wall],