~ubuntu-branches/debian/squeeze/alsa-utils/squeeze

« back to all changes in this revision

Viewing changes to configure.in

  • Committer: Bazaar Package Importer
  • Author(s): Masato Taruishi
  • Date: 2002-04-03 14:58:38 UTC
  • Revision ID: james.westby@ubuntu.com-20020403145838-ylq6q55c9ifhpixw
Tags: upstream-0.9.0beta12
ImportĀ upstreamĀ versionĀ 0.9.0beta12

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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)
 
5
 
 
6
dnl Checks for programs.
 
7
AC_PROG_CC
 
8
dnl AC_PROG_CXX
 
9
AC_PROG_INSTALL
 
10
AC_PROG_LN_S
 
11
AM_PATH_ALSA(0.9.0)
 
12
 
 
13
dnl Checks for header files.
 
14
AC_HEADER_STDC
 
15
AC_CHECK_LIB(ncurses, initscr, 
 
16
             [ CURSESINC='<ncurses.h>'; CURSESLIB='-lncurses'; ], [ 
 
17
        AC_CHECK_LIB(curses, initscr, 
 
18
                     [ CURSESINC='<curses.h>'; CURSESLIB='-lcurses'; ])
 
19
])
 
20
 
 
21
AC_SUBST(CURSESINC)
 
22
AC_SUBST(CURSESLIB)
 
23
 
 
24
dnl Check for Gtk+
 
25
dnl AM_PATH_GTK(1.0.1)
 
26
dnl CFLAGS="$CFLAGS $GTK_CFLAGS"
 
27
 
 
28
AM_CONFIG_HEADER(include/aconfig.h)
 
29
 
 
30
dnl Checks for typedefs, structures, and compiler characteristics.
 
31
AC_C_CONST
 
32
AC_C_INLINE
 
33
AC_HEADER_TIME
 
34
 
 
35
dnl Checks for library functions.
 
36
AC_PROG_GCC_TRADITIONAL
 
37
 
 
38
SAVE_UTIL_VERSION
 
39
 
 
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)