Auto-detect -Bsymbolic, fixes configure on macOS

The -Bsymbolic linker option is ELF-specific, and was breaking
configure on macOS unless --disable-Bsymbolic was explicitly passed.

Switching the behavior from requiring -Bsymbolic to be available
by default to just warning and continuing on without.

Fixes GNOME/librsvg#211
parent 1ffa7f5b
......@@ -216,7 +216,7 @@ AM_CONDITIONAL([ENABLE_PIXBUF_LOADER],[test "$enable_pixbuf_loader" = "yes"])
AC_ARG_ENABLE([Bsymbolic],
[AS_HELP_STRING([--disable-Bsymbolic],
[disable linking with -Bsymbolic])],
[],[enable_Bsymbolic=yes])
[enable_Bsymbolic=no],[enable_Bsymbolic=auto])
BSYMBOLIC_LDFLAG=
if test "$enable_Bsymbolic" != "no"; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment