Refactor config - rewrite handling of "reconf"
authorRichard Levitte <levitte@openssl.org>
Mon, 18 May 2015 01:33:55 +0000 (03:33 +0200)
committerRichard Levitte <levitte@openssl.org>
Thu, 21 Jan 2016 06:04:47 +0000 (07:04 +0100)
commitfe05264e32327e33f0b0c091479affeecbf55e89
treea8802a6740006eae286512217cf43637e3846566
parentfeb2f53edc7e9b96cfe9c0ab611461edabdd2b34
Refactor config - rewrite handling of "reconf"

The way the "reconf"/"reconfigure" argument is handled is overly
complicated.  Just grep for it first, and if it is there in the
current arguments, get the old command line arguments from Makefile.

While we're at it, make the Makefile variable CONFIGURE_ARGS hold the
value as a perl list of strings.  This makes things much safer in case
one of the arguments would contain a space.  Since CONFIGURE_ARGS is
used for nothing else, there's no harm in this.

Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Configure