configure.in: Use AS_HELP_STRING in AC_ARG_WITH occurrences. Refresh configure.

Signed-off-by: default avatarAgustin Martin Domingo <agmartin@debian.org>
parent 7c9007b2
......@@ -1277,18 +1277,18 @@ 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-perl-w use perl -w option
--with-installed-sgmlsasp use installed sgmlsasp
--with-installed-entity-map use installed entity-map
--with-installed-iso-entities use installed iso-entities
--with-auxbindir=dir dir for internal use programs
(default: EPREFIX/bin)
--with-pkgdatadir=dir dir for package datadir
(default: PREFIX/share/linuxdoc-tools)
--with-perllibdir=dir dir for package perl modules
(default: PKGDATADIR)
--with-texdir=dir dir for tex style files
(default: PKGDATADIR)
--with-perl-w use perl -w option
--with-installed-sgmlsasp
use installed sgmlsasp
--with-installed-entity-map
use installed entity-map
--with-installed-iso-entities
use installed iso-entities
--with-auxbindir=dir dir for internal use programs (default: EPREFIX/bin)
--with-pkgdatadir=dir dir for package datadir (default:
PREFIX/share/linuxdoc-tools)
--with-perllibdir=dir dir for package perl modules (default: PKGDATADIR)
--with-texdir=dir dir for tex style files (default: PKGDATADIR)
Report bugs to the package provider.
_ACEOF
......
......@@ -24,7 +24,8 @@ fi
dnl ------ Make perl a bit more verbose if desired ---------
AC_ARG_WITH(perl-w,
[ --with-perl-w use perl -w option],
[AS_HELP_STRING([--with-perl-w],
[use perl -w option])],
PERLWARN=-w,
PERLWARN=
)
......@@ -64,7 +65,8 @@ AC_SUBST(BUILD_NSGMLS)
dnl ------ Check for sgmlsasp ------------------------------
AC_PATH_PROG(SGMLSASP, sgmlsasp)
AC_ARG_WITH(installed-sgmlsasp,
[ --with-installed-sgmlsasp use installed sgmlsasp],
[AS_HELP_STRING([--with-installed-sgmlsasp],
[use installed sgmlsasp])],
test -n "$SGMLSASP" || AC_MSG_ERROR(sgmlsasp not found)
BUILD_SGMLSASP=,
SGMLSASP=\${prefix}/bin/sgmlsasp
......@@ -75,7 +77,8 @@ AC_SUBST(BUILD_SGMLSASP)
dnl ------ Check if we will use installed entity-map -------
AC_ARG_WITH(installed-entity-map,
[ --with-installed-entity-map use installed entity-map],
[AS_HELP_STRING([--with-installed-entity-map],
[use installed entity-map])],
BUILD_ENTITY_MAP=,
BUILD_ENTITY_MAP=true
)
......@@ -83,7 +86,8 @@ AC_SUBST(BUILD_ENTITY_MAP)
dnl ------ Check if we will use installed iso-entities -----
AC_ARG_WITH(installed-iso-entities,
[ --with-installed-iso-entities use installed iso-entities],
[AS_HELP_STRING([--with-installed-iso-entities],
[use installed iso-entities])],
BUILD_ISO_ENTITIES=,
BUILD_ISO_ENTITIES=true
)
......@@ -91,8 +95,8 @@ AC_SUBST(BUILD_ISO_ENTITIES)
dnl ------ Set dir for auxiliary programs like sgmlpre -----
AC_ARG_WITH(auxbindir,
[ --with-auxbindir=dir dir for internal use programs]
[ (default: EPREFIX/bin)],
[AS_HELP_STRING([--with-auxbindir=dir],
[dir for internal use programs (default: EPREFIX/bin)])],
auxbindir="$withval",
auxbindir="\${exec_prefix}/bin"
)
......@@ -100,8 +104,8 @@ AC_SUBST(auxbindir)
dnl ------ Set dir for package datadir --------------------
AC_ARG_WITH(pkgdatadir,
[ --with-pkgdatadir=dir dir for package datadir]
[ (default: PREFIX/share/linuxdoc-tools)],
[AS_HELP_STRING([--with-pkgdatadir=dir],
[dir for package datadir (default: PREFIX/share/linuxdoc-tools)])],
pkgdatadir="$withval",
pkgdatadir="\${prefix}/share/linuxdoc-tools"
)
......@@ -109,8 +113,8 @@ AC_SUBST(pkgdatadir)
dnl ------ Set dir for package perl modules ---------------
AC_ARG_WITH(perllibdir,
[ --with-perllibdir=dir dir for package perl modules]
[ (default: PKGDATADIR)],
[AS_HELP_STRING([--with-perllibdir=dir],
[dir for package perl modules (default: PKGDATADIR)])],
perl5libdir="$withval",
perl5libdir="\${pkgdatadir}"
)
......@@ -118,8 +122,8 @@ AC_SUBST(perl5libdir)
dnl ------ Set dir for tex style files --------------------
AC_ARG_WITH(texdir,
[ --with-texdir=dir dir for tex style files]
[ (default: PKGDATADIR)],
[AS_HELP_STRING([--with-texdir=dir],
[dir for tex style files (default: PKGDATADIR)])],
texdir="$withval",
texdir="\${pkgdatadir}"
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment