gpgme/m4
Ingo Klöcker fe588fef09 cpp: Set default visibility of all symbols to hidden
* configure.ac: Add -fvisibility=hidden to GPGME_CPP_CFLAGS if gcc
supports the flag.
* lang/cpp/src/Makefile.am (AM_CPPFLAGS): Add GPGME_CPP_CFLAGS.
* m4/ax_gcc_func_attribute.m4: New.
--

With this change all defined symbols are hidden by default, so that they
are not exported anymore. All symbols that are part of the ABI and that
shall still be exported are already marked as having default visibility.

The m4 macro was taken from the website mentioned in the License header
of the file.

GnuPG-bug-id: 5906
2022-03-28 17:22:48 +02:00
..
ax_cxx_compile_stdcxx.m4 doc: use https:// for www.gnu.org 2018-10-18 00:28:51 -04:00
ax_gcc_func_attribute.m4 cpp: Set default visibility of all symbols to hidden 2022-03-28 17:22:48 +02:00
ax_pkg_swig.m4 doc: use https:// for www.gnu.org 2018-10-18 00:28:51 -04:00
ax_python_devel.m4 doc: use https:// for www.gnu.org 2018-10-18 00:28:51 -04:00
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-02 11:36:37 +01:00
glib-2.0.m4 spelling: fix misspellings 2018-11-08 12:34:27 +07:00
glibc21.m4 2004-09-14 Marcus Brinkmann <marcus@g10code.de> 2004-09-14 18:30:23 +00:00
gnupg-ttyname.m4 Fix ttyname problem on Android. 2012-10-24 16:44:34 +02:00
gpg-error.m4 build: Update gpg-error.m4 2021-05-27 13:35:38 +09:00
libassuan.m4 build: Update with newer autoconf constructs. 2020-11-18 14:34:52 +09:00
libtool.m4 libtool: Link without -flat_namespace for macOS. 2021-11-10 11:06:34 +09:00
lt~obsolete.m4 Update to libtool 2.4.2 2012-01-19 15:30:52 +01:00
ltoptions.m4 Update to libtool 2.4.2 2012-01-19 15:30:52 +01:00
ltsugar.m4 2009-12-08 Marcus Brinkmann <marcus@g10code.de> 2009-12-08 21:38:22 +00:00
ltversion.m4 Update to libtool 2.4.2 2012-01-19 15:30:52 +01:00
pkg.m4 doc: Replace http: by https: in core source files. 2016-11-16 13:27:00 +01:00
python.m4 python: Also detect python 3.9. 2020-02-14 13:16:01 +01:00
qt.m4 spelling: fix misspellings 2018-11-08 12:34:27 +07:00