fix odbc configure for OSX9

This commit is contained in:
Vitor Santos Costa 2010-10-13 23:07:02 +01:00
parent 7a29007eb5
commit 2444eea5a7
2 changed files with 18 additions and 4 deletions

7
configure vendored
View File

@ -5825,7 +5825,14 @@ $as_echo "$yap_cv_odbc" >&6; }
if test "$yap_cv_odbc" = yes
then
YAP_EXTRAS="$YAP_EXTRAS -DMYDDAS_ODBC"
case "$target_os" in
*darwin9*)
LIBS="$LIBS -lodbc -framework CoreFoundation"
;;
**)
LIBS="$LIBS -lodbc"
;;
esac
fi
fi

View File

@ -676,7 +676,14 @@ then
if test "$yap_cv_odbc" = yes
then
YAP_EXTRAS="$YAP_EXTRAS -DMYDDAS_ODBC"
case "$target_os" in
*darwin9*)
LIBS="$LIBS -lodbc -framework CoreFoundation"
;;
**)
LIBS="$LIBS -lodbc"
;;
esac
fi
fi