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_check_syscall_lseek.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_check_syscall_lseek.m4')
-rw-r--r-- | infrastructure/m4/ax_check_syscall_lseek.m4 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/infrastructure/m4/ax_check_syscall_lseek.m4 b/infrastructure/m4/ax_check_syscall_lseek.m4 index 491cc1ed..7d22c4b0 100644 --- a/infrastructure/m4/ax_check_syscall_lseek.m4 +++ b/infrastructure/m4/ax_check_syscall_lseek.m4 @@ -15,7 +15,7 @@ dnl @license AllPermissive AC_DEFUN([AX_CHECK_SYSCALL_LSEEK], [ AC_REQUIRE([AX_FUNC_SYSCALL])dnl if test "x$ac_cv_header_sys_syscall_h" = "xyes"; then - AC_CACHE_CHECK([[whether syscall lseek requires dummy parameter]], [have_lseek_dummy_param], + AC_CACHE_CHECK([[whether syscall lseek requires dummy parameter]], [box_cv_have_lseek_dummy_param], [AC_RUN_IFELSE( [AC_LANG_PROGRAM([[ $ac_includes_default @@ -50,14 +50,14 @@ AC_DEFUN([AX_CHECK_SYSCALL_LSEEK], [ unlink("lseektest"); return res!=-1; ]])], - [have_lseek_dummy_param=yes], [have_lseek_dummy_param=no] + [box_cv_have_lseek_dummy_param=yes], [box_cv_have_lseek_dummy_param=no] )]) - if test "x$have_lseek_dummy_param" = "xyes"; then + if test "x$box_cv_have_lseek_dummy_param" = "xyes"; then AC_DEFINE([HAVE_LSEEK_DUMMY_PARAM], 1, [Define to 1 if syscall lseek requires a dummy middle parameter]) fi fi - if test "x$have_lseek_dummy_param" = "xno" + if test "x$box_cv_have_lseek_dummy_param" = "xno" then m4_ifvaln([$1],[$1],[:])dnl m4_ifvaln([$2],[else $2])dnl |