summaryrefslogtreecommitdiff
path: root/dvconfigure
blob: 58dfbb61e179043eb359aa6cd9153ca8251e3c60 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

topdir="${0%/*}";
abstopdir=$(readlink -f "$topdir");
if [ ! -e "${topdir}/configure" ]; then
	pushd "$topdir";
	./autogen.sh;
	popd;
fi;
exec "$topdir/configure" CFLAGS="-O0 -ggdb3" CXXFLAGS="-O0 -ggdb3" "$@";