Tried with autoconf 2.57 and 2.13. [ambs@eremita pkgconfig]$ make make all-recursive make[1]: Entering directory `/home/ambs/MISC-CVS/pkgconfig/pkgconfig' Making all in glib-1.2.8 make[2]: Entering directory `/home/ambs/MISC-CVS/pkgconfig/pkgconfig/glib-1.2.8'cd . && autoconf configure.in:20: /usr/bin/m4: Non-numeric argument to built-in `divert' autom4te: /usr/bin/m4 failed with exit status: 1 make[2]: *** [configure] Error 1 make[2]: Leaving directory `/home/ambs/MISC-CVS/pkgconfig/pkgconfig/glib-1.2.8' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/ambs/MISC-CVS/pkgconfig/pkgconfig' make: *** [all-recursive-am] Error 2
glib 2.x uses # GLIB_AC_DIVERT_BEFORE_HELP(STUFF) # --------------------------------- # Put STUFF early enough so that they are available for $ac_help expansion. # Handle both classic (<= v2.13) and modern autoconf AC_DEFUN([GLIB_AC_DIVERT_BEFORE_HELP], [ifdef([m4_divert_text], [m4_divert_text([NOTICE],[$1])], [ifdef([AC_DIVERT], [AC_DIVERT([NOTICE],[$1])], [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)dnl $1 AC_DIVERT_POP()])])]) in acglib.m4. Using this GLIB_AC_DIVERT_BEFORE_HELP([ ... ]) instead of the AC_DIVERT_PUSH .. AC_DIVERT_POP and latest autoconf/automake solves the DIVERT problem, but I have another :D AM_PROG_LIBTOOL gives me: loading cache /dev/null within ltconfig ltconfig: you must specify a host type if you use `--no-verify' Try `ltconfig --help' for more information. configure: error: libtool configure failed configure: error: /bin/sh './configure' failed for glib-1.2.8
Fixed; pkgconfig now wants at least automake 1.7 and autoconf 2.5. Patches for glib also added.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.