summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2009-11-29 00:34:00 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-06-26 00:30:19 -0600
commitd4a42ee34928970141b8299c104d47c0f3faecd0 (patch)
treedf2f64b260c78466f468d367aae67e1ba47b0cb1 /configure
parent3d48e43b9a2c8073663dea1f29815bfc3989c704 (diff)
add copyright notices, and start to autoconfiscate
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index b5209e9..764690a 100755
--- a/configure
+++ b/configure
@@ -26,6 +26,10 @@ _exec_prefix='$(prefix)'
_srcdir=$(readlink -f `dirname "$0"`)
_CONFIG="$@"
vars='DESTDIR prefix exec_prefix bindir sbindir libexecdir srcdir CONFIG'
+case "$1" in
+ --srcdir) _srcdir="$2"; shift 2;;
+ --srcdir=*) _srcdir=${1/--srcdir=/}; shift;;
+esac
if [ -f "$_srcdir/config" ]; then . "$_srcdir/config"; fi
error() {