version 1.402, 2013/10/05 20:09:24 |
version 1.403, 2013/10/05 20:43:20 |
Line 357 config.h: config.h.pre config.h.post |
|
Line 357 config.h: config.h.pre config.h.post |
|
rm -f config.log |
rm -f config.log |
( cat config.h.pre; \ |
( cat config.h.pre; \ |
echo; \ |
echo; \ |
if $(CC) $(CFLAGS) -Werror -o test-ohash test-ohash.c >> config.log 2>&1; then \ |
if $(CC) $(CFLAGS) -Werror -Wno-unused -o test-ohash test-ohash.c >> config.log 2>&1; then \ |
echo '#define HAVE_OHASH'; \ |
echo '#define HAVE_OHASH'; \ |
rm test-ohash; \ |
rm test-ohash; \ |
fi; \ |
fi; \ |
if $(CC) $(CFLAGS) -Werror -o test-fgetln test-fgetln.c >> config.log 2>&1; then \ |
if $(CC) $(CFLAGS) -Werror -Wno-unused -o test-fgetln test-fgetln.c >> config.log 2>&1; then \ |
echo '#define HAVE_FGETLN'; \ |
echo '#define HAVE_FGETLN'; \ |
rm test-fgetln; \ |
rm test-fgetln; \ |
fi; \ |
fi; \ |
if $(CC) $(CFLAGS) -Werror -o test-strptime test-strptime.c >> config.log 2>&1; then \ |
if $(CC) $(CFLAGS) -Werror -Wno-unused -o test-strptime test-strptime.c >> config.log 2>&1; then \ |
echo '#define HAVE_STRPTIME'; \ |
echo '#define HAVE_STRPTIME'; \ |
rm test-strptime; \ |
rm test-strptime; \ |
fi; \ |
fi; \ |
if $(CC) $(CFLAGS) -Werror -o test-getsubopt test-getsubopt.c >> config.log 2>&1; then \ |
if $(CC) $(CFLAGS) -Werror -Wno-unused -o test-getsubopt test-getsubopt.c >> config.log 2>&1; then \ |
echo '#define HAVE_GETSUBOPT'; \ |
echo '#define HAVE_GETSUBOPT'; \ |
rm test-getsubopt; \ |
rm test-getsubopt; \ |
fi; \ |
fi; \ |
if $(CC) $(CFLAGS) -Werror -o test-strlcat test-strlcat.c >> config.log 2>&1; then \ |
if $(CC) $(CFLAGS) -Werror -Wno-unused -o test-strlcat test-strlcat.c >> config.log 2>&1; then \ |
echo '#define HAVE_STRLCAT'; \ |
echo '#define HAVE_STRLCAT'; \ |
rm test-strlcat; \ |
rm test-strlcat; \ |
fi; \ |
fi; \ |
if $(CC) $(CFLAGS) -Werror -o test-mmap test-mmap.c >> config.log 2>&1; then \ |
if $(CC) $(CFLAGS) -Werror -Wno-unused -o test-mmap test-mmap.c >> config.log 2>&1; then \ |
echo '#define HAVE_MMAP'; \ |
echo '#define HAVE_MMAP'; \ |
rm test-mmap; \ |
rm test-mmap; \ |
fi; \ |
fi; \ |
if $(CC) $(CFLAGS) -Werror -o test-strlcpy test-strlcpy.c >> config.log 2>&1; then \ |
if $(CC) $(CFLAGS) -Werror -Wno-unused -o test-strlcpy test-strlcpy.c >> config.log 2>&1; then \ |
echo '#define HAVE_STRLCPY'; \ |
echo '#define HAVE_STRLCPY'; \ |
rm test-strlcpy; \ |
rm test-strlcpy; \ |
fi; \ |
fi; \ |