configure.in 14.9 KB
Newer Older
1
dnl Process this file with autoconf to produce a configure script.
Bruno Coudoin's avatar
Bruno Coudoin committed
2

3
AC_INIT(src/gcompris/gcompris.c)
4
AC_CANONICAL_TARGET
Bruno Coudoin's avatar
Bruno Coudoin committed
5
AM_INIT_AUTOMAKE(gcompris, 8.0BETA4)
Bruno Coudoin's avatar
Bruno Coudoin committed
6
AM_CONFIG_HEADER(config.h)
Bruno Coudoin's avatar
Bruno Coudoin committed
7
AM_MAINTAINER_MODE
Bruno Coudoin's avatar
Bruno Coudoin committed
8

9 10 11 12
# Provide relocatable API from autopackage
# From http://autopackage.org/docs/binreloc/
AM_BINRELOC

13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
# Making releases:
#   LIBGCOMPRIS_MICRO_VERSION += 1;
#   LIBGCOMPRIS_INTERFACE_AGE += 1;
# if any functions have been added, set LIBGCOMPRIS_INTERFACE_AGE to 0.
# if backwards compatibility has been broken,
# set LIBGCOMPRIS_BINARY_AGE and LIBGCOMPRIS_INTERFACE_AGE to 0.
#
LIBGCOMPRIS_MAJOR_VERSION=1
LIBGCOMPRIS_MINOR_VERSION=0
LIBGCOMPRIS_MICRO_VERSION=0
LIBGCOMPRIS_INTERFACE_AGE=0
# If you need a modifier for the version number. 
# Normally empty, but can be used to make "fixup" releases.
LIBGCOMPRIS_EXTRAVERSION=

dnl libtool versioning from libgnome

LIBGCOMPRIS_CURRENT=`expr 100 '*' $LIBGCOMPRIS_MINOR_VERSION + $LIBGCOMPRIS_MICRO_VERSION - $LIBGCOMPRIS_INTERFACE_AGE`
LIBGCOMPRIS_BINARY_AGE=`expr 100 '*' $LIBGCOMPRIS_MINOR_VERSION + $LIBGCOMPRIS_MICRO_VERSION`
LIBGCOMPRIS_REVISION=$LIBGCOMPRIS_INTERFACE_AGE
LIBGCOMPRIS_AGE=`expr $LIBGCOMPRIS_BINARY_AGE - $LIBGCOMPRIS_INTERFACE_AGE`
LIBGCOMPRIS_VERSION=$LIBGCOMPRIS_MAJOR_VERSION.$LIBGCOMPRIS_MINOR_VERSION.$LIBGCOMPRIS_MICRO_VERSION$LIBGCOMPRIS_EXTRAVERSION

AC_SUBST(LIBGCOMPRIS_CURRENT)
AC_SUBST(LIBGCOMPRIS_REVISION)
AC_SUBST(LIBGCOMPRIS_AGE)

40 41
AC_ISC_POSIX

42 43
GTK_REQUIRED=2.4.0
GDK_PIXBUF_REQUIRED=2.4.0
44
LIBGNOMECANVAS_REQUIRED=2.3.6
45

46
PKG_CHECK_MODULES(GCOMPRIS, gtk+-2.0 >= $GTK_REQUIRED gdk-pixbuf-2.0 >= $GDK_PIXBUF_REQUIRED libgnomecanvas-2.0 >= $LIBGNOMECANVAS_REQUIRED gthread-2.0)
47 48
AC_CHECK_LIB(SDL_mixer, Mix_OpenAudio,, AC_MSG_ERROR([*** SDL_mixer not found. Visit http://www.libsdl.org and get it]))

49 50
AC_SUBST(GCOMPRIS_CFLAGS)
AC_SUBST(GCOMPRIS_LIBS)
51

Bruno Coudoin's avatar
Bruno Coudoin committed
52 53
AC_HEADER_DIRENT

Bruno Coudoin's avatar
Bruno Coudoin committed
54 55 56 57
AC_PROG_CC
AM_PROG_CC_STDC
AC_HEADER_STDC

58
AC_PROG_INTLTOOL
Bruno Coudoin's avatar
Bruno Coudoin committed
59 60

AM_DISABLE_STATIC
61
AC_LIBTOOL_WIN32_DLL
Bruno Coudoin's avatar
Bruno Coudoin committed
62 63
AM_PROG_LIBTOOL

64 65 66 67 68 69 70
dnl Check for SDL
SDL_VERSION=1.2.3
AM_PATH_SDL($SDL_VERSION,
            :,
	    AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!])
)

71
dnl GNOME2 GNOME_X_CHECKS
72 73 74 75 76 77 78
AM_PATH_GLIB_2_0

dnl libxml-2 Checks
PKG_CHECK_MODULES(XML, libxml-2.0)
AC_SUBST(XML_CFLAGS)
AC_SUBST(XML_LIBS)

79 80 81
dnl glib-genmarshal
AC_PATH_PROG(GLIB_GENMARSHAL, glib-genmarshal)

82 83 84 85
dnl popt
AC_CHECK_LIB(popt, poptDupArgv,,
AC_MSG_ERROR([You must have popt 1.5 or newer to compile gcompris.]))

86
AM_ICONV
Bruno Coudoin's avatar
Bruno Coudoin committed
87

88
dnl XF86VidMode allows us to set the screen resolution dynamically
89
AC_PATH_X
90
AC_ARG_ENABLE(xf86vidmode,
91
          AC_HELP_STRING(
92 93 94 95 96 97 98 99 100
          [--disable-xf86vidmode],
          [Turn off xf86vidmode]),
          USE_XF86VM="$enableval", USE_XF86VM="yes")
found_xf86vidmode=no
if test "x$USE_XF86VM" == "xyes" ; then
  XF86VM_LIBS=
  AC_CHECK_LIB(Xxf86vm, XF86VidModeQueryExtension,
             [AC_CHECK_HEADER(X11/extensions/xf86vmode.h,
                              XF86VM_LIBS="-L$x_libraries -lXxf86vm" found_xf86vidmode=yes,,
101
                                [#include <X11/Xlib.h>])],
102
               , -L$x_libraries $ALL_X_LIBS )
103

104 105
  if test "x$found_xf86vidmode" = "xno"; then
     AC_MSG_NOTICE(["Suitable XF86VidMode extension library not found - Will not use xf86vidmode for fullscreen."])
106
  else
107
     AC_DEFINE_UNQUOTED(XF86_VIDMODE, 1, [XF86VidMode Available])
108
  fi
109 110
fi

111
LDFLAGS="${LDFLAGS} ${XF86VM_LIBS}"
112

Bruno Coudoin's avatar
Bruno Coudoin committed
113
dnl Add the languages which your application supports here.
114
ALL_LINGUAS="am ar az bg ca cs da de el en_CA en_GB es et eu fi fr ga gu he hi hr hu it ka lt mk ml mr ms nb ne nl nn pa pl pt pt_BR ro ru rw sk sl sq sr sr@Latn sv th tr vi wa zh_CN zh_TW"
Bruno Coudoin's avatar
Bruno Coudoin committed
115 116 117 118 119

dnl GCompris needs to know which locale are supported
AC_SUBST(ALL_LINGUAS)
AC_DEFINE_UNQUOTED(ALL_LINGUAS, "${ALL_LINGUAS}", [Supported languages])

120 121
GETTEXT_PACKAGE=gcompris
AC_SUBST(GETTEXT_PACKAGE)
122
AM_GLIB_GNU_GETTEXT
123
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [Gettext package name])
Bruno Coudoin's avatar
Bruno Coudoin committed
124 125 126 127 128 129 130 131

dnl Define myprefix depending on wether our user gives us one or not
if test "x${prefix}" = "xNONE"; then
  myprefix=${ac_default_prefix}
else
  myprefix=${prefix}
fi

132 133 134
dnl Define myprefix depending on wether our user gives us one or not
dnl This is needed for $libdir !
if test "x${exec_prefix}" = "xNONE"; then
135
  exec_prefix=${myprefix}
136 137 138 139
fi



140 141
dnl Some debug option
AC_ARG_ENABLE(debug,
142 143 144 145 146 147
          AC_HELP_STRING(
          [--enable-debug],
          [Turn on debugging messages]),
          USE_DEBUG="$enableval", USE_DEBUG="no")
if test "x$USE_DEBUG" == "xyes" ; then
    AC_DEFINE_UNQUOTED(DEBUG, 1, "Enable debug messages.")
148
    CFLAGS="$CFLAGS -Wall -Werror -g"
Bruno Coudoin's avatar
Bruno Coudoin committed
149
else
150
    CFLAGS="$CFLAGS -Wall -Werror"
151
fi
152

153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212
dnl WIN32 Specifics
AC_MSG_CHECKING([for native Win32])
case "$host" in
  *-*-mingw*)
    native_win32=yes
    ;;
  *)
    native_win32=no
    ;;
esac
AC_MSG_RESULT([$native_win32])
AM_CONDITIONAL(OS_WIN32, test "$native_win32" = yes)

AC_MSG_CHECKING([for Win32 platform in general])
case "$host" in
  *-*-mingw*|*-*-cygwin*)
    platform_win32=yes
    ;;
  *)
    platform_win32=no
    ;;
esac
AC_MSG_RESULT($platform_win32)
AM_CONDITIONAL(PLATFORM_WIN32, test "$platform_win32" = yes)

# Ensure MSVC-compatible struct packing convention is used when
# compiling for Win32 with gcc. GTK+ uses this convention, so we must, too.
# What flag to depends on gcc version: gcc3 uses "-mms-bitfields", while
# gcc2 uses "-fnative-struct".
if test x"$native_win32" = xyes; then
  if test x"$GCC" = xyes; then
    msnative_struct=''
    AC_MSG_CHECKING([how to get MSVC-compatible struct packing])
    if test -z "$ac_cv_prog_CC"; then
      our_gcc="$CC"
    else
      our_gcc="$ac_cv_prog_CC"
    fi
    case `$our_gcc --version | sed -e 's,\..*,.,' -e q` in
      2.)
	if $our_gcc -v --help 2>/dev/null | grep fnative-struct >/dev/null; then
	  msnative_struct='-fnative-struct'
	fi
	;;
      *)
	if $our_gcc -v --help 2>/dev/null | grep ms-bitfields >/dev/null; then
	  msnative_struct='-mms-bitfields'
	fi
	;;
    esac
    if test x"$msnative_struct" = x ; then
      AC_MSG_RESULT([no way])
      AC_MSG_WARN([produced libraries will be incompatible with prebuilt GTK+ DLLs])
    else
      CFLAGS="$CFLAGS $msnative_struct"
      AC_MSG_RESULT([${msnative_struct}])
    fi
  fi
fi

213 214 215
dnl
dnl === DIRECTORY DEFINITIONS ===
dnl
Bruno Coudoin's avatar
Bruno Coudoin committed
216

217 218
dnl Set PACKAGE_LOCALE_DIR in config.h.
AC_DEFINE_UNQUOTED(PACKAGE_LOCALE_DIR, "${myprefix}/${DATADIRNAME}/locale", [GCompris locale directory])
Bruno Coudoin's avatar
Bruno Coudoin committed
219 220 221 222

dnl Set PACKAGE_DATA_DIR
PACKAGE_DATA_DIR="boards"
AC_SUBST(PACKAGE_DATA_DIR)
223
AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${myprefix}/${DATADIRNAME}", [GCompris data directory])
Bruno Coudoin's avatar
Bruno Coudoin committed
224 225

dnl Set PACKAGE_HELP_DIR
226
PACKAGE_HELP_DIR="${myprefix}/${DATADIRNAME}/${PACKAGE}/help"
Bruno Coudoin's avatar
Bruno Coudoin committed
227 228 229
AC_SUBST(PACKAGE_HELP_DIR)

dnl Plugin Directory
230
my_libdir=`eval echo "${libdir}"`
231
AC_DEFINE_UNQUOTED(PACKAGE_CLIB_DIR, "${my_libdir}", [Gcompris plugins directory])
232 233 234 235 236 237
plugindir=$libdir/gcompris
AC_SUBST(plugindir)

dnl Python plugin Directory
PYTHON_PLUGIN_DIR="${myprefix}/${DATADIRNAME}/${PACKAGE}/python"
AC_SUBST(PYTHON_PLUGIN_DIR)
Bruno Coudoin's avatar
Bruno Coudoin committed
238

239
dnl Test for gnuchess
240
AC_PATH_PROG(GNUCHESS, gnuchess,no,[/usr/bin:/usr/games:/usr/local/bin:$PATH])
Bruno Coudoin's avatar
Bruno Coudoin committed
241

242 243 244
if test x$GNUCHESS = xno; then
  AC_MSG_ERROR(Couldn't find gnuchess, please install the gnuchess package version 5 or above)
fi
245
AC_DEFINE_UNQUOTED(GNUCHESS, "$GNUCHESS", Defines where GNU Chess resides on the system)
246

Bruno Coudoin's avatar
Bruno Coudoin committed
247 248
AC_PATH_PROG(TEXINFO, makeinfo,no)
if test x$TEXINFO = xno; then
249
  AC_MSG_WARN(Couldn't find texinfo, docs are not compiled. please install the texinfo package)
Bruno Coudoin's avatar
Bruno Coudoin committed
250
fi
251
AM_CONDITIONAL(TEXINFO, test x$TEXINFO != xno)
Bruno Coudoin's avatar
Bruno Coudoin committed
252 253 254

AC_PATH_PROG(TETEX, texi2html,no)
if test x$TETEX = xno; then
255
  AC_MSG_WARN(Couldn't find texi2html usualy in the tetex package, please install it)
Bruno Coudoin's avatar
Bruno Coudoin committed
256 257
fi

258

259 260 261 262 263 264 265 266 267
dnl SQLITE support
AC_MSG_CHECKING([wether we build with SQLITE (if not profile will be disabled)])
AC_ARG_ENABLE(sqlite,
          AC_HELP_STRING(
          [--disable-sqlite],
          [Turn off sqlite (will disable profile)]),
          with_sqlite="$enableval", with_sqlite="yes")
AC_MSG_RESULT($with_sqlite)

268 269 270 271 272 273 274 275 276 277 278 279 280 281
dnl GNET support
AC_MSG_CHECKING([wether we build with GNET (if not, networking will be disabled)])
AC_ARG_ENABLE(gnet,
          AC_HELP_STRING(
          [--disable-gnet],
          [Turn on gnet (will let GCompris fetch content from a web server)]),
          with_gnet="$enableval", with_gnet="no")
AC_MSG_RESULT($with_gnet)

if test x$with_gnet = xyes; then
  PKG_CHECK_MODULES(GNET, gnet-2.0,, AC_MSG_ERROR([*** GNET not found!]))
  AC_DEFINE([USE_GNET], 1,[Networking is enabled])
fi

282 283 284 285 286 287
dnl check for python
AC_ARG_WITH(python,AC_HELP_STRING(
    [--with-python=path],
    [set the path for python]), python_path=$withval, python_path=not)
if test x$python_path = xno ; then
build_python_plugin="no"
288 289
else

290 291 292 293 294 295 296

if test x$python_path != xnot ; then
PYTHON=$python_path
fi
AM_PATH_PYTHON(2.2)
AM_CHECK_PYTHON_HEADERS( [build_python_plugin="yes"], [build_python_plugin="no"] )

297 298 299 300 301
fi

dnl Finally output the required python variables and automake defines.
AM_CONDITIONAL(PYTHON_PLUGIN, test x$build_python_plugin = xyes)

302 303 304 305 306 307 308
dnl build only support
AC_ARG_ENABLE(py-build-only,
          AC_HELP_STRING(
          [--enable-py-build-only],
          [Skip python modules tests. (Useful if you just need build)]),
          py_build_only="$enableval", py_build_only="no")

309
REQUIRE_PYTHON=""
310 311 312 313
if test x$build_python_plugin = xno; then
  AC_MSG_NOTICE([Python plugin is disabled.])
else
  dnl Python interpreter is available so check for pygtk and gnome-python
314 315 316 317 318 319
  PKG_CHECK_MODULES(PYGTK, pygtk-2.0 gnome-python-2.0)
  if test x$py_build_only = xno; then
    AM_CHECK_PYMOD(gtk,,,AC_MSG_ERROR([*** pygtk installed but not visible from python ]))
    AM_CHECK_PYMOD(gnome.canvas,,,AC_MSG_ERROR([*** pygtk installed but not visible from python ]))
    AM_CHECK_PYMOD(xml.dom.DOMImplementation,,,AC_MSG_WARN([*** pyxml missing ]))

320 321
    dnl Set this variable for the .spec.in file
    REQUIRE_PYTHON="python gnome-python gnome-python-canvas pygtk2.0"
322

323 324 325 326 327 328 329 330 331 332 333 334 335
    dnl with gnome-python >= 2.10 gnome.canvas is obsolete. use gnomecanvas 
    dnl gnomecanvas not supported yet in gcompris
    dnl
    dnl   AM_CHECK_PYMOD(gnome.canvas,,test_gnomecanvas="no",test_gnomevanvas="yes")
    dnl  if test x$test_gnomecanvas = xyes ; then
    dnl     AM_CHECK_PYMOD(gnomecanvas,,,AC_MSG_ERROR([*** gnome.canvas or gnomecanvas installed but not visible from python ]))
    dnl   fi

    if test x$with_sqlite = xyes; then
	AM_CHECK_PYMOD(pysqlite2,,,AC_MSG_ERROR([*** pysqlite2 missing ]))
	REQUIRE_PYTHON="$REQUIRE_PYTHON python-sqlite2"
    fi

336

337 338 339 340
  else
    AC_MSG_WARN([py-build-only: Skipping python modules dependancies])
    AC_MSG_WARN([py-build-only: Do not forget to install pygtk, gnome-python, pysqlite2 and pyxml])
  fi
341 342 343 344 345

  if test x$with_sqlite = xyes; then
    PKG_CHECK_MODULES(SQLITE3, sqlite3,, AC_MSG_ERROR([*** SQLITE3 not found!]))
    AC_DEFINE([USE_SQLITE], 1,[SQLITE Database, Profiles are enabled])
  fi
346 347
fi

348
AM_CONDITIONAL(USE_SQLITE, test x$with_sqlite = xyes)
349 350 351
AC_SUBST(SQLITE3_CFLAGS)
AC_SUBST(SQLITE3_LIBS)

352 353
AC_SUBST(REQUIRE_PYTHON)

354 355 356 357 358 359 360 361
dnl PYCAIRO SUPPORT 
dnl Check for pycairo
AC_ARG_ENABLE(cairo,
          AC_HELP_STRING(
          [--enable-cairo],
          [Enable cairo support (experimental)]),
          with_cairo="$enableval", with_cairo="no")

362
use_cairo=no
363 364 365 366 367 368
if test x$with_cairo = xyes; then
   PKG_CHECK_MODULES(CAIRO, cairo >= 0.5.0,, AC_MSG_ERROR([*** cairo not found! get it at http://cairographics.org/ if you want --enable-cairo ]))
   if test x$py_build_only = xno; then
      if test x$build_python_plugin = xyes; then
         PKG_CHECK_MODULES(PYCAIRO, pycairo >= 0.5.0,, AC_MSG_ERROR([*** pycairo not found! get it at http://cairographics.org/ if you want --enable-cairo ]))
         AM_CHECK_PYMOD(cairo,,,AC_MSG_ERROR([*** pycairo installed but not visible from python ]))		 
369
         use_cairo=yes
370 371 372 373 374 375
         AC_DEFINE([USE_CAIRO],[],[use Cairo graphic library])
      else
         AC_MSG_WARN([ cairo enabled without python ?])
      fi
   else
    AC_MSG_WARN([py-build-only: skipping test. Do not forget to install pycairo !])
376 377
    use_cairo=yes
    AC_DEFINE([USE_CAIRO],[],[use Cairo graphic library])
378 379
   fi
fi
380 381

AM_CONDITIONAL(USE_CAIRO, test x$use_cairo = xyes)
382 383 384
AC_SUBST(CAIRO_CFLAGS)
AC_SUBST(CAIRO_LIBS)

385

386
dnl assets version management
387 388 389
# CS
VERSION_VOICES_CS=1.0
AC_SUBST(VERSION_VOICES_CS)
390

391 392 393
# DA
VERSION_VOICES_DA=1.0
AC_SUBST(VERSION_VOICES_DA)
394

395
# DE
396 397
VERSION_VOICES_DE=1.0
AC_SUBST(VERSION_VOICES_DE)
398

399
# EN
400 401
VERSION_VOICES_EN=1.0
AC_SUBST(VERSION_VOICES_EN)
402

403
# ES
404 405
VERSION_VOICES_ES=1.0
AC_SUBST(VERSION_VOICES_ES)
406

407
# EU
408 409
VERSION_VOICES_EU=1.0
AC_SUBST(VERSION_VOICES_EU)
410

411
# FR
412 413
VERSION_VOICES_FR=1.0
AC_SUBST(VERSION_VOICES_FR)
414

415
# FI
416 417
VERSION_VOICES_FI=1.0
AC_SUBST(VERSION_VOICES_FI)
418

419
# HU
420 421
VERSION_VOICES_HU=1.0
AC_SUBST(VERSION_VOICES_HU)
422

423
# IT
424 425
VERSION_VOICES_IT=1.0
AC_SUBST(VERSION_VOICES_IT)
426

427 428 429 430
# NL
VERSION_VOICES_MR=1.0
AC_SUBST(VERSION_VOICES_MR)

Bruno Coudoin's avatar
Bruno Coudoin committed
431
# NL
432 433
VERSION_VOICES_NL=1.0
AC_SUBST(VERSION_VOICES_NL)
Bruno Coudoin's avatar
Bruno Coudoin committed
434

435
# PT
436 437
VERSION_VOICES_PT=1.0
AC_SUBST(VERSION_VOICES_PT)
438

439 440 441
# PT_BR
VERSION_VOICES_PT_BR=1.0
AC_SUBST(VERSION_VOICES_PT_BR)
442

443
# RU
444 445
VERSION_VOICES_RU=1.0
AC_SUBST(VERSION_VOICES_RU)
446

447
# SV
448 449
VERSION_VOICES_SV=1.0
AC_SUBST(VERSION_VOICES_SV)
450

451
AC_SUBST(CFLAGS)
452

453
dnl Autoconf output
454
AC_OUTPUT([ gcompris.spec
455 456
Makefile.mingw
gcompris-installer.nsi
Bruno Coudoin's avatar
Bruno Coudoin committed
457
Makefile
458
autopackage/Makefile
459
autopackage/default.apspec
Bruno Coudoin's avatar
Bruno Coudoin committed
460 461
src/Makefile
src/gcompris/Makefile
462 463
src/gcompris/libgcompris-1.0.pc
src/gcompris/libgcompris-1.0-uninstalled.pc
Bruno Coudoin's avatar
Bruno Coudoin committed
464
src/boards/Makefile
465
src/boards/python/Makefile
466
src/boards/python/gcompris/Makefile
467
src/boards/python/gcompris/admin/Makefile
468
src/boards/python/gcompris/anim/Makefile
469 470
src/boards/python/gcompris/bonus/Makefile
src/boards/python/gcompris/score/Makefile
471
src/boards/python/gcompris/skin/Makefile
472 473 474
src/boards/python/gcompris/sound/Makefile
src/boards/python/gcompris/timer/Makefile
src/boards/python/gcompris/utils/Makefile
475
src/boards/python/connect4p/Makefile
476
src/boards/python/admin/Makefile
Bruno Coudoin's avatar
Bruno Coudoin committed
477 478 479
po/Makefile.in
docs/Makefile
docs/C/Makefile
Bruno Coudoin's avatar
Bruno Coudoin committed
480
docs/fr/Makefile
481
docs/eu/Makefile
Bruno Coudoin's avatar
Bruno Coudoin committed
482
boards/Makefile
483
boards/advanced_colors/Makefile
Bruno Coudoin's avatar
Bruno Coudoin committed
484
boards/babymatch/Makefile
485
boards/babyshapes/Makefile
Bruno Coudoin's avatar
Bruno Coudoin committed
486
boards/chronos/Makefile
487
boards/doubleentry/Makefile
Bruno Coudoin's avatar
Bruno Coudoin committed
488
boards/gcompris/Makefile
489
boards/gcompris/mimetypes/Makefile
490
boards/geography/Makefile
Bruno Coudoin's avatar
Bruno Coudoin committed
491 492
boards/imageid/Makefile
boards/imagename/Makefile
493
boards/missing_letter/Makefile
Bruno Coudoin's avatar
Bruno Coudoin committed
494
boards/paintings/Makefile
Pascal Georges's avatar
Pascal Georges committed
495
boards/read_colors/Makefile
496
boards/scales/Makefile
Bruno Coudoin's avatar
Bruno Coudoin committed
497 498 499 500 501 502
])

echo ""
echo "***************************************************"
echo ""
echo configure complete,
503
echo with options:
504 505 506 507

echo "Force python (--enable-py-build-only)    = $py_build_only"
echo "Python plugin                            = $build_python_plugin"

508
if test -x "${SDL_LIBS}"; then
509
echo "SDL LIBS  (--with-sdl-prefix)            = NOT DETECTED (install sdl-devel)"
510
else
511
echo "SDL LIBS                                 = found"
512 513
fi

514
echo "XF86VM option  (--enable-xf86vidmode)    = $found_xf86vidmode"
515

516
echo "SQLITE database (--enable-sqlite)        = $with_sqlite (profiles depend on this)"
517

518 519
echo "GNET Networking (--enable-gnet)          = $with_gnet (networking depends on this)"

520
echo
Bruno Coudoin's avatar
Bruno Coudoin committed
521 522 523 524 525
echo gcompris will be installed in ${prefix}
echo to compile and install in in another directory
echo type sh configure --prefix=/usr
echo
echo type \'make\' to compile gcompris
526
echo type \'make install\' to install it