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

« back to all changes in this revision

Viewing changes to configure.in

  • Committer: Package Import Robot
  • Author(s): Jeremy Bicha
  • Date: 2012-08-23 11:12:43 UTC
  • mfrom: (1.3.3)
  • mto: (2.5.2 sid) (1.4.2)
  • mto: This revision was merged to the branch mainline in revision 122.
  • Revision ID: package-import@ubuntu.com-20120823111243-0hjp8cv5xn2jr6jc
ImportĀ upstreamĀ versionĀ 2.34.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
m4_define([metacity_minor_version], [34])
5
5
# Fibonacci sequence for micro version numbering:
6
6
# 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987
7
 
m4_define([metacity_micro_version], [1])
 
7
m4_define([metacity_micro_version], [3])
8
8
 
9
9
m4_define([metacity_version],
10
10
          [metacity_major_version.metacity_minor_version.metacity_micro_version])
16
16
 
17
17
AM_INIT_AUTOMAKE([1.11.1 no-dist-gzip dist-xz])
18
18
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])],)
19
 
AM_MAINTAINER_MODE
 
19
AM_MAINTAINER_MODE([enable])
20
20
 
21
21
# Honor aclocal flags
22
22
AC_SUBST(ACLOCAL_AMFLAGS, "\${ACLOCAL_FLAGS}")
112
112
dnl work; see https://bugzilla.gnome.org/show_bug.cgi?id=650513
113
113
with_gtk=2.0
114
114
GTK_API_VERSION=2.0
115
 
GTK_MIN_VERSION=2.20.0
 
115
GTK_MIN_VERSION=2.24.0
 
116
GIO_MIN_VERSION=2.25.10
116
117
CANBERRA_GTK=libcanberra-gtk
117
118
 
118
 
METACITY_PC_MODULES="gtk+-$GTK_API_VERSION >= $GTK_MIN_VERSION pango >= 1.2.0"
 
119
METACITY_PC_MODULES="gtk+-$GTK_API_VERSION >= $GTK_MIN_VERSION gio-2.0 >= $GIO_MIN_VERSION pango >= 1.2.0 gsettings-desktop-schemas >= 3.3.0"
119
120
AC_SUBST(GTK_API_VERSION)
120
121
 
121
 
AC_ARG_ENABLE(gconf,
122
 
  AC_HELP_STRING([--disable-gconf],
123
 
                 [disable gconf usage, for embedded/size-sensitive non-GNOME builds]),,
124
 
  enable_gconf=yes)
125
 
 
126
 
if test x$enable_gconf = xyes; then
127
 
    AC_DEFINE(HAVE_GCONF,1,[Build with gconf support])
128
 
    METACITY_PC_MODULES="$METACITY_PC_MODULES gconf-2.0 >= 1.2.0"
129
 
fi
 
122
GLIB_GSETTINGS
130
123
 
131
124
AC_ARG_ENABLE(canberra,
132
125
  AC_HELP_STRING([--disable-canberra],
492
485
 
493
486
AC_SUBST(GDK_PIXBUF_CSOURCE)
494
487
 
495
 
if test x$enable_gconf = xyes; then 
496
 
   AC_PATH_PROG(GCONFTOOL, gconftool-2, no)
497
 
   if test x"$GCONFTOOL" = xno; then
498
 
     AC_MSG_ERROR([gconftool-2 executable not found in your path - should be installed with GConf])
499
 
   fi
500
 
 
501
 
   AM_GCONF_SOURCE_2
502
 
else
503
 
  GCONF_SCHEMAS_INSTALL_TRUE='#'
504
 
  GCONF_SCHEMAS_INSTALL_FALSE=
505
 
fi
506
 
 
507
488
AC_PATH_PROG(ZENITY, zenity, no)
508
489
if test x"$ZENITY" = xno; then
509
490
  AC_MSG_ERROR([zenity not found in your path - needed for dialogs])
539
520
 
540
521
AC_OUTPUT
541
522
 
542
 
if test x$enable_gconf = xno; then
543
 
        echo "*** WARNING WARNING WARNING WARNING WARNING"
544
 
        echo "*** Building without GConf.  This means there's no"
545
 
        echo "*** way to change prefs except hacking source code."
546
 
        echo "*** This is intended for embedded systems etc., not for normal use."
547
 
fi
548
 
 
549
523
if test x$enable_verbose_mode = xno; then
550
524
        echo "*** WARNING WARNING WARNING WARNING WARNING"
551
525
        echo "*** Building without verbose mode"
562
536
        source code location:     ${srcdir}
563
537
        compiler:                 ${CC}
564
538
 
565
 
        GConf:                    ${enable_gconf}
566
539
        Canberra:                 ${enable_canberra}
567
540
        XFree86 Xinerama:         ${use_xfree_xinerama}
568
541
        Solaris Xinerama:         ${use_solaris_xinerama}