Clean up unnecessary changes to configure.ac
Remove unnecessary checks for headers and functions, revert changes to internationalization that introduced duplication. (Based on a patch by Javier Jardón) https://bugzilla.gnome.org/show_bug.cgi?id=609205
This commit is contained in:
parent
17d1e06c7c
commit
09df6a3818
22
configure.ac
22
configure.ac
@ -8,6 +8,7 @@ AC_CONFIG_AUX_DIR([config])
|
|||||||
|
|
||||||
AM_INIT_AUTOMAKE([1.10 dist-bzip2 no-dist-gzip foreign])
|
AM_INIT_AUTOMAKE([1.10 dist-bzip2 no-dist-gzip foreign])
|
||||||
AM_MAINTAINER_MODE
|
AM_MAINTAINER_MODE
|
||||||
|
|
||||||
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
|
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
|
||||||
|
|
||||||
# Checks for programs.
|
# Checks for programs.
|
||||||
@ -19,27 +20,14 @@ AM_PROG_CC_C_O
|
|||||||
LT_PREREQ([2.2.6])
|
LT_PREREQ([2.2.6])
|
||||||
LT_INIT([disable-static])
|
LT_INIT([disable-static])
|
||||||
|
|
||||||
# Checks for header files.
|
GETTEXT_PACKAGE=gnome-shell
|
||||||
AC_PATH_X
|
IT_PROG_INTLTOOL(0.26)
|
||||||
AC_CHECK_HEADERS([fcntl.h float.h libintl.h paths.h stdlib.h string.h unistd.h])
|
|
||||||
|
|
||||||
# Checks for typedefs, structures, and compiler characteristics.
|
|
||||||
AC_C_INLINE
|
|
||||||
AC_TYPE_SIZE_T
|
|
||||||
AC_TYPE_UID_T
|
|
||||||
|
|
||||||
# Checks for library functions.
|
|
||||||
AC_CHECK_FUNCS([floor getusershell memset strchr strdup strrchr strstr strtol strtoul])
|
|
||||||
|
|
||||||
# i18n
|
|
||||||
IT_PROG_INTLTOOL([0.40.6])
|
|
||||||
AC_SUBST([GETTEXT_PACKAGE], [gnome-shell])
|
|
||||||
AM_GNU_GETTEXT_VERSION([0.17])
|
|
||||||
AM_GLIB_GNU_GETTEXT
|
AM_GLIB_GNU_GETTEXT
|
||||||
AC_DEFINE([GETTEXT_PACKAGE], [PACKAGE_TARNAME], [The prefix for our gettext translation domains.])
|
AC_DEFINE([GETTEXT_PACKAGE], [PACKAGE_TARNAME], [The prefix for our gettext translation domain])
|
||||||
|
|
||||||
PKG_PROG_PKG_CONFIG([0.22])
|
PKG_PROG_PKG_CONFIG([0.22])
|
||||||
|
|
||||||
|
# GConf stuff
|
||||||
AC_PATH_PROG(GCONFTOOL, gconftool-2, no)
|
AC_PATH_PROG(GCONFTOOL, gconftool-2, no)
|
||||||
AM_GCONF_SOURCE_2
|
AM_GCONF_SOURCE_2
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user