Skip to content

Commit

Permalink
autogen: Always abide --system
Browse files Browse the repository at this point in the history
If we do ./autogen.sh && ./configure, then later try ./autogen.sh --system,
configure isn't invoked with the requested params. Instead
config.status --recheck is run.
  • Loading branch information
crobinso committed Jun 15, 2012
1 parent cc004a6 commit 2cd29c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ if test "x$OBJ_DIR" != x; then
cd "$OBJ_DIR"
fi

if test -z "$*" && test -f config.status; then
if test -z "$*" && test -z "$EXTRA_ARGS" && test -f config.status; then
./config.status --recheck
else
$srcdir/configure $EXTRA_ARGS "$@"
Expand Down

0 comments on commit 2cd29c3

Please sign in to comment.