From: Joshua Colp Date: Thu, 16 Nov 2006 20:29:28 +0000 (+0000) Subject: Look for the header file specifically in all cases, not just the existence of the... X-Git-Tag: 1.2.14~48 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0127860f603ee4b9b4c09675c377db70ca5899aa;p=thirdparty%2Fasterisk.git Look for the header file specifically in all cases, not just the existence of the directory. (issue #8358 reported by mrness) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47761 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/cdr/Makefile b/cdr/Makefile index 6be6d9b951..84ea0fe4b8 100644 --- a/cdr/Makefile +++ b/cdr/Makefile @@ -65,7 +65,7 @@ endif # # PGSQL stuff... Autoconf anyone?? # -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),) +ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/postgresql/libpq-fe.h)$(wildcard $(CROSS_COMPILE_TARGET)/usr/local/pgsql/include/libpq-fe.h)$(wildcard $(CROSS_COMPILE_TARGET)/usr/include/pgsql/libpq-fe.h)$(wildcard $(CROSS_COMPILE_TARGET)/usr/local/include/pgsql/libpq-fe.h)$(wildcard $(CROSS_COMPILE_TARGET)/opt/pgsql/include/libpq-fe.h)$(wildcard $(CROSS_COMPILE_TARGET)/usr/include/libpq-fe.h),) MODS+=cdr_pgsql.so endif