+2006-07-30 Bruno Haible <bruno@clisp.org>
+
+ * gnulib-local: New directory.
+ * autogen.sh: Invoke gnulib-tool inside gettext-tools directory.
+ Append gettext-tools/gnulib-m4 to the macro search path.
+
2006-07-30 Bruno Haible <bruno@clisp.org>
* build-aux/csharpcomp.sh.in: Move here from
# configure files with new versions of autoconf or automake.
#
# This script requires autoconf-2.60 and automake-1.8.2..1.9 in the PATH.
+# It also requires the GNULIB_TOOL environment variable pointing to the
+# gnulib-tool script in a gnulib checkout.
# Copyright (C) 2003-2006 Free Software Foundation, Inc.
#
quick=false
fi
+if test -n "$GNULIB_TOOL"; then
+ # In gettext-runtime:
+ # In gettext-tools:
+ GNULIB_MODULES_FOR_SRC='
+ alloca-opt
+ atexit
+ backupfile
+ basename
+ binary-io
+ bison-i18n
+ byteswap
+ c-ctype
+ c-strcase
+ c-strcasestr
+ c-strstr
+ clean-temp
+ closeout
+ copy-file
+ csharpcomp
+ csharpexec
+ error
+ error-progname
+ execute
+ exit
+ findprog
+ fnmatch-posix
+ fstrcmp
+ full-write
+ fwriteerror
+ gcd
+ getline
+ getopt
+ gettext-h
+ hash
+ iconv
+ iconvstring
+ javacomp
+ javaexec
+ linebreak
+ localcharset
+ lock
+ memmove
+ memset
+ minmax
+ obstack
+ pathname
+ pipe
+ progname
+ propername
+ relocatable
+ relocwrapper
+ sh-quote
+ stdbool
+ stpcpy
+ stpncpy
+ strcspn
+ strpbrk
+ strtol
+ strtoul
+ ucs4-utf8
+ unistd
+ unlocked-io
+ utf8-ucs4
+ utf16-ucs4
+ vasprintf
+ wait-process
+ xalloc
+ xallocsa
+ xerror
+ xsetenv
+ xvasprintf
+ '
+ # Not yet used. Add some files to gettext-tools-misc instead.
+ GNULIB_MODULES_FOR_LIBGREP='
+ error
+ exitfail
+ gettext-h
+ hard-locale
+ obstack
+ regex
+ stdbool
+ xalloc
+ '
+ GNULIB_MODULES_OTHER='
+ gettext-tools-misc
+ gcj
+ java
+ '
+ $GNULIB_TOOL --dir=gettext-tools --lib=libgettextlib --source-base=gnulib-lib --m4-base=gnulib-m4 --libtool --local-dir=gnulib-local \
+ --import $GNULIB_MODULES_FOR_SRC $GNULIB_MODULES_OTHER
+fi
+
aclocal
autoconf
automake
)
(cd gettext-runtime
- aclocal -I m4 -I ../gettext-tools/m4 -I ../autoconf-lib-link/m4 -I ../m4
+ aclocal -I m4 -I ../gettext-tools/m4 -I ../gettext-tools/gnulib-m4 -I ../autoconf-lib-link/m4 -I ../m4
autoconf
autoheader && touch config.h.in
automake
cp -p gettext-runtime/ABOUT-NLS gettext-tools/ABOUT-NLS
(cd gettext-tools
- aclocal -I m4 -I ../gettext-runtime/m4 -I ../autoconf-lib-link/m4 -I ../m4
+ aclocal -I m4 -I gnulib-m4 -I ../gettext-runtime/m4 -I ../autoconf-lib-link/m4 -I ../m4
autoconf
autoheader && touch config.h.in
automake
+2006-07-30 Bruno Haible <bruno@clisp.org>
+
+ * Makefile.am (ACLOCAL_AMFLAGS): Append ../gettext-tools/gnulib-m4.
+
2006-07-30 Bruno Haible <bruno@clisp.org>
* configure.ac: Update for changed location of javacomp.sh.in and
## 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 ../autoconf-lib-link/m4 -I ../m4
+ACLOCAL_AMFLAGS = -I m4 -I ../gettext-tools/m4 -I ../gettext-tools/gnulib-m4 -I ../autoconf-lib-link/m4 -I ../m4
MAKEINFO = env LANG= LC_MESSAGES= LC_ALL= LANGUAGE= @MAKEINFO@
+2006-07-30 Bruno Haible <bruno@clisp.org>
+
+ * Makefile.am (libgrt_a_SOURCES, LIBADD_SOURCE, AM_CPPFLAGS,
+ EXTRA_DIST, stdbool.h, alloca.h, getopt.h): Replace gettext-tools/lib
+ with gettext-tools/gnulib-lib.
+ * atexit.c: Refer to ../../gettext-tools/gnulib-lib directory.
+ * canonicalize.c: Likewise.
+ * error.h: Likewise.
+ * error.c: Likewise.
+ * getopt.c: Likewise.
+ * getopt1.c: Likewise.
+ * memmove.c: Likewise.
+ * readlink.c: Likewise.
+ * relocatable.c: Likewise.
+ * setenv.c: Likewise.
+ * strerror.c: Likewise.
+ * strtoul.c: Likewise.
+ * unsetenv.c: Likewise.
+
2006-07-30 Bruno Haible <bruno@clisp.org>
* Makefile.am (libgrt_a_SOURCES): Add c-strstr.h, c-strstr.c.
# Sources that are compiled on all platforms.
libgrt_a_SOURCES = \
- ../../gettext-tools/lib/allocsa.h ../../gettext-tools/lib/allocsa.c \
- ../../gettext-tools/lib/basename.h ../../gettext-tools/lib/basename.c \
- ../../gettext-tools/lib/c-ctype.h ../../gettext-tools/lib/c-ctype.c \
- ../../gettext-tools/lib/c-strcase.h ../../gettext-tools/lib/c-strcasecmp.c \
- ../../gettext-tools/lib/c-strstr.h ../../gettext-tools/lib/c-strstr.c \
- ../../gettext-tools/lib/closeout.h ../../gettext-tools/lib/closeout.c \
- ../../gettext-tools/lib/exit.h \
- ../../gettext-tools/lib/fwriteerror.h ../../gettext-tools/lib/fwriteerror.c \
- ../../gettext-tools/lib/gettext.h \
- ../../gettext-tools/lib/iconvstring.h ../../gettext-tools/lib/iconvstring.c \
- ../../gettext-tools/lib/localcharset.h ../../gettext-tools/lib/localcharset.c \
- ../../gettext-tools/lib/pathmax.h \
- ../../gettext-tools/lib/progname.h ../../gettext-tools/lib/progname.c ../../gettext-tools/lib/progreloc.c \
- ../../gettext-tools/lib/propername.h ../../gettext-tools/lib/propername.c \
- ../../gettext-tools/lib/strstr.h \
- ../../gettext-tools/lib/unlocked-io.h \
- ../../gettext-tools/lib/xalloc.h ../../gettext-tools/lib/xmalloc.c ../../gettext-tools/lib/xstrdup.c \
- ../../gettext-tools/lib/xreadlink.h ../../gettext-tools/lib/xreadlink.c
+ ../../gettext-tools/gnulib-lib/allocsa.h ../../gettext-tools/gnulib-lib/allocsa.c \
+ ../../gettext-tools/gnulib-lib/basename.h ../../gettext-tools/gnulib-lib/basename.c \
+ ../../gettext-tools/gnulib-lib/c-ctype.h ../../gettext-tools/gnulib-lib/c-ctype.c \
+ ../../gettext-tools/gnulib-lib/c-strcase.h ../../gettext-tools/gnulib-lib/c-strcasecmp.c \
+ ../../gettext-tools/gnulib-lib/c-strstr.h ../../gettext-tools/gnulib-lib/c-strstr.c \
+ ../../gettext-tools/gnulib-lib/closeout.h ../../gettext-tools/gnulib-lib/closeout.c \
+ ../../gettext-tools/gnulib-lib/exit.h \
+ ../../gettext-tools/gnulib-lib/fwriteerror.h ../../gettext-tools/gnulib-lib/fwriteerror.c \
+ ../../gettext-tools/gnulib-lib/gettext.h \
+ ../../gettext-tools/gnulib-lib/iconvstring.h ../../gettext-tools/gnulib-lib/iconvstring.c \
+ ../../gettext-tools/gnulib-lib/localcharset.h ../../gettext-tools/gnulib-lib/localcharset.c \
+ ../../gettext-tools/gnulib-lib/pathmax.h \
+ ../../gettext-tools/gnulib-lib/progname.h ../../gettext-tools/gnulib-lib/progname.c ../../gettext-tools/gnulib-lib/progreloc.c \
+ ../../gettext-tools/gnulib-lib/propername.h ../../gettext-tools/gnulib-lib/propername.c \
+ ../../gettext-tools/gnulib-lib/strstr.h \
+ ../../gettext-tools/gnulib-lib/unlocked-io.h \
+ ../../gettext-tools/gnulib-lib/xalloc.h ../../gettext-tools/gnulib-lib/xmalloc.c ../../gettext-tools/gnulib-lib/xstrdup.c \
+ ../../gettext-tools/gnulib-lib/xreadlink.h ../../gettext-tools/gnulib-lib/xreadlink.c
# Sources that are compiled only on platforms that lack the functions.
LIBADD_SOURCE = \
atexit.c \
- ../../gettext-tools/lib/canonicalize.h canonicalize.c \
+ ../../gettext-tools/gnulib-lib/canonicalize.h canonicalize.c \
error.h error.c \
- getopt.c getopt1.c ../../gettext-tools/lib/getopt_int.h \
+ getopt.c getopt1.c ../../gettext-tools/gnulib-lib/getopt_int.h \
memmove.c \
readlink.c \
- ../../gettext-tools/lib/relocatable.h relocatable.c \
- ../../gettext-tools/lib/setenv.h setenv.c unsetenv.c \
+ ../../gettext-tools/gnulib-lib/relocatable.h relocatable.c \
+ ../../gettext-tools/gnulib-lib/setenv.h setenv.c unsetenv.c \
strerror.c \
strtoul.c
-I. -I$(srcdir) \
-I.. \
-I../intl -I$(srcdir)/../intl \
- -I../../gettext-tools/lib -I$(srcdir)/../../gettext-tools/lib
+ -I../../gettext-tools/gnulib-lib -I$(srcdir)/../../gettext-tools/gnulib-lib
DEFS = -DEXEEXT=\"$(EXEEXT)\" -DDEPENDS_ON_LIBINTL=1 @DEFS@
# >>> gnulib module stdbool.
BUILT_SOURCES += $(STDBOOL_H)
-EXTRA_DIST += ../../gettext-tools/lib/stdbool_.h
+EXTRA_DIST += ../../gettext-tools/gnulib-lib/stdbool_.h
# The following is needed in order to create an <stdbool.h> when the system
# doesn't have one that works.
-stdbool.h: ../../gettext-tools/lib/stdbool_.h
- sed -e 's/@''HAVE__BOOL''@/@HAVE__BOOL@/g' < $(srcdir)/../../gettext-tools/lib/stdbool_.h > stdbool.h
+stdbool.h: ../../gettext-tools/gnulib-lib/stdbool_.h
+ sed -e 's/@''HAVE__BOOL''@/@HAVE__BOOL@/g' < $(srcdir)/../../gettext-tools/gnulib-lib/stdbool_.h > stdbool.h
MOSTLYCLEANFILES += stdbool.h
# <<< gnulib module stdbool.
# >>> gnulib module alloca.
BUILT_SOURCES += $(ALLOCA_H)
-EXTRA_DIST += ../../gettext-tools/lib/alloca_.h
+EXTRA_DIST += ../../gettext-tools/gnulib-lib/alloca_.h
# The following is needed in order to create an <alloca.h> when the system
# doesn't have one that works with the given compiler.
-alloca.h: ../../gettext-tools/lib/alloca_.h
- cp $(srcdir)/../../gettext-tools/lib/alloca_.h alloca.h
+alloca.h: ../../gettext-tools/gnulib-lib/alloca_.h
+ cp $(srcdir)/../../gettext-tools/gnulib-lib/alloca_.h alloca.h
MOSTLYCLEANFILES += alloca.h
# <<< gnulib module alloca.
# >>> gnulib module getopt.
BUILT_SOURCES += $(GETOPT_H)
-EXTRA_DIST += ../../gettext-tools/lib/getopt_.h ../../gettext-tools/lib/getopt_int.h
+EXTRA_DIST += ../../gettext-tools/gnulib-lib/getopt_.h ../../gettext-tools/gnulib-lib/getopt_int.h
# The following is needed in order to create a <getopt.h> when the system
# doesn't have one that works.
-getopt.h: ../../gettext-tools/lib/getopt_.h
- cp $(srcdir)/../../gettext-tools/lib/getopt_.h getopt.h
+getopt.h: ../../gettext-tools/gnulib-lib/getopt_.h
+ cp $(srcdir)/../../gettext-tools/gnulib-lib/getopt_.h getopt.h
MOSTLYCLEANFILES += getopt.h
# <<< gnulib module getopt.
-#include "../../gettext-tools/lib/atexit.c"
+#include "../../gettext-tools/gnulib-lib/atexit.c"
-#include "../../gettext-tools/lib/canonicalize.c"
+#include "../../gettext-tools/gnulib-lib/canonicalize.c"
-#include "../../gettext-tools/lib/error.c"
+#include "../../gettext-tools/gnulib-lib/error.c"
-#include "../../gettext-tools/lib/error.h"
+#include "../../gettext-tools/gnulib-lib/error.h"
-#include "../../gettext-tools/lib/getopt.c"
+#include "../../gettext-tools/gnulib-lib/getopt.c"
-#include "../../gettext-tools/lib/getopt1.c"
+#include "../../gettext-tools/gnulib-lib/getopt1.c"
-#include "../../gettext-tools/lib/memmove.c"
+#include "../../gettext-tools/gnulib-lib/memmove.c"
-#include "../../gettext-tools/lib/readlink.c"
+#include "../../gettext-tools/gnulib-lib/readlink.c"
-#include "../../gettext-tools/lib/relocatable.c"
+#include "../../gettext-tools/gnulib-lib/relocatable.c"
-#include "../../gettext-tools/lib/setenv.c"
+#include "../../gettext-tools/gnulib-lib/setenv.c"
-#include "../../gettext-tools/lib/strerror.c"
+#include "../../gettext-tools/gnulib-lib/strerror.c"
-#include "../../gettext-tools/lib/strtoul.c"
+#include "../../gettext-tools/gnulib-lib/strtoul.c"
-#include "../../gettext-tools/lib/unsetenv.c"
+#include "../../gettext-tools/gnulib-lib/unsetenv.c"
+2006-07-30 Bruno Haible <bruno@clisp.org>
+
+ * Makefile.am (AM_CPPFLAGS): Replace gettext-tools/lib with
+ gettext-tools/gnulib-lib.
+
2006-07-25 Bruno Haible <bruno@clisp.org>
* Makefile.msvc: Remove file.
-I.. \
-I../intl -I$(srcdir)/../intl \
-I../lib -I$(srcdir)/../lib \
- -I../../gettext-tools/lib -I$(srcdir)/../../gettext-tools/lib
+ -I../../gettext-tools/gnulib-lib -I$(srcdir)/../../gettext-tools/gnulib-lib
DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
# Source dependencies.
+2006-07-30 Bruno Haible <bruno@clisp.org>
+
+ * Makefile.am (ACLOCAL_AMFLAGS): Append gnulib-m4 to search path.
+ (SUBDIRS): Replace lib with gnulib-lib.
+ (examplesbuildauxdir, examplesbuildaux_DATA): New variables.
+ * configure.ac (AC_PREREQ): Bump to 2.59.
+ (gl_EARLY): Invoke.
+ (AC_GNU_SOURCE, gl_USE_SYSTEM_EXTENSIONS): Remove invocations.
+ (gl_INIT): Invoke.
+ (limits.h, malloc.h, string.h, unistd.h, utime.h, values.h,
+ gl_STDARG_H, AM_STDBOOL_H, gl_HEADER_UNISTD, gl_AC_TYPE_UINTMAX_T,
+ AC_TYPE_MODE_T, gt_TYPE_SIG_ATOMIC_T, gl_SIZE_MAX, gl_ALLOCSA,
+ chown, getcwd, posix_spawn, raise, strerror, strtoul, uname, utime,
+ utimes, waitid, atexit, memmove, memset, stpcpy, strcspn, strpbrk,
+ vasprintf, AM_FUNC_GETLINE, getdelim, gl_EXITFAIL,
+ gl_FUNC_FNMATCH_POSIX, gl_GETOPT, gl_FUNC_EACCESS, gl_FUNC_STPNCPY,
+ gl_FUNC_STRTOUL, gl_FUNC_WCWIDTH, gl_MBSWIDTH, gt_PREREQ_BACKUPFILE,
+ gt_UNION_WAIT, gt_TMPDIR, gt_FUNC_MKDTEMP, gt_SIGNALBLOCKING,
+ gt_FUNC_SETENV, gl_FUNC_STRERROR, gl_FUNC_GLIBC_UNLOCKED_IO, gl_ERROR,
+ gl_QUOTEARG, gl_QUOTE, gl_PATHMAX, gl_FUNC_READLINK, gl_XREADLINK,
+ gl_CANONICALIZE, gl_XSIZE, gl_MINMAX, gl_LIST, gl_LOCK, gl_TLS,
+ gl_BYTESWAP): Remove tests done directly or indirectly by gl_INIT
+ or that are now unused.
+ (AC_CONFIG_FILES): Add gnulib-lib/Makefile, remove lib/Makefile.
+ Remove lib/javacomp.sh, lib/javaexec.sh, lib/csharpcomp.sh,
+ lib/csharpexec.sh.
+
2006-07-30 Bruno Haible <bruno@clisp.org>
* configure.ac: Don't test for the strstr function.
## Process this file with automake to produce Makefile.in.
AUTOMAKE_OPTIONS = 1.5 gnu no-dependencies
-ACLOCAL_AMFLAGS = -I m4 -I ../gettext-runtime/m4 -I ../autoconf-lib-link/m4 -I ../m4
+ACLOCAL_AMFLAGS = -I m4 -I gnulib-m4 -I ../gettext-runtime/m4 -I ../autoconf-lib-link/m4 -I ../m4
-SUBDIRS = doc intl lib libgrep libuniname src po projects misc man m4 tests examples
+SUBDIRS = doc intl gnulib-lib libgrep libuniname src po projects misc man m4 tests examples
EXTRA_DIST = misc/DISCLAIM
MOSTLYCLEANFILES = core *.stackdump
gettextsrc_SCRIPTS = ../autoconf-lib-link/config.rpath
+# Files installed for the examples.
+
+examplesbuildauxdir = $(docdir)/examples/build-aux
+examplesbuildaux_DATA = \
+ ../build-aux/javacomp.sh.in ../build-aux/javaexec.sh.in \
+ ../build-aux/csharpcomp.sh.in ../build-aux/csharpexec.sh.in
+
+
# Files copied from other directories.
all-local: $(srcdir)/ABOUT-NLS
dnl Process this file with autoconf to produce a configure script.
-AC_PREREQ(2.57)
+AC_PREREQ([2.59])
AC_INIT
AC_CONFIG_SRCDIR(src/msgfmt.c)
AC_CONFIG_AUX_DIR(../build-aux)
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
dnl Test for compiler flags needed to support OpenMP.
gt_OPENMP
+dnl Checks for header files, functions and declarations.
+gl_INIT
+
dnl Checks for header files.
-AC_CHECK_HEADERS(limits.h malloc.h pwd.h string.h unistd.h utime.h values.h)
-gl_STDARG_H
-AM_STDBOOL_H
-gl_HEADER_UNISTD
+AC_CHECK_HEADERS(pwd.h)
dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_INLINE
gl_AC_TYPE_UNSIGNED_LONG_LONG
AC_TYPE_SIZE_T
AC_CHECK_TYPES(ptrdiff_t)
-gl_AC_TYPE_UINTMAX_T
gt_TYPE_SSIZE_T
AC_TYPE_PID_T
-AC_TYPE_MODE_T
-gt_TYPE_SIG_ATOMIC_T
-gl_SIZE_MAX
gl_GLIBC21
if test $GLIBC21 = yes; then
AC_CHECK_MEMBERS([struct __locale_struct.__names], , , [#include <xlocale.h>])
fi
dnl Checks for library functions.
-gl_ALLOCSA
-AC_CHECK_FUNCS([chown getcwd posix_spawn raise select strerror strtoul uname \
-utime utimes waitid])
-AC_REPLACE_FUNCS([atexit memmove memset stpcpy strcspn strpbrk vasprintf])
-AM_FUNC_GETLINE
-if test $am_cv_func_working_getline != yes; then
- AC_CHECK_FUNCS(getdelim)
-fi
-gl_EXITFAIL
-gl_FUNC_FNMATCH_POSIX
-gl_GETOPT
-gl_FUNC_EACCESS
-gl_FUNC_STPNCPY
-gl_FUNC_STRTOUL
-gl_FUNC_WCWIDTH
-gl_MBSWIDTH
-gt_PREREQ_BACKUPFILE
+AC_CHECK_FUNCS([select])
AC_FUNC_VFORK
-gt_UNION_WAIT
-gt_TMPDIR
-gt_FUNC_MKDTEMP
-gt_SIGNALBLOCKING
gt_SIGINFO
-gt_FUNC_SETENV
-gl_FUNC_STRERROR
-gl_FUNC_GLIBC_UNLOCKED_IO
-gl_ERROR
-gl_QUOTEARG
-gl_QUOTE
-gl_PATHMAX
-gl_FUNC_READLINK
-gl_XREADLINK
-gl_CANONICALIZE
gt_SETLOCALE
-gl_XSIZE
-gl_MINMAX
-gl_LIST
-gl_LOCK
-gl_TLS
gt_LIBGREP
-gl_BYTESWAP
AC_C_BIGENDIAN([endianness=1], [endianness=0],
[echo "AC-C-BIGENDIAN fails to work on your system." | sed -e 's,-,_,g' 1>&2
echo "Please report this as a bug to bug-autoconf@gnu.org" 1>&2
mv intl/Makefile.tmp intl/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/javaexec.sh:../build-aux/javaexec.sh.in])
-AC_CONFIG_FILES([lib/csharpcomp.sh:../build-aux/csharpcomp.sh.in])
-AC_CONFIG_FILES([lib/csharpexec.sh:../build-aux/csharpexec.sh.in])
AC_CONFIG_FILES([libgrep/Makefile],
[FIX_MAKEFILE_COMPILE])
+2006-07-30 Bruno Haible <bruno@clisp.org>
+
+ * hello-csharp*/autogen.sh: Update for changed location of
+ csharpcomp.sh.in and csharpexec.sh.in.
+ * hello-java*/autogen.sh: Update for changed location of
+ javacomp.sh.in and javaexec.sh.in.
+
2006-07-25 Bruno Haible <bruno@clisp.org>
* Makefile.msvc: Remove file.
cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/m4}/csharpexec.m4 m4/csharpexec.m4
cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/m4}/csharpexec-test.exe m4/csharpexec-test.exe
cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/m4}/csharp.m4 m4/csharp.m4
-cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/lib}/csharpcomp.sh.in csharpcomp.sh.in
-cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/lib}/csharpexec.sh.in csharpexec.sh.in
+cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/build-aux}/csharpcomp.sh.in csharpcomp.sh.in
+cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/build-aux}/csharpexec.sh.in csharpexec.sh.in
aclocal -I m4
cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/m4}/csharpexec.m4 m4/csharpexec.m4
cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/m4}/csharpexec-test.exe m4/csharpexec-test.exe
cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/m4}/csharp.m4 m4/csharp.m4
-cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/lib}/csharpcomp.sh.in csharpcomp.sh.in
-cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/lib}/csharpexec.sh.in csharpexec.sh.in
+cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/build-aux}/csharpcomp.sh.in csharpcomp.sh.in
+cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/build-aux}/csharpexec.sh.in csharpexec.sh.in
aclocal -I m4
cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/m4}/gcj.m4 m4/gcj.m4
cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/m4}/javacomp.m4 m4/javacomp.m4
cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/m4}/javaexec.m4 m4/javaexec.m4
-cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/lib}/javacomp.sh.in javacomp.sh.in
-cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/lib}/javaexec.sh.in javaexec.sh.in
+cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/build-aux}/javacomp.sh.in javacomp.sh.in
+cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/build-aux}/javaexec.sh.in javaexec.sh.in
aclocal -I m4
cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/m4}/gcj.m4 m4/gcj.m4
cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/m4}/javacomp.m4 m4/javacomp.m4
cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/m4}/javaexec.m4 m4/javaexec.m4
-cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/lib}/javacomp.sh.in javacomp.sh.in
-cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/lib}/javaexec.sh.in javaexec.sh.in
+cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/build-aux}/javacomp.sh.in javacomp.sh.in
+cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/build-aux}/javaexec.sh.in javaexec.sh.in
aclocal -I m4
cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/m4}/gcj.m4 m4/gcj.m4
cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/m4}/javacomp.m4 m4/javacomp.m4
cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/m4}/javaexec.m4 m4/javaexec.m4
-cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/lib}/javacomp.sh.in javacomp.sh.in
-cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/lib}/javaexec.sh.in javaexec.sh.in
+cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/build-aux}/javacomp.sh.in javacomp.sh.in
+cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/build-aux}/javaexec.sh.in javaexec.sh.in
aclocal -I m4
+2006-07-30 Bruno Haible <bruno@clisp.org>
+
+ * Makefile.am (AM_CPPFLAGS): Replace ../lib with ../gnulib-lib.
+
2006-07-25 Bruno Haible <bruno@clisp.org>
* Makefile.msvc: Remove file.
EXTRA_DIST += $(LIBADD_SOURCE)
-AM_CPPFLAGS = -I.. -I../lib -I$(top_srcdir)/lib -I../intl
+AM_CPPFLAGS = -I.. -I../gnulib-lib -I$(top_srcdir)/gnulib-lib -I../intl
+2006-07-30 Bruno Haible <bruno@clisp.org>
+
+ * Makefile.am (AM_CPPFLAGS, test_names_LDADD): Replace ../lib with
+ ../gnulib-lib.
+
2006-07-25 Bruno Haible <bruno@clisp.org>
* Makefile.msvc: Remove file.
libuniname_a_SOURCES = uniname.h uniname.c uninames.h
-AM_CPPFLAGS = -I.. -I../lib -I$(top_srcdir)/lib
+AM_CPPFLAGS = -I.. -I../gnulib-lib -I$(top_srcdir)/gnulib-lib
EXTRA_DIST += gen-uninames
noinst_PROGRAMS = test-names
# INTL_MACOSX_LIBS is needed because libgettextlib.la depends on libintl.la
# but libtool doesn't put -Wl,-framework options into .la files.
-test_names_LDADD = libuniname.a ../lib/libgettextlib.la @INTL_MACOSX_LIBS@
+test_names_LDADD = libuniname.a ../gnulib-lib/libgettextlib.la @INTL_MACOSX_LIBS@
EXTRA_DIST += $(TESTS) UnicodeDataNames.txt
--- /dev/null
+2006-07-30 Bruno Haible <bruno@clisp.org>
+
+ * Makefile.am (examplesbuildaux_DATA): Refer to ../gnulib-m4 directory.
+
+ * alloca.m4: Moved to ../../gnulib-local/m4/alloca.m4.
+ * backupfile.m4: Moved to ../../gnulib-local/m4/backupfile.m4.
+ * bison-i18n.m4: Moved to ../../gnulib-local/m4/bison-i18n.m4.
+ * canonicalize.m4: Moved to ../../gnulib-local/m4/canonicalize.m4.
+ * gcj.m4: Moved to ../../gnulib-local/m4/gcj.m4.
+ * getline.m4: Moved to ../../gnulib-local/m4/getline.m4.
+ * getndelim2.m4: Moved to ../../gnulib-local/m4/getndelim2.m4.
+ * java.m4: Moved to ../../gnulib-local/m4/java.m4.
+ * relocatable.m4: Moved to ../../gnulib-local/m4/relocatable.m4.
+ * unionwait.m4: Moved to ../../gnulib-local/m4/unionwait.m4.
+ * xreadlink.m4: Moved to ../../gnulib-local/m4/xreadlink.m4.
+
+
+See gnulib-local/m4/ChangeLog.1 for earlier changes.
examplesbuildauxdir = $(docdir)/examples/build-aux
examplesbuildaux_DATA = \
- gcj.m4 javacomp.m4 javaexec.m4 \
- csharpcomp.m4 csharpexec.m4 csharpexec-test.exe
+ ../gnulib-m4/gcj.m4 ../gnulib-m4/javacomp.m4 ../gnulib-m4/javaexec.m4 \
+ ../gnulib-m4/csharpcomp.m4 ../gnulib-m4/csharpexec.m4 csharpexec-test.exe
# Generate this list with
# find . -type f -name '*.m4' -printf '%f\n' | sort | tr '\012' @ | sed 's/@$/%/;s/@/ \\@/g' | tr @% '\012\012'
+2006-07-31 Bruno Haible <bruno@clisp.org>
+
+ * POTFILES.in: Refer to gnulib-lib/ instead of lib/. Drop xerror.c.
+
2006-07-25 Bruno Haible <bruno@clisp.org>
* Rules-msvc: Remove file.
# Copyright (C) 1995, 1998, 2001-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
-lib/argmatch.c
-lib/closeout.c
-lib/copy-file.c
-lib/csharpcomp.c
-lib/csharpexec.c
-lib/error.c
-lib/execute.c
-lib/getopt.c
-lib/javacomp.c
-lib/javaexec.c
-lib/javaversion.c
-lib/obstack.c
-lib/pipe.c
-lib/quotearg.c
-lib/w32spawn.h
-lib/wait-process.c
-lib/xerror.c
-lib/xmalloc.c
-lib/xsetenv.c
+# Files from the portability library
+gnulib-lib/argmatch.c
+gnulib-lib/clean-temp.c
+gnulib-lib/closeout.c
+gnulib-lib/copy-file.c
+gnulib-lib/csharpcomp.c
+gnulib-lib/csharpexec.c
+gnulib-lib/error.c
+gnulib-lib/execute.c
+gnulib-lib/getopt.c
+gnulib-lib/javacomp.c
+gnulib-lib/javaexec.c
+gnulib-lib/javaversion.c
+gnulib-lib/obstack.c
+gnulib-lib/pipe.c
+gnulib-lib/quotearg.c
+gnulib-lib/w32spawn.h
+gnulib-lib/wait-process.c
+gnulib-lib/xmalloc.c
+gnulib-lib/xsetenv.c
# Package source files
src/file-list.c
+2006-07-30 Bruno Haible <bruno@clisp.org>
+
+ * Makefile.am (AM_CPPFLAGS, LDADD, libgettextsrc_la_LDFLAGS,
+ libgettextpo_la_LDFLAGS, recode_sr_latin_LDADD, RELOCATABLE_SRC_DIR,
+ RELOCATABLE_BUILD_DIR): Replace ../lib with ../gnulib-lib.
+ (JAVACOMP, CSHARPCOMP): Remove lib/ from pathname.
+
2006-07-30 Bruno Haible <bruno@clisp.org>
* msgl-cat.c: Include c-strstr.h instead of strstr.h.
-I.. \
-I$(top_srcdir)/libgrep \
-I$(top_srcdir)/libuniname \
- -I../lib -I$(top_srcdir)/lib \
+ -I../gnulib-lib -I$(top_srcdir)/gnulib-lib \
-I../intl -I$(top_srcdir)/../gettext-runtime/intl
DEFS = \
-DLOCALEDIR=\"$(localedir)\" -DBISON_LOCALEDIR=\"$(BISON_LOCALEDIR)\" \
-DLIBDIR=\"$(libdir)\" \
-DGETTEXTDATADIR=\"$(pkgdatadir)\" \
-DPROJECTSDIR=\"$(projectsdir)\" @DEFS@
-LDADD = ../lib/libgettextlib.la @LTLIBINTL@
+LDADD = ../gnulib-lib/libgettextlib.la @LTLIBINTL@
SED = sed
YACC = @YACC@ -d
GCJ = @GCJ@
GCJFLAGS = @GCJFLAGS@
JAR = @JAR@
-JAVACOMP = $(SHELL) ../lib/javacomp.sh
-CSHARPCOMP = $(SHELL) ../lib/csharpcomp.sh
+JAVACOMP = $(SHELL) ../javacomp.sh
+CSHARPCOMP = $(SHELL) ../csharpcomp.sh
CSHARPCOMPFLAGS = @CSHARPCOMPFLAGS@
# Linking with C++ libraries is needed _only_ on mingw and Cygwin.
urlget_SOURCES = urlget.c
# How to build libgettextsrc.la.
-# Need ../lib/libgettextlib.la.
+# Need ../gnulib-lib/libgettextlib.la.
# Need @LTLIBINTL@ because many source files use gettext().
# Need @LTLIBICONV@ because po-charset.c, po-lex.c, msgl-iconv.c, write-po.c
# use iconv().
libgettextsrc_la_LDFLAGS = \
-release @VERSION@ \
- ../lib/libgettextlib.la @LTLIBINTL@ @LTLIBICONV@ -lc @LTNOUNDEF@
+ ../gnulib-lib/libgettextlib.la @LTLIBINTL@ @LTLIBICONV@ -lc @LTNOUNDEF@
# Tell the mingw or Cygwin linker which symbols to export.
if WOE32DLL
# How to build libgettextpo.la.
# Need libgettextsrc.la.
-# Need ../lib/libgettextlib.la because of xmalloc.
+# Need ../gnulib-lib/libgettextlib.la because of xmalloc.
libgettextpo_la_LDFLAGS = \
-version-info $(LTV_CURRENT):$(LTV_REVISION):$(LTV_AGE) \
-rpath $(libdir) \
- libgettextsrc.la ../lib/libgettextlib.la @LTLIBINTL@ @LTLIBICONV@ -lc @LTNOUNDEF@
+ libgettextsrc.la ../gnulib-lib/libgettextlib.la @LTLIBINTL@ @LTLIBICONV@ -lc @LTNOUNDEF@
# Build order. Only needed for "make -j[N]".
libgettextpo_la_DEPENDENCIES = libgettextsrc.la
msginit_LDADD = ../intl/localename.@INTL_LIBTOOL_SUFFIX_PREFIX@o \
libgettextsrc.la @INTL_MACOSX_LIBS@
msguniq_LDADD = libgettextsrc.la @INTL_MACOSX_LIBS@
-recode_sr_latin_LDADD = ../lib/libgettextlib.la @INTL_MACOSX_LIBS@
+recode_sr_latin_LDADD = ../gnulib-lib/libgettextlib.la @INTL_MACOSX_LIBS@
# Specify installation directory, for --enable-relocatable.
msgcmp_CPPFLAGS = $(AM_CPPFLAGS) -DINSTALLDIR=\"$(bindir)\"
# Support for relocatability.
RELOCATABLE_LIBRARY_PATH = $(libdir)
-RELOCATABLE_SRC_DIR = $(top_srcdir)/lib
-RELOCATABLE_BUILD_DIR = ../lib
+RELOCATABLE_SRC_DIR = $(top_srcdir)/gnulib-lib
+RELOCATABLE_BUILD_DIR = ../gnulib-lib
RELOCATABLE_CONFIG_H_DIR = ..
@SET_RELOCATABLE@
+2006-07-30 Bruno Haible <bruno@clisp.org>
+
+ * Makefile.am (AM_CPPFLAGS, *_LDADD*): Replace ../lib with
+ ../gnulib-lib.
+ * lang-csharp (CSHARPCOMP, CSHARPEXEC): Remove lib/ from pathname.
+ * lang-java (JAVACOMP, JAVAEXEC): Remove lib/ from pathname.
+
2006-07-25 Bruno Haible <bruno@clisp.org>
* Makefile.msvc: Remove file.
# For debugging memory leaks and memory allocation bugs.
# You should build with --disable-shared when using valgrind.
CHECKER =
-#CHECKER = valgrind --tool=memcheck --suppressions=$(srcdir)/../lib/allocsa.valgrind --num-callers=20 --leak-check=yes --leak-resolution=high --show-reachable=yes
+#CHECKER = valgrind --tool=memcheck --suppressions=$(srcdir)/../gnulib-lib/allocsa.valgrind --num-callers=20 --leak-check=yes --leak-resolution=high --show-reachable=yes
#CHECKER = valgrind --tool=massif --format=html --depth=10 --alloc-fn=xmalloc --alloc-fn=xrealloc --stacks=no
TESTS_ENVIRONMENT = top_srcdir=$(top_srcdir) \
# Three auxiliary programs used by the tests.
AM_CPPFLAGS = \
-I.. \
- -I../lib -I$(top_srcdir)/lib \
+ -I../gnulib-lib -I$(top_srcdir)/gnulib-lib \
-I../intl
DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
# INTL_MACOSX_LIBS is needed because the programs depend on libintl.la
noinst_PROGRAMS = tstgettext tstngettext testlocale gettext-3-prg gettext-4-prg gettext-5-prg gettext-6-prg gettext-7-prg cake fc3 fc4 fc5
tstgettext_SOURCES = tstgettext.c setlocale.c
tstgettext_CFLAGS = -DINSTALLDIR=\".\"
-tstgettext_LDADD = ../lib/libgettextlib.la $(LDADD)
+tstgettext_LDADD = ../gnulib-lib/libgettextlib.la $(LDADD)
tstngettext_SOURCES = tstngettext.c setlocale.c
tstngettext_CFLAGS = -DINSTALLDIR=\".\"
-tstngettext_LDADD = ../lib/libgettextlib.la $(LDADD)
+tstngettext_LDADD = ../gnulib-lib/libgettextlib.la $(LDADD)
testlocale_SOURCES = testlocale.c
gettext_3_prg_SOURCES = gettext-3-prg.c
-gettext_3_prg_LDADD = ../lib/libgettextlib.la $(LDADD)
+gettext_3_prg_LDADD = ../gnulib-lib/libgettextlib.la $(LDADD)
gettext_4_prg_SOURCES = gettext-4-prg.c
-gettext_4_prg_LDADD = ../lib/libgettextlib.la $(LDADD)
+gettext_4_prg_LDADD = ../gnulib-lib/libgettextlib.la $(LDADD)
gettext_5_prg_SOURCES = gettext-5-prg.c
-gettext_5_prg_LDADD = ../lib/libgettextlib.la $(LDADD)
+gettext_5_prg_LDADD = ../gnulib-lib/libgettextlib.la $(LDADD)
gettext_6_prg_SOURCES = gettext-6-prg.c
gettext_6_prg_CFLAGS = $(gettext_6_prg_CFLAGS_@GLIBC2@)
gettext_6_prg_CFLAGS_yes = -DUSE_POSIX_THREADS
gettext_6_prg_LDADD = $(gettext_6_prg_LDADD_@GLIBC2@)
-gettext_6_prg_LDADD_yes = ../lib/libgettextlib.la $(LDADD) -lpthread
+gettext_6_prg_LDADD_yes = ../gnulib-lib/libgettextlib.la $(LDADD) -lpthread
gettext_7_prg_SOURCES = gettext-7-prg.c
gettext_7_prg_CFLAGS = $(gettext_7_prg_CFLAGS_@GLIBC2@)
gettext_7_prg_CFLAGS_yes = -DUSE_POSIX_THREADS
gettext_7_prg_LDADD = $(gettext_7_prg_LDADD_@GLIBC2@)
-gettext_7_prg_LDADD_yes = ../lib/libgettextlib.la $(LDADD) -lpthread
+gettext_7_prg_LDADD_yes = ../gnulib-lib/libgettextlib.la $(LDADD) -lpthread
cake_SOURCES = plural-1-prg.c setlocale.c
-cake_LDADD = ../lib/libgettextlib.la $(LDADD)
+cake_LDADD = ../gnulib-lib/libgettextlib.la $(LDADD)
fc3_SOURCES = format-c-3-prg.c setlocale.c
-fc3_LDADD = ../lib/libgettextlib.la $(LDADD)
+fc3_LDADD = ../gnulib-lib/libgettextlib.la $(LDADD)
fc4_SOURCES = format-c-4-prg.c setlocale.c
-fc4_LDADD = ../lib/libgettextlib.la $(LDADD)
+fc4_LDADD = ../gnulib-lib/libgettextlib.la $(LDADD)
fc5_SOURCES = format-c-5-prg.c
-fc5_LDADD = ../lib/libgettextlib.la $(LDADD)
+fc5_LDADD = ../gnulib-lib/libgettextlib.la $(LDADD)
# Clean up after Solaris cc.
clean-local:
EOF
tmpfiles="$tmpfiles program.exe"
-: ${CSHARPCOMP="/bin/sh ../lib/csharpcomp.sh"}
+: ${CSHARPCOMP="/bin/sh ../csharpcomp.sh"}
${CSHARPCOMP} -o program.exe -L ../../gettext-runtime/intl-csharp -l GNU.Gettext program.cs || exit 1
tmpfiles="$tmpfiles prog.pot"
: ${LOCALE_FR=fr_FR}
: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
-: ${CSHARPEXEC="/bin/sh ../lib/csharpexec.sh"}
+: ${CSHARPEXEC="/bin/sh ../csharpexec.sh"}
if test $LOCALE_FR != none; then
LANGUAGE= LC_ALL=$LOCALE_FR ${CSHARPEXEC} -L ../../gettext-runtime/intl-csharp program.exe 2 > prog.out || exit 1
${DIFF} prog.ok prog.out || exit 1
EOF
tmpfiles="$tmpfiles Program.class"
-: ${JAVACOMP="/bin/sh ../lib/javacomp.sh"}
+: ${JAVACOMP="/bin/sh ../javacomp.sh"}
CLASSPATH=../../gettext-runtime/intl-java/libintl.jar ${JAVACOMP} -d . Program.java || exit 1
tmpfiles="$tmpfiles prog.pot"
: ${LOCALE_FR=fr_FR}
: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
-: ${JAVAEXEC="/bin/sh ../lib/javaexec.sh"}
+: ${JAVAEXEC="/bin/sh ../javaexec.sh"}
if test $LOCALE_FR != none; then
LANGUAGE= LC_ALL=$LOCALE_FR CLASSPATH=.:../../gettext-runtime/intl-java/libintl.jar ${JAVAEXEC} Program 2 > prog.out || exit 1
${DIFF} prog.ok prog.out || exit 1