* lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
* lib/compiler.cc: Likewise.
+2004-07-02 Michael Chastain <mec.gnu@mindspring.com>
+
+ * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
+ * lib/compiler.cc: Likewise.
+
2004-06-30 Michael Chastain <mec.gnu@mindspring.com>
* lib/compiler.cc: Work around string preprocessing problem
#endif
#endif
+#if defined (__HP_CXD_SPP)
+/* older hp ansi c, such as A.11.01.25171.gp, defines this */
+set compiler_info [join {hpcc __HP_CXD_SPP} -]
+#endif
+
#if defined (__HP_cc)
+/* newer hp ansi c, such as B.11.11.28706.gp, defines this */
set compiler_info [join {hpcc __HP_cc} -]
#endif
#endif
#endif
+#if defined (__HP_CXD_SPP)
+/* older hp ansi c, such as A.11.01.25171.gp, defines this */
+set compiler_info [join {hpcc __HP_CXD_SPP} -]
+#endif
+
#if defined (__HP_cc)
+/* newer hp ansi c, such as B.11.11.28706.gp, defines this */
set compiler_info [join {hpcc __HP_cc} -]
#endif