From 003d4e0cbe68beba5e3eab02995d74fb27e2f6f8 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 21 Jun 2002 21:23:01 +0000 Subject: Update from gettext-0.11.2. --- m4/lib-link.m4 | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) (limited to 'm4/lib-link.m4') diff --git a/m4/lib-link.m4 b/m4/lib-link.m4 index a16aa4460..09f7f1722 100644 --- a/m4/lib-link.m4 +++ b/m4/lib-link.m4 @@ -1,4 +1,4 @@ -# lib-link.m4 serial 1 (gettext-0.11) +# lib-link.m4 serial 2 (gettext-0.11.2) dnl Copyright (C) 2001-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 @@ -434,6 +434,33 @@ AC_DEFUN([AC_LIB_LINKFLAGS_BODY], fi fi ;; + -R*) + dir=`echo "X$dep" | sed -e 's/^X-R//'` + dnl Potentially add DIR to rpathdirs. + dnl The rpathdirs will be appended to $LIBNAME at the end. + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $dir" + fi + dnl Potentially add DIR to ltrpathdirs. + dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $dir" + fi + ;; -l*) dnl Handle this in the next round. names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` -- cgit v1.2.3-54-g00ecf