[sr #110503] Autoconf 2.70 problem: gkt-doc/gtkdocize is now unconditionally required

Paul Eggert <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.bugs
Message-ID <[email protected]>
Follow-up Comment #4, sr #110503 (project autoconf):

[comment #3 comment #3:]
> Can you clarify what you mean by self-contained example? All it takes is to
create a configure.ac with the snippet I quoted in the previous comment and
run
> autoreconf -fiv.
I mean a standalone shell script that reproduces the problem. The information
given naively suggests this:


cat >configure.ac <<'EOF'
# check for gtk-doc
m4_ifdef([GTK_DOC_CHECK], [
GTK_DOC_CHECK([1.14],[--flavour no-tmpl])
],[
AM_CONDITIONAL([ENABLE_GTK_DOC], false)
])
EOF
autoreconf -fiv


This is obviously wrong, though, as it fails with:


autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: error: configure.ac: AC_INIT not found; not an autoconf script?
autoreconf: Leaving directory '.'


What would be the right shell script to reproduce the problem?

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/support/?110503>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.