From fa6f7e36b5e1c51ef64f0a8f61070ece855807c9 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Tue, 5 Oct 2010 04:27:04 +0000 Subject: [PATCH] configure.in: Fix help strings. --- ChangeLog | 4 ++++ configure | 5 ++--- configure.in | 8 ++++++-- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 50c0caef4..1cf0fbc03 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2010-10-04 Andreas Schwab + + * configure.in: Fix help strings. + 2010-04-23 Teodor Zlatanov * .gitignore: Remove configure from ignores. diff --git a/configure b/configure index 4b00ae816..c24dba8ff 100755 --- a/configure +++ b/configure @@ -1239,8 +1239,8 @@ if test -n "$ac_init_help"; then Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) - --with-xemacs Use XEmacs to build - --with-emacs Use Emacs to build + --with-xemacs[=PROG] use XEmacs to build (default: PROG=xemacs) + --with-emacs[=PROG] use Emacs to build (default: PROG=emacs) --with-lispdir=DIR Where to install lisp files --with-etcdir=DIR Where to install etc files --with-url=DIR Specify where to find the url package @@ -3565,4 +3565,3 @@ if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} fi - diff --git a/configure.in b/configure.in index e4c53c938..d697ea0d8 100644 --- a/configure.in +++ b/configure.in @@ -10,9 +10,13 @@ if test "${EMACS}" = "t"; then EMACS="" fi -AC_ARG_WITH(xemacs,[ --with-xemacs Use XEmacs to build], +AC_ARG_WITH(xemacs, + [AS_HELP_STRING([[--with-xemacs[=PROG]]], + [use XEmacs to build (default: PROG=xemacs)])], [ if test "${withval}" = "yes"; then EMACS=xemacs; else EMACS=${withval}; fi ]) -AC_ARG_WITH(emacs,[ --with-emacs Use Emacs to build], +AC_ARG_WITH(emacs, + [AS_HELP_STRING([[--with-emacs[=PROG]]], + [use Emacs to build (default: PROG=emacs)])], [ if test "${withval}" = "yes"; then EMACS=emacs; else EMACS=${withval}; fi ]) AC_CHECK_PROG(MAKEINFO, makeinfo, makeinfo, no) -- 2.25.1