Merged revisions 52462 via svnmerge from
[asterisk/asterisk.git] / configure.ac
index 2b5cee0..f892735 100644 (file)
@@ -784,7 +784,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"
        ;;