Akim Demaille wrote:
| I doesn't seem to be related to Autoconf. Are you sure you run the
| current Autoconf? I see it tries to access
| /usr/local/share/autoconf/acconfig.h, which is not the way the current
| Autoconf behaves (it no longer use it).
I don't have other version of autoconf installed on my
system.
| Well, no, it is indeed the right autoheader.
| test -r $localdir/acconfig.h &&
| grep @TOP@ $localdir/acconfig.h >/dev/null &&
| sed '/@TOP@/,$d' $localdir/acconfig.h >>$tmpout
|
| but I don't understand how grep and sed could have been launched if
| acconfig.h doesn't exist.
|
| What is it that you ran?
Midnight Commander CVS. I delete every autoconf/automake
related files from my host, and install the last releases.
Let see, what happend.
aclocal: configure.in: 129: macro `AM_PATH_GLIB' not found in library
configure.in:929: warning: AC_TRY_RUN called without default to allow cross compiling
configure.in:1113: warning: AC_TRY_RUN called without default to allow cross compiling
configure.in:929: warning: AC_TRY_RUN called without default to allow cross compiling
configure.in:1113: warning: AC_TRY_RUN called without default to allow cross compiling
autoconf: Undefined macros:
configure.in:1156: AC_LIB_XPM
configure.in:1160: AC_X_SHAPE_EXTENSION
configure.in:154:AC_SHORT_D_NAME_LEN
configure.in:207:AC_TRY_WARNINGS([#include <crypt.h>], [char *p = crypt("xxx",
"yyy");],[
configure.in:211:AC_TRY_WARNINGS([#include <unistd.h>], [char *p = crypt("xxx",
"yyy");],[
configure.in:279:AC_GET_FS_INFO
configure.in:53:AC_PROG_GNU_MAKE
configure.in:203: warning: AC_TRY_RUN called without default to allow cross compiling
configure.in:204: warning: AC_TRY_RUN called without default to allow cross compiling
configure.in:203: warning: AC_TRY_RUN called without default to allow cross compiling
configure.in:204: warning: AC_TRY_RUN called without default to allow cross compiling
creating cache ./config.cache
checking host system type... i486-pc-linux-gnu
checking target system type... i486-pc-linux-gnu
checking build system type... i486-pc-linux-gnu
checking whether make sets ${MAKE}... yes
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for mawk... mawk
./configure: AC_PROG_GNU_MAKE: command not found
checking for AIX... no
checking for minix/config.h... no
checking for POSIXized ISC... no
./configure: MC_HPUX_PROG_CC_STDC: command not found
checking whether sys/types.h defines makedev... yes
checking for working const... yes
checking for mv... /bin/mv
checking for cp... /bin/cp
checking for rm... /bin/rm
checking for chmod... /bin/chmod
checking for ar... /bin/ar
checking for uname... Linux
checking for netscape... no
checking for arena... no
checking for Mosaic... no
checking for chimera... no
./configure: AM_GNU_GETTEXT: command not found
./configure: line 1701: syntax error near unexpected token `AM_PATH_GLIB(1.2.0,,{'
./configure: line 1701: `AM_PATH_GLIB(1.2.0,,{ echo "configure: error: Test for GLIB
failed. MC requires GLIB." 1>&2; exit 1; })'
I have glib headers and static libs. I need something else
for autoconf/automake, like glib.m4? Or how can I solve the
problem?