diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index ee669dded..cb903955c 100644 --- a/configure.ac +++ b/configure.ac @@ -47,12 +47,21 @@ AC_PROG_LIBTOOL AC_ISC_POSIX AC_PROG_CC -AC_PROG_CXX AM_PROG_CC_STDC AC_HEADER_STDC + +AC_PROG_CXX + AC_PATH_PROG([GLIB_GENMARSHAL], [glib-genmarshal]) AC_PATH_PROG([GLIB_MKENUMS],[glib-mkenums]) +# Check whether a C++ was found (AC_PROG_CXX sets $CXX to "g++" even when it +# doesn't exist) + +AC_LANG_PUSH([C++]) +AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],[])],[],[AC_MSG_ERROR([No C++ compiler found])]) +AC_LANG_POP([C++]) + IT_PROG_INTLTOOL([0.35.0]) PKG_PROG_PKG_CONFIG |