📄 configure
字号:
file=openssl/ssl.h 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_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_try_dir $smart_include_dir /usr/local/include/ /opt/include; do CFLAGS="$old_CFLAGS -I$try" cat > conftest.$ac_ext <<EOF#line 850 "configure"#include "confdefs.h" #include <openssl/ssl.h>int main() { int a = 1;; return 0; }EOFif { (eval echo configure:858: \"$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 done CFLAGS="$old_CFLAGS" fi if 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>&6 fi 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:895: checking for DH_new in -lcrypto" >&5smart_lib=smart_lib_dir= old_LIBS="$LIBS" LIBS="$LIBS -lcrypto" cat > conftest.$ac_ext <<EOF#line 903 "configure"#include "confdefs.h"extern char DH_new();int main() { DH_new(); return 0; }EOFif { (eval echo configure:910: \"$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* if 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_try_dir $smart_lib_dir /usr/local/lib/ /opt/lib; do LIBS="$old_LIBS -L$try -lcrypto" cat > conftest.$ac_ext <<EOF#line 979 "configure"#include "confdefs.h"extern char DH_new();int main() { DH_new(); return 0; }EOFif { (eval echo configure:986: \"$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 done LIBS="$old_LIBS" fi if test "x$smart_lib" != "x"; then echo "$ac_t""yes" 1>&6 eval "ac_cv_lib_${sm_lib_safe}_${sm_func_safe}=yes" LIBS="$old_LIBS $smart_lib" SMART_LIBS="$SMART_LIBS $smart_lib" else echo "$ac_t""no" 1>&6 fi 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:1019: checking for SSL_new in -lssl" >&5smart_lib=smart_lib_dir= old_LIBS="$LIBS" LIBS="$LIBS -lssl" cat > conftest.$ac_ext <<EOF#line 1027 "configure"#include "confdefs.h"extern char SSL_new();int main() { SSL_new(); return 0; }EOFif { (eval echo configure:1034: \"$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* if 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_try_dir $smart_lib_dir /usr/local/lib/ /opt/lib; do LIBS="$old_LIBS -L$try -lssl" cat > conftest.$ac_ext <<EOF#line 1103 "configure"#include "confdefs.h"extern char SSL_new();int main() { SSL_new(); return 0; }EOFif { (eval echo configure:1110: \"$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 done LIBS="$old_LIBS" fi if test "x$smart_lib" != "x"; then echo "$ac_t""yes" 1>&6 eval "ac_cv_lib_${sm_lib_safe}_${sm_func_safe}=yes" LIBS="$old_LIBS $smart_lib" SMART_LIBS="$SMART_LIBS $smart_lib" else echo "$ac_t""no" 1>&6 fi 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:1139: 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 1154 "configure"#include "confdefs.h"#include <assert.h>Syntax ErrorEOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1160: \"$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 1171 "configure"#include "confdefs.h"#include <assert.h>Syntax ErrorEOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1177: \"$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 1188 "configure"#include "confdefs.h"#include <assert.h>Syntax ErrorEOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1194: \"$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"else ac_cv_prog_CPP="$CPP"fiecho "$ac_t""$CPP" 1>&6for ac_hdr in \ openssl/err.h \ openssl/engine.h \ doac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6echo "configure:1225: checking for $ac_hdr" >&5if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else cat > conftest.$ac_ext <<EOF#line 1230 "configure"#include "confdefs.h"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -