Code

Solaris: Use OLD_ICONV to avoid compile warnings
authorDavid Soria Parra <dsp@php.net>
Thu, 2 Oct 2008 00:08:47 +0000 (02:08 +0200)
committerShawn O. Pearce <spearce@spearce.org>
Fri, 3 Oct 2008 00:27:31 +0000 (17:27 -0700)
Solaris systems use the old styled iconv(3) call and therefore
the OLD_ICONV variable should be set. Otherwise we get annoying compile
warnings.

Signed-off-by: David Soria Parra <dsp@php.net>
Acked-by: Jeff King <peff@peff.net>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Makefile

index 8d81095765b1e73fa79e2950c47fd06f3c475ac7..7fad9f7ff6df54435659ec96f9611008b21fe27f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -637,6 +637,7 @@ ifeq ($(uname_S),SunOS)
        NO_MEMMEM = YesPlease
        NO_HSTRERROR = YesPlease
        NO_MKDTEMP = YesPlease
+       OLD_ICONV = UnfortunatelyYes
        ifeq ($(uname_R),5.8)
                NEEDS_LIBICONV = YesPlease
                NO_UNSETENV = YesPlease