mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 21:21:12 +00:00
Using bash is problematic on non-linux plattforms, Matthias use NetBSD.
Original commit message from CVS: moving GStreamer from Bash to sh. Patch from Matthias Friedrich <matt@mafr.de> Using bash is problematic on non-linux plattforms, Matthias use NetBSD. Matthias message: I appended the promised fix to autogen.sh and friends. That way, only plain /bin/sh is needed as it is present on all Unices. The problems were non-portable pushd/popd functions and the usage of a '==' comparison which is non-standard in test(1). The standard is '=', although C programmers never believe it.
This commit is contained in:
parent
f4f0a51890
commit
d5ec52c3dd
1 changed files with 4 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
# Run this to generate all the initial makefiles, etc.
|
||||
|
||||
DIE=0
|
||||
|
@ -71,13 +71,14 @@ tool_run "$automake" "-a -c"
|
|||
|
||||
echo
|
||||
echo "+ running autogen.sh --noconfigure $@ in libs/ext/cothreads..."
|
||||
pushd libs/ext/cothreads > /dev/null
|
||||
OLDDIR=`pwd`
|
||||
cd libs/ext/cothreads
|
||||
echo
|
||||
./autogen.sh --noconfigure $@ || {
|
||||
echo "autogen in cothreads failed."
|
||||
exit 1
|
||||
}
|
||||
popd > /dev/null
|
||||
cd "$OLDDIR"
|
||||
echo
|
||||
|
||||
test -n "$NOCONFIGURE" && {
|
||||
|
|
Loading…
Reference in a new issue