Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
fix configure so it can handle --debug argument
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed Apr 18, 2009
1 parent e7dd20d commit e368571
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions configure
Expand Up @@ -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:
Expand All @@ -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 $?

0 comments on commit e368571

Please sign in to comment.