1 |
|
dnl Process this file with autoconf to produce a configure script. |
2 |
|
|
3 |
< |
AC_INIT(Frodo, 4.2, [Christian.Bauer@uni-mainz.de], Frodo) |
3 |
> |
AC_INIT(Frodo, 4.2) |
4 |
|
AC_CONFIG_SRCDIR(main.cpp) |
5 |
|
AC_PREREQ(2.52) |
6 |
|
AC_CONFIG_HEADER(sysconfig.h) |
11 |
|
AC_PROG_CPP |
12 |
|
AC_PROG_MAKE_SET |
13 |
|
AC_PROG_INSTALL |
14 |
+ |
PKG_PROG_PKG_CONFIG |
15 |
|
|
16 |
|
dnl -fomit-frame-pointer makes things faster |
17 |
|
if [[ x"$GXX" = "xyes" ]]; then |
37 |
|
fi |
38 |
|
AC_MSG_RESULT([$EMBEDDED_EXTENSION]) |
39 |
|
|
40 |
+ |
if [[ x"$EMBEDDED_EXTENSION" == "xmaemo" ]]; then |
41 |
+ |
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.])]) |
42 |
+ |
fi |
43 |
+ |
|
44 |
|
if [[ x"$EMBEDDED_EXTENSION" == "xnone" ]]; then |
45 |
|
HAVE_GLADE=no |
46 |
< |
PKG_CHECK_MODULES(GLADE, libglade-2.0 libgnomeui-2.0 >= 1.110.0, HAVE_GLADE=yes) |
46 |
> |
PKG_CHECK_MODULES(GLADE, [libglade-2.0 libgnomeui-2.0 >= 1.110.0], HAVE_GLADE=yes) |
47 |
|
if [[ $HAVE_GLADE = yes ]]; then |
48 |
|
AC_DEFINE(HAVE_GLADE, 1, [Glade support is enabled]) |
49 |
+ |
LDFLAGS="$LDFLAGS -Wl,-E" |
50 |
|
fi |
51 |
|
else |
52 |
|
GUIOBJS="sdlgui.o file.o dlgFileSelect.o dlgMain.o dlgDrives.o dlgOptions.o dlgVideoSound.o dlgAdvanced.o dlgInput.o" |