1if test -z "$DLLD" -o "$optimization" != full; then
2  static=y
3else
4  static=${static-n}
5fi
6if test "$fastread" != yes; then
7  if test -z "$DLLD"; then
8    cat <<EOT
9==========================================================================
10We cannot build a dynamic executable. We will build the static version.
11EOT
12  else
13    cat <<EOT
14==========================================================================
15By default, we try to build the shared library and gp is an executable
16  dynamically linked with it. Do you prefer to have the static archive
17  libpari.a and a statically linked executable (which is a bit faster,
18  but takes more disk place) ?
19You can always type "make all" in case you want both later.
20EOT
21  echo $n "Do you want static executable and library ? $c"
22  dflt=$static; rep='y n'; . ./myread; static=$ans
23  fi
24fi
25case "$static" in
26  y) echo "Default is static executable and archive library";;
27  n) echo "Default is dynamic executable and shared library";;
28esac
29