-
Notifications
You must be signed in to change notification settings - Fork 14
/
configure.ac
49 lines (39 loc) · 1.56 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
dnl Copyright (c) 2011 Gluster, Inc. <http://www.gluster.com>
dnl This file is part of GlusterFS.
dnl
dnl GlusterFS is free software; you can redistribute it and/or modify
dnl it under the terms of the GNU Affero General Public License as published by
dnl the Free Software Foundation; either version 3 of the License, or
dnl (at your option) any later version.
dnl
dnl GlusterFS is distributed in the hope that it will be useful,
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
dnl GNU Affero General Public License for more details.
dnl
dnl You should have received a copy of the GNU Affero General Public License
dnl along with this program. If not, see <http://www.gnu.org/licenses/>.
AC_INIT([gluster-lic],[0.8],[support@gluster.com])
AM_INIT_AUTOMAKE
AC_CONFIG_FILES([Makefile
gluster-lic-setup
gluster-lic-request
gluster-lic-register
gluster-lic-install
gluster-lic-sign
gluster-lic-info
gluster-lic.spec
gluster-lic.sh
permits-create.sh
permits-install.sh])
AC_CANONICAL_HOST
AC_PROG_CC
#AC_PROG_LIBTOOL
AC_CHECK_TOOL([LD],[ld])
AC_CHECK_LIB([pthread], [pthread_mutex_init], ,AC_MSG_ERROR([Posix threads library is required by libevil]))
AC_CHECK_FUNC([pthread_spin_init], [have_spinlock=yes])
if test "x${have_spinlock}" = "xyes"; then
AC_DEFINE(HAVE_SPINLOCK, 1, [define if found spinlock])
fi
AC_SUBST(HAVE_SPINLOCK)
AC_OUTPUT