dosbox-wii/configure.in

459 lines
14 KiB
Plaintext
Raw Normal View History

2009-05-02 23:03:37 +02:00
dnl Init.
2009-05-03 00:37:32 +02:00
AC_INIT(dosbox,0.71)
2009-05-02 23:35:44 +02:00
AC_PREREQ(2.50)
2009-05-02 23:03:37 +02:00
AC_CONFIG_SRCDIR(README)
dnl Detect the canonical host and target build environment
AC_CANONICAL_HOST
AC_CANONICAL_TARGET
dnl Setup for automake
AM_INIT_AUTOMAKE
AM_CONFIG_HEADER(config.h)
dnl Checks for programs.
AC_PROG_MAKE_SET
AC_PROG_CC
AC_PROG_CPP
AC_PROG_CXX
AC_PROG_INSTALL
AC_PROG_RANLIB
2009-05-03 00:18:08 +02:00
dnl Some needed libaries for OS2
2009-05-03 00:37:32 +02:00
dnl perharps join this with the other target depended checks. move them upwards
2009-05-03 00:18:08 +02:00
if test x$target = xi386-pc-os2-emx ; then
CXXFLAGS="$CXXFLAGS -Zmt"
LDFLAGS="$LDFLAGS -Zomf -Zmt"
LIBS="$LIBS -los2me"
fi
2009-05-02 23:03:37 +02:00
dnl Check for SDL
SDL_VERSION=1.2.0
AM_PATH_SDL($SDL_VERSION,
:,
AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!])
)
LIBS="$LIBS $SDL_LIBS"
2009-05-03 00:02:15 +02:00
CPPFLAGS="$CPPFLAGS $SDL_CFLAGS"
2009-05-02 23:03:37 +02:00
dnl Checks for header files.
dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_C_INLINE
AC_TYPE_SIZE_T
AC_STRUCT_TM
2009-05-03 00:02:15 +02:00
AC_CHECK_SIZEOF(unsigned char)
AC_CHECK_SIZEOF(unsigned short)
AC_CHECK_SIZEOF(unsigned int)
AC_CHECK_SIZEOF(unsigned long)
AC_CHECK_SIZEOF(unsigned long long)
AC_CHECK_SIZEOF(int *)
2009-05-02 23:43:00 +02:00
2009-05-03 00:37:32 +02:00
dnl some semi complex check for sys/socket so it works on darwin as well
AC_CHECK_HEADERS([stdlib.h sys/types.h])
AC_CHECK_HEADERS([sys/socket.h netinet/in.h pwd.h], [], [],
[#include <stdio.h>
#ifdef STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
# ifdef HAVE_STDLIB_H
# include <stdlib.h>
# endif
#endif
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
])
dnl check for the socklen_t (darwin doesn't always have it)
AC_COMPILE_IFELSE([
#include <stdio.h>
#ifdef STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
# ifdef HAVE_STDLIB_H
# include <stdlib.h>
# endif
#endif
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
],[],[AC_DEFINE([socklen_t],[int],[Define to `int` if you don't have socklen_t])])
2009-05-02 23:43:00 +02:00
AC_MSG_CHECKING(if environ can be included)
2009-05-03 00:28:34 +02:00
AC_LINK_IFELSE([AC_LANG_PROGRAM([[
#include <unistd.h>
#include <stdlib.h>]],[[*environ;]])],
2009-05-02 23:43:00 +02:00
[AC_MSG_RESULT(yes);AC_DEFINE(ENVIRON_INCLUDED,1,[environ can be included])],AC_MSG_RESULT(no))
2009-05-03 00:28:34 +02:00
2009-05-02 23:43:00 +02:00
AC_MSG_CHECKING(if environ can be linked)
2009-05-03 00:28:34 +02:00
AC_LINK_IFELSE([AC_LANG_PROGRAM([[extern char ** environ;]],[[*environ;]])],
2009-05-02 23:43:00 +02:00
[AC_MSG_RESULT(yes);AC_DEFINE(ENVIRON_LINKED,1,[environ can be linked])],AC_MSG_RESULT(no))
2009-05-03 00:28:34 +02:00
dnl Check for powf
if test x$target = xi386-pc-os2-emx ; then
AC_MSG_CHECKING(for powf in libm);
LIBS_BACKUP=$LIBS;
LIBS="$LIBS -lm";
AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <math.h>]],[[
powf(1.0f, 1.0f);
]])], [AC_MSG_RESULT(yes)], [AC_DEFINE([DB_HAVE_NO_POWF],[1],[libm doesn't include powf])])
LIBS=$LIBS_BACKUP
else
AC_CHECK_LIB([m],[powf],,[AC_DEFINE([DB_HAVE_NO_POWF],[1],[libm doesn't include powf])])
fi
2009-05-02 23:20:05 +02:00
dnl Checks for libraries.
2009-05-02 23:12:18 +02:00
#Check if the compiler support attributes
2009-05-02 23:43:00 +02:00
AH_TEMPLATE([C_HAS_ATTRIBUTE],[Determines if the compilers supports attributes for structures.])
2009-05-02 23:12:18 +02:00
AC_MSG_CHECKING(if compiler allows __attribute__)
2009-05-03 00:28:34 +02:00
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
typedef struct { } __attribute__((packed)) junk;]],
[[ ]])],[ AC_MSG_RESULT(yes);AC_DEFINE(C_HAS_ATTRIBUTE)],AC_MSG_RESULT(no))
2009-05-02 23:03:37 +02:00
2009-05-03 00:18:08 +02:00
#Check if the compiler supports __builtin_expect
2009-05-03 00:28:34 +02:00
#Switch language to c++
AC_LANG_PUSH(C++)
2009-05-03 00:18:08 +02:00
AH_TEMPLATE([C_HAS_BUILTIN_EXPECT],[Determines if the compilers supports __builtin_expect for branch prediction.])
AC_MSG_CHECKING(if compiler allows __builtin_expect)
2009-05-03 00:28:34 +02:00
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]],[[
2009-05-03 00:18:08 +02:00
int x=10;if( __builtin_expect ((x==1),0) ) ;
2009-05-03 00:28:34 +02:00
]])], [ AC_MSG_RESULT(yes);AC_DEFINE(C_HAS_BUILTIN_EXPECT)],AC_MSG_RESULT(no))
#switch language back
AC_LANG_POP(C++)
2009-05-03 00:18:08 +02:00
2009-05-03 00:37:32 +02:00
dnl enable disable alsa and pass it's cflags to CXXFLAGS
AC_ARG_ENABLE(alsa-midi,
AC_HELP_STRING([--enable-alsa-midi],[compile with alsa midi support (default yes)]),
[ case "${enableval}" in
yes) alsa_midi=true;;
no) alsa_midi=false;;
esac],
[alsa_midi=true])
if test x$alsa_midi = xtrue ; then
AM_PATH_ALSA(0.9.0, AC_DEFINE(HAVE_ALSA,1,[Define to 1 to use ALSA for MIDI]) , : )
CXXFLAGS="$CXXFLAGS $ALSA_CFLAGS"
fi
2009-05-02 23:35:44 +02:00
2009-05-03 00:18:08 +02:00
#Check for big endian machine, should #define WORDS_BIGENDIAN if so
2009-05-02 23:35:44 +02:00
AC_C_BIGENDIAN
#Features to enable/disable
AH_TEMPLATE(C_DEBUG,[Define to 1 to enable internal debugger, requires libcurses])
2009-05-02 23:43:00 +02:00
AH_TEMPLATE(C_HEAVY_DEBUG,[Define to 1 to enable heavy debugging, also have to enable C_DEBUG])
AC_ARG_ENABLE(debug,AC_HELP_STRING([--enable-debug],[Enable debug mode]),[
2009-05-02 23:35:44 +02:00
AC_CHECK_HEADER(curses.h,have_curses_h=yes,)
AC_CHECK_LIB(curses, initscr, have_curses_lib=yes, , )
2009-05-02 23:43:00 +02:00
AC_CHECK_LIB(pdcurses, initscr, have_pdcurses_lib=yes, , )
2009-05-02 23:35:44 +02:00
2009-05-03 00:18:08 +02:00
if test x$enable_debug = xno; then
AC_MSG_RESULT([Debugger not enabled])
elif test x$have_curses_lib = xyes -a x$have_curses_h = xyes ; then
2009-05-02 23:43:00 +02:00
LIBS="$LIBS -lcurses"
2009-05-02 23:35:44 +02:00
AC_DEFINE(C_DEBUG,1)
2009-05-02 23:43:00 +02:00
if test x$enable_debug = xheavy ; then
AC_DEFINE(C_HEAVY_DEBUG,1)
fi
elif test x$have_pdcurses_lib = xyes -a x$have_curses_h = xyes ; then
LIBS="$LIBS -lpdcurses"
AC_DEFINE(C_DEBUG,1)
if test x$enable_debug = xheavy ; then
AC_DEFINE(C_HEAVY_DEBUG,1)
fi
2009-05-02 23:35:44 +02:00
else
2009-05-02 23:43:00 +02:00
AC_MSG_WARN([Can't find curses, debug mode disabled])
2009-05-02 23:35:44 +02:00
fi
],)
2009-05-02 23:43:00 +02:00
AH_TEMPLATE(C_CORE_INLINE,[Define to 1 to use inlined memory functions in cpu core])
AC_ARG_ENABLE(core-inline,AC_HELP_STRING([--enable-core-inline],[Enable inlined memory handling in CPU Core]),[
if test x$enable_core_inline = xyes ; then
2009-05-02 23:53:27 +02:00
AC_MSG_RESULT([enabling inlined memory handling in CPU Core])
2009-05-02 23:43:00 +02:00
AC_DEFINE(C_CORE_INLINE,1)
2009-05-02 23:35:44 +02:00
fi
],)
2009-05-02 23:53:27 +02:00
dnl The target cpu checks for dynamic cores
2009-05-03 00:37:32 +02:00
AH_TEMPLATE(C_TARGETCPU,[The type of cpu this target has])
2009-05-02 23:53:27 +02:00
AC_MSG_CHECKING(for target cpu type)
case "$target_cpu" in
2009-05-03 00:37:32 +02:00
x86_64 | amd64)
AC_DEFINE(C_TARGETCPU,X86_64)
AC_MSG_RESULT(x86-64 bit compatible)
c_targetcpu="x86_64"
c_unalignedmemory=yes
;;
2009-05-03 00:18:08 +02:00
i?86)
2009-05-03 00:37:32 +02:00
AC_DEFINE(C_TARGETCPU,X86)
2009-05-02 23:53:27 +02:00
AC_MSG_RESULT(x86 compatible)
2009-05-03 00:37:32 +02:00
c_targetcpu="x86"
2009-05-03 00:18:08 +02:00
c_unalignedmemory=yes
;;
powerpc*)
2009-05-03 00:37:32 +02:00
AC_DEFINE(C_TARGETCPU,POWERPC)
2009-05-03 00:18:08 +02:00
AC_MSG_RESULT(Power PC)
2009-05-03 00:37:32 +02:00
c_targetcpu="powerpc"
2009-05-03 00:18:08 +02:00
c_unalignedmemory=yes
2009-05-02 23:53:27 +02:00
;;
2009-05-03 00:18:08 +02:00
m68k*)
2009-05-03 00:37:32 +02:00
AC_DEFINE(C_TARGETCPU,M68K)
2009-05-03 00:18:08 +02:00
AC_MSG_RESULT(Motorola 68000)
2009-05-03 00:37:32 +02:00
c_targetcpu="m68k"
2009-05-03 00:18:08 +02:00
c_unalignedmemory=yes
;;
*)
2009-05-03 00:37:32 +02:00
AC_DEFINE(C_TARGETCPU,UNKNOWN)
2009-05-02 23:53:27 +02:00
AC_MSG_RESULT(unknown)
2009-05-03 00:18:08 +02:00
c_unalignedmemory=no
2009-05-02 23:53:27 +02:00
;;
esac
2009-05-03 00:18:08 +02:00
2009-05-03 00:37:32 +02:00
AC_ARG_ENABLE(dynamic-core,AC_HELP_STRING([--disable-dynamic-core],[Disable all dynamic cores]),,enable_dynamic_core=yes)
2009-05-02 23:53:27 +02:00
AH_TEMPLATE(C_DYNAMIC_X86,[Define to 1 to use x86 dynamic cpu core])
AC_ARG_ENABLE(dynamic-x86,AC_HELP_STRING([--disable-dynamic-x86],[Disable x86 dynamic cpu core]),,enable_dynamic_x86=yes)
AC_MSG_CHECKING(whether x86 dynamic cpu core will be enabled)
2009-05-03 00:37:32 +02:00
if test x$enable_dynamic_x86 = xno -o x$enable_dynamic_core = xno; then
2009-05-02 23:53:27 +02:00
AC_MSG_RESULT(no)
else
2009-05-03 00:37:32 +02:00
if test x$c_targetcpu = xx86 ; then
2009-05-02 23:53:27 +02:00
AC_DEFINE(C_DYNAMIC_X86,1)
AC_MSG_RESULT(yes)
else
AC_MSG_RESULT(no)
fi
fi
2009-05-03 00:37:32 +02:00
AH_TEMPLATE(C_DYNREC,[Define to 1 to use recompiling cpu core. Can not be used together with the dynamic-x86 core])
AC_ARG_ENABLE(dynrec,AC_HELP_STRING([--disable-dynrec],[Disable recompiling cpu core]),,enable_dynrec=yes)
AC_MSG_CHECKING(whether recompiling cpu core will be enabled)
if test x$enable_dynrec = xno -o x$enable_dynamic_core = xno; then
AC_MSG_RESULT(no)
else
dnl x86 only enable it if dynamic-x86 is disabled.
if test x$c_targetcpu = xx86 ; then
if test x$enable_dynamic_x86 = xno ; then
AC_DEFINE(C_DYNREC,1)
AC_MSG_RESULT(yes)
else
AC_MSG_RESULT([no, using dynamic-x86])
fi
else
if test x$c_targetcpu = xx86_64 ; then
AC_DEFINE(C_DYNREC,1)
AC_MSG_RESULT(yes)
else
AC_MSG_RESULT(no)
fi
fi
fi
2009-05-02 23:43:00 +02:00
AH_TEMPLATE(C_FPU,[Define to 1 to enable floating point emulation])
2009-05-02 23:53:27 +02:00
AC_ARG_ENABLE(fpu,AC_HELP_STRING([--disable-fpu],[Disable fpu support]),,enable_fpu=yes)
AC_MSG_CHECKING(whether fpu emulation will be enabled)
if test x$enable_fpu = xyes ; then
AC_MSG_RESULT(yes)
AC_DEFINE(C_FPU,1)
else
AC_MSG_RESULT(no)
fi
2009-05-02 23:43:00 +02:00
2009-05-03 00:18:08 +02:00
AH_TEMPLATE(C_FPU_X86,[Define to 1 to use a x86 assembly fpu core])
AC_ARG_ENABLE(fpu-x86,AC_HELP_STRING([--disable-fpu-x86],[Disable x86 assembly fpu core]),,enable_fpu_x86=yes)
AC_MSG_CHECKING(whether x86 assembly fpu core will be enabled)
if test x$enable_fpu_x86 = xno ; then
AC_MSG_RESULT(no)
else
if test x$enable_fpu = xyes; then
2009-05-03 00:37:32 +02:00
if test x$c_targetcpu = xx86 ; then
2009-05-03 00:18:08 +02:00
AC_DEFINE(C_FPU_X86,1)
AC_MSG_RESULT(yes)
else
AC_MSG_RESULT(no)
fi
else
AC_MSG_RESULT(no)
fi
fi
AH_TEMPLATE(C_UNALIGNED_MEMORY,[Define to 1 to use a unaligned memory access])
AC_ARG_ENABLE(unaligned_memory,AC_HELP_STRING([--disable-unaligned-memory],[Disable unaligned memory access]),,enable_unaligned_memory=yes)
AC_MSG_CHECKING(whether to enable unaligned memory access)
if test x$enable_unaligned_memory = xyes -a x$c_unalignedmemory = xyes; then
AC_DEFINE(C_UNALIGNED_MEMORY,1)
AC_MSG_RESULT(yes)
else
AC_MSG_RESULT(no)
fi
2009-05-02 23:43:00 +02:00
AH_TEMPLATE(C_SSHOT,[Define to 1 to enable screenshots, requires libpng])
AC_CHECK_HEADER(png.h,have_png_h=yes,)
AC_CHECK_LIB(png, png_check_sig, have_png_lib=yes, ,-lz)
if test x$have_png_lib = xyes -a x$have_png_h = xyes ; then
LIBS="$LIBS -lpng -lz"
AC_DEFINE(C_SSHOT,1)
else
AC_MSG_WARN([Can't find libpng, screenshot support disabled])
fi
AH_TEMPLATE(C_MODEM,[Define to 1 to enable internal modem support, requires SDL_net])
2009-05-03 00:02:15 +02:00
AH_TEMPLATE(C_IPX,[Define to 1 to enable IPX over Internet networking, requires SDL_net])
AC_CHECK_HEADER(SDL_net.h,have_sdl_net_h=yes,)
2009-05-03 00:18:08 +02:00
if test x$target = xi386-pc-os2-emx ; then
AC_MSG_CHECKING(for SDLNet_Init in SDL_net);
LIBS_BACKUP=$LIBS;
LIBS="$LIBS -lSDL_Net";
2009-05-03 00:28:34 +02:00
AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <SDL_Net.h>]],[[
SDLNet_Init ();
]])], [AC_MSG_RESULT(yes); have_sdl_net_lib=yes], AC_MSG_RESULT(no))
2009-05-03 00:18:08 +02:00
LIBS=$LIBS_BACKUP
else
2009-05-02 23:43:00 +02:00
AC_CHECK_LIB(SDL_net, SDLNet_Init, have_sdl_net_lib=yes, , )
2009-05-03 00:18:08 +02:00
fi
2009-05-02 23:43:00 +02:00
if test x$have_sdl_net_lib = xyes -a x$have_sdl_net_h = xyes ; then
2009-05-03 00:28:34 +02:00
LIBS="$LIBS -lSDL_net"
2009-05-02 23:43:00 +02:00
AC_DEFINE(C_MODEM,1)
2009-05-03 00:02:15 +02:00
AC_DEFINE(C_IPX,1)
2009-05-02 23:43:00 +02:00
else
2009-05-03 00:02:15 +02:00
AC_MSG_WARN([Can't find SDL_net, internal modem and ipx disabled])
2009-05-02 23:43:00 +02:00
fi
2009-05-02 23:53:27 +02:00
AH_TEMPLATE(C_OPENGL,[Define to 1 to use opengl display output support])
2009-05-03 00:37:32 +02:00
AC_CHECK_LIB(GL, main, have_gl_lib=yes, have_gl_lib=no , )
AC_CHECK_LIB(opengl32, main, have_opengl32_lib=yes,have_opengl32_lib=no , )
AC_CHECK_HEADER(GL/gl.h, have_gl_h=yes , have_gl_h=no , )
2009-05-02 23:53:27 +02:00
AC_ARG_ENABLE(opengl,AC_HELP_STRING([--disable-opengl],[Disable opengl support]),,enable_opengl=yes)
AC_MSG_CHECKING(whether opengl display output will be enabled)
2009-05-03 00:28:34 +02:00
if test x$enable_opengl = xyes; then
case "$target" in
*-*-darwin*)
AC_MSG_RESULT(yes)
LIBS="$LIBS -framework OpenGL"
AC_DEFINE(C_OPENGL,1)
;;
*)
if test x$have_gl_h = xyes -a x$have_gl_lib = xyes ; then
AC_MSG_RESULT(yes)
LIBS="$LIBS -lGL"
AC_DEFINE(C_OPENGL,1)
elif test x$have_gl_h = xyes -a x$have_opengl32_lib = xyes ; then
AC_MSG_RESULT(yes)
LIBS="$LIBS -lopengl32"
AC_DEFINE(C_OPENGL,1)
else
AC_MSG_RESULT(no)
fi
;;
esac
2009-05-02 23:53:27 +02:00
fi
2009-05-02 23:43:00 +02:00
2009-05-03 00:02:15 +02:00
AH_TEMPLATE(C_SDL_SOUND,[Define to 1 to enable SDL_sound support])
2009-05-03 00:28:34 +02:00
AC_CHECK_HEADER(SDL_sound.h,have_SDL_sound_h=yes,)
2009-05-03 00:08:43 +02:00
AC_CHECK_LIB(SDL_sound, Sound_Init, have_SDL_sound_init=yes,,)
AC_CHECK_LIB(SDL_sound, Sound_Seek, have_SDL_sound_seek=yes,,)
if test x$have_SDL_sound_h = xyes -a x$have_SDL_sound_init = xyes ; then
if test x$have_SDL_sound_seek = xyes ; then
LIBS="-lSDL_sound $LIBS"
AC_DEFINE(C_SDL_SOUND,1)
else
AC_MSG_WARN([Can't find SoundSeek in libSDL_Sound, libSDL_sound support disabled])
fi
2009-05-03 00:02:15 +02:00
else
AC_MSG_WARN([Can't find libSDL_sound, libSDL_sound support disabled])
fi
2009-05-03 00:18:08 +02:00
dnl Check for mprotect. Needed for 64 bits linux
AH_TEMPLATE(C_HAVE_MPROTECT,[Define to 1 if you have the mprotect function])
AC_CHECK_HEADER([sys/mman.h], [
AC_CHECK_FUNC([mprotect],[AC_DEFINE(C_HAVE_MPROTECT,1)])
])
dnl Setpriority
2009-05-03 00:02:15 +02:00
AH_TEMPLATE(C_SET_PRIORITY,[Define to 1 if you have setpriority support])
AC_MSG_CHECKING(for setpriority support)
AC_LINK_IFELSE([
#include <sys/resource.h>
int main(int argc,char * argv[]) {
return setpriority (PRIO_PROCESS, 0,PRIO_MIN+PRIO_MAX);
};
],AC_MSG_RESULT(yes);AC_DEFINE(C_SET_PRIORITY,1),AC_MSG_RESULT(no))
2009-05-03 00:37:32 +02:00
dnl Some target detection and actions for them
2009-05-02 23:35:44 +02:00
case "$target" in
*-*-cygwin* | *-*-mingw32*)
LIBS="$LIBS -lwinmm"
2009-05-03 00:02:15 +02:00
AC_CHECK_HEADERS(ddraw.h)
2009-05-03 00:28:34 +02:00
AC_DEFINE(C_DIRECTSERIAL, 1, [ Define to 1 if you want serial passthrough support (Win32, Posix and OS/2 only).])
if test x$have_sdl_net_lib = xyes -a x$have_sdl_net_h = xyes ; then
LIBS="$LIBS -lws2_32"
fi
2009-05-02 23:35:44 +02:00
;;
*-*-darwin*)
dnl We have a problem here: both MacOS X and Darwin report
dnl the same signature "powerpc-apple-darwin*" - so we have
dnl to do more to distinguish them.
dnl For now I am lazy and do not add proper detection code.
AC_DEFINE(MACOSX, 1, [Compiling on Mac OS X])
LIBS="$LIBS -framework AudioUnit"
;;
2009-05-03 00:37:32 +02:00
*-*-freebsd* | *-*-linux* | *-*-dragonfly* | *-*-netbsd* | *-*-openbsd*)
AC_DEFINE(LINUX, 1, [Compiling on GNU/Linux or *BSD])
2009-05-03 00:28:34 +02:00
AC_DEFINE(C_DIRECTSERIAL, 1, [ Define to 1 if you want serial passthrough support (Win32, Posix and OS/2).])
2009-05-02 23:53:27 +02:00
;;
2009-05-03 00:18:08 +02:00
*-*-os2-emx*)
AC_DEFINE(OS2, 1, [Compiling on OS/2 EMX])
2009-05-03 00:28:34 +02:00
AC_DEFINE(C_DIRECTSERIAL, 1, [ Define to 1 if you want serial passthrough support (Win32, Posix and OS/2).])
2009-05-03 00:18:08 +02:00
;;
esac
dnl Some stuff for the icon.
case "$target" in
*-*-cygwin* | *-*-mingw32*)
dnl Some stuff for the ico
AC_CHECK_TOOL(WINDRES, windres, :)
;;
*)
WINDRES=":"
;;
2009-05-02 23:35:44 +02:00
esac
2009-05-03 00:18:08 +02:00
AM_CONDITIONAL(HAVE_WINDRES, test "x$WINDRES" != "x:")
AC_SUBST(WINDRES)
2009-05-02 23:35:44 +02:00
2009-05-02 23:03:37 +02:00
2009-05-03 00:28:34 +02:00
AC_CONFIG_FILES([
2009-05-02 23:03:37 +02:00
Makefile
src/Makefile
src/cpu/Makefile
2009-05-02 23:43:00 +02:00
src/cpu/core_full/Makefile
src/cpu/core_normal/Makefile
2009-05-02 23:53:27 +02:00
src/cpu/core_dyn_x86/Makefile
2009-05-03 00:37:32 +02:00
src/cpu/core_dynrec/Makefile
2009-05-02 23:03:37 +02:00
src/debug/Makefile
src/dos/Makefile
src/fpu/Makefile
src/gui/Makefile
src/hardware/Makefile
2009-05-03 00:18:08 +02:00
src/hardware/serialport/Makefile
2009-05-02 23:03:37 +02:00
src/ints/Makefile
2009-05-03 00:18:08 +02:00
src/libs/Makefile
src/libs/zmbv/Makefile
2009-05-02 23:03:37 +02:00
src/misc/Makefile
src/shell/Makefile
src/platform/Makefile
src/platform/visualc/Makefile
2009-05-02 23:53:27 +02:00
visualc_net/Makefile
2009-05-02 23:03:37 +02:00
include/Makefile
2009-05-02 23:35:44 +02:00
docs/Makefile
2009-05-02 23:03:37 +02:00
])
2009-05-03 00:28:34 +02:00
AC_OUTPUT