From 37cbfc8c6b1b9ba500ea317fce50d9659a27b973 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 26 May 2000 21:39:16 +0000 Subject: Use `$cross_compiling', not `$ac_cv_prog_cc_cross'. --- m4/uptime.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'm4/uptime.m4') diff --git a/m4/uptime.m4 b/m4/uptime.m4 index 86570fa31..c6f637df8 100644 --- a/m4/uptime.m4 +++ b/m4/uptime.m4 @@ -1,4 +1,4 @@ -#serial 2 +#serial 3 AC_PREREQ(2.13) @@ -8,7 +8,7 @@ AC_DEFUN(jm_SYS_PROC_UPTIME, AC_CACHE_CHECK([for /proc/uptime], jm_cv_have_proc_uptime, [jm_cv_have_proc_uptime=no test -f /proc/uptime \ - && test $ac_cv_prog_cc_cross = no \ + && test $cross_compiling = no \ && cat < /proc/uptime >/dev/null 2>/dev/null \ && jm_cv_have_proc_uptime=yes]) if test $jm_cv_have_proc_uptime = yes; then -- cgit v1.2.3-54-g00ecf