mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 03:20:57 +00:00
move FreeTDS version check into configure script
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36255 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
18
configure
vendored
18
configure
vendored
@@ -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
|
||||
|
Reference in New Issue
Block a user