On Wed, 2018-10-31 at 13:30 +0000, Emil Velikov wrote: > From: Emil Velikov <emil.veli...@collabora.com> > > The option has been long superseded with LLVM_CONFIG. > Distributions have been using it for a couple of years now.
I've been using it in my configure setup. This might be a stupid question; is the LLVM_CONFIG env var remembered between reconfigure (touch configure.ac; make) or do I need to provide it explicitly every time configure is run? Jan > > Signed-off-by: Emil Velikov <emil.veli...@collabora.com> > --- > configure.ac | 12 ++++-------- > 1 file changed, 4 insertions(+), 8 deletions(-) > > diff --git a/configure.ac b/configure.ac > index f41f60d95a7..a5863022295 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -1019,9 +1019,9 @@ AC_ARG_ENABLE([llvm-shared-libs], > > AC_ARG_WITH([llvm-prefix], > [AS_HELP_STRING([--with-llvm-prefix], > - [Prefix for LLVM installations in non-standard locations])], > - [llvm_prefix="$withval"], > - [llvm_prefix='']) > + [DEPRECATED: Use export LLVM_CONFIG=... if needed.])], > + [AC_MSG_ERROR([--with-llvm-prefix is deprecated. Use export > LLVM_CONFIG=... if needed.])], > + []) > > PKG_CHECK_MODULES([LIBELF], [libelf], [have_libelf=yes], [have_libelf=no]) > if test "x$have_libelf" = xno; then > @@ -1033,11 +1033,7 @@ if test "x$have_libelf" = xno; then > fi > > if test -z "$LLVM_CONFIG"; then > - if test -n "$llvm_prefix"; then > - AC_PATH_TOOL([LLVM_CONFIG], [llvm-config], [no], > ["$llvm_prefix/bin"]) > - else > - AC_PATH_TOOL([LLVM_CONFIG], [llvm-config], [no]) > - fi > + AC_PATH_TOOL([LLVM_CONFIG], [llvm-config], [no]) > fi > > llvm_add_component() {
signature.asc
Description: This is a digitally signed message part
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev