File: configure.ac

package info (click to toggle)
systemd-shim 10-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 344 kB
  • ctags: 275
  • sloc: ansic: 1,981; sh: 154; makefile: 62
file content (20 lines) | stat: -rw-r--r-- 653 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
AC_INIT([systemd-shim], [10])
AC_CONFIG_AUX_DIR([build-aux])
AM_INIT_AUTOMAKE([1.11 foreign -Wno-portability no-dist-gzip dist-xz])
AC_CONFIG_HEADERS([config.h])
AM_SILENT_RULES([yes])

# Set default CFLAGS before AC_PROG_CC does
if test "${CFLAGS+yes}" != "yes"; then
  CFLAGS='-O2 -g -Wall -Wwrite-strings -Wmissing-prototypes -fno-common'
fi
AC_PROG_CC

PKG_CHECK_MODULES(gio, gio-2.0)
PKG_CHECK_MODULES(systemd, systemd)
AC_DEFINE_UNQUOTED([SYSTEMD_VERSION], [`$PKG_CONFIG --modversion systemd`], [systemd version])
AC_CONFIG_FILES([Makefile
                 data/Makefile
                 src/Makefile
                 scripts/Makefile])
AC_OUTPUT