diff options
author | Romain Bouvier <skunnyk@alteroot.org> | 2021-01-30 20:06:07 +0100 |
---|---|---|
committer | Romain Bouvier <skunnyk@alteroot.org> | 2021-01-30 21:19:55 +0100 |
commit | 9e0703fdea5fdb1ca79128ec6b87fff161b1cb8c (patch) | |
tree | d4c25df4868fc42c1326363f042c8252727c5c7c /configure.ac.in | |
parent | 195eb2e6482053c2f41d4f0f9cd1809f42469f76 (diff) | |
download | xfconf-9e0703fdea5fdb1ca79128ec6b87fff161b1cb8c.tar.gz |
Revamp the documentation to modernize and uniformize accross components
- Also fixes some autohells deprecations
Diffstat (limited to 'configure.ac.in')
-rw-r--r-- | configure.ac.in | 25 |
1 files changed, 10 insertions, 15 deletions
diff --git a/configure.ac.in b/configure.ac.in index 048cd04..f64c64a 100644 --- a/configure.ac.in +++ b/configure.ac.in @@ -22,7 +22,7 @@ m4_define([xfconf_default_debug], [ifelse(xfconf_version_tag(), [git], [yes], [m dnl init autoconf AC_INIT([xfconf], [xfconf_version], [https://gitlab.xfce.org/xfconf/xfconf]) AC_CONFIG_MACRO_DIRS([m4]) -AC_PREREQ([2.50]) +AC_PREREQ([2.69]) dnl init automake AM_INIT_AUTOMAKE([1.11 dist-bzip2 tar-ustar no-dist-gzip foreign]) @@ -32,19 +32,15 @@ AM_SILENT_RULES([yes]) dnl set helper path prefix AC_ARG_WITH([helper-path-prefix], - [AC_HELP_STRING([--with-helper-path-prefix=PATH], + [AS_HELP_STRING([--with-helper-path-prefix=PATH], [Path prefix under which helper executables will be installed (default: $libdir)])], [HELPER_PATH_PREFIX="$withval"], [HELPER_PATH_PREFIX="$libdir"]) AC_SUBST([HELPER_PATH_PREFIX]) -dnl check for UNIX variants -AC_AIX -AC_ISC_POSIX -AC_MINIX dnl check for basic programs -AC_PROG_CC_C99 +AC_PROG_CC AM_PROG_CC_C_O AC_PROG_INSTALL AC_PROG_MAKE_SET @@ -56,7 +52,6 @@ LT_PREREQ([2.2.6]) LT_INIT([disable-static]) dnl check for standard header files -AC_HEADER_STDC AC_CHECK_HEADERS([errno.h fcntl.h grp.h locale.h \ signal.h stdlib.h string.h \ sys/stat.h sys/time.h sys/types.h sys/wait.h \ @@ -73,7 +68,7 @@ AC_SUBST(LIBXFCONF_VERSION_API) AC_SUBST(LIBXFCONF_VERINFO) dnl Check for i18n support -XDT_I18N([@LINGUAS@]) +XDT_I18N([]) dnl Check for gdbus-codegen AC_ARG_VAR([GDBUS_CODEGEN], [D-Bus code and documentation generator from XML D-Bus interface definitions]) @@ -122,7 +117,7 @@ BT_GLIB_CHECK_ALIGNOF(gboolean) BT_GLIB_CHECK_ALIGNOF(gpointer) dnl gtk-doc -GTK_DOC_CHECK([1.0]) +GTK_DOC_CHECK([1.20]) dnl backends @@ -136,7 +131,7 @@ if test "x$xfconf_backend_perchannel_xml" = "xyes"; then fi dnl check for GSettings backend support -AC_ARG_ENABLE([gsettings_backend], AC_HELP_STRING([--disable-gsettings-backend], [Don't build GSettings backend module]), +AC_ARG_ENABLE([gsettings_backend], AS_HELP_STRING([--disable-gsettings-backend], [Don't build GSettings backend module]), [ac_gsettings_backend=$enableval], [ac_gsettings_backend=yes]) AC_MSG_CHECKING([whether to build the GSettings backend module]) AM_CONDITIONAL([XFCONF_ENABLE_GSETTINGS_BACKEND], [test x"$ac_gsettings_backend" = x"yes"]) @@ -162,7 +157,7 @@ XDT_SUPPORTED_FLAGS([GTK_DOC_EXTRA_CFLAGS], [-Wno-sign-compare]) AC_SUBST([GTK_DOC_EXTRA_CFLAGS]) AC_ARG_ENABLE([checks], - AC_HELP_STRING([--enable-checks], + AS_HELP_STRING([--enable-checks], [Enables some runtime checks for libxfconf that print debugging information at a slight cost to library code size and speed]), [enable_checks=$enableval]) if test "x$enable_checks" = "xyes"; then @@ -185,7 +180,7 @@ dnl add -O1 and --as-needed to LDFLAGS if supported XDT_FEATURE_LINKER_OPTS AC_ARG_ENABLE([profiling], - AC_HELP_STRING([--enable-profiling], + AS_HELP_STRING([--enable-profiling], [Enable gprof profiling support]), [enable_profiling=$enableval]) if test "x$enable_profiling" = "xyes"; then @@ -215,12 +210,11 @@ AC_SUBST([BASH_COMPLETION_DIR]) AM_CONDITIONAL([ENABLE_BASH_COMPLETION], [test "x$with_bash_completion_dir" != xno]) -AC_OUTPUT([ +AC_CONFIG_FILES([ Makefile common/Makefile docs/Makefile docs/reference/Makefile -docs/reference/version.xml docs/spec/Makefile po/Makefile.in tests/Makefile @@ -239,6 +233,7 @@ xfconfd/Makefile gsettings-backend/Makefile completions/Makefile ]) +AC_OUTPUT dnl *************************** dnl *** Print configuration *** |