Further enhance assembler support on Cygwin and DJGPP.
authorRichard Levitte <levitte@openssl.org>
Thu, 18 Jul 2002 12:37:59 +0000 (12:37 +0000)
committerRichard Levitte <levitte@openssl.org>
Thu, 18 Jul 2002 12:37:59 +0000 (12:37 +0000)
Make pod2mantest useable on DOS-based systems.
Part of PR 75, the rest is still under investigation.

crypto/perlasm/x86asm.pl
util/pod2mantest

index 81c6e64e871a7593ec646fa1f8cc1378ee751dbe..9a3d85b0984b2e3448154c97e0f081e76db06c9a 100644 (file)
@@ -87,6 +87,12 @@ $tmp
 #ifdef OUT
 #define OK     1
 #define ALIGN  4
+#if defined(__CYGWIN__) || defined(__DJGPP__)
+#undef SIZE
+#undef TYPE
+#define SIZE(a,b)
+#define TYPE(a,b)
+#endif /* __CYGWIN || __DJGPP */
 #endif
 
 #if defined(BSDI) && !defined(ELF)
index 449ef14f1b438426ccf82f3a2d46f0243c08689d..8e913180c54f868a22ae63c3e1d29691c5e005f0 100755 (executable)
@@ -11,6 +11,7 @@
 
 
 IFS=:
+if test "$OSTYPE" = "msdosdjgpp"; then IFS=";"; fi
 try_without_dir=false
 # First we try "pod2man", then "$dir/pod2man" for each item in $PATH.
 for dir in dummy:$PATH; do