[Asterisk-cvs] asterisk/cdr Makefile,1.17,1.18
malcolmd at lists.digium.com
malcolmd at lists.digium.com
Wed Jan 7 17:56:39 CST 2004
Update of /usr/cvsroot/asterisk/cdr
In directory mongoose.digium.com:/tmp/cvs-serv845/cdr
Modified Files:
Makefile
Log Message:
Fix for cdr_pgsql for Debian per Bug #609
Index: Makefile
===================================================================
RCS file: /usr/cvsroot/asterisk/cdr/Makefile,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- Makefile 28 Dec 2003 20:13:29 -0000 1.17
+++ Makefile 7 Jan 2004 23:48:22 -0000 1.18
@@ -11,7 +11,7 @@
# the GNU General Public License
#
-MODS=cdr_csv.so
+MODS=cdr_csv.so cdr_pgsql.so
CFLAGS+=-fPIC
@@ -27,6 +27,7 @@
MODS+=$(shell if [ -d /usr/local/pgsql/include ] || [ -d /usr/include/pgsql ] || [ -d /usr/local/include/pgsql ] || [ -d /opt/pgsql/include ] || [ -f /usr/include/libpq-fe.h ] ; then echo "cdr_pgsql.so"; fi)
CFLAGS+=$(shell if [ -d /usr/local/pgsql/include ]; then echo "-I/usr/local/pgsql/include"; fi)
CFLAGS+=$(shell if [ -d /usr/include/pgsql ]; then echo "-I/usr/include/pgsql"; fi)
+CFLAGS+=$(shell if [ -d /usr/include/postgresql ]; then echo "-I/usr/include/postgresql"; fi)
CFLAGS+=$(shell if [ -d /usr/local/include/pgsql ]; then echo "-I/usr/local/include/pgsql"; fi)
CFLAGS+=$(shell if [ -d /opt/pgsql/include ]; then echo "-I/opt/pgsql/include"; fi)
CFLAGS+=$(shell if [ -f /usr/include/libpq-fe.h ]; then echo "-I/usr/include"; fi)
More information about the svn-commits
mailing list