22 |
|
AC_PROG_EGREP |
23 |
|
AC_PROG_LN_S |
24 |
|
AC_PATH_PROG(PERL, [perl]) |
25 |
+ |
AC_CHECK_TOOL(WINDRES, windres) |
26 |
|
|
27 |
|
dnl We use 64-bit file size support if possible. |
28 |
|
AC_SYS_LARGEFILE |
42 |
|
AC_CHECK_SIZEOF(double, 8) |
43 |
|
AC_CHECK_SIZEOF(void *, 4) |
44 |
|
AC_TYPE_OFF_T |
45 |
+ |
AC_CHECK_TYPES(loff_t) |
46 |
|
AC_TYPE_SIZE_T |
47 |
|
|
48 |
|
dnl Checks for library functions. |
131 |
|
#include "../Unix/vm_alloc.cpp" |
132 |
|
#include "../Unix/sigsegv.cpp" |
133 |
|
], ac_cv_have_skip_instruction=yes, ac_cv_have_skip_instruction=no, |
134 |
< |
dnl When cross-compiling, do not assume anything. |
135 |
< |
ac_cv_have_skip_instruction=no |
134 |
> |
dnl When cross-compiling, assume it works |
135 |
> |
ac_cv_have_skip_instruction="yes" |
136 |
|
) |
137 |
|
AC_LANG_RESTORE |
138 |
|
] |
201 |
|
CPUSRCS="$CPUSRCS ../kpx_cpu/sheepshaver_glue.cpp" |
202 |
|
|
203 |
|
dnl We really want SDL for now |
204 |
< |
AC_PATH_PROG(sdl_config, "sdl-config", [AC_MSG_ERROR([Sorry, you currently need SDL for this port])]) |
204 |
> |
AC_CHECK_TOOL(sdl_config, sdl-config, [AC_MSG_ERROR([Sorry, you currently need SDL for this port])]) |
205 |
|
sdl_cflags=`$sdl_config --cflags` |
206 |
|
sdl_libs=`$sdl_config --libs` |
207 |
|
CFLAGS="$CFLAGS $sdl_cflags" |