ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/SheepShaver/src/Windows/configure.ac
(Generate patch)

Comparing SheepShaver/src/Windows/configure.ac (file contents):
Revision 1.4 by gbeauche, 2005-11-30T00:02:25Z vs.
Revision 1.5 by gbeauche, 2006-05-02T19:35:39Z

# Line 56 | Line 56 | AC_CHECK_TYPES(loff_t)
56   AC_TYPE_SIZE_T
57  
58   dnl Checks for library functions.
59 < AC_CHECK_FUNCS(exp2f log2f exp2 log2 trunc)
59 > AC_CHECK_FUNCS(strdup strerror)
60 > AC_CHECK_FUNCS(exp2f log2f exp2 log2)
61 > AC_CHECK_FUNCS(floorf roundf ceilf truncf)
62 > AC_CHECK_FUNCS(floor round ceil trunc)
63  
64   dnl Define a macro that translates a yesno-variable into a C macro definition
65   dnl to be put into the config.h file
# Line 171 | Line 174 | AC_EGREP_CPP(xyes,
174   #endif
175   ], [AC_MSG_RESULT(yes); HAVE_GCC30=yes], AC_MSG_RESULT(no))
176  
177 + dnl Add -fno-strict-aliasing for slirp sources
178 + if [[ "x$HAVE_GCC30" = "xyes" ]]; then
179 +  SAVED_CFLAGS="$CFLAGS"
180 +  CFLAGS="$CFLAGS -fno-strict-aliasing"
181 +  AC_CACHE_CHECK([whether the compiler supports -fno-strict-aliasing],
182 +    ac_cv_gcc_no_strict_aliasing, [
183 +    AC_TRY_COMPILE([],[],
184 +      [ac_cv_gcc_no_strict_aliasing=yes; AC_SUBST(SLIRP_CFLAGS, "-fno-strict-aliasing")],
185 +      [ac_cv_gcc_no_strict_aliasing=no])
186 +  ])
187 +  CFLAGS="$SAVED_CFLAGS"
188 + fi
189 +
190   dnl CPU emulator sources
191   CPUSRCS="\
192    ../kpx_cpu/src/mathlib/ieeefp.cpp \

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines