Stephan Witt wrote: > I've found a porting issue on Solaris. > > The shell script lib/configure is GNU-specific. There is > 1. a badly placed ! operator for test of file existance and > 2. an problem with grep (extended expression syntax) > > These problems are fixed for the 1.3.x Branch with the > attached patch... > > Hope it's of any help and acceptable.
Many thanks, Stephan. >- grep '\\Declare\(LaTeX\|DocBook\|LinuxDoc\)Class' "$file" \ >+ egrep '\\Declare(LaTeX|DocBook|LinuxDoc)Class' "$file" \ (a|b) is indeed an E.R.E., according to man grep. However, the same man page (Tru64 Unix) says that 'egrep' is obsolescent and that 'grep -E' should be used instead. I see here http://www.cs.biu.ac.il/cgi-bin/man?grep+1 that Solaris can use 'grep -E' too, so I propose that we go with that. >- if ! test -r "chkconfig.ltx" ; then >+ if test ! -r "chkconfig.ltx" ; then Looks good. -- Angus