freeradius-server/freeradius-1.0.5-configure_libgdbm.patch

21 lines
756 B
Diff

--- freeradius-1.0.5/src/modules/rlm_dbm/configure.orig 2005-11-16 17:37:42.000000000 +0100
+++ freeradius-1.0.5/src/modules/rlm_dbm/configure 2005-11-16 17:38:56.000000000 +0100
@@ -1450,7 +1450,7 @@
if test "x$smart_try_dir" != "x"; then
for try in $smart_try_dir; do
- LIBS="-L$try -lgdbm $old_LIBS"
+ LIBS="-L$try -lgdbm -lgdbm_compat $old_LIBS"
cat > conftest.$ac_ext <<EOF
#line 1456 "configure"
#include "confdefs.h"
@@ -1461,7 +1461,7 @@
EOF
if { (eval echo configure:1463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
- smart_lib="-L$try -lgdbm"
+ smart_lib="-L$try -lgdbm -lgdbm_compat"
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5