From: Pierre-Luc Beaudoin Date: Sun, 24 May 2009 20:13:54 +0000 (-0400) Subject: Fail if either libsoup or libsoup-gnome are not found X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75191c9a2566738853895bbcd30decfdc6b2358a;p=libchamplain Fail if either libsoup or libsoup-gnome are not found --- diff --git a/configure.ac b/configure.ac index aa3ebe3..628c867 100644 --- a/configure.ac +++ b/configure.ac @@ -73,6 +73,10 @@ if test "x$have_soup_gnome" = "xno"; then have_soup="yes", have_soup="no") fi +if test "x$have_soup" = "xno" && test "x$have_soup_gnome" = "xno"; then + AC_MSG_ERROR([Couldn't find libsoup or libsoup-gnome.]) +fi + AC_SUBST(SOUP_CFLAGS) AC_SUBST(SOUP_LIBS)