about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--converter/other/jbig/Makefile4
-rw-r--r--converter/other/jpeg2000/Makefile10
-rw-r--r--doc/HISTORY3
3 files changed, 12 insertions, 5 deletions
diff --git a/converter/other/jbig/Makefile b/converter/other/jbig/Makefile
index 30e634f1..ae16a728 100644
--- a/converter/other/jbig/Makefile
+++ b/converter/other/jbig/Makefile
@@ -11,7 +11,9 @@ LIBJBIG_OBJECTS = jbig.o jbig_tab.o
 
 EXTERN_INCLUDES =
 ifneq ($(JBIGHDR_DIR),NONE)
-  EXTERN_INCLUDES += -I$(JBIGHDR_DIR)
+  ifneq ($(JBIGHDR_DIR)x,x)
+    EXTERN_INCLUDES += -I$(JBIGHDR_DIR)
+  endif
 endif
 
 ifneq ($(JBIGHDR_DIR),NONE)
diff --git a/converter/other/jpeg2000/Makefile b/converter/other/jpeg2000/Makefile
index 4afe4ffd..009232d7 100644
--- a/converter/other/jpeg2000/Makefile
+++ b/converter/other/jpeg2000/Makefile
@@ -10,16 +10,18 @@ SUBDIRS = libjasper
 include $(BUILDDIR)/config.mk
 
 EXTERN_INCLUDES =
-ifneq ($(JASPERHDR_DIR),NONE)
-  EXTERN_INCLUDES += -I$(JASPERHDR_DIR)
-endif
-
 
 # INTERNAL_JASPERLIB must be relative to the current directory, because it
 # may end up in MERGE_OBJECTS, which must be relative.
 INTERNAL_JASPERLIB = libjasper/libjasper.a
 INTERNAL_JASPERHDR_DIR = $(SRCDIR)/$(SUBDIR)/libjasper/include
 
+ifneq ($(JASPERHDR_DIR),NONE)
+  ifneq ($(JASPERHDR_DIR)x,x)
+    EXTERN_INCLUDES += -I$(JASPERHDR_DIR)
+  endif
+endif
+
 ifeq ($(JASPERLIB),$(INTERNAL_JASPERLIB))
   ifeq ($(HAVE_INT64),Y)
     JASPERLIB_DEP = $(JASPERLIB)
diff --git a/doc/HISTORY b/doc/HISTORY
index 574b60e4..4bfd91b2 100644
--- a/doc/HISTORY
+++ b/doc/HISTORY
@@ -39,6 +39,9 @@ not yet  BJH  Release 10.67.00
               Windows build: include an icon in every executable.  The icon
               was designed by Ron Vantreese (ait_frog-netpbm@yahoo.com).
 
+              Build: fix bug in which null value is not taken to mean
+              "in the system search path" for JBIGHDR_DIR and JASPERHDR_DIR.
+
               Build: Fix inconsistent use of upper and lower case Y and N in 
               make variables, causing static library not to get built.
               Introduced in 10.66.