mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-09-19 02:27:55 +08:00
Replace obsolete AC_TRY_LINK with AC_LINK_IFELSE
This commit is contained in:
@@ -133,7 +133,7 @@ if test "$with_unixodbc"; then
|
|||||||
OLDLDFLAGS=$LDFLAGS
|
OLDLDFLAGS=$LDFLAGS
|
||||||
LDFLAGS="$LDFLAGS -Wl,-Bsymbolic-functions"
|
LDFLAGS="$LDFLAGS -Wl,-Bsymbolic-functions"
|
||||||
AC_MSG_CHECKING([for -Bsymbolic-functions linker flag])
|
AC_MSG_CHECKING([for -Bsymbolic-functions linker flag])
|
||||||
AC_TRY_LINK([], [return 0],
|
AC_LINK_IFELSE([AC_LANG_PROGRAM([], [])],
|
||||||
[AC_MSG_RESULT(yes)
|
[AC_MSG_RESULT(yes)
|
||||||
ODBC_LDFLAGS="-Wl,-Bsymbolic-functions"],
|
ODBC_LDFLAGS="-Wl,-Bsymbolic-functions"],
|
||||||
[AC_MSG_RESULT(no)
|
[AC_MSG_RESULT(no)
|
||||||
|
Reference in New Issue
Block a user