]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Suggested change to fix normal usage of --with-tds=/usr/local (Sean Bright, via aster...
authorTilghman Lesher <tilghman@meg.abyt.es>
Sun, 28 Jan 2007 05:15:07 +0000 (05:15 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Sun, 28 Jan 2007 05:15:07 +0000 (05:15 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52462 65c4cc65-6c06-0410-ace0-fbb531ad65f3

configure
configure.ac

index a6cba71632a0dcd5d7804d6ab1098ff74da911e3..d305f5d131029b0a4b15b142a7b89d314a45592d 100755 (executable)
--- a/configure
+++ b/configure
@@ -26844,7 +26844,7 @@ fi
 
 if test "${PBX_FREETDS}" != "0";
 then
-    case `grep TDS_VERSION_NO ${FREETDS_DIR:-/usr/include}/tdsver.h` in
+    case `grep TDS_VERSION_NO ${FREETDS_DIR:-/usr}/include/tdsver.h` in
        *0.64*)
                FREETDS_INCLUDE="${FREETDS_INCLUDE} -DFREETDS_0_64"
        ;;
index 0f76dea48bdee01efb056c2b2455ccab745b6a02..5531d3ec2c2e7103261b42e932ac5661093da2ff 100644 (file)
@@ -860,7 +860,7 @@ AST_EXT_LIB_CHECK([OPENSSL], [ssl], [ssl2_connect], [openssl/ssl.h], [-lcrypto])
 AST_EXT_LIB_CHECK([FREETDS], [tds], [tds_version], [tds.h])
 if test "${PBX_FREETDS}" != "0";
 then
-    case `grep TDS_VERSION_NO ${FREETDS_DIR:-/usr/include}/tdsver.h` in
+    case `grep TDS_VERSION_NO ${FREETDS_DIR:-/usr}/include/tdsver.h` in
        *0.64*)
                FREETDS_INCLUDE="${FREETDS_INCLUDE} -DFREETDS_0_64"
        ;;