Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 95 lines (82 sloc) 3.463 kb
9c8a52f Alexander Kojevnikov Preliminary autotools support
alexkay authored
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])
b374ed4 Bertrand Lorentz release: Bump version number to 0.1.2
bl8 authored
4 AC_INIT([Mono.Upnp], [0.1.2])
ccb70b9 Alexander Kojevnikov Fix make dist
alexkay authored
5 AM_INIT_AUTOMAKE([foreign tar-ustar])
9c8a52f Alexander Kojevnikov Preliminary autotools support
alexkay authored
6 AM_MAINTAINER_MODE
7
8 dnl pkg-config
9 AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
10 if test "x$PKG_CONFIG" = "xno"; then
11 AC_MSG_ERROR([You need to install pkg-config])
12 fi
13
14 SHAMROCK_EXPAND_LIBDIR
15 SHAMROCK_EXPAND_BINDIR
16 SHAMROCK_EXPAND_DATADIR
17
18 AC_PROG_INSTALL
19
20 AC_PATH_PROG(GMCS, gmcs, no)
21 if test "x$GMCS" = "xno"; then
22 AC_MSG_ERROR([gmcs Not found])
23 fi
24
25
26 AC_ARG_ENABLE(debug,
27 AC_HELP_STRING([--enable-debug],
28 [Use 'DEBUG' Configuration [default=YES]]),
29 enable_debug=yes, enable_debug=no)
30 AM_CONDITIONAL(ENABLE_DEBUG, test x$enable_debug = xyes)
31 if test "x$enable_debug" = "xyes" ; then
32 CONFIG_REQUESTED="yes"
33 fi
34 AC_ARG_ENABLE(release,
35 AC_HELP_STRING([--enable-release],
36 [Use 'RELEASE' Configuration [default=NO]]),
37 enable_release=yes, enable_release=no)
38 AM_CONDITIONAL(ENABLE_RELEASE, test x$enable_release = xyes)
39 if test "x$enable_release" = "xyes" ; then
40 CONFIG_REQUESTED="yes"
41 fi
42 if test -z "$CONFIG_REQUESTED" ; then
43 AM_CONDITIONAL(ENABLE_DEBUG, true)
44 enable_debug=yes
45 fi
46
47
48 dnl package checks, common for all configs
49 PKG_CHECK_MODULES([GTK_SHARP_20], [gtk-sharp-2.0])
50 PKG_CHECK_MODULES([GLIB_SHARP_20], [glib-sharp-2.0])
51 PKG_CHECK_MODULES([GLADE_SHARP_20], [glade-sharp-2.0])
52 PKG_CHECK_MODULES([MONO_ADDINS], [mono-addins])
53 PKG_CHECK_MODULES([TAGLIB_SHARP], [taglib-sharp])
54
c6f9bab Timo Dörr Add --disable-tests flag to configure script
Dynalon authored
55 AC_ARG_ENABLE(tests,
56 AC_HELP_STRING([--enable-tests],
57 [Build nunit tests [default=YES]]),
58 [], enable_tests=yes)
59 AM_CONDITIONAL(ENABLE_TESTS, test x$enable_tests = xyes)
60 if test "x$enable_tests" = "xyes" ; then
61 PKG_CHECK_MODULES([NUNIT], [nunit])
62 AC_PATH_PROG(NUNIT_CMD, nunit-console2, nunit-console)
63 AC_SUBST(NUNIT_CMD)
64 fi
9c8a52f Alexander Kojevnikov Preliminary autotools support
alexkay authored
65
66 AC_CONFIG_FILES([
67 src/Mono.Ssdp/Mono.Ssdp/mono.ssdp.pc
68 src/Mono.Ssdp/Mono.Ssdp/Makefile
69 src/Mono.Upnp/Mono.Upnp/mono.upnp.pc
70 src/Mono.Upnp/Mono.Upnp/Makefile
71 src/Mono.Upnp/Mono.Upnp.GtkClient/mono-upnp-gtk
72 src/Mono.Upnp/Mono.Upnp.GtkClient/Makefile
73 src/Mono.Upnp/Makefile
74 src/Mono.Upnp.Dcp/Mono.Upnp.Dcp.MediaServer1/Mono.Upnp.Dcp.MediaServer1/mono.upnp.dcp.mediaserver1.pc
75 src/Mono.Upnp.Dcp/Mono.Upnp.Dcp.MediaServer1/Mono.Upnp.Dcp.MediaServer1/Makefile
76 src/Mono.Upnp.Dcp/Mono.Upnp.Dcp.MediaServer1/Mono.Upnp.Dcp.MSMediaReceiverRegistrar1/mono.upnp.dcp.msmediareceiverregistrar1.pc
77 src/Mono.Upnp.Dcp/Mono.Upnp.Dcp.MediaServer1/Mono.Upnp.Dcp.MSMediaReceiverRegistrar1/Makefile
78 src/Mono.Upnp.Dcp/Mono.Upnp.Dcp.MediaServer1/Mono.Upnp.Dcp.MediaServer1.FileSystem/mono.upnp.dcp.mediaserver1.filesystem.pc
79 src/Mono.Upnp.Dcp/Mono.Upnp.Dcp.MediaServer1/Mono.Upnp.Dcp.MediaServer1.FileSystem/Makefile
80 src/Mono.Upnp.Dcp/Mono.Upnp.Dcp.MediaServer1/Mono.Upnp.Dcp.MediaServer1.FileSystem.ConsoleServer/mono-upnp-simple-media-server
81 src/Mono.Upnp.Dcp/Mono.Upnp.Dcp.MediaServer1/Mono.Upnp.Dcp.MediaServer1.FileSystem.ConsoleServer/Makefile
82 src/Mono.Upnp.Dcp/Mono.Upnp.Dcp.MediaServer1/Mono.Upnp.Dcp.MediaServer1.GtkClient/mono.upnp.dcp.mediaserver1.gtkclient.pc
83 src/Mono.Upnp.Dcp/Mono.Upnp.Dcp.MediaServer1/Mono.Upnp.Dcp.MediaServer1.GtkClient/Makefile
84 src/Mono.Upnp.Dcp/Mono.Upnp.Dcp.MediaServer1/Makefile
85 tests/Mono.Ssdp.Tests/Makefile
86 tests/Mono.Upnp.Tests/Makefile
87 tests/Mono.Upnp.Dcp.MediaServer1.Tests/Makefile
88 tests/Mono.Upnp.Dcp.MediaServer1.FileSystem.Tests/Makefile
89 tests/Makefile
90 Makefile
91
92 ])
93
94 AC_OUTPUT
Something went wrong with that request. Please try again.