automake, autoconf & glib on cygwin



Hallo,

Trying to build shared libs on Cygwin makes it neccessary to change the
.am templates.

Now running autoheader, automake(1.5) and autoconf(2.52) gives me
the following errors:

$ autoheader
WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
WARNING: and `config.h.top', to define templates for `config.h.in'
WARNING: is deprecated and discouraged.

WARNING: Using the third argument of `AC_DEFINE' and
WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
WARNING: `acconfig.h':

WARNING:   AC_DEFINE([NEED_MAIN], 1,
WARNING:             [Define if a function `main' is needed.])

WARNING: More sophisticated templates can also be produced, see the
WARNING: documentation.
configure.in:199: error: m4_defn: undefined macro: _AC_LANG
autoconf/lang.m4:157: AC_LANG_POP is expanded from...
configure.in:199: the top level
autoheader: autom4te failed with exit status: 1
 at /bin/autoheader line 168

$ automake --foreign --copy --add-missing
gobject/Makefile.am: MAINTAINERCLEANFILES must be set with `=' before using `+='
gobject/Makefile.am: EXTRA_HEADERS must be set with `=' before using `+='
gobject/Makefile.am: EXTRA_DIST must be set with `=' before using `+='
gobject/Makefile.am: CLEANFILES must be set with `=' before using `+='
gobject/Makefile.am:172: libgobject_1_3_la_SOURCES includes configure substitution ` STRIP_BEGIN@'
gobject/Makefile.am:172: libgobject_1_3_la_SOURCES includes configure substitution ` STRIP_END@'
gobject/Makefile.am:185: invalid unused variable name: `progs_LDADD'
tests/Makefile.am:96: invalid unused variable name: `progs_LDADD'
tests/Makefile.am:97: invalid unused variable name: `thread_LDADD'
tests/Makefile.am:98: invalid unused variable name: `module_LDADD'

$ autoconf
configure.in:199: error: m4_defn: undefined macro: _AC_LANG
autoconf/lang.m4:157: AC_LANG_POP is expanded from...
configure.in:199: the top level

  

Ciao,

Gerrit P. Haase                          mailto:gp familiehaase de
-- 
=^..^=




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]