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

📄 configure.ac

📁 QT 开发环境里面一个很重要的文件
💻 AC
字号:
# configure.acdnl Process this file with autoconf to produce a configure script.dnldnl Minor upgrades (compatible ABI): increment the package versiondnl (third field in two places below) and set the PNGLIB_MINORdnl variable.dnldnl Major upgrades (incompatible ABI): increment the package majordnl version (second field, or first if desired), set the minordnl to 0, set PNGLIB_MAJOR below *and* follow the instructions indnl Makefile.am to upgrade the package name.dnl This is here to prevent earlier autoconf from being used, itdnl should not be necessary to regenerate configure if the timednl stamps are correctAC_PREREQ(2.59)dnl Version number stuff here:AC_INIT([libpng], [1.2.12], [png-mng-implement@lists.sourceforge.net])AM_INIT_AUTOMAKEdnl stop configure from automagically running automakeAM_MAINTAINER_MODEPNGLIB_VERSION=1.2.12PNGLIB_MAJOR=12PNGLIB_MINOR=12dnl End of version number stuffAC_CONFIG_SRCDIR([pngget.c])AM_CONFIG_HEADER(config.h)# Checks for programs.AC_PROG_CCAC_PROG_LDAC_PROG_CPPAC_CHECK_TOOL(SED, sed, :)AC_PROG_INSTALLAC_PROG_LN_SAC_PROG_MAKE_SETAC_PROG_LIBTOOL# Checks for header files.AC_HEADER_STDCAC_CHECK_HEADERS([malloc.h stdlib.h string.h strings.h])# Checks for typedefs, structures, and compiler characteristics.AC_C_CONSTAC_TYPE_SIZE_TAC_STRUCT_TM# Checks for library functions.AC_FUNC_MALLOCAC_FUNC_STRTODAC_CHECK_FUNCS([memset], , AC_ERROR([memset not found in libc]))AC_CHECK_FUNCS([pow], , AC_CHECK_LIB(m, pow, , AC_ERROR([cannot find pow])) )AC_CHECK_LIB(z, zlibVersion, , AC_ERROR([zlib not installed]))AC_MSG_CHECKING([if assembler code in pnggccrd.c can be compiled])AC_TRY_COMPILE(  [#include "pnggccrd.c"],  [return 0;],  LIBPNG_DEFINES=,  LIBPNG_DEFINES=-DPNG_CONFIGURE_LIBPNG\ -DPNG_NO_ASSEMBLER_CODE)if test "$LIBPNG_DEFINES"; then    AC_MSG_RESULT(no)else    AC_MSG_RESULT(yes)    LIBPNG_DEFINES=-DPNG_CONFIGURE_LIBPNGfiAC_SUBST(LIBPNG_DEFINES)AC_MSG_CHECKING([if libraries can be versioned])GLD=`$LD --help < /dev/null 2>/dev/null | grep version-script`if test "$GLD"; then    have_ld_version_script=yes    AC_MSG_RESULT(yes)else    have_ld_version_script=no    AC_MSG_RESULT(no)    AC_MSG_WARN(*** You have not enabled versioned symbols.)fiAM_CONDITIONAL(HAVE_LD_VERSION_SCRIPT, test "$have_ld_version_script" = "yes")# Substitutions for .in filesAC_SUBST(PNGLIB_VERSION)AC_SUBST(PNGLIB_MAJOR)AC_SUBST(PNGLIB_MINOR)# Additional arguments (and substitutions)# Allow the pkg-config directory to be setAC_ARG_WITH(pkgconfigdir,	AC_HELP_STRING([--with-pkgconfigdir],	[Use the specified pkgconfig dir (default is libdir/pkgconfig)]),	[pkgconfigdir=${withval}],	[pkgconfigdir='${libdir}/pkgconfig'])AC_SUBST([pkgconfigdir])AC_MSG_NOTICE([pkgconfig directory is ${pkgconfigdir}])# Make the *-config binary config scripts optionalAC_ARG_WITH(binconfigs,	AC_HELP_STRING([--with-binconfigs],		[Generate shell libpng-config scripts as well as pkg-config data]		[@<:@default=yes@:>@]),	[if test "${withval}" = no; then		binconfigs=		AC_MSG_NOTICE([libpng-config scripts will not be built])	else		binconfigs='${binconfigs}'	fi],	[binconfigs='${binconfigs}'])AC_SUBST([binconfigs])# Allow the old version number library, libpng.so, to be removed from# the buildAC_ARG_WITH(libpng-compat,	AC_HELP_STRING([--with-libpng-compat],		[Generate the obsolete libpng.so library @<:@default=yes@:>@]),	[if test "${withval}" = no; then		compatlib=		AC_MSG_NOTICE([libpng.so will not be built])	else		compatlib=libpng.la	fi],	[compatlib=libpng.la])AC_SUBST([compatlib])# Config files, substituting as aboveAC_CONFIG_FILES([Makefile libpng.pc:scripts/libpng.pc.in])AC_CONFIG_FILES([libpng-config:scripts/libpng-config.in],		[chmod +x libpng-config])AC_OUTPUT

⌨️ 快捷键说明

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