summaryrefslogtreecommitdiff
path: root/libbanshee/configure.ac
diff options
context:
space:
mode:
authorkcook <kcook@138bc75d-0d04-0410-961f-82ee72b054a4>2004-05-29 17:46:24 +0000
committerkcook <kcook@138bc75d-0d04-0410-961f-82ee72b054a4>2004-05-29 17:46:24 +0000
commit628ae68126705ef96ff5746287c3d8ce7d7b79ab (patch)
treefe483a0a2f954967150e09a1e6167148af6c190a /libbanshee/configure.ac
parentfb4883deea70ec0b6947c614e9bdc44e3d5ac3c0 (diff)
downloadgcc-628ae68126705ef96ff5746287c3d8ce7d7b79ab.tar.gz
2004-05-28 Kelley Cook <kcook@gcc.gnu.org>
* configure.in: Rename to ... * configure.ac: this. Update to modern autoconf style. Correct AC_INIT macro with the actual package name. Replace gcc_AC_HEADER_STDBOOL and GCC_AC_C__BOOL with AC_HEADER_STDBOOL. * acinclude.m4, stamp.h-in: Delete. * config.h, configure: Regenerate with autoconf 2.59. * aclocal.m4, Makefile.in: Regenerate with automake 1.7.9. * engine/Makefile.in: Likewise. * libcompat/Makefile.in: Likewise. * points-to/Makefile.in: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82425 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libbanshee/configure.ac')
-rw-r--r--libbanshee/configure.ac46
1 files changed, 46 insertions, 0 deletions
diff --git a/libbanshee/configure.ac b/libbanshee/configure.ac
new file mode 100644
index 00000000000..2a8792c9bdf
--- /dev/null
+++ b/libbanshee/configure.ac
@@ -0,0 +1,46 @@
+# Process this file with autoconf to produce a configure script.
+AC_PREREQ(2.59)
+AC_INIT(libbanshee,0.9,dberlin@dberlin.org)
+AC_CONFIG_SRCDIR(engine/flowrow-sort.c)
+AC_CONFIG_HEADERS(config.h)
+AM_INIT_AUTOMAKE
+
+# Checks for programs.
+AC_PROG_CC
+AC_PROG_INSTALL
+AC_PROG_RANLIB
+# Checks for libraries.
+# FIXME: Replace `main' with a function in `-llambda':
+#AC_CHECK_LIB([lambda], [main])
+# FIXME: Replace `main' with a function in `-lm':
+#AC_CHECK_LIB([m], [main])
+
+
+if test x$GCC = xyes; then
+ ac_libbanshee_warn_cflags='-W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes'
+fi
+AC_SUBST(ac_libbanshee_warn_cflags)
+
+AM_MAINTAINER_MODE
+# Checks for header files.
+AC_HEADER_STDC
+AC_CHECK_HEADERS([fcntl.h limits.h stddef.h stdlib.h string.h sys/param.h unistd.h])
+AC_HEADER_STDBOOL
+
+# Checks for typedefs, structures, and compiler characteristics.
+AC_C_CONST
+AC_C_INLINE
+AC_TYPE_PID_T
+AC_TYPE_SIZE_T
+
+# Checks for library functions.
+AC_FUNC_MEMCMP
+AC_FUNC_MMAP
+AC_FUNC_VPRINTF
+AC_CHECK_FUNCS([atexit dup2 floor getpagesize memset munmap])
+
+AC_CONFIG_FILES([Makefile
+ engine/Makefile
+ libcompat/Makefile
+ points-to/Makefile])
+AC_OUTPUT