* config/mips/mips.md (divide_condition): New mode attribute.
[official-gcc.git] / libbanshee / configure.ac
blob2a8792c9bdfe3948266b9fec1a93d7a1ada5ed88
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
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])
19 if test x$GCC = xyes; then
20   ac_libbanshee_warn_cflags='-W -Wall -pedantic -Wwrite-strings  -Wstrict-prototypes -Wmissing-prototypes'
22 AC_SUBST(ac_libbanshee_warn_cflags)
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
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
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])
42 AC_CONFIG_FILES([Makefile
43                  engine/Makefile
44                  libcompat/Makefile
45                  points-to/Makefile])
46 AC_OUTPUT