about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/sysv4/solaris2/configure
blob: 9dc976812c5cc0fd8e8b73946051aca09275dabe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
 # Local configure fragment for sysdeps/unix/sysv/sysv4/solaris2

# Concensus on stdio is that it's broken.
test $stdio = default && stdio=libio

# Crypt is your friend.
case $add_ons in
  *crypt*)
    message=
    ;;
  *)
    message="\
*** WARNING:
*** Are you sure you do not want to use the \`crypt' add-on?"
    ;;
esac

if test "$message"; then
  if test $enable_sanity = yes; then
    echo "\
*** You should not compile the GNU libc without the \`crypt' add-on.
*** Not using them risks to be incompatible with the libraries of
*** other systems.  Consider getting the add-on and restart the
*** configuration.
*** If you reall mean to avoid this add-on run configure again, now
*** using the extra parameter \`--disable-sanity-checks'."
    exit 1
  else
    echo "$message"
  fi
fi