mirror of
https://github.com/macintoshplus/mongo-php-driver.git
synced 2026-03-26 09:52:07 +01:00
GitHub's file finder filters out "build/" directories, among others, which can make it difficult to quickly access these files. Also, the "build/" directory doesn't provide much value here, since it only contains "autotools/".
10 lines
257 B
Plaintext
10 lines
257 B
Plaintext
AC_MSG_CHECKING(if weak symbols are supported)
|
|
AC_LINK_IFELSE([AC_LANG_PROGRAM([[
|
|
__attribute__((weak)) void __dummy(void *x) { }
|
|
void f(void *x) { __dummy(x); }
|
|
]], [[ ]]
|
|
)],
|
|
[AC_MSG_RESULT(yes)
|
|
AC_SUBST(MONGOC_HAVE_WEAK_SYMBOLS, 1)],
|
|
[AC_MSG_RESULT(no)])
|