From: Florian Forster Date: Mon, 6 Jun 2011 13:19:06 +0000 (+0200) Subject: src/sn-apply.c: Remove unused include. X-Git-Tag: v1.1.0~2 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=52f19651f661aec496aea1ba0cfc694db848cfc3;p=sort-networks.git src/sn-apply.c: Remove unused include. --- 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;