diff options
Diffstat (limited to 'aclocal.m4')
-rw-r--r-- | aclocal.m4 | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -11,8 +11,9 @@ dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A dnl PARTICULAR PURPOSE. AC_DEFUN(DJ_AC_STL, [ -AC_MSG_CHECKING(for for STL versions) +AC_MSG_CHECKING(for STL versions) AC_CACHE_VAL(ac_cv_stl,[ + AC_LANG_CPLUSPLUS AC_TRY_COMPILE([#include <iostream>], [ using namespace std; char bbuuff[5120]; @@ -23,6 +24,7 @@ AC_CACHE_VAL(ac_cv_stl,[ ), ]) +AC_LANG_C if test x"${ac_cv_stl}" != x"v2" ; then AC_MSG_RESULT(v3) AC_DEFINE(HAVE_STL3) |