summaryrefslogtreecommitdiff
path: root/m4/lib-link.m4
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-03-21 07:42:07 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-03-21 07:42:07 +0000
commite0f53f4ecc763f384115cd5affb8162db14b488e (patch)
tree892485dd8d205061416a6ca9a43fd1175566b378 /m4/lib-link.m4
parent3f6b9f946e288e850f012ed4dda88342402d97a1 (diff)
downloadcoreutils-e0f53f4ecc763f384115cd5affb8162db14b488e.tar.xz
Sync from gnulib.
Diffstat (limited to 'm4/lib-link.m4')
-rw-r--r--m4/lib-link.m46
1 files changed, 5 insertions, 1 deletions
diff --git a/m4/lib-link.m4 b/m4/lib-link.m4
index a4586c7a8..ea0b0c4ea 100644
--- a/m4/lib-link.m4
+++ b/m4/lib-link.m4
@@ -1,4 +1,4 @@
-# lib-link.m4 serial 5 (gettext-0.14.2)
+# lib-link.m4 serial 6 (gettext-0.14.3)
dnl Copyright (C) 2001-2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -6,6 +6,8 @@ dnl with or without modifications, as long as this notice is preserved.
dnl From Bruno Haible.
+AC_PREREQ(2.50)
+
dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and
dnl the libraries corresponding to explicit and implicit dependencies.
dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and
@@ -93,6 +95,8 @@ dnl libext, shlibext, hardcode_libdir_flag_spec, hardcode_libdir_separator,
dnl hardcode_direct, hardcode_minus_L.
AC_DEFUN([AC_LIB_RPATH],
[
+ dnl Tell automake >= 1.10 to complain if config.rpath is missing.
+ m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([config.rpath])])
AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS
AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld
AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host