OSDN Git Service

Fix another mips typo.
[pf3gnuchains/gcc-fork.git] / libbanshee / configure.ac
1 # Process this file with autoconf to produce a configure script.
2 AC_PREREQ(2.59)
3 AC_INIT(libbanshee,0.9,dberlin@dberlin.org)
4 AC_CONFIG_SRCDIR(engine/flowrow-sort.c)
5 AC_CONFIG_HEADERS(config.h)
6 AM_INIT_AUTOMAKE
7
8 # Checks for programs.
9 AC_PROG_CC
10 AC_PROG_INSTALL
11 AC_PROG_RANLIB
12 # Checks for libraries.
13 # FIXME: Replace `main' with a function in `-llambda':
14 #AC_CHECK_LIB([lambda], [main])
15 # FIXME: Replace `main' with a function in `-lm':
16 #AC_CHECK_LIB([m], [main])
17
18
19 if test x$GCC = xyes; then
20   ac_libbanshee_warn_cflags='-W -Wall -pedantic -Wwrite-strings  -Wstrict-prototypes -Wmissing-prototypes'
21 fi
22 AC_SUBST(ac_libbanshee_warn_cflags)
23
24 AM_MAINTAINER_MODE
25 # Checks for header files.
26 AC_HEADER_STDC
27 AC_CHECK_HEADERS([fcntl.h limits.h stddef.h stdlib.h string.h sys/param.h unistd.h])
28 AC_HEADER_STDBOOL
29
30 # Checks for typedefs, structures, and compiler characteristics.
31 AC_C_CONST
32 AC_C_INLINE
33 AC_TYPE_PID_T
34 AC_TYPE_SIZE_T
35
36 # Checks for library functions.
37 AC_FUNC_MEMCMP
38 AC_FUNC_MMAP
39 AC_FUNC_VPRINTF
40 AC_CHECK_FUNCS([atexit dup2 floor getpagesize memset munmap])
41
42 AC_CONFIG_FILES([Makefile
43                  engine/Makefile
44                  libcompat/Makefile
45                  points-to/Makefile])
46 AC_OUTPUT