* Fixed the CXX check.

* Updated NEWS.


git-svn-id: svn://svn.zoy.org/elk/trunk@171 55e467fa-43c5-0310-a8a2-de718669efc6
This commit is contained in:
sam 2003-09-20 02:27:44 +00:00
parent b3dfa6f946
commit bae12ce1f8
2 changed files with 6 additions and 6 deletions

2
NEWS
View File

@ -5,7 +5,7 @@ Changes between 3.0 and 4.0:
* Not released yet. * 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. + Proper plugin support under Win32 and HP-UX.
+ Compilation fixes. + Compilation fixes.
+ Minor bugs fixed. + Minor bugs fixed.

View File

@ -418,11 +418,11 @@ dnl
CFLAGS_save="${CFLAGS}" CFLAGS_save="${CFLAGS}"
LDFLAGS_save="${LDFLAGS}" LDFLAGS_save="${LDFLAGS}"
if test -n "${CXX}"; then AC_CACHE_CHECK([if \$CXX really works],
ac_cv_my_have_cxx=yes [ac_cv_my_have_cxx],
else [AC_LANG_PUSH(C++)
ac_cv_my_have_cxx=no AC_TRY_COMPILE([],,ac_cv_my_have_cxx=yes, ac_cv_my_have_cxx=no)
fi AC_LANG_POP(C++)])
AM_CONDITIONAL(HAVE_CXX, test "${ac_cv_my_have_cxx}" = "yes") AM_CONDITIONAL(HAVE_CXX, test "${ac_cv_my_have_cxx}" = "yes")
AC_CACHE_CHECK([if \$CC accepts -Wall], AC_CACHE_CHECK([if \$CC accepts -Wall],