From a2013afc0b48b5438b7c24ade0ab2dc8979ec3ec Mon Sep 17 00:00:00 2001 From: Yann Dirson Date: Sun, 3 Nov 2013 15:00:20 +0100 Subject: [PATCH] Normalize configure --help using AS_HELP_STRING. --- configure.ac | 25 ++++++++++++------------- 1 files changed, 12 insertions(+), 13 deletions(-) diff --git a/configure.ac b/configure.ac index c2be5bb..edd3168 100644 --- a/configure.ac +++ b/configure.ac @@ -131,35 +131,34 @@ FIRST_HOST=localhost SECOND_HOST=localhost AC_ARG_ENABLE(xshogi, -[ --enable-xshogi - Compile the xshogi graphical interface to GNU shogi (default: no)], +AS_HELP_STRING([--enable-xshogi], + [compile the xshogi graphical interface to GNU shogi (default: no)]), enable_xshogi=$enableval, enable_xshogi=no) AC_ARG_WITH(top-part-bitmaps, -[ --with-top-part-bitmaps Use top part of Kanji bitmaps only in xshogi.], +AS_HELP_STRING([--with-top-part-bitmaps], + [use top part of Kanji bitmaps only in xshogi]), OPT=-DTOP_PART_BITMAPS) AC_ARG_WITH(first-shogi-program, -[ --with-first-shogi-program=PROGNAME - Use PROGNAME as the first shogi program in xshogi (default: gnushogi)], +AS_HELP_STRING([--with-first-shogi-program=PROGNAME], + [use PROGNAME as the first shogi program in xshogi (default: gnushogi)]), FIRST_SHOGI_PROGRAM=$withval) AC_ARG_WITH(second-shogi-program, -[ --with-second-shogi-program=PROGNAME - Use PROGNAME as the second shogi program in xshogi (default: gnushogi)], +AS_HELP_STRING([--with-second-shogi-program=PROGNAME], + [use PROGNAME as the second shogi program in xshogi (default: gnushogi)]), SECOND_SHOGI_PROGRAM=$withval) AC_ARG_WITH(first-host, -[ --with-first-host=HOSTNAME - Use HOSTNAME as the machine on which the first shogi program - runs in xshogi (default: localhost)], +AS_HELP_STRING([--with-first-host=HOSTNAME], + [use HOSTNAME as the machine on which the first shogi program runs in xshogi (default: localhost)]), FIRST_HOST=$withval) AC_ARG_WITH(second-host, -[ --with-second-host=HOSTNAME - Use HOSTNAME as the machine on which the second shogi program - runs in xshogi (default: localhost)], +AS_HELP_STRING([--with-second-host=HOSTNAME], + [use HOSTNAME as the machine on which the second shogi program runs in xshogi (default: localhost)]), SECOND_HOST=$withval) AC_SUBST(OPT) -- 1.7.0.4