Debian Codegraph @

debian/common/automake.mk

raw symbols SCIP
1 ############################ -*- Mode: Makefile -*- ###########################
2 ## automake.mk ---
3 ## Author : Manoj Srivastava ( [email protected] )
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
9 ## Update Count : 1
10 ## Status : Unknown, Use with caution!
11 ## HISTORY :
12 ## Description :
13 ##
14 ## arch-tag: 1fabe69b-7cc8-4ecc-9411-bc5906b19857
15 ##
16 ###############################################################################
17
18 AUTOCONF_VERSION:=$(shell if [ -e configure ]; then \
19 grep "Generated automatically using autoconf" \
20 configure | sed -e 's/^.*autoconf version //g'; \
21 fi)
22 HAVE_NEW_AUTOMAKE:=$(shell if [ "X$(AUTOCONF_VERSION)" != "X2.13" ]; then \
23 echo 'YES' ; fi)
24
25 ifneq ($(strip $(HAVE_NEW_AUTOMAKE)),)
26 ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
27 confflags += --build $(DEB_BUILD_GNU_TYPE)
28 else
29 confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
30 endif
31 else
32 ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
33 confflags += $(DEB_HOST_GNU_TYPE)
34 else
35 confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
36 endif
37 endif