summaryrefslogtreecommitdiffstats
path: root/m4/iconv.m4
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2002-01-24 12:34:28 +0000
committerBruno Haible <bruno@clisp.org>2009-06-22 01:06:59 +0200
commitd279c6f057517809b7b2733a87828343842f4e15 (patch)
tree0ce319f453886fc945f9b7930336a6a2d016e338 /m4/iconv.m4
parent95e1735945ef2c47b0158fd82ba3e0d5a8497442 (diff)
downloadexternal_gettext-d279c6f057517809b7b2733a87828343842f4e15.zip
external_gettext-d279c6f057517809b7b2733a87828343842f4e15.tar.gz
external_gettext-d279c6f057517809b7b2733a87828343842f4e15.tar.bz2
Make the rpath thing work in projects that use libtool.
Diffstat (limited to 'm4/iconv.m4')
-rw-r--r--m4/iconv.m45
1 files changed, 4 insertions, 1 deletions
diff --git a/m4/iconv.m4 b/m4/iconv.m4
index 58b8a09..f81e8b9 100644
--- a/m4/iconv.m4
+++ b/m4/iconv.m4
@@ -17,7 +17,8 @@ AC_DEFUN([AM_ICONV_LINK],
AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
AC_REQUIRE([AC_LIB_RPATH])
- dnl Search for libiconv and define LIBICONV and INCICONV accordingly.
+ dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
+ dnl accordingly.
AC_LIB_LINKFLAGS_BODY([iconv])
dnl Add $INCICONV to CPPFLAGS before performing the following checks,
@@ -60,8 +61,10 @@ AC_DEFUN([AM_ICONV_LINK],
dnl either.
CPPFLAGS="$am_save_CPPFLAGS"
LIBICONV=
+ LTLIBICONV=
fi
AC_SUBST(LIBICONV)
+ AC_SUBST(LTLIBICONV)
])
AC_DEFUN([AM_ICONV],