diff options
author | Kenneth Graunke <kenneth@whitecape.org> | 2010-06-17 15:14:47 -0700 |
---|---|---|
committer | Kenneth Graunke <kenneth@whitecape.org> | 2010-06-19 11:36:15 -0700 |
commit | 57d0fc413976d0a80391080ee2b95369ecace4ad (patch) | |
tree | bb2911439721533187f0a18f6ebb50de59c53dac | |
parent | c186b3fbe0864caa12e3c3ab8136efd3ca0832a7 (diff) |
Link against talloc. We're going to be using it.
-rw-r--r-- | Makefile.am | 1 | ||||
-rw-r--r-- | configure.ac | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index c1b94a5..efed87a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -23,6 +23,7 @@ AUTOMAKE_OPTIONS = foreign bin_PROGRAMS = glsl +glsl_LDFLAGS = @LDFLAGS@ $(talloc_LIBS) glsl_SOURCES = \ main.cpp \ builtin_types.h \ diff --git a/configure.ac b/configure.ac index 37f3283..09c5f4b 100644 --- a/configure.ac +++ b/configure.ac @@ -28,6 +28,7 @@ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) # Checks for library functions. AC_HEADER_STDC +PKG_CHECK_MODULES([talloc], [talloc >= 2.0]) AC_ARG_ENABLE([debug], [AS_HELP_STRING([--enable-debug], |