summaryrefslogtreecommitdiff
path: root/libraries/base/aclocal.m4
diff options
context:
space:
mode:
authorRoss Paterson <ross@soi.city.ac.uk>2010-08-19 20:48:58 +0000
committerRoss Paterson <ross@soi.city.ac.uk>2010-08-19 20:48:58 +0000
commitdc8d6923190bb4753d9f41d64c13b543c598c062 (patch)
treee97cbafabbe67bfccd65c15d9b63f0ac851f6cc3 /libraries/base/aclocal.m4
parent2e197f1e391d45e88969f433a8d8606258351208 (diff)
downloadhaskell-dc8d6923190bb4753d9f41d64c13b543c598c062.tar.gz
fix cache variable name used by FP_SEARCH_LIBS_PROTO
Diffstat (limited to 'libraries/base/aclocal.m4')
-rw-r--r--libraries/base/aclocal.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/base/aclocal.m4 b/libraries/base/aclocal.m4
index 14f02755d1..38d0580054 100644
--- a/libraries/base/aclocal.m4
+++ b/libraries/base/aclocal.m4
@@ -179,7 +179,7 @@ undefine([AC_CV_NAME_supported])dnl
# prototype text as its second argument. It also calls AC_LANG_PROGRAM
# instead of AC_LANG_CALL
AC_DEFUN([FP_SEARCH_LIBS_PROTO],
-[AS_VAR_PUSHDEF([ac_Search], [ac_cv_search_$3])dnl
+[AS_VAR_PUSHDEF([ac_Search], [ac_cv_search_$1])dnl
AC_CACHE_CHECK([for library containing $1], [ac_Search],
[ac_func_search_save_LIBS=$LIBS
AC_LANG_CONFTEST([AC_LANG_PROGRAM([$2], [$3])])