File: configure.ac

package info (click to toggle)
goplay 0.9.1+nmu1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 728 kB
  • ctags: 453
  • sloc: cpp: 3,431; ansic: 996; makefile: 88; sh: 35
file content (39 lines) | stat: -rw-r--r-- 887 bytes parent folder | download | duplicates (2)
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
dnl Process this file with autoconf to produce a configure script.
AC_INIT(goplay, 0.5, [Miriam Ruiz <little_miry@yahoo.es>, Enrico Zini <enrico@debian.org>])
AC_CONFIG_SRCDIR([configure.ac])
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE([foreign])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])

dnl To use subdirs
AC_PROG_MAKE_SET

AC_LANG(C++)

AC_GNU_SOURCE
dnl AC_ISC_POSIX
AC_PROG_CXX()
AC_PROG_CXXCPP
AM_PROG_CC_STDC
AC_HEADER_STDC
AC_PROG_RANLIB

dnl Use libtool
AM_PROG_LIBTOOL

dnl Use wibble, tagcoll2 and pkg
PKG_CHECK_MODULES([LIBWIBBLE], [libwibble])
PKG_CHECK_MODULES([LIBEPT], [libept])
PKG_CHECK_MODULES([LIBTAGCOLL2], [libtagcoll2])

dnl Look for apt-get
AC_PATH_PROG(APTGET, apt-get, /usr/bin/apt-get)
AC_SUBST(APTGET)
AC_DEFINE_UNQUOTED(APTGET, "$APTGET", [Location of apt-get program])

AC_CONFIG_FILES([
Makefile
libxdgutils/Makefile
src/Makefile
])
AC_OUTPUT