Mercurial > hg > sv-dependency-builds
annotate src/zlib-1.2.8/contrib/minizip/configure.ac @ 128:5b4145a0d408
Current zlib source
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Tue, 18 Oct 2016 14:33:52 +0100 |
parents | |
children |
rev | line source |
---|---|
cannam@128 | 1 # -*- Autoconf -*- |
cannam@128 | 2 # Process this file with autoconf to produce a configure script. |
cannam@128 | 3 |
cannam@128 | 4 AC_INIT([minizip], [1.2.8], [bugzilla.redhat.com]) |
cannam@128 | 5 AC_CONFIG_SRCDIR([minizip.c]) |
cannam@128 | 6 AM_INIT_AUTOMAKE([foreign]) |
cannam@128 | 7 LT_INIT |
cannam@128 | 8 |
cannam@128 | 9 AC_MSG_CHECKING([whether to build example programs]) |
cannam@128 | 10 AC_ARG_ENABLE([demos], AC_HELP_STRING([--enable-demos], [build example programs])) |
cannam@128 | 11 AM_CONDITIONAL([COND_DEMOS], [test "$enable_demos" = yes]) |
cannam@128 | 12 if test "$enable_demos" = yes |
cannam@128 | 13 then |
cannam@128 | 14 AC_MSG_RESULT([yes]) |
cannam@128 | 15 else |
cannam@128 | 16 AC_MSG_RESULT([no]) |
cannam@128 | 17 fi |
cannam@128 | 18 |
cannam@128 | 19 case "${host}" in |
cannam@128 | 20 *-mingw* | mingw*) |
cannam@128 | 21 WIN32="yes" |
cannam@128 | 22 ;; |
cannam@128 | 23 *) |
cannam@128 | 24 ;; |
cannam@128 | 25 esac |
cannam@128 | 26 AM_CONDITIONAL([WIN32], [test "${WIN32}" = "yes"]) |
cannam@128 | 27 |
cannam@128 | 28 |
cannam@128 | 29 AC_SUBST([HAVE_UNISTD_H], [0]) |
cannam@128 | 30 AC_CHECK_HEADER([unistd.h], [HAVE_UNISTD_H=1], []) |
cannam@128 | 31 AC_CONFIG_FILES([Makefile minizip.pc]) |
cannam@128 | 32 AC_OUTPUT |