a6e9f61ee1
* NEW: Update *.component files to the new format. * BUG: Fix component TEMPLATE directory. [EXAMPLES] * NEW: PhotoTouch: Display the browsed directory path. [INTERPRETER] * NEW: Change the 'main' hook syntax. Add a macro to call the previous 'main' hook, so that several hooks can be declared. [GB.MEDIA] * NEW: New multimedia component based on GStreamer. [GB.GTK] * BUG: Fix timer management so that it is compatible with the GB.Every() interpreter API. * NEW: Allows multiple 'main' hooks. [GB.QT4] * NEW: Allows multiple 'main' hooks. git-svn-id: svn://localhost/gambas/trunk@4693 867c0c6c-44f3-4631-809d-bfa615b0a4ec
83 lines
2.1 KiB
Text
83 lines
2.1 KiB
Text
dnl ****************************************************************************
|
|
dnl global configure.ac
|
|
dnl (c) Benoît Minisini 2000-2009
|
|
dnl ****************************************************************************
|
|
|
|
dnl ---- Initialization
|
|
|
|
AC_INIT(configure.ac)
|
|
|
|
AC_CONFIG_SUBDIRS(main)
|
|
|
|
GB_CONFIG_SUBDIRS(bzlib2, gb.compress.bzlib2)
|
|
GB_CONFIG_SUBDIRS(zlib, gb.compress.zlib)
|
|
GB_CONFIG_SUBDIRS(mysql, gb.db.mysql)
|
|
GB_CONFIG_SUBDIRS(odbc, gb.db.odbc)
|
|
GB_CONFIG_SUBDIRS(postgresql, gb.db.postgresql)
|
|
GB_CONFIG_SUBDIRS(sqlite2, gb.db.sqlite2)
|
|
GB_CONFIG_SUBDIRS(sqlite3, gb.db.sqlite3)
|
|
GB_CONFIG_SUBDIRS(net, gb.net)
|
|
GB_CONFIG_SUBDIRS(curl, gb.net.curl)
|
|
GB_CONFIG_SUBDIRS(smtp, gb.net.smtp)
|
|
GB_CONFIG_SUBDIRS(pcre, gb.pcre)
|
|
GB_CONFIG_SUBDIRS(sdl, gb.sdl)
|
|
GB_CONFIG_SUBDIRS(sdlsound, gb.sdl.sound)
|
|
GB_CONFIG_SUBDIRS(libxml, gb.libxml)
|
|
GB_CONFIG_SUBDIRS(xml, gb.xml)
|
|
GB_CONFIG_SUBDIRS(v4l, gb.v4l)
|
|
GB_CONFIG_SUBDIRS(crypt, gb.crypt)
|
|
GB_CONFIG_SUBDIRS(qt4, gb.qt4)
|
|
GB_CONFIG_SUBDIRS(gtk, gb.gtk)
|
|
GB_CONFIG_SUBDIRS(opengl, gb.opengl)
|
|
GB_CONFIG_SUBDIRS(desktop, gb.desktop)
|
|
GB_CONFIG_SUBDIRS(pdf, gb.pdf)
|
|
GB_CONFIG_SUBDIRS(cairo, gb.cairo)
|
|
GB_CONFIG_SUBDIRS(imageio, gb.image.io)
|
|
GB_CONFIG_SUBDIRS(imageimlib, gb.image.imlib)
|
|
GB_CONFIG_SUBDIRS(dbus, gb.dbus)
|
|
GB_CONFIG_SUBDIRS(gsl, gb.gsl)
|
|
GB_CONFIG_SUBDIRS(ncurses, gb.ncurses)
|
|
GB_CONFIG_SUBDIRS(media, gb.media)
|
|
|
|
AC_CONFIG_SUBDIRS(comp)
|
|
AC_CONFIG_SUBDIRS(app)
|
|
AC_CONFIG_SUBDIRS(examples)
|
|
|
|
AM_MAINTAINER_MODE
|
|
|
|
GB_INIT_AUTOMAKE(gambas3)
|
|
|
|
AC_PREFIX_DEFAULT(/usr/local)
|
|
|
|
AC_CANONICAL_HOST
|
|
|
|
GAMBAS_VERSION=3
|
|
AC_SUBST(GAMBAS_VERSION)
|
|
|
|
gbbindir=$bindir/gambas$GAMBAS_VERSION/
|
|
AC_SUBST(gbbindir)
|
|
gblibdir=$libdir/gambas$GAMBAS_VERSION/
|
|
AC_SUBST(gblibdir)
|
|
gbdatadir=$datadir/gambas$GAMBAS_VERSION/
|
|
AC_SUBST(gbdatadir)
|
|
|
|
AC_OUTPUT(Makefile)
|
|
|
|
GB_CLEAR_MESSAGES
|
|
|
|
for comp in gb.*; do
|
|
if test -e $comp/DISABLED; then
|
|
if ! test -s $srcdir/warnings.log; then
|
|
GB_MESSAGE([THESE COMPONENTS ARE DISABLED:])
|
|
fi
|
|
GB_MESSAGE([- $comp])
|
|
fi
|
|
done
|
|
|
|
if ! test -s $srcdir/warnings.log; then
|
|
GB_MESSAGE([ALL COMPONENTS WILL BE COMPILED])
|
|
fi
|
|
|
|
GB_PRINT_MESSAGES
|
|
echo
|
|
GB_CLEAR_MESSAGES
|