2007-08-05  Juan Manuell Guerrero  <juan.guerrero@gmx.de>

	* makedefs.grx: Fix font path.


2007-08-02  Juan Manuell Guerrero  <juan.guerrero@gmx.de>

	* makedefs.grx: Definitions modified to get jpeg, png and pnm
	support.  Fonts are installed in $DJDIR/lib/fonts/grx following
	the way it is done for linux.




diff -aprNU5 mgrx-0.9.7.orig/makedefs.grx mgrx-0.9.7/makedefs.grx
--- mgrx-0.9.7.orig/makedefs.grx	2007-05-12 20:11:58 +0000
+++ mgrx-0.9.7/makedefs.grx	2007-08-02 16:25:38 +0000
@@ -6,18 +6,18 @@
 # Specify version of MGRX
 # Currently only used to generate name of shared libraries for linux
 MGRX_VERSION=0.9.7
 
 # Specify if you have libjpeg.a and corresponding .h files.
-HAVE_LIBJPEG=n
+HAVE_LIBJPEG=y
 
 # Specify if you have libpng.a and corresponding .h files.
-HAVE_LIBPNG=n
+HAVE_LIBPNG=y
 
 # Specify if one of the above libs requires the
 # zlib compression library
-NEED_ZLIB=n
+NEED_ZLIB=y
 
 # Specify if you want shared library support (Linux console and X11)
 INCLUDE_SHARED_SUPPORT=n
 
 # Specify in linux if you want to build the library for x86_64
@@ -37,14 +37,14 @@ LINUX_i386_CONSOLE    = $(SYSTEM_TAG_PRE
 LINUX_i386_X11        = $(SYSTEM_TAG_PREFIX).002
 DOS_DJGPP_V2          = $(SYSTEM_TAG_PREFIX).004
 WIN32_GCC_i386_STATIC = $(SYSTEM_TAG_PREFIX).006
 
 ifdef DEBUG
-CCOPT = -O1 -Wall -g -DDEBUG=$(DEBUG)
+CCOPT = -O2 -Wall -g -DDEBUG=$(DEBUG)
 LDOPT = -g
 else
-CCOPT = -O1 -Wall
+CCOPT = -O2 -Wall
 LDOPT =
 endif
 
 ifdef PROFILE
 CCOPT += -pg
@@ -141,11 +141,11 @@ ifdef GRXVDJ2
 
 # Put libmgrx.a to lib/dj2
 GRX_LIB_SUBDIR=dj2
 
 # Set the default GRX font path
-#MGRX_DEFAULT_FONT_PATH=c:/grxfonts
+MGRX_DEFAULT_FONT_PATH=$(DJDIR)/lib/fonts/grx
 
 endif
 
 ### WIN32 MINGW SPECIFIC #############################################
 
diff -aprNU5 mgrx-0.9.7.orig/makedefs.grx mgrx-0.9.7/makedefs.grx
--- mgrx-0.9.7.orig/makedefs.grx	2007-08-05 13:19:18 +0000
+++ mgrx-0.9.7/makedefs.grx	2007-08-05 13:20:08 +0000
@@ -141,11 +141,11 @@ ifdef GRXVDJ2
 
 # Put libmgrx.a to lib/dj2
 GRX_LIB_SUBDIR=dj2
 
 # Set the default GRX font path
-MGRX_DEFAULT_FONT_PATH=$(DJDIR)/lib/fonts/grx
+MGRX_DEFAULT_FONT_PATH=/dev/env/DJDIR/lib/fonts/grx
 
 endif
 
 ### WIN32 MINGW SPECIFIC #############################################
 
