summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-05-08 21:08:44 +0000
committerJeffrey Stedfast <fejj@src.gnome.org>2001-05-08 21:08:44 +0000
commitc85dac63286218662dd6d8b3c8570c08beb61e6a (patch)
tree710927a30f134f718c02b7f5d3b17252c42bf266
parent5cdbdfbb6e7fac89c3e8e4641932b9e0f68adb13 (diff)
downloadgmime-c85dac63286218662dd6d8b3c8570c08beb61e6a.tar.gz
Oops, take out the check for isblank().
2001-05-08 Jeffrey Stedfast <fejj@ximian.com> * gmime-table-private.h: Oops, take out the check for isblank(). * internet-address.c (decode_quoted_string): Get rid of unused variable. (decode_address): Same.
-rw-r--r--ChangeLog8
-rw-r--r--aclocal.m447
-rw-r--r--gmime-table-private.h4
-rw-r--r--gmime/gmime-table-private.h4
-rw-r--r--gmime/internet-address.c3
-rw-r--r--internet-address.c3
6 files changed, 34 insertions, 35 deletions
diff --git a/ChangeLog b/ChangeLog
index f04e0bfa..d28295d0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2001-05-08 Jeffrey Stedfast <fejj@ximian.com>
+
+ * gmime-table-private.h: Oops, take out the check for isblank().
+
+ * internet-address.c (decode_quoted_string): Get rid of unused
+ variable.
+ (decode_address): Same.
+
2001-04-03 Jeffrey Stedfast <fejj@ximian.com>
* internet-address.c (decode_domain): Try to only get
diff --git a/aclocal.m4 b/aclocal.m4
index 0d002776..1d2e97b2 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -265,7 +265,12 @@ NONE) lt_target="$host" ;;
esac
# Check for any special flags to pass to ltconfig.
-libtool_flags="--cache-file=$cache_file"
+#
+# the following will cause an existing older ltconfig to fail, so
+# we ignore this at the expense of the cache file... Checking this
+# will just take longer ... bummer!
+#libtool_flags="--cache-file=$cache_file"
+#
test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
@@ -564,35 +569,31 @@ esac
])
# AC_LIBLTDL_CONVENIENCE[(dir)] - sets LIBLTDL to the link flags for
-# the libltdl convenience library and INCLTDL to the include flags for
-# the libltdl header and adds --enable-ltdl-convenience to the
-# configure arguments. Note that LIBLTDL and INCLTDL are not
-# AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If DIR is not
-# provided, it is assumed to be `libltdl'. LIBLTDL will be prefixed
-# with '${top_builddir}/' and INCLTDL will be prefixed with
-# '${top_srcdir}/' (note the single quotes!). If your package is not
-# flat and you're not using automake, define top_builddir and
-# top_srcdir appropriately in the Makefiles.
+# the libltdl convenience library, adds --enable-ltdl-convenience to
+# the configure arguments. Note that LIBLTDL is not AC_SUBSTed, nor
+# is AC_CONFIG_SUBDIRS called. If DIR is not provided, it is assumed
+# to be `${top_builddir}/libltdl'. Make sure you start DIR with
+# '${top_builddir}/' (note the single quotes!) if your package is not
+# flat, and, if you're not using automake, define top_builddir as
+# appropriate in the Makefiles.
AC_DEFUN(AC_LIBLTDL_CONVENIENCE, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
case "$enable_ltdl_convenience" in
no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
"") enable_ltdl_convenience=yes
ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
esac
- LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la
- INCLTDL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
+ LIBLTDL=ifelse($#,1,$1,['${top_builddir}/libltdl'])/libltdlc.la
+ INCLTDL=ifelse($#,1,-I$1,['-I${top_builddir}/libltdl'])
])
# AC_LIBLTDL_INSTALLABLE[(dir)] - sets LIBLTDL to the link flags for
-# the libltdl installable library and INCLTDL to the include flags for
-# the libltdl header and adds --enable-ltdl-install to the configure
-# arguments. Note that LIBLTDL and INCLTDL are not AC_SUBSTed, nor is
-# AC_CONFIG_SUBDIRS called. If DIR is not provided and an installed
-# libltdl is not found, it is assumed to be `libltdl'. LIBLTDL will
-# be prefixed with '${top_builddir}/' and INCLTDL will be prefixed
-# with '${top_srcdir}/' (note the single quotes!). If your package is
-# not flat and you're not using automake, define top_builddir and
-# top_srcdir appropriately in the Makefiles.
+# the libltdl installable library, and adds --enable-ltdl-install to
+# the configure arguments. Note that LIBLTDL is not AC_SUBSTed, nor
+# is AC_CONFIG_SUBDIRS called. If DIR is not provided, it is assumed
+# to be `${top_builddir}/libltdl'. Make sure you start DIR with
+# '${top_builddir}/' (note the single quotes!) if your package is not
+# flat, and, if you're not using automake, define top_builddir as
+# appropriate in the Makefiles.
# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
AC_DEFUN(AC_LIBLTDL_INSTALLABLE, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
AC_CHECK_LIB(ltdl, main,
@@ -605,8 +606,8 @@ AC_DEFUN(AC_LIBLTDL_INSTALLABLE, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
])
if test x"$enable_ltdl_install" = x"yes"; then
ac_configure_args="$ac_configure_args --enable-ltdl-install"
- LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la
- INCLTDL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
+ LIBLTDL=ifelse($#,1,$1,['${top_builddir}/libltdl'])/libltdl.la
+ INCLTDL=ifelse($#,1,-I$1,['-I${top_builddir}/libltdl'])
else
ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
LIBLTDL="-lltdl"
diff --git a/gmime-table-private.h b/gmime-table-private.h
index 7350960a..cf613d7c 100644
--- a/gmime-table-private.h
+++ b/gmime-table-private.h
@@ -63,10 +63,6 @@ enum {
#define is_especial(x) ((gmime_special_table[(unsigned char)(x)] & IS_ESPECIAL) != 0)
#define is_psafe(x) ((gmime_special_table[(unsigned char)(x)] & IS_PSAFE) != 0)
-#ifndef HAVE_ISBLANK
-#define isblank(c) ((c) == ' ' || (c) == '\t')
-#endif /* HAVE_ISBLANK */
-
#define CHARS_LWSP " \t\n\r" /* linear whitespace chars */
#define CHARS_TSPECIAL "()<>@,;:\\\"/[]?="
#define CHARS_SPECIAL "()<>@,;:\\\".[]"
diff --git a/gmime/gmime-table-private.h b/gmime/gmime-table-private.h
index 7350960a..cf613d7c 100644
--- a/gmime/gmime-table-private.h
+++ b/gmime/gmime-table-private.h
@@ -63,10 +63,6 @@ enum {
#define is_especial(x) ((gmime_special_table[(unsigned char)(x)] & IS_ESPECIAL) != 0)
#define is_psafe(x) ((gmime_special_table[(unsigned char)(x)] & IS_PSAFE) != 0)
-#ifndef HAVE_ISBLANK
-#define isblank(c) ((c) == ' ' || (c) == '\t')
-#endif /* HAVE_ISBLANK */
-
#define CHARS_LWSP " \t\n\r" /* linear whitespace chars */
#define CHARS_TSPECIAL "()<>@,;:\\\"/[]?="
#define CHARS_SPECIAL "()<>@,;:\\\".[]"
diff --git a/gmime/internet-address.c b/gmime/internet-address.c
index dd5c6d3e..be4c4456 100644
--- a/gmime/internet-address.c
+++ b/gmime/internet-address.c
@@ -321,7 +321,6 @@ static char *
decode_quoted_string (const char **in)
{
const char *inptr = *in;
- GString *string = NULL;
char *out = NULL;
decode_lwsp (&inptr);
@@ -657,7 +656,7 @@ decode_mailbox (const char **in)
static InternetAddress *
decode_address (const char **in)
{
- InternetAddress *addr = NULL, *member;
+ InternetAddress *addr = NULL;
const char *inptr, *start;
GString *name;
char *pre;
diff --git a/internet-address.c b/internet-address.c
index dd5c6d3e..be4c4456 100644
--- a/internet-address.c
+++ b/internet-address.c
@@ -321,7 +321,6 @@ static char *
decode_quoted_string (const char **in)
{
const char *inptr = *in;
- GString *string = NULL;
char *out = NULL;
decode_lwsp (&inptr);
@@ -657,7 +656,7 @@ decode_mailbox (const char **in)
static InternetAddress *
decode_address (const char **in)
{
- InternetAddress *addr = NULL, *member;
+ InternetAddress *addr = NULL;
const char *inptr, *start;
GString *name;
char *pre;