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.4 by cebix, 1999-10-05T18:38:50Z

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines