summaryrefslogtreecommitdiff
path: root/qconf
diff options
context:
space:
mode:
Diffstat (limited to 'qconf')
-rwxr-xr-xqconf12
1 files changed, 12 insertions, 0 deletions
diff --git a/qconf b/qconf
new file mode 100755
index 0000000..654e0bb
--- /dev/null
+++ b/qconf
@@ -0,0 +1,12 @@
+#!/bin/sh
+topdir="${0%/*}"
+if [ "$topdir" = "$0" ]; then
+ topdir=.
+fi
+abstopdir=$(readlink -f "$topdir")
+if [ ! -e "${topdir}/configure" ]; then
+ cd "$topdir"
+ autoreconf -fi
+ cd -
+fi
+exec "$topdir/configure" CFLAGS="-O0 -ggdb3" CXXFLAGS="-O0 -ggdb3" "$@"