mirror of
https://github.com/openharmony/third_party_gettext.git
synced 2026-07-21 00:25:49 -04:00
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:
@@ -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
|
||||
|
||||
@@ -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"])
|
||||
|
||||
Reference in New Issue
Block a user