about summary refs log tree commit diff
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2015-10-13 02:23:45 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2015-10-13 02:23:45 +0000
commit854b0798b5da6ea643770eb22799e3ef0a8f067f (patch)
treee8461bbb1b7de4d294358900738f8925156f2b4f
parent34bb7ddea51ea63a7ecd540110c32f31d16293e3 (diff)
downloadnetpbm-mirror-854b0798b5da6ea643770eb22799e3ef0a8f067f.tar.gz
netpbm-mirror-854b0798b5da6ea643770eb22799e3ef0a8f067f.tar.xz
netpbm-mirror-854b0798b5da6ea643770eb22799e3ef0a8f067f.zip
Don't try to compile code that uses parse_printf_format on a system that doesn't have it
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2648 9d0c8265-081b-0410-96cb-a4ca84ce46f8
-rw-r--r--converter/ppm/ppmtoarbtxt.c2
-rw-r--r--doc/HISTORY6
2 files changed, 7 insertions, 1 deletions
diff --git a/converter/ppm/ppmtoarbtxt.c b/converter/ppm/ppmtoarbtxt.c
index 12fb0c55..fc8927ce 100644
--- a/converter/ppm/ppmtoarbtxt.c
+++ b/converter/ppm/ppmtoarbtxt.c
@@ -436,6 +436,7 @@ validateParsePrintfFlag(int                const printfConversion,
 
 
 
+#if HAVE_PARSE_PRINTF_FORMAT
 static void
 validateFormatWithPpf(const char *       const format,
                       SkeletonObjectType const ctyp,
@@ -475,6 +476,7 @@ validateFormatWithPpf(const char *       const format,
         break;
     }
 }
+#endif
 
 
 
diff --git a/doc/HISTORY b/doc/HISTORY
index 2402c447..daae8176 100644
--- a/doc/HISTORY
+++ b/doc/HISTORY
@@ -6,8 +6,12 @@ CHANGE HISTORY
 
 not yet  BJH  Release 10.73.00
 
+              Build: fix undefined reference to parse_printf_format etc.
+              on system that doesn't have that facility.  Broken in 10.69
+              (December 2014).
+
               Build: fix superfluous error message when USER environment
-              variable contains whitespace.
+              variable contains whitespace.  Broken since primordial Netpbm.
 
 15.09.26 BJH  Release 10.72.00