version 1.311, 2011/02/09 10:03:02 |
version 1.312, 2011/02/24 14:30:15 |
Line 333 config.h: config.h.pre config.h.post |
|
Line 333 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 -c test-strlcat.c >> config.log 2>&1; then \ |
if $(CC) $(CFLAGS) -Werror -o test-strlcat test-strlcat.c >> config.log 2>&1; then \ |
echo '#define HAVE_STRLCAT'; \ |
echo '#define HAVE_STRLCAT'; \ |
rm test-strlcat.o; \ |
rm test-strlcat; \ |
fi; \ |
fi; \ |
if $(CC) $(CFLAGS) -Werror -c test-strlcpy.c >> config.log 2>&1; then \ |
if $(CC) $(CFLAGS) -Werror -o test-strlcpy test-strlcpy.c >> config.log 2>&1; then \ |
echo '#define HAVE_STRLCPY'; \ |
echo '#define HAVE_STRLCPY'; \ |
rm test-strlcpy.o; \ |
rm test-strlcpy; \ |
fi; \ |
fi; \ |
echo; \ |
echo; \ |
cat config.h.post \ |
cat config.h.post \ |