diff options
author | Daiki Ueno <ueno@gnu.org> | 2014-10-02 17:44:41 +0900 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2014-10-02 17:48:34 +0900 |
commit | e854d2c7f6a6276fba9e34e2e406ea76df80c7dd (patch) | |
tree | e3a83213cd0a42ccb6a28d934646adeb7cb9c849 /gettext-runtime | |
parent | d3398edd1e2524c524978c8c667e78658ed1637e (diff) | |
download | external_gettext-e854d2c7f6a6276fba9e34e2e406ea76df80c7dd.zip external_gettext-e854d2c7f6a6276fba9e34e2e406ea76df80c7dd.tar.gz external_gettext-e854d2c7f6a6276fba9e34e2e406ea76df80c7dd.tar.bz2 |
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>.
Diffstat (limited to 'gettext-runtime')
-rw-r--r-- | gettext-runtime/ChangeLog | 7 | ||||
-rw-r--r-- | gettext-runtime/configure.ac | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/gettext-runtime/ChangeLog b/gettext-runtime/ChangeLog index d6b52b7..4f54b29 100644 --- a/gettext-runtime/ChangeLog +++ b/gettext-runtime/ChangeLog @@ -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 diff --git a/gettext-runtime/configure.ac b/gettext-runtime/configure.ac index d0b2a3c..172f96e 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"]) |