]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Switch to autoconf-2.56.
authorBruno Haible <bruno@clisp.org>
Tue, 19 Nov 2002 12:51:37 +0000 (12:51 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:08:52 +0000 (12:08 +0200)
ChangeLog
configure.in
m4/ChangeLog
m4/fnmatch.m4
m4/getline.m4
m4/lib-ld.m4

index 5479a276e25d50c4935b0a55990049b0a88f9705..102b401313e339bb503ea7267e2f0ba753c3cd76 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+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,
index 249dacbcc7dc614e40535a3438cd4bc7bf16752b..209f993b4288c5789d6b3074c817a877d0b508db 100644 (file)
@@ -254,10 +254,6 @@ EOF
 
 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)
index 71a9a59b6d7e208fa73319f775363e7f26ad0020..a808e0e37c7d936619e81161f04093db5111f95c 100644 (file)
@@ -1,3 +1,13 @@
+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.
index 1266cb1da7ed21f13dadae9f470a1c8cf4b14b22..b1f60486f68b24f6abeffa4f3dd3b638d571f0f9 100644 (file)
@@ -1,4 +1,4 @@
-# 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
@@ -6,6 +6,8 @@ dnl Public License, this file may be distributed as part of a program
 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],
 [
@@ -44,7 +46,6 @@ 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
 ])
index ad29567091ee5c7d7babd9afba22da1ba22b8bd8..9919a7c07bd0ec94b99ee05b7a40ac3da4180c11 100644 (file)
@@ -1,4 +1,4 @@
-# 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
@@ -6,6 +6,8 @@ dnl Public License, this file may be distributed as part of a program
 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
@@ -47,7 +49,6 @@ AC_DEFUN([AM_FUNC_GETLINE],
     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
 ])
index ddb573234cb1f84b26f77646d835818c7ecec567..ec07c0cc64281599cd68f4d850903a72706eb82e 100644 (file)
@@ -1,4 +1,4 @@
-# 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
@@ -29,6 +29,19 @@ AC_DEFUN([AC_LIB_PROG_LD],
 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.