summaryrefslogtreecommitdiff
path: root/libiconv
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2018-04-22 08:40:55 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2018-04-22 11:09:37 +0100
commitd89de5cba65e37c95e6174bdeab4039e50d546f9 (patch)
tree42d32a29799b2e3870382e7bce0edea2099f35e2 /libiconv
parent35105679b9a900d58dadd0852e679c235f8176ba (diff)
libiconv: remove function, which is not available w/o libiconv a4 macros
Diffstat (limited to 'libiconv')
-rw-r--r--libiconv/m4/iconv.m417
1 files changed, 1 insertions, 16 deletions
diff --git a/libiconv/m4/iconv.m4 b/libiconv/m4/iconv.m4
index e2041b9b4..0be3a1f5b 100644
--- a/libiconv/m4/iconv.m4
+++ b/libiconv/m4/iconv.m4
@@ -6,33 +6,18 @@ dnl with or without modifications, as long as this notice is preserved.
dnl From Bruno Haible.
-AC_DEFUN([AM_ICONV_LINKFLAGS_BODY],
-[
- dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
- AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
- AC_REQUIRE([AC_LIB_RPATH])
-
- dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
- dnl accordingly.
- AC_LIB_LINKFLAGS_BODY([iconv])
-])
-
AC_DEFUN([AM_ICONV_LINK],
[
dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and
dnl those with the standalone portable GNU libiconv installed).
AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
- dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
- dnl accordingly.
- AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY])
-
dnl Add $INCICONV to CPPFLAGS before performing the following checks,
dnl because if the user has installed libiconv and not disabled its use
dnl via --without-libiconv-prefix, he wants to use it. The first
dnl AC_TRY_LINK will then fail, the second AC_TRY_LINK will succeed.
am_save_CPPFLAGS="$CPPFLAGS"
- AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV])
+ dnl AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV])
AC_CACHE_CHECK([for iconv], [am_cv_func_iconv], [
am_cv_func_iconv="no, consider installing GNU libiconv"