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

Comparing Frodo4/Src/configure.ac (file contents):
Revision 1.6 by cebix, 2003-07-09T14:40:52Z vs.
Revision 1.10 by berlac, 2008-01-25T11:02:49Z

# Line 24 | Line 24 | dnl Checks for libraries.
24   AC_CHECK_LIB(vga, vga_setmode, HAVE_SVGA_LIB=yes, HAVE_SVGA_LIB=no)
25   AM_PATH_SDL(1.2.0, HAVE_SDL=yes, HAVE_SDL=no)
26  
27 + EMBEDDED_EXTENSION=none
28 + AC_MSG_CHECKING([if Frodo should be compiled with extensions for an embedded device])
29 + AC_ARG_WITH([embedded-extension], [AS_HELP_STRING([--with-embedded-extension=qtopia|maemo],[Specify which extension for Frodo on an embedded device should be used.])])
30 + if [[ x"$with_embedded_extension" == "xqtopia" ]]; then
31 +  EMBEDDED_EXTENSION=$with_embedded_extension
32 +  AC_DEFINE(QTOPIA, 1, [Extension for Qtopia is enabled])
33 + elif [[ x"$with_embedded_extension" == "xmaemo" ]]; then
34 +  EMBEDDED_EXTENSION=$with_embedded_extension
35 +  AC_DEFINE(MAEMO, 1, [Extension for Maemo is enabled])
36 + fi
37 + AC_MSG_RESULT([$EMBEDDED_EXTENSION])
38 +
39 + if [[ x"$EMBEDDED_EXTENSION" == "xmaemo" ]]; then
40 +  PKG_CHECK_MODULES(OSSO, [libosso >= 0.9.19], AC_DEFINE(HAVE_LIBOSSO, [], [Weather libosso is present on the system]), [AC_MSG_NOTICE([libosso not present.])])
41 + fi
42 +
43 + if [[ x"$EMBEDDED_EXTENSION" == "xnone" ]]; then
44 +  HAVE_GLADE=no
45 +  PKG_CHECK_MODULES(GLADE, libglade-2.0 libgnomeui-2.0 >= 1.110.0, HAVE_GLADE=yes)
46 +  if [[ $HAVE_GLADE = yes ]]; then
47 +    AC_DEFINE(HAVE_GLADE, 1, [Glade support is enabled])
48 +  fi
49 + else
50 +  GUIOBJS="sdlgui.o file.o dlgFileSelect.o dlgMain.o dlgDrives.o dlgOptions.o dlgVideoSound.o dlgAdvanced.o dlgInput.o"
51 +  GUISRCS="sdlgui.cpp file.cpp dlgFileSelect.cpp dlgMain.cpp dlgDrives.cpp dlgOptions.cpp dlgVidoSound.cpp dlgAdvanced.cpp dlgInput.cpp"
52 + fi
53 +
54   AC_PATH_XTRA
55  
56   AC_HEADER_DIRENT
57   AC_HEADER_STDC
58   AC_CHECK_HEADERS(unistd.h fcntl.h sys/time.h sys/types.h utime.h string.h strings.h values.h ncurses.h)
59 < AC_CHECK_HEADERS(sys/vfs.h sys/mount.h sys/select.h sys/param.h sys/statfs.h sys/statvfs.h sys/stat.h linux/joystick.h)
59 > AC_CHECK_HEADERS(sys/vfs.h sys/mount.h sys/select.h sys/param.h sys/statfs.h sys/statvfs.h sys/stat.h)
60  
61 + dnl Checks for types.
62   AC_CHECK_SIZEOF(char)
63   AC_CHECK_SIZEOF(short)
64   AC_CHECK_SIZEOF(int)
65   AC_CHECK_SIZEOF(long)
66   AC_CHECK_SIZEOF(long long)
67 + AC_CHECK_SIZEOF(void *)
68  
69   dnl Checks for typedefs, structures, and compiler characteristics.
70   AC_TYPE_MODE_T
# Line 84 | Line 113 | AC_SUBST(SET_MAKE)
113   AC_SUBST(top_srcdir)
114   AC_SUBST(HPUX_REV)
115   AC_SUBST(KBD_LANG)
116 + AC_SUBST(GUIOBJS)
117 + AC_SUBST(GUISRCS)
118  
119   dnl Generate Makefile.
120   AC_CONFIG_FILES([Makefile])

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines