This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Introduce ccname to keep track of what compiler kind of we have.
[perl5.git] / hints / dos_djgpp.sh
index 7c59428..d50bca4 100644 (file)
@@ -3,6 +3,7 @@
 
 # 971015 - archname changed from 'djgpp' to 'dos-djgpp'
 # 971210 - threads support
+# 000222 - added -DPERL_EXTERNAL_GLOB to ccflags
 
 archname='dos-djgpp'
 archobjs='djgpp.o'
@@ -27,6 +28,9 @@ lns='cp'
 
 usenm='true'
 
+# this reportedly causes compile errors in system includes
+i_ieeefp='undef'
+
 d_link='undef'      # these are empty functions in libc.a
 d_symlink='undef'
 d_fork='undef'
@@ -39,6 +43,7 @@ case "X$optimize" in
        optimize="-O2 -malign-loops=2 -malign-jumps=2 -malign-functions=2"
        ;;
 esac
+ccflags="$ccflags -DPERL_EXTERNAL_GLOB"
 ldflags='-s'
 usemymalloc='n'
 timetype='time_t'