mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-12-23 01:06:30 +01:00
42 lines
1 KiB
Text
42 lines
1 KiB
Text
dnl Process this file with autoconf to produce a configure script.
|
|
AC_INIT(alsamixer/alsamixer.c)
|
|
AC_PREFIX_DEFAULT(/usr)
|
|
AM_INIT_AUTOMAKE(alsa-utils, 0.9.0rc7)
|
|
|
|
dnl Checks for programs.
|
|
AC_PROG_CC
|
|
dnl AC_PROG_CXX
|
|
AC_PROG_INSTALL
|
|
AC_PROG_LN_S
|
|
AM_PATH_ALSA(0.9.0)
|
|
|
|
dnl Checks for header files.
|
|
AC_HEADER_STDC
|
|
AC_CHECK_LIB(ncurses, initscr,
|
|
[ CURSESINC='<ncurses.h>'; CURSESLIB='-lncurses'; ], [
|
|
AC_CHECK_LIB(curses, initscr,
|
|
[ CURSESINC='<curses.h>'; CURSESLIB='-lcurses'; ])
|
|
])
|
|
|
|
AC_SUBST(CURSESINC)
|
|
AC_SUBST(CURSESLIB)
|
|
|
|
dnl Check for Gtk+
|
|
dnl AM_PATH_GTK(1.0.1)
|
|
dnl CFLAGS="$CFLAGS $GTK_CFLAGS"
|
|
|
|
AM_CONFIG_HEADER(include/aconfig.h)
|
|
|
|
dnl Checks for typedefs, structures, and compiler characteristics.
|
|
AC_C_CONST
|
|
AC_C_INLINE
|
|
AC_HEADER_TIME
|
|
|
|
dnl Checks for library functions.
|
|
AC_PROG_GCC_TRADITIONAL
|
|
|
|
SAVE_UTIL_VERSION
|
|
|
|
AC_OUTPUT(Makefile alsactl/Makefile alsamixer/Makefile amixer/Makefile aplay/Makefile \
|
|
include/Makefile utils/Makefile utils/alsa-utils.spec \
|
|
seq/Makefile seq/aconnect/Makefile seq/aseqnet/Makefile)
|