From 75191c9a2566738853895bbcd30decfdc6b2358a Mon Sep 17 00:00:00 2001 From: Pierre-Luc Beaudoin Date: Sun, 24 May 2009 16:13:54 -0400 Subject: [PATCH] Fail if either libsoup or libsoup-gnome are not found --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) 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) -- 2.39.5