File: configure.ac

package info (click to toggle)
gnome-devel-docs 3.32.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 77,876 kB
  • sloc: xml: 2,518; ansic: 2,228; python: 1,854; makefile: 805; sh: 480; cpp: 131
file content (29 lines) | stat: -rw-r--r-- 845 bytes parent folder | download
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
AC_INIT([gnome-devel-docs],[3.32.1])

AM_INIT_AUTOMAKE([no-dist-gzip dist-xz])
AM_SILENT_RULES([yes])
AM_MAINTAINER_MODE([enable])

YELP_HELP_INIT

# C compiler and pkg-config for testing demo source code.
# These dependencies are all optional: it must be possible for documenters to
# run `./configure && make` without needing anything more than autotools and
# Yelp. `make check` and `make distcheck` may require the compilers.
AC_PATH_PROG([CC],[cc])
PKG_PROG_PKG_CONFIG

PKG_CHECK_MODULES([GLIB],[glib-2.0 gobject-2.0 gio-2.0],
                  [have_glib=yes],[have_glib=no])

AM_CONDITIONAL([BUILD_TESTS],[test "$CC" != "" && test "$have_glib" = "yes"])

AC_OUTPUT([
Makefile
accessibility-devel-guide/Makefile
platform-demos/Makefile
hig/Makefile
optimization-guide/Makefile
platform-overview/Makefile
programming-guidelines/Makefile
])