source: Vago/Libs/zlib-1.2.8/contrib/minizip/configure.ac@ 1087

Last change on this file since 1087 was 1050, checked in by s10k, 8 years ago
File size: 786 bytes
Line 
1# -*- Autoconf -*-
2# Process this file with autoconf to produce a configure script.
3
4AC_INIT([minizip], [1.2.8], [bugzilla.redhat.com])
5AC_CONFIG_SRCDIR([minizip.c])
6AM_INIT_AUTOMAKE([foreign])
7LT_INIT
8
9AC_MSG_CHECKING([whether to build example programs])
10AC_ARG_ENABLE([demos], AC_HELP_STRING([--enable-demos], [build example programs]))
11AM_CONDITIONAL([COND_DEMOS], [test "$enable_demos" = yes])
12if test "$enable_demos" = yes
13then
14 AC_MSG_RESULT([yes])
15else
16 AC_MSG_RESULT([no])
17fi
18
19case "${host}" in
20 *-mingw* | mingw*)
21 WIN32="yes"
22 ;;
23 *)
24 ;;
25esac
26AM_CONDITIONAL([WIN32], [test "${WIN32}" = "yes"])
27
28
29AC_SUBST([HAVE_UNISTD_H], [0])
30AC_CHECK_HEADER([unistd.h], [HAVE_UNISTD_H=1], [])
31AC_CONFIG_FILES([Makefile minizip.pc])
32AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.