mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-12-16 08:56:42 -05:00
Get rid of ugly bash2 requirement
This commit is contained in:
parent
c51095434d
commit
86ddd545be
1 changed files with 7 additions and 3 deletions
10
configure.in
10
configure.in
|
|
@ -55,9 +55,13 @@ if test -z $BASH; then
|
||||||
echo "Please, use the GNU BASH shell..."
|
echo "Please, use the GNU BASH shell..."
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
DATADIR=${datadir/\$\{prefix\}/$prefix}
|
|
||||||
DATADIR=${DATADIR/./$PWD}
|
eval dir="$datadir"
|
||||||
AC_DEFINE_UNQUOTED(DATADIR, "$DATADIR")
|
case "$dir" in
|
||||||
|
/*) ;;
|
||||||
|
*) dir="$PWD/$dir"
|
||||||
|
esac
|
||||||
|
AC_DEFINE_UNQUOTED(DATADIR, "$dir")
|
||||||
|
|
||||||
AC_OUTPUT(Makefile doc/Makefile include/Makefile src/Makefile \
|
AC_OUTPUT(Makefile doc/Makefile include/Makefile src/Makefile \
|
||||||
src/control/Makefile src/mixer/Makefile src/pcm/Makefile \
|
src/control/Makefile src/mixer/Makefile src/pcm/Makefile \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue