* Now use the CommandProcesser for /c, /j and /n
[circ.git] / configure.ac
blob862beae9352254a3de1d59397028ee058c7ccd98
1 dnl Warning: This is an automatically generated file, do not edit!
2 dnl Process this file with autoconf to produce a configure script.
3 AC_PREREQ([2.54])
4 AC_INIT([Circ], [0.1])
5 AM_INIT_AUTOMAKE([foreign])
7 dnl pkg-config
8 AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
9 if test "x$PKG_CONFIG" = "xno"; then
10         AC_MSG_ERROR([You need to install pkg-config])
13 AC_PROG_INSTALL
15 AC_PATH_PROG(GMCS, gmcs, no)
16 if test "x$GMCS" = "xno"; then
17         AC_MSG_ERROR([gmcs Not found])
21 PKG_CHECK_MODULES([GLIB_SHARP_20], [glib-sharp-2.0])
22 PKG_CHECK_MODULES([GTK_SHARP_20], [gtk-sharp-2.0])
23 PKG_CHECK_MODULES([NUNIT], [nunit])
24 PKG_CHECK_MODULES([NINI_11], [nini-1.1])
25 PKG_CHECK_MODULES([MONO_ADDINS], [mono-addins])
28 AC_ARG_ENABLE(debug,
29         AC_HELP_STRING([--enable-debug],
30                 [Use 'DEBUG' Configuration [default=YES]]),
31                 enable_debug=yes, enable_debug=no)
32 AM_CONDITIONAL(ENABLE_DEBUG, test x$enable_debug = xyes)
33 if test "x$enable_debug" = "xyes" ; then
34         CONFIG_REQUESTED="yes"
36 AC_ARG_ENABLE(release,
37         AC_HELP_STRING([--enable-release],
38                 [Use 'RELEASE' Configuration [default=NO]]),
39                 enable_release=yes, enable_release=no)
40 AM_CONDITIONAL(ENABLE_RELEASE, test x$enable_release = xyes)
41 if test "x$enable_release" = "xyes" ; then
42         CONFIG_REQUESTED="yes"
44 if test -z "$CONFIG_REQUESTED" ; then
45         AM_CONDITIONAL(ENABLE_DEBUG, true)
49 AC_CONFIG_FILES([
50 ./CirC/Makefile
51 ./Circ.Lib/Makefile
52 ./Tests/Makefile
53 ./Circ.Frontend.GtkSharp/Makefile
54 ./Makefile
55 ./Circ.Backend.Cil/Makefile
59 AC_OUTPUT