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.3 by gbeauche, 2005-11-27T23:54:26Z vs.
Revision 1.6 by asvitkine, 2009-04-14T00:17:56Z

# Line 1 | Line 1
1   dnl Process this file with autoconf to produce a configure script.
2   dnl Written in 2002 by Christian Bauer
3  
4 < AC_INIT([SheepShaver], 2.2, [Christian.Bauer@uni-mainz.de], SheepShaver)
4 > AC_INIT([SheepShaver], 2.3, [Christian.Bauer@uni-mainz.de], SheepShaver)
5   AC_CONFIG_SRCDIR(main_windows.cpp)
6   AC_CONFIG_AUX_DIR(../Unix)
7   AC_PREREQ(2.52)
# 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 \
# Line 205 | Line 221 | if [[ "x$WANT_JIT" = "xyes" ]]; then
221    CPUSRCS="\
222      ../kpx_cpu/src/cpu/jit/jit-cache.cpp \
223      ../kpx_cpu/src/cpu/jit/basic-dyngen.cpp \
224 <    ../kpx_cpu/src/cpu/ppc/ppc-dyngen.cpp $CPUSRCS"
224 >    ../kpx_cpu/src/cpu/ppc/ppc-dyngen.cpp \
225 >    ../kpx_cpu/src/cpu/ppc/ppc-jit.cpp $CPUSRCS"
226    CPPFLAGS="$CPPFLAGS -DUSE_JIT"
227   fi
228   CPUSRCS="$CPUSRCS ../kpx_cpu/sheepshaver_glue.cpp"
229  
230 + dnl Use the dummy prefs file.
231 + CPUSRCS="$CPUSRCS ../dummy/prefs_dummy.cpp"
232 +
233   dnl We really want SDL for now
234   AC_CHECK_TOOL(sdl_config, sdl-config, [AC_MSG_ERROR([Sorry, you currently need SDL for this port])])
235   SDL_CFLAGS=`$sdl_config --cflags`

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines