-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfigure.ac
69 lines (56 loc) · 1.51 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
dnl Process this file with autoconf to produce a configure script.
AC_INIT([multicast], [0.2.5.2], [https://github.com/anubisg1/simple-multicast])
AC_CONFIG_HEADERS([config.h])
AC_CHECK_HEADERS([ws2ipdef.h], [], [],
[[#include <winsock2.h>
]])
AM_INIT_AUTOMAKE([1.11])
AM_SILENT_RULES([yes])
AC_PROG_CC
######################################################################
# DOXYGEN SUPPORT
######################################################################
DX_HTML_FEATURE(ON)
DX_CHM_FEATURE(OFF)
DX_CHI_FEATURE(OFF)
DX_MAN_FEATURE(OFF)
DX_RTF_FEATURE(OFF)
DX_XML_FEATURE(OFF)
DX_PDF_FEATURE(ON)
DX_PS_FEATURE(OFF)
DX_INIT_DOXYGEN([$PACKAGE_NAME],[doxygen.cfg])
dnl ***************************************************************************
dnl Check for Windows
dnl ***************************************************************************
AC_CANONICAL_HOST
case $host_os in
*mingw*)
platform_win32=yes
native_win32=yes
;;
pw32* | *cygwin*)
platform_win32=yes
native_win32=no
;;
*)
platform_win32=no
native_win32=no
;;
esac
AM_CONDITIONAL(PLATFORM_WIN32, test x"$platform_win32" = "xyes")
AM_CONDITIONAL(NATIVE_WIN32, test x"$native_win32" = "xyes")
AC_OUTPUT([
Makefile
src/Makefile
])
AC_OUTPUT
echo
echo simple-multicast............... : Version $VERSION
echo
echo Prefix..........................: $prefix
echo
echo
echo "Ready to make simple-multicast Type 'make' to continue."
echo
echo "Type 'make docs' to build documentation."
echo