dect
/
libpcap
Archived
13
0
Fork 0

Put variables in quotes when testing them in "test" commands, so that

the test doesn't get a syntax error if the variable isn't set or is set
to a null string.
This commit is contained in:
guy 2002-06-29 04:21:09 +00:00
parent f6bcb3d546
commit 69d070984f
2 changed files with 7 additions and 7 deletions

8
aclocal.m4 vendored
View File

@ -1,4 +1,4 @@
dnl @(#) $Header: /tcpdump/master/libpcap/aclocal.m4,v 1.76 2002-06-28 10:34:35 guy Exp $ (LBL) dnl @(#) $Header: /tcpdump/master/libpcap/aclocal.m4,v 1.77 2002-06-29 04:21:09 guy Exp $ (LBL)
dnl dnl
dnl Copyright (c) 1995, 1996, 1997, 1998 dnl Copyright (c) 1995, 1996, 1997, 1998
dnl The Regents of the University of California. All rights reserved. dnl The Regents of the University of California. All rights reserved.
@ -188,14 +188,14 @@ AC_DEFUN(AC_LBL_C_INLINE,
return &xxx; return &xxx;
}],ac_lbl_cc_inline=yes,) }],ac_lbl_cc_inline=yes,)
if test $ac_lbl_cc_inline = yes ; then if test "$ac_lbl_cc_inline" = yes ; then
break; break;
fi fi
done done
if test $ac_lbl_cc_inline = yes ; then if test "$ac_lbl_cc_inline" = yes ; then
ac_cv_lbl_inline=$i ac_cv_lbl_inline=$i
fi]) fi])
if test ! -z $ac_cv_lbl_inline ; then if test ! -z "$ac_cv_lbl_inline" ; then
AC_MSG_RESULT($ac_cv_lbl_inline) AC_MSG_RESULT($ac_cv_lbl_inline)
else else
AC_MSG_RESULT(not supported) AC_MSG_RESULT(not supported)

6
configure vendored
View File

@ -1165,16 +1165,16 @@ else
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
fi fi
rm -f conftest* rm -f conftest*
if test $ac_lbl_cc_inline = yes ; then if test "$ac_lbl_cc_inline" = yes ; then
break; break;
fi fi
done done
if test $ac_lbl_cc_inline = yes ; then if test "$ac_lbl_cc_inline" = yes ; then
ac_cv_lbl_inline=$i ac_cv_lbl_inline=$i
fi fi
fi fi
if test ! -z $ac_cv_lbl_inline ; then if test ! -z "$ac_cv_lbl_inline" ; then
echo "$ac_t""$ac_cv_lbl_inline" 1>&6 echo "$ac_t""$ac_cv_lbl_inline" 1>&6
else else
echo "$ac_t""not supported" 1>&6 echo "$ac_t""not supported" 1>&6