mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04: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..."
|
||||
exit 0
|
||||
fi
|
||||
DATADIR=${datadir/\$\{prefix\}/$prefix}
|
||||
DATADIR=${DATADIR/./$PWD}
|
||||
AC_DEFINE_UNQUOTED(DATADIR, "$DATADIR")
|
||||
|
||||
eval dir="$datadir"
|
||||
case "$dir" in
|
||||
/*) ;;
|
||||
*) dir="$PWD/$dir"
|
||||
esac
|
||||
AC_DEFINE_UNQUOTED(DATADIR, "$dir")
|
||||
|
||||
AC_OUTPUT(Makefile doc/Makefile include/Makefile src/Makefile \
|
||||
src/control/Makefile src/mixer/Makefile src/pcm/Makefile \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue