Ethereal-dev: Re: [Ethereal-dev] The need to run autogen (almost) every day.
On Thu, Sep 12, 2002 at 11:53:53PM +0200, Joerg Mayer wrote:
> On Tue, Sep 10, 2002 at 04:36:59PM -0700, Guy Harris wrote:
> > I suspect at least part of the problem is that, somehow, the Makefile's
> > process of regenerating the configuration file, if you don't have GTK+
> > 2.0 installed, doesn't correctly handle the
> ...
> > stuff, as, instead of expanding the macro call to "AM_PATH_GTK_2_0()"
> > using the fallback version, it just copies the line over *verbatim*,
> > which upsets the shell as it's not expecting a parenthesized call.
>
> Please test whether the attached patch fixes the problem. I'm too tired
> to commit this right now without further review/testing.
Nope, it didn't help:
% touch configure.in
% make
cd . && aclocal
cd . && automake --gnu Makefile
cd . && autoconf
configure.in:581: warning: AC_TRY_RUN called without default to allow cross compiling
/bin/sh ./config.status --recheck
running /bin/sh ./configure --no-create --no-recursion
loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
...
checking whether ln -s works... (cached) yes
updating cache ./config.cache
loading cache ./config.cache within ltconfig
checking for object suffix... o
...
checking whether a statically linked program can dlopen itself... (cached) no
creating libtool
updating cache ./config.cache
loading cache ./config.cache
checking for bison... (cached) bison -y
...
checking for GNU sed as first sed in PATH... no
./configure: 2327: Syntax error: word unexpected (expecting ")")
make: *** [config.status] Error 2
% make --version
GNU Make version 3.77, by Richard Stallman and Roland McGrath.
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98
Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Report bugs to <bug-make@xxxxxxx>.
% sed -n '2326,2345p' configure
if test "x$enable_gtk2" = "xyes" -a "x$enable_ethereal" = "xyes" ; then
GTK_OK=two
AM_PATH_GTK_2_0(2.0.0, CFLAGS="$CFLAGS $GTK_CFLAGS", GTK_OK=no, gthread)
elif test "x$enable_gtk2" = "xno" -a "x$enable_ethereal" = "xyes" ; then
GTK_OK=one
# Check whether --with-gtk-prefix or --without-gtk-prefix was given.
if test "${with_gtk_prefix+set}" = set; then
withval="$with_gtk_prefix"
gtk_config_prefix="$withval"
else
gtk_config_prefix=""
fi
# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
if test "${with_gtk_exec_prefix+set}" = set; then
withval="$with_gtk_exec_prefix"
gtk_config_exec_prefix="$withval"
else
gtk_config_exec_prefix=""
fi