gambas-source-code/main/configure.ac
Benoît Minisini c4c631ecb9 [CONFIGURATION]
* NEW: Remove the gb.image.info component.
* NEW: Start removing the gb.image component.

[DEVELOPMENT ENVIRONMENT]
* BUG: Code editor and text editor now arrange their contents correctly 
  when the toolbar size changes.
* BUG: The picture of a form action is the Icon property, not the Picture 
  property.

[INTERPRETER]
* BUG: The _compare special method now is not called anymore if one of the 
  compared object references is null.

[GB.GTK]
* NEW: Control.Drag() and Drag() now return the drop destination.

[GB.FORM.MDI]
* NEW: The toolbar icon size can be changed.
* BUG: Actions that exist on different forms are correctly loaded.
* NEW: The cursor keys can be used now in the shortcut configuration dialog 
  to move the gridview current row. Consequently, you cannot use them as 
  shortcuts.

[GB.NET]
* BUG: Serial port devices are now watched for reading, not for writing. So 
  the callback will not be called permanently.

[GB.QT]
* NEW: The Arrange event is now raised just before a container is arranged, 
  not after. Moreover, it cannot called recursively anymore.

[GB.QT4]
* NEW: Control.Drag() and Drag() now return the drop destination.
* NEW: Container.Children.Clear() is a new method that destroys all 
  children of a container.
* NEW: Utility windows now use their initial size as minimum size.
* BUG: Do not loop indefinitely when arranging the contents of a 
  ScrollView.


git-svn-id: svn://localhost/gambas/trunk@1797 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-01-13 00:42:55 +00:00

133 lines
2.8 KiB
Text

dnl ---- configure.ac for main programs
AC_INIT(configure.ac)
AC_CONFIG_SUBDIRS(libltdl)
GB_INIT(main)
AC_PROG_LIBTOOL
AM_PROG_CC_C_O
dnl ---- Check for internationalization library
GB_COMPONENT(
intl,
INTL,
[external internationalization library],
[],
[GB_FIND(libintl.h, /usr/local /usr, include)],
[GB_FIND(libintl.$SHLIBEXT, /usr/local /usr /, lib)],
[-lintl],
[],
[This library may be located inside the system C library, so let's go on...])
dnl ---- Check for charset conversion library
GB_COMPONENT(
conv,
CONV,
[optional external charset conversion library],
[],
[GB_FIND(iconv.h, /usr/local /usr, include)],
[GB_FIND(libiconv.$SHLIBEXT, /usr/local /usr, lib)],
[-liconv],
[],
[This library may be located inside the system C library, so let's go on...])
dnl ---- Check for gettext library
if test "x$GETTEXT_LIB" != x; then
GB_COMPONENT(
gettext,
GETTEXT,
[external gettext library],
[],
[],
[GB_FIND(libgettextlib.$SHLIBEXT, /usr/local /usr, lib)],
[-lgettextlib],
[],
[This library may be located inside the system C library, so let's go on...])
fi
dnl ---- Check for ffi library
GB_COMPONENT_PKG_CONFIG(
ffi,
FFI,
[foreign function interface],
[],
libffi,
[],
[Cannot find libffi support with pkg-config])
if test -z "$FFI_LIB"; then
GB_COMPONENT(
ffi,
FFI,
[foreign function interface],
[],
[GB_FIND(ffi.h, /usr/local /usr/local/lib /usr /usr/lib /usr/lib/gcc/*/*, include ffi/include)],
[GB_FIND(libffi.$SHLIBEXT, /usr/local /usr, lib)],
[-lffi])
fi
dnl ---- Remove DISABLED file that could have been generated before
rm -f DISABLED
dnl ---- Should I use libtool to load shared libraries in gbi and gbx ?
if test "$SYSTEM" != "CYGWIN"; then
AC_DEFINE(DONT_USE_LTDL, 1, [Do not use libtool to load shared libraries])
if test "$SYSTEM" != "OPENBSD"; then
DL_LIB="-ldl"
else
DL_LIB=""
fi
else
DL_LIB=$LIBLTDL
fi
AC_SUBST(DL_LIB)
dnl ---- Check for Portland scripts
AC_CHECK_PROGS(XDG_UTILS, [xdg-mime xdg-icon-resource], [])
dnl ---- Other options
AC_ARG_ENABLE(
preloading,
[ --enable-preloading enable preloading (default: yes)],
gambas_preloading=$enableval,
gambas_preloading=yes
)
if test "$SYSTEM" != "CYGWIN"; then
if test "$gambas_preloading" = "yes"; then
AC_DEFINE(DO_PRELOADING, 1, allows shared library preloading )
fi
else
if test "$gambas_preloading" = "yes"; then
AC_MSG_WARN([Preloading is disabled on this system])
fi
fi
dnl ---- Create makefiles
AC_OUTPUT( \
Makefile \
share/Makefile \
gbc/Makefile \
gbx/Makefile \
lib/Makefile \
lib/debug/Makefile \
lib/eval/Makefile \
lib/db/Makefile \
lib/vb/Makefile \
lib/compress/Makefile \
lib/option/Makefile \
lib/draw/Makefile \
lib/gui/Makefile \
lib/image/Makefile \
)