]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
build: Fix "make install" failure with --disable-shared on glibc systems.
authorBruno Haible <bruno@clisp.org>
Sun, 12 May 2019 21:26:04 +0000 (23:26 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 13 Apr 2020 10:45:10 +0000 (12:45 +0200)
Reported by Gabor Z. Papp <gzp@papp.hu>.

This is a regression from 2018-11-25.

* gettext-tools/configure.ac (PRELOADABLE_LIBINTL): Set to false if
--disable-shared was specified.

gettext-tools/configure.ac

index 6d8d752656aa9036b69550d07a48b17b4b415b17..7d6fbad7f4267e3570433f18b2f5f0a461c687be 100644 (file)
@@ -126,7 +126,7 @@ AM_CONDITIONAL([USE_INCLUDED_LIBINTL], [test $USE_INCLUDED_LIBINTL = yes])
 AM_CONDITIONAL([BUILD_INCLUDED_LIBINTL], [test $BUILD_INCLUDED_LIBINTL = yes])
 AM_CONDITIONAL([PACKAGE_IS_GETTEXT_TOOLS], [true])
 AM_CONDITIONAL([PRELOADABLE_LIBINTL],
-  [test $USE_INCLUDED_LIBINTL = no && test $GLIBC2 = yes])
+  [test $USE_INCLUDED_LIBINTL = no && test $GLIBC2 = yes && test "$enable_shared" = yes])
 
 dnl This line internationalizes the bison generated parsers.
 BISON_I18N