]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
build: Simplify further.
authorBruno Haible <bruno@clisp.org>
Sun, 20 Jun 2021 12:25:39 +0000 (14:25 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 20 Jun 2021 14:09:51 +0000 (16:09 +0200)
* gettext-runtime/intl/Makefile.am: Assume BUILD_INCLUDED_LIBINTL is true.
* gettext-runtime/intl/configure.ac: Remove BUILD_INCLUDED_LIBINTL conditional.
* gettext-runtime/m4/gettext.m4 (AM_GNU_GETTEXT): Don't set
BUILD_INCLUDED_LIBINTL.

gettext-runtime/intl/Makefile.am
gettext-runtime/intl/configure.ac
gettext-runtime/m4/gettext.m4

index a4a099933d2e317275d995a107f467ab33d22db2..c33c7b7858e3162004d50cd9c8d71e7c0c2756f3 100644 (file)
@@ -208,11 +208,9 @@ nodist_include_HEADERS = libintl.h
 noinst_LTLIBRARIES = libintl.la
 libintl_la_SOURCES = $(LIBINTLSOURCES)
 else
-if BUILD_INCLUDED_LIBINTL
 noinst_LTLIBRARIES = libgnuintl.la
 libgnuintl_la_SOURCES = $(LIBINTLSOURCES)
 endif
-endif
 
 # export.h is an auxiliary file used in constructing the .h files.
 EXTRA_DIST += export.h
index 13d7cfa707e9524f018c1c795920c8515ea25d32..3f829e0a47bc8f17f6274e7d9a8eb8e834b3512f 100644 (file)
@@ -85,7 +85,6 @@ dnl (OK, not quite, the AC_CONFIG_FILES has also some parts.)
 AM_GNU_GETTEXT([here], [need-ngettext])
 dnl Conditionals for the intl/ directory.
 AM_CONDITIONAL([USE_INCLUDED_LIBINTL], [test $USE_INCLUDED_LIBINTL = yes])
-AM_CONDITIONAL([BUILD_INCLUDED_LIBINTL], [test $BUILD_INCLUDED_LIBINTL = yes])
 AM_CONDITIONAL([PRELOADABLE_LIBINTL],
   [test $USE_INCLUDED_LIBINTL = no && test $GLIBC2 = yes && test "$enable_shared" = yes])
 
index c799ba2bf0898a321eab959d77ba405df5cccd07..a841d9c50e47d4cdef6dec9e8b4d35beaa08958f 100644 (file)
@@ -1,4 +1,4 @@
-# gettext.m4 serial 74 (gettext-0.21.1)
+# gettext.m4 serial 75 (gettext-0.21.1)
 dnl Copyright (C) 1995-2014, 2016, 2018-2021 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -98,7 +98,6 @@ AC_DEFUN([AM_GNU_GETTEXT],
   AC_REQUIRE([AM_NLS])
 
   m4_if(gt_building_libintl_in_same_build_tree, yes, [
-    BUILD_INCLUDED_LIBINTL=no
     USE_INCLUDED_LIBINTL=no
   ])
   LIBINTL=
@@ -271,7 +270,6 @@ return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
 
       if test "$nls_cv_use_gnu_gettext" = "yes"; then
         dnl Mark actions used to generate GNU NLS library.
-        BUILD_INCLUDED_LIBINTL=yes
         USE_INCLUDED_LIBINTL=yes
         LIBINTL="m4_if([$3],[],\${top_builddir}/intl,[$3])/libintl.la $LIBICONV $LIBTHREAD"
         LTLIBINTL="m4_if([$3],[],\${top_builddir}/intl,[$3])/libintl.la $LTLIBICONV $LTLIBTHREAD"
@@ -342,12 +340,7 @@ return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
   fi
 
   m4_if(gt_building_libintl_in_same_build_tree, yes, [
-    dnl In GNU gettext we have to set BUILD_INCLUDED_LIBINTL to 'yes'
-    dnl because some of the testsuite requires it.
-    BUILD_INCLUDED_LIBINTL=yes
-
     dnl Make all variables we use known to autoconf.
-    AC_SUBST([BUILD_INCLUDED_LIBINTL])
     AC_SUBST([USE_INCLUDED_LIBINTL])
     AC_SUBST([CATOBJEXT])
   ])