configure.ac: Fix --with-llvm-shared-libs
authorQuentin Glidic <sardemff7+git@sardemff7.net>
Fri, 25 Jan 2013 14:02:04 +0000 (15:02 +0100)
committerTom Stellard <thomas.stellard@amd.com>
Fri, 1 Feb 2013 22:53:46 +0000 (22:53 +0000)
commit1e857130f06d7db0c77d73b6356528f4792967ff
treeecdaa1bd8c99e52a60df9c1f4d337f6da84d51af
parent257006e2a4201c11ca5f800a74ac4aaf62a7bfc1
configure.ac: Fix --with-llvm-shared-libs

The third argument of AC_ARG_WITH is evaluated for any provided value,
not only on --with-, so it must not force-enable the feature
Also, setting $with_llvm_shared_libs in the opencl check was overriding
the user switch

https://bugs.freedesktop.org/show_bug.cgi?id=59851

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
configure.ac