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