2007-12-30 16:41:49 +00:00
|
|
|
dnl ****************************************************************************
|
|
|
|
dnl global configure.ac
|
2009-01-04 01:37:20 +00:00
|
|
|
dnl (c) Benoît Minisini 2000-2009
|
2007-12-30 16:41:49 +00:00
|
|
|
dnl ****************************************************************************
|
|
|
|
|
|
|
|
dnl ---- Initialization
|
|
|
|
|
2014-04-05 21:22:43 +00:00
|
|
|
m4_include([version.m4])
|
2022-09-03 13:24:51 +02:00
|
|
|
AC_INIT([gambas3],[GB_VERSION],[GB_MAIL],[],[GB_URL])
|
2014-04-05 21:22:43 +00:00
|
|
|
AC_CONFIG_MACRO_DIR([m4])
|
2015-05-28 10:08:13 +00:00
|
|
|
AC_PROG_LN_S
|
2007-12-30 16:41:49 +00:00
|
|
|
|
|
|
|
AC_CONFIG_SUBDIRS(main)
|
|
|
|
|
|
|
|
GB_CONFIG_SUBDIRS(bzlib2, gb.compress.bzlib2)
|
|
|
|
GB_CONFIG_SUBDIRS(zlib, gb.compress.zlib)
|
2021-03-28 17:12:19 +02:00
|
|
|
GB_CONFIG_SUBDIRS(zstd, gb.compress.zstd)
|
2007-12-30 16:41:49 +00:00
|
|
|
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)
|
2012-09-01 16:27:24 +00:00
|
|
|
GB_CONFIG_SUBDIRS(mime, gb.mime)
|
2007-12-30 16:41:49 +00:00
|
|
|
GB_CONFIG_SUBDIRS(pcre, gb.pcre)
|
|
|
|
GB_CONFIG_SUBDIRS(sdl, gb.sdl)
|
|
|
|
GB_CONFIG_SUBDIRS(sdlsound, gb.sdl.sound)
|
2014-12-26 17:34:32 +00:00
|
|
|
GB_CONFIG_SUBDIRS(sdl2, gb.sdl2)
|
2012-04-20 01:01:48 +00:00
|
|
|
GB_CONFIG_SUBDIRS(libxml, gb.libxml)
|
2012-04-21 00:45:18 +00:00
|
|
|
GB_CONFIG_SUBDIRS(xml, gb.xml)
|
2007-12-30 16:41:49 +00:00
|
|
|
GB_CONFIG_SUBDIRS(v4l, gb.v4l)
|
|
|
|
GB_CONFIG_SUBDIRS(crypt, gb.crypt)
|
2009-01-04 01:37:20 +00:00
|
|
|
GB_CONFIG_SUBDIRS(qt4, gb.qt4)
|
2015-05-08 17:40:28 +00:00
|
|
|
GB_CONFIG_SUBDIRS(qt5, gb.qt5)
|
2010-01-24 14:23:51 +00:00
|
|
|
GB_CONFIG_SUBDIRS(gtk, gb.gtk)
|
2013-12-29 15:19:10 +00:00
|
|
|
GB_CONFIG_SUBDIRS(gtk3, gb.gtk3)
|
2010-01-24 14:23:51 +00:00
|
|
|
GB_CONFIG_SUBDIRS(opengl, gb.opengl)
|
2014-05-12 23:38:46 +00:00
|
|
|
GB_CONFIG_SUBDIRS(x11, gb.desktop.x11)
|
|
|
|
GB_CONFIG_SUBDIRS(keyring, gb.desktop.gnome.keyring)
|
2010-01-24 14:23:51 +00:00
|
|
|
GB_CONFIG_SUBDIRS(pdf, gb.pdf)
|
2020-06-18 00:04:33 +02:00
|
|
|
GB_CONFIG_SUBDIRS(poppler, gb.poppler)
|
2009-01-26 12:25:35 +00:00
|
|
|
GB_CONFIG_SUBDIRS(cairo, gb.cairo)
|
2009-01-27 01:24:19 +00:00
|
|
|
GB_CONFIG_SUBDIRS(imageio, gb.image.io)
|
2009-08-28 21:42:11 +00:00
|
|
|
GB_CONFIG_SUBDIRS(imageimlib, gb.image.imlib)
|
2010-05-19 12:43:57 +00:00
|
|
|
GB_CONFIG_SUBDIRS(dbus, gb.dbus)
|
2012-01-30 01:28:49 +00:00
|
|
|
GB_CONFIG_SUBDIRS(gsl, gb.gsl)
|
2013-09-01 20:40:05 +00:00
|
|
|
GB_CONFIG_SUBDIRS(gmp, gb.gmp)
|
2012-04-14 19:42:04 +00:00
|
|
|
GB_CONFIG_SUBDIRS(ncurses, gb.ncurses)
|
2012-04-30 00:04:51 +00:00
|
|
|
GB_CONFIG_SUBDIRS(media, gb.media)
|
2012-09-27 20:52:08 +00:00
|
|
|
GB_CONFIG_SUBDIRS(httpd, gb.httpd)
|
2013-05-20 22:26:15 +00:00
|
|
|
GB_CONFIG_SUBDIRS(openssl, gb.openssl)
|
2013-07-21 16:19:26 +00:00
|
|
|
GB_CONFIG_SUBDIRS(openal, gb.openal)
|
2021-10-31 17:55:55 +01:00
|
|
|
GB_CONFIG_SUBDIRS(htmlview, gb.form.htmlview)
|
2007-12-30 16:41:49 +00:00
|
|
|
|
|
|
|
AC_CONFIG_SUBDIRS(comp)
|
|
|
|
AC_CONFIG_SUBDIRS(app)
|
|
|
|
|
|
|
|
AM_MAINTAINER_MODE
|
|
|
|
|
2008-01-05 14:07:21 +00:00
|
|
|
GB_INIT_AUTOMAKE(gambas3)
|
2007-12-30 16:41:49 +00:00
|
|
|
|
|
|
|
AC_CANONICAL_HOST
|
|
|
|
|
2008-01-05 14:07:21 +00:00
|
|
|
GAMBAS_VERSION=3
|
2007-12-30 16:41:49 +00:00
|
|
|
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)
|
|
|
|
|
2022-09-03 13:24:51 +02:00
|
|
|
AC_CONFIG_FILES([Makefile])
|
|
|
|
AC_OUTPUT
|
2007-12-30 16:41:49 +00:00
|
|
|
|
2010-07-14 01:50:18 +00:00
|
|
|
GB_CLEAR_MESSAGES
|
|
|
|
|
2012-05-18 01:19:15 +00:00
|
|
|
for gb_dir in gb.*; do
|
2018-09-29 04:12:35 +02:00
|
|
|
for gb_comp in $gb_dir/DISABLED.*; do
|
|
|
|
gb_comp=`basename "$gb_comp"`
|
|
|
|
gb_comp=${gb_comp#DISABLED.}
|
|
|
|
if test "$gb_comp" != '*'; then
|
2012-05-18 01:19:15 +00:00
|
|
|
if ! test -s $srcdir/warnings.log; then
|
|
|
|
GB_MESSAGE([THESE COMPONENTS ARE DISABLED:])
|
|
|
|
fi
|
2018-09-29 04:12:35 +02:00
|
|
|
GB_MESSAGE([- $gb_comp])
|
|
|
|
fi
|
|
|
|
done
|
2007-12-30 16:41:49 +00:00
|
|
|
done
|
|
|
|
|
2010-07-14 01:50:18 +00:00
|
|
|
if ! test -s $srcdir/warnings.log; then
|
|
|
|
GB_MESSAGE([ALL COMPONENTS WILL BE COMPILED])
|
2007-12-30 16:41:49 +00:00
|
|
|
fi
|
|
|
|
|
2010-07-14 01:50:18 +00:00
|
|
|
GB_PRINT_MESSAGES
|
|
|
|
echo
|
2010-09-24 12:48:08 +00:00
|
|
|
GB_CLEAR_MESSAGES
|