Index: trunk/psLib/configure.ac
===================================================================
--- trunk/psLib/configure.ac	(revision 10487)
+++ trunk/psLib/configure.ac	(revision 10949)
@@ -458,4 +458,7 @@
 LDFLAGS=${TMP_LDFLAGS}
 CPPFLAGS=${TMP_CPPFLAGS}
+
+dnl set NO_STRCASESTR if we can't find strcasestr
+AC_CHECK_FUNC([strcasestr], [], [AC_SUBST(NO_STRCASESTR, [1])])
 
 dnl ------- enable -Werror after all of the probes have run ---------
