Defer inclusion of VMS-specific code to runtime
[p5sagit/p5-mst-13.2.git] / hints / dos_djgpp.sh
index 94c09d0..7c59428 100644 (file)
@@ -52,3 +52,14 @@ sitearch=$sitelib
 eagain='EAGAIN'
 rd_nodata='-1'
 
+# This script UU/usethreads.cbu will get 'called-back' by Configure 
+# after it has prompted the user for whether to use threads.
+cat > UU/usethreads.cbu <<'EOCBU'
+case "$usethreads" in
+$define|true|[yY]*)
+        set `echo X "$libswanted "| sed -e 's/ c / gthreads c /'`
+        shift
+        libswanted="$*"
+       ;;
+esac
+EOCBU