Added LIBM link-line.
[m6w6/libmemcached] / m4 / pandora_have_libdl.m4
index c28b2f0cb505576b4e5189903ad5906014584b5e..1317ee9dac096d9ae85b350bb110a2128e6053dd 100644 (file)
@@ -15,7 +15,7 @@ AC_DEFUN([_PANDORA_SEARCH_LIBDL],[
   AC_CHECK_LIB(dl,dlopen)
   AC_CHECK_FUNCS(dlopen)
   LIBDL_LIBS="$LIBS"
-  LIBS="$my_save_LIBS"
+  LIBS="${save_LIBS}"
   AC_SUBST(LIBDL_LIBS)
 
   AM_CONDITIONAL(HAVE_LIBDL, [test "x${ac_cv_func_dlopen}" = "xyes"])