aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2011-01-16 18:23:31 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:11 +0100
commit63dc461a73ba698ccbab42ae3d4427810b1af14e (patch)
tree7dfdab8d4d0b30269e718ec95f18141af54f3e82 /configure.ac
parent63039a76484b181e18a76144f7c38b1467dd861b (diff)
Use gl_IGNORE_UNUSED_LIBRARIES
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 6 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 21fb1be0..da550a85 100644
--- a/configure.ac
+++ b/configure.ac
@@ -153,12 +153,16 @@ PKG_CHECK_MODULES([GDK_pixbuf], [gdk-pixbuf], [],
])
-CFLAGS="$CFLAGS $HDF5_CFLAGS $GTK_CFLAGS $GSL_CFLAGS $OPENCL_CFLAGS -pthread"
+gl_IGNORE_UNUSED_LIBRARIES
+
+
+CFLAGS="$CFLAGS $HDF5_CFLAGS $GSL_CFLAGS $OPENCL_CFLAGS -pthread $GTK_CFLAGS"
CFLAGS="$CFLAGS $LIBTIFF_CFLAGS -D_GNU_SOURCE $libPNG_CFLAGS $Cairo_CFLAGS"
CFLAGS="$CFLAGS $GDK_pixbuf_CFLAGS $GDK_pixbuf_2_CFLAGS"
LIBS="$LIBS $HDF5_LIBS -lm -lz $GSL_LIBS $GTK_LIBS $OPENCL_LIBS -pthread"
LIBS="$LIBS $LIBTIFF_LIBS $libPNG_LIBS $Cairo_LIBS $GDK_pixbuf_LIBS"
-LIBS="$LIBS $GDK_pixbuf_2_LIBS"
+LIBS="$LIBS $GDK_pixbuf_2_LIBS $LDFLAGS"
+
AC_CONFIG_FILES(Makefile lib/Makefile)
AC_OUTPUT