[ Fix originally suggested by Robert Marchand ]

This patch fixes a problem in the 3.1.x Makefile.config.in file which
didn't really affect things much until 3.1.6, when the DEFS macro
started to matter because regex.c now uses it to decide whether to
include htconfig.h.  This caused a problem compiling on SGI systems,
because a critical definition was missing.

Apply this patch in your main htdig-3.1.6 source directory using the
command:  patch -p0 < this-message-file

--- Makefile.config.in.orig     Thu Jan 31 17:47:14 2002
+++ Makefile.config.in  Thu Feb  7 14:57:11 2002
@@ -23,7 +23,7 @@ AR=           @AR@
 PDF_PARSER=    @PDF_PARSER@
 SENDMAIL=      @SENDMAIL@
 
-DEFINES=       -DDEFAULT_CONFIG_FILE=\"$(DEFAULT_CONFIG_FILE)\"
+DEFINES=       @DEFS@ -DDEFAULT_CONFIG_FILE=\"$(DEFAULT_CONFIG_FILE)\"
 LIBDIRS=       -L../htlib -L../htcommon -L../db/dist -L/usr/lib
 INCS=          -I$(top_srcdir)/htlib -I$(top_srcdir)/htcommon \
                -I../db/dist -I../include

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930

_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to