Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 103 lines (86 sloc) 3.201 kb
036ac11 updating trunk in preparation for next release
bmuller@butterfat.net authored
1 AC_INIT([mod_auth_openid], [0.5], [bmuller@butterfat.net])
58a59dc updated url
bmuller@butterfat.net authored
2 AC_DEFINE([PACKAGE_URL],["http://trac.butterfat.net/public/mod_auth_openid"],[project url])
e613386 added autoconf/make/headers stuff
bmuller@butterfat.net authored
3 AM_CONFIG_HEADER(config.h)
660331b make dist now works appropriately
bmuller@butterfat.net authored
4 AM_INIT_AUTOMAKE()
e613386 added autoconf/make/headers stuff
bmuller@butterfat.net authored
5
6a19981 Fixed #34
bmuller@butterfat.net authored
6 AC_CONFIG_MACRO_DIR([acinclude.d])
7
e613386 added autoconf/make/headers stuff
bmuller@butterfat.net authored
8 AC_PROG_CXX
9 AC_PROG_CXXCPP
10 AC_LANG_CPLUSPLUS
11 AC_CANONICAL_HOST
12 AC_PROG_INSTALL
13 AM_PROG_LIBTOOL
14
15 AC_HEADER_STDC
16
8f8d849 got rid of redundant checks in autotools
bmuller@butterfat.net authored
17 # provide flag --enable-debug
de56b16 additional testing with https
bmuller@butterfat.net authored
18 AC_ARG_ENABLE(debug, AC_HELP_STRING([[--enable-debug]], [enable debugging output to Apache error log]),
e613386 added autoconf/make/headers stuff
bmuller@butterfat.net authored
19 [if test "$enableval" = "yes"; then
20 DEBUG="yes"
21 CPPFLAGS="$CPPFLAGS -DDEBUG"
22 fi]
23 )
24
0e965c1 completely revamped autoconf to look for diff configs better
bmuller@butterfat.net authored
25 # this will look for apxs command - put it in $APXS, fail on failure
26 AX_WITH_APXS()
423ab05 added more config options
bmuller@butterfat.net authored
27 # find apr-config binary
28 AC_ARG_WITH(apr_config, AC_HELP_STRING([[--with-apr-config=FILE]], [Path to apr-config program]),
29 [ apr_config="$withval" ],
506b369 major reworking of autotools scripts
bmuller@butterfat.net authored
30 [AC_PATH_PROGS(apr_config,
31 [apr-config apr-0-config apr-1-config],
32 [no],
33 [$PATH:/usr/sbin/:/usr/local/apache2/bin]
34 )]
35 )
36
423ab05 added more config options
bmuller@butterfat.net authored
37 if test "$apr_config" = "no"; then
38 AC_MSG_ERROR(Could not find the apr-config program. You can specify a location with the --with-apr-config=FILE option. It may be named apr-0-config or apr-1-config and can be found in your apache2 bin directory.)
39 fi
7caf32a Fixed #77 - now using rand function from apr-util
bmuller@butterfat.net authored
40
423ab05 added more config options
bmuller@butterfat.net authored
41 $apr_config --cppflags &> /dev/null
42 if test "$?" != "0"; then
43 AC_MSG_ERROR($apr_config is not a valid apr-config program)
44 fi
45
3e3dc87 working on implementing prequeue_rp in MoidConsumerSQLite.cpp - got rid ...
bmuller@butterfat.net authored
46 AX_LIB_SQLITE3([3.3.0])
47 if test "$SQLITE3_VERSION" == ""; then
48 AC_MSG_ERROR([No sqlite 3 (http://www.sqlite.org) library found.])
49 fi
cd17ebf merged sqlite3 support branch
bmuller@butterfat.net authored
50
7caf32a Fixed #77 - now using rand function from apr-util
bmuller@butterfat.net authored
51 APR_LDFLAGS="`${apr_config} --link-ld --libs`"
52 AC_SUBST(APR_LDFLAGS)
53
506b369 major reworking of autotools scripts
bmuller@butterfat.net authored
54 APACHE_CFLAGS="-I`${APXS} -q INCLUDEDIR` -I`${apr_config} --includedir`"
55 AC_SUBST(APACHE_CFLAGS)
56
169b7ff got rid of openid20 branch, finalized 0.3.rc1
bmuller@butterfat.net authored
57 PKG_CHECK_MODULES([OPKELE],[libopkele >= 2.0],,[
58 AC_MSG_ERROR([no libopkele library found (version 2.0 or higher). get one from http://kin.klever.net/libopkele/])
506b369 major reworking of autotools scripts
bmuller@butterfat.net authored
59 ])
e613386 added autoconf/make/headers stuff
bmuller@butterfat.net authored
60
c28aba7 fixed https://tracker.butterfat.net/tracker/butterfat/issue38
bmuller@butterfat.net authored
61 # These next few are prerequisites for libopekele, but it's possible they've been removed since that install....
62 # Check for pcre
63 AX_PATH_LIB_PCRE([], [ AC_MSG_ERROR([No pcre library found. You can get it at http://www.pcre.org]) ])
64 AC_SUBST(PCRE_LIBS)
65 AC_SUBST(PCRE_CFLAGS)
66
67 # Check for curl
68 AC_CHECK_CURL([7], [], [ AC_MSG_ERROR([No curl library found. You can get it at http://curl.haxx.se]) ])
69 AC_SUBST(CURL_CFLAGS)
70 AC_SUBST(CURL_LIBS)
71
6e88f9b cleaned up sessions code
bmuller@butterfat.net authored
72 # Idea taken from libopekele
73 nitpick=false
74 AC_ARG_ENABLE([nitpicking],
75 AC_HELP_STRING([--enable-nitpicking],[make compiler somewhat overly fastidious about the code it deals with]),
76 [ test "$enableval" = "no" || nitpick=true ]
77 )
78 if $nitpick ; then
79 CPP_NITPICK="-Wall -Wextra -Wundef -Wshadow -Wunsafe-loop-optimizations -Wconversion -Wmissing-format-attribute"
80 CPP_NITPICK="$CPP_NITPICK -Wredundant-decls -ansi -Wmissing-noreturn"
81 CPPFLAGS="$CPPFLAGS $CPP_NITPICK"
82 # CFLAGS="$CFLAGS $CPP_NITPICK"
83 # CXXFLAGS="$CXXFLAGS $CPP_NITPICK"
84 fi
85
e613386 added autoconf/make/headers stuff
bmuller@butterfat.net authored
86 AC_CONFIG_FILES([
87 Makefile
88 ])
89 AC_OUTPUT
90
cd17ebf merged sqlite3 support branch
bmuller@butterfat.net authored
91 echo " ***"
e613386 added autoconf/make/headers stuff
bmuller@butterfat.net authored
92 echo " *** You are now ready to build mod_auth_openid:"
93 echo " *** Enter the following commands:"
94 echo " ***"
95 echo " *** $> make"
0e965c1 completely revamped autoconf to look for diff configs better
bmuller@butterfat.net authored
96 echo " *** $> su root"
506b369 major reworking of autotools scripts
bmuller@butterfat.net authored
97 echo " *** $> make install"
a8422ee git-svn-id: https://svn.butterfat.net/public/mod_auth_openid/trunk@14 4c...
bmuller@butterfat.net authored
98 echo " ***"
58a59dc updated url
bmuller@butterfat.net authored
99 echo " *** Report bugs at http://trac.butterfat.net/public/mod_auth_openid"
99009e5 ready for 0.2.1 release, fixed #12 too
bmuller@butterfat.net authored
100 echo " *** Thanks for using free (as in speech and beer) software."
e613386 added autoconf/make/headers stuff
bmuller@butterfat.net authored
101 echo " ***"
102 echo
Something went wrong with that request. Please try again.