From 5ce4dc18574066036e13835fbb971bc6f6b33109 Mon Sep 17 00:00:00 2001 From: Kwok-Koon Cheung Date: Fri, 28 Sep 2001 21:03:02 +0000 Subject: [PATCH] Adding double quotes around values in test expression --- ChangeLog | 5 +++++ ChangeLog.pre-2-0 | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ ChangeLog.pre-2-12 | 5 +++++ ChangeLog.pre-2-2 | 5 +++++ ChangeLog.pre-2-4 | 5 +++++ ChangeLog.pre-2-6 | 5 +++++ ChangeLog.pre-2-8 | 5 +++++ configure.in | 18 +++++++++--------- 9 files changed, 49 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index 16fb08e8a..54c88081d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-09-29 Abel Cheung + + * configure.in: Add quotes around test values. This fixes a minor + annoying warning if platform is not win32. + 2001-09-27 Manish Singh * glib/grand.c (g_rand_new): fix typo (#if->#ifdef) so it compiles diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 16fb08e8a..54c88081d 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,8 @@ +2001-09-29 Abel Cheung + + * configure.in: Add quotes around test values. This fixes a minor + annoying warning if platform is not win32. + 2001-09-27 Manish Singh * glib/grand.c (g_rand_new): fix typo (#if->#ifdef) so it compiles diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 16fb08e8a..54c88081d 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +2001-09-29 Abel Cheung + + * configure.in: Add quotes around test values. This fixes a minor + annoying warning if platform is not win32. + 2001-09-27 Manish Singh * glib/grand.c (g_rand_new): fix typo (#if->#ifdef) so it compiles diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index 16fb08e8a..54c88081d 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,3 +1,8 @@ +2001-09-29 Abel Cheung + + * configure.in: Add quotes around test values. This fixes a minor + annoying warning if platform is not win32. + 2001-09-27 Manish Singh * glib/grand.c (g_rand_new): fix typo (#if->#ifdef) so it compiles diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 16fb08e8a..54c88081d 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,8 @@ +2001-09-29 Abel Cheung + + * configure.in: Add quotes around test values. This fixes a minor + annoying warning if platform is not win32. + 2001-09-27 Manish Singh * glib/grand.c (g_rand_new): fix typo (#if->#ifdef) so it compiles diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 16fb08e8a..54c88081d 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,8 @@ +2001-09-29 Abel Cheung + + * configure.in: Add quotes around test values. This fixes a minor + annoying warning if platform is not win32. + 2001-09-27 Manish Singh * glib/grand.c (g_rand_new): fix typo (#if->#ifdef) so it compiles diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 16fb08e8a..54c88081d 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +2001-09-29 Abel Cheung + + * configure.in: Add quotes around test values. This fixes a minor + annoying warning if platform is not win32. + 2001-09-27 Manish Singh * glib/grand.c (g_rand_new): fix typo (#if->#ifdef) so it compiles diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 16fb08e8a..54c88081d 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +2001-09-29 Abel Cheung + + * configure.in: Add quotes around test values. This fixes a minor + annoying warning if platform is not win32. + 2001-09-27 Manish Singh * glib/grand.c (g_rand_new): fix typo (#if->#ifdef) so it compiles diff --git a/configure.in b/configure.in index 010b395a7..31c10bcc1 100644 --- a/configure.in +++ b/configure.in @@ -122,7 +122,7 @@ case "$host" in ;; esac AC_MSG_RESULT([$glib_native_win32]) -AM_CONDITIONAL(OS_WIN32, test x$glib_native_win32 = xyes) +AM_CONDITIONAL(OS_WIN32, test "$glib_native_win32" = "yes") AC_SUBST(G_LIB_WIN32_RESOURCE) AC_SUBST(G_MODULE_WIN32_RESOURCE) AC_SUBST(G_OBJECT_WIN32_RESOURCE) @@ -134,10 +134,10 @@ AC_SUBST(GTHREAD_DEF) AC_SUBST(TESTGMODULE_EXP) ms_librarian=no -if test $glib_native_win32 = yes; then +if test "$glib_native_win32" = "yes"; then AC_CHECK_PROG(ms_librarian, lib.exe, yes, no) fi -AM_CONDITIONAL(MS_LIB_AVAILABLE, test $ms_librarian = yes) +AM_CONDITIONAL(MS_LIB_AVAILABLE, test x$ms_librarian = xyes) GLIB_AC_DIVERT_BEFORE_HELP([ # figure debugging default, prior to $ac_help setup @@ -577,7 +577,7 @@ extern int sys_nerr; sys_errlist[sys_nerr-1][0] = 0; ], glib_ok=yes, glib_ok=no) AC_MSG_RESULT($glib_ok) -if test $glib_ok = no; then +if test "$glib_ok" = "no"; then AC_DEFINE(NO_SYS_ERRLIST,1,[global 'sys_errlist' not found]) fi @@ -588,7 +588,7 @@ extern char *sys_siglist[]; exit (sys_siglist[0]); ], glib_ok=yes, glib_ok=no) AC_MSG_RESULT($glib_ok) -if test $glib_ok = no; then +if test "$glib_ok" = "no"; then AC_DEFINE(NO_SYS_SIGLIST,1,[global 'sys_siglist' not found]) fi @@ -598,7 +598,7 @@ AC_TRY_COMPILE([#include ], [ strlen (sys_siglist[0]); ], glib_ok=yes, glib_ok=no) AC_MSG_RESULT($glib_ok) -if test $glib_ok = no; then +if test "$glib_ok" = "no"; then AC_DEFINE(NO_SYS_SIGLIST_DECL,1,[global 'sys_siglist' not declared]) fi @@ -606,11 +606,11 @@ fi AC_MSG_CHECKING([for fd_set]) AC_TRY_COMPILE([#include ], [fd_set readMask, writeMask;], gtk_ok=yes, gtk_ok=no) -if test $gtk_ok = yes; then +if test "$gtk_ok" = "yes"; then AC_MSG_RESULT([yes, found in sys/types.h]) else AC_EGREP_HEADER(fd_set, sys/select.h, gtk_ok=yes) - if test $gtk_ok = yes; then + if test "$gtk_ok" = "yes"; then # *** FIXME: give it a different name AC_DEFINE(HAVE_SYS_SELECT_H,1,[found fd_set in sys/select.h]) AC_MSG_RESULT([yes, found in sys/select.h]) @@ -658,7 +658,7 @@ char *p = malloc(10); (void) strlcat(p, "bye", 10); ], glib_ok=yes, glib_ok=no) AC_MSG_RESULT($glib_ok) -if test $glib_ok = yes; then +if test "$glib_ok" = "yes"; then AC_DEFINE(HAVE_STRLCPY,1,[Have functions strlcpy and strlcat]) fi