*** src/Makefile.in.ORIG Thu Mar 12 11:47:41 2009 --- src/Makefile.in Thu Mar 12 11:47:58 2009 *************** *** 54,60 **** path.$(OBJEXT) unicode.$(OBJEXT) user.$(OBJEXT) util.$(OBJEXT) \ word.$(OBJEXT) unrtf_OBJECTS = $(am_unrtf_OBJECTS) ! unrtf_LDADD = $(LDADD) DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/config/depcomp am__depfiles_maybe = depfiles --- 54,60 ---- path.$(OBJEXT) unicode.$(OBJEXT) user.$(OBJEXT) util.$(OBJEXT) \ word.$(OBJEXT) unrtf_OBJECTS = $(am_unrtf_OBJECTS) ! unrtf_LDADD = $(LDADD) -liconv DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/config/depcomp am__depfiles_maybe = depfiles *** ./configure.ORIG Sun Jan 27 14:17:51 2013 --- ./configure Sun Jan 27 14:18:15 2013 *************** *** 4175,4181 **** esac ! $as_echo "#define malloc rpl_malloc" >>confdefs.h fi --- 4175,4181 ---- esac ! ###$as_echo "#define malloc rpl_malloc" >>confdefs.h fi *** ./src/convert.c.ORIG Sun Jan 27 14:39:31 2013 --- ./src/convert.c Sun Jan 27 14:41:09 2013 *************** *** 105,110 **** --- 105,136 ---- #include "attr.h" + #if defined(_AIX) + #include + + char * + strcasestr (char *haystack, char *needle) + { + char *p, *startn = 0, *np = 0; + + for (p = haystack; *p; p++) { + if (np) { + if (toupper(*p) == toupper(*np)) { + if (!*++np) + return startn; + } else + np = 0; + } else if (toupper(*p) == toupper(*needle)) { + np = needle + 1; + startn = p; + } + } + + return 0; + } + #endif + + extern int nopict_mode; /*