medit/configure.ac

147 lines
3.2 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], [7])
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])
2006-06-09 12:26:31 -07: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-04 21:05:41 -07:00
MOO_AC_I18N(moo, [ru])
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-08-06 23:25:35 -07:00
AM_CONDITIONAL(MOO_INSTALL_LIB, true)
AM_CONDITIONAL(MOO_BUILD_PYTHON_MODULE, false)
2006-08-08 18:52:27 -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
AC_PROG_CC_STDC
AC_HEADER_STDC
AC_DISABLE_STATIC
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
# 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)
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
moo/Makefile
moo/mooutils/Makefile
moo/mooscript/Makefile
moo/moofileview/Makefile
moo/mooterm/Makefile
moo/mooedit/Makefile
moo/mooedit/syntax/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
2006-08-01 13:48:56 -07:00
moo/moopython/plugins/pyproject/Makefile
moo/moopython/pygtk/Makefile
moo/mooutils/pcre/Makefile
moo/mooutils/xdgmime/Makefile
m4/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
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
])
################################################################################
# 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