]> err.no Git - libchamplain/commitdiff
Fail if either libsoup or libsoup-gnome are not found
authorPierre-Luc Beaudoin <pierre-luc@pierlux.com>
Sun, 24 May 2009 20:13:54 +0000 (16:13 -0400)
committerPierre-Luc Beaudoin <pierre-luc@pierlux.com>
Sun, 24 May 2009 20:13:54 +0000 (16:13 -0400)
configure.ac

index aa3ebe3f2ae99f91ebfaa204923f3f83a757ac58..628c867eaa10264a71d4d667e2ae639a9ca69173 100644 (file)
@@ -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)