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:
<https://lists.gnu.org/archive/html/bug-gettext/2014-10/msg00003.html>.
This commit is contained in:
Daiki Ueno
2014-10-02 17:44:41 +09:00
parent d3398edd1e
commit e854d2c7f6
2 changed files with 8 additions and 1 deletions
+7
View File
@@ -1,3 +1,10 @@
2014-10-02 Daiki Ueno <ueno@gnu.org>
* 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:
<https://lists.gnu.org/archive/html/bug-gettext/2014-10/msg00003.html>.
2014-09-30 Paul Eggert <eggert@cs.ucla.edu>
* configure.ac: Invoke AM_PROG_CC_C_O so that the system stdbool.h
+1 -1
View File
@@ -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"])