diff --git a/NEWS b/NEWS index 7d7b07f..4131859 100644 --- a/NEWS +++ b/NEWS @@ -17,6 +17,7 @@ New in version 1.20 * Fix handling of initstepslew if no servers are listed (John Hasler) * Fix install rule in Makefile if chronyd is in use (Juliusz Chroboczek) * Replace sprintf by snprintf to remove risk of buffer overrun (John Hasler) +* Add --help to configure script New in version 1.19 =================== diff --git a/configure b/configure index 27f9138..f591912 100755 --- a/configure +++ b/configure @@ -1,6 +1,6 @@ #!/bin/sh # -# $Header: /cvs/src/chrony/configure,v 1.29 2003/09/22 21:22:30 richard Exp $ +# $Header: /cvs/src/chrony/configure,v 1.30 2003/09/22 21:53:57 richard Exp $ # # ======================================================================= # @@ -106,6 +106,52 @@ EOF echo $result } #}}} +#{{{ usage +usage () { + cat < if you have libraries in a + nonstandard directory + +Use these variables to override the choices made by \`configure' or to help +it to find libraries and programs with nonstandard names/locations. + +Report bugs to . +EOF + +} +#}}} # ====================================================================== @@ -160,6 +206,10 @@ do --mandir=* ) SETMANDIR=`echo $option | sed -e 's/^.*=//;'` ;; + --help | -h ) + usage + exit 0 + ;; * ) echo "Unrecognized option : " $option esac @@ -311,3 +361,6 @@ sed -e "s%@EXTRA_OBJECTS@%${EXTRA_OBJECTS}%;\ s%@INFODIR@%${INFODIR}%;"\ < Makefile.in > Makefile +# ======================================================================= +# vim:et:sw=2:ht=2:sts=2:fdm=marker:cms=#%s +