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