[Asterisk-cvs] asterisk/cdr Makefile,1.30,1.31
kpfleming
kpfleming
Tue Aug 30 11:58:11 CDT 2005
- Previous message: [Asterisk-cvs] asterisk Makefile,1.197,1.198
- Next message: [Asterisk-cvs] asterisk LICENSE, 1.2, 1.3 Makefile, 1.198,
1.199 config.c, 1.74, 1.75 config_old.c, 1.5, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /usr/cvsroot/asterisk/cdr
In directory mongoose.digium.com:/tmp/cvs-serv20706/cdr
Modified Files:
Makefile
Log Message:
fix cdr_pgsql build on Debian testing (issue #5064)
Index: Makefile
===================================================================
RCS file: /usr/cvsroot/asterisk/cdr/Makefile,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- Makefile 30 Aug 2005 02:54:01 -0000 1.30
+++ Makefile 30 Aug 2005 15:59:25 -0000 1.31
@@ -46,12 +46,17 @@
#
# PGSQL stuff... Autoconf anyone??
#
-ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/local/pgsql/include)$(wildcard $(CROSS_COMPILE_TARGET)/usr/include/pgsql)$(wildcard $(CROSS_COMPILE_TARGET)/usr/local/include/pgsql)$(wildcard $(CROSS_COMPILE_TARGET)/opt/pgsql/include)$(wildcard $(CROSS_COMPILE_TARGET)/usr/include/libpq-fe.h),)
+ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/postgresql)$(wildcard $(CROSS_COMPILE_TARGET)/usr/local/pgsql/include)$(wildcard $(CROSS_COMPILE_TARGET)/usr/include/pgsql)$(wildcard $(CROSS_COMPILE_TARGET)/usr/local/include/pgsql)$(wildcard $(CROSS_COMPILE_TARGET)/opt/pgsql/include)$(wildcard $(CROSS_COMPILE_TARGET)/usr/include/libpq-fe.h),)
MODS+=cdr_pgsql.so
endif
MLFLAGS=
+ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/postgresql),)
+ CFLAGS+=-I$(CROSS_COMPILE_TARGET)/usr/include/postgresql
+ MLFLAGS+=-L$(CROSS_COMPILE_TARGET)/usr/lib/postgresql
+endif
+
ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/local/pgsql/include),)
CFLAGS+=-I$(CROSS_COMPILE_TARGET)/usr/local/pgsql/include
MLFLAGS+=-L$(CROSS_COMPILE_TARGET)/usr/local/pgsql/lib
- Previous message: [Asterisk-cvs] asterisk Makefile,1.197,1.198
- Next message: [Asterisk-cvs] asterisk LICENSE, 1.2, 1.3 Makefile, 1.198,
1.199 config.c, 1.74, 1.75 config_old.c, 1.5, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the svn-commits
mailing list