[asterisk-commits] branch 1.2 r9233 - /branches/1.2/cdr/Makefile

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Feb 8 15:34:39 MST 2006


Author: tilghman
Date: Wed Feb  8 16:34:38 2006
New Revision: 9233

URL: http://svn.digium.com/view/asterisk?rev=9233&view=rev
Log:
Leave it to RH/CentOS to put the freetds headers in a completely nonstandard location.

Modified:
    branches/1.2/cdr/Makefile

Modified: branches/1.2/cdr/Makefile
URL: http://svn.digium.com/view/asterisk/branches/1.2/cdr/Makefile?rev=9233&r1=9232&r2=9233&view=diff
==============================================================================
--- branches/1.2/cdr/Makefile (original)
+++ branches/1.2/cdr/Makefile Wed Feb  8 16:34:38 2006
@@ -45,11 +45,11 @@
 #
 # FreeTDS stuff...
 #
-ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/tds.h)$(wildcard $(CROSS_COMPILE_TARGET)/usr/local/include/tds.h),)
-  ifeq ($(shell grep -s TDS_VERSION_NO $(CROSS_COMPILE_TARGET)/usr/include/tdsver.h $(CROSS_COMPILE_TARGET)/usr/local/include/tdsver.h | grep -c 0.63),1)
+ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/tds.h)$(wildcard $(CROSS_COMPILE_TARGET)/usr/local/include/tds.h)$(wildcard $(CROSS_COMPILE_TARGET)/usr/include/freetds/tds.h),)
+  ifeq ($(shell grep -s TDS_VERSION_NO $(CROSS_COMPILE_TARGET)/usr/include/tdsver.h $(CROSS_COMPILE_TARGET)/usr/local/include/tdsver.h $(CROSS_COMPILE_TARGET)/usr/include/freetds/tdsver.h | grep -c 0.63),1)
     CFLAGS += -DFREETDS_0_63
   else
-	ifeq ($(shell grep -s TDS_VERSION_NO $(CROSS_COMPILE_TARGET)/usr/include/tdsver.h $(CROSS_COMPILE_TARGET)/usr/local/include/tdsver.h | grep -c 0.62),1)
+	ifeq ($(shell grep -s TDS_VERSION_NO $(CROSS_COMPILE_TARGET)/usr/include/tdsver.h $(CROSS_COMPILE_TARGET)/usr/local/include/tdsver.h $(CROSS_COMPILE_TARGET)/usr/include/freetds/tdsver.h | grep -c 0.62),1)
       CFLAGS += -DFREETDS_0_62
     else
       CFLAGS += -DFREETDS_PRE_0_62



More information about the asterisk-commits mailing list