configure.ac: Add variables LLVM_CPPFLAGS and LLVM_LIBDIR
authorTom Stellard <thomas.stellard@amd.com>
Tue, 24 Apr 2012 14:34:57 +0000 (10:34 -0400)
committerTom Stellard <thomas.stellard@amd.com>
Fri, 1 Jun 2012 15:28:09 +0000 (11:28 -0400)
configs/autoconf.in
configure.ac

index 6be977794dea5eef0bd5712a5dd6941847ecc62c..ce02ae6ebc189c65bb48ae9532c6b04d21555a3f 100644 (file)
@@ -34,8 +34,10 @@ X11_LIBS = @X11_LIBS@
 X11_CFLAGS = @X11_CFLAGS@
 LLVM_BINDIR = @LLVM_BINDIR@
 LLVM_CFLAGS = @LLVM_CFLAGS@
+LLVM_CPPFLAGS = @LLVM_CPPFLAGS@
 LLVM_CXXFLAGS = @LLVM_CXXFLAGS@
 LLVM_LDFLAGS = @LLVM_LDFLAGS@
+LLVM_LIBDIR = @LLVM_LIBDIR@
 LLVM_LIBS = @LLVM_LIBS@
 LLVM_INCLUDEDIR = @LLVM_INCLUDEDIR@
 GLW_CFLAGS = @GLW_CFLAGS@
index 7ddd5fad118ebb3df8dcfd8b71612909204eb99f..07b64830d761e9abdc55d5ee93677a3dddc9a28f 100644 (file)
@@ -1705,7 +1705,9 @@ fi
 
 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])
@@ -1856,7 +1858,9 @@ if test "x$enable_gallium_llvm" = xyes; then
        LLVM_LDFLAGS=`$LLVM_CONFIG --ldflags`
        LLVM_BINDIR=`$LLVM_CONFIG --bindir`
        LLVM_CXXFLAGS=`$LLVM_CONFIG --cxxflags`
+       LLVM_CPPFLAGS=`$LLVM_CONFIG --cppflags`
        LLVM_INCLUDEDIR=`$LLVM_CONFIG --includedir`
+       LLVM_LIBDIR=`$LLVM_CONFIG --libdir`
        DEFINES="${DEFINES} -DHAVE_LLVM=`echo $LLVM_VERSION | sed -e 's/\([[0-9]]\)\.\([[0-9]]\)/0x0\10\2/g'`"
        MESA_LLVM=1
     else