1 --- freecraft-030226/setup.orig Fri Feb 28 23:46:25 2003
2 +++ freecraft-030226/setup Fri Feb 28 23:53:31 2003
6 echo -n "Please enter selection: (s) "
8 + if [ -n "$WITH_VIDEO" ]; then
20 echo -n "Do you want to compile with sound? (y) "
22 +if [ -n "$WITH_SOUND" ]; then
23 + ANSWER="$WITH_SOUND"
34 echo -n "Do you want use arts daemon sound output? (n) "
36 + if [ -n "$WITH_SOUND_ARTS" ]; then
37 + ANSWER="$WITH_SOUND_ARTS"
47 echo "Assuming you have a thread-safe X11 (libc6 or glibc),"
48 echo -n "do you want to compile with threaded sound? (n) "
50 + if [ -n "$WITH_THREADEDSOUND" ]; then
51 + ANSWER2="$WITH_THREADEDSOUND"
60 LIBCHECK="-lFLAC -lm"; check_for_libs
61 if test "$?" = 0 ; then
62 echo -n "Would you like FLAC support? (n) "
64 + if [ -n "$WITH_FLAC" ]; then
74 LIBCHECK="-lvorbisfile -lvorbis -logg"; check_for_libs
75 if test "$?" = 0 ; then
76 echo -n "Would you like OGG support? (n) "
78 + if [ -n "$WITH_OGG" ]; then
88 LIBCHECK="-lmad"; check_for_libs
89 if test "$?" = 0 ; then
90 echo -n "Would you like MAD MP3 support? (n) "
92 + if [ -n "$WITH_MAD" ]; then
104 echo -n "CD Audio support? (n) "
106 + if [ -n "$WITH_CDA" ]; then
118 echo -n "Please enter selection ($COMPDEF): "
120 +if [ -n "$WITH_COMP" ]; then
121 + COMPOPT="$WITH_COMP"
128 if test "$COMPOPT x" = " x" ; then COMPOPT=$COMPDEF; fi
130 echo "optimization support, which may cause Freecraft to run much slower."
132 echo -n "Would you like debug support? (n): "
134 + if [ -n $WITH_DEBUG ]; then
135 + DEBUGASK=$WITH_DEBUG
144 CCMINOR=`echo $CCVERS | cut -d. -f 2`
145 CCREALLYMINOR=`echo $CCVERS | cut -d. -f 3`
147 -if [ $CCMAJOR -gt 3 -o $CCMAJOR -eq 3 -a $CCMINOR -ge 2 ] ; then
149 if [ "$DEBUG" != 1 ] ; then
151 echo "OPTIMIZATION OPTIONS"
152 @@ -1156,7 +1206,12 @@
153 echo "Done generating $RULESFILE."
155 echo -n "Would you like to compile it now? (y) "
157 +if [ -n "$WITH_COMPILE" ]; then
158 + ANSWER="$WITH_COMPILE"