AC_ARG_ENABLE(
[utils],
[AS_HELP_STRING(
- [--enable-utils],
+ [--disable-utils],
[install utilities to manage .config files (default=no)])])
-AC_SUBST([enable_utils], [${enable_utils:-no}])
+AC_SUBST([enable_utils], [${enable_utils:-yes}])
#----------------------------------------
# Options to selectively enable/disable frontends
# Check for standard headers
AC_HEADER_STDC
AC_HEADER_STDBOOL
-AC_CHECK_HEADERS([ fcntl.h libintl.h limits.h locale.h ])
+AC_CHECK_HEADERS([ fcntl.h limits.h locale.h ])
AC_CHECK_HEADERS([ stdlib.h string.h sys/time.h unistd.h ])
AC_TYPE_SIZE_T
#----------------------------------------
# Check for gettext, for the kconfig frontends
-AC_SUBST([GETTEXT])
+AC_SUBST([intl_CPPFLAGS])
AC_CHECK_HEADERS(
[libintl.h],
[ac_ct_gettext_hdr=$ac_header; break],
- [AC_MSG_WARN([libintl is missing, frontends will not be localised])])
+ [AC_MSG_WARN([libintl is missing, frontends will not be localised])
+ intl_CPPFLAGS=-DKBUILD_NO_NLS])
AS_IF(
[test -n "$ac_ct_gettext_hdr"],
[AC_CHECK_DECL(
[gettext],,
[AC_MSG_WARN([gettext is missing, frontends will not be localised])
- GETTEXT=-DKBUILD_NO_NLS],
+ intl_CPPFLAGS=-DKBUILD_NO_NLS],
[#include <$ac_ct_gettext_hdr>])])
#----------------------------------------