version 1.246, 2010/01/01 17:14:26 |
version 1.247, 2010/01/01 17:25:07 |
Line 263 config.h: config.h.pre config.h.post |
|
Line 263 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) -c test-strlcat.c >> config.log 2>&1; then \ |
if $(CC) $(CFLAGS) -Werror -c test-strlcat.c >> config.log 2>&1; then \ |
echo '#define HAVE_STRLCAT'; \ |
echo '#define HAVE_STRLCAT'; \ |
rm test-strlcat.o; \ |
rm test-strlcat.o; \ |
fi; \ |
fi; \ |
if $(CC) $(CFLAGS) -c test-strlcpy.c >> config.log 2>&1; then \ |
if $(CC) $(CFLAGS) -Werror -c test-strlcpy.c >> config.log 2>&1; then \ |
echo '#define HAVE_STRLCPY'; \ |
echo '#define HAVE_STRLCPY'; \ |
rm test-strlcpy.o; \ |
rm test-strlcpy.o; \ |
fi; \ |
fi; \ |