configure.ac : Tweaks.

This commit is contained in:
Erik de Castro Lopo 2008-03-30 23:28:25 +11:00
parent 9e016ccea3
commit d443a84e0d

View File

@ -42,6 +42,7 @@ AC_PROG_CXX
AM_PROG_LIBTOOL
AC_CHECK_PROG(HAVE_AUTOGEN, autogen, yes, no)
AC_CHECK_PROG(HAVE_WINE, wine, yes, no)
AC_PROG_INSTALL
AC_PROG_LN_S
@ -61,6 +62,9 @@ else
AC_DEFINE_UNQUOTED([HAVE_DECL_S_IRGRP],0)
fi
AM_CONDITIONAL([LINUX_MINGW_CROSS_TEST],
[test "$build_os:$target_os:$host_os:$HAVE_WINE" = "linux-gnu:mingw32msvc:mingw32msvc:yes"])
#====================================================================================
# Check for support of the struct hack.
@ -266,12 +270,7 @@ case "$host_os" in
#====================================================================================
# Check for requirements for building plugins for other languages/enviroments.
dnl Octave maths environment http://www.octave.org/
if test x$cross_compiling = xno ; then
AC_OCTAVE_BUILD
else
AM_CONDITIONAL(BUILD_OCTAVE_MOD, false)
fi
AM_CONDITIONAL(BUILD_OCTAVE_MOD, [test "x$cross_compiling" = xno])
#====================================================================================
# Check for libsqlite3 (only used in regtest).