On 03/06/2017 12:06 PM, Matt Turner wrote:
---
  configure.ac | 6 ++----
  1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/configure.ac b/configure.ac
index 37f6b60..d44a229 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2018,10 +2018,8 @@ if test "x$enable_opencl" = xyes; then
                      PKG_CONFIG_PATH environment variable.
                      By default libclc.pc is installed to 
/usr/local/share/pkgconfig/])
      else
-        LIBCLC_INCLUDEDIR=`$PKG_CONFIG --variable=includedir libclc`
-        LIBCLC_LIBEXECDIR=`$PKG_CONFIG --variable=libexecdir libclc`
-        AC_SUBST([LIBCLC_INCLUDEDIR])
-        AC_SUBST([LIBCLC_LIBEXECDIR])
+        PKG_CHECK_VAR([LIBCLC_INCLUDEDIR], [libclc], [includedir])
+        PKG_CHECK_VAR([LIBCLC_LIBEXECDIR], [libclc], [libexecdir])
      fi

      gallium_st="$gallium_st clover"


Hi Matt,

I'm getting a configure error after this change:

$ ./autogen.sh CFLAGS="-g -O0" CXXFLAGS="-g -O0" --enable-debug --enable-glx=gallium-xlib --disable-driglx-direct --disable-dri --enable-osmesa --with-gallium-drivers=swrast,svga --disable-xvmc --disable-gbm --disable-egl
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `bin'.
libtoolize: copying file `bin/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
autoreconf: running: /usr/bin/autoconf --force
configure.ac:2021: error: possibly undefined macro: PKG_CHECK_VAR
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1


Any ideas?

-Brian

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to