Build fixes in regards to LT_REVISION/LT_CURRENT/LT_AGE values and libtool.

This commit is contained in:
Josh Green 2009-01-09 05:27:56 +00:00
parent 0d259294ba
commit 5cd5c9c43a
4 changed files with 23 additions and 8 deletions

View file

@ -1,3 +1,10 @@
2009-01-08 Josh Green <jgreen@users.sourceforge.net>
* configure.ac: Followed GTK's lead for some unexplained magic for
stupid libtool version parameters (fixes autogen.sh bomb on
undefined macro LT_REVISION/LT_CURRENT/LT_AGE). Added
AC_CONFIG_MACRO_DIR([m4]) as suggested by libtoolize.
* Makefile.am: Added ACLOCAL_AMFLAGS=-I m4 as suggested by libtoolize.
2008-12-23 Josh Green <jgreen@users.sourceforge.net>
* configure.ac: Added detection of PulseAudio driver.
* src/Makefile.am: Added conditional build of PulseAudio driver.

View file

@ -1,8 +1,11 @@
## Process this file with automake to produce Makefile.in
ACLOCAL_AMFLAGS=-I m4
SUBDIRS = macbuild sf2 winbuild src doc include
EXTRA_DIST = TODO acinclude.m4 autogen.sh fluidsynth.pc.in \
fluidsynth.spec.in fluidsynth.spec fluidsynth.anjuta README-OSX
DISTCLEANFILES = fluidsynth.pc
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = fluidsynth.pc

View file

@ -23,19 +23,20 @@ FLUIDSYNTH_VERSION="\"$VERSION\""
dnl *** NOTICE ***
dnl Update library version upon each release (follow these steps in order)
dnl if any source code changes: LT_REVISION++
dnl if any interfaces added/removed/changed: LT_CURRENT++ and LT_REVISION=0
dnl if any interfaces have been added: LT_AGE++
dnl if any interfaces have been removed/changed (compatibility broken): LT_AGE=0
dnl if any source code changes: lt_revision++
dnl if any interfaces added/removed/changed: lt_current++ and lt_revision=0
dnl if any interfaces have been added: lt_age++
dnl if any interfaces have been removed/changed (compatibility broken): lt_age=0
LT_CURRENT=2
LT_REVISION=2
LT_AGE=1
m4_define([lt_current], [2])
m4_define([lt_revision], [2])
m4_define([lt_age], [1])
LT_VERSION_INFO="${LT_CURRENT}:${LT_REVISION}:${LT_AGE}"
LT_VERSION_INFO="lt_current:lt_revision:lt_age"
AC_SUBST(LT_VERSION_INFO)
AM_CONFIG_HEADER(src/config.h)
AC_CONFIG_MACRO_DIR([m4])
CFLAGS="$CFLAGS -Wall"

View file

@ -126,6 +126,10 @@
/* Include the LADSPA Fx unit */
#undef LADSPA
/* Define to the sub-directory in which libtool stores uninstalled libraries.
*/
#undef LT_OBJDIR
/* Define to enable MidiShare driver */
#undef MIDISHARE_SUPPORT