From e854d2c7f6a6276fba9e34e2e406ea76df80c7dd Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Thu, 2 Oct 2014 17:44:41 +0900 Subject: [PATCH] Fix C++ compiler check to auto-disable building libasprintf * gettext-runtime/configure.ac: To automatically disable building libasprintf when no C++ is found, check if CXX is "no", not ":". This seems to be a left over of commit 09963c23. Reported by Assaf Gordon in: . --- gettext-runtime/ChangeLog | 7 +++++++ gettext-runtime/configure.ac | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gettext-runtime/ChangeLog b/gettext-runtime/ChangeLog index d6b52b73d..4f54b2913 100644 --- a/gettext-runtime/ChangeLog +++ b/gettext-runtime/ChangeLog @@ -1,3 +1,10 @@ +2014-10-02 Daiki Ueno + + * configure.ac: To automatically disable building libasprintf when + no C++ is found, check if CXX is "no", not ":". This seems to be + a left over of commit 09963c23. Reported by Assaf Gordon in: + . + 2014-09-30 Paul Eggert * configure.ac: Invoke AM_PROG_CC_C_O so that the system stdbool.h diff --git a/gettext-runtime/configure.ac b/gettext-runtime/configure.ac index d0b2a3ce6..172f96e50 100644 --- a/gettext-runtime/configure.ac +++ b/gettext-runtime/configure.ac @@ -167,7 +167,7 @@ AC_ARG_ENABLE([libasprintf], SUBDIR_libasprintf= fi ], [SUBDIR_libasprintf=libasprintf]) -if test "$CXX" = ":"; then +if test "$CXX" = "no"; then SUBDIR_libasprintf= fi AM_CONDITIONAL([ENABLE_LIBASPRINTF], [test -n "$SUBDIR_libasprintf"]) -- 2.47.2