Mercurial > audlegacy-plugins
changeset 2716:ad10080d5005
Synchronize libSIDPlay detection macros from XMMS-SID.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 16 Jun 2008 16:13:31 +0300 |
parents | 0dea41453224 |
children | 1b4fcab95915 |
files | m4/sidplay.m4 |
diffstat | 1 files changed, 9 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/m4/sidplay.m4 Mon Jun 16 15:32:09 2008 +0300 +++ b/m4/sidplay.m4 Mon Jun 16 16:13:31 2008 +0300 @@ -74,9 +74,10 @@ AC_DEFUN([XS_ARG_WITH], [dnl # xs_arg_with ( $1:$2:$3 ) define([Name], [translit([$1], [a-z], [A-Z])])dnl + define([roflCopter], [Enable $2 with install-PREFIX])dnl AH_TEMPLATE(HAVE_[]Name, [Define if you have and want to use $2])dnl AC_ARG_WITH([$1], - [ --with-$1=PREFIX Enable $2 with install-PREFIX], [dnl + [AS_HELP_STRING([--with-$1=PREFIX], roflCopter)], [dnl if test "x$withval" = "xyes"; then xs_use_$1="yes" xs_$1_library="" @@ -95,11 +96,13 @@ xs_$1_library="" xs_$1_includes="" ])dnl + define([roflCopter], [Where the $2 headers are located])dnl AC_ARG_WITH([$1-inc], - [ --with-$1-inc=DIR Where the $2 headers are located], + [AS_HELP_STRING([--with-$1-inc=DIR], roflCopter)], [xs_$1_includes="$withval"])dnl + define([roflCopter], [Where the $2 library is installed])dnl AC_ARG_WITH([$1-lib], - [ --with-$1-lib=DIR Where the $2 library is installed], + [AS_HELP_STRING([--with-$1-lib=DIR], roflCopter)], [xs_$1_library="$withval"])dnl dnl Okay, handle this @@ -327,16 +330,16 @@ fi AC_ARG_WITH([sidbuilders], - [ --with-sidbuilders=DIR what the SIDPlay2 builders install PREFIX is], + [AS_HELP_STRING([--with-sidbuilders=DIR], [What the SIDPlay2 builders install PREFIX is])], [builders_includedir="$withval/include" builders_libdir="$withval/lib/sidplay/builders"]) AC_ARG_WITH([builders-inc], - [ --with-builders-inc=DIR where the SIDPlay2 builders headers are located], + [AS_HELP_STRING([--with-builders-inc=DIR], [Where the SIDPlay2 builders headers are located])], [builders_includedir="$withval"]) AC_ARG_WITH([builders-lib], - [ --with-builders-lib=DIR where the SIDPlay2 builders libraries are installed], + [AS_HELP_STRING([--with-builders-lib=DIR], [Where the SIDPlay2 builders libraries are installed])], [builders_libdir="$withval"]) if test "x$builders_includedir" != "x"; then