Revision 24042,
506 bytes
checked in by broder, 15 years ago
(diff) |
In grenew:
* Support building on systems where krb5 no longer comes with
krb4. (Trac: #380)
|
-
Property svn:executable set to
*
|
Line | |
---|
1 | #!/usr/bin/make -f |
---|
2 | |
---|
3 | DEB_AUTO_UPDATE_AUTOCONF = 2.50 |
---|
4 | include /usr/share/cdbs/1/rules/debhelper.mk |
---|
5 | include /usr/share/cdbs/1/class/autotools.mk |
---|
6 | |
---|
7 | KRB5_VERSION = $(shell dpkg-query --showformat='$${Version}' --show libkrb5-dev) |
---|
8 | |
---|
9 | ifeq ($(shell dpkg --compare-versions $(KRB5_VERSION) '<<' '1.7~' && echo y),y) |
---|
10 | DEB_CONFIGURE_EXTRA_FLAGS += --with-krb4=$(shell krb4-config --prefix krb4) |
---|
11 | else |
---|
12 | DEB_CONFIGURE_EXTRA_FLAGS += --without-krb4 |
---|
13 | endif |
---|
14 | |
---|
15 | DEB_CONFIGURE_EXTRA_FLAGS += --with-krb5 |
---|
16 | |
---|
17 | clean:: |
---|
18 | rm -f configure |
---|
Note: See
TracBrowser
for help on using the repository browser.