~ubuntu-branches/ubuntu/vivid/ctdb/vivid-proposed

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Package Import Robot
  • Author(s): Mathieu Parent
  • Date: 2011-11-06 15:18:59 UTC
  • mfrom: (1.2.14)
  • Revision ID: package-import@ubuntu.com-20111106151859-41lblk8ml4es7ra3
Tags: 1.11+git20111102-1
* New upstream release
  - removed 92-apache-service-enable.diff: integrated 
  - removed 99-fix-broken-readdir-test.diff: integrated
* d/rules, d/control, d/compat:
  - converted to dh (% target and dh_auto_*)
  - moved to compat level 9 (buildeps upgraded)
  - dh9 enabled hardening build flags
  - added hardening=+bindnow
  - dh9 enabled multiarch
    + Don't use /use/lib64 on ppc64 (Closes: #644907)
    + libctdb-dev is Multi-Arch: same
    + removed 10_no-lib64.diff: not needed with multiarch
* ctdb.init:
  - removed gettext support
  - synced with upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
m4_include(lib/util/fault.m4)
70
70
 
71
71
AC_CHECK_HEADERS(sched.h)
 
72
AC_CHECK_HEADERS(pcp/pmapi.h pcp/impl.h pcp/pmda.h, [], [],
 
73
[[#ifdef HAVE_PCP_PMAPI_H
 
74
# include <pcp/pmapi.h>
 
75
#endif
 
76
#ifdef HAVE_PCP_IMPL_H
 
77
# include <pcp/impl.h>
 
78
#endif
 
79
]])
 
80
 
72
81
AC_CHECK_FUNCS(sched_setscheduler)
73
82
AC_CHECK_FUNCS(mlockall)
74
83
 
82
91
    AC_DEFINE(HAVE_SOCK_SIN_LEN,1,[Whether the sockaddr_in struct has a sin_len property])
83
92
fi
84
93
 
 
94
if test x"$ac_cv_header_pcp_pmda_h" = x"yes"; then
 
95
    CTDB_PMDA=bin/pmdactdb
 
96
    CTDB_PMDA_INSTALL=install_pmda
 
97
else
 
98
    CTDB_PMDA=
 
99
    CTDB_PMDA_INSTALL=
 
100
fi
 
101
 
 
102
 
85
103
AC_SUBST(EXTRA_OBJ)
86
104
AC_SUBST(CTDB_SYSTEM_OBJ)
87
105
AC_SUBST(CTDB_SCSI_IO)
88
106
AC_SUBST(CTDB_PCAP_LDFLAGS)
 
107
AC_SUBST(CTDB_PMDA)
 
108
AC_SUBST(CTDB_PMDA_INSTALL)
89
109
 
90
110
AC_OUTPUT(Makefile ctdb.pc)