3 # talk to gufl0000@stud.uni-sb.de if you want to change this file.
4 # Please read the README.mint file.
9 atarist*) archname="m68000-mint"
11 *) archname="m68k-mint"
15 here=`pwd | tr -d '\015'`
19 # The weird include path is really to work around some bugs in
20 # broken system header files.
21 ccflags="$ccflags -D__MINT__ -Uatarist -DDEBUGGING -I$here/../mint"
25 libpth="$prefix/lib /usr/lib /usr/local/lib"
29 libswanted='gdbm socket port m'
33 # compiler & linker flags
35 optimize='-O2 -fomit-frame-pointer -fno-defer-pop -fstrength-reduce'
37 # The setlocale function in the MiNTLib is actually a bad joke. We
38 # lend a workaround from Ultrix. If neither LC_ALL nor LANG is
39 # set in the environment, perl won't complain. If one is set to
40 # anything but "C" you will see a warning. Note that you can
41 # still use the GNU extension "$LANGUAGE" if you want to use
42 # the i18n features of some GNU packages.
43 util_cflags='ccflags="$ccflags -DLOCALE_ENVIRON_REQUIRED"'
46 # Some good answers to the questions in Configure:
47 # Does Configure really get all these wrong?
61 # Don't remove that leading tab character (Configure Black Magic (TM)).
63 case "`/bin/pwd|tr -d xy|tr '\015\012' 'xy'`" in
64 *xy) broken_pwd=yes ;;
67 if test X"$broken_pwd" = Xyes
70 echo "*** Building fixed 'pwd'... (as described in README.mint) ***"
75 if test -x mint/pwd -a -w /usr/bin
78 echo "*** Installing fixed 'pwd'... ***"
83 if cmp -s mint/pwd /usr/bin/pwd
85 echo "*** Installed fixed 'pwd' successfully. ***"
87 echo "*** Failed to install fixed 'pwd'. Aborting. ***"
91 echo "*** Cannot install fixed 'pwd'. Aborting. ***"