I am using autoconf 2.61. I running a problem when I try to compile an open source project under RHEL4: i get this error when I make: Copying file po/Makevars.template + rm -f po/Makevars.template + aclocal-1.9 -I m4 aclocal:configure.ac:5452: warning: macro `AM_PATH_LIBGCRYPT' not found in library configure.ac:332: error: m4_undefine: undefined macro: AC_DEPLIBS_CHECK_METHOD configure.ac:332: the top level autom4te: /usr/bin/m4 failed with exit status: 1 aclocal-1.9: autom4te failed with exit status: 1 And when I 'grep AC_DEPLIBS_CHECK_METHOD under my source directory, i find AC_DEPLIBS_CHECK_METHOD in these files: Can you please tell me why i get this error: configure.ac:332: error: m4_undefine: undefined macro: AC_DEPLIBS_CHECK_METHOD knowing AC_DEPLIBS_CHECK_METHOD is defined somewhere but not being pulled during compilation? $ grep -r AC_DEPLIBS_CHECK_METHOD . ./autom4te.cache/requests: 'AC_DEPLIBS_CHECK_METHOD' => 1, ./autom4te.cache/traces.0:AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl ./autom4te.cache/traces.0:m4trace:/usr/share/aclocal/libtool.m4:2246: -1- AC_DEFUN([AC_DEPLIBS_CHECK_METHOD], [AC_CACHE_CHECK([how to recognise dependent libraries], ./autom4te.cache/traces.0:m4trace:configure.ac:330: -1- AC_DEPLIBS_CHECK_METHOD ./aclocal.m4:AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl ./aclocal.m4:# AC_DEPLIBS_CHECK_METHOD ./aclocal.m4:AC_DEFUN([AC_DEPLIBS_CHECK_METHOD], ./aclocal.m4:])# AC_DEPLIBS_CHECK_METHOD ./configure.ac:m4_undefine([AC_DEPLIBS_CHECK_METHOD]) ./configure.ac:m4_defun([AC_DEPLIBS_CHECK_METHOD],[]) ./.svn/text-base/configure.ac.svn-base:m4_undefine([AC_DEPLIBS_CHECK_METHOD]) ./.svn/text-base/configure.ac.svn-base:m4_defun([AC_DEPLIBS_CHECK_METHOD],[]) ./.svn/text-base/aclocal.m4.svn-base:AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl ./.svn/text-base/aclocal.m4.svn-base:# AC_DEPLIBS_CHECK_METHOD ./.svn/text-base/aclocal.m4.svn-base:AC_DEFUN([AC_DEPLIBS_CHECK_METHOD], ./.svn/text-base/aclocal.m4.svn-base:])# AC_DEPLIBS_CHECK_METHOD Thank you. _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf