From: oetiker Date: Thu, 9 Jul 2009 20:14:29 +0000 (+0000) Subject: Silence automake portability warnings caused by multiple inference rules. -- kevin... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1051270df5315771511c39abae48cabbdfca5671;p=rrdtool-all.git Silence automake portability warnings caused by multiple inference rules. -- kevin brintnall git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1868 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/program/doc/Makefile.am b/program/doc/Makefile.am index 617beb36..4af8d7b0 100644 --- a/program/doc/Makefile.am +++ b/program/doc/Makefile.am @@ -1,8 +1,8 @@ ## Process this file with automake to produce Makefile.in -SUFFIXES = .pod .1 .man .html .txt .pm .pdf .inc +SUFFIXES = .pod .pl .1 .man .html .txt .pm .pdf .inc -#AUTOMAKE_OPTIONS = foreign +AUTOMAKE_OPTIONS = foreign #ACLOCAL_M4 = $(top_srcdir)/config/aclocal.m4 diff --git a/program/src/rrd_thread_safe.c b/program/src/rrd_thread_safe.c index 6e30115b..e1e3cbea 100644 --- a/program/src/rrd_thread_safe.c +++ b/program/src/rrd_thread_safe.c @@ -66,7 +66,7 @@ const char *rrd_strerror( /* Even though POSIX/XSI requires "strerror_r" to return an "int", some * systems (e.g. the GNU libc) return a "char *" _and_ ignore the second * argument ... -tokkee */ -#if STRERROR_R_CHAR_P +#ifdef STRERROR_R_CHAR_P ret = strerror_r(err, ctx->lib_errstr, sizeof(ctx->lib_errstr)); if ((! ret) || (*ret == '\0')) { if (*ctx->lib_errstr != '\0')