[Buildroot] [PATCH v2] libgtk2: skip tutorial and faq build

Peter Korsgaard peter at korsgaard.com
Thu Feb 26 21:58:12 UTC 2015

>>>>> "Yann" == Yann E MORIN <yann.morin.1998 at free.fr> writes:


 >> > + AC_CHECK_PROG(DB2HTML, db2html, true, false)
 >> > ++AM_CONDITIONAL([HAVE_DOCBOOK], [test ! "$DB2HTML" = "no"])
 >> Why not just pass DB2HTML=false in LIBGTK2_CONF_ENV?

 > Weird, I was under the impression I did try that and that it did not
 > work... But Justin is reporting that it does work, so my memory are
 > obviously flawed...

Yes, as far as I can see AC_CHECK_PROG directly uses the shell variable
if defined:


$DB2HTML directly expands to false, so AM_CONDITIONAL isn't true:


 >> What does that buy us? gtk-doc is disabled unless --enable-gtk-doc
 >> is passed (which we don't), so these shouldn't change anything.

 > Fact is, documentation is still generated even with
 > --disable-gtk-doc.

Really? That's not what I saw during my tests.

Venlig hilsen,
Peter Korsgaard 

More information about the buildroot mailing list