aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.in
diff options
context:
space:
mode:
authorEzra Peisach <epeisach@mit.edu>2003-01-13 23:00:58 +0000
committerEzra Peisach <epeisach@mit.edu>2003-01-13 23:00:58 +0000
commita990fe2db2e471d5e9e60a7171813809f8e22a72 (patch)
treed89df80217ab924ad0ee4f7b92408761450e7438 /src/Makefile.in
parentfd561dcb3020d20552e530f103334fc4cb644545 (diff)
downloadkrb5-a990fe2db2e471d5e9e60a7171813809f8e22a72.zip
krb5-a990fe2db2e471d5e9e60a7171813809f8e22a72.tar.gz
krb5-a990fe2db2e471d5e9e60a7171813809f8e22a72.tar.bz2
* Makefile.in (check-unix): Test to see if krb5-config outputs
variables that require Makefile substitutions. * krb5-config.in: Remore $(PURE) from output. Handle variables $(RPATH_FLAG) and $(LDFLAGS). If config/shlib.conf is changed again, we will detect brokeness in krb5-config before the release. ticket: 1311 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15120 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/Makefile.in')
-rw-r--r--src/Makefile.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/Makefile.in b/src/Makefile.in
index 3e26037..284986a 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -568,3 +568,16 @@ install-unix::
krb5-config: $(srcdir)/krb5-config.in $(thisconfigdir)/config.status
cd $(thisconfigdir) && $(SHELL) config.status krb5-config
+# Test to ensure that krb5-config does not spit out things like
+# $(PURE) or $(LDFLAGS) in case someone changes config/shlib.conf
+check-unix:: krb5-config
+ @echo "Testing if krb5-config outputs shell variables"
+ @if `./krb5-config --libs kdb | egrep -s '\\$$'`; then \
+ echo "Error './krb5-config --libs kdb' contains shell variables"; \
+ exit 1; \
+ fi
+ @if `./krb5-config --cflags | egrep -s '\\$$'`; then \
+ echo "Error './krb5-config --cflags' contains shell variables"; \
+ exit 1; \
+ fi
+ @echo "krb5-config appears ok"