diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index a2a831da535a..112b82b14384 100644 --- a/configure.ac +++ b/configure.ac @@ -7126,6 +7126,7 @@ dnl Identify the C++ library dnl =================================================================== AC_MSG_CHECKING([what the C++ library is]) +HAVE_LIBSTDCPP= AC_LANG_PUSH([C++]) AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <utility> @@ -7135,6 +7136,7 @@ foo bar ]])], [CPP_LIBRARY=GLIBCXX cpp_library_name="GNU libstdc++" + HAVE_LIBSTDCPP=TRUE ], AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <utility> @@ -7158,6 +7160,7 @@ foo bar AC_MSG_ERROR([Could not figure out what C++ library this is])))) AC_MSG_RESULT([$cpp_library_name]) AC_LANG_POP([C++]) +AC_SUBST([HAVE_LIBSTDCPP]) dnl =================================================================== dnl Check for gperf |