From: Enrico Scholz Date: Sat, 14 Feb 2004 01:21:02 +0000 (+0000) Subject: fixed auto-case X-Git-Tag: VERSION_0_10~669 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3782c16007ff5109cb9c5d49e63b3ca38fe9d2c;p=util-vserver.git fixed auto-case improved message git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@892 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/util-vserver/m4/ensc_syscallnr.m4 b/util-vserver/m4/ensc_syscallnr.m4 index 1ab1e7e..28297cf 100644 --- a/util-vserver/m4/ensc_syscallnr.m4 +++ b/util-vserver/m4/ensc_syscallnr.m4 @@ -22,7 +22,7 @@ AC_DEFUN([ENSC_SYSCALLNR], AC_REQUIRE([ENSC_KERNEL_HEADERS]) AC_REQUIRE([AC_PROG_EGREP]) - AC_CACHE_CHECK([for syscall '$1'], [ensc_cv_value_syscall_$1], + AC_CACHE_CHECK([for number of syscall '$1'], [ensc_cv_value_syscall_$1], [ AC_LANG_PUSH(C) AC_EGREP_CPP(ensc_cv_value_syscall_$1=auto, [ @@ -49,7 +49,7 @@ ensc_cv_value_syscall_$1=$2 AC_LANG_POP ]) - if test "$ensc_cv_value_syscall_$1" != xauto; then + if test x"$ensc_cv_value_syscall_$1" != xauto; then AC_DEFINE_UNQUOTED(ENSC_SYSCALL__NR_$1, $ensc_cv_value_syscall_$1, [The number of the $1 syscall]) fi ])