~ubuntu-branches/ubuntu/hardy/bio2jack/hardy-proposed

« back to all changes in this revision

Viewing changes to configure.in

  • Committer: Bazaar Package Importer
  • Author(s): Christian Marillat
  • Date: 2005-04-09 23:37:17 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050409233717-nmwdk3za4h63smsb
Tags: 0.7-0.1
Move bio2jack-config in the -dev package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
AC_INIT(Makefile.am)
3
3
 
4
4
AM_PROG_LIBTOOL
5
 
AM_INIT_AUTOMAKE(bio2jack,0.2)
 
5
AM_INIT_AUTOMAKE(bio2jack,0.7)
6
6
dnl Process this file with autoconf to produce a configure script.
7
7
 
8
 
AC_SUBST(LIBBIO2JACK_SO_VERSION, [0:0:0])
 
8
AC_SUBST(LIBBIO2JACK_SO_VERSION, [0:7:0])
9
9
 
10
10
AM_CONFIG_HEADER(config.h)
11
11
 
34
34
 
35
35
dnl **** Check for Jack sound server ****
36
36
JACK_LIBS=error
 
37
 
37
38
AC_CHECK_HEADERS(jack/jack.h)
 
39
if test "${ac_cv_header_jack_jack_h}" = "no"
 
40
then
 
41
  AC_MSG_ERROR([Could not find jack/jack.h  Install jack headers to build bio2jack])
 
42
fi
 
43
 
38
44
OLDCFLAGS="$CFLAGS"
39
45
CFLAGS="$CFLAGS -lpthread -ljack -ldl"
 
46
 
40
47
AC_CHECK_LIB(jack, jack_activate, JACK_LIBS="-ljack")
 
48
if test "${ac_cv_lib_jack_jack_activate}" = "no"
 
49
then
 
50
  AC_MSG_ERROR([Could not find jack_activate in libjack.  Ensure that you have libjack installed and that it a current version.])
 
51
fi
 
52
 
41
53
CFLAGS="$OLDCFLAGS"
42
54
AC_SUBST(JACK_LIBS)
43
55
 
44
 
 
45
56
AC_OUTPUT(Makefile)