2
by mhalcrow@us.ibm.com
Initial import of eCryptfs filesystem userspace utilities (mount helper, daemon component, |
1 |
# Copyright (C) 2006-2007 International Business Machines Corp. |
2 |
# |
|
3 |
# This file is free software; as a special exception the author gives |
|
4 |
# unlimited permission to copy and/or distribute it, with or without |
|
5 |
# modifications, as long as this notice is preserved. |
|
6 |
# |
|
7 |
# This program is distributed in the hope that it will be useful, but |
|
8 |
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the |
|
9 |
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
|
10 |
||
11 |
||
195
by Mike Halcrow
Update userspace filename crypto test code. |
12 |
AC_PREREQ(2.59) |
703
by Dustin Kirkland
opening 99 |
13 |
AC_INIT([ecryptfs-utils],[99]) |
2
by mhalcrow@us.ibm.com
Initial import of eCryptfs filesystem userspace utilities (mount helper, daemon component, |
14 |
AC_CANONICAL_HOST
|
15 |
AC_CANONICAL_TARGET
|
|
16 |
AM_INIT_AUTOMAKE([${PACKAGE_NAME}], [${PACKAGE_VERSION}]) |
|
17 |
AC_CONFIG_SRCDIR([src/libecryptfs]) |
|
111
by Mike halcrow
1. Ready to libtool-2 |
18 |
AC_CONFIG_HEADERS([config.h]) |
19 |
AC_CONFIG_MACRO_DIR([m4]) |
|
2
by mhalcrow@us.ibm.com
Initial import of eCryptfs filesystem userspace utilities (mount helper, daemon component, |
20 |
|
213
by Mike halcrow
Proof-of-concept key escrow. |
21 |
AC_DISABLE_STATIC
|
22 |
||
2
by mhalcrow@us.ibm.com
Initial import of eCryptfs filesystem userspace utilities (mount helper, daemon component, |
23 |
LIBECRYPTFS_LT_CURRENT="0" |
24 |
LIBECRYPTFS_LT_REVISION="0" |
|
25 |
LIBECRYPTFS_LT_AGE="0" |
|
26 |
AC_SUBST([LIBECRYPTFS_LT_CURRENT]) |
|
27 |
AC_SUBST([LIBECRYPTFS_LT_REVISION]) |
|
28 |
AC_SUBST([LIBECRYPTFS_LT_AGE]) |
|
29 |
||
30 |
AC_ARG_ENABLE( |
|
241
by Mike halcrow
Migrate the default crypto provider for libecryptfs from gcrypt to |
31 |
[nss], |
32 |
[AS_HELP_STRING([--disable-nss],[Build against gcrypt rather than NSS])], |
|
33 |
, |
|
34 |
[enable_nss="detect"] |
|
35 |
)
|
|
36 |
||
37 |
AC_ARG_ENABLE( |
|
213
by Mike halcrow
Proof-of-concept key escrow. |
38 |
[pywrap], |
241
by Mike halcrow
Migrate the default crypto provider for libecryptfs from gcrypt to |
39 |
[AS_HELP_STRING([--disable-pywrap],[Disable build of libecryptfs Python wrappers])], |
213
by Mike halcrow
Proof-of-concept key escrow. |
40 |
, |
41 |
[enable_pywrap="detect"] |
|
42 |
)
|
|
43 |
||
44 |
AC_ARG_ENABLE( |
|
2
by mhalcrow@us.ibm.com
Initial import of eCryptfs filesystem userspace utilities (mount helper, daemon component, |
45 |
[openssl], |
241
by Mike halcrow
Migrate the default crypto provider for libecryptfs from gcrypt to |
46 |
[AS_HELP_STRING([--disable-openssl],[Disable build of OpenSSL key module])], |
2
by mhalcrow@us.ibm.com
Initial import of eCryptfs filesystem userspace utilities (mount helper, daemon component, |
47 |
, |
48 |
[enable_openssl="detect"] |
|
49 |
)
|
|
50 |
||
51 |
AC_ARG_ENABLE( |
|
52 |
[pkcs11-helper], |
|
111
by Mike halcrow
1. Ready to libtool-2 |
53 |
[AS_HELP_STRING([--enable-pkcs11-helper],[Build pkcs11-helper key module])], |
2
by mhalcrow@us.ibm.com
Initial import of eCryptfs filesystem userspace utilities (mount helper, daemon component, |
54 |
, |
55 |
enable_pkcs11_helper="no" |
|
56 |
)
|
|
57 |
||
58 |
AC_ARG_ENABLE( |
|
59 |
[tspi], |
|
111
by Mike halcrow
1. Ready to libtool-2 |
60 |
[AS_HELP_STRING([--enable-tspi],[Build TrouSerS key module])], |
2
by mhalcrow@us.ibm.com
Initial import of eCryptfs filesystem userspace utilities (mount helper, daemon component, |
61 |
, |
62 |
[enable_tspi="no"] |
|
63 |
)
|
|
64 |
||
65 |
AC_ARG_ENABLE( |
|
66 |
[gpg], |
|
111
by Mike halcrow
1. Ready to libtool-2 |
67 |
[AS_HELP_STRING([--enable-gpg],[Build GnuPG key module])], |
2
by mhalcrow@us.ibm.com
Initial import of eCryptfs filesystem userspace utilities (mount helper, daemon component, |
68 |
, |
69 |
[enable_gpg="no"] |
|
70 |
)
|
|
71 |
||
72 |
AC_ARG_ENABLE( |
|
73 |
[pam], |
|
241
by Mike halcrow
Migrate the default crypto provider for libecryptfs from gcrypt to |
74 |
[AS_HELP_STRING([--disable-pam],[Disable build of PAM module])], |
2
by mhalcrow@us.ibm.com
Initial import of eCryptfs filesystem userspace utilities (mount helper, daemon component, |
75 |
, |
76 |
[enable_pam="yes"] |
|
77 |
)
|
|
78 |
||
79 |
AC_ARG_ENABLE( |
|
80 |
[gui], |
|
111
by Mike halcrow
1. Ready to libtool-2 |
81 |
[AS_HELP_STRING([--enable-gui],[Enable building of GUI components])], |
2
by mhalcrow@us.ibm.com
Initial import of eCryptfs filesystem userspace utilities (mount helper, daemon component, |
82 |
, |
83 |
[enable_gui="no"] |
|
84 |
)
|
|
85 |
||
86 |
AC_ARG_ENABLE( |
|
87 |
[docs], |
|
111
by Mike halcrow
1. Ready to libtool-2 |
88 |
[AS_HELP_STRING([--enable-docs],[Enable installing document])], |
2
by mhalcrow@us.ibm.com
Initial import of eCryptfs filesystem userspace utilities (mount helper, daemon component, |
89 |
, |
90 |
[enable_docs="no"] |
|
91 |
)
|
|
92 |
||
93 |
AC_ARG_ENABLE( |
|
94 |
[docs-gen], |
|
111
by Mike halcrow
1. Ready to libtool-2 |
95 |
[AS_HELP_STRING([--enable-docs-gen],[Enable generating documents])], |
2
by mhalcrow@us.ibm.com
Initial import of eCryptfs filesystem userspace utilities (mount helper, daemon component, |
96 |
, |
97 |
[enable_docs_gen="no"] |
|
98 |
)
|
|
99 |
test "${enable_docs_gen}" = "yes" && enable_docs="yes" |
|
100 |
||
101 |
AC_ARG_ENABLE( |
|
117
by Mike halcrow
This patch detects the correct libtool version at runtime. It also |
102 |
[tests], |
103 |
[AS_HELP_STRING([--enable-tests],[Enable system specific tests])], |
|
104 |
, |
|
105 |
[enable_tests="no"] |
|
106 |
)
|
|
107 |
||
108 |
AC_ARG_ENABLE( |
|
2
by mhalcrow@us.ibm.com
Initial import of eCryptfs filesystem userspace utilities (mount helper, daemon component, |
109 |
[mudflap], |
111
by Mike halcrow
1. Ready to libtool-2 |
110 |
[AS_HELP_STRING([--enable-mudflap],[Build with -fmudflap gcc option])], |
2
by mhalcrow@us.ibm.com
Initial import of eCryptfs filesystem userspace utilities (mount helper, daemon component, |
111 |
[ |
112 |
if "${enableval}" = "yes"; then
|
|
113 |
CFLAGS="$CFLAGS -fmudflap"
|
|
114 |
LDFLAGS="$LDFLAGS -lmudflap"
|
|
115 |
fi
|
|
116 |
] |
|
117 |
)
|
|
118 |
||
119 |
AC_ARG_WITH( |
|
16
by mike@halcrow.us
Use gpgme-config. |
120 |
[gpgme-prefix], |
111
by Mike halcrow
1. Ready to libtool-2 |
121 |
[AS_HELP_STRING([--with-gpgme-prefix=PATH],[Specify the directory where gpgme install, default /usr])], |
16
by mike@halcrow.us
Use gpgme-config. |
122 |
, |
123 |
[with_gpgme_prefix="/usr"] |
|
124 |
)
|
|
125 |
||
126 |
AC_ARG_WITH( |
|
2
by mhalcrow@us.ibm.com
Initial import of eCryptfs filesystem userspace utilities (mount helper, daemon component, |
127 |
[pamdir], |
111
by Mike halcrow
1. Ready to libtool-2 |
128 |
[AS_HELP_STRING([--with-pamdir=PATH],[Specify the directory where PAM modules are stored])], |
2
by mhalcrow@us.ibm.com
Initial import of eCryptfs filesystem userspace utilities (mount helper, daemon component, |
129 |
[pamdir="${withval}"], |
130 |
[ |
|
32
by mhalcrow@us.ibm.com
Better way of specifying the PAM directory (by Alon Bar-Lev) |
131 |
if test "${prefix}" = "/usr"; then
|
132 |
pamdir="/lib${libdir##*/lib}/security"
|
|
133 |
else
|
|
134 |
pamdir="\$(libdir)/security"
|
|
135 |
fi
|
|
2
by mhalcrow@us.ibm.com
Initial import of eCryptfs filesystem userspace utilities (mount helper, daemon component, |
136 |
] |
137 |
)
|
|
138 |
||
139 |
AC_ARG_WITH( |
|
140 |
[ecryptfskeymoddir], |
|
111
by Mike halcrow
1. Ready to libtool-2 |
141 |
[AS_HELP_STRING([--with-ecryptfskeymoddir=PATH],[Specify the directory where key modules are stored])], |
2
by mhalcrow@us.ibm.com
Initial import of eCryptfs filesystem userspace utilities (mount helper, daemon component, |
142 |
[ |
143 |
ecryptfskeymoddir="${withval}"
|
|
144 |
full_ecryptfskeymoddir="${ecryptfskeymoddir}"
|
|
145 |
], |
|
146 |
[ |
|
147 |
full_ecryptfskeymoddir=`eval eval eval eval eval echo "${libdir}/ecryptfs" | sed "s#NONE#${prefix}#" | sed "s#NONE#${ac_default_prefix}#"`
|
|
148 |
ecryptfskeymoddir="\$(libdir)/ecryptfs"
|
|
149 |
] |
|
150 |
)
|
|
151 |
AC_DEFINE_UNQUOTED([ECRYPTFS_DEFAULT_KEY_MOD_DIR], ["$full_ecryptfskeymoddir"], "Location of key modules") |
|
152 |
||
111
by Mike halcrow
1. Ready to libtool-2 |
153 |
AC_GNU_SOURCE
|
154 |
||
2
by mhalcrow@us.ibm.com
Initial import of eCryptfs filesystem userspace utilities (mount helper, daemon component, |
155 |
AC_PROG_CC
|
156 |
AC_MINIX
|
|
157 |
AM_PROG_CC_C_O
|
|
131
by Mike halcrow
I believe symbolic link is the right way to go, it is more compatible and |
158 |
AC_PROG_LN_S
|
2
by mhalcrow@us.ibm.com
Initial import of eCryptfs filesystem userspace utilities (mount helper, daemon component, |
159 |
PKG_PROG_PKG_CONFIG
|
117
by Mike halcrow
This patch detects the correct libtool version at runtime. It also |
160 |
|
161 |
ifdef( |
|
162 |
[LT_INIT], |
|
163 |
[LT_INIT], |
|
164 |
[AC_PROG_LIBTOOL] |
|
165 |
)
|
|
166 |
||
2
by mhalcrow@us.ibm.com
Initial import of eCryptfs filesystem userspace utilities (mount helper, daemon component, |
167 |
AC_PATH_PROGS([POD2MAN], [pod2man]) |
168 |
test -z "${POD2MAN}" && AC_MSG_ERROR([I couldn't find pod2man; make sure it's installed and in your path]) |
|
169 |
||
170 |
AC_PATH_PROGS([TAR], [tar]) |
|
171 |
AC_PATH_PROGS([PS2PDF], [ps2pdf]) |
|
172 |
AC_PATH_PROGS([DVIPS], [dvips]) |
|
173 |
AC_PATH_PROGS([LATEX2HTML], [latex2html]) |
|
174 |
AC_PATH_PROGS([LATEX], [latex]) |
|
175 |
if test "${enable_docs_gen}" = "yes"; then |
|
176 |
test -z "${TAR}" && AC_MSG_ERROR([Couldn't find tar]) |
|
177 |
test -z "${PS2PDF}" && AC_MSG_ERROR([Couldn't find ps2pdf]) |
|
178 |
test -z "${DVIPS}" && AC_MSG_ERROR([Couldn't find dvips]) |
|
179 |
test -z "${LATEX2HTML}" && AC_MSG_ERROR([Couldn't find latex2html]) |
|
180 |
test -z "${LATEX}" && AC_MSG_ERROR([Couldn't find latex]) |
|
181 |
fi
|
|
182 |
||
183 |
AC_ISC_POSIX
|
|
111
by Mike halcrow
1. Ready to libtool-2 |
184 |
AC_HEADER_STDC
|
2
by mhalcrow@us.ibm.com
Initial import of eCryptfs filesystem userspace utilities (mount helper, daemon component, |
185 |
AC_CHECK_LIB([dl], [dlopen]) |
186 |
||
187 |
# Verify keyutils version 1.0 or higher |
|
188 |
if test -z "${KEYUTILS_LIBS}"; then |
|
189 |
AC_ARG_VAR([KEYUTILS_CFLAGS], [C compiler flags for keyutils]) |
|
190 |
AC_ARG_VAR([KEYUTILS_LIBS], [linker flags for keyutils]) |
|
191 |
AC_CHECK_LIB( |
|
192 |
[keyutils], |
|
193 |
[keyctl_search], |
|
194 |
[KEYUTILS_LIBS="-lkeyutils"], |
|
195 |
[AC_MSG_ERROR([eCryptfs userspace tools require Keyutils version 1.0 or higher. |
|
196 |
You might find the package at:
|
|
197 |
http://people.redhat.com/~dhowells/keyutils/
|
|
198 |
]) |
|
199 |
] |
|
200 |
) |
|
201 |
fi
|
|
202 |
||
203 |
if test -z "${OPENSSL_LIBS}"; then |
|
204 |
PKG_CHECK_MODULES( |
|
205 |
[OPENSSL], |
|
206 |
[libcrypto >= 0.9.7], |
|
207 |
[have_openssl="yes"], |
|
208 |
[PKG_CHECK_MODULES( |
|
209 |
[OPENSSL], |
|
210 |
[openssl >= 0.9.7], |
|
211 |
[have_openssl="yes"], |
|
212 |
[AC_CHECK_LIB( |
|
213 |
[crypto], |
|
214 |
[RSA_version], |
|
215 |
[ |
|
216 |
have_openssl="yes"
|
|
217 |
OPENSSL_LIBS="-lcrypto"
|
|
218 |
], |
|
219 |
[have_openssl="no"] |
|
220 |
)] |
|
221 |
)] |
|
222 |
) |
|
223 |
else
|
|
224 |
have_openssl="yes" |
|
225 |
fi
|
|
226 |
||
241
by Mike halcrow
Migrate the default crypto provider for libecryptfs from gcrypt to |
227 |
#Verify nss |
556.1.1
by Diego Pettenò
build: use pkg-config to identify presence of NSS. |
228 |
PKG_CHECK_MODULES( |
229 |
[NSS], |
|
230 |
[nss], |
|
231 |
[have_nss="yes" |
|
232 |
NSS_CFLAGS="${NSS_CFLAGS} -DENABLE_NSS"], |
|
233 |
[have_nss="no"]) |
|
241
by Mike halcrow
Migrate the default crypto provider for libecryptfs from gcrypt to |
234 |
|
235 |
if test "${enable_nss}" = "detect" ; then |
|
236 |
if test "$have_nss" == "yes" ; then |
|
237 |
enable_nss="yes" |
|
238 |
else |
|
239 |
enable_nss="no" |
|
240 |
fi |
|
241 |
fi
|
|
242 |
||
2
by mhalcrow@us.ibm.com
Initial import of eCryptfs filesystem userspace utilities (mount helper, daemon component, |
243 |
OLD_CFLAGS="${CFLAGS}" |
244 |
CFLAGS="${CFLAGS} ${OPENSSL_CFLAGS}" |
|
245 |
AC_CHECK_HEADER([openssl/rsa.h],, [have_openssl="no"]) |
|
246 |
CFLAGS="${OLD_CFLAGS}" |
|
247 |
||
583
by Dustin Kirkland
* configure.ac: LP: #893327 |
248 |
if test "${enable_pywrap}" != "no" ; then |
249 |
AM_PATH_PYTHON(2.5, [have_python="yes"], [have_python="no"]) |
|
250 |
AC_PROG_SWIG(1.3.31) |
|
251 |
SWIG_PYTHON |
|
252 |
fi
|
|
253 |
||
213
by Mike halcrow
Proof-of-concept key escrow. |
254 |
if test "x${SWIG}" != "x" ; then |
255 |
have_swig="yes" |
|
225
by Mike halcrow
Correctly detect Python version for pywrap |
256 |
else
|
257 |
have_swig="no" |
|
213
by Mike halcrow
Proof-of-concept key escrow. |
258 |
fi
|
259 |
||
260 |
if test "${enable_pywrap}" = "detect" ; then |
|
261 |
if test "${have_python}" = "yes" ; then |
|
262 |
if test "${have_swig}" = "yes" ; then |
|
263 |
enable_pywrap="yes" |
|
264 |
fi |
|
265 |
fi |
|
266 |
fi
|
|
267 |
||
268 |
if test "${enable_pywrap}" = "yes" ; then |
|
269 |
test "${have_python}" != "yes" && AC_MSG_ERROR([Python not found]) |
|
270 |
test "${have_swig}" != "yes" && AC_MSG_ERROR([SWIG not found]) |
|
271 |
fi
|
|
272 |
||
2
by mhalcrow@us.ibm.com
Initial import of eCryptfs filesystem userspace utilities (mount helper, daemon component, |
273 |
test "${enable_openssl}" = "detect" && enable_openssl="${have_openssl}" |
274 |
||
275 |
if test "${enable_openssl}" = "yes" ; then |
|
276 |
test "${have_openssl}" != "yes" && AC_MSG_ERROR([OpenSSL not found]) |
|
277 |
fi
|
|
278 |
||
279 |
if test "${enable_pkcs11_helper}" = "yes" ; then |
|
280 |
test "${have_openssl}" != "yes" && AC_MSG_ERROR([OpenSSL not found]) |
|
281 |
PKG_CHECK_MODULES([PKCS11_HELPER], [libpkcs11-helper-1 >= 1.04],, [AC_MSG_ERROR([Cannot locate pkcs11-helper])]) |
|
282 |
fi
|
|
283 |
||
284 |
if test "${enable_tspi}" = "yes" ; then |
|
285 |
if test -z "${TSPI_LIBS}"; then |
|
286 |
AC_ARG_VAR([TSPI_CFLAGS], [C compiler flags for tspi]) |
|
287 |
AC_ARG_VAR([TSPI_LIBS], [linker flags for tspi]) |
|
288 |
AC_CHECK_LIB( |
|
289 |
[tspi], |
|
290 |
[Tspi_Context_Create], |
|
291 |
[TSPI_LIBS="-ltspi"], |
|
292 |
[AC_MSG_ERROR([Cannot find tspi])] |
|
293 |
) |
|
294 |
fi |
|
295 |
fi
|
|
296 |
||
297 |
if test "${enable_gpg}" = "yes" ; then |
|
16
by mike@halcrow.us
Use gpgme-config. |
298 |
AC_MSG_CHECKING([for gpgme]) |
299 |
if ! test -x "${with_gpgme_prefix}/bin/gpgme-config"; then |
|
300 |
AC_MSG_ERROR([Cannot locate gpgme]) |
|
301 |
else |
|
302 |
AC_MSG_RESULT([found]) |
|
303 |
GPGME_CFLAGS="`\"${with_gpgme_prefix}/bin/gpgme-config\" --cflags`" |
|
304 |
GPGME_LIBS="`\"${with_gpgme_prefix}/bin/gpgme-config\" --libs`" |
|
2
by mhalcrow@us.ibm.com
Initial import of eCryptfs filesystem userspace utilities (mount helper, daemon component, |
305 |
fi |
306 |
fi
|
|
307 |
||
308 |
if test "${enable_pam}" = "yes" ; then |
|
309 |
if test -z "${PAM_LIBS}"; then |
|
310 |
AC_ARG_VAR([PAM_CFLAGS], [C compiler flags for pam]) |
|
311 |
AC_ARG_VAR([PAM_LIBS], [linker flags for pam]) |
|
312 |
AC_CHECK_LIB( |
|
313 |
[pam], |
|
314 |
[pam_authenticate], |
|
315 |
[PAM_LIBS="-lpam"], |
|
316 |
[AC_MSG_ERROR([Cannot find pam])] |
|
317 |
) |
|
318 |
AC_CHECK_LIB( |
|
319 |
[pam_misc], |
|
320 |
[pam_misc_setenv], |
|
420
by Dustin Kirkland
* configure.ac: link against pam |
321 |
[PAM_LIBS="${PAM_LIBS} ${TSPI_LIBS} -lpam_misc"], |
2
by mhalcrow@us.ibm.com
Initial import of eCryptfs filesystem userspace utilities (mount helper, daemon component, |
322 |
[AC_MSG_ERROR([Cannot find pam_misc])] |
323 |
) |
|
324 |
fi |
|
325 |
fi
|
|
326 |
||
327 |
if test "${enable_gui}" = "yes"; then |
|
20
by mike@halcrow.us
Better detection of GTK+ (contributed by Alon Bar-Lev) |
328 |
PKG_CHECK_MODULES( |
329 |
[GTK], |
|
330 |
[gtk+-2.0 >= 2.0], |
|
331 |
, |
|
332 |
PKG_CHECK_MODULES( |
|
333 |
[GTK], |
|
334 |
[gtk+ >= 1.0],, |
|
335 |
AC_MSG_ERROR([Cannot locate gtk+]) |
|
336 |
) |
|
337 |
) |
|
2
by mhalcrow@us.ibm.com
Initial import of eCryptfs filesystem userspace utilities (mount helper, daemon component, |
338 |
fi
|
339 |
||
340 |
pkgconfigdir="\$(libdir)/pkgconfig" |
|
341 |
if test "${prefix}" = "/usr"; then |
|
342 |
rootsbindir="/sbin" |
|
343 |
else
|
|
344 |
rootsbindir="\$(sbindir)" |
|
345 |
fi
|
|
111
by Mike halcrow
1. Ready to libtool-2 |
346 |
|
497
by Dustin Kirkland
* Makefile.am, configure.ac, debian/control, debian/po/POTFILES.sh, |
347 |
GETTEXT_PACKAGE=ecryptfs-utils |
348 |
AC_SUBST(GETTEXT_PACKAGE) |
|
349 |
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", |
|
350 |
[the gettext translation domain]) |
|
351 |
||
352 |
AM_GLIB_GNU_GETTEXT
|
|
353 |
||
354 |
IT_PROG_INTLTOOL([0.41.0]) |
|
355 |
||
356 |
LOCALEDIR='${prefix}/${datadir}/locale' |
|
357 |
AC_SUBST(LOCALEDIR) |
|
358 |
||
359 |
||
406
by Dustin Kirkland
* README, configure.ac, debian/control, debian/rules, |
360 |
CRYPTO_CFLAGS=${NSS_CFLAGS} |
361 |
CRYPTO_LIBS=${NSS_LIBS} |
|
241
by Mike halcrow
Migrate the default crypto provider for libecryptfs from gcrypt to |
362 |
|
2
by mhalcrow@us.ibm.com
Initial import of eCryptfs filesystem userspace utilities (mount helper, daemon component, |
363 |
AC_SUBST([pamdir]) |
364 |
AC_SUBST([pamlibdir]) |
|
365 |
AC_SUBST([pkgconfigdir]) |
|
366 |
AC_SUBST([rootsbindir]) |
|
367 |
AC_SUBST([ecryptfskeymoddir]) |
|
16
by mike@halcrow.us
Use gpgme-config. |
368 |
AC_SUBST([GPGME_CFLAGS]) |
369 |
AC_SUBST([GPGME_LIBS]) |
|
241
by Mike halcrow
Migrate the default crypto provider for libecryptfs from gcrypt to |
370 |
AC_SUBST([CRYPTO_CFLAGS]) |
371 |
AC_SUBST([CRYPTO_LIBS]) |
|
2
by mhalcrow@us.ibm.com
Initial import of eCryptfs filesystem userspace utilities (mount helper, daemon component, |
372 |
AM_CONDITIONAL([BUILD_OPENSSL], [test "${enable_openssl}" = "yes"]) |
373 |
AM_CONDITIONAL([BUILD_PKCS11_HELPER], [test "${enable_pkcs11_helper}" = "yes"]) |
|
374 |
AM_CONDITIONAL([BUILD_TSPI], [test "${enable_tspi}" = "yes"]) |
|
375 |
AM_CONDITIONAL([BUILD_GPG], [test "${enable_gpg}" = "yes"]) |
|
376 |
AM_CONDITIONAL([BUILD_PAM], [test "${enable_pam}" = "yes"]) |
|
213
by Mike halcrow
Proof-of-concept key escrow. |
377 |
AM_CONDITIONAL([BUILD_PYWRAP], [test "${enable_pywrap}" = "yes"]) |
241
by Mike halcrow
Migrate the default crypto provider for libecryptfs from gcrypt to |
378 |
AM_CONDITIONAL([BUILD_NSS], [test "${enable_nss}" = "yes"]) |
2
by mhalcrow@us.ibm.com
Initial import of eCryptfs filesystem userspace utilities (mount helper, daemon component, |
379 |
AM_CONDITIONAL([BUILD_GUI], [test "${enable_gui}" = "yes"]) |
380 |
AM_CONDITIONAL([BUILD_DOCS], [test "${enable_docs}" = "yes"]) |
|
381 |
AM_CONDITIONAL([BUILD_DOCS_GEN], [test "${enable_docs_gen}" = "yes"]) |
|
117
by Mike halcrow
This patch detects the correct libtool version at runtime. It also |
382 |
AM_CONDITIONAL([ENABLE_TESTS], [test "${enable_tests}" = "yes"]) |
2
by mhalcrow@us.ibm.com
Initial import of eCryptfs filesystem userspace utilities (mount helper, daemon component, |
383 |
|
384 |
# workaround for <autoconf-2.60 |
|
385 |
if test -z "${docdir}"; then |
|
386 |
docdir="\$(datarootdir)/doc/\$(PACKAGE_NAME)" |
|
387 |
AC_SUBST([docdir]) |
|
388 |
fi
|
|
389 |
if test -z "${htmldir}"; then |
|
390 |
htmldir="\$(docdir)" |
|
391 |
AC_SUBST([htmldir]) |
|
392 |
fi
|
|
393 |
# end workaround |
|
117
by Mike halcrow
This patch detects the correct libtool version at runtime. It also |
394 |
# workaround for <automake-1.10 |
395 |
if test -z "${MKDIR_P}"; then |
|
396 |
MKDIR_P="\$(mkdir_p)" |
|
397 |
AC_SUBST([MKDIR_P]) |
|
398 |
fi
|
|
399 |
# end workaround |
|
2
by mhalcrow@us.ibm.com
Initial import of eCryptfs filesystem userspace utilities (mount helper, daemon component, |
400 |
|
401 |
AC_CONFIG_FILES([ |
|
402 |
Makefile
|
|
403 |
doc/Makefile
|
|
404 |
src/Makefile
|
|
405 |
src/libecryptfs/Makefile
|
|
406 |
src/utils/Makefile
|
|
407 |
src/key_mod/Makefile
|
|
408 |
src/daemon/Makefile
|
|
371
by Dustin Kirkland
src/desktop: add the desktop files to the dist tarball |
409 |
src/desktop/Makefile
|
497
by Dustin Kirkland
* Makefile.am, configure.ac, debian/control, debian/po/POTFILES.sh, |
410 |
src/desktop/ecryptfs-mount-private.desktop
|
411 |
src/desktop/ecryptfs-setup-private.desktop
|
|
2
by mhalcrow@us.ibm.com
Initial import of eCryptfs filesystem userspace utilities (mount helper, daemon component, |
412 |
src/include/Makefile
|
413 |
doc/manpage/Makefile
|
|
414 |
src/pam_ecryptfs/Makefile
|
|
415 |
src/libecryptfs/libecryptfs.pc
|
|
213
by Mike halcrow
Proof-of-concept key escrow. |
416 |
src/libecryptfs-swig/Makefile
|
631
by Tyler Hicks
* tests/userspace/verify-passphrase-sig.sh, |
417 |
tests/Makefile
|
418 |
tests/lib/Makefile
|
|
652
by Tyler Hicks
Fix up multiple test suite problems when using make dist |
419 |
tests/kernel/Makefile
|
631
by Tyler Hicks
* tests/userspace/verify-passphrase-sig.sh, |
420 |
tests/userspace/Makefile
|
497
by Dustin Kirkland
* Makefile.am, configure.ac, debian/control, debian/po/POTFILES.sh, |
421 |
po/Makefile.in
|
2
by mhalcrow@us.ibm.com
Initial import of eCryptfs filesystem userspace utilities (mount helper, daemon component, |
422 |
]) |
423 |
AC_OUTPUT
|
|
424 |
||
425 |
if test "${prefix}" != "/usr"; then |
|
426 |
echo |
|
427 |
echo "Warning: install prefix is $prefix" |
|
428 |
echo |
|
429 |
echo "Most mount applications expect the mount helper to install to" |
|
430 |
echo "/sbin. You can install the mount helper to that location by " |
|
431 |
echo "running the configure script again with --prefix=/usr:" |
|
432 |
echo |
|
433 |
echo "./configure --prefix=/usr" |
|
434 |
echo |
|
435 |
fi
|