ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/Unix/configure.in
(Generate patch)

Comparing BasiliskII/src/Unix/configure.in (file contents):
Revision 1.1.1.1 by cebix, 1999-10-03T14:16:25Z vs.
Revision 1.3 by cebix, 1999-10-05T15:29:04Z

# Line 14 | Line 14 | AC_ARG_ENABLE(ui,  [  --enable-ui
14   dnl Checks for programs.
15   AC_PROG_CC
16   AC_PROG_CXX
17 AC_PROG_CPP
17   AC_PROG_MAKE_SET
18   AC_PROG_INSTALL
19  
# Line 188 | Line 187 | AC_EGREP_CPP(yes,
187   #endif
188   ], [AC_MSG_RESULT(yes); HAVE_I386=yes], AC_MSG_RESULT(no))
189  
190 < dnl Check for GAS
190 > dnl Check for GAS.
191   HAVE_GAS=no
192   AC_MSG_CHECKING(for GAS .p2align feature)
193   cat >conftest.S << EOF
# Line 198 | Line 197 | EOF
197   if $CC conftest.S -c -o conftest.o >/dev/null 2>&1 ; then HAVE_GAS=yes; fi
198   AC_MSG_RESULT($HAVE_GAS)
199  
200 < dnl Check for GCC 2.7 or higher
200 > dnl Check for GCC 2.7 or higher.
201   HAVE_GCC27=no
202   AC_MSG_CHECKING(for GCC 2.7 or higher)
203   AC_EGREP_CPP(yes,
# Line 207 | Line 206 | AC_EGREP_CPP(yes,
206   #endif
207   ], [AC_MSG_RESULT(yes); HAVE_GCC27=yes], AC_MSG_RESULT(no))
208  
209 < dnl Set "-fomit-frame-pointer" on GCC
209 > dnl Set "-fomit-frame-pointer" on GCC.
210   if [[ "x$HAVE_GCC27" = "xyes" ]]; then
211    CFLAGS="$CFLAGS -fomit-frame-pointer"
212    CXXFLAGS="$CXXFLAGS -fomit-frame-pointer"
213   fi
214  
215 < dnl Select appropriate CPU source and REGPARAM define
215 > dnl Select appropriate CPU source and REGPARAM define.
216   if [[ "x$HAVE_GCC27" = "xyes" -a "x$HAVE_I386" = "xyes" ]]; then
217    DEFINES="$DEFINES -DREGPARAM=\"__attribute__((regparm(3)))\""
218    if [[ "x$HAVE_GAS" = "xyes" ]]; then
# Line 226 | Line 225 | else
225    CPUSRCS="$CPUSRCS cpuemu.cpp"
226   fi
227  
228 < dnl Generate Makefile
228 > dnl Generate Makefile.
229   AC_SUBST(DEFINES)
230   AC_SUBST(STATICLIBS)
231   AC_SUBST(SYSSRCS)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines