1
############################ -*- Mode: Makefile -*- ###########################
3
## Author : Manoj Srivastava ( srivasta@glaurung.green-gryphon.com )
4
## Created On : Sat Nov 15 02:47:23 2003
5
## Created On Node : glaurung.green-gryphon.com
6
## Last Modified By : Manoj Srivastava
7
## Last Modified On : Sat Nov 15 02:47:53 2003
8
## Last Machine Used: glaurung.green-gryphon.com
10
## Status : Unknown, Use with caution!
14
## arch-tag: 1fabe69b-7cc8-4ecc-9411-bc5906b19857
16
###############################################################################
18
AUTOCONF_VERSION:=$(shell if [ -e configure ]; then \
19
grep "Generated automatically using autoconf" \
20
configure | sed -e 's/^.*autoconf version //g'; \
22
HAVE_NEW_AUTOMAKE:=$(shell if [ "X$(AUTOCONF_VERSION)" != "X2.13" ]; then \
25
ifneq ($(strip $(HAVE_NEW_AUTOMAKE)),)
26
ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
27
confflags += --build $(DEB_BUILD_GNU_TYPE)
29
confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
32
ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
33
confflags += $(DEB_HOST_GNU_TYPE)
35
confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)