+
+Tue Jun 13 16:00:18 EDT 1995 Paul Park (pjpark@mit.edu)
+ * dbtest.c - Check for HAVE_INDEX. If we have it, then use it,
+ otherwise use strchr.
+ * configure.in - check for index(3).
+ * Makefile.in - check for /bin/sh5, if present, use it because some
+ system's /bin/sh doesn't understand some Bourne shell syntax.
+
Sun Jun 11 02:33:32 1995 Tom Yu (tlyu@dragons-lair)
* configure.in: fix intial value of CDEFS_INCLUDE so that make
${OBJS}: Makefile
check:: dbtest
- /bin/sh $(srcdir)/run.test hash
+ if [ -x /bin/sh5 ] ; then \
+ /bin/sh5 $(srcdir)/run.test hash ; \
+ else \
+ /bin/sh $(srcdir)/run.test hash ; \
+ fi
all::
CDEFS_INCLUDE=['-I$(PORTDIR)']
AC_HAVE_HEADERS(sys/cdefs.h, CDEFS_INCLUDE=)
AC_SUBST(CDEFS_INCLUDE)
+AC_FUNC_CHECK(index,AC_DEFINE(HAVE_INDEX))
V5_AC_OUTPUT_MAKEFILE