+2002-11-19 Bruno Haible <bruno@clisp.org>
+
+ Switch to autoconf-2.56.
+ * configure.in (LTLIBOBJS): Remove variable.
+
2002-11-14 Bruno Haible <bruno@clisp.org>
* Makefile.am ($(srcdir)/tests/rpathx/aclocal.m4,
dnl These ought to go away some day.
changequote(,)dnl
-LTLIBOBJS=`echo "$LIBOBJS" | sed 's/\.[^.]* /.lo /g;s/\.[^.]*$/.lo/'`
-changequote([, ])dnl
-AC_SUBST(LTLIBOBJS)
-changequote(,)dnl
LTALLOCA=`echo "$ALLOCA" | sed 's/\.[^.]* /.lo /g;s/\.[^.]*$/.lo/'`
changequote([, ])dnl
AC_SUBST(LTALLOCA)
+2002-11-19 Bruno Haible <bruno@clisp.org>
+
+ Switch to autoconf-2.56.
+ * fnmatch.m4 (gt_FUNC_FNMATCH): Use AC_LIBOBJ instead of assigning
+ LIBOBJS.
+ * getline.m4 (AM_FUNC_GETLINE): Likewise.
+
+ * lib-ld.m4 (AC_LIB_PROG_LD_GNU): Define PATH_SEPARATOR before using
+ it.
+
2002-11-13 Bruno Haible <bruno@clisp.org>
Assume ANSI C.
-# fnmatch.m4 serial 2 (gettext-0.11.1)
+# fnmatch.m4 serial 3 (gettext-0.11.6)
dnl Copyright (C) 1996-2002 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
dnl that contains a configuration script generated by Autoconf, under
dnl the same distribution terms as the rest of that program.
+AC_PREREQ(2.52)
+
dnl Determine whether the system has a working fnmatch() function.
AC_DEFUN([gt_FUNC_FNMATCH],
[
dnl libgettextlib.so.
AC_DEFINE([fnmatch], [posix_fnmatch],
[Define to a replacement function name for fnmatch().])
- LIBOBJS="$LIBOBJS pfnmatch.${ac_objext}"
- AC_SUBST(LIBOBJS)
+ AC_LIBOBJ(pfnmatch)
fi
])
-# getline.m4 serial 5 (gettext-0.11)
+# getline.m4 serial 6 (gettext-0.11.6)
dnl Copyright (C) 1998-2002 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
dnl that contains a configuration script generated by Autoconf, under
dnl the same distribution terms as the rest of that program.
+AC_PREREQ(2.52)
+
dnl See if there's a working, system-supplied version of the getline function.
dnl We can't just do AC_REPLACE_FUNCS(getline) because some systems
dnl have a function by that name in -linet that doesn't have anything
dnl libgettextlib.so.
AC_DEFINE([getline], [gnu_getline],
[Define to a replacement function name for getline().])
- LIBOBJS="$LIBOBJS getline.${ac_objext}"
- AC_SUBST(LIBOBJS)
+ AC_LIBOBJ(getline)
fi
])
-# lib-ld.m4 serial 1 (gettext-0.11)
+# lib-ld.m4 serial 2 (gettext-0.11.6)
dnl Copyright (C) 1996-2002 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
AC_REQUIRE([AC_PROG_CC])dnl
AC_REQUIRE([AC_CANONICAL_HOST])dnl
+# Prepare PATH_SEPARATOR.
+# The user is always right.
+if test "${PATH_SEPARATOR+set}" != set; then
+ echo "#! /bin/sh" >conf$$.sh
+ echo "exit 0" >>conf$$.sh
+ chmod +x conf$$.sh
+ if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
+ PATH_SEPARATOR=';'
+ else
+ PATH_SEPARATOR=:
+ fi
+ rm -f conf$$.sh
+fi
ac_prog=ld
if test "$GCC" = yes; then
# Check if gcc -print-prog-name=ld gives a path.