fix odbc configure for OSX9
This commit is contained in:
parent
7a29007eb5
commit
2444eea5a7
11
configure
vendored
11
configure
vendored
@ -5787,7 +5787,7 @@ $as_echo "$yap_cv_mysql" >&6; }
|
||||
if test "$yap_cv_mysql" = yes
|
||||
then
|
||||
YAP_EXTRAS="$YAP_EXTRAS -DMYDDAS_MYSQL"
|
||||
LIBS="$LIBS -L${yap_cv_myddas}/lib/mysql -lmysqlclient"
|
||||
LIBS="$LIBS -L${yap_cv_myddas}/lib/mysql -lmysqlclient "
|
||||
fi
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lodbc" >&5
|
||||
@ -5825,7 +5825,14 @@ $as_echo "$yap_cv_odbc" >&6; }
|
||||
if test "$yap_cv_odbc" = yes
|
||||
then
|
||||
YAP_EXTRAS="$YAP_EXTRAS -DMYDDAS_ODBC"
|
||||
LIBS="$LIBS -lodbc "
|
||||
case "$target_os" in
|
||||
*darwin9*)
|
||||
LIBS="$LIBS -lodbc -framework CoreFoundation"
|
||||
;;
|
||||
**)
|
||||
LIBS="$LIBS -lodbc"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
fi
|
||||
|
11
configure.in
11
configure.in
@ -657,7 +657,7 @@ then
|
||||
if test "$yap_cv_mysql" = yes
|
||||
then
|
||||
YAP_EXTRAS="$YAP_EXTRAS -DMYDDAS_MYSQL"
|
||||
LIBS="$LIBS -L${yap_cv_myddas}/lib/mysql -lmysqlclient"
|
||||
LIBS="$LIBS -L${yap_cv_myddas}/lib/mysql -lmysqlclient "
|
||||
fi
|
||||
|
||||
dnl check for odbc
|
||||
@ -676,7 +676,14 @@ then
|
||||
if test "$yap_cv_odbc" = yes
|
||||
then
|
||||
YAP_EXTRAS="$YAP_EXTRAS -DMYDDAS_ODBC"
|
||||
LIBS="$LIBS -lodbc "
|
||||
case "$target_os" in
|
||||
*darwin9*)
|
||||
LIBS="$LIBS -lodbc -framework CoreFoundation"
|
||||
;;
|
||||
**)
|
||||
LIBS="$LIBS -lodbc"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
fi
|
||||
|
Reference in New Issue
Block a user