Put double quotes around use of $cross_compiling.
authorJim Meyering <jim@meyering.net>
Sat, 1 Jul 2000 09:04:56 +0000 (09:04 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 1 Jul 2000 09:04:56 +0000 (09:04 +0000)
m4/uptime.m4

index c6f637d..74fef5e 100644 (file)
@@ -1,4 +1,4 @@
-#serial 3
+#serial 4
 
 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 $cross_compiling = 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