Configure - Get rid of the special thread_cflag, replace with thread_scheme
authorRichard Levitte <levitte@openssl.org>
Sat, 27 Feb 2016 15:51:34 +0000 (16:51 +0100)
committerRichard Levitte <levitte@openssl.org>
Wed, 2 Mar 2016 18:15:42 +0000 (19:15 +0100)
commit9c62a279fecc4ccb95ea55e1ba36470f3eab8775
tree975d816aa5b7c458be426506004b5198a7426164
parent8864f0de7b491b4c7f724f58200d843700c82e98
Configure - Get rid of the special thread_cflag, replace with thread_scheme

The thread_cflag setting filled a double role, as kinda sorta an
indicator of thread scheme, and as cflags.  Some configs also added
lflags and ex_libs for multithreading regardless of if threading would
be enabled or not.

Instead of this, add threading cflags among in the cflag setting,
threading lflags in the lflag setting and so on if and only if threads
are enabled (which they are by default).

Also, for configs where there are no special cflags for threading (the
VMS configs are of that kind), this makes it possible to still clearly
mention what thread scheme is used.

The exact value of thread scheme is currently ignored except when it's
"(unknown)", and thereby only serves as a flag to tell if we know how
to build for multi-threading in a particular config.  Yet, the
currently used values are "(unknown)", "pthreads", "uithreads" (a.k.a
solaris threads) and "winthreads".

Reviewed-by: Andy Polyakov <appro@openssl.org>
Configurations/00-base-templates.conf
Configurations/10-main.conf
Configurations/90-team.conf
Configurations/99-personal-ben.conf
Configurations/99-personal-bodo.conf
Configurations/99-personal-geoff.conf
Configurations/99-personal-rse.conf
Configurations/99-personal-steve.conf
Configure