Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

80 lines (65 sloc) 2.038 kB
AC_PREREQ([2.54])
AC_INIT([Monsoon], [0.20])
AM_INIT_AUTOMAKE([foreign tar-pax])
AM_MAINTAINER_MODE
dnl pkg-config
AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
if test "x$PKG_CONFIG" = "xno"; then
AC_MSG_ERROR([You need to install pkg-config])
fi
SHAMROCK_EXPAND_LIBDIR
SHAMROCK_EXPAND_BINDIR
SHAMROCK_EXPAND_DATADIR
AC_PROG_INSTALL
AC_PATH_PROG(GMCS, gmcs, no)
if test "x$GMCS" = "xno"; then
AC_MSG_ERROR([gmcs Not found])
fi
AC_ARG_ENABLE(debug,
AC_HELP_STRING([--enable-debug],
[Use 'DEBUG' Configuration [default=NO]]),
enable_debug=yes, enable_debug=no)
AM_CONDITIONAL(ENABLE_DEBUG, test x$enable_debug = xyes)
if test "x$enable_debug" = "xyes" ; then
CONFIG_REQUESTED="yes"
fi
AC_ARG_ENABLE(release,
AC_HELP_STRING([--enable-release],
[Use 'RELEASE' Configuration [default=YES]]),
enable_release=yes, enable_release=no)
AM_CONDITIONAL(ENABLE_RELEASE, test x$enable_release = xyes)
if test "x$enable_release" = "xyes" ; then
CONFIG_REQUESTED="yes"
fi
if test -z "$CONFIG_REQUESTED" ; then
AM_CONDITIONAL(ENABLE_RELEASE, true)
enable_release=yes
fi
dnl package checks, common for all configs
PKG_CHECK_MODULES([GCONF_SHARP_20], [gconf-sharp-2.0])
PKG_CHECK_MODULES([GLIB_SHARP_20], [glib-sharp-2.0 >= 2.10])
PKG_CHECK_MODULES([GTK_SHARP_20], [gtk-sharp-2.0])
PKG_CHECK_MODULES([NDESK_DBUS_GLIB_10], [ndesk-dbus-glib-1.0 >= 0.4])
PKG_CHECK_MODULES([MONOTORRENT], [monotorrent = 0.90])
PKG_CHECK_MODULES([MONONAT], [mono.nat >= 1.0.1])
PKG_CHECK_MODULES([MONO_ADDINS], [mono-addins >= 0.4])
PKG_CHECK_MODULES([MONO_ADDINS_GUI], [mono-addins-gui >= 0.4])
# I18N
AC_PROG_INTLTOOL([0.25])
AM_PROG_LIBTOOL
ALL_LINGUAS="de es fr bg it pt_BR nl sv"
GETTEXT_PACKAGE=monsoon
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Gettext package])
AM_GLIB_GNU_GETTEXT
AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
dnl package checks, per config
AC_CONFIG_FILES([
Makefile
Monsoon/AssemblyInfo.cs
Monsoon/Defines.cs
Monsoon/Makefile
Monsoon/monsoon
po/Makefile.in
])
AC_OUTPUT
Jump to Line
Something went wrong with that request. Please try again.