[asterisk-commits] seanbright: branch seanbright/cdr-tds-conversion r123691 - /team/seanbright/c...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Jun 18 13:40:06 CDT 2008
Author: seanbright
Date: Wed Jun 18 13:40:05 2008
New Revision: 123691
URL: http://svn.digium.com/view/asterisk?view=rev&rev=123691
Log:
Simplify configure check
Modified:
team/seanbright/cdr-tds-conversion/configure
team/seanbright/cdr-tds-conversion/configure.ac
Modified: team/seanbright/cdr-tds-conversion/configure.ac
URL: http://svn.digium.com/view/asterisk/team/seanbright/cdr-tds-conversion/configure.ac?view=diff&rev=123691&r1=123690&r2=123691
==============================================================================
--- team/seanbright/cdr-tds-conversion/configure.ac (original)
+++ team/seanbright/cdr-tds-conversion/configure.ac Wed Jun 18 13:40:05 2008
@@ -1388,34 +1388,7 @@
AST_EXT_TOOL_CHECK([GMIME], [gmime])
-AST_EXT_LIB_CHECK([FREETDS], [tds], [tds_version], [tds.h])
-if test "${PBX_FREETDS}" != "0";
-then
- if test "${FREETDS_DIR}x" = "x";
- then
- for tds_dir in /usr /usr/local;
- do
- if test -f "${tds_dir}/include/tdsver.h";
- then
- FREETDS_DIR="${tds_dir}"
- fi
- done
- fi
- case `${GREP} TDS_VERSION_NO ${FREETDS_DIR:-/usr}/include/tdsver.h` in
- *0.64*)
- FREETDS_INCLUDE="${FREETDS_INCLUDE} -DFREETDS_0_64"
- ;;
- *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
+AST_EXT_LIB_CHECK([FREETDS], [sybdb], [dbinit], [sybdb.h])
AST_EXT_LIB_CHECK([TERMCAP], [termcap], [tgetent], [])
More information about the asterisk-commits
mailing list