automake
[Top][All Lists]
Advanced

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

Re: AM_MAKE_INCLUDE


From: Ralf Corsepius
Subject: Re: AM_MAKE_INCLUDE
Date: Tue, 27 Mar 2001 17:07:33 +0200

Tim Van Holder wrote:
> 
> On 27 Mar 2001 09:57:08 +0200, Ralf Corsepius wrote:
> > # ./configure
> > checking for style of include used by make... include
> >
> > # make
> > /bin/sh ./config.status --recheck
> > running /bin/sh ./configure   --no-create --no-recursion
> > checking for style of include used by make... #
> 
> Is there any chance that GNU make is called gmake on your system?
> In that case, plain configure would probably (not entirely sure) use
> gmake
Nope. It is a Linux system and make is a symlink to gmake, so unless
gmake changes it's behavior upon the  name it is invoked as, ...

# ls -l /usr/bin/gmake
lrwxrwxrwx    1 root     root            4 May  4  2000
/usr/bin/gmake -> make
# ls -l /usr/bin/make
-rwxr-xr-x    1 root     root       126932 Jan 20 03:50
/usr/bin/make

# make --version
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.

> to deduce the include type.
> Because the second run is from 'make', not 'gmake', $MAKE is set and
> the configure call will end up using that make to deduce the include
> style.
> Try "MAKE=make ./configure" and see if that finds include or #.
This isn't the problem. 

The problem occurs when running make after having modified/touched
configure.in (Something not unusual when developing on a
configure.in), even when explicitly setting MAKE=gmake:

# touch configure.in
# MAKE=gmake gmake
cd . && /bin/sh /users/corsepiu/aminclude/missing --run aclocal
cd . && /bin/sh /users/corsepiu/aminclude/missing --run automake
--foreign Makefile
cd . && /bin/sh /users/corsepiu/aminclude/missing --run autoconf
/bin/sh ./config.status --recheck
running /bin/sh ./configure   --no-create --no-recursion
checking for a BSD compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for mawk... no
checking for gawk... gawk
checking whether gmake sets ${MAKE}... yes
checking for style of include used by gmake... #
configure: creating ./config.status
cd . \
  && CONFIG_FILES=Makefile CONFIG_HEADERS= CONFIG_LINKS= /bin/sh
./config.status
config.status: creating Makefile
gmake: Nothing to be done for `all'.

Ralf

-- 
Ralf Corsepius 
Forschungsinstitut fuer Anwendungsorientierte Wissensverarbeitung
(FAW)
Helmholtzstr. 16, 89081 Ulm, Germany     Tel: +49/731/501-8690
mailto:address@hidden           FAX: +49/731/501-999  
http://www.faw.uni-ulm.de



reply via email to

[Prev in Thread] Current Thread [Next in Thread]