I'm having some problems with Autoconf. I'm not sure if it's syntax related or i'm missing some packages. I'm attempting to build gEdit on Windows and i've hit a bit of a road block here is there that is happening: Running /usr/local/bin/aclocal-1.10... acinclude.m4:65: the serial number must appear before any macro definition acinclude.m4:90: the serial number must appear before any macro definition m4/python.m4:4: warning: underquoted definition of AM_CHECK_PYMOD m4/python.m4:4: run info '(automake)Extending aclocal' m4/python.m4:4: or see http://sources.redhat.com/automake/automake.html#Extending-aclocal Running /usr/local/bin/autoconf-2.61... configure.ac:205: warning: AM_PATH_PYTHON is m4_require'd but not m4_defun'd m4/python.m4:42: AM_CHECK_PYTHON_HEADERS is expanded from... configure.ac:205: the top level configure.ac:24: error: possibly undefined macro: AM_INIT_AUTOMAKE If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.ac:26: error: possibly undefined macro: AM_MAINTAINER_MODE configure.ac:28: error: possibly undefined macro: AC_DISABLE_STATIC configure.ac:33: error: possibly undefined macro: AC_PROG_LIBTOOL configure.ac:76: error: possibly undefined macro: AM_GLIB_GNU_GETTEXT configure.ac:117: error: possibly undefined macro: AC_MSG_ERROR configure.ac:158: error: possibly undefined macro: AC_MSG_WARN configure.ac:184: error: possibly undefined macro: AM_GCONF_SOURCE_2 configure.ac:198: error: possibly undefined macro: AM_PATH_PYTHON configure.ac:320: error: possibly undefined macro: AM_CONDITIONAL here is the the first 100 lines of the configure.ac file: AC_PREREQ(2.59) m4_define(gedit_major_version, 2) m4_define(gedit_minor_version, 21) m4_define(gedit_micro_version, 2) m4_define(gedit_version, gedit_major_version.gedit_minor_version.gedit_micro_version) AC_INIT(gedit, gedit_version, http://bugzilla.gnome.org/enter_bug.cgi?product=gedit) AC_CONFIG_SRCDIR(gedit/gedit.c) AC_CONFIG_MACRO_DIR([m4]) AC_DEFINE(GEDIT_MAJOR_VERSION, gedit_major_version, [Gedit major version]) AC_SUBST(GEDIT_MAJOR_VERSION, gedit_major_version) AC_DEFINE(GEDIT_MINOR_VERSION, gedit_minor_version, [Gedit minor version]) AC_SUBST(GEDIT_MINOR_VERSION, gedit_minor_version) AC_DEFINE(GEDIT_MICRO_VERSION, gedit_micro_version, [Gedit micro version]) AC_SUBST(GEDIT_MICRO_VERSION, gedit_micro_version) GEDIT_API_VERSION=2.20 AC_SUBST(GEDIT_API_VERSION) AM_INIT_AUTOMAKE([1.10 dist-bzip2 no-dist-gzip]) AM_MAINTAINER_MODE AC_CONFIG_HEADERS(config.h) AC_DISABLE_STATIC AC_PATH_PROG(GCONFTOOL, gconftool-2) IT_PROG_INTLTOOL([0.35.0]) AC_PROG_LIBTOOL GNOME_DOC_INIT GTK_DOC_CHECK([1.0]) AC_ISC_POSIX AC_PROG_CC AC_PROG_INSTALL AC_PROG_MAKE_SET AC_PATH_PROG(GZIP, gzip) dnl make sure we keep ACLOCAL_FLAGS around for maintainer builds to work AC_SUBST(ACLOCAL_AMFLAGS, "$ACLOCAL_FLAGS -I m4") dnl =============================================================== dnl Expanded dirs dnl =============================================================== # This macro expands DIR and assigns it to RET. # If DIR is NONE, then it's replaced by DEFAULT. # Based on AC_DEFINE_DIR AC_DEFUN([GEDIT_FULLPATH], [ test "x$prefix" = xNONE && prefix="$ac_default_prefix" test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' ac_expand=[$]$1 test "x$ac_expand" = xNONE && ac_expand="[$]$2" ac_expand=`eval echo [$]ac_expand` $3=`eval echo [$]ac_expand` ]) dnl FULL_LIBEXECDIR is used for X-GNOME-Bugzilla-ExtraInfoScript expansion dnl in data/gedit.desktop.in.in GEDIT_FULLPATH(libexecdir, NONE, FULL_LIBEXECDIR) AC_SUBST(FULL_LIBEXECDIR) dnl ================================================================ dnl Gettext stuff. dnl ================================================================ GETTEXT_PACKAGE=gedit AC_SUBST(GETTEXT_PACKAGE) AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [Gettext package]) AM_GLIB_GNU_GETTEXT dnl ================================================================ dnl spell plugins checks: enchant and iso-codes dnl ================================================================ ENCHANT_REQUIRED=1.2.0 ISO_CODES_REQUIRED=0.35 AC_ARG_ENABLE([spell], AS_HELP_STRING([--disable-spell],[Disable spell plugin (default: enabled)]), [enable_enchant=$enableval], [enable_enchant=yes]) if test "x$enable_enchant" = "xyes" ; then PKG_CHECK_MODULES(ENCHANT, enchant >= $ENCHANT_REQUIRED, \ have_enchant=yes, have_enchant=no) if test "x$have_enchant" = "xyes"; then PKG_CHECK_EXISTS([iso-codes >= $ISO_CODES_REQUIRED], [have_iso_codes=yes],[have_iso_codes=no]) -- Thanks, Steve Zimmer _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf