It uses `head -1`. This has been replaced with `head -n 1`. So here is a patch to bring it up to date. The version of head that reports a deprecation warning is version 5.0.
head: `-1' option is obsolete; use `-n 1' Try `head --help' for more information. autogen.sh: line 20: [: -lt: unary operator expected (Sorry for any duplicate emails.) -- Regards, -Lisa <Vix ulla tam iniqua pax, quin bello vel aequissimo sit potior>
diff -urN cvs/autogen.sh cvs-diff/autogen.sh --- cvs/autogen.sh 2003-08-30 13:13:09.000000000 -0400 +++ cvs-diff/autogen.sh 2003-09-16 23:26:44.000000000 -0400 @@ -17,7 +17,7 @@ ## ## what version do we need? ## -if [ `$AUTOCONF --version | head -1 | cut -d. -f 2` -lt 53 ]; then +if [ `$AUTOCONF --version | head -n 1 | cut -d. -f 2` -lt 53 ]; then ## maybe it's installed under a different name (e.g. RedHat 7.3)
__ distcc mailing list http://distcc.samba.org/ To unsubscribe or change options: http://lists.samba.org/cgi-bin/mailman/listinfo/distcc
