Top 10k strings from configure.ac in <root> / bin / pc / Emulators / fuse-hc2000-hacks.7z / src / fuse /

Back to the directory listing

   5 if test -z "$UI"; then
   5 ac_save_CPPFLAGS="$CPPFLAGS"
   5 CPPFLAGS="$ac_save_CPPFLAGS"
   4 CPPFLAGS="$CPPFLAGS $LIBSPEC_CFLAGS"
   4 AC_COMPILE_IFELSE(
   3 AC_CHECK_HEADER(
   3   [AC_LANG_PROGRAM([[#include <libspectrum.h>]],
   2 if test "$enableval" = yes; then
   2 if test "$UI" = sdl; then
   2   if test "$gtk" = yes; then
   2   AC_PATH_XTRA
   2   AC_MSG_RESULT(SDL)
   2     if test "$withval" = no; then gpm=no; else gpm=yes; fi,
   2     if test "$gpm" = yes; then
   2     gpm=yes)
   2     dnl Note: we use libdl to get libgpm at runtime
   2     dnl Look for libgpm (default=yes)
   2     [AC_CHECK_HEADER(
   2     [  --without-gpm           don't use libgpm for e.g. Kempston mouse],
   2     AC_MSG_RESULT($gpm)
   2     AC_MSG_CHECKING(whether gpm requested)
   2     AC_DEFINE([USE_WIDGET], 1, [Defined if we're using a widget-based UI])
   2     AC_ARG_WITH(gpm,
   2       libjsw=no)
   2       if test "$libjsw" = yes; then
   2       if test "$enableval" = no; then libjsw=yes; else libjsw=no; fi,
   2       else
   2       UI_LIBS="$UI_LIBS -ldl";
   2       AS_HELP_STRING([--disable-ui-joystick], [use libjsw joystick code (where supported)]),
   2       AC_MSG_ERROR([libgpm not found]))
   2       AC_MSG_CHECKING([whether to use $UI's joystick support])
   2       AC_DEFINE([HAVE_GPM_H], 1, [Defined if gpm in use]),
   2       AC_CHECK_HEADER(gpm.h,
   2       AC_ARG_ENABLE(ui-joystick,
   2         AC_MSG_RESULT(yes)
   2         AC_MSG_RESULT([no, use libjsw])
   1 z80/tests/Makefile])
   1 z80/Makefile
   1 windres=yes)
   1 warnings=no)
   1 unittests/Makefile
   1 ui/xlib/Makefile
   1 ui/win32/installer/fuse.nsi
   1 ui/win32/icons/Makefile
   1 ui/win32/fuse.manifest
   1 ui/win32/Makefile
   1 ui/wii/Makefile
   1 ui/widget/Makefile
   1 ui/svga/Makefile
   1 ui/sdl/Makefile
   1 ui/scaler/Makefile
   1 ui/gtk/Makefile
   1 ui/fb/Makefile
   1 ui/Makefile
   1 timer/Makefile
   1 svgalib=no)
   1 sound/Makefile
   1 smallmem=no)
   1 roms/Makefile
   1 pokefinder/Makefile
   1 perl/Makefile
   1 perl/Fuse/Makefile
   1 peripherals/nic/Makefile
   1 peripherals/ide/Makefile
   1 peripherals/flash/Makefile
   1 peripherals/disk/Makefile
   1 peripherals/Makefile
   1 missing_routines=''
   1 man/Makefile
   1 machines/Makefile
   1 m4_define([fuse_version], [1.0.0])
   1 m4_define([fuse_url], [http://fuse-emulator.sourceforge.net])
   1 m4_define([fuse_rc_version], [fuse_major_version,fuse_minor_version,fuse_micro_version,fuse_nano_version])
   1 m4_define([fuse_nano_version],  [0])
   1 m4_define([fuse_minor_version], [0])
   1 m4_define([fuse_micro_version], [0])
   1 m4_define([fuse_major_version], [1])
   1 m4_define([fuse_full_version], [fuse_major_version.fuse_minor_version.fuse_micro_version.fuse_nano_version])
   1 m4_define([fuse_copyright], ["(c) 1999-2012 Philip Kendall and others"])
   1 m4_define([fuse_bugreport], [http://sourceforge.net/tracker/?group_id=91293&atid=596648])
   1 libpng=yes)
   1 libasound=yes)
   1 lib/tape_ts2068.szx:lib/"$AUTOLOAD_SNAPS"/tape_ts2068.szx])
   1 lib/tape_se.szx:lib/"$AUTOLOAD_SNAPS"/tape_se.szx
   1 lib/tape_scorpion.szx:lib/"$AUTOLOAD_SNAPS"/tape_scorpion.szx
   1 lib/tape_plus3e.szx:lib/"$AUTOLOAD_SNAPS"/tape_plus3e.szx
   1 lib/tape_plus3.szx:lib/"$AUTOLOAD_SNAPS"/tape_plus3.szx
   1 lib/tape_plus2a.szx:lib/"$AUTOLOAD_SNAPS"/tape_plus2a.szx
   1 lib/tape_plus2.szx:lib/"$AUTOLOAD_SNAPS"/tape_plus2.szx
   1 lib/tape_pentagon.szx:lib/"$AUTOLOAD_SNAPS"/tape_pentagon.szx
   1 lib/tape_48.szx:lib/"$AUTOLOAD_SNAPS"/tape_48.szx
   1 lib/tape_2068.szx:lib/"$AUTOLOAD_SNAPS"/tape_2068.szx
   1 lib/tape_2048.szx:lib/"$AUTOLOAD_SNAPS"/tape_2048.szx
   1 lib/tape_16.szx:lib/"$AUTOLOAD_SNAPS"/tape_16.szx
   1 lib/tape_128.szx:lib/"$AUTOLOAD_SNAPS"/tape_128.szx
   1 lib/disk_plus3.szx:lib/"$AUTOLOAD_SNAPS"/disk_plus3.szx
   1 lib/Makefile
   1 if test "x$missing_routines" = x; then
   1 if test "$zlib" = yes; then
   1 if test "$withval" = no; then zlib=no; else zlib=yes; fi,
   1 if test "$withval" = no; then windres=no; else windres=yes; fi,
   1 if test "$withval" = no; then win32=no; else win32=yes; fi,
   1 if test "$withval" = no; then svgalib=no; else svgalib=yes; fi,
   1 if test "$withval" = no; then libpng=no; else libpng=yes; fi,
   1 if test "$withval" = no; then libasound=no; else libasound=yes; fi,
   1 if test "$withval" = no; then libao=no; else libao=yes; fi,
   1 if test "$withval" = no; then desktopdir=no; else desktopdir=yes; fi,
   1 if test "$withval" = ""; then
   1 if test "$windres" = yes; then
   1 if test "$win32" = yes; then
   1 if test "$svgalib" = yes; then
   1 if test "$stick" = yes; then
   1 if test "$sound_fifo" = yes; then
   1 if test "$smallmem" = no; then
   1 if test "$prefix" != "NONE"; then
   1 if test "$libxml2" = yes; then
   1 if test "$libpng" = yes; then
   1 if test "$libasound" = yes; then
   1 if test "$libao" = yes; then
   1 if test "$enableval" = yes; then desktopintegration=yes; else desktopintegration=no; fi,
   1 if test "$desktopdir" = yes; then
   1 if test "$ac_cv_prog_gcc" = yes; then
   1 if test "$ac_cv_func_mkstemp" = no; then
   1 if test "$ac_cv_func_getopt_long" = no; then
   1 if test "$ac_cv_func_dirname" = no; then
   1 if test "$UI" = gtk; then
   1 if test "$UI" != gtk; then
   1 hacking/Makefile
   1 elif test "$win32sound_available" = yes; then
   1 elif test "$wii" = yes; then
   1 elif test "$dxsound_available" = yes; then
   1 elif test "$coreaudio_available" = yes; then
   1 elif test "$ao_available" = yes; then
   1 elif test "$alsa_available" = yes; then
   1 elif test "$ac_cv_header_sys_soundcard_h" = yes; then
   1 elif test "$ac_cv_header_sys_audioio_h" = yes; then
   1 elif test "$ac_cv_header_dsound_h" = yes; then
   1 dnl with this program; if not, write to the Free Software Foundation, Inc.,
   1 dnl we like, and then don't look at the other options
   1 dnl the Free Software Foundation; either version 2 of the License, or
   1 dnl it under the terms of the GNU General Public License as published by
   1 dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
   1 dnl You should have received a copy of the GNU General Public License along
   1 dnl Work out which timer routines to use
   1 dnl Work out which standard routines we're missing
   1 dnl Work out which compatibility routines to use
   1 dnl Where to install the desktop and mime files
   1 dnl Use automake to produce `Makefile.in'
   1 dnl Try various UI options; set the `ui' variable when we've got one
   1 dnl This program is free software; you can redistribute it and/or modify
   1 dnl This program is distributed in the hope that it will be useful,
   1 dnl Substitutions for .in files
   1 dnl Select a user interface
   1 dnl See if libxml2 is available (for the config file handling)
   1 dnl See if Linux TAP devices are supported
   1 dnl Product full version
   1 dnl Process this file with autoconf to produce a configure script.
   1 dnl Package version
   1 dnl Package info
   1 dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   1 dnl Look for svgalib (default=no)
   1 dnl Look for framebuffer interface for SA1110 (default=no)
   1 dnl Look for Xlib UI (default=yes)
   1 dnl Look for Win32 UI (default=no)
   1 dnl Look for Wii interface (default = 0)
   1 dnl Look for SDL (default=no)
   1 dnl Look for GTK+ (default=yes)
   1 dnl If it appears we're using gcc as our compiler, turn on warnings
   1 dnl Generate commandy.h
   1 dnl GNU General Public License for more details.
   1 dnl E-mail: [email protected]
   1 dnl Do we want the low memory compile?
   1 dnl Do we want lots of warning messages?
   1 dnl Definitions for config.h
   1 dnl Decide which sound routines to use
   1 dnl Decide whether to install desktop and mime files
   1 dnl Checks for typedefs, structures, and compiler characteristics.
   1 dnl Checks for programs.
   1 dnl Checks for library functions.
   1 dnl Checks for header files.
   1 dnl Check whether to use zlib (the UNIX version is called z, Win32 zdll)
   1 dnl Check that libspectrum is available
   1 dnl Check if supplied libspectrum has support for wav files
   1 dnl Check if supplied libspectrum has support for compressed szx files
   1 dnl Check if supplied libspectrum has support for bz2 compressed files
   1 dnl Check if a version of libpng which supplies png_write_png is available
   1 dnl Check if a version of libasound which supplies pcm is available
   1 dnl Check if a version of libao which supplies ao_open_live is available
   1 dnl Check if MS Windows Multimedia API sound is available
   1 dnl Check if DirectSound is available
   1 dnl Check if CoreAudio is available
   1 dnl Check for big endianness
   1 dnl Check for Win32 resource tool
   1 dnl Author contact information:
   1 dnl Are we supplying the ROMs or relying on another package?
   1 dnl Allow the user to say that various libraries are in one place
   1 dnl 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
   1 dnl (at your option) any later version.
   1 desktopdir=no)
   1 desktdesktopintegration=no)
   1 debugger/Makefile
   1 data/Makefile
   1 compat/win32/Makefile
   1 compat/wii/Makefile
   1 compat/unix/Makefile
   1 compat/morphos/Makefile
   1 compat/linux/Makefile
   1 compat/amiga/Makefile
   1 case "$host_os" in
   1 [  --without-zlib          don't use zlib],
   1 [  --without-windres       don't use windres],
   1 [  --without-png           don't use libpng],
   1 [  --without-alsa          don't use libasound (ALSA)],
   1 [  --with-win32            use Win32 for user interface],
   1 [  --with-svgalib          use svgalib for user interface],
   1 [  --with-local-prefix=PFX local libraries installed in PFX (optional)],
   1 [  --with-libspectrum-prefix=PFX where libspectrum is installed (optional)],
   1 [  --with-libao            use libao for sound output],
   1 [  --enable-warnings       give lots of warnings if using gcc],
   1 [  --enable-smallmem       low memory compile needed],
   1 YFLAGS="$YFLAGS -d"
   1 UI=sdl; WIDGET=widget;
   1 LIBSPEC_CFLAGS=-I$withval/include; LIBSPEC_LIBS=-L$withval/lib,
   1 LIBSPEC_CFLAGS=""; LIBSPEC_LIBS="")
   1 FUSE_URL=fuse_url
   1 FUSE_FULL_VERSION=fuse_full_version
   1 FUSE_COPYRIGHT=fuse_copyright
   1 CPPFLAGS="$CPPFLAGS -I$withval/include"; LDFLAGS="$LDFLAGS -L$withval/lib",
   1 CPPFLAGS="$CPPFLAGS $LIBSPEC_CFLAGS $GTK_CFLAGS $GLIB_CFLAGS"
   1 COMPAT_SUBDIR="compat/$COMPAT_OSNAME"
   1 AS_HELP_STRING([--with-desktop-dir=DIR], [location of desktop files (default=datadir)]),
   1 AS_HELP_STRING([--enable-desktop-integration], [add menu entry and file associations]),
   1 AM_PROG_LEX
   1 AM_INIT_AUTOMAKE
   1 AM_CONDITIONAL(WIDGET, test x$WIDGET != x)
   1 AM_CONDITIONAL(HAVE_GTK2, test "$gtk3" != yes)
   1 AM_CONDITIONAL(DESKTOP_INTEGRATION, test "$desktopintegration" = yes)
   1 AM_CONDITIONAL(DESKTOP_DATADIR, test "$desktopdir" == yes)
   1 AM_CONDITIONAL(COMPAT_MKSTEMP, test "$ac_cv_func_mkstemp" = no)
   1 AM_CONDITIONAL(COMPAT_GETOPT, test "$compat_getopt" = yes)
   1 AM_CONDITIONAL(COMPAT_DIRNAME, test "$ac_cv_func_dirname" = no)
   1 AC_SUBST(YFLAGS)
   1 AC_SUBST(WINDRES_OBJ)
   1 AC_SUBST(WIDGET)
   1 AC_SUBST(UI_LIBS)
   1 AC_SUBST(UI)
   1 AC_SUBST(TIMER_LIBADD)
   1 AC_SUBST(SOUND_LIBS)
   1 AC_SUBST(SOUND_LIBADD)
   1 AC_SUBST(PERL)
   1 AC_SUBST(LIBSPEC_LIBS)
   1 AC_SUBST(LIBSPEC_HAVE_ZLIB)
   1 AC_SUBST(LIBSPEC_HAVE_BZ2)
   1 AC_SUBST(LIBSPEC_HAVE_AUDIOFILE)
   1 AC_SUBST(LIBSPEC_CFLAGS)
   1 AC_SUBST(FUSE_URL)
   1 AC_SUBST(FUSE_FULL_VERSION)
   1 AC_SUBST(FUSE_COPYRIGHT)
   1 AC_SUBST(DESKTOP_DATADIR)
   1 AC_SUBST(COMPAT_SUBDIR)
   1 AC_SUBST(COMPAT_OSNAME)
   1 AC_SUBST(AUTOLOAD_SNAPS)
   1 AC_PROG_YACC
   1 AC_PROG_RANLIB
   1 AC_PROG_CC
   1 AC_PATH_XTRA
   1 AC_PATH_PROG(PERL, perl)
   1 AC_MSG_RESULT($zlib)
   1 AC_MSG_RESULT($windres)
   1 AC_MSG_RESULT($win32)
   1 AC_MSG_RESULT($warnings)
   1 AC_MSG_RESULT($svgalib)
   1 AC_MSG_RESULT($stick)
   1 AC_MSG_RESULT($smallmem)
   1 AC_MSG_RESULT($missing_routines)
   1 AC_MSG_RESULT($libxml2)
   1 AC_MSG_RESULT($libpng)
   1 AC_MSG_RESULT($libasound)
   1 AC_MSG_RESULT($libao)
   1 AC_MSG_RESULT($desktopintegration)
   1 AC_MSG_RESULT($COMPAT_OSNAME)
   1 AC_MSG_CHECKING(which timer routines to use)
   1 AC_MSG_CHECKING(which standard routines we're missing)
   1 AC_MSG_CHECKING(which sound routines to use)
   1 AC_MSG_CHECKING(which compatibility routines to use)
   1 AC_MSG_CHECKING(whether to use zlib)
   1 AC_MSG_CHECKING(whether to use windres)
   1 AC_MSG_CHECKING(whether to install desktop file)
   1 AC_MSG_CHECKING(whether svgalib UI requested)
   1 AC_MSG_CHECKING(whether low memory compile requested)
   1 AC_MSG_CHECKING(whether lots of warnings requested)
   1 AC_MSG_CHECKING(whether libxml2 support requested)
   1 AC_MSG_CHECKING(whether libspectrum supports wav files)
   1 AC_MSG_CHECKING(whether libspectrum supports compressed szx snaps)
   1 AC_MSG_CHECKING(whether libspectrum supports compressed bz2 files)
   1 AC_MSG_CHECKING(whether libao requested)
   1 AC_MSG_CHECKING(whether hardware joystick support requested)
   1 AC_MSG_CHECKING(whether Win32 UI requested)
   1 AC_MSG_CHECKING(whether PNG support requested)
   1 AC_MSG_CHECKING(whether Linux TAP devices are supported)
   1 AC_MSG_CHECKING(whether ALSA requested)
   1 AC_MSG_CHECKING(where to find the Spectrum ROM images)
   1 AC_INIT([fuse],[fuse_version],[fuse_bugreport],[fuse],[fuse_url])
   1 AC_HEADER_STDC
   1 AC_DEFINE([USE_WIDGET], 1,
   1 AC_DEFINE([UI_SDL], 1, [Defined if the SDL UI in use])
   1 AC_DEFINE([FUSE_RC_VERSION], [fuse_rc_version],
   1 AC_DEFINE([FUSE_COPYRIGHT], [fuse_copyright], [Define copyright of Fuse])
   1 AC_C_INLINE
   1 AC_C_CONST
   1 AC_C_BIGENDIAN
   1 AC_CONFIG_SRCDIR(fuse.c)
   1 AC_CONFIG_MACRO_DIR([m4])
   1 AC_CONFIG_LINKS([
   1 AC_CONFIG_HEADERS(config.h)
   1 AC_CONFIG_FILES([
   1 AC_CHECK_PROGS(GTK_UPDATE_ICON_CACHE,gtk-update-icon-cache,true)
   1 AC_CHECK_HEADERS(libspectrum.h,LIBSPEC_LIBS="$LIBSPEC_LIBS -lspectrum",
   1 AC_CHECK_HEADERS(
   1 AC_CHECK_FUNCS(dirname geteuid getopt_long mkstemp fsync)
   1 AC_CANONICAL_HOST
   1 AC_ARG_WITH(zlib,
   1 AC_ARG_WITH(windres,
   1 AC_ARG_WITH(win32,
   1 AC_ARG_WITH(svgalib,
   1 AC_ARG_WITH(roms-dir,
   1 AC_ARG_WITH(png,
   1 AC_ARG_WITH(local-prefix,
   1 AC_ARG_WITH(libspectrum-prefix,
   1 AC_ARG_WITH(libao,
   1 AC_ARG_WITH(desktop-dir,
   1 AC_ARG_WITH(alsa,
   1 AC_ARG_ENABLE(warnings,
   1 AC_ARG_ENABLE(smallmem,
   1 AC_ARG_ENABLE(desktop-integration,
   1 #include <sys/shm.h>
   1 #include <sys/ipc.h>
   1 #include <X11/Xlib.h>
   1 # If we're not using GTK+, must either find glib or use the replacement
   1 # (as supplied by libspectrum)
   1   unset withval
   1   sys/soundcard.h \
   1   sys/audioio.h \
   1   sys/audio.h \
   1   strings.h \
   1   stick=yes)
   1   siginfo.h \
   1   morphos)
   1   mmsystem.h,
   1   missing_routines='(none)'
   1   missing_routines="$missing_routines"'mkstemp '
   1   missing_routines="$missing_routines"'dirname '
   1   mingw32*)
   1   libxml2=yes)
   1   libgen.h \
   1   if test -n "$LIBPNG_CONFIG"; then
   1   if test $ac_cv_func_gethostname = no; then
   1   if test $ac_cv_func_connect = no; then
   1   if test "$withval" = no; then wii=no; else wii=yes; fi,
   1   if test "$withval" = no; then stick=no; else stick=yes; fi,
   1   if test "$withval" = no; then sdl=no; else sdl=yes; fi,
   1   if test "$withval" = no; then libxml2=no; else libxml2=yes; fi,
   1   if test "$withval" = no; then gtk=no; else gtk=yes; fi,
   1   if test "$withval" = no; then glib=no; else glib=yes; fi,
   1   if test "$withval" = no; then fb=no; else fb=yes; fi,
   1   if test "$with_x" = no; then
   1   if test "$wii" = yes; then
   1   if test "$sdl" = yes; then
   1   if test "$libjsw" = yes; then
   1   if test "$glib" = yes; then
   1   if test "$fb" = yes; then
   1   if test "$WINDRES" != no; then
   1   gtk=yes)
   1   glib=yes)
   1   echo 'we supply them'
   1   echo "$withval"
   1   dsound.h,
   1   dnl instead of `gethostbyname'.
   1   dnl We prefer to use UI-specific joystick code. (Default.)
   1   dnl This apparently needed for SVR4 systems to link correctly
   1   dnl Thanks to Erik Kunze for pointing out this problem
   1   dnl Strange construct used here as += doesn't seem to work on OS X
   1   dnl OpenBSD
   1   dnl If there is none, or you override this here, we use libjsw.
   1   dnl Check for the MIT-SHM extension
   1   dnl Basically the same as a part of AC_PATH_XTRA, but using `gethostname'
   1   dnl (svgalib appears to dislike switched joysticks on the parallel port...)
   1   case "$host_os" in
   1   case "$UI" in
   1   amigaos)
   1   [win32sound_available=yes],
   1   [dxsound_available=yes],
   1   [coreaudio_available=yes],
   1   [LIBSPEC_HAVE_BZ2=yes; AC_MSG_RESULT(yes)],
   1   [LIBSPEC_HAVE_BZ2=""; AC_MSG_RESULT(no)]
   1   [LIBSPEC_HAVE_AUDIOFILE=yes; AC_MSG_RESULT(yes)],
   1   [LIBSPEC_HAVE_AUDIOFILE=""; AC_MSG_RESULT(no)]
   1   [AUTOLOAD_SNAPS=uncompressed; LIBSPEC_HAVE_ZLIB=""; AC_MSG_RESULT(no)]
   1   [AUTOLOAD_SNAPS=compressed; LIBSPEC_HAVE_ZLIB=yes; AC_MSG_RESULT(yes)],
   1   [AC_MSG_WARN(mmsystem.h not found - no MS Windows Multimedia API sound output)],
   1   [AC_MSG_WARN(dsound.h not found - no DirectSound output)],
   1   [AC_MSG_WARN(CoreAudio/AudioHardware.h not found - no CoreAudio sound output)]
   1   [AC_MSG_RESULT(no)]
   1   [AC_LANG_PROGRAM([[
   1   [AC_DEFINE([LINUX_TAP], 1, [Define to 1 if Linux TAP devices are supported.])
   1   [#include <windows.h>]
   1   [#define DIRECTSOUND_VERSION 0x0700]
   1   [  --without-libxml2       use a libxml2 for settings],
   1   [  --without-joystick      use a real joystick for Kempston emulation etc.],
   1   [  --without-gtk           don't use GTK+ for user interface],
   1   [  --without-glib          don't use glib],
   1   [  --with-wii               use Wii FB for user interface],
   1   [  --with-sdl              use SDL for user interface],
   1   [  --with-roms-dir=DIR     location of the Spectrum ROM images],
   1   [  --with-fb               use framebuffer for user interface],
   1   UI_LIBS="ui/xlib/libuixlib.a ui/widget/libwidget.a"
   1   UI=xlib; WIDGET=widget;
   1   TIMER_LIBADD='sdl.$(OBJEXT)'
   1   TIMER_LIBADD='native.$(OBJEXT)'
   1   SOUND_LIBADD='win32sound.$(OBJEXT)' SOUND_LIBS='-lwinmm'
   1   SOUND_LIBADD='wiisound.$(OBJEXT)' SOUND_LIBS='' sound_fifo=yes
   1   SOUND_LIBADD='sunsound.$(OBJEXT)' SOUND_LIBS=''
   1   SOUND_LIBADD='sunsound.$(OBJEXT) hpsound.$(OBJEXT)' SOUND_LIBS=''
   1   SOUND_LIBADD='sdlsound.$(OBJEXT)' SOUND_LIBS='' sound_fifo=yes
   1   SOUND_LIBADD='osssound.$(OBJEXT)' SOUND_LIBS=''
   1   SOUND_LIBADD='nullsound.$(OBJEXT)' SOUND_LIBS=''
   1   SOUND_LIBADD='dxsound.$(OBJEXT)' SOUND_LIBS='-ldsound -lole32 -ldxguid'
   1   SOUND_LIBADD='coreaudiosound.$(OBJEXT)' SOUND_LIBS='-framework CoreAudio -framework AudioUnit -framework CoreServices' sound_fifo=yes
   1   SOUND_LIBADD='aosound.$(OBJEXT)' SOUND_LIBS='-lao'
   1   SOUND_LIBADD='alsasound.$(OBJEXT)' SOUND_LIBS='-lasound'
   1   SOUND_LIBADD="$SOUND_LIBADD"' sfifo.$(OBJEXT)'
   1   LIBS="$LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS";
   1   LDFLAGS="$LDFLAGS $X_LIBS";
   1   DESKTOP_DATADIR=$with_desktop_dir
   1   DESKTOP_DATADIR="$datadir"
   1   CoreAudio/AudioHardware.h,
   1   CPPFLAGS="$CPPFLAGS -I$prefix/include"; LDFLAGS="$LDFLAGS -L$prefix/lib"
   1   CFLAGS="$CFLAGS $X_CFLAGS";
   1   AM_PATH_XML2(2.0.0,AC_DEFINE([HAVE_LIB_XML2], 1,
   1   AC_SUBST(WINDRES)
   1   AC_SUBST(PNG_LIBS)
   1   AC_PATH_PROG([LIBPNG_CONFIG], [libpng-config])
   1   AC_MSG_RESULT(yes)],
   1   AC_MSG_RESULT(win32sound)
   1   AC_MSG_RESULT(none)
   1   AC_MSG_RESULT(native)
   1   AC_MSG_RESULT(libao)
   1   AC_MSG_RESULT(Wii)
   1   AC_MSG_RESULT(Solaris or HP/UX)
   1   AC_MSG_RESULT(OpenBSD)
   1   AC_MSG_RESULT(OSS)
   1   AC_MSG_RESULT(DirectX)
   1   AC_MSG_RESULT(CoreAudio)
   1   AC_MSG_RESULT(ALSA)
   1   AC_MSG_RESULT($wii)
   1   AC_MSG_RESULT($sdl)
   1   AC_MSG_RESULT($gtk)
   1   AC_MSG_RESULT($glib)
   1   AC_MSG_RESULT($fb)
   1   AC_MSG_CHECKING(whether to use glib)
   1   AC_MSG_CHECKING(whether framebuffer UI requested)
   1   AC_MSG_CHECKING(whether Wii UI requested)
   1   AC_MSG_CHECKING(whether SDL UI requested)
   1   AC_MSG_CHECKING(whether GTK+ UI requested)
   1   AC_DEFINE_UNQUOTED(ROMSDIR, "$withval", [Location of the ROM images])
   1   AC_DEFINE([USE_WIDGET], 1, [Defined if we're using a widget-based UI])
   1   AC_DEFINE([USE_WIDGET], 1,
   1   AC_DEFINE([UI_X], 1, [Defined if Xlib UI in use])
   1   AC_DEFINE([SOUND_FIFO], 1, [Defined if the sound code uses a fifo])
   1   AC_DEFINE([NO_SOUND], 1, [Defined if no sound code is present])
   1   AC_DEFINE([DIRECTSOUND_VERSION], 0x0700, [DirectX 7 or higher is required])
   1   AC_CHECK_TOOL(WINDRES, windres, no)
   1   AC_CHECK_LIB( asound, snd_pcm_hw_params_set_period_size_near,
   1   AC_CHECK_LIB( ao, ao_open_live,
   1   AC_CHECK_LIB( Xext, XShmAttach, LIBS="$LIBS -lXext" )
   1   AC_CHECK_HEADERS( X11/extensions/XShm.h,,,[[
   1   AC_CHECK_HEADERS(
   1   AC_CHECK_HEADER(windows.h,
   1   AC_CHECK_HEADER(vga.h,
   1   AC_CHECK_FUNC(gethostname)
   1   AC_CHECK_FUNC(connect)
   1   AC_ARG_WITH(wii,
   1   AC_ARG_WITH(sdl,
   1   AC_ARG_WITH(libxml2,
   1   AC_ARG_WITH(joystick,
   1   AC_ARG_WITH(gtk,
   1   AC_ARG_WITH(glib,
   1   AC_ARG_WITH(fb,
   1   # Later selection between these two
   1     zlib.h,
   1     warnings=yes;
   1     warnings=no;
   1     svga|sdl|win32)
   1     smallmem=yes;
   1     smallmem=no;
   1     if test "$warnings" = yes; then
   1     if test "$gtk3" = yes; then
   1     host_os=wii
   1     gtk|xlib)
   1     elif test "$gtk3" = no; then
   1     elif test "$gtk3" = auto; then
   1     dnl Look for libjsw. If missing, use QAOP<space>.
   1     dnl And possibly lots of warnings
   1     amigaos|morphos)
   1     ac_save_LDFLAGS="$LDFLAGS"
   1     ac_save_CPPFLAGS="$CPPFLAGS"
   1     [AC_MSG_WARN(snd_pcm_hw_params_set_period_size_near not found - no ALSA output)]
   1     [AC_MSG_WARN(ao_open_live not found - no libao sound output)]
   1     WINDRES_OBJ="windres.o"
   1     UI_LIBS="ui/wii/libuiwii.a ui/widget/libwidget.a"
   1     UI_LIBS="ui/fb/libuifb.a ui/widget/libwidget.a"
   1     UI=wii; WIDGET=widget;
   1     UI=gtk; UI_LIBS="ui/gtk/libuigtk.la"
   1     UI=fb; WIDGET=widget;
   1     SDL_VERSION=1.2.4
   1     PNG_LIBS=`libpng-config --ldflags`
   1     PNG_CFLAGS=`libpng-config --cflags`
   1     LDFLAGS="$ac_save_LDFLAGS"
   1     LDFLAGS="$PNG_LIBS $LDFLAGS"
   1     CPPFLAGS="$ac_save_CPPFLAGS"
   1     CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
   1     COMPAT_OSNAME='win32'
   1     COMPAT_OSNAME='wii'
   1     COMPAT_OSNAME='unix'
   1     COMPAT_OSNAME='morphos'
   1     COMPAT_OSNAME='linux'
   1     COMPAT_OSNAME='amiga'
   1     CFLAGS="$CFLAGS -Wall"
   1     AM_PATH_SDL($SDL_VERSION,
   1     AM_PATH_GLIB_2_0(
   1     AC_SEARCH_LIBS(compress2, z zdll)
   1     AC_MSG_ERROR([Please specify --with-svgalib or --with-fb, not --without-x.])
   1     AC_DEFINE([USE_LIBPNG], 1, [Defined if we're going to be using the installed libpng])
   1     AC_DEFINE([USE_JOYSTICK], 1, [Defined if we're using hardware joysticks])
   1     AC_DEFINE([UI_WII], 1, [Defined if Wii UI in use])
   1     AC_DEFINE([UI_GTK], 1, [Defined if GTK+ UI is in use])
   1     AC_DEFINE([UI_FB], 1, [Defined if framebuffer UI in use])
   1     AC_DEFINE([HAVE_LIB_GLIB], 1, [Defined if we've got glib])
   1     AC_DEFINE([HAVE_ENOUGH_MEMORY], 1, [Defined if we've got enough memory to compile z80_ops.c])
   1     AC_CHECK_LIB(socket, connect, X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS", ,
   1     AC_CHECK_LIB(nsl, gethostname, X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl")
   1     AC_CHECK_LIB( png, png_write_png,
   1     AC_CHECK_HEADERS(jsw.h,
   1     AC_ARG_ENABLE(gtk3,
   1      AC_DEFINE([USE_JOYSTICK], 1,
   1       missing_routines="$missing_routines"'getopt_long '
   1       libjsw=yes
   1       libjsw=no
   1       int test2 = TUNSETIFF;
   1       int test1 = IFF_TAP | IFF_NO_PI;
   1       int test = LIBSPECTRUM_SUPPORTS_ZLIB_COMPRESSION;
   1       int test = LIBSPECTRUM_SUPPORTS_BZ2_COMPRESSION;
   1       int test = LIBSPECTRUM_SUPPORTS_AUDIOFILE;
   1       if test "$gtk3" = auto; then
   1       if test "$enableval" = yes; then gtk3=yes; else gtk3=no; fi,
   1       gtk3=auto
   1       dnl Wii UI check this elsewhere
   1       dnl These UIs could use SDL library for handling joysticks
   1       dnl Our only option is libjsw.
   1       dnl Our getopt_long replacement doesn't work, so don't use it
   1       dnl Libraries such as svgalib provide their own joystick code.
   1       compat_getopt=yes
   1       ao/ao.h,
   1       alsa/asoundlib.h,
   1       [ao_available=yes],
   1       [alsa_available=yes],
   1       [AC_MSG_WARN(png_write_png not found - saving screenshots disabled)
   1       [AC_MSG_WARN(ao/ao.h not found - no libao sound output)]
   1       [AC_MSG_WARN(alsa/asoundlib.h not found - no ALSA output)]
   1       [AC_CHECK_HEADER(
   1       PKG_CHECK_MODULES(GTK, [gtk+-3.0],,
   1       LIBS="$LIBS `pkg-config --libs glib-2.0`",
   1       AS_HELP_STRING([--enable-gtk3],[prefer GTK+ 3 to GTK+ 2]),
   1       AM_PATH_GTK_2_0(2.18.0,,
   1       AM_PATH_GTK_2_0(2.18.0,
   1       AC_MSG_WARN(glib not found - using libspectrum's replacement)
   1       AC_MSG_RESULT(yes)
   1       AC_DEFINE([HAVE_LIB_GLIB], 1, [Defined if we've got glib])
   1       2.20.0,
   1       #include <sys/ioctl.h>
   1       #include <net/if.h>
   1       #include <linux/if_tun.h>
   1        PNG_LIBS='']
   1         png.h,
   1         gtk=no
   1         gtk3=no,
   1         [AC_DEFINE([USE_LIBPNG], 1, [Defined if we're going to be using the installed libpng]) PNG_LIBS='-lpng -lm -lz'],
   1         [AC_CHECK_HEADERS(libpng/png.h,
   1         UI_LIBS="ui/sdl/libuisdl.a ui/widget/libwidget.a", 
   1         SDL_VERSION=1.2.4
   1         PKG_CHECK_MODULES(GTK, [gtk+-3.0],
   1         CFLAGS="$CFLAGS -Wstrict-prototypes -Wmissing-prototypes -Winline -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -W -Wsign-compare"
   1         AM_PATH_SDL($SDL_VERSION,
   1         AC_MSG_WARN([GTK+ not found. Reverting to Xlib])
   1         AC_MSG_ERROR([GTK+ not found])
   1         AC_DEFINE([USE_JOYSTICK], 1, [Defined if we're using hardware joysticks])
   1         )],
   1          AC_MSG_ERROR(Sorry - I need libspectrum to be available))
   1          $X_EXTRA_LIBS)
   1           gtk=no
   1           gtk3=yes,
   1           gtk3=no
   1           [Defined if we're using a widget-based UI])
   1           [Define version information for win32 executables])
   1           LIBS="$LIBS `sdl-config --libs`"
   1           CPPFLAGS="$CPPFLAGS `sdl-config --cflags`"
   1           AC_MSG_WARN([SDL version $SDL_VERSION not found - joystick support disabled]))
   1           AC_MSG_WARN([GTK+ not found. Reverting to Xlib])
   1           AC_DEFINE([USE_JOYSTICK], 1, [Defined if we're using hardware joysticks]),
   1             [Defined if we're using a widget-based UI])
   1                [Defined if we've got libxml2]),
   1                [Defined if we're using hardware joysticks]),
   1                AC_MSG_WARN(libxml2 not found - config file will use ini format))
   1                 AC_MSG_ERROR([SDL version $SDL_VERSION not found]))
   1                   UI_LIBS="ui/svga/libuisvga.a ui/widget/libwidget.a",
   1                   UI=win32; UI_LIBS="ui/win32/libuiwin32.a",
   1                   UI=svga; WIDGET=widget;
   1                   LIBS="$LIBS -mwindows -lcomctl32 -lwinmm -lpthread -lws2_32";
   1                   LIBS="$LIBS -lvga";
   1                   AC_MSG_ERROR([svgalib not found]))
   1                   AC_MSG_ERROR([Win32 UI not found]))
   1                   AC_DEFINE([_WIN32_IE], 0x400, [Internet Explorer is 4.0 or higher is required])
   1                   AC_DEFINE([WINVER], 0x0400, [Minimal supported version of Windows is 95 or NT4])
   1                   AC_DEFINE([UI_WIN32], 1, [Defined if Win32 UI in use])
   1                   AC_DEFINE([UI_SVGA], 1, [Defined if svgalib UI in use])
   1                      [CPPFLAGS="$ac_save_CPPFLAGS $PNG_CFLAGS/libpng"
   1                      [AC_MSG_WARN(png.h not found - saving screenshots disabled)
   1                      LIBS="$LIBS -ljsw";
   1                      AC_MSG_WARN(jsw.h not found - joystick support disabled))
   1                       PNG_LIBS='']
   1                       AC_DEFINE([USE_LIBPNG], 1, [Defined if we're going to be using the installed libpng]) PNG_LIBS='-lpng -lm -lz'],