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

📄 configure

📁 radius协议的经典实现
💻
📖 第 1 页 / 共 4 页
字号:
                    already=`echo \$smart_include_dir ${DIRS} | ${GREP} ${dir}`    if test "x$already" = "x"; then      DIRS="$DIRS $dir"    fi  donefieval "smart_include_dir=\"\$smart_include_dir $DIRS\""  for try in $smart_include_dir /usr/local/include /opt/include; do    CFLAGS="$old_CFLAGS -I$try"    cat > conftest.$ac_ext <<EOF#line 880 "configure"#include "confdefs.h"		    #include <openssl/ssl.h>int main() { int a = 1;; return 0; }EOFif { (eval echo configure:888: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  rm -rf conftest*  smart_include="-I$try"else  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  smart_include=firm -f conftest*    if test "x$smart_include" != "x"; then      break;    fi    CFLAGS="$old_CFLAGS"  donefiif test "x$smart_include" != "x"; then  echo "$ac_t""yes" 1>&6  eval "ac_cv_header_$ac_safe=yes"  CFLAGS="$old_CFLAGS $smart_include"  SMART_CFLAGS="$SMART_CFLAGS $smart_include"else  echo "$ac_t""no" 1>&6fi	if test "x$ac_cv_header_openssl_ssl_h" != "xyes"; then		fail="$fail (openssl/ssl.h)"	fi	smart_try_dir=$rlm_eap_peap_lib_dir	sm_lib_safe=`echo "crypto" | sed 'y%./+-%__p_%'`sm_func_safe=`echo "DH_new" | sed 'y%./+-%__p_%'`echo $ac_n "checking for DH_new in -lcrypto""... $ac_c" 1>&6echo "configure:924: checking for DH_new in -lcrypto" >&5old_LIBS="$LIBS"smart_lib=smart_lib_dir=if test "x$smart_try_dir" != "x"; then  for try in $smart_try_dir; do    LIBS="-L$try -lcrypto $old_LIBS"    cat > conftest.$ac_ext <<EOF#line 934 "configure"#include "confdefs.h"extern char DH_new();int main() { DH_new(); return 0; }EOFif { (eval echo configure:941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  rm -rf conftest*  smart_lib="-L$try -lcrypto"else  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5firm -f conftest*    if test "x$smart_lib" != "x"; then      break;    fi    LIBS="$old_LIBS"  donefiif test "x$smart_lib" = "x"; then  LIBS="-lcrypto $old_LIBS"  cat > conftest.$ac_ext <<EOF#line 959 "configure"#include "confdefs.h"extern char DH_new();int main() { DH_new(); return 0; }EOFif { (eval echo configure:966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  rm -rf conftest*  smart_lib="-lcrypto"else  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5firm -f conftest*  LIBS="$old_LIBS"fiif test "x$smart_lib" = "x"; then  if test "x$LOCATE" != "x"; then        DIRS=  file=libcrypto${libltdl_cv_shlibext}  for x in `${LOCATE} $file 2>/dev/null`; do                                        base=`echo $x | sed "s%/${file}%%"`    if test "x$x" = "x$base"; then      continue;    fi    dir=`${DIRNAME} $x 2>/dev/null`                exclude=`echo ${dir} | ${GREP} /home`    if test "x$exclude" != "x"; then      continue    fi                    already=`echo \$smart_lib_dir ${DIRS} | ${GREP} ${dir}`    if test "x$already" = "x"; then      DIRS="$DIRS $dir"    fi  donefieval "smart_lib_dir=\"\$smart_lib_dir $DIRS\""  if test "x$LOCATE" != "x"; then        DIRS=  file=libcrypto.a  for x in `${LOCATE} $file 2>/dev/null`; do                                        base=`echo $x | sed "s%/${file}%%"`    if test "x$x" = "x$base"; then      continue;    fi    dir=`${DIRNAME} $x 2>/dev/null`                exclude=`echo ${dir} | ${GREP} /home`    if test "x$exclude" != "x"; then      continue    fi                    already=`echo \$smart_lib_dir ${DIRS} | ${GREP} ${dir}`    if test "x$already" = "x"; then      DIRS="$DIRS $dir"    fi  donefieval "smart_lib_dir=\"\$smart_lib_dir $DIRS\""  for try in $smart_lib_dir /usr/local/lib /opt/lib; do    LIBS="-L$try -lcrypto $old_LIBS"    cat > conftest.$ac_ext <<EOF#line 1036 "configure"#include "confdefs.h"extern char DH_new();int main() { DH_new(); return 0; }EOFif { (eval echo configure:1043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  rm -rf conftest*  smart_lib="-L$try -lcrypto"else  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5firm -f conftest*    if test "x$smart_lib" != "x"; then      break;    fi    LIBS="$old_LIBS"  donefiif test "x$smart_lib" != "x"; then  echo "$ac_t""yes" 1>&6  eval "ac_cv_lib_${sm_lib_safe}_${sm_func_safe}=yes"  LIBS="$smart_lib $old_LIBS"  SMART_LIBS="$smart_lib $SMART_LIBS"else  echo "$ac_t""no" 1>&6fi    if test "x$ac_cv_lib_crypto_DH_new" != "xyes"; then 	    fail="$fail libcrypto"    fi	sm_lib_safe=`echo "ssl" | sed 'y%./+-%__p_%'`sm_func_safe=`echo "SSL_new" | sed 'y%./+-%__p_%'`echo $ac_n "checking for SSL_new in -lssl""... $ac_c" 1>&6echo "configure:1076: checking for SSL_new in -lssl" >&5old_LIBS="$LIBS"smart_lib=smart_lib_dir=if test "x$smart_try_dir" != "x"; then  for try in $smart_try_dir; do    LIBS="-L$try -lssl $old_LIBS"    cat > conftest.$ac_ext <<EOF#line 1086 "configure"#include "confdefs.h"extern char SSL_new();int main() { SSL_new(); return 0; }EOFif { (eval echo configure:1093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  rm -rf conftest*  smart_lib="-L$try -lssl"else  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5firm -f conftest*    if test "x$smart_lib" != "x"; then      break;    fi    LIBS="$old_LIBS"  donefiif test "x$smart_lib" = "x"; then  LIBS="-lssl $old_LIBS"  cat > conftest.$ac_ext <<EOF#line 1111 "configure"#include "confdefs.h"extern char SSL_new();int main() { SSL_new(); return 0; }EOFif { (eval echo configure:1118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  rm -rf conftest*  smart_lib="-lssl"else  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5firm -f conftest*  LIBS="$old_LIBS"fiif test "x$smart_lib" = "x"; then  if test "x$LOCATE" != "x"; then        DIRS=  file=libssl${libltdl_cv_shlibext}  for x in `${LOCATE} $file 2>/dev/null`; do                                        base=`echo $x | sed "s%/${file}%%"`    if test "x$x" = "x$base"; then      continue;    fi    dir=`${DIRNAME} $x 2>/dev/null`                exclude=`echo ${dir} | ${GREP} /home`    if test "x$exclude" != "x"; then      continue    fi                    already=`echo \$smart_lib_dir ${DIRS} | ${GREP} ${dir}`    if test "x$already" = "x"; then      DIRS="$DIRS $dir"    fi  donefieval "smart_lib_dir=\"\$smart_lib_dir $DIRS\""  if test "x$LOCATE" != "x"; then        DIRS=  file=libssl.a  for x in `${LOCATE} $file 2>/dev/null`; do                                        base=`echo $x | sed "s%/${file}%%"`    if test "x$x" = "x$base"; then      continue;    fi    dir=`${DIRNAME} $x 2>/dev/null`                exclude=`echo ${dir} | ${GREP} /home`    if test "x$exclude" != "x"; then      continue    fi                    already=`echo \$smart_lib_dir ${DIRS} | ${GREP} ${dir}`    if test "x$already" = "x"; then      DIRS="$DIRS $dir"    fi  donefieval "smart_lib_dir=\"\$smart_lib_dir $DIRS\""  for try in $smart_lib_dir /usr/local/lib /opt/lib; do    LIBS="-L$try -lssl $old_LIBS"    cat > conftest.$ac_ext <<EOF#line 1188 "configure"#include "confdefs.h"extern char SSL_new();int main() { SSL_new(); return 0; }EOFif { (eval echo configure:1195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  rm -rf conftest*  smart_lib="-L$try -lssl"else  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5firm -f conftest*    if test "x$smart_lib" != "x"; then      break;    fi    LIBS="$old_LIBS"  donefiif test "x$smart_lib" != "x"; then  echo "$ac_t""yes" 1>&6  eval "ac_cv_lib_${sm_lib_safe}_${sm_func_safe}=yes"  LIBS="$smart_lib $old_LIBS"  SMART_LIBS="$smart_lib $SMART_LIBS"else  echo "$ac_t""no" 1>&6fi    if test "x$ac_cv_lib_ssl_SSL_new" != "xyes"; then 	    fail="$fail libssl"    fi	echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6echo "configure:1224: checking how to run the C preprocessor" >&5# On Suns, sometimes $CPP names a directory.if test -n "$CPP" && test -d "$CPP"; then  CPP=fiif test -z "$CPP"; thenif eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else    # This must be in double quotes, not single quotes, because CPP may get  # substituted into the Makefile and "${CC-cc}" will confuse make.  CPP="${CC-cc} -E"  # On the NeXT, cc -E runs the code through the compiler's parser,  # not just through cpp.  cat > conftest.$ac_ext <<EOF#line 1239 "configure"#include "confdefs.h"#include <assert.h>Syntax ErrorEOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1245: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`if test -z "$ac_err"; then  :else  echo "$ac_err" >&5  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  CPP="${CC-cc} -E -traditional-cpp"  cat > conftest.$ac_ext <<EOF#line 1256 "configure"#include "confdefs.h"#include <assert.h>Syntax ErrorEOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1262: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`if test -z "$ac_err"; then  :else  echo "$ac_err" >&5  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  CPP="${CC-cc} -nologo -E"  cat > conftest.$ac_ext <<EOF#line 1273 "configure"#include "confdefs.h"#include <assert.h>Syntax ErrorEOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1279: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`if test -z "$ac_err"; then  :else  echo "$ac_err" >&5  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  CPP=/lib/cppfirm -f conftest*firm -f conftest*firm -f conftest*  ac_cv_prog_CPP="$CPP"fi  CPP="$ac_cv_prog_CPP"

⌨️ 快捷键说明

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