evpobr
3d8399dfde
Fix broken ABI
...
Unfortunately ABI was broken when symbols files were removed
in favour of new visibility control of exported functions.
Visibility control with -fvisibility works fine, but symbol
scripts had another feature - versioned symbols. And we lost it.
Since we can not make our symbols to be versioned with the new
approach, it's decided to return everything back.
* CMake: Restore symbol files generation
* CMake: Python is required to build shared libraries
* Autotools: Restore symbol files generation
Closes: https://github.com/erikd/libsndfile/issues/268
2017-05-26 06:16:42 +10:00
evpobr
1bff04b3ae
Add API exported functions visibility control
...
Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
2017-03-15 06:13:19 +11:00
David Seifert
88956f7ac2
Test whether -D_FORTIFY_SOURCE needs to be added at all
...
Some distributions unconditionally enable -D_FORTIFY_SOURCE, and
adding it to CFLAGS might cause a slew of warnings:
<command-line>:0:0: error: "_FORTIFY_SOURCE" redefined [-Werror]
<built-in>: note: this is the location of the previous definition
Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
2017-01-28 21:16:21 +11:00
Erik de Castro Lopo
a8063dd253
M4/clang.m4 : Minor improvements.
2013-11-22 18:18:12 +11:00
Erik de Castro Lopo
d7cc3dd0a4
Detect Clang compiler compiler.
...
Autoconf detects the Clang compiler as GNU GCC (clang sets defines like
__GNUC__ etc) but Clang is *not* completely compatible. We detect Clang
and set ac_vc_c_compiler_gnu to 'no'.
Closes: https://github.com/erikd/libsndfile/issues/49
2013-11-01 15:58:44 +11:00
Erik de Castro Lopo
90b38b36b8
Disable stack protector by default.
...
This option is disabled by default because it is known not to work
on FreeBSD 9.1 and for Linux -> Windows cross compiling using the
Debian MinGW-w64 tool chain.
Closes: https://github.com/erikd/libsndfile/issues/42
2013-06-22 19:36:32 +10:00
Erik de Castro Lopo
05d7f6a6d2
Purge un-needed M4/extra_largefile.m4.
...
Closes: https://github.com/erikd/libsndfile/issues/41
2013-05-05 05:10:24 +10:00
Erik de Castro Lopo
7c893e482f
M4/gcc_version.m4 : Fix to work with OpenBSD's sed.
2013-03-09 20:34:20 +11:00
Erik de Castro Lopo
06aa36e6e5
M4/octave.m4 : Relax constraints on Octave version.
2012-10-13 12:48:05 +11:00
Erik de Castro Lopo
f36123919b
M4/extra_pkg.m4 : Update PKG_CHECK_MOD_VERSION macro to add an AC_TRY_LINK step.
2012-02-25 15:08:51 +11:00
Erik de Castro Lopo
760ae8f578
M4/add_(c|cxx)flags.m4 : Test flags in isolation.
2011-03-22 22:44:45 +11:00
Erik de Castro Lopo
034c20033d
Switch from shave to automake-1.11's AM_SILENT_RULES.
2010-10-14 21:06:10 +11:00
Erik de Castro Lopo
04c6142b7d
shave.in M4/shave.m4 : Fix shave invocation of windres compiler.
2010-10-14 21:00:24 +11:00
Erik de Castro Lopo
bea70be941
Update shave files from upstream.
2009-12-16 19:42:48 +11:00
Erik de Castro Lopo
05ed996d42
Rename all custom macros from AC_* to MN_*.
2009-12-03 18:10:58 +11:00
Erik de Castro Lopo
b352c823ee
M4/endian.m4 : Fix detection of CPU endian-ness when cross compiling.
2009-09-16 18:06:51 +10:00
Erik de Castro Lopo
e635ae7429
Shave files : Pulled update from upstream.
2009-03-23 22:01:35 +11:00
Erik de Castro Lopo
5f615adc06
Update shave files and enable by default in configure.ac.
2009-03-03 05:51:01 +11:00
Erik de Castro Lopo
850311611c
Use Shave to clean up automake/libtool output.
2009-02-24 10:26:10 +11:00
Erik de Castro Lopo
b038515b4e
M4/octave.m4 : Clear the TERM environment before evaluating anything in Octave.
2009-02-15 09:34:21 +11:00
Erik de Castro Lopo
857b712e78
M4 : Clean up AC_WITH_ARG usage using AC_HELP_STRING.
2009-02-09 10:35:52 +11:00
Erik de Castro Lopo
9340cede97
M4/endian.m4 : Fix bracketing of function for autoconf 2.63. Thanks to Richard Ash.
2009-02-09 08:47:14 +11:00
Erik de Castro Lopo
936746b052
M4/octave.m4 : Improve logic and status reporting.
2009-02-08 07:37:30 +11:00
Erik de Castro Lopo
f2a8904a4e
Add new file M4/add_cxxflags.m4 and use it in configure.ac.
2008-11-30 15:06:00 +11:00
Erik de Castro Lopo
139c6a28ba
M4/add_cxxflags.m4 : Fix problem with quoting of '#include'.
2008-11-30 15:04:50 +11:00
Erik de Castro Lopo
f819b2b55c
Merge Octave fixes from -octave branch.
2008-10-27 21:05:24 +11:00
Erik de Castro Lopo
0497198dfd
M4/octave.m4 : Remove cruft.
2008-10-27 20:08:47 +11:00
Erik de Castro Lopo
c4d6c64ec6
M4/extra_pkg.m4 : Fix macro name.
2008-06-29 18:47:31 +10:00
Erik de Castro Lopo
4f249e76fb
Add m4 macro PKG_CHECK_MOD_VERSION which is a hacked version of PKG_CHECK_MODULES.
2008-06-29 09:01:05 +10:00
Erik de Castro Lopo
59e7515972
Add file M4/gcc_version.m4.
2007-11-05 15:17:59 +11:00
Erik de Castro Lopo
c74b8d785c
M4/octave.m4 : Minor tweaks.
2007-09-07 11:51:27 +10:00
Erik de Castro Lopo
947657361e
Fix build when Octave headers are not present.
2007-09-07 10:16:40 +10:00
Erik de Castro Lopo
bf538dd4f2
Consolidate all octave related m4 macros into a single file.
2007-09-05 18:12:18 +10:00
Erik de Castro Lopo
44064a3a9a
M4/clip_mode.m4 : Fix bug for x86_64.
2007-08-26 13:28:22 +10:00
Erik de Castro Lopo
8b34db3af0
M4/octave_build.m4 : Pick up -fPIC flag as well.
2007-08-26 12:09:45 +10:00
Erik de Castro Lopo
18e8067450
M4/octave_build.m4 : More octave build hacks.
2007-08-25 20:15:42 +10:00
Erik de Castro Lopo
4af42d603e
M4/octave_eval.m4 : Add -H (no history) to octave command.
2007-08-25 19:11:23 +10:00
Erik de Castro Lopo
ece63c6b49
More 'make distcheck'fixes.
2007-08-25 18:58:47 +10:00
Erik de Castro Lopo
61d849e7f3
M4/octave_build.m4 : Find values for OCT_CXXFLAGS, OCT_LIB_DIR, OCT_LIBS.
2007-08-25 17:31:12 +10:00
Erik de Castro Lopo
bccb30ff31
M4/octave_version.m4 : Minor fixes.
2007-08-24 10:05:14 +10:00
Erik de Castro Lopo
05bb74faa3
Add a bunch of m4 files for detecting/verifying octave and octave module build tools.
2007-08-23 21:16:57 +10:00
Erik de Castro Lopo
31eaa01201
Add M4/Makefile.am and make sure 'make distcheck' works.
2007-08-23 15:46:14 +10:00
Erik de Castro Lopo
26e49c9889
Remove acinclude.m4 and move separate m4 files to M4 dir.
2007-08-23 15:22:13 +10:00