diff options
author | Aki <please@ignore.pl> | 2021-09-29 21:52:57 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2021-09-29 21:52:57 +0200 |
commit | 07162fa301835387e4da4278326ec1ff45d1dc3e (patch) | |
tree | f356f7c59f4741ad77d52f1cd5619a916df3b912 /contrib/minizip/configure.ac | |
download | starshatter-07162fa301835387e4da4278326ec1ff45d1dc3e.zip starshatter-07162fa301835387e4da4278326ec1ff45d1dc3e.tar.gz starshatter-07162fa301835387e4da4278326ec1ff45d1dc3e.tar.bz2 |
Squashed 'zlib/' content from commit cacf7f1
git-subtree-dir: zlib
git-subtree-split: cacf7f1d4e3d44d871b605da3b647f07d718623f
Diffstat (limited to 'contrib/minizip/configure.ac')
-rw-r--r-- | contrib/minizip/configure.ac | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/contrib/minizip/configure.ac b/contrib/minizip/configure.ac new file mode 100644 index 0000000..5b11970 --- /dev/null +++ b/contrib/minizip/configure.ac @@ -0,0 +1,32 @@ +# -*- Autoconf -*- +# Process this file with autoconf to produce a configure script. + +AC_INIT([minizip], [1.2.11], [bugzilla.redhat.com]) +AC_CONFIG_SRCDIR([minizip.c]) +AM_INIT_AUTOMAKE([foreign]) +LT_INIT + +AC_MSG_CHECKING([whether to build example programs]) +AC_ARG_ENABLE([demos], AC_HELP_STRING([--enable-demos], [build example programs])) +AM_CONDITIONAL([COND_DEMOS], [test "$enable_demos" = yes]) +if test "$enable_demos" = yes +then + AC_MSG_RESULT([yes]) +else + AC_MSG_RESULT([no]) +fi + +case "${host}" in + *-mingw* | mingw*) + WIN32="yes" + ;; + *) + ;; +esac +AM_CONDITIONAL([WIN32], [test "${WIN32}" = "yes"]) + + +AC_SUBST([HAVE_UNISTD_H], [0]) +AC_CHECK_HEADER([unistd.h], [HAVE_UNISTD_H=1], []) +AC_CONFIG_FILES([Makefile minizip.pc]) +AC_OUTPUT |