diff --git a/configure.ac b/configure.ac
index ebc231ce86f105756da8e7558b800cda13d13012..5539e7eae8c1ba52136fe7365028ac50eb5c4822 100644 (file)
--- a/configure.ac
+++ b/configure.ac
dnl Process this file with autoconf to produce a configure script.
+dnl
+dnl This is the foobar configure script.
+dnl
+dnl Copyright (C) 2009 Sebastian Harl <sh@tokkee.org>
+dnl
+dnl This program is free software; you can redistribute it and/or modify it
+dnl under the terms of the GNU General Public License as published by the
+dnl Free Software Foundation; only version 2 of the License is applicable.
+dnl
+dnl This program is distributed in the hope that it will be useful, but
+dnl WITHOUT ANY WARRANTY; without even the implied warranty of
+dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+dnl General Public License for more details.
+dnl
+dnl You should have received a copy of the GNU General Public License along
+dnl with this program; if not, write to the Free Software Foundation, Inc.,
+dnl 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
AC_INIT([foobar],[m4_esyscmd(./version-gen.sh)],
[Sebastian Harl <sh@tokkee.org>])
return $ret
}
-dnl Optionally stick to standard C99 and POSIX.1 2001 as close as possible.
+m4_divert_once([HELP_ENABLE], [
+Build options:])
+
+dnl Optionally stick to standard C99 and POSIX:2001 as close as possible.
AC_ARG_ENABLE([standards],
AS_HELP_STRING([--enable-standards],
- [enable standards compliance mode @<:@default=no@:>@]),
+ [C99 / POSIX standards compliance mode @<:@default=no@:>@]),
[enable_standards="$enableval"],
[enable_standards="no"])
[Define to enable protection against static sized buffer overflows.])
AC_ARG_ENABLE([hardening],
AS_HELP_STRING([--disable-hardening],
- [disable hardening options @<:@default=yes@:>@]),
+ [hardening options @<:@default=yes@:>@]),
[enable_hardening="$enableval"],
[enable_hardening="yes"])
dnl Strict checking for potential problems.
AC_ARG_ENABLE([strict-checks],
AS_HELP_STRING([--disable-strict-checks],
- [disable strict compiler checks @<:@default=yes@:>@]),
+ [strict compiler checks @<:@default=yes@:>@]),
[enable_strict_checks="$enableval"],
[enable_strict_checks="yes"])