Dolda2000 GitWeb
/
ashd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
callfcgi: Use the library mtio pipes instead of kernel pipes.
[ashd.git]
/
lib
/
Makefile.am
diff --git
a/lib/Makefile.am
b/lib/Makefile.am
index
4cfeaa2
..
30de42a
100644
(file)
--- a/
lib/Makefile.am
+++ b/
lib/Makefile.am
@@
-1,7
+1,15
@@
lib_LIBRARIES = libht.a
libht_a_SOURCES = utils.c mt.c log.c req.c proc.c mtio.c resp.c cf.c
lib_LIBRARIES = libht.a
libht_a_SOURCES = utils.c mt.c log.c req.c proc.c mtio.c resp.c cf.c
-libht_a_CFLAGS = -fPIC
-libht_a_CPPFLAGS = -D_GNU_SOURCE
+libht_a_CFLAGS = -fPIC
+if USE_EPOLL
+libht_a_SOURCES += mtio-epoll.c
+else
+if USE_KQUEUE
+libht_a_SOURCES += mtio-kqueue.c
+else
+libht_a_SOURCES += mtio-select.c
+endif
+endif
pkginclude_HEADERS = utils.h mt.h log.h req.h proc.h mtio.h resp.h cf.h
pkginclude_HEADERS = utils.h mt.h log.h req.h proc.h mtio.h resp.h cf.h