/rusxmms/rcctools

To get this branch, use:
bzr branch http://suren.me/webbzr/rusxmms/rcctools
1 by Suren A. Chilingaryan
initial import
1
AC_INIT(rcc-recode.c)
2
AM_INIT_AUTOMAKE(rcc_tools, `cat VERSION | sed -e s/CVS//`)
3
AC_CONFIG_HEADERS(config.h)
4
5
AC_PROG_CC
6
AC_PROG_INSTALL
7
AM_PROG_LIBTOOL
8
9
AC_CHECK_HEADERS(getopt.h dirent.h sys/types.h sys/file.h sys/stat.h)
10
11
AC_CHECK_HEADER(librcc.h, 
12
    [AC_CHECK_LIB(rcc, rccInit, 
13
	[ 
14
	    AC_DEFINE(HAVE_LIBRCC,1,[Defines if librcc is available])
15
	],[
16
	    AC_MSG_ERROR(LibRCC is required)
17
	])
18
    ],[
19
	AC_MSG_ERROR(LibRCC is required)
20
    
21
    ])
22
23
AC_OUTPUT([
24
    Makefile
25
])