summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2016-12-22 20:55:00 +0100
committerGitHub <noreply@github.com>2016-12-22 20:55:00 +0100
commita4ab81021fd9f99d2e2dcc1871e95f29bed08643 (patch)
treef10ac843fa9c1882223f7633cd1e5c6df53b81b3
parent3218befa1ea38086e25abf0e5012794ccaa33dbc (diff)
parent66f545f8465af469e35fd9ace6e3f7d5d4398e98 (diff)
downloadweechat-a4ab81021fd9f99d2e2dcc1871e95f29bed08643.zip
Merge pull request #870 from rofl0r/fix_configure_cachevars
core: fix misnamed configure cache variables
-rw-r--r--configure.ac18
1 files changed, 9 insertions, 9 deletions
diff --git a/configure.ac b/configure.ac
index 719be40fe..c1e68ab01 100644
--- a/configure.ac
+++ b/configure.ac
@@ -991,10 +991,10 @@ AC_CACHE_CHECK([for flock() support], ac_cv_have_flock, [
AC_LINK_IFELSE([AC_LANG_PROGRAM(
[[ #include <sys/file.h>]],
[[ flock(0, LOCK_SH); ]])],
-[ ac_have_flock="yes" ],
-[ ac_have_flock="no" ])])
+[ ac_cv_have_flock="yes" ],
+[ ac_cv_have_flock="no" ])])
-if test "x$ac_have_flock" = "xyes"; then
+if test "x$ac_cv_have_flock" = "xyes"; then
enable_flock="yes"
AC_DEFINE(HAVE_FLOCK)
else
@@ -1021,9 +1021,9 @@ if test "x$debug" != "x0" ; then
AC_LINK_IFELSE([AC_LANG_PROGRAM(
[[ #include <execinfo.h> ]],
[[ void *trace[128]; int n = backtrace(trace, 128); ]])],
- [ ac_have_backtrace="yes" ],
- [ ac_have_backtrace="no" ])])
- if test "x$ac_have_backtrace" = "xyes"; then
+ [ ac_cv_have_backtrace="yes" ],
+ [ ac_cv_have_backtrace="no" ])])
+ if test "x$ac_cv_have_backtrace" = "xyes"; then
enable_backtrace="yes"
AC_DEFINE(HAVE_BACKTRACE,1,[glibc backtrace function])
else
@@ -1040,10 +1040,10 @@ AC_CACHE_CHECK([for eat_newline_glitch support], ac_cv_have_eatnewlineglitch, [
AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
[[ #include <term.h> ]],
[[ eat_newline_glitch = 0; ]])],
-[ ac_have_eatnewlineglitch="yes" ],
-[ ac_have_eatnewlineglitch="no" ])])
+[ ac_cv_have_eatnewlineglitch="yes" ],
+[ ac_cv_have_eatnewlineglitch="no" ])])
-if test "x$ac_have_eatnewlineglitch" = "xyes"; then
+if test "x$ac_cv_have_eatnewlineglitch" = "xyes"; then
enable_eatnewlineglitch="yes"
AC_DEFINE(HAVE_EAT_NEWLINE_GLITCH)
else