Introduce the "pic" / "no-pic" config option
authorRichard Levitte <levitte@openssl.org>
Mon, 22 Feb 2016 01:09:11 +0000 (02:09 +0100)
committerRichard Levitte <levitte@openssl.org>
Mon, 22 Feb 2016 13:38:31 +0000 (14:38 +0100)
commitae48242c81b849e5ef038592a6f4e5c595890376
treed1e8ffbb9ccda55f2ef1ea96c14feb53cff87b45
parent19ab579060aa261bb1f7ed3dcd102471dfd556ee
Introduce the "pic" / "no-pic" config option

Building shared libraries or not is not the same as building position
independent code or not.  It's true that if you don't build PIC, you
can't build shared libraries.  However, you may very well want to
build only static libraries but still want PIC code.

Therefore, we introduce a new configuration option "pic", which is
enabled by default or explicitely with "enable-pic", or disabled with
"no-pic" or "disable-pic".  Of course, if "pic" is disabled, "shared"
and "dynamic-engine" are automatically disabled as well.

Reviewed-by: Rich Salz <rsalz@openssl.org>
Configure