aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-29 07:50:01 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-29 07:50:01 +0000
commit50c6c0be43f142305bb99a1d1ef73c033485d0fb (patch)
tree40fcc57aa7708a6c89a8ef05b3a886eeabf00e56 /configure
parentead171c77dfdbdcd9d556f11d9e047a897236987 (diff)
move FreeTDS version check into configure script
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@36255 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure18
1 files changed, 17 insertions, 1 deletions
diff --git a/configure b/configure
index c31e5beac..d27ef5885 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.ac Revision: 35832 .
+# From configure.ac Revision: 35852 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59e.
#
@@ -15885,6 +15885,22 @@ fi
+if test "${PBX_LIBFREETDS}" != "0";
+then
+ case `grep TDS_VERSION_NO ${FREETDS_DIR:-/usr/include}/tdsver.h` in
+ *0.63*)
+ FREETDS_INCLUDE="${FREETDS_INCLUDE} -DFREETDS_0_63"
+ ;;
+ *0.62*)
+ FREETDS_INCLUDE="${FREETDS_INCLUDE} -DFREETDS_0_62"
+ ;;
+ *)
+ FREETDS_INCLUDE="${FREETDS_INCLUDE} -DFREETDS_PRE_0_62"
+ ;;
+ esac
+fi
+
+
# Check whether --with-termcap was given.
if test "${with_termcap+set}" = set; then