[Mesa-dev] [PATCH 3/8] configure.ac: remove unused LLVM variables
Tobias Droste
tdroste at gmx.de
Wed Jan 18 17:54:55 UTC 2017
Reviewed-by: Tobias Droste <tdroste at gmx.de>
Am Mittwoch, 18. Januar 2017, 13:53:59 CET schrieb Emil Velikov:
> From: Emil Velikov <emil.velikov at collabora.com>
>
> LLVM_BINDIR is completely unused while others such as LLVM_LIBDIR are
> used only internally. In the latter case there's no need to AC_SUBST it.
>
> Cc: Tobias Droste <tdroste at gmx.de>
> Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
> ---
> configure.ac | 5 -----
> 1 file changed, 5 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index f19164eaf2..647c24a895 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -972,7 +972,6 @@ llvm_set_environment_variables() {
> if test "x$LLVM_CONFIG" != xno; then
> LLVM_VERSION=`$LLVM_CONFIG --version | egrep -o '^[[0-9.]]+'`
> LLVM_LDFLAGS=`$LLVM_CONFIG --ldflags`
> - LLVM_BINDIR=`$LLVM_CONFIG --bindir`
> LLVM_CPPFLAGS=`strip_unwanted_llvm_flags "$LLVM_CONFIG --cppflags"`
> LLVM_CFLAGS=$LLVM_CPPFLAGS # CPPFLAGS seem to be sufficient
> LLVM_CXXFLAGS=`strip_unwanted_llvm_flags "$LLVM_CONFIG --cxxflags"` @@
> -1075,15 +1074,11 @@ radeon_llvm_check() {
>
> llvm_set_environment_variables
>
> -AC_SUBST([LLVM_BINDIR])
> AC_SUBST([LLVM_CFLAGS])
> -AC_SUBST([LLVM_CPPFLAGS])
> AC_SUBST([LLVM_CXXFLAGS])
> -AC_SUBST([LLVM_LIBDIR])
> AC_SUBST([LLVM_LIBS])
> AC_SUBST([LLVM_LDFLAGS])
> AC_SUBST([LLVM_INCLUDEDIR])
> -AC_SUBST([LLVM_VERSION])
>
> dnl Options for APIs
> AC_ARG_ENABLE([opengl],
More information about the mesa-dev
mailing list