* Added necessary managed libraries deps (for quick building from MD)
[circ.git] / configure.ac
blob0fe04b1618e615292ed3bc9d7848b67b609d13ba
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])
25 AC_ARG_ENABLE(debug,
26         AC_HELP_STRING([--enable-debug],
27                 [Use 'DEBUG' Configuration [default=YES]]),
28                 enable_debug=yes, enable_debug=no)
29 AM_CONDITIONAL(ENABLE_DEBUG, test x$enable_debug = xyes)
30 if test "x$enable_debug" = "xyes" ; then
31         CONFIG_REQUESTED="yes"
33 AC_ARG_ENABLE(release,
34         AC_HELP_STRING([--enable-release],
35                 [Use 'RELEASE' Configuration [default=NO]]),
36                 enable_release=yes, enable_release=no)
37 AM_CONDITIONAL(ENABLE_RELEASE, test x$enable_release = xyes)
38 if test "x$enable_release" = "xyes" ; then
39         CONFIG_REQUESTED="yes"
41 if test -z "$CONFIG_REQUESTED" ; then
42         AM_CONDITIONAL(ENABLE_DEBUG, true)
46 AC_CONFIG_FILES([
47 CirC/circ
48 Circ.Frontend.GtkSharp/Makefile
49 Circ.Backend.Cil/Makefile
50 Makefile
51 CirC/Makefile
52 Tests/tests.pc
53 Tests/Makefile
54 Circ.Backend.Cil/circ.backend.cil.pc
55 Circ.Lib/circ.lib.pc
56 Circ.Lib/Makefile
60 AC_OUTPUT