Browse Source

fix configure so it can handle --debug argument

v0.7.4-release
Ryan 16 years ago
parent
commit
e368571f46
  1. 19
      configure

19
configure

@ -88,16 +88,16 @@ all-progress:
install: install:
if test -n "\$(DESTDIR)"; then \\ if test -n "\$(DESTDIR)"; then \\
$WAF install --yes --destdir="\$(DESTDIR)" --prefix="$PREFIX"; \\ $WAF install --yes --destdir="\$(DESTDIR)" ; \\
else \\ else \\
$WAF install --yes --prefix="$PREFIX"; \\ $WAF install --yes ; \\
fi; fi;
uninstall: uninstall:
@if test -n "\$(DESTDIR)"; then \\ @if test -n "\$(DESTDIR)"; then \\
$WAF uninstall --destdir="\$(DESTDIR)" --prefix="$PREFIX"; \\ $WAF uninstall --destdir="\$(DESTDIR)" ; \\
else \\ else \\
$WAF uninstall --prefix="$PREFIX"; \\ $WAF uninstall ; \\
fi; fi;
clean: clean:
@ -121,17 +121,8 @@ EOF
checkWAF checkWAF
PREFIX=/usr/local
case $1 in
--prefix)
PREFIX=$2
;;
esac
export PREFIX
generateMakefile generateMakefile
"${WAF}" configure $*
"${WAF}" configure --prefix "${PREFIX}"
exit $? exit $?

Loading…
Cancel
Save