Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 3b1c444710
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 81 lines (69 sloc) 1.808 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
AC_PREREQ(2.52)
AC_INIT([ubiquity], [2.10], [https://launchpad.net/ubuntu/+source/ubiquity/+filebug])
AC_CONFIG_SRCDIR([src/panel/panel.c])
AC_CONFIG_AUX_DIR([build])
AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE([foreign])

AM_CONFIG_HEADER([config.h])

AM_MAINTAINER_MODE

AM_PROG_LIBTOOL

AM_GNU_GETTEXT([external])
AM_GNU_GETTEXT_VERSION([0.17])

GETTEXT_PACKAGE=ubiquity
AC_SUBST([GETTEXT_PACKAGE])
IT_PROG_INTLTOOL([0.40.0], [no-xml])

AC_PROG_CC
AC_HEADER_STDC
AC_PROG_INSTALL
AC_PROG_MAKE_SET

GTK3_REQUIRED=3.1.4
GIO_REQUIRED=2.5.11

if test "x$UBIQUITY_NO_GTK" = x; then
  PKG_CHECK_MODULES(WEBCAM, [gtk+-3.0 >= $GTK3_REQUIRED
gio-2.0 >= $GIO_REQUIRED
gstreamer-0.10
gstreamer-interfaces-0.10
gudev-1.0])
  AC_SUBST(WEBCAM_CFLAGS)
  AC_SUBST(WEBCAM_LIBS)
  PKG_CHECK_MODULES(PANEL, [glib-2.0
gtk+-3.0 >= $GTK3_REQUIRED
indicator3-0.4
x11])
  AC_SUBST(PANEL_CFLAGS)
  AC_SUBST(PANEL_LIBS)
  PKG_CHECK_MODULES(WALLPAPER, [glib-2.0
gtk+-3.0 >= $GTK3_REQUIRED
x11])
  AC_SUBST(WALLPAPER_CFLAGS)
  AC_SUBST(WALLPAPER_LIBS)
  PKG_CHECK_MODULES(MOCK_RESOLVER, [glib-2.0
gio-2.0])
  AC_SUBST(MOCK_RESOLVER_CFLAGS)
  AC_SUBST(MOCK_RESOLVER_LIBS)
  GOBJECT_INTROSPECTION_CHECK([0.6.7])
  AC_CONFIG_FILES(
src/Makefile
src/wallpaper/Makefile
src/webcam/Makefile
src/panel/Makefile
src/mockresolver/Makefile
)
else
  AC_SUBST(WEBCAM_CFLAGS, [""])
  AC_SUBST(WEBCAM_LIBS, [""])
  AC_SUBST(PANEL_CFLAGS, [""])
  AC_SUBST(PANEL_LIBS, [""])
  AC_SUBST(WALLPAPER_CFLAGS, [""])
  AC_SUBST(WALLPAPER_LIBS, [""])
fi

AC_DEFINE_UNQUOTED(PIXMAPS_DIR, "${datadir}/${PACKAGE}/pixmaps", [pixmaps directory])
pixmapsdir="${datadir}/${PACKAGE}/pixmaps"
AC_SUBST([pixmapsdir])

AC_CONFIG_FILES([
Makefile
desktop/Makefile
pixmaps/Makefile
po/Makefile.in
])
AC_OUTPUT

Something went wrong with that request. Please try again.