[buddy] Probe for -fvisibility and -fvisibility-inlines-hidden.

* configure.ac: Check gcc and g++ for -fvisibility and
-fvisibility-inlines-hidden.  Add these options to
CFLAGS and CXXFLAGS.
* m4/ax_check_compile_flag.m4: New file.
* src/Makefile.am: Build BuDDy as a single library, reverting part of
the changes introduced in my previous patch to this file.  Since
the options are set in CFLAGS/CXXFLAGS, there is no possibility
for -fvisibility-inlines-hidden to be passed to the C compiler.
This commit is contained in:
Alexandre Duret-Lutz 2013-07-04 18:46:07 +02:00
parent e4abcfddfc
commit cee552689a
3 changed files with 18 additions and 12 deletions

View file

@ -0,0 +1 @@
../../m4/ax_check_compile_flag.m4