I'd like to use gnulib's unistr/u8-check module from the token writer.
After using gnulib-tool (from gnulib's git repository) to import it I
get this error from ./bootstrap:
Bootstrapping the GNU PDF Library with:
autoreconf -i
configure.ac:33: error: AC_PROG_CC cannot be called after AM_PROG_CC_C_O
configure.ac:33: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: autom4te failed with exit status: 1
autoreconf2.50: aclocal failed with exit status: 1
After making some changes recommended by gnulib-tool (e.g. "invoke
gl_EARLY in ./configure.ac, right after AC_PROG_CC,"), the bootstrap
gives various warnings about AC_RUN_IFELSE and other functions.
Can anyone import that module into the trunk or help debug the problems?
gnulib-tool is updating many files that seem unrelated to this module;
is there a way to just import one module?
Imported in the trunk. I got the warning messages away by not calling
AC_PROG_LIBTOOL before gl_EARLY, but just AC_PROG_CC:
AC_INIT(src/pdf-global.h)
AC_CONFIG_AUX_DIR([build-aux])
AM_INIT_AUTOMAKE(libgnupdf, trunk)
AM_CONFIG_HEADER(src/config.h)
AC_CONFIG_MACRO_DIR([m4])
dnl Compiler issues
AC_PROG_CC
gl_EARLY
dnl Libtool
AC_PROG_LIBTOOL