medit/configure.ac

112 lines
2.3 KiB
Plaintext
Raw Normal View History

2005-06-22 11:20:32 -07:00
#
# moo/configure.ac
#
m4_define([moo_major_version], [0])
m4_define([moo_minor_version], [6])
2006-05-08 12:31:15 -07:00
m4_define([moo_micro_version], [99])
2005-06-22 11:20:32 -07:00
m4_define([moo_version], [moo_major_version.moo_minor_version.moo_micro_version])
AC_INIT(medit, [moo_version], [muntyan@math.tamu.edu], medit)
AM_INIT_AUTOMAKE(medit, [moo_version])
AC_CANONICAL_HOST
2005-06-22 11:20:32 -07:00
AC_CONFIG_HEADERS(config.h)
MOO_DEFINE_VERSIONS
2005-06-22 11:20:32 -07:00
AC_PROG_CC
AC_PROG_CC_STDC
AC_HEADER_STDC
# AC_LIBTOOL_WIN32_DLL
# AC_PROG_LIBTOOL
2005-06-22 11:20:32 -07:00
AC_PROG_INSTALL
2006-04-12 22:24:08 -07:00
MOO_AC_PROGS
2005-06-22 11:20:32 -07:00
2005-10-31 14:58:01 -08:00
# Misc stuff
MOO_AC_FUNCS
2005-06-22 11:20:32 -07:00
# Check debug options
2005-11-05 05:12:50 -08:00
MOO_AC_DEBUG
2005-06-22 11:20:32 -07:00
# Check operating system
2005-10-30 13:16:22 -08:00
MOO_AC_CHECK_OS
2005-06-22 11:20:32 -07:00
# GTK libraries
2005-10-30 13:16:22 -08:00
MOO_PKG_CHECK_GTK_VERSIONS
2005-06-22 11:20:32 -07:00
# File monitoring
2005-10-30 13:16:22 -08:00
MOO_AC_FAM
2005-10-30 13:16:22 -08:00
# libxml2
MOO_AC_XML
2005-10-30 13:16:22 -08:00
# xdgmime
MOO_AC_XDGMIME
2005-06-22 11:20:32 -07:00
# Python stuff
2005-10-30 13:16:22 -08:00
MOO_AC_PYGTK
2005-06-22 11:20:32 -07:00
2005-12-15 09:16:29 -08:00
# pcre
MOO_AC_PCRE
2005-06-22 11:20:32 -07:00
MOO_SRC_PREFIX="moo"
AC_SUBST(MOO_SRC_PREFIX)
AM_CONDITIONAL(MOO_BUILD_LIB, false)
2006-03-20 23:49:42 -08:00
MOO_COMPONENTS
2006-04-05 22:31:00 -07:00
MOO_AC_RELOC
MOO_AC_SET_DIRS(moo)
2006-03-20 23:49:42 -08:00
MOO_AC_FLAGS
2005-10-30 15:24:16 -08:00
2005-06-22 11:20:32 -07:00
################################################################################
# Created files
#
AC_OUTPUT([
Makefile
2005-07-31 07:53:10 -07:00
moo/mooterm/termhelper_res.rc
moo/moo.pc
moo/moo-version.h
2005-06-22 11:20:32 -07:00
tests/pyapp.py
2006-04-28 14:07:52 -07:00
tests/medit.rc
2005-10-30 13:16:22 -08:00
m4/Makefile
2006-04-10 02:51:25 -07:00
wininstaller/medit.iss
2005-06-22 11:20:32 -07:00
])
################################################################################
# Configuration info
#
2005-10-30 13:16:22 -08:00
if test x$MOO_OS_CYGWIN != "xyes"; then
if test "x$MOO_OS_MINGW" = "xyes"; then
2005-06-22 11:20:32 -07:00
system="MINGW"
2005-10-30 13:16:22 -08:00
elif test "x$MOO_OS_DARWIN" = "xyes"; then
system="UNIX (DARWIN)"
elif test "x$MOO_OS_BSD" = "xyes"; then
system="UNIX (BSD)"
2005-06-22 11:20:32 -07:00
else
system="UNIX"
fi
if test x$use_xml != "xyes"; then
use_xml="no"
fi
echo
echo " OS = $system"
2005-11-05 05:12:50 -08:00
echo " python support = $MOO_USE_PYTHON"
echo " pygtk support = $MOO_USE_PYGTK"
echo " xml support = $MOO_USE_XML"
echo " xdgmime support = $MOO_USE_XDGMIME"
2006-05-01 00:25:31 -07:00
echo " build pcre library = $MOO_BUILD_PCRE"
2005-06-22 11:20:32 -07:00
echo
2006-03-13 00:13:47 -08:00
echo " prefix = $prefix"
echo " editor lang files go to = $MOO_TEXT_LANG_FILES_DIR"
2005-06-22 11:20:32 -07:00
echo
echo " components: $MOO_BUILD_COMPS"
2005-06-22 11:20:32 -07:00
else
echo
echo " Building termhelper.exe on CYGWIN"
echo
fi