File: configure.in

package info (click to toggle)
alsa-tools 1.0.13-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 11,432 kB
  • ctags: 5,011
  • sloc: ansic: 25,566; cpp: 13,672; sh: 10,786; pascal: 1,140; asm: 1,053; xml: 988; makefile: 689
file content (27 lines) | stat: -rw-r--r-- 595 bytes parent folder | download | duplicates (3)
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
dnl Process this file with autoconf to produce a configure script.
AC_INIT(echomixer.c)
AM_INIT_AUTOMAKE(echomixer, 1.0.5)
AC_PROG_CC
AC_PROG_INSTALL
AC_HEADER_STDC

AC_ARG_WITH(gtk2,
  [  --with-gtk2=yes,no   Build with GTK+2 (default = yes)],
  with_gtk2="$withval", with_gtk2="yes")

if test "$with_gtk2" = "yes"; then

PKG_CHECK_MODULES(ECHOMIXER, gtk+-2.0 alsa >= 1.0.0)

else

AM_PATH_GTK(1.2.0)
AM_PATH_ALSA(1.0.0)
ECHOMIXER_CFLAGS="$CFLAGS $ALSA_CFLAGS $GTK_CFLAGS"
ECHOMIXER_LIBS="$LIBS $ALSA_LIBS $GTK_LIBS"
AC_SUBST(ECHOMIXER_CFLAGS)
AC_SUBST(ECHOMIXER_LIBS)

fi

AC_OUTPUT(Makefile)