1.1.3
by Hans Zandbelt
Import upstream version 1.6.0 |
1 |
AC_INIT([mod_auth_openidc],[1.6.0],[hzandbelt@pingidentity.com]) |
1
by Hans Zandbelt
Import upstream version 1.5.1 |
2 |
|
3 |
AC_SUBST(NAMEVER, AC_PACKAGE_TARNAME()-AC_PACKAGE_VERSION()) |
|
4 |
||
5 |
# This section defines the --with-apxs2 option. |
|
6 |
AC_ARG_WITH( |
|
7 |
[apxs2], |
|
8 |
[ --with-apxs2=PATH Full path to the apxs2 executable.], |
|
9 |
[ |
|
10 |
APXS2=${withval}
|
|
11 |
],) |
|
12 |
||
13 |
||
14 |
if test "x$APXS2" = "x"; then |
|
15 |
# The user didn't specify the --with-apxs2-option. |
|
16 |
||
17 |
# Search for apxs2 in the specified directories
|
|
18 |
AC_PATH_PROG(APXS2, apxs2,,
|
|
19 |
/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin)
|
|
20 |
||
21 |
if test "x$APXS2" = "x"; then
|
|
22 |
# Didn't find apxs2 in any of the specified directories. |
|
23 |
# Search for apxs instead. |
|
24 |
AC_PATH_PROG(APXS2, apxs,, |
|
25 |
/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin) |
|
26 |
fi |
|
27 |
||
28 |
fi
|
|
29 |
||
30 |
# Test if $APXS2 exists and is an executable. |
|
31 |
if test ! -x "$APXS2"; then |
|
32 |
# $APXS2 isn't a executable file. |
|
33 |
AC_MSG_ERROR([
|
|
34 |
Could not find apxs2. Please specify the path to apxs2
|
|
35 |
using the --with-apxs2=/full/path/to/apxs2 option.
|
|
36 |
The executable may also be named 'apxs'. |
|
37 |
]) |
|
38 |
fi
|
|
39 |
||
40 |
# Replace any occurrences of @APXS2@ with the value of $APXS2 in the Makefile. |
|
41 |
AC_SUBST(APXS2) |
|
42 |
||
43 |
# We need the curl library for HTTP callouts. |
|
44 |
PKG_CHECK_MODULES(CURL, libcurl) |
|
45 |
AC_SUBST(CURL_CFLAGS) |
|
46 |
AC_SUBST(CURL_LIBS) |
|
47 |
||
48 |
# We need OpenSSL for crypto and HTTPS callouts. |
|
49 |
PKG_CHECK_MODULES(OPENSSL, openssl) |
|
50 |
AC_SUBST(OPENSSL_CFLAGS) |
|
51 |
AC_SUBST(OPENSSL_LIBS) |
|
52 |
||
1.1.1
by Hans Zandbelt
Import upstream version 1.5.3 |
53 |
PKG_CHECK_MODULES(APR, [apr-1, apr-util-1]) |
54 |
AC_SUBST(APR_CFLAGS) |
|
55 |
AC_SUBST(APR_LIBS) |
|
56 |
||
1
by Hans Zandbelt
Import upstream version 1.5.1 |
57 |
# We need Jansson for JSON parsing. |
58 |
PKG_CHECK_MODULES(JANSSON, jansson) |
|
59 |
AC_SUBST(JANSSON_CFLAGS) |
|
60 |
AC_SUBST(JANSSON_LIBS) |
|
61 |
||
62 |
# Create Makefile from Makefile.in |
|
63 |
AC_CONFIG_FILES([Makefile]) |
|
64 |
AC_OUTPUT
|