* PATCH: "make show-config"
@ 2001-04-10 17:12 Bart Schaefer
0 siblings, 0 replies; only message in thread
From: Bart Schaefer @ 2001-04-10 17:12 UTC (permalink / raw)
To: zsh-workers
This is a patch I've had sitting around for a while. I won't commit it
unless I get some positive feedback. It duplicates in Makefile.in some
of the code from near the end of configure.in that reports the complete
configuration. Sample output of "make show-config" for configure with
options --disable-dynamic --enable-zsh-debug --enable-function-subdirs:
zsh version : 4.0.1-pre-3
source code location : ../new
compiler : gcc
preprocessor flags :
executable compiler flags : -Wall -Wno-implicit -Wmissing-prototypes -ggdb
executable linker flags : -g
library flags : -lnsl -ltermcap -lm -lc
installation basename : zsh
binary install path : /usr/local/bin
man page install path : /usr/local/man
info install path : /usr/local/info
library install path : /usr/local/lib
modules install path : /usr/local/lib/zsh/4.0.1-pre-3
installed modules : zsh/main zsh/rlimits zsh/sched zsh/parameter zsh/termcap zsh/terminfo zsh/zutil zsh/compctl zsh/complete zsh/complist zsh/computil zsh/zle zsh/zleparameter
functions install path : /usr/local/share/zsh/4.0.1-pre-3/functions
installed functions : Misc/* Prompts/* Completion/comp* Completion/*/*/* Zle/*
Index: Makefile.in
===================================================================
RCS file: /extra/cvsroot/zsh/zsh-4.0/Makefile.in,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 Makefile.in
--- Makefile.in 2001/04/09 20:14:08 1.1.1.1
+++ Makefile.in 2001/04/10 15:14:21
@@ -53,6 +53,33 @@
META-FAQ: FORCE
@cd Doc && $(MAKE) $(MAKEDEFS) ../META-FAQ
+show-config:
+ @echo "zsh version : $(VERSION)"
+ @echo "source code location : $(sdir)"
+ @echo "compiler : $(CC)"
+ @echo "preprocessor flags : $(CPPFLAGS)"
+ @echo "executable compiler flags : $(CFLAGS)"
+ @if test -n "$(DLCFLAGS)"; then \
+ echo "module compiler flags : $(CFLAGS) $(DLCFLAGS)"; fi
+ @echo "executable linker flags : $(LDFLAGS) $(EXELDFLAGS) $(EXTRA_LDFLAGS)"
+ @if test -n "$(LIBLDFLAGS)$(DLLDFLAGS)"; then \
+ echo "module linker flags : $(LDFLAGS) $(LIBLDFLAGS) $(DLLDFLAGS)"; fi
+ @echo "library flags : $(LIBS)"
+ @echo "installation basename : $(tzsh)"
+ @echo "binary install path : $(bindir)"
+ @echo "man page install path : $(mandir)"
+ @echo "info install path : $(infodir)"
+ @echo "library install path : $(libdir)"
+ @echo "modules install path : $(MODDIR)"
+ @echo "installed modules :" \
+ `sed -e '/^#/d' -e '/ link=no/d' -e 's/ .*/ /' -e 's/^name=/ /' \
+ $(dir_top)/config.modules`
+ @echo "functions install path : $(fndir)"
+ @echo "installed functions :" \
+ `sed -e '/^#/d' -e '/ functions=./!d' -e '/ link=no/d' \
+ -e 's/^.* functions=/ /' -e 's% Functions/% %g' \
+ $(dir_top)/config.modules`
+
# ========== DEPENDENCIES FOR INSTALLING ==========
# install stripped
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-04-10 17:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-10 17:12 PATCH: "make show-config" Bart Schaefer
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).