diff options
author | James O'Gorman <james@netinertia.co.uk> | 2008-10-05 13:20:21 +0000 |
---|---|---|
committer | James O'Gorman <james@netinertia.co.uk> | 2008-10-05 13:20:21 +0000 |
commit | 31c892532d5be4ebb92d26f35f726c1fbbfd6fba (patch) | |
tree | f0c5766a482e761ddfb76784b12182b4a0a171c8 /infrastructure/m4/ax_func_syscall.m4 | |
parent | bbab844d269b4d748291f8fbffbfd59b356fc893 (diff) |
Update autoconf to silence warnings on autoconf >= 2.62
* AC_SUBST now only works with one variable per call
* When using AC_CACHE the variable must contain the string '_cv_', thus prefix all cache variables with box_cv_
Diffstat (limited to 'infrastructure/m4/ax_func_syscall.m4')
-rw-r--r-- | infrastructure/m4/ax_func_syscall.m4 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/infrastructure/m4/ax_func_syscall.m4 b/infrastructure/m4/ax_func_syscall.m4 index 40496bf0..a0ab503c 100644 --- a/infrastructure/m4/ax_func_syscall.m4 +++ b/infrastructure/m4/ax_func_syscall.m4 @@ -18,7 +18,7 @@ AC_DEFUN([AX_FUNC_SYSCALL], [ AC_CHECK_FUNCS([syscall __syscall]) if test "x$ac_cv_func_syscall" != "xyes" && test "x$ac_cv_func___syscall" != "xyes"; then - AC_CACHE_CHECK([for __syscall needing definition], [have___syscall_need_defn], + AC_CACHE_CHECK([for __syscall needing definition], [box_cv_have___syscall_need_defn], [AC_RUN_IFELSE([AC_LANG_PROGRAM([[ $ac_includes_default #ifdef HAVE_SYS_SYSCALL_H @@ -29,9 +29,9 @@ AC_DEFUN([AX_FUNC_SYSCALL], [ __syscall(SYS_exit, 0); return 1; ]])], - [have___syscall_need_defn=yes], [have___syscall_need_defn=no] + [box_cv_have___syscall_need_defn=yes], [box_cv_have___syscall_need_defn=no] )]) - if test "x$have___syscall_need_defn" = "xyes"; then + if test "x$box_cv_have___syscall_need_defn" = "xyes"; then AC_DEFINE([HAVE___SYSCALL_NEED_DEFN], 1, [Define to 1 if __syscall is available but needs a definition]) fi |