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

📄 configure

📁 EPIC IRC客户端。来源于IRCII客户端但做了很多性能和功能的优化。
💻
📖 第 1 页 / 共 5 页
字号:
    CC="$CC -Xp"  fielse  echo "$ac_t""no" 1>&6  ISC=fiecho $ac_n "checking for AIX""... $ac_c" 1>&6echo "configure:890: checking for AIX" >&5cat > conftest.$ac_ext <<EOF#line 892 "configure"#include "confdefs.h"#ifdef _AIX  yes#endifEOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  egrep "yes" >/dev/null 2>&1; then  rm -rf conftest*  echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF#define _ALL_SOURCE 1EOFelse  rm -rf conftest*  echo "$ac_t""no" 1>&6firm -f conftest*unamer=`uname -r 2> /dev/null`unames=`uname -s 2> /dev/null`echo $ac_n "checking for qnx""... $ac_c" 1>&6echo "configure:923: checking for qnx" >&5case "$unames" in  QNX*)    echo "$ac_t""yes" 1>&6    LDFLAGS=-N64k                      CFLAGS="-w4 -O -g -fi=unix.h"    ;;  *)    echo "$ac_t""no" 1>&6esacif test -d /usr/ccs/lib; then	LIBS="-L/usr/ccs/lib $LIBS"fiif test -z "$libsocket"; then	echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6echo "configure:943: checking for socket in -lsocket" >&5ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  ac_save_LIBS="$LIBS"LIBS="-lsocket  $LIBS"cat > conftest.$ac_ext <<EOF#line 951 "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error.  *//* We use char because int might match the return type of a gcc2    builtin and then its argument prototype would still apply.  */char socket();int main() {socket(); return 0; }EOFif { (eval echo configure:962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  rm -rf conftest*  eval "ac_cv_lib_$ac_lib_var=yes"else  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  eval "ac_cv_lib_$ac_lib_var=no"firm -f conftest*LIBS="$ac_save_LIBS"fiif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  echo "$ac_t""yes" 1>&6  LIBS="$LIBS -lsocket"else  echo "$ac_t""no" 1>&6fifi# Check whether --with-ssl or --without-ssl was given.if test "${with_ssl+set}" = set; then  withval="$with_ssl"  	if test -z "$withval"; then		with_ssl="yes"	fifiecho $ac_n "checking whether to include SSL support""... $ac_c" 1>&6echo "configure:996: checking whether to include SSL support" >&5if test "x$with_ssl" = "xno"; then	echo "$ac_t""no" 1>&6else	saved_LIBS="$LIBS"	saved_CFLAGS="$CFLAGS"	# First just try to see if it exists in the default location	LIBS="$saved_LIBS -lssl -lcrypto"	CFLAGS="$saved_CFLAGS"	cat > conftest.$ac_ext <<EOF#line 1007 "configure"#include "confdefs.h"#include <openssl/ssl.h>int main() {SSL_accept(NULL);; return 0; }EOFif { (eval echo configure:1014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  rm -rf conftest*  have_ssl="yes"else  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5firm -f conftest*	# Otherwise, go hunting for it.	if test -z "$have_ssl" ; then	    for ssldir in "$with_ssl" /usr/local/ssl /usr/local/openssl; do		if test -n "$have_ssl"; then			break;		fi		if test -z "$ssldir"; then			continue;		fi		if test -f "$ssldir/include/openssl/ssl.h" &&			test -f "$ssldir/lib/libssl.a"; then		    CFLAGS="$saved_CFLAGS -I$ssldir/include"		    LIBS="$saved_LIBS -L$ssldir/lib -lssl -lcrypto"		    cat > conftest.$ac_ext <<EOF#line 1040 "configure"#include "confdefs.h"#include <openssl/ssl.h>int main() {SSL_accept(NULL);; return 0; }EOFif { (eval echo configure:1047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  rm -rf conftest*  have_ssl="yes"else  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5firm -f conftest*		fi	    done	fi	# If we found it somewhere, great!  Otherwise, revert.	if test -n "$have_ssl"; then		cat >> confdefs.h <<\EOF#define HAVE_SSL 1EOF		echo "$ac_t""yes" 1>&6	else		LIBS="$saved_LIBS"		CFLAGS="$saved_CFLAGS"		echo "$ac_t""no" 1>&6		if test "x$with_ssl" != "x"; then			{ echo "configure: error: You requested SSL support, but OpenSSL was not found. Please supply a pathname to OpenSSL" 1>&2; exit 1; }		fi	fifiif test -z "$libinet"; then	echo $ac_n "checking for socket in -linet""... $ac_c" 1>&6echo "configure:1078: checking for socket in -linet" >&5ac_lib_var=`echo inet'_'socket | sed 'y%./+-%__p_%'`if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  ac_save_LIBS="$LIBS"LIBS="-linet  $LIBS"cat > conftest.$ac_ext <<EOF#line 1086 "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error.  *//* We use char because int might match the return type of a gcc2    builtin and then its argument prototype would still apply.  */char socket();int main() {socket(); return 0; }EOFif { (eval echo configure:1097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  rm -rf conftest*  eval "ac_cv_lib_$ac_lib_var=yes"else  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  eval "ac_cv_lib_$ac_lib_var=no"firm -f conftest*LIBS="$ac_save_LIBS"fiif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  echo "$ac_t""yes" 1>&6  libnsl=1; LIBS="$LIBS -linet -lnsl_s"else  echo "$ac_t""no" 1>&6fifiif test -z "$libnsl"; then	echo $ac_n "checking for gethostname in -lnsl""... $ac_c" 1>&6echo "configure:1121: checking for gethostname in -lnsl" >&5ac_lib_var=`echo nsl'_'gethostname | sed 'y%./+-%__p_%'`if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  ac_save_LIBS="$LIBS"LIBS="-lnsl  $LIBS"cat > conftest.$ac_ext <<EOF#line 1129 "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error.  *//* We use char because int might match the return type of a gcc2    builtin and then its argument prototype would still apply.  */char gethostname();int main() {gethostname(); return 0; }EOFif { (eval echo configure:1140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  rm -rf conftest*  eval "ac_cv_lib_$ac_lib_var=yes"else  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  eval "ac_cv_lib_$ac_lib_var=no"firm -f conftest*LIBS="$ac_save_LIBS"fiif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  echo "$ac_t""yes" 1>&6  LIBS="$LIBS -lnsl"else  echo "$ac_t""no" 1>&6fifiecho $ac_n "checking for getpwnam in -lsun""... $ac_c" 1>&6echo "configure:1163: checking for getpwnam in -lsun" >&5ac_lib_var=`echo sun'_'getpwnam | sed 'y%./+-%__p_%'`if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  ac_save_LIBS="$LIBS"LIBS="-lsun  $LIBS"cat > conftest.$ac_ext <<EOF#line 1171 "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error.  *//* We use char because int might match the return type of a gcc2    builtin and then its argument prototype would still apply.  */char getpwnam();int main() {getpwnam(); return 0; }EOFif { (eval echo configure:1182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  rm -rf conftest*  eval "ac_cv_lib_$ac_lib_var=yes"else  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  eval "ac_cv_lib_$ac_lib_var=no"firm -f conftest*LIBS="$ac_save_LIBS"fiif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  echo "$ac_t""yes" 1>&6  LIBS="$LIBS -lsun"else  echo "$ac_t""no" 1>&6fiecho $ac_n "checking for inet_addr in -ldgc""... $ac_c" 1>&6echo "configure:1203: checking for inet_addr in -ldgc" >&5ac_lib_var=`echo dgc'_'inet_addr | sed 'y%./+-%__p_%'`if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  ac_save_LIBS="$LIBS"LIBS="-ldgc  $LIBS"cat > conftest.$ac_ext <<EOF#line 1211 "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error.  *//* We use char because int might match the return type of a gcc2    builtin and then its argument prototype would still apply.  */char inet_addr();int main() {inet_addr(); return 0; }EOFif { (eval echo configure:1222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  rm -rf conftest*  eval "ac_cv_lib_$ac_lib_var=yes"else  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  eval "ac_cv_lib_$ac_lib_var=no"firm -f conftest*LIBS="$ac_save_LIBS"fiif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  echo "$ac_t""yes" 1>&6  LIBS="$LIBS -ldgc"else  echo "$ac_t""no" 1>&6fiecho $ac_n "checking for gethostbyname in -lresolv""... $ac_c" 1>&6echo "configure:1243: checking for gethostbyname in -lresolv" >&5ac_lib_var=`echo resolv'_'gethostbyname | sed 'y%./+-%__p_%'`if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  ac_save_LIBS="$LIBS"LIBS="-lresolv  $LIBS"cat > conftest.$ac_ext <<EOF#line 1251 "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error.  *//* We use char because int might match the return type of a gcc2    builtin and then its argument prototype would still apply.  */char gethostbyname();int main() {gethostbyname(); return 0; }EOFif { (eval echo configure:1262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  rm -rf conftest*  eval "ac_cv_lib_$ac_lib_var=yes"else  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  eval "ac_cv_lib_$ac_lib_var=no"firm -f conftest*LIBS="$ac_save_LIBS"fiif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  echo "$ac_t""yes" 1>&6  LIBS="$LIBS -lresolv"else  echo "$ac_t""no" 1>&6fiecho $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6echo "configure:1283: checking for crypt in -lcrypt" >&5ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'`if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  ac_save_LIBS="$LIBS"LIBS="-lcrypt  $LIBS"cat > conftest.$ac_ext <<EOF#line 1291 "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error.  *//* We use char because int might match the return type of a gcc2    builtin and then its argument prototype would still apply.  */char crypt();int main() {crypt(); return 0; }EOFif { (eval echo configure:1302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  rm -rf conftest*  eval "ac_cv_lib_$ac_lib_var=yes"else  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  eval "ac_cv_lib_$ac_lib_var=no"firm -f conftest*LIBS="$ac_save_LIBS"fiif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  echo "$ac_t""yes" 1>&6  LIBS="$LIBS -lcrypt"else  echo "$ac_t""no" 1>&6fi

⌨️ 快捷键说明

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