aboutsummaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m44
1 files changed, 3 insertions, 1 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index f5b577e..f6571f5 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -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)