From 52f19651f661aec496aea1ba0cfc694db848cfc3 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Mon, 6 Jun 2011 15:19:06 +0200 Subject: [PATCH] src/sn-apply.c: Remove unused include. --- configure.ac | 5 +++++ src/sn-apply.c | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 11b9f59..87c8200 100644 --- a/configure.ac +++ b/configure.ac @@ -113,6 +113,11 @@ PKG_CHECK_MODULES([glib], [glib-2.0], [have_libglib="yes"], [have_libglib="no"]) +if test "x$have_libglib" != "xyes" +then + AC_MSG_ERROR([The GLib library could not be found. It is required when building libsortnetwork!]) +fi + AC_CONFIG_FILES([Makefile src/Makefile]) AC_OUTPUT diff --git a/src/sn-apply.c b/src/sn-apply.c index 24f01d7..f70b378 100644 --- a/src/sn-apply.c +++ b/src/sn-apply.c @@ -35,7 +35,6 @@ #include #include "sn_network.h" -#include "sn_population.h" #include "sn_random.h" static sn_network_t *network = NULL; -- 2.11.0