464
dnl GNOME_COMMON_INIT
466
AU_DEFUN([GNOME_COMMON_INIT],
468
dnl this macro should come after AC_CONFIG_MACRO_DIR
469
AC_BEFORE([AC_CONFIG_MACRO_DIR], [$0])
471
dnl ensure that when the Automake generated makefile calls aclocal,
472
dnl it honours the $ACLOCAL_FLAGS environment variable
473
ACLOCAL_AMFLAGS="\${ACLOCAL_FLAGS}"
474
if test -n "$ac_macro_dir"; then
475
ACLOCAL_AMFLAGS="-I $ac_macro_dir $ACLOCAL_AMFLAGS"
478
AC_SUBST([ACLOCAL_AMFLAGS])
480
[[$0: This macro is deprecated. You should set put "ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}"
481
in your top-level Makefile.am, instead, where "m4" is the macro directory set
482
with AC_CONFIG_MACRO_DIR() in your configure.ac]])
484
AC_DEFUN([GNOME_DEBUG_CHECK],
486
AC_ARG_ENABLE([debug],
487
AC_HELP_STRING([--enable-debug],
488
[turn on debugging]),,
491
if test x$enable_debug = xyes ; then
492
AC_DEFINE(GNOME_ENABLE_DEBUG, 1,
493
[Enable additional debugging at the expense of performance and size])
497
dnl GNOME_MAINTAINER_MODE_DEFINES ()
498
dnl define DISABLE_DEPRECATED
500
AC_DEFUN([GNOME_MAINTAINER_MODE_DEFINES],
502
AC_REQUIRE([AM_MAINTAINER_MODE])
504
DISABLE_DEPRECATED=""
505
if test $USE_MAINTAINER_MODE = yes; then
506
DOMAINS="GCONF BONOBO BONOBO_UI GNOME LIBGLADE GNOME_VFS WNCK LIBSOUP"
507
for DOMAIN in $DOMAINS; do
508
DISABLE_DEPRECATED="$DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_SINGLE_INCLUDES"
512
AC_SUBST(DISABLE_DEPRECATED)
459
515
dnl GLIB_GSETTINGS
460
516
dnl Defines GSETTINGS_SCHEMAS_INSTALL which controls whether
461
517
dnl the schema should be compiled
9358
9414
m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])])
9360
9416
# nls.m4 serial 5 (gettext-0.18)
9361
dnl Copyright (C) 1995-2003, 2005-2006, 2008-2013 Free Software Foundation,
9417
dnl Copyright (C) 1995-2003, 2005-2006, 2008-2014 Free Software Foundation,
9363
9419
dnl This file is free software; the Free Software Foundation
9364
9420
dnl gives unlimited permission to copy and/or distribute it,