Reported by "Tom G. Christensen" <tgc@jupiterrise.com> in
<http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3548>.
+** libgnutls: Fix build failure with --disable-cxx.
+Reported by Andreas Metzler <ametzler@downhill.at.eu.org> in
+<http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3557>.
+
** API and ABI modifications:
No changes since last version.
gl_EARLY
AC_C_INLINE
+# For the C++ code
+AC_PROG_CXX
AC_ARG_ENABLE(cxx,
AS_HELP_STRING([--disable-cxx], [unconditionally disable the C++ library]),
use_cxx=$enableval, use_cxx=yes)
if test "$use_cxx" != "no"; then
- AC_PROG_CXX
AC_LANG_PUSH(C++)
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],[])], use_cxx=yes, use_cxx=no)
AC_LANG_POP(C++)
# Finish things from ../configure.ac.
AC_SUBST([WARN_CFLAGS])
+AC_PROG_CXX
AM_CONDITIONAL(ENABLE_CXX, test "$use_cxx" != "no")
-if test "$use_cxx" != "no"; then
- AC_PROG_CXX
-fi
AC_CONFIG_FILES([
Makefile