summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index fdc682d..27f8bab 100644
--- a/configure.in
+++ b/configure.in
@@ -42,12 +42,16 @@ AC_CONFIG_LIBTOOL
AC_LIBTOOL_WIN32_DLL
AC_PROG_LIBTOOL
-# Check for ICC and Sun Studio compilers
+# For that the compiler works and try to come up with the type
AC_LANG(C)
+AC_CHECK_LANG_COMPILER
+
AC_CHECK_LANG_ICC
AC_CHECK_LANG_SUN_STUDIO
AC_LANG(C++)
+AC_CHECK_LANG_COMPILER
+
AC_CHECK_LANG_ICC
AC_CHECK_LANG_SUN_STUDIO