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

📄 configure

📁 free radius编程。完成AAA的实现
💻
📖 第 1 页 / 共 5 页
字号:
  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=liblber.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 -llber"      cat > conftest.$ac_ext <<EOF#line 1495 "configure"#include "confdefs.h"extern char ber_init();int main() { ber_init(); return 0; }EOFif { (eval echo configure:1502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  rm -rf conftest*  smart_lib="-L$try -llber"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_lber_ber_init" != "xyes"; then	  fail="$fail liblber"        else          if test "x$ac_cv_header_pthread_h" = "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:1535: checking for ldap_init in -lldap_r" >&5smart_lib=smart_lib_dir=  old_LIBS="$LIBS"  LIBS="$LIBS -lldap_r"  cat > conftest.$ac_ext <<EOF#line 1543 "configure"#include "confdefs.h"extern char ldap_init();int main() { ldap_init(); return 0; }EOFif { (eval echo configure:1550: \"$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*  if 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_try_dir $smart_lib_dir /usr/local/lib/ /opt/lib; do      LIBS="$old_LIBS -L$try -lldap_r"      cat > conftest.$ac_ext <<EOF#line 1619 "configure"#include "confdefs.h"extern char ldap_init();int main() { ldap_init(); return 0; }EOFif { (eval echo configure:1626: \"$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    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_ldap_r_ldap_init" != "xyes"; then 	      fail="$fail libldap_r"	    else		libldap=ldap_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:1661: checking for ldap_init in -lldap" >&5smart_lib=smart_lib_dir=  old_LIBS="$LIBS"  LIBS="$LIBS -lldap"  cat > conftest.$ac_ext <<EOF#line 1669 "configure"#include "confdefs.h"extern char ldap_init();int main() { ldap_init(); return 0; }EOFif { (eval echo configure:1676: \"$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*  if 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_try_dir $smart_lib_dir /usr/local/lib/ /opt/lib; do      LIBS="$old_LIBS -L$try -lldap"      cat > conftest.$ac_ext <<EOF#line 1745 "configure"#include "confdefs.h"extern char ldap_init();int main() { ldap_init(); return 0; }EOFif { (eval echo configure:1752: \"$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    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_ldap_ldap_init" != "xyes"; then 	      fail="$fail libldap"	    else		libldap=ldap           fi          fi        fi	if test x"$libldap" != "x"; then	  sm_lib_safe=`echo ""$libldap"" | sed 'y%./+-%__p_%'`sm_func_safe=`echo "ldap_start_tls_s" | sed 'y%./+-%__p_%'`echo $ac_n "checking for ldap_start_tls_s in -l"$libldap"""... $ac_c" 1>&6echo "configure:1790: checking for ldap_start_tls_s in -l"$libldap"" >&5smart_lib=smart_lib_dir=  old_LIBS="$LIBS"  LIBS="$LIBS -l"$libldap""  cat > conftest.$ac_ext <<EOF#line 1798 "configure"#include "confdefs.h"extern char ldap_start_tls_s();int main() { ldap_start_tls_s(); return 0; }EOFif { (eval echo configure:1805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  rm -rf conftest*  smart_lib="-l"$libldap""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=lib"$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=lib"$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_try_dir $smart_lib_dir /usr/local/lib/ /opt/lib; do      LIBS="$old_LIBS -L$try -l"$libldap""      cat > conftest.$ac_ext <<EOF#line 1874 "configure"#include "confdefs.h"extern char ldap_start_tls_s();int main() { ldap_start_tls_s(); return 0; }EOFif { (eval echo configure:1881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  rm -rf conftest*  smart_lib="-L$try -l"$libldap""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_ldap_ldap_start_tls_s}${ac_cv_lib_ldap_r_ldap_start_tls_s}" != "x"; then	     SMART_CFLAGS="$SMART_CFLAGS -DHAVE_LDAP_START_TLS"	  fi      	  sm_lib_safe=`echo ""$libldap"" | sed 'y%./+-%__p_%'`sm_func_safe=`echo "ldap_initialize" | sed 'y%./+-%__p_%'`echo $ac_n "checking for ldap_initialize in -l"$libldap"""... $ac_c" 1>&6echo "configure:1915: checking for ldap_initialize in -l"$libldap"" >&5smart_lib=smart_lib_dir=  old_LIBS="$LIBS"  LIBS="$LIBS -l"$libldap""

⌨️ 快捷键说明

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