# -*- Autoconf -*- # Process this file with autoconf to produce a configure script. AC_PREREQ([2.57]) AC_INIT([bzip2], [1.0.5], [Julian Seward ]) BZIP2_LT_CURRENT=1 BZIP2_LT_REVISION=6 BZIP2_LT_AGE=0 AC_CONFIG_SRCDIR([bzlib.h]) AC_CONFIG_MACRO_DIR([m4]) AM_INIT_AUTOMAKE([foreign subdir-objects]) AM_MAINTAINER_MODE # Checks for programs. AC_PROG_AWK AC_PROG_CC_STDC AC_PROG_CC_C_O AC_USE_SYSTEM_EXTENSIONS AC_PROG_INSTALL AC_PROG_LN_S AC_PROG_MAKE_SET LT_INIT([disable-static pic-only]) PKG_PROG_PKG_CONFIG gl_VISIBILITY # Checks for libraries. # Checks for header files. # Checks for typedefs, structures, and compiler characteristics. # Check for system features. AC_SYS_LARGEFILE AC_MSG_CHECKING([whether compiler understands -Wall]) save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -Wall" AC_TRY_COMPILE([], [], [ AC_MSG_RESULT([yes]) ], [ AC_MSG_RESULT([no]) CFLAGS="$save_CFLAGS" ]) AC_MSG_CHECKING([whether compiler understands -Winline]) save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -Winline" AC_TRY_COMPILE([], [], [ AC_MSG_RESULT([yes]) ], [ AC_MSG_RESULT([no]) CFLAGS="$save_CFLAGS" ]) # Checks for library functions. # Write the output. AC_SUBST([BZIP2_LT_CURRENT]) AC_SUBST([BZIP2_LT_REVISION]) AC_SUBST([BZIP2_LT_AGE]) AC_CONFIG_FILES([Makefile bzip2.pc]) AC_OUTPUT