diff options
author | Ryan <ry@tinyclouds.org> | 2009-04-18 16:31:13 +0400 |
---|---|---|
committer | Ryan <ry@tinyclouds.org> | 2009-04-18 16:31:13 +0400 |
commit | e368571f462554caebaba70e2be9e4bb5264e876 (patch) | |
tree | 3b04d32358ffe6047d01f37f6ad1fe0a905b9c49 /configure | |
parent | e7dd20dc6e2888a2966bb3a5cbd73e0eb65fc3be (diff) |
fix configure so it can handle --debug argument
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/configure b/configure index 01876912fcb..efa9df2671a 100755 --- a/configure +++ b/configure @@ -88,16 +88,16 @@ all-progress: install: if test -n "\$(DESTDIR)"; then \\ - $WAF install --yes --destdir="\$(DESTDIR)" --prefix="$PREFIX"; \\ + $WAF install --yes --destdir="\$(DESTDIR)" ; \\ else \\ - $WAF install --yes --prefix="$PREFIX"; \\ + $WAF install --yes ; \\ fi; uninstall: @if test -n "\$(DESTDIR)"; then \\ - $WAF uninstall --destdir="\$(DESTDIR)" --prefix="$PREFIX"; \\ + $WAF uninstall --destdir="\$(DESTDIR)" ; \\ else \\ - $WAF uninstall --prefix="$PREFIX"; \\ + $WAF uninstall ; \\ fi; clean: @@ -121,17 +121,8 @@ EOF checkWAF -PREFIX=/usr/local -case $1 in - --prefix) - PREFIX=$2 - ;; -esac - -export PREFIX generateMakefile - -"${WAF}" configure --prefix "${PREFIX}" +"${WAF}" configure $* exit $? |