XEmacs 21.2.41 "Polyhymnia".
[chise/xemacs-chise.git] / src / s / netbsd.h
index 6b84bd0..682ff74 100644 (file)
 
 #define HAVE_TEXT_START                /* No need to define `start_of_text'.  */
 #define ORDINARY_LINK
+
+/* As of this writing (Netbsd 1.5 was just released), Netbsd is
+   converting from a.out to elf - x86 and Sparc are using ELF.
+   But we're clever and let the compiler tell us which one to use.  */
+#ifdef __ELF__
+#define UNEXEC "unexelf.o"
+#else
 #define UNEXEC "unexfreebsd.o"  /* ironic, considering history of unexfreebsd */
+#endif
 
 #if 0
 /* Try to make this work for both 0.9 and >0.9.  */