--- support/makefiles/Makefile.fbs.orig Sat Jul 1 22:22:55 2000 +++ support/makefiles/Makefile.fbs Wed Oct 10 07:11:36 2001 @@ -33,7 +33,14 @@ LIBC = /usr/lib/libc.a IFLAGS = LFLAGS = -CFLAGS = -O ${IFLAGS} ${LFLAGS} +CFLAGS += ${IFLAGS} ${LFLAGS} -SRCS = strcasestr.c authuser.c ftw.c -OBJS = strcasestr.o authuser.o ftw.o +SRCS = authuser.c ftw.c +OBJS = authuser.o ftw.o + +HAVE_STRSTR!= (nm ${LIBC} | grep -q strcasestr) || echo "NO" + +.if ${HAVE_STRSTR} == "NO" +SRCS += strcasestr.c +OBJS += strcasestr.o +.endif