Credit Andrew for build mods and cineform format
[goodguy/cinelerra.git] / cinelerra-5.1 / autogen.sh
1 #!/bin/bash -x
2
3 rm -f global_config configure Makefile Makefile.in
4 rm -f aclocal.m4 depcomp compile install-sh ltmain.sh
5 rm -f config.{log,guess,h,h.in,sub,status} missing
6 rm -rf autom4te.cache m4
7
8 if [ "$1" = "clean" ]; then exit 0; fi
9
10 #autoupdate
11 mkdir m4
12 autoreconf --install
13
14 if [ "$(uname -o)" = "Android" ] || [ -e "/system/bin/app_process" ]; then
15 sed -i 's/usr\/bin\/sh/usr\/bin\/bash/' configure
16 fi