author | Michael Krelin <hacker@klever.net> | 2005-06-11 14:49:35 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2005-06-11 14:49:35 (UTC) |
commit | 621221c40a42683a185b15b99c03fd6c8b6f7d90 (patch) (unidiff) | |
tree | 061f1e7a9fb7b16122eed9715c1a180629dbd953 /src | |
parent | 01e3789f5b7c3b2c0282b70eb203d11c76d3c8f3 (diff) | |
download | sitecing-621221c40a42683a185b15b99c03fd6c8b6f7d90.zip sitecing-621221c40a42683a185b15b99c03fd6c8b6f7d90.tar.gz sitecing-621221c40a42683a185b15b99c03fd6c8b6f7d90.tar.bz2 |
1. added missing include
2. fixed typo in Makefile
3. fixed zero-size output segfault
-rw-r--r-- | src/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 2ec650d..e6fb31a 100644 --- a/src/Makefile.am +++ b/src/Makefile.am | |||
@@ -5,33 +5,33 @@ bin_PROGRAMS += sitecing-fastcgi | |||
5 | endif | 5 | endif |
6 | if HAVE_PLAINCGI | 6 | if HAVE_PLAINCGI |
7 | bin_PROGRAMS += sitecing-plaincgi | 7 | bin_PROGRAMS += sitecing-plaincgi |
8 | endif | 8 | endif |
9 | 9 | ||
10 | INCLUDES = -I${top_srcdir}/include ${KINGATE_CFLAGS} ${DOTCONF_CFLAGS} \ | 10 | INCLUDES = -I${top_srcdir}/include ${KINGATE_CFLAGS} ${DOTCONF_CFLAGS} \ |
11 | ${PCREPP_CFLAGS} | 11 | ${PCREPP_CFLAGS} |
12 | LIBS += ${top_builddir}/lib/libsitecing.la ${DOTCONF_LIBS} \ | 12 | LIBS += ${top_builddir}/lib/libsitecing.la ${DOTCONF_LIBS} \ |
13 | ${PCREPP_LIBS} | 13 | ${PCREPP_LIBS} |
14 | 14 | ||
15 | sitecing_fastcgi_SOURCES = sitecing-fastcgi.cc \ | 15 | sitecing_fastcgi_SOURCES = sitecing-fastcgi.cc \ |
16 | COPYING.cc | 16 | COPYING.cc |
17 | sitecing_fastcgi_LDADD = ${KINGATE_FCGI_LIBS} | 17 | sitecing_fastcgi_LDADD = ${KINGATE_FCGI_LIBS} |
18 | sitecing_fastcgi_LDFLAGS = -rdynamic | 18 | sitecing_fastcgi_LDFLAGS = -rdynamic |
19 | sitecing_fastcgi_DEPENDENCIES = ${top_builddir}/lib/libsitecing.la | 19 | sitecing_fastcgi_DEPENDENCIES = ${top_builddir}/lib/libsitecing.la |
20 | 20 | ||
21 | sitecing_plaincgi_SOURCES = sitecing-plaincgi.cc \ | 21 | sitecing_plaincgi_SOURCES = sitecing-plaincgi.cc \ |
22 | COPYING.cc | 22 | COPYING.cc |
23 | sitecing_plaincgi_LDFLAGS = -rdynamic | 23 | sitecing_plaincgi_LDFLAGS = -rdynamic |
24 | sitecing_plaincgi_LDADD = ${KINGATE_PLAINCGI_LIBS} | 24 | sitecing_plaincgi_LDADD = ${KINGATE_PLAINCGI_LIBS} |
25 | sitecing_plaincgi_DEPENDENCIES = ${top_builddir}/lib/libsitecing.la | 25 | sitecing_plaincgi_DEPENDENCIES = ${top_builddir}/lib/libsitecing.la |
26 | 26 | ||
27 | sitecing_build_SOURCES = sitecing-build.cc \ | 27 | sitecing_build_SOURCES = sitecing-build.cc \ |
28 | COPYING.cc | 28 | COPYING.cc |
29 | sitecing_build_LDADD = ${KINGATE_LIBS} | 29 | sitecing_build_LDADD = ${KINGATE_LIBS} |
30 | sitecing_build_DEPENDENCIES = ${top_builddir}/lib/libsitecing.la | 30 | sitecing_build_DEPENDENCIES = ${top_builddir}/lib/libsitecing.la |
31 | 31 | ||
32 | COPYING.cc: ${top_srcdir}/COPYING | 32 | COPYING.cc: ${top_srcdir}/COPYING |
33 | echo "const char * COPYING =" >$@ || (rm $@;exit 1) | 33 | echo "const char * COPYING =" >$@ || (rm $@;exit 1) |
34 | sed 's/"/\\"/g' $< | sed 's/^/\"/' | sed 's/$$/\\n\"/' >>$@ || (rm $@;exit 1) | 34 | sed 's/"/\\"/g' $< | sed 's/^/\"/' | sed 's/$$/\\n\"/' >>$@ || (rm $@;exit 1) |
35 | echo ";" >>$@ || (rm $@;exit 1) | 35 | echo ";" >>$@ || (rm $@;exit 1) |
36 | 36 | ||
37 | EXTRA_DIST = ${sitecing_fastcgi_SOURCES} ${sitecing_PLAINCGI_SOURCES} | 37 | EXTRA_DIST = ${sitecing_fastcgi_SOURCES} ${sitecing_plaincgi_SOURCES} |