2 # Process this file with autoconf to produce a configure script.
5 AC_INIT([bzip2], [1.0.5], [Julian Seward <jseward@bzip.org>])
9 AC_CONFIG_SRCDIR([bzlib.h])
10 AC_CONFIG_MACRO_DIR([m4])
12 AM_INIT_AUTOMAKE([foreign subdir-objects])
15 # Checks for programs.
19 AC_USE_SYSTEM_EXTENSIONS
23 LT_INIT([disable-static pic-only])
26 # Checks for libraries.
28 # Checks for header files.
30 # Checks for typedefs, structures, and compiler characteristics.
32 # Check for system features.
35 AC_MSG_CHECKING([whether compiler understands -Wall])
37 CFLAGS="$CFLAGS -Wall"
38 AC_TRY_COMPILE([], [], [
45 AC_MSG_CHECKING([whether compiler understands -Winline])
47 CFLAGS="$CFLAGS -Winline"
48 AC_TRY_COMPILE([], [], [
55 # Checks for library functions.
58 AC_SUBST([BZIP2_LT_CURRENT])
59 AC_SUBST([BZIP2_LT_REVISION])
60 AC_SUBST([BZIP2_LT_AGE])
61 AC_CONFIG_FILES([Makefile bzip2.pc])