version 1.403, 2013/10/05 20:43:20 |
version 1.404, 2013/10/06 23:20:39 |
|
|
# Linux requires -pthread to statically link with libdb. |
# Linux requires -pthread to statically link with libdb. |
#STATIC += -pthread |
#STATIC += -pthread |
|
|
CFLAGS += -I/usr/local/include -g -DHAVE_CONFIG_H -DVERSION="\"$(VERSION)\"" |
CFLAGS += -I/usr/local/include -g -DHAVE_CONFIG_H |
CFLAGS += -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings |
CFLAGS += -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings |
PREFIX = /usr/local |
PREFIX = /usr/local |
WWWPREFIX = /var/www |
WWWPREFIX = /var/www |
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; \ |
|
echo '#define VERSION "$(VERSION)"'; \ |
if $(CC) $(CFLAGS) -Werror -Wno-unused -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; \ |