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

📄 configure.in

📁 libiconv是一个很不错的字符集转换库。程序接口也很简单
💻 IN
字号:
dnl Copyright (C) 1999-2003 Free Software Foundation, Inc.dnl This file is part of the GNU LIBICONV Library.dnldnl The GNU LIBICONV Library is free software; you can redistribute itdnl and/or modify it under the terms of the GNU Library General Publicdnl License as published by the Free Software Foundation; either version 2dnl of the License, or (at your option) any later version.dnldnl The GNU LIBICONV Library is distributed in the hope that it will bednl useful, but WITHOUT ANY WARRANTY; without even the implied warranty ofdnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNUdnl Library General Public License for more details.dnldnl You should have received a copy of the GNU Library General Publicdnl License along with the GNU LIBICONV Library; see the file COPYING.LIB.dnl If not, write to the Free Software Foundation, Inc., 59 Temple Place -dnl Suite 330, Boston, MA 02111-1307, USA.  */AC_PREREQ(2.52)AC_INITAC_CONFIG_SRCDIR(lib/iconv.c)AC_CONFIG_AUX_DIR(autoconf)AM_INIT_AUTOMAKE(libiconv, 1.9)AC_CONFIG_HEADERS(config.h lib/config.h)AC_PROG_MAKE_SETdnl           installation directoriesdnl Prefer modern Filesystem Hierarchy Standard over antiquated GNU standards.test "$mandir" != '${prefix}/man' || mandir='${datadir}/man'dnl           checks for basic programsAC_PROG_CCAC_PROG_CPPAC_PROG_GCC_TRADITIONALAC_PROG_INSTALLdnl           check for host typeAC_CANONICAL_HOSTdnl           checks for installer optionsAC_RELOCATABLEAC_ARG_ENABLE([extra-encodings],  [AC_HELP_STRING([--enable-extra-encodings],                  [add support for a few rarely used encodings])],  [AC_DEFINE([ENABLE_EXTRA], 1,             [Define to 1 to enable a few rarely used encodings.])   USE_EXTRA_ENCODINGS=yes],  [USE_EXTRA_ENCODINGS=no])AC_SUBST([USE_EXTRA_ENCODINGS])dnl           checks for programsAC_PROG_RANLIBCL_PROG_CPCL_PROG_LNAC_PROG_LN_Sdnl           checks for UNIX variants that set DEFSAC_GNU_SOURCEAC_AIXAC_MINIXAC_ISC_POSIXdnl           checks for compiler output filename suffixesAC_OBJEXTAC_EXEEXTdnl           check for build configurationAC_DISABLE_STATICAC_LIBTOOL_WIN32_DLLAC_PROG_LIBTOOLAM_ICONVAM_GNU_GETTEXT([external])dnl           checks for header filesAC_HEADER_STDCAC_CHECK_HEADERS([locale.h stddef.h stdlib.h string.h])dnl           checks for typedefsAC_MBSTATE_Tdnl           checks for functions and declarationsif test "$am_cv_func_iconv" = yes -a -z "$am_cv_proto_iconv_arg1"; then  ICONV_CONST=""else  ICONV_CONST="const"fiAC_SUBST(ICONV_CONST)AC_CHECK_FUNCS([getc_unlocked mbrtowc wcrtomb mbsinit setlocale])AC_REPLACE_FUNCS([memmove])AM_LANGINFO_CODESETAC_EILSEQCL_WORDS_LITTLEENDIANgl_FUNC_ALLOCAgl_CANONICALIZEjm_FUNC_GLIBC_UNLOCKED_IOgt_FUNC_ERROR_AT_LINEgl_PATHMAXgt_FUNC_SETENVgt_STDBOOL_Hgl_FUNC_STRERRORgl_FUNC_READLINKgl_XREADLINKdnl           check whether OS supports plug librariesOS=""case "$host_os" in  linux*)   OS="linux" ;;  solaris*) OS="solaris" ;;  osf*)     OS="osf" ;;esacif test -n "$OS"; then  AC_SUBST(OS)  AC_SUBST(GCC)  PLUGLIB="libiconv_plug.so"else  PLUGLIB=""fiAC_SUBST(PLUGLIB)if test -d "${srcdir}/tests"; then  TESTS_MAKEFILE=tests/Makefileelse  TESTS_MAKEFILE=""fiAC_CONFIG_SUBDIRS(libcharset)AC_OUTPUT(Makefile lib/Makefile srclib/Makefile src/Makefile po/Makefile.in man/Makefile ${TESTS_MAKEFILE} include/iconv.h)

⌨️ 快捷键说明

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