executable bit, fix text encoding

This commit is contained in:
George Danchev 2011-06-22 13:36:29 +00:00
parent 3282409ccc
commit bba7078623

80
libburn/trunk/releng/releng_build_os Normal file → Executable file
View File

@ -1,40 +1,40 @@
#!/bin/sh #!/bin/sh
set -e set -e
cd .. cd ..
if [ ! -x configure ]; then if [ ! -x configure ]; then
printf "\n*** please run ./bootstrap first.\n" printf "\n*** please run ./bootstrap first.\n"
exit 1 exit 1
fi fi
build() build()
{ {
for F in ${1} for F in ${1}
do do
make clean make clean
clear clear
printf "\n *** building with: %s\n" CPPFLAGS=-D${F} printf "\n *** building with: %s\n" CPPFLAGS=-D${F}
sleep 1 sleep 1
# libcdio is not autodetected by default; should be available everywhere # libcdio is not autodetected by default; should be available everywhere
CPPFLAGS=-D${F} ./configure --enable-libcdio; make CPPFLAGS=-D${F} ./configure --enable-libcdio; make
done done
} }
OS=`uname -o` OS=`uname -o`
case ${OS} in case ${OS} in
GNU/Linux) GNU/Linux)
printf "OS: %s\n" ${OS} printf "OS: %s\n" ${OS}
sleep 1 sleep 1
build "__linux Libburn_use_sg_dummY Libburn_use_libcdiO" build "__linux Libburn_use_sg_dummY Libburn_use_libcdiO"
;; ;;
*) *)
printf "Unknown OS: %s\n" ${OS} printf "Unknown OS: %s\n" ${OS}
exit 1 exit 1
;; ;;
esac esac
# just in case # just in case
unset CPPFLAGS unset CPPFLAGS