zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: better function version handling
@ 2000-01-12 19:03 Peter Stephenson
  0 siblings, 0 replies; only message in thread
From: Peter Stephenson @ 2000-01-12 19:03 UTC (permalink / raw)
  To: Zsh hackers list

The version in the function installation directory should be interpreted at
compile time, not configure time, since you don't have to reconfigure for a
version number change.  This doesn't actually affect anyone that recompiles
a new version from scratch each time, but it's logically more correct (and
affects me).

Index: configure.in
===================================================================
RCS file: /home/pws/CVSROOT/projects/zsh/configure.in,v
retrieving revision 1.13
diff -u -r1.13 configure.in
--- configure.in	2000/01/07 22:46:44	1.13
+++ configure.in	2000/01/12 18:48:11
@@ -213,11 +213,12 @@
 undefine([fndir])dnl
 AC_ARG_ENABLE(fndir,
 [  --enable-fndir=DIR         where functions go (default DATADIR/zsh/functions)],
+dnl ${VERSION} to be determined at compile time.
 [if test $enableval = yes; then
-  fndir=${datadir}/${tzsh_name}/${VERSION}/functions
+  fndir=${datadir}/${tzsh_name}/'${VERSION}'/functions
 else
   fndir="$enableval"
-fi], [fndir=${datadir}/${tzsh_name}/${VERSION}/functions])
+fi], [fndir=${datadir}/${tzsh_name}/'${VERSION}'/functions])
 
 undefine([function_subdirs])
 AC_ARG_ENABLE(function-subdirs,

-- 
Peter Stephenson <pws@pwstephenson.fsnet.co.uk>


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-01-12 19:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-01-12 19:03 PATCH: better function version handling Peter Stephenson

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).