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

📄 configure.in

📁 package of develop dns
💻 IN
📖 第 1 页 / 共 2 页
字号:
dnl $Id: configure.in,v 1.1.1.1 2003/06/04 00:25:25 marka Exp $dnl Process this file with autoconf to produce a configure script.dnldnl Copyright (c) 2000 Japan Network Information Center.  All rights reserved.dnl  dnl By using this file, you agree to the terms and conditions set forth bellow.dnl dnl 			LICENSE TERMS AND CONDITIONS dnl dnl The following License Terms and Conditions apply, unless a differentdnl license is obtained from Japan Network Information Center ("JPNIC"),dnl a Japanese association, Kokusai-Kougyou-Kanda Bldg 6F, 2-3-4 Uchi-Kanda,dnl Chiyoda-ku, Tokyo 101-0047, Japan.dnl dnl 1. Use, Modification and Redistribution (including distribution of anydnl    modified or derived work) in source and/or binary forms is permitteddnl    under this License Terms and Conditions.dnl dnl 2. Redistribution of source code must retain the copyright notices as theydnl    appear in each source code file, this License Terms and Conditions.dnl dnl 3. Redistribution in binary form must reproduce the Copyright Notice,dnl    this License Terms and Conditions, in the documentation and/or otherdnl    materials provided with the distribution.  For the purposes of binarydnl    distribution the "Copyright Notice" refers to the following language:dnl    "Copyright (c) 2000-2002 Japan Network Information Center.  All rights reserved."dnl dnl 4. The name of JPNIC may not be used to endorse or promote productsdnl    derived from this Software without specific prior written approval ofdnl    JPNIC.dnl dnl 5. Disclaimer/Limitation of Liability: THIS SOFTWARE IS PROVIDED BY JPNICdnl    "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOTdnl    LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR Adnl    PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL JPNIC BE LIABLEdnl    FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, ORdnl    CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OFdnl    SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; ORdnl    BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,dnl    WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE ORdnl    OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IFdnl    ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.AC_INIT(include/idn/converter.h)AC_CANONICAL_HOSTdebug=noAC_ARG_ENABLE(debug,[  --enable-debug          enable debug codes [default=no]],	debug=$enableval)case "$debug" inyes)    CFLAGS="$CFLAGS -DDEBUG"    ;;esacmdnkit_compat=noCOMPAT_TRUE="#"COMPAT_FALSE=AC_ARG_ENABLE(mdnkit-compat,[  --enable-mdnkit-compat  enable mDNkit compatibility mode [default=no]],	mdnkit_compat=$enableval)case "$mdnkit_compat" inyes)    COMPAT_TRUE=    COMPAT_FALSE="#"    AC_DEFINE(ENABLE_MDNKIT_COMPAT, 1,	[Define if --enable-mdnkit-compat is specified])    ;;no)    ;;*)    AC_MSG_ERROR([You must specify yes or no to --enable-runidn option.])    ;;esacAC_SUBST(COMPAT_TRUE)AC_SUBST(COMPAT_FALSE)extraace=noAC_ARG_ENABLE(extra-ace,[  --enable-extra-ace      enable additional ACE converters. [default=no]],	extraace=$enableval)case "$extraace" inno)    ;;yes)    AC_DEFINE(IDN_EXTRA_ACE, 1,	[Define if you want additional ACE converters compiled in.])    ;;*)    AC_MSG_ERROR([You must specify yes or no to --enable-extra-ace option.])    ;;esacUTF8_NAME=noAC_ARG_WITH(utf8,[  --with-utf8=NAME        codeset name for UTF-8 encoding [UTF-8]],	UTF8_NAME=$withval)case "$UTF8_NAME" inno)    UTF8_NAME=UTF-8    ;;yes)    AC_MSG_ERROR([You must specify NAME to --with-utf8 option.])    ;;*)    AC_DEFINE_UNQUOTED(IDN_UTF8_ENCODING_NAME, "$UTF8_NAME",	[Define if your iconv() does not accept "UTF-8" as the codeset name for utf-8.])    ;;esacAC_SUBST(UTF8_NAME)liteonly=noLITEONLY_TRUE="#"LITEONLY_FALSE=AC_ARG_ENABLE(liteonly,[  --enable-liteonly       compile and install lite library only [default=no]],	liteonly=$enableval)case "$liteonly" inno)    ;;yes)    if test "$install_runidn" = yes ; then	AC_MSG_ERROR([you can't set value \"yes\" to --enable-runidn and --enable-liteonly simultaneously, because runidn requires iconv support of generic libidnkit.])    fi    LITEONLY_TRUE=    LITEONLY_FALSE="#"    ;;*)    AC_MSG_ERROR([You must specify yes or no to --enable-liteonly option.])    ;;esacAC_SUBST(LITEONLY_TRUE)AC_SUBST(LITEONLY_FALSE)install_runidn=noRUNIDN_TRUE="#"RUNIDN_FALSE=AC_ARG_ENABLE(runidn,[  --enable-runidn         compile and install runidn [default=no]],	install_runidn=$enableval)case "$install_runidn" inno)    ;;yes)    if test "$liteonly" = yes ; then	AC_MSG_ERROR([you can't set value \"yes\" to --enable-runidn and --enable-liteonly simultaneously, because runidn requires iconv support of generic libidnkit.])    fi    RUNIDN_TRUE=    RUNIDN_FALSE="#"    ;;*)    AC_MSG_ERROR([You must specify yes or no to --enable-runidn option.])    ;;esacAC_SUBST(RUNIDN_TRUE)AC_SUBST(RUNIDN_FALSE)ICONVINC=ICONVLIB=libiconv=unspecAC_ARG_WITH(libiconv,[  --with-libiconv=IPREFIX  GNU libiconv are installed in IPREFIX [PREFIX]],	libiconv=$withval)case "$libiconv" inunspec)    ;;no)    ICONVINC=    ICONVLIB=    ;;yes)    if test "$liteonly" = yes ; then	AC_MSG_ERROR([you can't set iconv options at all when you set value \"yes\" to --enable-liteonly, because lite library does not have iconv support.])    fi    if test X$prefix = XNONE ; then	libiconv=$ac_default_prefix    else	libiconv=$prefix    fi    ICONVINC="-I$libiconv/include"    ICONVLIB="-L$libiconv/lib -R$libiconv/lib -liconv"    ;;*)    if test "$liteonly" = yes ; then	AC_MSG_ERROR([you can't set iconv options at all when you set value \"yes\" to --enable-liteonly, because lite library does not have iconv support.])    fi    ICONVINC="-I$libiconv/include"    ICONVLIB="-L$libiconv/lib -R$libiconv/lib -liconv"    ;;esaciconv_include=unspecAC_ARG_WITH(iconv-include,[  --with-iconv-include=DIR  iconv include files are in DIR []],	iconv_include=$withval)case "$iconv_include" inunspec)    ;;no)    ICONVINC=    ;;yes)    if test "$liteonly" = yes ; then	AC_MSG_ERROR([you can't set iconv options at all when you set value \"yes\" to --enable-liteonly, because lite library does not have iconv support.])    fi    AC_MSG_WARN([You must supply DIR to --with-iconv-include option.  Ignored.])    ICONVINC=    ;;*)    if test "$liteonly" = yes ; then	AC_MSG_ERROR([you can't set iconv options at all when you set value \"yes\" to --enable-liteonly, because lite library does not have iconv support.])    fi    ICONVINC="-I$iconv_include"    ;;esacif test "X$ICONVINC" != X ; then    iconv_include="`echo X$ICONVINC | sed -e 's/^X-I//'`"    if test ! -f "$iconv_include/iconv.h" ; then	AC_MSG_ERROR([iconv.h doesn't exist in $iconv_include])    fifiAC_SUBST(ICONVINC)iconv=unspecAC_ARG_WITH(iconv,[  --with-iconv=LIB        special library for iconv []],	iconv=$withval)case "$iconv" inunspec)    ;;no)    ICONVLIB=    ;;yes)    if test "$liteonly" = yes ; then	AC_MSG_ERROR([you can't set iconv options at all when you set value \"yes\" to --enable-liteonly, because lite library does not have iconv support.])    fi    AC_MSG_WARN([You must supply LIB to --with-iconv option.  -liconv is assumed.])    ICONVLIB=-liconv    ;;*)    if test "$liteonly" = yes ; then	AC_MSG_ERROR([you can't set iconv options at all when you set value \"yes\" to --enable-liteonly, because lite library does not have iconv support.])    fi    ICONVLIB=$iconv    ;;esacAC_SUBST(ICONVLIB)AC_ARG_WITH(iconv-sofile,[  --with-iconv-sofile=PATH  shared library file for libiconv []],	iconv_file=$withval, iconv_file=guess)ICONVSOFILE=case "$iconv_file" inno)    ICONVSOFILE=none    ;;yes)    if test "$liteonly" = yes ; then	AC_MSG_ERROR([you can't set iconv options at all when you set value \"yes\" to --enable-liteonly, because lite library does not have iconv support.])    fi    AC_MSG_ERROR([You must supply PATH to --with-iconv-sofile option.])    ;;guess)    if test "$liteonly" != yes ; then	if test "$ICONVLIB" = ""; then	    ICONVSOFILE=none	else	    AC_MSG_CHECKING(pathname of iconv shared library)	    ic_libdir=	    ic_libname=	    case "$host" in	    *-hpux*)		SO=sl		;;	    *)		SO=so		;;	    esac	    for arg in $ICONVLIB; do		case "$arg" in		-L*) ic_libdir="$ic_libdir `echo $arg | sed s/-L//`" ;;		-l*) ic_libname=`echo $arg | sed s/-l//` ;;		/*.$SO*) ICONVSOFILE=$arg ;;		esac	    done	    if test "$ICONVSOFILE" = ""; then		if test "$ic_libname" = ""; then		    AC_MSG_RESULT(unknown)		    AC_MSG_WARN([use --with-iconv-sofile for specifying iconv shared library file])		    ICONVSOFILE=none		else		    if test "$ic_libdir" = ""; then			# Standard (and semi-standard) library directories			ic_libdir="/lib /usr/lib /usr/local/lib"		    fi		    for dir in $ic_libdir; do			ICONVSOFILE=`ls -r $dir/lib$ic_libname.$SO* 2>/dev/null | head -1`			if test "$ICONVSOFILE" != ""; then			    break			fi		    done		    if test "$ICONVSOFILE" != ""; then			AC_MSG_RESULT($ICONVSOFILE)		    else			AC_MSG_RESULT(unknown)			AC_MSG_WARN([use --with-iconv-sofile for specifying iconv shared library file])			ICONVSOFILE=none		    fi		fi	    fi	fi    else	ICONVSOFILE=none    fi    ;;*)    if test "$liteonly" = yes ; then	AC_MSG_ERROR([you can't set iconv options at all when you set value \"yes\" to --enable-liteonly, because lite library does not have iconv support.])    fi    ICONVSOFILE=$iconv_file    ;;esacAC_SUBST(ICONVSOFILE)dnl Figure out preload stuff.PRELOAD_VAR="LD_PRELOAD"PRELOAD_SEP=":"PRELOAD_LAST=""case "$host" in*-solaris*)    PRELOAD_SEP=" "    ;;*-linux*)    PRELOAD_SEP=" "    ;;*-osf*)    PRELOAD_VAR="_RLD_LIST"    PRELOAD_LAST=":DEFAULT"    ;;*-netbsd*)    if test -x /usr/bin/file -a -x /usr/bin/grep ; then        case "`/usr/bin/file /usr/bin/grep`" in	*ELF*)	    PRELOAD_SEP=" "	    ;;	esac    fi    ;;

⌨️ 快捷键说明

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