]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Use gnulib inside gettext-runtime directory.
authorBruno Haible <bruno@clisp.org>
Thu, 3 Aug 2006 11:40:15 +0000 (11:40 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:13:51 +0000 (12:13 +0200)
15 files changed:
ChangeLog
autogen.sh
gettext-runtime/ChangeLog
gettext-runtime/Makefile.am
gettext-runtime/configure.ac
gettext-runtime/intl-csharp/ChangeLog
gettext-runtime/intl-csharp/Makefile.am
gettext-runtime/intl-java/ChangeLog
gettext-runtime/intl-java/Makefile.am
gettext-runtime/po/ChangeLog
gettext-runtime/po/POTFILES.in
gettext-runtime/src/ChangeLog
gettext-runtime/src/Makefile.am
gnulib-local/ChangeLog
gnulib-local/Makefile.am

index de97e9dcc8a73ac714a0f06cd31d6987dd64ed66..8176354b24a67ec4d0b13fe90809f4f9c31e236e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-07-31  Bruno Haible  <bruno@clisp.org>
+
+       * autogen.sh: Invoke gnulib-tool inside gettext-runtime directory.
+       Append gettext-runtime/gnulib-m4 to the macro search path; remove
+       references to gettext-tools from gettext-runtime.
+
 2006-08-02  Bruno Haible  <bruno@clisp.org>
 
        * Makefile.am (SUBDIRS): Add gnulib-local.
index f48d0deab0e3de8921efc9c643901b794bc2b1ad..16a6673651eaff4d9fa00ef61378c6b118a4cc47 100755 (executable)
@@ -51,6 +51,32 @@ fi
 # Skip the gnulib-tool step if gnulib-tool was not found.
 if test -n "$GNULIB_TOOL"; then
   # In gettext-runtime:
+  GNULIB_MODULES_FOR_SRC='
+  atexit
+  basename
+  closeout
+  error
+  exit
+  getopt
+  gettext-h
+  memmove
+  progname
+  propername
+  relocatable
+  relocwrapper
+  stdbool
+  strtoul
+  unlocked-io
+  xalloc
+  '
+  GNULIB_MODULES_OTHER='
+  gettext-runtime-misc
+  csharpcomp-script
+  java
+  javacomp-script
+  '
+  $GNULIB_TOOL --dir=gettext-runtime --lib=libgrt --source-base=gnulib-lib --m4-base=gnulib-m4 --no-libtool --local-dir=gnulib-local \
+    --import $GNULIB_MODULES_FOR_SRC $GNULIB_MODULES_OTHER
   # In gettext-tools:
   GNULIB_MODULES_FOR_SRC='
   alloca-opt
@@ -148,7 +174,7 @@ fi
 )
 
 (cd gettext-runtime
- aclocal -I m4 -I ../gettext-tools/m4 -I ../gettext-tools/gnulib-m4 -I ../autoconf-lib-link/m4 -I ../m4
+ aclocal -I m4 -I gnulib-m4 -I ../autoconf-lib-link/m4 -I ../m4
  autoconf
  autoheader && touch config.h.in
  automake
index 379134253d52a25af72f02cf81994d0f02f4a239..adf1877eb54e37e477b8e634f66f429c2d9590e4 100644 (file)
@@ -1,3 +1,20 @@
+2006-07-31  Bruno Haible  <bruno@clisp.org>
+
+       * Makefile.am (ACLOCAL_AMFLAGS): Append gnulib-m4. Remove
+       ../gettext-tools/m4 and ../gettext-tools/gnulib-m4.
+       (SUBDIRS): Replace lib with gnulib-lib.
+       * configure.ac (AC_PREREQ): Bump to 2.59.
+       (gl_EARLY): Invoke.
+       (AC_GNU_SOURCE, gl_USE_SYSTEM_EXTENSIONS): Remove invocations.
+       (gl_INIT): Invoke.
+       (string.h, AM_STDBOOL_H, gl_ALLOCSA, strerror, strstr, atexit, memmove,
+       gl_GETOPT, gt_FUNC_SETENV, gl_FUNC_STRERROR, gl_FUNC_STRTOUL,
+       gl_FUNC_GLIBC_UNLOCKED_IO, gl_ERROR, gl_PATHMAX, gl_FUNC_READLINK,
+       gl_XREADLINK, gl_CANONICALIZE): Remove tests done directly or
+       indirectly by gl_INIT.
+       (AC_CONFIG_FILES): Add gnulib-lib/Makefile, remove lib/Makefile.
+       Remove lib/javacomp.sh, lib/csharpcomp.sh.
+
 2006-07-30  Bruno Haible  <bruno@clisp.org>
 
        * Makefile.am (ACLOCAL_AMFLAGS): Append ../gettext-tools/gnulib-m4.
index 6d5bf1432ec8753ee26841ae37342671734e1cb6..9393ccb66e61f16c5a022d0d547bb24555b1472f 100644 (file)
@@ -18,7 +18,7 @@
 ## Process this file with automake to produce Makefile.in.
 
 AUTOMAKE_OPTIONS = 1.5 gnu no-dependencies
-ACLOCAL_AMFLAGS = -I m4 -I ../gettext-tools/m4 -I ../gettext-tools/gnulib-m4 -I ../autoconf-lib-link/m4 -I ../m4
+ACLOCAL_AMFLAGS = -I m4 -I gnulib-m4 -I ../autoconf-lib-link/m4 -I ../m4
 
 MAKEINFO = env LANG= LC_MESSAGES= LC_ALL= LANGUAGE= @MAKEINFO@
 
@@ -29,7 +29,7 @@ SUBDIR_libasprintf = libasprintf
 else
 SUBDIR_libasprintf =
 endif
-SUBDIRS = doc intl intl-java intl-csharp lib $(SUBDIR_libasprintf) src po man m4 tests
+SUBDIRS = doc intl intl-java intl-csharp gnulib-lib $(SUBDIR_libasprintf) src po man m4 tests
 
 EXTRA_DIST = BUGS
 
index a5b4149b57f68408b87eff8dd2bde44323b91376..03f6426351d678bbadb389fd4d8624f31e9cdabc 100644 (file)
@@ -17,7 +17,7 @@ dnl Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
 dnl Process this file with autoconf to produce a configure script.
 
-AC_PREREQ(2.57)
+AC_PREREQ([2.59])
 AC_INIT
 AC_CONFIG_SRCDIR(intl/dcigettext.c)
 AC_CONFIG_AUX_DIR(../build-aux)
@@ -60,8 +60,7 @@ AC_OBJEXT
 AC_EXEEXT
 
 dnl Make sure we see all GNU and Solaris extensions.
-AC_GNU_SOURCE
-gl_USE_SYSTEM_EXTENSIONS
+gl_EARLY
 
 dnl Check for build configuration.
 gl_WOE32_DLL
@@ -76,27 +75,10 @@ dnl These are the only lines required to internationalize the package.
 dnl (OK, not quite, the AC_CONFIG_FILES has also some parts.)
 AM_GNU_GETTEXT(use-libtool, need-ngettext)
 
-dnl Checks for header files.
-AC_CHECK_HEADERS(string.h)
-AM_STDBOOL_H
-
-dnl Checks for typedefs, structures, and compiler characteristics.
+dnl Checks for header files, functions and declarations.
+gl_INIT
 AC_TYPE_SIZE_T
-
-dnl Checks for library functions.
-gl_ALLOCSA
-AC_CHECK_FUNCS([setlocale strerror strstr])
-AC_REPLACE_FUNCS([atexit memmove])
-gl_GETOPT
-gt_FUNC_SETENV
-gl_FUNC_STRERROR
-gl_FUNC_STRTOUL
-gl_FUNC_GLIBC_UNLOCKED_IO
-gl_ERROR
-gl_PATHMAX
-gl_FUNC_READLINK
-gl_XREADLINK
-gl_CANONICALIZE
+AC_CHECK_FUNCS([setlocale])
 
 dnl Put some default definitions into config.h.
 AH_BOTTOM([
@@ -158,10 +140,8 @@ AC_CONFIG_FILES([intl-java/Makefile])
 
 AC_CONFIG_FILES([intl-csharp/Makefile])
 
-AC_CONFIG_FILES([lib/Makefile],
+AC_CONFIG_FILES([gnulib-lib/Makefile],
                 [FIX_MAKEFILE_COMPILE])
-AC_CONFIG_FILES([lib/javacomp.sh:../build-aux/javacomp.sh.in])
-AC_CONFIG_FILES([lib/csharpcomp.sh:../build-aux/csharpcomp.sh.in])
 
 AC_CONFIG_FILES([src/Makefile],
                 [FIX_MAKEFILE_COMPILE])
index 235279055496f78a721bfb8f7ac16111cd310d8b..b8eae453ca7e2d775959cefa78bf0b3f1a5aca63 100644 (file)
@@ -1,3 +1,8 @@
+2006-07-31  Bruno Haible  <bruno@clisp.org>
+
+       * Makefile.am (CSHARPCOMP): Update for changed location of
+       csharpcomp.sh.
+
 2006-07-21  Bruno Haible  <bruno@clisp.org>
 
        * gettext-0.15 released.
index 46864afbd1fea34e5507ee2da3670617f7522a58..ea7a9fb900d231b450f6e86f7a574beec00c737e 100644 (file)
@@ -23,7 +23,7 @@ CLEANFILES =
 
 RM = rm -f
 
-CSHARPCOMP = $(SHELL) ../lib/csharpcomp.sh
+CSHARPCOMP = $(SHELL) ../csharpcomp.sh
 CSHARPCOMPFLAGS = @CSHARPCOMPFLAGS@
 
 
index d380213c454558067cbbff2d46aba7abf9ad7e2b..4dbd82bf5700130b9e8792d164b80983fdaaf145 100644 (file)
@@ -1,3 +1,7 @@
+2006-07-31  Bruno Haible  <bruno@clisp.org>
+
+       * Makefile.am (JAVACOMP): Update for changed location of javacomp.sh.
+
 2006-07-21  Bruno Haible  <bruno@clisp.org>
 
        * gettext-0.15 released.
index 86a2bf759b66f4181e5c827c6a786dd97349fc84..0a2425bc34ca9c56b74427b0c067dc35072af749 100644 (file)
@@ -26,7 +26,7 @@ RM = rm -f
 jardir = $(datadir)/gettext
 
 JAR = @JAR@
-JAVACOMP = $(SHELL) ../lib/javacomp.sh
+JAVACOMP = $(SHELL) ../javacomp.sh
 JAVADOC1 = test ! -d /usr/lib/jdk1.1.8 || env PATH=/usr/lib/jdk1.1.8/bin:$$PATH javadoc
 JAVADOC2 = test ! -d /usr/lib/jdk1.3.1 || env PATH=/usr/lib/jdk1.3.1/bin:$$PATH javadoc
 
index 2f67d45ae38343b25b0dc3f60a00ae5ce9912c14..db2741a671686469c1895538dfee19627a7c6fb4 100644 (file)
@@ -1,3 +1,7 @@
+2006-07-31  Bruno Haible  <bruno@clisp.org>
+
+       * POTFILES.in: Refer to gnulib-lib/ instead of ../gettext-tools/lib/.
+
 2006-07-25  Bruno Haible  <bruno@clisp.org>
 
        * Rules-msvc: Remove file.
index 5c2329e697e06e2229f0b49c0351e4b319f7459e..cbff73f33af29303dd212afb1d6dab93ad6123ac 100644 (file)
@@ -1,14 +1,14 @@
 # List of files which contain translatable strings.
-# Copyright (C) 1995, 1998, 2001-2003, 2005 Free Software Foundation, Inc.
+# Copyright (C) 1995, 1998, 2001-2003, 2005-2006 Free Software Foundation, Inc.
 
 # For updating this file, look at the result of:
-#   $ LC_ALL=C grep -l '[^A-Za-z_]_(' {lib,src}/*.[chly]
+#   $ LC_ALL=C grep -l '[^A-Za-z_]_(' {gnulib-lib,src}/*.[chly]
 
-# Files from the compatibility library
-../gettext-tools/lib/closeout.c
-../gettext-tools/lib/error.c
-../gettext-tools/lib/getopt.c
-../gettext-tools/lib/xmalloc.c
+# Files from the portability library
+gnulib-lib/closeout.c
+gnulib-lib/error.c
+gnulib-lib/getopt.c
+gnulib-lib/xmalloc.c
 
 # Package source files
 src/envsubst.c
index 33de8aefdc68af8b0c3bee56ab1efd3d7beb2049..19e88f7f746065c54fd28aba8d6305e7d11a05a3 100644 (file)
@@ -1,3 +1,9 @@
+2006-07-31  Bruno Haible  <bruno@clisp.org>
+
+       * Makefile.am (AM_CPPFLAGS, LDADD, RELOCATABLE_SRC_DIR,
+       RELOCATABLE_BUILD_DIR): Replace lib and ../gettext-tools/lib with
+       gnulib-lib.
+
 2006-07-30  Bruno Haible  <bruno@clisp.org>
 
        * Makefile.am (AM_CPPFLAGS): Replace gettext-tools/lib with
index 548c961cad3cc3445534692d3e0b08866310af87..289d36007d6ae69abc3dc2a4f9746774fdd82cf8 100644 (file)
@@ -29,8 +29,7 @@ AM_CPPFLAGS = \
   -I. -I$(srcdir) \
   -I.. \
   -I../intl -I$(srcdir)/../intl \
-  -I../lib -I$(srcdir)/../lib \
-  -I../../gettext-tools/gnulib-lib -I$(srcdir)/../../gettext-tools/gnulib-lib
+  -I../gnulib-lib -I$(srcdir)/../gnulib-lib
 DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
 
 # Source dependencies.
@@ -40,7 +39,7 @@ envsubst_SOURCES = envsubst.c
 
 # Link dependencies.
 # Need @LTLIBICONV@ because iconvstring.c uses iconv().
-LDADD = ../lib/libgrt.a @LTLIBINTL@ @LTLIBICONV@
+LDADD = ../gnulib-lib/libgrt.a @LTLIBINTL@ @LTLIBICONV@
 
 # Specify installation directory, for --enable-relocatable.
 gettext_CFLAGS = -DINSTALLDIR=\"$(bindir)\"
@@ -58,7 +57,7 @@ DISTCLEANFILES += gettext.sh
 
 # Support for relocatability.
 RELOCATABLE_LIBRARY_PATH = $(libdir)
-RELOCATABLE_SRC_DIR = $(top_srcdir)/../gettext-tools/lib
-RELOCATABLE_BUILD_DIR = ../lib
+RELOCATABLE_SRC_DIR = $(top_srcdir)/gnulib-lib
+RELOCATABLE_BUILD_DIR = ../gnulib-lib
 RELOCATABLE_CONFIG_H_DIR = ..
 @SET_RELOCATABLE@
index 309194b51da4f5e38f405d40ed6a2d22b401604c..ed54514b6ae31f0249e1f7a4b9cee3ed6a12498a 100644 (file)
@@ -1,3 +1,8 @@
+2006-07-31  Bruno Haible  <bruno@clisp.org>
+
+       * modules/gettext-runtime-misc: New file.
+       * Makefile.am (EXTRA_DIST): Add it.
+
 2006-08-02  Bruno Haible  <bruno@clisp.org>
 
        * Makefile.am: New file.
index 5ee0100fb8e04b4cd68ee2a8048d4506643b52d6..75dd0215563ce377919e9d4c14a7f0610afea54d 100644 (file)
@@ -112,6 +112,7 @@ modules/gcj \
 modules/gen-lbrkprop \
 modules/getline \
 modules/getndelim2 \
+modules/gettext-runtime-misc \
 modules/gettext-tools-misc \
 modules/hash \
 modules/iconvstring \