archname='dos-djgpp'
archobjs='djgpp.o'
path_sep=\;
-startsh="#!sh"
+startsh="#! /bin/sh"
cc='gcc'
ld='gcc'
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'
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