2005-06-22 11:20:32 -07:00
|
|
|
#
|
|
|
|
# moo/configure.ac
|
|
|
|
#
|
|
|
|
|
|
|
|
m4_define([moo_major_version], [0])
|
2006-08-26 02:46:29 -07: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])
|
|
|
|
|
2006-06-09 12:26:31 -07:00
|
|
|
AC_INIT(medit, [moo_version], [muntyan@tamu.edu], medit)
|
2006-04-06 01:32:16 -07:00
|
|
|
AM_INIT_AUTOMAKE(medit, [moo_version])
|
2006-02-13 12:37:25 -08:00
|
|
|
AC_CANONICAL_HOST
|
2005-06-22 11:20:32 -07:00
|
|
|
|
|
|
|
AC_CONFIG_HEADERS(config.h)
|
2006-02-20 04:32:04 -08:00
|
|
|
MOO_DEFINE_VERSIONS
|
2005-10-13 07:08:18 -07:00
|
|
|
|
2006-08-23 21:26:36 -07:00
|
|
|
MOO_AC_I18N(moo, [])
|
2006-08-02 22:39:06 -07:00
|
|
|
|
2006-08-04 04:57:15 -07:00
|
|
|
# Check operating system
|
|
|
|
MOO_AC_CHECK_OS
|
|
|
|
|
|
|
|
if test x$MOO_OS_UNIX != xyes; then
|
2006-08-04 02:17:32 -07:00
|
|
|
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)
|
2006-08-04 02:17:32 -07:00
|
|
|
AC_DEFINE(MOO_BUILD_PYTHON_MODULE, 1, MOO_BUILD_PYTHON_MODULE)
|
2006-08-04 04:57:15 -07:00
|
|
|
else
|
2006-08-30 22:34:59 -07:00
|
|
|
AM_CONDITIONAL(MOO_INSTALL_LIB, true)
|
2006-08-04 04:57:15 -07:00
|
|
|
AM_CONDITIONAL(MOO_BUILD_PYTHON_MODULE, false)
|
2006-08-23 21:26:36 -07:00
|
|
|
AM_CONDITIONAL(MOO_INSTALL_HEADERS, false)
|
2006-08-04 04:57:15 -07:00
|
|
|
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
|
2006-08-04 04:57:15 -07:00
|
|
|
AC_DISABLE_STATIC
|
2006-08-01 02:57:26 -07:00
|
|
|
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
|
|
|
|
2005-08-25 01:40:35 -07:00
|
|
|
# File monitoring
|
2005-10-30 13:16:22 -08:00
|
|
|
MOO_AC_FAM
|
2005-08-25 01:40:35 -07:00
|
|
|
|
2005-10-30 13:16:22 -08:00
|
|
|
# libxml2
|
|
|
|
MOO_AC_XML
|
2005-10-13 07:08:18 -07:00
|
|
|
|
2005-10-30 13:16:22 -08:00
|
|
|
# xdgmime
|
|
|
|
MOO_AC_XDGMIME
|
2005-08-25 01:40:35 -07:00
|
|
|
|
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
|
2006-04-06 01:32:16 -07:00
|
|
|
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
|
2006-08-01 02:57:26 -07:00
|
|
|
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
|
2006-08-01 02:57:26 -07:00
|
|
|
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
|
2006-08-01 02:57:26 -07:00
|
|
|
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
|
2005-12-21 05:09:55 -08:00
|
|
|
moo/moo.pc
|
2006-04-06 01:32:16 -07:00
|
|
|
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
|
2006-02-16 06:25:20 -08:00
|
|
|
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"
|
2006-02-16 06:25:20 -08:00
|
|
|
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"
|
2005-10-13 07:08:18 -07:00
|
|
|
echo " editor lang files go to = $MOO_TEXT_LANG_FILES_DIR"
|
2005-06-22 11:20:32 -07:00
|
|
|
echo
|
2006-02-16 06:25:20 -08:00
|
|
|
echo " components: $MOO_BUILD_COMPS"
|
2005-06-22 11:20:32 -07:00
|
|
|
else
|
|
|
|
echo
|
|
|
|
echo " Building termhelper.exe on CYGWIN"
|
|
|
|
echo
|
|
|
|
fi
|