Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 66 lines (50 sloc) 1.542 kb
7dad3c7 Initial njb-sharp import (libnjb bindings)
Aaron Bockover authored
1 AC_INIT(README)
2 AC_CANONICAL_SYSTEM
3
4 MAJOR_VERSION=0
05fb2c3 2006-04-13 Aaron Bockover <aaron@abock.org>
Aaron Bockover authored
5 MINOR_VERSION=3
6 MICRO_VERSION=0
7dad3c7 Initial njb-sharp import (libnjb bindings)
Aaron Bockover authored
7 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION
8
9 AM_INIT_AUTOMAKE(njb-sharp, $VERSION)
10
11 AC_SUBST(MAJOR_VERSION)
12 AC_SUBST(MINOR_VERSION)
13 AC_SUBST(MICRO_VERSION)
14
15 AM_MAINTAINER_MODE
16 AC_PROG_CC
17 AM_PROG_LIBTOOL
18
222c044 2005-12-01 Aaron Bockover <aaron@aaronbock.net>
Aaron Bockover authored
19 PKG_CHECK_MODULES(NJB, libnjb >= 2.2.4)
7dad3c7 Initial njb-sharp import (libnjb bindings)
Aaron Bockover authored
20
971d0ca Add documentation
Aaron Bockover authored
21 AC_PATH_PROG(MONO, mono, no)
22 if test "x$MONO" = "xno"; then
7dad3c7 Initial njb-sharp import (libnjb bindings)
Aaron Bockover authored
23 AC_MSG_ERROR([Can not find "mono" in your PATH])
24 fi
25
971d0ca Add documentation
Aaron Bockover authored
26 AC_PATH_PROG(MCS, mcs, no)
27 if test "x$MCS" = "xno"; then
7dad3c7 Initial njb-sharp import (libnjb bindings)
Aaron Bockover authored
28 AC_MSG_ERROR([Can not find "mcs" in your PATH])
29 fi
30
971d0ca Add documentation
Aaron Bockover authored
31 AC_ARG_ENABLE(docs, AC_HELP_STRING([--disable-docs], [Do not build documentation]), with_docs=no, with_docs=yes)
32
33 if test "x$with_docs" = "xyes"; then
34 AC_PATH_PROG(MONODOCER, monodocer, no)
222c044 2005-12-01 Aaron Bockover <aaron@aaronbock.net>
Aaron Bockover authored
35 if test "x$MONODOCER" = "xno"; then
971d0ca Add documentation
Aaron Bockover authored
36 AC_MSG_ERROR([You need to install monodoc])
37 fi
38
39 AC_PATH_PROG(MDASSEMBLER, mdassembler, no)
40 if test "x$MDASSEMBLER" = "xno"; then
41 AC_MSG_ERROR([You need to install mdassembler])
42 fi
43
44 DOCDIR=`$PKG_CONFIG monodoc --variable=sourcesdir`
45 AC_SUBST(DOCDIR)
46
47 AM_CONDITIONAL(BUILD_DOCS, true)
48 else
49 AC_MSG_NOTICE([not building API documentation])
50 AM_CONDITIONAL(BUILD_DOCS, false)
51 fi
52
8e6e943 2005-12-18 Aaron Bockover <aaron@aaronbock.net>
Aaron Bockover authored
53 expanded_libdir=`( case $prefix in NONE) prefix=$ac_default_prefix ;; *) ;; esac
54 case $exec_prefix in NONE) exec_prefix=$prefix ;; *) ;; esac
55 eval echo $libdir )`
56 AC_SUBST(expanded_libdir)
57
7dad3c7 Initial njb-sharp import (libnjb bindings)
Aaron Bockover authored
58 AC_OUTPUT([
59 Makefile
60 njb-sharp.pc
61 src/Makefile
971d0ca Add documentation
Aaron Bockover authored
62 src/AssemblyInfo.cs
8e6e943 2005-12-18 Aaron Bockover <aaron@aaronbock.net>
Aaron Bockover authored
63 src/njb-sharp.dll.config
7dad3c7 Initial njb-sharp import (libnjb bindings)
Aaron Bockover authored
64 ])
65
Something went wrong with that request. Please try again.