summaryrefslogtreecommitdiff
path: root/dvconfigure
diff options
context:
space:
mode:
Diffstat (limited to 'dvconfigure')
-rwxr-xr-xdvconfigure10
1 files changed, 10 insertions, 0 deletions
diff --git a/dvconfigure b/dvconfigure
new file mode 100755
index 0000000..5747bfe
--- /dev/null
+++ b/dvconfigure
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+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" "$@";