about summary refs log tree commit diff
path: root/pm_config.in.h
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2009-04-25 23:28:52 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2009-04-25 23:28:52 +0000
commit7ba3837172510a0a6be4d4a59c60014db8dc0028 (patch)
treeeaa7b3b8410608b0a82e23115b42873d84cbbbe7 /pm_config.in.h
parentd30690e8a6d494287d655e1bddd722f5c0bee432 (diff)
downloadnetpbm-mirror-7ba3837172510a0a6be4d4a59c60014db8dc0028.tar.gz
netpbm-mirror-7ba3837172510a0a6be4d4a59c60014db8dc0028.tar.xz
netpbm-mirror-7ba3837172510a0a6be4d4a59c60014db8dc0028.zip
Have RGB_DB_PATH instead of RGB_DB1, RGB_DB2, and RGB_DB3
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@895 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'pm_config.in.h')
-rw-r--r--pm_config.in.h19
1 files changed, 6 insertions, 13 deletions
diff --git a/pm_config.in.h b/pm_config.in.h
index cbc9348c..c822355e 100644
--- a/pm_config.in.h
+++ b/pm_config.in.h
@@ -58,19 +58,12 @@
 ** path here.  This is used by PPM to parse color names into rgb values.
 ** If you don't have such a file, comment this out and use the alternative
 ** hex and decimal forms to specify colors (see ppm/pgmtoppm.1 for details).  */
-/* There was some evidence before Netpbm 9.1 that the rgb database macros
-   might be already set right now.  I couldn't figure out how, so I changed
-   their meanings and they are now set unconditionally.  -Bryan 00.05.03.
-*/
-#ifdef VMS
-#define RGB_DB1 "PBMplus_Dir:RGB.TXT"
-#define RGB_DB2 "PBMplus_Dir:RGB.TXT"
-#define RGB_DB3 "PBMplus_Dir:RGB.TXT"
-#else
-#define RGB_DB1 "/usr/lib/X11/rgb.txt"
-#define RGB_DB2 "/usr/share/X11/rgb.txt"
-#define RGB_DB3 "/usr/X11R6/lib/X11/rgb.txt"
-#endif
+
+#define RGB_DB_PATH \
+"/usr/share/netpbm/rgb.txt:" \
+"/usr/lib/X11/rgb.txt:" \
+"/usr/share/X11/rgb.txt:" \
+"/usr/X11R6/lib/X11/rgb.txt"
 
 /* CONFIGURE: This is the name of an environment variable that tells
 ** where the color names database is.  If the environment variable isn't