forked from meebey/SmartIrc4net
-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.ac
73 lines (60 loc) · 1.68 KB
/
configure.ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
AC_PREREQ([2.54])
AC_INIT([smartirc4net], [0.5])
AM_INIT_AUTOMAKE([foreign])
AM_MAINTAINER_MODE
AC_PROG_INSTALL
ASSEMBLY_TITLE="SmartIrc4net"
ASSEMBLY_DESCRIPTION="IRC library for CLI"
ASSEMBLY_NAME="Meebey.SmartIrc4net"
ASSEMBLY_VERSION="0.4.5.0"
AC_SUBST(ASSEMBLY_TITLE)
AC_SUBST(ASSEMBLY_DESCRIPTION)
AC_SUBST(ASSEMBLY_VERSION)
AC_SUBST(ASSEMBLY_NAME)
SHAMROCK_EXPAND_LIBDIR
SHAMROCK_CHECK_MONO_MODULE(1.2.6)
SHAMROCK_FIND_MONO_RUNTIME
AC_SUBST(CLR, $MONO)
SHAMROCK_FIND_MONO_2_0_COMPILER
AC_SUBST(CSC, $MCS)
CSC_FLAGS="-debug -define:TRACE,DEBUG -nowarn:1591"
AC_SUBST(CSC_FLAGS)
SHAMROCK_CHECK_MONO_2_0_GAC_ASSEMBLIES([
System
])
AC_PATH_PROG(GACUTIL, gacutil)
if test x$GACUTIL = x; then
AC_MSG_ERROR(You need gacutil)
fi
#PKG_CHECK_MODULES([LOG4NET], [log4net])
GACUTIL_FLAGS='-root $(DESTDIR)$(libdir)'
AC_SUBST(GACUTIL_FLAGS)
AC_ARG_ENABLE(pkg-config,
AC_HELP_STRING([--disable-pkg-config],
[Disable pkg-config install [default=NO]]),
disable_pkg_config=yes, disable_pkg_config=no
)
AM_CONDITIONAL([INSTALL_PKG_CONFIG], test x$disable_pkg_config = xno)
AC_ARG_ENABLE(pkg-lib,
AC_HELP_STRING([--disable-pkg-lib],
[Disable library install [default=NO]]),
disable_pkg_lib=yes, disable_pkg_lib=no
)
AM_CONDITIONAL([INSTALL_PKG_LIB], test x$disable_pkg_lib = xno)
AC_ARG_ENABLE(pkg-gac,
AC_HELP_STRING([--disable-pkg-gac],
[Disable GAC install [default=NO]]),
disable_pkg_gac=yes, disable_pkg_gac=no
)
AM_CONDITIONAL([INSTALL_PKG_GAC], test x$disable_pkg_gac = xno)
AC_CONFIG_FILES([
Makefile
smartirc4net.pc
src/Makefile
src/AssemblyInfo.cs
])
AC_OUTPUT
AC_MSG_RESULT([
Configuration summary for $PACKAGE_NAME ($VERSION)
* Installation prefix: $prefix
])