configure: replace obsolete AC_HELP_STRING

This commit is contained in:
Daemonratte 2026-04-28 21:55:12 +02:00
commit a6756010ae
2 changed files with 16 additions and 16 deletions

View file

@ -31,7 +31,7 @@ AC_DEFUN([JH_PATH_XML_CATALOG],
[ [
# check for the presence of the XML catalog # check for the presence of the XML catalog
AC_ARG_WITH([xml-catalog], AC_ARG_WITH([xml-catalog],
AC_HELP_STRING([--with-xml-catalog=CATALOG], AS_HELP_STRING([--with-xml-catalog=CATALOG],
[path to xml catalog to use]),, [path to xml catalog to use]),,
[with_xml_catalog=/etc/xml/catalog]) [with_xml_catalog=/etc/xml/catalog])
jh_found_xmlcatalog=true jh_found_xmlcatalog=true

View file

@ -230,32 +230,32 @@ m4_define([debug_default],
dnl declare --enable-* args and collect ac_help strings dnl declare --enable-* args and collect ac_help strings
AC_ARG_ENABLE(debug, AC_ARG_ENABLE(debug,
AC_HELP_STRING([--enable-debug=@<:@no/minimum/yes@:>@], AS_HELP_STRING([--enable-debug=@<:@no/minimum/yes@:>@],
[turn on debugging @<:@default=debug_default@:>@]),, [turn on debugging @<:@default=debug_default@:>@]),,
enable_debug=debug_default) enable_debug=debug_default)
AC_ARG_ENABLE(shm, AC_ARG_ENABLE(shm,
[AC_HELP_STRING([--enable-shm], [AS_HELP_STRING([--enable-shm],
[support shared memory if available [default=yes]])],, [support shared memory if available [default=yes]])],,
[enable_shm="yes"]) [enable_shm="yes"])
AC_ARG_ENABLE(xkb, AC_ARG_ENABLE(xkb,
[AC_HELP_STRING([--enable-xkb], [AS_HELP_STRING([--enable-xkb],
[support XKB [default=maybe]])],, [support XKB [default=maybe]])],,
[enable_xkb="maybe"]) [enable_xkb="maybe"])
AC_ARG_ENABLE(xinerama, AC_ARG_ENABLE(xinerama,
[AC_HELP_STRING([--enable-xinerama], [AS_HELP_STRING([--enable-xinerama],
[support xinerama extension if available [default=yes]])],, [support xinerama extension if available [default=yes]])],,
[enable_xinerama="yes"]) [enable_xinerama="yes"])
AC_ARG_ENABLE(rebuilds, AC_ARG_ENABLE(rebuilds,
[AC_HELP_STRING([--disable-rebuilds], [AS_HELP_STRING([--disable-rebuilds],
[disable all source autogeneration rules])],, [disable all source autogeneration rules])],,
[enable_rebuilds=yes]) [enable_rebuilds=yes])
AC_ARG_ENABLE(visibility, AC_ARG_ENABLE(visibility,
[AC_HELP_STRING([--disable-visibility], [AS_HELP_STRING([--disable-visibility],
[don't use ELF visibility attributes])],, [don't use ELF visibility attributes])],,
[enable_visibility=yes]) [enable_visibility=yes])
AC_ARG_WITH(xinput, AC_ARG_WITH(xinput,
[AC_HELP_STRING([--with-xinput=@<:@no/yes@:>@], [support XInput])]) [AS_HELP_STRING([--with-xinput=@<:@no/yes@:>@], [support XInput])])
if test "$platform_win32" = yes; then if test "$platform_win32" = yes; then
gdktarget=win32 gdktarget=win32
@ -412,7 +412,7 @@ dnl * See whether to include shared library dependencies *
dnl ****************************************************** dnl ******************************************************
AC_ARG_ENABLE(explicit-deps, AC_ARG_ENABLE(explicit-deps,
[AC_HELP_STRING([--enable-explicit-deps=@<:@yes/no/auto@:>@], [AS_HELP_STRING([--enable-explicit-deps=@<:@yes/no/auto@:>@],
[use explicit dependencies in .pc files [default=auto]])],, [use explicit dependencies in .pc files [default=auto]])],,
[enable_explicit_deps=auto]) [enable_explicit_deps=auto])
@ -759,7 +759,7 @@ AC_CHECK_FUNCS(_NSGetEnviron)
AC_MSG_CHECKING(whether to build dynamic modules) AC_MSG_CHECKING(whether to build dynamic modules)
AC_ARG_ENABLE(modules, AC_ARG_ENABLE(modules,
[AC_HELP_STRING([--disable-modules], [AS_HELP_STRING([--disable-modules],
[disable dynamic module loading])]) [disable dynamic module loading])])
dynworks=false dynworks=false
@ -806,8 +806,8 @@ AM_CONDITIONAL(BUILD_DYNAMIC_MODULES, $dynworks)
AC_MSG_CHECKING(immodules to build) AC_MSG_CHECKING(immodules to build)
dnl due to an autoconf bug, commas in the first arg to dnl due to an autoconf bug, commas in the first arg to
dnl AC_HELP_STRING cause problems. dnl AS_HELP_STRING cause problems.
dnl AC_HELP_STRING([--with-included-immodules=MODULE1 MODULE2 ...], dnl AS_HELP_STRING([--with-included-immodules=MODULE1 MODULE2 ...],
dnl [build the specified input method modules into gtk]) dnl [build the specified input method modules into gtk])
AC_ARG_WITH(included_immodules, AC_ARG_WITH(included_immodules,
[ --with-included-immodules=MODULE1,MODULE2,... [ --with-included-immodules=MODULE1,MODULE2,...
@ -1453,7 +1453,7 @@ LIBS="$old_LIBS"
################################################################ ################################################################
AC_ARG_ENABLE(cups, AC_ARG_ENABLE(cups,
[AC_HELP_STRING([--disable-cups] [AS_HELP_STRING([--disable-cups]
[disable cups print backend])],, [disable cups print backend])],,
[enable_cups=auto]) [enable_cups=auto])
@ -1519,7 +1519,7 @@ fi
# #
AC_ARG_ENABLE(papi, AC_ARG_ENABLE(papi,
[AC_HELP_STRING([--disable-papi] [AS_HELP_STRING([--disable-papi]
[disable papi print backend])],, [disable papi print backend])],,
[enable_papi=auto]) [enable_papi=auto])
@ -1562,7 +1562,7 @@ CPPFLAGS="$gtk_save_cppflags"
AC_ARG_ENABLE(test-print-backend, AC_ARG_ENABLE(test-print-backend,
[AC_HELP_STRING([--enable-test-print-backend], [AS_HELP_STRING([--enable-test-print-backend],
[build test print backend])],, [build test print backend])],,
[enable_test_print_backend=no]) [enable_test_print_backend=no])
AM_CONDITIONAL(TEST_PRINT_BACKEND, test "x$enable_test_print_backend" != "xno") AM_CONDITIONAL(TEST_PRINT_BACKEND, test "x$enable_test_print_backend" != "xno")
@ -1607,7 +1607,7 @@ AC_CHECK_PROG(DB2HTML, db2html, true, false)
AM_CONDITIONAL(HAVE_DOCBOOK, $DB2HTML) AM_CONDITIONAL(HAVE_DOCBOOK, $DB2HTML)
AC_ARG_ENABLE(man, AC_ARG_ENABLE(man,
[AC_HELP_STRING([--enable-man], [AS_HELP_STRING([--enable-man],
[regenerate man pages from Docbook [default=no]])],, [regenerate man pages from Docbook [default=no]])],,
enable_man=no) enable_man=no)