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

📄 configure

📁 RADIUS认证协议
💻
📖 第 1 页 / 共 4 页
字号:
  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="-lc_r $LIBS" else  echo "$ac_t""no" 1>&6 rlm_ldap_with_threads="no" 				      fi			 fi	fi				smart_try_dir=$rlm_ldap_lib_dir	if test "x$rlm_ldap_with_threads" = "xyes"; then	    sm_lib_safe=`echo "ldap_r" | sed 'y%./+-%__p_%'`sm_func_safe=`echo "ldap_init" | sed 'y%./+-%__p_%'`echo $ac_n "checking for ldap_init in -lldap_r""... $ac_c" 1>&6echo "configure:939: checking for ldap_init in -lldap_r" >&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 -lldap_r $old_LIBS"    cat > conftest.$ac_ext <<EOF#line 949 "configure"#include "confdefs.h"extern char ldap_init();int main() { ldap_init(); return 0; }EOFif { (eval echo configure:956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  rm -rf conftest*  smart_lib="-L$try -lldap_r"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="-lldap_r $old_LIBS"  cat > conftest.$ac_ext <<EOF#line 974 "configure"#include "confdefs.h"extern char ldap_init();int main() { ldap_init(); return 0; }EOFif { (eval echo configure:981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  rm -rf conftest*  smart_lib="-lldap_r"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=libldap_r${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=libldap_r.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 -lldap_r $old_LIBS"    cat > conftest.$ac_ext <<EOF#line 1051 "configure"#include "confdefs.h"extern char ldap_init();int main() { ldap_init(); return 0; }EOFif { (eval echo configure:1058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  rm -rf conftest*  smart_lib="-L$try -lldap_r"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_ldap_r_ldap_init" != "xyes"; then		fail="$fail libldap_r"	    fi	else	    sm_lib_safe=`echo "ldap" | sed 'y%./+-%__p_%'`sm_func_safe=`echo "ldap_init" | sed 'y%./+-%__p_%'`echo $ac_n "checking for ldap_init in -lldap""... $ac_c" 1>&6echo "configure:1091: checking for ldap_init in -lldap" >&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 -lldap $old_LIBS"    cat > conftest.$ac_ext <<EOF#line 1101 "configure"#include "confdefs.h"extern char ldap_init();int main() { ldap_init(); return 0; }EOFif { (eval echo configure:1108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  rm -rf conftest*  smart_lib="-L$try -lldap"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="-lldap $old_LIBS"  cat > conftest.$ac_ext <<EOF#line 1126 "configure"#include "confdefs.h"extern char ldap_init();int main() { ldap_init(); return 0; }EOFif { (eval echo configure:1133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  rm -rf conftest*  smart_lib="-lldap"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=libldap${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=libldap.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 -lldap $old_LIBS"    cat > conftest.$ac_ext <<EOF#line 1203 "configure"#include "confdefs.h"extern char ldap_init();int main() { ldap_init(); return 0; }EOFif { (eval echo configure:1210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  rm -rf conftest*  smart_lib="-L$try -lldap"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_ldap_ldap_init" != "xyes"; then		fail="$fail libldap"	    fi	fi				smart_try_dir=$rlm_ldap_include_dir	ac_safe=`echo "ldap.h" | sed 'y%./+-%__pm%'`echo $ac_n "checking for ldap.h""... $ac_c" 1>&6echo "configure:1245: checking for ldap.h" >&5old_CFLAGS="$CFLAGS"smart_include=smart_include_dir=if test "x$smart_try_dir" != "x"; then  for try in $smart_try_dir; do    CFLAGS="$old_CFLAGS -I$try"    cat > conftest.$ac_ext <<EOF#line 1255 "configure"#include "confdefs.h"		    #include <ldap.h>int main() { int a = 1;; return 0; }EOFif { (eval echo configure:1263: \"$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  cat > conftest.$ac_ext <<EOF#line 1282 "configure"#include "confdefs.h"		  #include <ldap.h>int main() { int a = 1;; return 0; }EOFif { (eval echo configure:1290: \"$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*fiif 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_include_dir /usr/local/include /opt/include; do    CFLAGS="$old_CFLAGS -I$try"    cat > conftest.$ac_ext <<EOF#line 1334 "configure"#include "confdefs.h"		    #include <ldap.h>int main() { int a = 1;; return 0; }EOFif { (eval echo configure:1342: \"$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

⌨️ 快捷键说明

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