~muktupavels/metacity/adwaita-icon-theme-lp-1414613

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Package Import Robot
  • Author(s): Dmitry Shachnev
  • Date: 2014-11-18 18:13:01 UTC
  • mfrom: (1.4.1) (2.5.4 sid)
  • mto: This revision was merged to the branch mainline in revision 135.
  • Revision ID: package-import@ubuntu.com-20141118181301-cgqtucqg732irm9x
* Merge with Debian unstable, remaining changes:
  - 05_raise_on_click_for_click_mode.patch:
    Force raise on click option.
  - 22_fix_above_tab_switching.patch:
    For Above_Tab, don't compare keysym (fixes group switching).
  - debian/metacity-common.links:
    Show keybindings in Unity control center.
  - Use Ubuntu Desktop team Vcs fields.
* Drop all other patches, they were needed only for Unity 2D.
* New upstream bugfix release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
456
456
fi])
457
457
 
458
458
 
 
459
# gnome-common.m4
 
460
#
 
461
# serial 3
 
462
 
463
 
 
464
dnl GNOME_COMMON_INIT
 
465
 
 
466
AU_DEFUN([GNOME_COMMON_INIT],
 
467
[
 
468
  dnl this macro should come after AC_CONFIG_MACRO_DIR
 
469
  AC_BEFORE([AC_CONFIG_MACRO_DIR], [$0])
 
470
 
 
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"
 
476
  fi
 
477
 
 
478
  AC_SUBST([ACLOCAL_AMFLAGS])
 
479
],
 
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]])
 
483
 
 
484
AC_DEFUN([GNOME_DEBUG_CHECK],
 
485
[
 
486
        AC_ARG_ENABLE([debug],
 
487
                      AC_HELP_STRING([--enable-debug],
 
488
                                     [turn on debugging]),,
 
489
                      [enable_debug=no])
 
490
 
 
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])
 
494
        fi
 
495
])
 
496
 
 
497
dnl GNOME_MAINTAINER_MODE_DEFINES ()
 
498
dnl define DISABLE_DEPRECATED
 
499
dnl
 
500
AC_DEFUN([GNOME_MAINTAINER_MODE_DEFINES],
 
501
[
 
502
        AC_REQUIRE([AM_MAINTAINER_MODE])
 
503
 
 
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"
 
509
                done
 
510
        fi
 
511
 
 
512
        AC_SUBST(DISABLE_DEPRECATED)
 
513
])
 
514
 
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])])
9359
9415
 
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,
9362
9418
dnl Inc.
9363
9419
dnl This file is free software; the Free Software Foundation
9364
9420
dnl gives unlimited permission to copy and/or distribute it,
10372
10428
END
10373
10429
    AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
10374
10430
  fi
10375
 
fi])
 
10431
fi
 
10432
])
10376
10433
 
10377
10434
dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
10378
10435
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further