-
Notifications
You must be signed in to change notification settings - Fork 1
/
configure.ac
122 lines (94 loc) · 3.92 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
dnl ############################################################################
dnl
dnl Copyright (c) 2011-2019, EURid vzw. All rights reserved.
dnl The YADIFA TM software product is provided under the BSD 3-clause license:
dnl
dnl Redistribution and use in source and binary forms, with or without
dnl modification, are permitted provided that the following conditions
dnl are met:
dnl
dnl * Redistributions of source code must retain the above copyright
dnl notice, this list of conditions and the following disclaimer.
dnl * Redistributions in binary form must reproduce the above copyright
dnl notice, this list of conditions and the following disclaimer in
dnl the documentation and/or other materials provided with the
dnl distribution.
dnl * Neither the name of EURid nor the names of its contributors may be
dnl used to endorse or promote products derived from this software
dnl without specific prior written permission.
dnl
dnl THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
dnl AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
dnl IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
dnl ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
dnl LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
dnl CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
dnl SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
dnl INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
dnl CONTRACT, STRICT LIABILITY,OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
dnl ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
dnl POSSIBILITY OF SUCH DAMAGE.
dnl
dnl ############################################################################
dnl
dnl SVN Program:
dnl $URL: https://svn.int.eurid.eu/svn/sysdevel/projects/yadifa/tags/release-2.3.9-public/configure.ac $
dnl
dnl Last Update:
dnl $Date: 2019-02-11 11:02:46 +0100 (Mon, 11 Feb 2019) $
dnl $Revision: 8497 $
dnl
dnl Purpose:
dnl configure for YADIFA (domain name server)
dnl
dnl ############################################################################
AC_PREREQ(2.61)
AC_REVISION([$Revision: 8497 $])
AC_INIT([yadifa],m4_esyscmd([svn info 2> /dev/null | grep 'Last Changed Rev: ' | sed -re 's/.*: (.*)/Revision: \1 $/' -e 's/^/$/' >> revision.txt;echo $(cat VERSION)-$(grep -r \$Revision: revision.txt configure.ac Makefile.am sbin/* lib/*/* bin/* doc/* etc/* | sed -e 's/^.*\$Revision: *//' -e 's/\$.*//' -e 's/ *//' | sort -n | /usr/bin/tail -1 | tr -d '\n') | tr -d '\n']),[[email protected]])
echo
echo
echo "YADIFA BUNDLE START"
echo "-------------------"
echo
echo
m4_include([m4/eurid.m4])
m4_include([m4/yadifa.m4])
AC_CONFIG_AUX_DIR([.])
AM_INIT_AUTOMAKE([subdir-objects -Wall -Werror tar-pax])
AC_CONFIG_HEADER([config.h])
dnl DO THE LIBRARIES
dnl
AC_CONFIG_SUBDIRS([lib/dnscore lib/dnsdb lib/dnszone])
AC_HAS_WITHOUT(tools, TOOLS, [the DNS tools built-in],,AC_CONFIG_SUBDIRS([lib/dnslg]),)
dnl DO THE BINARIES
dnl
AC_CONFIG_SUBDIRS([sbin/yadifad])
AC_HAS_WITHOUT(tools, TOOLS, [the DNS tools built-in],,AC_CONFIG_SUBDIRS([bin/yadifa]),)
dnl @todo 20150119 gve -- can be removed
dnl AC_CONFIG_HEADERS([yadifa-config.h])
AC_CONFIG_MACRO_DIR([m4])
LT_INIT([disable-shared])
AC_DARWIN_LIBTOOL
AC_PROG_LIBTOOL
AC_DEFUN([SYSCONF], [/$prefix/PACKAGE/PACKAGE.conf])
AC_CANONICAL_BUILD
AC_CONFIG_FILES([Makefile etc/Makefile doc/Makefile var/Makefile])
AC_SYS_LARGEFILE
AC_COMPILER_CHECK
AC_PTHREAD_SPINLOCK_CHECK
AC_PTHREAD_SETNAME_NP_CHECK
AC_PTHREAD_SETAFFINITY_NP_CHECK
AC_YADIFA_ENABLE_SSL
AC_YADIFA_ADD_SSL
AC_YADIFA_FEATURES
AC_CHECK_LTO
AC_EURID_SUMMARY
AC_OUTPUT
dnl AC_YADIFA_SUMMARY
make features
echo
echo
echo "YADIFA BUNDLE DONE"
echo "------------------"
echo
echo