root/lang/c/sonydb/configure.in

Revision 15142, 0.8 kB (checked in by mattn, 5 months ago)

add files for autotools.

Line 
1# -*- Autoconf -*-
2# Process this file with autoconf to produce a configure script.
3
4AC_PREREQ(2.57)
5AC_INIT(frontend.cpp, 0.0.1, mattn.jp@gmail.com)
6AC_CONFIG_SRCDIR([frontend.cpp])
7AM_CONFIG_HEADER([config.h])
8AM_INIT_AUTOMAKE(sonydb, 0.0.1, no-define)
9
10# Checks for programs.
11AC_PROG_CXX
12
13# Checks for libraries.
14dnl id3lib
15AC_SEARCH_LIBS(ID3Tag_Link,"id3" "id3 -lstdc++" "id3 -lz" "id3 -lz -lstdc++",,
16AC_MSG_ERROR(id3lib not found.))
17
18# Checks for header files.
19AC_CHECK_HEADERS([memory.h])
20
21# Checks for typedefs, structures, and compiler characteristics.
22AC_C_CONST
23AC_TYPE_SIZE_T
24
25# Checks for library functions.
26AC_FUNC_MALLOC
27AC_FUNC_MEMCMP
28AC_HEADER_STDC
29AC_FUNC_REALLOC
30AC_CHECK_FUNCS([memset putenv setlocale strdup strpbrk])
31
32# Checks for library functions.
33AC_OUTPUT([Makefile sonydb.spec])
34
Note: See TracBrowser for help on using the browser.