add support for symbol prefixes in shared libraries

attached patch updates the Version script so that it supports SYMBOL_PREFIX

From: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
Takashi Iwai 2007-01-17 15:19:52 +01:00
parent f6d264f54d
commit b3f998dbc9
5 changed files with 302 additions and 300 deletions

View file

@ -114,6 +114,7 @@ SYMBOL_PREFIX=` \
| ${EGREP-grep} "^PREFIX=" \
| ${SED-sed} "s:^PREFIX=::"`
AC_DEFINE_UNQUOTED([__SYMBOL_PREFIX], "$SYMBOL_PREFIX", [Toolchain Symbol Prefix])
AC_SUBST(SYMBOL_PREFIX)
AC_MSG_RESULT($SYMBOL_PREFIX)
dnl Check for debug...
@ -384,7 +385,7 @@ if test ! -L "$srcdir"/include/alsa ; then
fi
AC_OUTPUT(Makefile doc/Makefile doc/pictures/Makefile include/Makefile
include/sound/Makefile src/Makefile \
include/sound/Makefile src/Versions src/Makefile \
src/control/Makefile src/mixer/Makefile \
src/pcm/Makefile src/pcm/scopes/Makefile \
src/rawmidi/Makefile src/timer/Makefile \