From 16e58ccabe82d989f6c1fb791b11b26435184dfc Mon Sep 17 00:00:00 2001 From: Nicola Fontana Date: Fri, 5 Apr 2013 22:15:40 +0200 Subject: [PATCH] build: do not fail on missing adg-demo.ui If adg-demo.ui is not found it could be ADG has been compiled without GTK+ support, a perfectly valid situation. Do not fail in this case but emit only a warning message. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 1092fbf..1f9d3b5 100644 --- a/configure.ac +++ b/configure.ac @@ -41,7 +41,7 @@ AC_ARG_WITH(adgdatadir, AS_IF([test "x$with_adgdatadir" = "x"], [with_adgdatadir="$($PKG_CONFIG --variable=datadir adg-1)/adg" AS_IF([test -f "$with_adgdatadir/adg-demo.ui"],[:], - [AC_MSG_ERROR([adg-demo.ui missing in adgdatadir ($with_adgdatadir)])])]) + [AC_MSG_WARN([adg-demo.ui missing in adgdatadir ($with_adgdatadir)])])]) AC_SUBST([ADGDATADIR],${with_adgdatadir}) -- 2.11.4.GIT