From 05ca17c6975f2210885927e273280016fe1f9e20 Mon Sep 17 00:00:00 2001 From: infirit Date: Tue, 22 Jul 2014 13:23:44 +0200 Subject: libunique is no optional This is most likely the beginning of a GtkApplication port that did not happen. --- configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index fc5a7131..61763d01 100644 --- a/configure.ac +++ b/configure.ac @@ -280,7 +280,7 @@ PKG_CHECK_MODULES(UNIQUE, unique-$LIBUNIQUE_VERSION, enable_libunique=yes, enabl AC_SUBST([UNIQUE_CFLAGS]) AC_SUBST([UNIQUE_LIBS]) -AC_ARG_ENABLE(unique, [ --enable-unique enable the use of libunique instead of g_application or gtk_application], enable_libunique=yes,) +#AC_ARG_ENABLE(unique, [ --enable-unique enable the use of libunique instead of g_application or gtk_application], enable_libunique=yes,) if test "x$enable_libunique" = "xyes"; then UNIQUE_CFLAGS="$UNIQUE_CFLAGS -DUSE_UNIQUE=1" @@ -292,6 +292,8 @@ if test "x$enable_libunique" = "xyes"; then fi EXTRA_CORE_MODULES="$EXTRA_CORE_MODULES unique-$LIBUNIQUE_VERSION" +else + AC_ERROR([LIBUNIQUE ${LIBUNIQUE_VERSION} not found]) fi -- cgit v1.2.1