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.2 by cebix, 1999-10-04T21:07:18Z vs.
Revision 1.3 by cebix, 1999-10-05T15:29:04Z

# Line 187 | 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 197 | 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 206 | 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 225 | 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