aboutsummaryrefslogtreecommitdiffstats
path: root/autoconf
diff options
context:
space:
mode:
Diffstat (limited to 'autoconf')
-rw-r--r--autoconf/ast_ext_tool_check.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/autoconf/ast_ext_tool_check.m4 b/autoconf/ast_ext_tool_check.m4
index a8db547c0..22ea17b90 100644
--- a/autoconf/ast_ext_tool_check.m4
+++ b/autoconf/ast_ext_tool_check.m4
@@ -20,8 +20,8 @@ AC_DEFUN([AST_EXT_TOOL_CHECK],
fi
CPPFLAGS="${CPPFLAGS} ${$1_INCLUDE}"
- saved_ldflags="${LDFLAGS}"
- LDFLAGS="${$1_LIB}"
+ saved_libs="${LIBS}"
+ LIBS="${$1_LIB}"
AC_LINK_IFELSE(
[ AC_LANG_PROGRAM( [ $5 ],
@@ -33,7 +33,7 @@ AC_DEFUN([AST_EXT_TOOL_CHECK],
[]
)
CPPFLAGS="${saved_cppflags}"
- LDFLAGS="${saved_ldflags}"
+ LIBS="${saved_libs}"
else
PBX_$1=1
AC_DEFINE([HAVE_$1], 1, [Define if your system has the $1 libraries.])