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

📄 configure.ac

📁 source code: Covert TXT to PDF
💻 AC
字号:
dnl This file is part of the FreeType project.dnldnl Process this file with autoconf to produce a configure script.dnlAC_INITAC_CONFIG_SRCDIR([ftconfig.in])dnl configuration file -- stay in 8.3 limitAC_CONFIG_HEADER(ftconfig.h:ftconfig.in)version_info='9:0:3'AC_SUBST(version_info)ft_version=`echo $version_info | tr : .`AC_SUBST(ft_version)dnl checks for system typeAC_CANONICAL_TARGET([])dnl checks for programsAC_PROG_CCAC_PROG_CPPdnl get Compiler flags right.if test "x$CC" = xgcc; then  XX_CFLAGS="-Wall"  XX_ANSIFLAGS="-pedantic -ansi"else  case "$host" in    *-dec-osf*)      CFLAGS=      XX_CFLAGS="-std1 -g3"      XX_ANSIFLAGS=      ;;    *)      XX_CFLAGS=      XX_ANSIFLAGS=      ;;  esacfiAC_SUBST(XX_CFLAGS)AC_SUBST(XX_ANSIFLAGS)AC_CHECK_PROG(RMF, rm, rm -f)AC_CHECK_PROG(RMDIR, rmdir, rmdir)dnl Since this file will be finally moved to another directory we makednl the path of the install script absolute.  This small code snippet hasdnl been taken from automake's `ylwrap' script.AC_PROG_INSTALLcase "$INSTALL" in  /*)    ;;  */*)    INSTALL="`pwd`/$INSTALL" ;;esacdnl checks for header filesAC_HEADER_STDCAC_CHECK_HEADERS(fcntl.h unistd.h)dnl checks for typedefs, structures, and compiler characteristicsAC_C_CONSTAC_CHECK_SIZEOF(int)AC_CHECK_SIZEOF(long)dnl checks for library functionsdnl Here we check whether we can use our mmap file component.AC_FUNC_MMAPif test "$ac_cv_func_mmap_fixed_mapped" != yes; then  FTSYS_SRC='$(BASE_)ftsystem.c'else  FTSYS_SRC='$(BUILD)/ftsystem.c'  FT_MUNMAP_DECL  FT_MUNMAP_PARAMfiAC_SUBST(FTSYS_SRC)AC_CHECK_FUNCS(memcpy memmove)AC_PROG_LIBTOOLdnl create the Unix-specific sub-Makefiles `builds/unix/unix-def.mk'dnl and 'builds/unix/unix-cc.mk' that will be used by the build systemdnlAC_CONFIG_FILES([unix-cc.mk:unix-cc.in unix-def.mk:unix-def.in freetype-config])dnl re-generate the Jamfile to use libtool nowdnlAC_CONFIG_FILES([../../Jamfile:../../Jamfile.in])AC_OUTPUTdnl end of configure.ac

⌨️ 快捷键说明

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