httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <trawi...@bellsouth.net>
Subject Re: cvs commit: httpd-2.0/build build.mk config-stubs
Date Fri, 29 Dec 2000 22:22:05 GMT
rbb@covalent.net writes:

> > >   -dir=$1
> > >   -for stubdir in `find $dir -type d`; do
> > >   -    if [ -r $stubdir/config.m4 ]; then
> > >   -        echo "sinclude($stubdir/config.m4)"
> > >   +for configfiles in `find . -name "config*.m4" | \
> > >   +         sed 's#\(.*\)\/config\(.*\)\.m4#\2config.m4\1#' | \
> > >   +         sort -g | \
> > >   +         sed 's#\(.*\)config.m4\(.*\)#\2/config\1.m4#g'`; do
> > >   +    if [ -r $configfiles ]; then
> > >   +        echo "sinclude($configfiles)"
> > 
> > What does "sort -g" do?  GNU sort man page doesn't describe "-g" and
> > OS/390 sort doesn't accept "-g".
> 
> According to my man pages:
> 
>        -g     compare according to general numerical value, imply
>               -b

Well, it has to go.  The "sort -g" breaks OS/390, Tru64, and (I think)
Solaris.  (I don't have the Solaris configure output handy but "make"
dies at the same point on Solaris as on Tru64, and Tru64 dies because
of the "sort -g".)

I'll try to find some time in the next 48 hrs to play with the code
above to see *exactly* what it does (yeah, I understand that it
creates an order of config*.m4 files), assuming of course that the
"-g" is still present at that time :)

Best wishes to all...
-- 
Jeff Trawick | trawickj@bellsouth.net | PGP public key at web site:
       http://www.geocities.com/SiliconValley/Park/9289/
             Born in Roswell... married an alien...

Mime
View raw message