Introduce --with-pkgconfdir, add 64-bit defaults to gitcompile

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Jaroslav Kysela 2012-01-20 16:14:44 +01:00
parent 226a34ac09
commit 98d4ed8810
3 changed files with 49 additions and 3 deletions

View file

@ -117,6 +117,22 @@ AC_DEFINE_UNQUOTED(ALSA_PLUGIN_DIR, "$plugindir", [directory containing ALSA add
ALSA_PLUGIN_DIR="$plugindir"
AC_SUBST(ALSA_PLUGIN_DIR)
AC_ARG_WITH(pkgconfdir,
AS_HELP_STRING([--with-pkgconfdir=dir],
[path where pkgconfig files are stored]),
pkgconfdir="$withval", pkgconfdir="")
if test -z "$pkgconfdir"; then
eval dir="$libdir"
case "$dir" in
/*) ;;
*) dir="$dir"
esac
pkgconfdir="$dir/pkgconfig"
fi
AC_DEFINE_UNQUOTED(ALSA_PKGCONF_DIR, "$pkgconfdir", [directory containing pkgconfig files])
ALSA_PKGCONF_DIR="$pkgconfdir"
AC_SUBST(ALSA_PKGCONF_DIR)
dnl Check for versioned symbols
AC_MSG_CHECKING(for versioned symbols)
AC_ARG_WITH(versioned,