~ubuntu-branches/ubuntu/trusty/zlib/trusty

« back to all changes in this revision

Viewing changes to contrib/minizip/configure.ac

  • Committer: Package Import Robot
  • Author(s): Mark Brown
  • Date: 2012-06-22 16:55:56 UTC
  • mfrom: (1.1.23 sid)
  • Revision ID: package-import@ubuntu.com-20120622165556-9xuc7gnq4w25b3i0
Yet more s390x cleanup.  Thanks to the s390x porters for thei
prompt an efficient buildd monitoring (closes: #678511).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#                                               -*- Autoconf -*-
 
2
# Process this file with autoconf to produce a configure script.
 
3
 
 
4
AC_INIT([minizip], [1.2.7], [bugzilla.redhat.com])
 
5
AC_CONFIG_SRCDIR([minizip.c])
 
6
AM_INIT_AUTOMAKE([foreign])
 
7
LT_INIT
 
8
 
 
9
AC_MSG_CHECKING([whether to build example programs])
 
10
AC_ARG_ENABLE([demos], AC_HELP_STRING([--enable-demos], [build example programs]))
 
11
AM_CONDITIONAL([COND_DEMOS], [test "$enable_demos" = yes])
 
12
if test "$enable_demos" = yes
 
13
then
 
14
        AC_MSG_RESULT([yes])
 
15
else
 
16
        AC_MSG_RESULT([no])
 
17
fi
 
18
 
 
19
case "${host}" in
 
20
        *-mingw* | mingw*)
 
21
                WIN32="yes"
 
22
                ;;
 
23
        *)
 
24
                ;;
 
25
esac
 
26
AM_CONDITIONAL([WIN32], [test "${WIN32}" = "yes"])
 
27
 
 
28
 
 
29
AC_SUBST([HAVE_UNISTD_H], [0])
 
30
AC_CHECK_HEADER([unistd.h], [HAVE_UNISTD_H=1], [])
 
31
AC_CONFIG_FILES([Makefile minizip.pc])
 
32
AC_OUTPUT