diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 3d77e70..330e3fa 100644 --- a/configure.ac +++ b/configure.ac @@ -46,6 +46,10 @@ AM_PROG_CC_C_O AC_PROG_GCC_TRADITIONAL AC_GNU_SOURCE +# C++ + +AC_PROG_CXX + # GCC flags test_gcc_flag() { @@ -67,6 +71,7 @@ if test "x$GCC" = "xyes" ; then AC_MSG_CHECKING([whether $CC accepts $flag]) if test_gcc_flag $flag ; then CFLAGS="$CFLAGS $flag" + CXXFLAGS="$CXXFLAGS $flag" AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) @@ -367,6 +372,8 @@ echo " localstatedir: ${localstatedir} Compiler: ${CC} CFLAGS: ${CFLAGS} + C++-Compiler: ${CXX} + CXXFLAGS: ${CXXFLAGS} Enable OSS: ${ENABLE_OSS} Enable Alsa: ${ENABLE_ALSA} Enable Solaris: ${ENABLE_SOLARIS} |