medit/configure.ac

155 lines
3.5 KiB
Plaintext
Raw Normal View History

2005-06-22 11:20:32 -07:00
#
# moo/configure.ac
#
m4_define([moo_major_version], [0])
2006-11-29 22:10:57 -08:00
m4_define([moo_minor_version], [8])
m4_define([moo_micro_version], [0])
2005-06-22 11:20:32 -07:00
m4_define([moo_version], [moo_major_version.moo_minor_version.moo_micro_version])
m4_define([moo_module_major_version], [1])
m4_define([moo_module_minor_version], [0])
2006-12-07 12:09:37 -08:00
AC_INIT([medit],[moo_version],[muntyan@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
2006-08-23 21:26:36 -07:00
MOO_AC_I18N(moo, [])
2006-08-02 22:39:06 -07:00
# Check operating system
MOO_AC_CHECK_OS
if test x$MOO_OS_UNIX != xyes; then
AM_CONDITIONAL(MOO_INSTALL_LIB, true)
AM_CONDITIONAL(MOO_BUILD_PYTHON_MODULE, true)
2006-08-06 23:25:35 -07:00
AM_CONDITIONAL(MOO_INSTALL_HEADERS, false)
AC_DEFINE(MOO_BUILD_PYTHON_MODULE, 1, MOO_BUILD_PYTHON_MODULE)
else
2006-11-21 18:30:29 -08:00
AM_CONDITIONAL(MOO_INSTALL_LIB, false)
AM_CONDITIONAL(MOO_BUILD_PYTHON_MODULE, false)
2006-08-23 21:26:36 -07:00
AM_CONDITIONAL(MOO_INSTALL_HEADERS, false)
fi
2006-08-01 13:48:56 -07:00
2005-06-22 11:20:32 -07:00
AC_PROG_CC
2006-11-21 18:30:29 -08:00
AC_DISABLE_SHARED
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
2006-05-09 01:00:28 -07:00
ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
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
# 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)
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-09-23 08:55:06 -07:00
MOO_AC_FLAGS(moo)
2005-10-30 15:24:16 -08:00
2005-06-22 11:20:32 -07:00
################################################################################
# Created files
#
2006-12-07 12:09:37 -08:00
AC_CONFIG_FILES([
2005-06-22 11:20:32 -07:00
Makefile
2006-11-06 06:38:38 -08:00
config.py
moo/Makefile
moo/mooutils/Makefile
moo/mooscript/Makefile
moo/moofileview/Makefile
moo/mooterm/Makefile
moo/mooedit/Makefile
2006-08-26 02:46:29 -07:00
moo/mooedit/language-specs/Makefile
moo/mooedit/gtksourceview/Makefile
moo/mooedit/plugins/Makefile
moo/mooedit/plugins/activestrings/Makefile
moo/mooedit/plugins/completion/Makefile
moo/mooedit/plugins/fileselector/Makefile
moo/mooapp/Makefile
moo/moopython/Makefile
moo/moopython/plugins/Makefile
moo/moopython/plugins/python.ini.desktop.in
moo/moopython/plugins/terminal.ini.desktop.in
2006-08-01 13:48:56 -07:00
moo/moopython/plugins/pyproject/Makefile
moo/moopython/plugins/pyproject/project-plugin.ini.desktop.in
moo/moopython/pygtk/Makefile
moo/mooutils/pcre/Makefile
moo/mooutils/xdgmime/Makefile
tests/Makefile
2006-08-02 22:39:06 -07:00
po/Makefile.in
2005-07-31 07:53:10 -07:00
moo/mooterm/termhelper_res.rc
moo/moo.pc
moo/moo-version.h
2006-11-19 01:27:04 -08:00
moo/libmoo.rc
2006-11-19 23:38:41 -08:00
moo/moo24.rc
moo/moo25.rc
moo/pymoo24.rc
moo/pymoo25.rc
2005-06-22 11:20:32 -07:00
tests/pyapp.py
2006-04-28 14:07:52 -07:00
tests/medit.rc
2006-04-10 02:51:25 -07:00
wininstaller/medit.iss
2005-06-22 11:20:32 -07:00
])
2006-12-07 12:09:37 -08:00
AC_OUTPUT
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