From e157dccfaf699bc6fe436a8cdf1c95b125cde2db Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 24 May 2006 18:23:57 +0000 Subject: r15871: Fix systems with native iconv (This used to be commit 8ce292bdf3589e5d054bf9a534846c29dfc71124) --- source4/lib/charset/config.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/lib/charset/config.m4') diff --git a/source4/lib/charset/config.m4 b/source4/lib/charset/config.m4 index 2e20f7ab37..5d37a781fd 100644 --- a/source4/lib/charset/config.m4 +++ b/source4/lib/charset/config.m4 @@ -49,7 +49,7 @@ AC_ARG_WITH(libiconv, ]) if test x$ICONV_FOUND = xno; then - SMB_CHECK_ICONV(iconv.h,[ICONV_FOUND=yes]) + SMB_CHECK_ICONV(iconv.h,[AC_DEFINE(HAVE_ICONV_H,1,[Whether iconv.h is present]) ICONV_FOUND=yes]) fi for i in $LOOK_DIRS ; do @@ -58,7 +58,7 @@ for i in $LOOK_DIRS ; do fi SMB_CHECK_ICONV_DIR($i, [ - ICONV_FOUND=yes; + ICONV_FOUND=yes ICONV_CPPFLAGS="$CPPFLAGS" ICONV_LIBS="$LIBS" ICONV_LDFLAGS="$LDFLAGS" -- cgit