bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gawk 3.1.0 DEFPATH problem


From: Andreas Schwab
Subject: Re: gawk 3.1.0 DEFPATH problem
Date: Tue, 09 Apr 2002 16:27:16 +0200
User-agent: Gnus/5.090005 (Oort Gnus v0.05) Emacs/21.2.50 (ia64-suse-linux)

address@hidden (Aharon Robbins) writes:

|> diff -cr gawk-3.1.1/Makefile.am gawk-am/Makefile.am
|> *** gawk-3.1.1/Makefile.am   Thu Feb 21 10:34:21 2002
|> --- gawk-am/Makefile.am      Sun Apr  7 17:44:43 2002
|> ***************
|> *** 115,122 ****
|>   # Special stuff for OS/2, remove after switch to autoconf 2.5x
|>   PATH_SEPARATOR = @PATH_SEPARATOR@
|>   
|> ! # stuff for compiling gawk/pgawk
|> ! DEFPATH="\".$(PATH_SEPARATOR)$(datadir)\""
|>   
|>   DEFS= -DDEFPATH=$(DEFPATH) -DHAVE_CONFIG_H -DGAWK 
-DLOCALEDIR="\"$(datadir)/locale\""
|>   
|> --- 115,125 ----
|>   # Special stuff for OS/2, remove after switch to autoconf 2.5x
|>   PATH_SEPARATOR = @PATH_SEPARATOR@
|>   
|> ! # Set autoconf Makefile.in variables correctly
|> ! libexecdir = @libexecdir@/awk
|> ! 
|> ! # stuff for compiling gawk/pgawk, note use of pkgdatadir
|> ! DEFPATH="\".$(PATH_SEPARATOR)$(pkgdatadir)\""

Unless I miss something, this means that the awk library resides in a
directory ending in "gawk" (pkgdatadir) whereas the subsidary programs
reside in a directory ending in "awk" (libexecdir).  It would perhaps be
preferable to make this consistent.  Also, at least in gawk 3.1.0, the
makefile in the awklib directory still has an explicit reference to
$(datadir)/awk that should probably be changed to $(pkgdatadir).

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE GmbH, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]