1
dnl Process this file with autoconf to produce a configure script.
2
AC_INIT(alsamixer/alsamixer.c)
3
AC_PREFIX_DEFAULT(/usr)
4
AM_INIT_AUTOMAKE(alsa-utils, 0.9.0beta12)
6
dnl Checks for programs.
13
dnl Checks for header files.
15
AC_CHECK_LIB(ncurses, initscr,
16
[ CURSESINC='<ncurses.h>'; CURSESLIB='-lncurses'; ], [
17
AC_CHECK_LIB(curses, initscr,
18
[ CURSESINC='<curses.h>'; CURSESLIB='-lcurses'; ])
25
dnl AM_PATH_GTK(1.0.1)
26
dnl CFLAGS="$CFLAGS $GTK_CFLAGS"
28
AM_CONFIG_HEADER(include/aconfig.h)
30
dnl Checks for typedefs, structures, and compiler characteristics.
35
dnl Checks for library functions.
36
AC_PROG_GCC_TRADITIONAL
40
AC_OUTPUT(Makefile alsactl/Makefile alsamixer/Makefile amixer/Makefile aplay/Makefile \
41
include/Makefile utils/Makefile utils/alsa-utils.spec \
42
seq/Makefile seq/aconnect/Makefile seq/aseqnet/Makefile)