hello
There is a difference in the way "search path" is handle between
m4-1.4.2 and m4-1.4.14.
- With m4-1.4.2 each m4 file that is include will be search by
default in the current path and each path include by -I option.
- With m4-1.14 only the first m4 file will be search in current and
path include by -I option, all other m4 file will be search in the path
match by the first include m4 file.
It's like there is some path cache in operation somewhere.
DEBIAN-SARGE: strace -e trace=open m4 -DconfOLEANE_OS=linux -I../
-I/usr/share/sendmail-dev/cf/ m4/cf.m4 cluster/mx-daemon.mc >
cluster/mx-daemon.cf
open("m4/cf.m4", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("../m4/cf.m4", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/usr/share/sendmail-dev/cf/m4/cf.m4", O_RDONLY) = 3
open("feature/oleane-name.m4", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("../feature/oleane-name.m4", O_RDONLY) = 4
DEBIAN-SQUEEZE:strace -e trace=open m4 -DconfOLEANE_OS=linux -I../
-I/usr/share/sendmail-dev/cf/ m4/cf.m4 cluster/mx-daemon.mc >
cluster/mx-daemon.cf
open("m4/cf.m4", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("../m4/cf.m4", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/usr/share/sendmail-dev/cf/m4/cf.m4", O_RDONLY) = 3
open("/usr/share/sendmail-dev/cf/feature/oleane-name.m4", O_RDONLY) = -1
ENOENT (No such file or directory)
A+
-- Serge ABIDAL - serge.abi...@orange.com
Orange Business Services FT/SCE/CSO/ITD/DIH/CIE/SSP
13 rue de Javael 75015 Paris
tel. (33) 1 53 95 11 23