📄 configure
字号:
; return 0; }EOFif { (eval echo configure:964: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* smart_include=" "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 if test "x$LOCATE" != "x"; then DIRS= file=ldap.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 1008 "configure"#include "confdefs.h" #include <ldap.h>int main() { int a = 1;; return 0; }EOFif { (eval echo configure:1016: \"$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 sm_lib_safe=`echo "sasl" | sed 'y%./+-%__p_%'`sm_func_safe=`echo "sasl_encode" | sed 'y%./+-%__p_%'`echo $ac_n "checking for sasl_encode in -lsasl""... $ac_c" 1>&6echo "configure:1049: checking for sasl_encode in -lsasl" >&5smart_lib=smart_lib_dir= old_LIBS="$LIBS" LIBS="$LIBS -lsasl" cat > conftest.$ac_ext <<EOF#line 1057 "configure"#include "confdefs.h"extern char sasl_encode();int main() { sasl_encode(); return 0; }EOFif { (eval echo configure:1064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* smart_lib="-lsasl"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=libsasl${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=libsasl.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 -lsasl" cat > conftest.$ac_ext <<EOF#line 1133 "configure"#include "confdefs.h"extern char sasl_encode();int main() { sasl_encode(); 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* smart_lib="-L$try -lsasl"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 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:1169: checking for DH_new in -lcrypto" >&5smart_lib=smart_lib_dir= old_LIBS="$LIBS" LIBS="$LIBS -lcrypto" cat > conftest.$ac_ext <<EOF#line 1177 "configure"#include "confdefs.h"extern char DH_new();int main() { DH_new(); return 0; }EOFif { (eval echo configure:1184: \"$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 1253 "configure"#include "confdefs.h"extern char DH_new();int main() { DH_new(); return 0; }EOFif { (eval echo configure:1260: \"$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 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:1289: checking for SSL_new in -lssl" >&5smart_lib=smart_lib_dir= old_LIBS="$LIBS" LIBS="$LIBS -lssl" cat > conftest.$ac_ext <<EOF#line 1297 "configure"#include "confdefs.h"extern char SSL_new();int main() { SSL_new(); return 0; }EOFif { (eval echo configure:1304: \"$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 1373 "configure"#include "confdefs.h"extern char SSL_new();int main() { SSL_new(); return 0; }EOFif { (eval echo configure:1380: \"$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 smart_try_dir=$rlm_ldap_lib_dir sm_lib_safe=`echo "lber" | sed 'y%./+-%__p_%'`sm_func_safe=`echo "ber_init" | sed 'y%./+-%__p_%'`echo $ac_n "checking for ber_init in -llber""... $ac_c" 1>&6echo "configure:1411: checking for ber_init in -llber" >&5smart_lib=smart_lib_dir= old_LIBS="$LIBS" LIBS="$LIBS -llber" cat > conftest.$ac_ext <<EOF#line 1419 "configure"#include "confdefs.h"extern char ber_init();int main() { ber_init(); return 0; }EOFif { (eval echo configure:1426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* smart_lib="-llber"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=liblber${libltdl_cv_shlibext}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -