Add libscheck for Solaris.
[p5sagit/p5-mst-13.2.git] / hints / dos_djgpp.sh
index 1b4a845..7c59428 100644 (file)
@@ -7,7 +7,7 @@
 archname='dos-djgpp'
 archobjs='djgpp.o'
 path_sep=\;
-startsh="#!sh"
+startsh="#! /bin/sh"
 
 cc='gcc'
 ld='gcc'
@@ -23,12 +23,9 @@ firstmakefile='GNUmakefile'
 exe_ext='.exe'
 
 randbits=31
-
-ln='cp'             # no REAL ln on dos
 lns='cp'
 
 usenm='true'
-d_bincompat3='undef'
 
 d_link='undef'      # these are empty functions in libc.a
 d_symlink='undef'
@@ -55,19 +52,14 @@ sitearch=$sitelib
 eagain='EAGAIN'
 rd_nodata='-1'
 
-: set up the translation script tr
-
-cat > UU/tr <<EOSC
-$startsh
-case "\$1\$2" in
-'[A-Z][a-z]') exec tr.exe '[:upper:]' '[:lower:]';;
-'[a-z][A-Z]') exec tr.exe '[:lower:]' '[:upper:]';;
+# 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
-exec tr.exe "\$@"
-EOSC
-
-if [ "X$usethreads" = "X$define" ]; then
-    set `echo X "$libswanted "| sed -e 's/ c / gthreads c /'`
-    shift
-    libswanted="$*"
-fi
+EOCBU