diff --git a/scripts/ax_check_qt.m4 b/scripts/ax_check_qt.m4 index f17af0e..e0eecf2 100644 --- a/scripts/ax_check_qt.m4 +++ b/scripts/ax_check_qt.m4 @@ -275,7 +275,7 @@ AC_DEFUN([AX_QT_NO_KEYWORDS], [ AC_DEFUN([AX_INIT_QT], [ if test -n "${AX_ADDITIONAL_QT_RULES_HACK}"; then - for f in $(find test src -name makefile.in); do + for f in $(find test examples src -name makefile.in); do test -f "$f" && cat >> "$f" <&2 + exit 1 +fi +EOF1 +fi) automake -a autoconf EOF @@ -1862,7 +1878,15 @@ else #### Bootstrap Before Configure #### run --no-check vcs2cl run aclocal - if testtag AX_USE_LIBTOOL; then run libtoolize --force; fi + if testtag AX_USE_LIBTOOL; then + if which -s libtoolize; then + run libtoolize --force; + elif which -s glibtoolize; then + run glibtoolize --force; + else + error libtoolize not found + fi + fi run automake -a run autoconf