source: freewrt/package/freeradius/patches/04-freeradius-1.1.1-rlm_ldap-configure.patch@ 428f140

freewrt_1_0 freewrt_2_0
Last change on this file since 428f140 was 475ad56, checked in by Waldemar Brodkorb <wbx@…>, 20 years ago

add OpenWrt trunk revision 3830.

git-svn-id: svn://www.freewrt.org/trunk/freewrt@1 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 16.4 KB
  • src/modules/rlm_ldap/configure

    diff -ruN freeradius-1.1.1-old/src/modules/rlm_ldap/configure freeradius-1.1.1-new/src/modules/rlm_ldap/configure
    old new  
    929929        fi
    930930
    931931                                smart_try_dir=$rlm_ldap_lib_dir
     932
     933       
     934
     935sm_lib_safe=`echo "sasl" | sed 'y%./+-%__p_%'`
     936sm_func_safe=`echo "sasl_encode" | sed 'y%./+-%__p_%'`
     937echo $ac_n "checking for sasl_encode in -lsasl""... $ac_c" 1>&6
     938echo "configure:939: checking for sasl_encode in -lsasl" >&5
     939
     940old_LIBS="$LIBS"
     941smart_lib=
     942smart_lib_dir=
     943
     944if test "x$smart_try_dir" != "x"; then
     945  for try in $smart_try_dir; do
     946    LIBS="-L$try -lsasl $old_LIBS"
     947    cat > conftest.$ac_ext <<EOF
     948#line 949 "configure"
     949#include "confdefs.h"
     950extern char sasl_encode();
     951int main() {
     952 sasl_encode()
     953; return 0; }
     954EOF
     955if { (eval echo configure:956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     956  rm -rf conftest*
     957  smart_lib="-L$try -lsasl"
     958else
     959  echo "configure: failed program was:" >&5
     960  cat conftest.$ac_ext >&5
     961fi
     962rm -f conftest*
     963    if test "x$smart_lib" != "x"; then
     964      break;
     965    fi
     966  done
     967  LIBS="$old_LIBS"
     968fi
     969
     970if test "x$smart_lib" = "x"; then
     971  LIBS="-lsasl $old_LIBS"
     972  cat > conftest.$ac_ext <<EOF
     973#line 974 "configure"
     974#include "confdefs.h"
     975extern char sasl_encode();
     976int main() {
     977 sasl_encode()
     978; return 0; }
     979EOF
     980if { (eval echo configure:981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     981  rm -rf conftest*
     982  smart_lib="-lsasl"
     983else
     984  echo "configure: failed program was:" >&5
     985  cat conftest.$ac_ext >&5
     986fi
     987rm -f conftest*
     988  LIBS="$old_LIBS"
     989fi
     990
     991if test "x$smart_lib" = "x"; then
     992 
     993
     994if test "x$LOCATE" != "x"; then
     995        DIRS=
     996  file=libsasl${libltdl_cv_shlibext}
     997
     998  for x in `${LOCATE} $file 2>/dev/null`; do
     999                                        base=`echo $x | sed "s%/${file}%%"`
     1000    if test "x$x" = "x$base"; then
     1001      continue;
     1002    fi
     1003
     1004    dir=`${DIRNAME} $x 2>/dev/null`
     1005                exclude=`echo ${dir} | ${GREP} /home`
     1006    if test "x$exclude" != "x"; then
     1007      continue
     1008    fi
     1009
     1010                    already=`echo \$smart_lib_dir ${DIRS} | ${GREP} ${dir}`
     1011    if test "x$already" = "x"; then
     1012      DIRS="$DIRS $dir"
     1013    fi
     1014  done
     1015fi
     1016
     1017eval "smart_lib_dir=\"\$smart_lib_dir $DIRS\""
     1018
     1019 
     1020
     1021if test "x$LOCATE" != "x"; then
     1022        DIRS=
     1023  file=libsasl.a
     1024
     1025  for x in `${LOCATE} $file 2>/dev/null`; do
     1026                                        base=`echo $x | sed "s%/${file}%%"`
     1027    if test "x$x" = "x$base"; then
     1028      continue;
     1029    fi
     1030
     1031    dir=`${DIRNAME} $x 2>/dev/null`
     1032                exclude=`echo ${dir} | ${GREP} /home`
     1033    if test "x$exclude" != "x"; then
     1034      continue
     1035    fi
     1036
     1037                    already=`echo \$smart_lib_dir ${DIRS} | ${GREP} ${dir}`
     1038    if test "x$already" = "x"; then
     1039      DIRS="$DIRS $dir"
     1040    fi
     1041  done
     1042fi
     1043
     1044eval "smart_lib_dir=\"\$smart_lib_dir $DIRS\""
     1045
     1046
     1047  for try in $smart_lib_dir /usr/local/lib /opt/lib; do
     1048    LIBS="-L$try -lsasl $old_LIBS"
     1049    cat > conftest.$ac_ext <<EOF
     1050#line 1051 "configure"
     1051#include "confdefs.h"
     1052extern char sasl_encode();
     1053int main() {
     1054 sasl_encode()
     1055; return 0; }
     1056EOF
     1057if { (eval echo configure:1058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1058  rm -rf conftest*
     1059  smart_lib="-L$try -lsasl"
     1060else
     1061  echo "configure: failed program was:" >&5
     1062  cat conftest.$ac_ext >&5
     1063fi
     1064rm -f conftest*
     1065    if test "x$smart_lib" != "x"; then
     1066      break;
     1067    fi
     1068  done
     1069  LIBS="$old_LIBS"
     1070fi
     1071
     1072if test "x$smart_lib" != "x"; then
     1073  echo "$ac_t""yes" 1>&6
     1074  eval "ac_cv_lib_${sm_lib_safe}_${sm_func_safe}=yes"
     1075  LIBS="$smart_lib $old_LIBS"
     1076  SMART_LIBS="$smart_lib $SMART_LIBS"
     1077else
     1078  echo "$ac_t""no" 1>&6
     1079fi
     1080
     1081       
     1082
     1083sm_lib_safe=`echo "lber" | sed 'y%./+-%__p_%'`
     1084sm_func_safe=`echo "ber_init" | sed 'y%./+-%__p_%'`
     1085echo $ac_n "checking for ber_init in -llber""... $ac_c" 1>&6
     1086echo "configure:1087: checking for ber_init in -llber" >&5
     1087
     1088old_LIBS="$LIBS"
     1089smart_lib=
     1090smart_lib_dir=
     1091
     1092if test "x$smart_try_dir" != "x"; then
     1093  for try in $smart_try_dir; do
     1094    LIBS="-L$try -llber $old_LIBS"
     1095    cat > conftest.$ac_ext <<EOF
     1096#line 1097 "configure"
     1097#include "confdefs.h"
     1098extern char ber_init();
     1099int main() {
     1100 ber_init()
     1101; return 0; }
     1102EOF
     1103if { (eval echo configure:1104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1104  rm -rf conftest*
     1105  smart_lib="-L$try -llber"
     1106else
     1107  echo "configure: failed program was:" >&5
     1108  cat conftest.$ac_ext >&5
     1109fi
     1110rm -f conftest*
     1111    if test "x$smart_lib" != "x"; then
     1112      break;
     1113    fi
     1114  done
     1115  LIBS="$old_LIBS"
     1116fi
     1117
     1118if test "x$smart_lib" = "x"; then
     1119  LIBS="-llber $old_LIBS"
     1120  cat > conftest.$ac_ext <<EOF
     1121#line 1122 "configure"
     1122#include "confdefs.h"
     1123extern char ber_init();
     1124int main() {
     1125 ber_init()
     1126; return 0; }
     1127EOF
     1128if { (eval echo configure:1129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1129  rm -rf conftest*
     1130  smart_lib="-llber"
     1131else
     1132  echo "configure: failed program was:" >&5
     1133  cat conftest.$ac_ext >&5
     1134fi
     1135rm -f conftest*
     1136  LIBS="$old_LIBS"
     1137fi
     1138
     1139if test "x$smart_lib" = "x"; then
     1140 
     1141
     1142if test "x$LOCATE" != "x"; then
     1143        DIRS=
     1144  file=liblber${libltdl_cv_shlibext}
     1145
     1146  for x in `${LOCATE} $file 2>/dev/null`; do
     1147                                        base=`echo $x | sed "s%/${file}%%"`
     1148    if test "x$x" = "x$base"; then
     1149      continue;
     1150    fi
     1151
     1152    dir=`${DIRNAME} $x 2>/dev/null`
     1153                exclude=`echo ${dir} | ${GREP} /home`
     1154    if test "x$exclude" != "x"; then
     1155      continue
     1156    fi
     1157
     1158                    already=`echo \$smart_lib_dir ${DIRS} | ${GREP} ${dir}`
     1159    if test "x$already" = "x"; then
     1160      DIRS="$DIRS $dir"
     1161    fi
     1162  done
     1163fi
     1164
     1165eval "smart_lib_dir=\"\$smart_lib_dir $DIRS\""
     1166
     1167 
     1168
     1169if test "x$LOCATE" != "x"; then
     1170        DIRS=
     1171  file=liblber.a
     1172
     1173  for x in `${LOCATE} $file 2>/dev/null`; do
     1174                                        base=`echo $x | sed "s%/${file}%%"`
     1175    if test "x$x" = "x$base"; then
     1176      continue;
     1177    fi
     1178
     1179    dir=`${DIRNAME} $x 2>/dev/null`
     1180                exclude=`echo ${dir} | ${GREP} /home`
     1181    if test "x$exclude" != "x"; then
     1182      continue
     1183    fi
     1184
     1185                    already=`echo \$smart_lib_dir ${DIRS} | ${GREP} ${dir}`
     1186    if test "x$already" = "x"; then
     1187      DIRS="$DIRS $dir"
     1188    fi
     1189  done
     1190fi
     1191
     1192eval "smart_lib_dir=\"\$smart_lib_dir $DIRS\""
     1193
     1194
     1195  for try in $smart_lib_dir /usr/local/lib /opt/lib; do
     1196    LIBS="-L$try -llber $old_LIBS"
     1197    cat > conftest.$ac_ext <<EOF
     1198#line 1199 "configure"
     1199#include "confdefs.h"
     1200extern char ber_init();
     1201int main() {
     1202 ber_init()
     1203; return 0; }
     1204EOF
     1205if { (eval echo configure:1206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1206  rm -rf conftest*
     1207  smart_lib="-L$try -llber"
     1208else
     1209  echo "configure: failed program was:" >&5
     1210  cat conftest.$ac_ext >&5
     1211fi
     1212rm -f conftest*
     1213    if test "x$smart_lib" != "x"; then
     1214      break;
     1215    fi
     1216  done
     1217  LIBS="$old_LIBS"
     1218fi
     1219
     1220if test "x$smart_lib" != "x"; then
     1221  echo "$ac_t""yes" 1>&6
     1222  eval "ac_cv_lib_${sm_lib_safe}_${sm_func_safe}=yes"
     1223  LIBS="$smart_lib $old_LIBS"
     1224  SMART_LIBS="$smart_lib $SMART_LIBS"
     1225else
     1226  echo "$ac_t""no" 1>&6
     1227fi
     1228
     1229
    9321230        if test "x$rlm_ldap_with_threads" = "xyes"; then
    9331231           
    9341232
    9351233sm_lib_safe=`echo "ldap_r" | sed 'y%./+-%__p_%'`
    9361234sm_func_safe=`echo "ldap_init" | sed 'y%./+-%__p_%'`
    9371235echo $ac_n "checking for ldap_init in -lldap_r""... $ac_c" 1>&6
    938 echo "configure:939: checking for ldap_init in -lldap_r" >&5
     1236echo "configure:1237: checking for ldap_init in -lldap_r" >&5
    9391237
    9401238old_LIBS="$LIBS"
    9411239smart_lib=
     
    9451243  for try in $smart_try_dir; do
    9461244    LIBS="-L$try -lldap_r $old_LIBS"
    9471245    cat > conftest.$ac_ext <<EOF
    948 #line 949 "configure"
     1246#line 1247 "configure"
    9491247#include "confdefs.h"
    9501248extern char ldap_init();
    9511249int main() {
    9521250 ldap_init()
    9531251; return 0; }
    9541252EOF
    955 if { (eval echo configure:956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1253if { (eval echo configure:1254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    9561254  rm -rf conftest*
    9571255  smart_lib="-L$try -lldap_r"
    9581256else
     
    9701268if test "x$smart_lib" = "x"; then
    9711269  LIBS="-lldap_r $old_LIBS"
    9721270  cat > conftest.$ac_ext <<EOF
    973 #line 974 "configure"
     1271#line 1272 "configure"
    9741272#include "confdefs.h"
    9751273extern char ldap_init();
    9761274int main() {
    9771275 ldap_init()
    9781276; return 0; }
    9791277EOF
    980 if { (eval echo configure:981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1278if { (eval echo configure:1279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    9811279  rm -rf conftest*
    9821280  smart_lib="-lldap_r"
    9831281else
     
    10471345  for try in $smart_lib_dir /usr/local/lib /opt/lib; do
    10481346    LIBS="-L$try -lldap_r $old_LIBS"
    10491347    cat > conftest.$ac_ext <<EOF
    1050 #line 1051 "configure"
     1348#line 1349 "configure"
    10511349#include "confdefs.h"
    10521350extern char ldap_init();
    10531351int main() {
    10541352 ldap_init()
    10551353; return 0; }
    10561354EOF
    1057 if { (eval echo configure:1058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1355if { (eval echo configure:1356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    10581356  rm -rf conftest*
    10591357  smart_lib="-L$try -lldap_r"
    10601358else
     
    10871385sm_lib_safe=`echo "ldap" | sed 'y%./+-%__p_%'`
    10881386sm_func_safe=`echo "ldap_init" | sed 'y%./+-%__p_%'`
    10891387echo $ac_n "checking for ldap_init in -lldap""... $ac_c" 1>&6
    1090 echo "configure:1091: checking for ldap_init in -lldap" >&5
     1388echo "configure:1389: checking for ldap_init in -lldap" >&5
    10911389
    10921390old_LIBS="$LIBS"
    10931391smart_lib=
     
    10971395  for try in $smart_try_dir; do
    10981396    LIBS="-L$try -lldap $old_LIBS"
    10991397    cat > conftest.$ac_ext <<EOF
    1100 #line 1101 "configure"
     1398#line 1399 "configure"
    11011399#include "confdefs.h"
    11021400extern char ldap_init();
    11031401int main() {
    11041402 ldap_init()
    11051403; return 0; }
    11061404EOF
    1107 if { (eval echo configure:1108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1405if { (eval echo configure:1406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    11081406  rm -rf conftest*
    11091407  smart_lib="-L$try -lldap"
    11101408else
     
    11221420if test "x$smart_lib" = "x"; then
    11231421  LIBS="-lldap $old_LIBS"
    11241422  cat > conftest.$ac_ext <<EOF
    1125 #line 1126 "configure"
     1423#line 1424 "configure"
    11261424#include "confdefs.h"
    11271425extern char ldap_init();
    11281426int main() {
    11291427 ldap_init()
    11301428; return 0; }
    11311429EOF
    1132 if { (eval echo configure:1133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1430if { (eval echo configure:1431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    11331431  rm -rf conftest*
    11341432  smart_lib="-lldap"
    11351433else
     
    11991497  for try in $smart_lib_dir /usr/local/lib /opt/lib; do
    12001498    LIBS="-L$try -lldap $old_LIBS"
    12011499    cat > conftest.$ac_ext <<EOF
    1202 #line 1203 "configure"
     1500#line 1501 "configure"
    12031501#include "confdefs.h"
    12041502extern char ldap_init();
    12051503int main() {
    12061504 ldap_init()
    12071505; return 0; }
    12081506EOF
    1209 if { (eval echo configure:1210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1507if { (eval echo configure:1508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    12101508  rm -rf conftest*
    12111509  smart_lib="-L$try -lldap"
    12121510else
     
    12411539
    12421540ac_safe=`echo "ldap.h" | sed 'y%./+-%__pm%'`
    12431541echo $ac_n "checking for ldap.h""... $ac_c" 1>&6
    1244 echo "configure:1245: checking for ldap.h" >&5
     1542echo "configure:1543: checking for ldap.h" >&5
    12451543
    12461544old_CFLAGS="$CFLAGS"
    12471545smart_include=
     
    12511549  for try in $smart_try_dir; do
    12521550    CFLAGS="$old_CFLAGS -I$try"
    12531551    cat > conftest.$ac_ext <<EOF
    1254 #line 1255 "configure"
     1552#line 1553 "configure"
    12551553#include "confdefs.h"
    12561554
    12571555                    #include <ldap.h>
     
    12591557 int a = 1;
    12601558; return 0; }
    12611559EOF
    1262 if { (eval echo configure:1263: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1560if { (eval echo configure:1561: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    12631561  rm -rf conftest*
    12641562  smart_include="-I$try"
    12651563else
     
    12781576
    12791577if test "x$smart_include" = "x"; then
    12801578  cat > conftest.$ac_ext <<EOF
    1281 #line 1282 "configure"
     1579#line 1580 "configure"
    12821580#include "confdefs.h"
    12831581
    12841582                  #include <ldap.h>
     
    12861584 int a = 1;
    12871585; return 0; }
    12881586EOF
    1289 if { (eval echo configure:1290: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1587if { (eval echo configure:1588: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    12901588  rm -rf conftest*
    12911589  smart_include=" "
    12921590else
     
    13301628  for try in $smart_include_dir /usr/local/include /opt/include; do
    13311629    CFLAGS="$old_CFLAGS -I$try"
    13321630    cat > conftest.$ac_ext <<EOF
    1333 #line 1334 "configure"
     1631#line 1632 "configure"
    13341632#include "confdefs.h"
    13351633
    13361634                    #include <ldap.h>
     
    13381636 int a = 1;
    13391637; return 0; }
    13401638EOF
    1341 if { (eval echo configure:1342: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1639if { (eval echo configure:1640: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    13421640  rm -rf conftest*
    13431641  smart_include="-I$try"
    13441642else
     
    13711669                       
    13721670        if test "x$fail" = "x"; then
    13731671            echo $ac_n "checking for ldap_start_tls_s""... $ac_c" 1>&6
    1374 echo "configure:1375: checking for ldap_start_tls_s" >&5
     1672echo "configure:1673: checking for ldap_start_tls_s" >&5
    13751673if eval "test \"`echo '$''{'ac_cv_func_ldap_start_tls_s'+set}'`\" = set"; then
    13761674  echo $ac_n "(cached) $ac_c" 1>&6
    13771675else
    13781676  cat > conftest.$ac_ext <<EOF
    1379 #line 1380 "configure"
     1677#line 1678 "configure"
    13801678#include "confdefs.h"
    13811679/* System header to define __stub macros and hopefully few prototypes,
    13821680    which can conflict with char ldap_start_tls_s(); below.  */
     
    13991697
    14001698; return 0; }
    14011699EOF
    1402 if { (eval echo configure:1403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1700if { (eval echo configure:1701: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    14031701  rm -rf conftest*
    14041702  eval "ac_cv_func_ldap_start_tls_s=yes"
    14051703else
     
    14191717fi
    14201718
    14211719            echo $ac_n "checking for ldap_initialize""... $ac_c" 1>&6
    1422 echo "configure:1423: checking for ldap_initialize" >&5
     1720echo "configure:1721: checking for ldap_initialize" >&5
    14231721if eval "test \"`echo '$''{'ac_cv_func_ldap_initialize'+set}'`\" = set"; then
    14241722  echo $ac_n "(cached) $ac_c" 1>&6
    14251723else
    14261724  cat > conftest.$ac_ext <<EOF
    1427 #line 1428 "configure"
     1725#line 1726 "configure"
    14281726#include "confdefs.h"
    14291727/* System header to define __stub macros and hopefully few prototypes,
    14301728    which can conflict with char ldap_initialize(); below.  */
     
    14471745
    14481746; return 0; }
    14491747EOF
    1450 if { (eval echo configure:1451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1748if { (eval echo configure:1749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    14511749  rm -rf conftest*
    14521750  eval "ac_cv_func_ldap_initialize=yes"
    14531751else
     
    14671765fi
    14681766
    14691767            echo $ac_n "checking for ldap_int_tls_config""... $ac_c" 1>&6
    1470 echo "configure:1471: checking for ldap_int_tls_config" >&5
     1768echo "configure:1769: checking for ldap_int_tls_config" >&5
    14711769if eval "test \"`echo '$''{'ac_cv_func_ldap_int_tls_config'+set}'`\" = set"; then
    14721770  echo $ac_n "(cached) $ac_c" 1>&6
    14731771else
    14741772  cat > conftest.$ac_ext <<EOF
    1475 #line 1476 "configure"
     1773#line 1774 "configure"
    14761774#include "confdefs.h"
    14771775/* System header to define __stub macros and hopefully few prototypes,
    14781776    which can conflict with char ldap_int_tls_config(); below.  */
     
    14951793
    14961794; return 0; }
    14971795EOF
    1498 if { (eval echo configure:1499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1796if { (eval echo configure:1797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    14991797  rm -rf conftest*
    15001798  eval "ac_cv_func_ldap_int_tls_config=yes"
    15011799else
  • src/modules/rlm_ldap/configure.in

    diff -ruN freeradius-1.1.1-old/src/modules/rlm_ldap/configure.in freeradius-1.1.1-new/src/modules/rlm_ldap/configure.in
    old new  
    9090        dnl Static linking will probably not work, but nobody ever
    9191        dnl complained about it.
    9292        smart_try_dir=$rlm_ldap_lib_dir
     93
     94        AC_SMART_CHECK_LIB(sasl, sasl_encode)
     95        AC_SMART_CHECK_LIB(lber, ber_init)
     96
    9397        if test "x$rlm_ldap_with_threads" = "xyes"; then
    9498            AC_SMART_CHECK_LIB(ldap_r, ldap_init)
    9599            if test "x$ac_cv_lib_ldap_r_ldap_init" != "xyes"; then
Note: See TracBrowser for help on using the repository browser.