diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2015-03-13 10:40:33 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2015-03-26 08:25:29 -0700 |
commit | 5ca28f792883afb409ae145666fc3662c3a3aed5 (patch) | |
tree | c7e7f508b52bdf5c6a1162cd30241275bbb89fd2 /zlib/contrib/minizip/configure.ac | |
parent | b19a8f8545100a08ee2a64c05631aff6f651faa1 (diff) | |
download | gdb-5ca28f792883afb409ae145666fc3662c3a3aed5.zip gdb-5ca28f792883afb409ae145666fc3662c3a3aed5.tar.gz gdb-5ca28f792883afb409ae145666fc3662c3a3aed5.tar.bz2 |
Import zlib from GCC
Diffstat (limited to 'zlib/contrib/minizip/configure.ac')
-rw-r--r-- | zlib/contrib/minizip/configure.ac | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/zlib/contrib/minizip/configure.ac b/zlib/contrib/minizip/configure.ac new file mode 100644 index 0000000..6a9af21 --- /dev/null +++ b/zlib/contrib/minizip/configure.ac @@ -0,0 +1,32 @@ +# -*- Autoconf -*- +# Process this file with autoconf to produce a configure script. + +AC_INIT([minizip], [1.2.7], [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 |