⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 configure.ac

📁 奇趣公司比较新的qt/emd版本
💻 AC
📖 第 1 页 / 共 2 页
字号:
dnl                                               -*- Autoconf -*-dnl Tag Image File Format (TIFF) Softwarednldnl Copyright (C) 2004, Andrey Kiselev <dron@ak4719.spb.edu>dnldnl Permission to use, copy, modify, distribute, and sell this software and dnl its documentation for any purpose is hereby granted without fee, provideddnl that (i) the above copyright notices and this permission notice appear indnl all copies of the software and related documentation, and (ii) the names ofdnl Sam Leffler and Silicon Graphics may not be used in any advertising ordnl publicity relating to the software without the specific, prior writtendnl permission of Sam Leffler and Silicon Graphics.dnl dnl THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, dnl EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY dnl WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.  dnl dnl IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FORdnl ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,dnl OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,dnl WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF dnl LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE dnl OF THIS SOFTWARE.dnl Process this file with autoconf to produce a configure script.AC_PREREQ(2.59)AC_INIT([LibTIFF Software], 3.8.2, [tiff@lists.maptools.org], tiff)AC_CONFIG_AUX_DIR(config)AC_CONFIG_MACRO_DIR(m4)AC_LANG(C)dnl Compute the canonical target-system type variableAC_CANONICAL_TARGETAM_INIT_AUTOMAKEdnl Do not rebuild generated files every timeAM_MAINTAINER_MODEdnl Versioning.dnl Don't fill the ALPHA_VERSION field, if not applicable.LIBTIFF_MAJOR_VERSION=3LIBTIFF_MINOR_VERSION=8LIBTIFF_MICRO_VERSION=2LIBTIFF_ALPHA_VERSION=LIBTIFF_VERSION=$LIBTIFF_MAJOR_VERSION.$LIBTIFF_MINOR_VERSION.$LIBTIFF_MICRO_VERSION$LIBTIFF_ALPHA_VERSIONdnl This will be used with the 'make release' targetLIBTIFF_RELEASE_DATE=`date +"%Y%m%d"`# This is a special hack for OpenBSD and MirOS systems. The dynamic linker# in OpenBSD uses some special semantics for shared libraries. Their soname# contains only two numbers, major and minor.# See http://bugzilla.remotesensing.org/show_bug.cgi?id=838 for details.case "$target_os" in    openbsd* | mirbsd*)	LIBTIFF_VERSION_INFO=$LIBTIFF_MAJOR_VERSION$LIBTIFF_MINOR_VERSION:$LIBTIFF_MICRO_VERSION$LIBTIFF_ALPHA_VERSION:0	;;    *)	LIBTIFF_VERSION_INFO=$LIBTIFF_MAJOR_VERSION:$LIBTIFF_MINOR_VERSION:$LIBTIFF_MICRO_VERSION$LIBTIFF_ALPHA_VERSION	;;esacAC_SUBST(LIBTIFF_MAJOR_VERSION)AC_SUBST(LIBTIFF_MINOR_VERSION)AC_SUBST(LIBTIFF_MICRO_VERSION)AC_SUBST(LIBTIFF_ALPHA_VERSION)AC_SUBST(LIBTIFF_VERSION)AC_SUBST(LIBTIFF_VERSION_INFO)AC_SUBST(LIBTIFF_RELEASE_DATE)dnl Checks for programs.AC_PROG_CCAM_PROG_CC_C_Odnl We want warnings. As many warnings as possible.VL_PROG_CC_WARNINGS()AC_PROG_INSTALLAC_PROG_LN_SAC_PROG_LIBTOOLAC_LIBTOOL_WIN32_DLLdnl Checks for libraries.AC_CHECK_LIB([c], [main])dnl We don't need to add math library at all targetscase "$target_os" in    cygwin* | mingw32* | beos* | darwin*)        ;;    *)	AC_CHECK_LIB(m,main,,,)        ;;esacdnl Checks for header files.AC_CHECK_HEADERS([assert.h fcntl.h limits.h malloc.h search.h sys/time.h unistd.h])dnl Checks for typedefs, structures, and compiler characteristics.AC_C_CONSTAC_C_INLINEAC_C_BIGENDIANAC_TYPE_OFF_TAC_TYPE_SIZE_TAC_CHECK_SIZEOF(int)AC_CHECK_SIZEOF(long)AC_HEADER_TIMEAC_STRUCT_TMdnl Some compilers (IBM VisualAge) has these types defined, so check it here:AC_CHECK_TYPES([int8, int16, int32],,,[#if HAVE_INTTYPES_H# include <inttypes.h>#endif])dnl Checks for library functions.AC_CHECK_FUNCS([floor isascii memmove memset mmap pow sqrt strchr strrchr strstr strtol])dnl Will use local replacements for unavailable functionsAC_REPLACE_FUNCS(getopt)AC_REPLACE_FUNCS(strcasecmp)AC_REPLACE_FUNCS(strtoul)AC_REPLACE_FUNCS(lfind)dnl ---------------------------------------------------------------------------dnl Check the native cpu bit order.dnl ---------------------------------------------------------------------------AC_MSG_CHECKING([native cpu bit order])case "$target_cpu" in    i*86*)        HOST_FILLORDER=FILLORDER_LSB2MSB	AC_MSG_RESULT([lsb2msb])	;;    *)	HOST_FILLORDER=FILLORDER_MSB2LSB	AC_MSG_RESULT([msb2lsb])        ;;esacAC_DEFINE_UNQUOTED(HOST_FILLORDER, $HOST_FILLORDER, [Set the native cpu bit order (FILLORDER_LSB2MSB or FILLORDER_MSB2LSB)])dnl ---------------------------------------------------------------------------dnl Configure legacy tifconf.h HOST_BIGENDIAN.dnl ---------------------------------------------------------------------------if test "$ac_cv_c_bigendian" = yes ; then    HOST_BIGENDIAN=1else    HOST_BIGENDIAN=0fiAC_DEFINE_UNQUOTED(HOST_BIGENDIAN,$HOST_BIGENDIAN,[Native cpu byte order: 1 if big-endian (Motorola) or 0 if little-endian (Intel)])dnl ---------------------------------------------------------------------------dnl Make the POSIX.2 features available.dnl ---------------------------------------------------------------------------#_POSIX_C_SOURCE=2#AC_DEFINE_UNQUOTED(_POSIX_C_SOURCE, $_POSIX_C_SOURCE, [Define this macro to a positive integer to control which POSIX functionality is made available.])dnl ---------------------------------------------------------------------------dnl Set the floating point format.dnl FIXME: write appropriate test.dnl ---------------------------------------------------------------------------HAVE_IEEEFP=1AC_DEFINE_UNQUOTED(HAVE_IEEEFP, $HAVE_IEEEFP, [Define as 0 or 1 according to the floating point format suported by the machine])dnl ---------------------------------------------------------------------------dnl Enable run-time paths to libraries usage.dnl ---------------------------------------------------------------------------AC_ARG_ENABLE(rpath,	      AS_HELP_STRING([--enable-rpath],			     [Enable runtime linker paths (-R libtool option)]),	      [HAVE_RPATH=$enableval], [HAVE_RPATH=no])AM_CONDITIONAL(HAVE_RPATH, test "$HAVE_RPATH" = "yes")dnl ---------------------------------------------------------------------------dnl Support large files.dnl ---------------------------------------------------------------------------AC_SYS_LARGEFILEdnl ---------------------------------------------------------------------------dnl Point to path where we should install documentation.dnl ---------------------------------------------------------------------------LIBTIFF_DOCDIR=\${prefix}/share/doc/${PACKAGE}-${LIBTIFF_VERSION}AC_ARG_WITH(docdir,	    AS_HELP_STRING([--with-docdir=DIR],			   [directory where documentation should be installed]),,)if test "x$with_docdir" != "x" ; then  LIBTIFF_DOCDIR=$with_docdirfi AC_SUBST(LIBTIFF_DOCDIR)dnl ---------------------------------------------------------------------------dnl Switch on/off internal codecs.dnl ---------------------------------------------------------------------------AC_ARG_ENABLE(ccitt,	      AS_HELP_STRING([--disable-ccitt],			     [disable support for CCITT Group 3 & 4 algorithms]),	      [HAVE_CCITT=$enableval], [HAVE_CCITT=yes])if test "$HAVE_CCITT" = "yes" ; then  AC_DEFINE(CCITT_SUPPORT,1,[Support CCITT Group 3 & 4 algorithms])fiAC_ARG_ENABLE(packbits,	      AS_HELP_STRING([--disable-packbits],			     [disable support for Macintosh PackBits algorithm]),	      [HAVE_PACKBITS=$enableval], [HAVE_PACKBITS=yes])if test "$HAVE_PACKBITS" = "yes" ; then  AC_DEFINE(PACKBITS_SUPPORT,1,[Support Macintosh PackBits algorithm])fiAC_ARG_ENABLE(lzw,	      AS_HELP_STRING([--disable-lzw],			     [disable support for LZW algorithm]),	      [HAVE_LZW=$enableval], [HAVE_LZW=yes])if test "$HAVE_LZW" = "yes" ; then  AC_DEFINE(LZW_SUPPORT,1,[Support LZW algorithm])fiAC_ARG_ENABLE(thunder,	      AS_HELP_STRING([--disable-thunder],			     [disable support for ThunderScan 4-bit RLE algorithm]),	      [HAVE_THUNDER=$enableval], [HAVE_THUNDER=yes])if test "$HAVE_THUNDER" = "yes" ; then  AC_DEFINE(THUNDER_SUPPORT,1,[Support ThunderScan 4-bit RLE algorithm])fiHAVE_NEXT=yesAC_ARG_ENABLE(next,	      AS_HELP_STRING([--disable-next],			     [disable support for NeXT 2-bit RLE algorithm]),	      [HAVE_NEXT=$enableval], [HAVE_NEXT=yes])if test "$HAVE_NEXT" = "yes" ; then  AC_DEFINE(NEXT_SUPPORT,1,[Support NeXT 2-bit RLE algorithm])fiAC_ARG_ENABLE(logluv,	      AS_HELP_STRING([--disable-logluv],			     [disable support for LogLuv high dynamic range encoding]),	      [HAVE_LOGLUV=$enableval], [HAVE_LOGLUV=yes])if test "$HAVE_LOGLUV" = "yes" ; then  AC_DEFINE(LOGLUV_SUPPORT,1,[Support LogLuv high dynamic range encoding])fidnl ---------------------------------------------------------------------------dnl Switch on/off support for Microsoft Document Imagingdnl ---------------------------------------------------------------------------AC_ARG_ENABLE(mdi,	      AS_HELP_STRING([--disable-mdi],			     [disable support for Microsoft Document Imaging]),	      [HAVE_MDI=$enableval], [HAVE_MDI=yes])if test "$HAVE_MDI" = "yes" ; then  AC_DEFINE(MDI_SUPPORT,1,[Support Microsoft Document Imaging format])fidnl ---------------------------------------------------------------------------dnl Check for ZLIB.dnl ---------------------------------------------------------------------------HAVE_ZLIB=noAC_ARG_ENABLE(zlib,	      AS_HELP_STRING([--disable-zlib],			     [disable Zlib usage (required for Deflate compression, enabled by default)]),,)AC_ARG_WITH(zlib-include-dir,	    AS_HELP_STRING([--with-zlib-include-dir=DIR],			   [location of Zlib headers]),,)AC_ARG_WITH(zlib-lib-dir,	    AS_HELP_STRING([--with-zlib-lib-dir=DIR],			   [location of Zlib library binary]),,)if test "x$enable_zlib" != "xno" ; then

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -