freebsd-ports/mail/mutt-devel/files/patch-07
2001-06-09 01:53:19 +00:00

30 lines
836 B
Plaintext

--- aclocal.m4.orig Thu Jun 7 22:10:27 2001
+++ aclocal.m4 Fri Jun 8 12:38:06 2001
@@ -1302,7 +1302,7 @@
am_cv_func_iconv="no, consider installing GNU libiconv"
am_cv_lib_iconv=no
AC_TRY_LINK([#include <stdlib.h>
-#include <iconv.h>],
+#include <giconv.h>],
[iconv_t cd = iconv_open("","");
iconv(cd,NULL,NULL,NULL,NULL);
iconv_close(cd);],
@@ -1311,7 +1311,7 @@
am_save_LIBS="$LIBS"
LIBS="$LIBS -liconv"
AC_TRY_LINK([#include <stdlib.h>
-#include <iconv.h>],
+#include <giconv.h>],
[iconv_t cd = iconv_open("","");
iconv(cd,NULL,NULL,NULL,NULL);
iconv_close(cd);],
@@ -1326,7 +1326,7 @@
AC_CACHE_VAL(am_cv_proto_iconv, [
AC_TRY_COMPILE([
#include <stdlib.h>
-#include <iconv.h>
+#include <giconv.h>
extern
#ifdef __cplusplus
"C"