diff options
Diffstat (limited to 'm4')
-rw-r--r-- | m4/apache.m4 | 186 | ||||
-rw-r--r-- | m4/mod_ssl.m4 | 50 | ||||
-rw-r--r-- | m4/mysql.m4 | 64 |
3 files changed, 0 insertions, 300 deletions
diff --git a/m4/apache.m4 b/m4/apache.m4 deleted file mode 100644 index ef9ce90..0000000 --- a/m4/apache.m4 +++ /dev/null | |||
@@ -1,186 +0,0 @@ | |||
1 | dnl TEST_APACHE_VERSION(RELEASE, [MINIMUM-VERSION [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) | ||
2 | dnl Test for Apache | ||
3 | dnl | ||
4 | AC_DEFUN(TEST_APACHE_VERSION, | ||
5 | [dnl | ||
6 | AC_REQUIRE([AC_CANONICAL_TARGET]) | ||
7 | releasetest=$1 | ||
8 | min_apache_version="$2" | ||
9 | no_apache="" | ||
10 | ac_save_CFLAGS="$CFLAGS" | ||
11 | CFLAGS="$CFLAGS $APACHE_CFLAGS" | ||
12 | if test $releasetest -eq 20; then | ||
13 | CFLAGS="$CFLAGS -I$APU_INCDIR -I$APR_INCDIR" | ||
14 | fi | ||
15 | |||
16 | AC_TRY_RUN([ | ||
17 | #include <stdio.h> | ||
18 | #include <stdlib.h> | ||
19 | #include <string.h> | ||
20 | #include "httpd.h" | ||
21 | |||
22 | #ifndef AP_SERVER_BASEREVISION | ||
23 | #define AP_SERVER_BASEREVISION SERVER_BASEREVISION | ||
24 | #endif | ||
25 | |||
26 | char* my_strdup (char *str) | ||
27 | { | ||
28 | char *new_str; | ||
29 | |||
30 | if (str) { | ||
31 | new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char)); | ||
32 | strcpy (new_str, str); | ||
33 | } else | ||
34 | new_str = NULL; | ||
35 | |||
36 | return new_str; | ||
37 | } | ||
38 | |||
39 | int main (int argc, char *argv[]) | ||
40 | { | ||
41 | int major1, minor1, micro1; | ||
42 | int major2, minor2, micro2; | ||
43 | char *tmp_version; | ||
44 | |||
45 | { FILE *fp = fopen("conf.apachetest", "a"); if ( fp ) fclose(fp); } | ||
46 | |||
47 | tmp_version = my_strdup("$min_apache_version"); | ||
48 | if (sscanf(tmp_version, "%d.%d.%d", &major1, &minor1, µ1) != 3) { | ||
49 | printf("%s, bad version string\n", "$min_apache_version"); | ||
50 | exit(1); | ||
51 | } | ||
52 | tmp_version = my_strdup(AP_SERVER_BASEREVISION); | ||
53 | if (sscanf(tmp_version, "%d.%d.%d", &major2, &minor2, µ2) != 3) { | ||
54 | printf("%s, bad version string\n", AP_SERVER_BASEREVISION); | ||
55 | exit(1); | ||
56 | } | ||
57 | if ((major2 > major1) || | ||
58 | ((major2 == major1) && (minor2 > minor1)) || | ||
59 | ((major2 == major1) && (minor2 == minor1) && (micro2 >= micro1))) | ||
60 | { | ||
61 | exit(0); | ||
62 | } else { | ||
63 | /*printf("\n*** This module requires apache version %d.%d.%d or greater\n", | ||
64 | major1, minor1, micro1); | ||
65 | printf("*** I found version %d.%d.%d. Please verify the installation directory\n", | ||
66 | major2, minor2, micro2); | ||
67 | printf("*** of apache with the --with-apxs configure option.\n");*/ | ||
68 | exit(1); | ||
69 | } | ||
70 | } | ||
71 | |||
72 | ],, no_apache=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) | ||
73 | CFLAGS="$ac_save_CFLAGS" | ||
74 | |||
75 | if test "x$no_apache" = x ; then | ||
76 | ifelse([$3], , :, [$3]) | ||
Paul Querna | 2005-04-06 | ||
| | | | | | | | | - initial attempt at Server Name Extension - change to adding 'mod_gnutls' to the server sig instead of GnuTLS/ - fix for EOF/EOC/EOS buckets - 'general' code cleanups | ||
* | checkpoint the work so far. The DBM cache needs a little more work. | 2005-04-05 | |
| | |||
* | - make memcahe optional | 2005-04-04 | |
| | | | | | | - update for 2.1.x branch changes. - some mucking around with the conf stuff | ||
* | use apr to parse hostnames.. | 2004-12-12 | |
| | |||
* | working support for a ssl session cache via memcached. | 2004-12-10 | |
| | |||
* | add check for apr_memcache | 2004-12-09 | |
| | |||
* | fixes and stuff that i should of already committed. | 2004-12-09 | |
| | |||
* | re-order the cipher types. | 2004-12-06 | |
| | | | | | Add a fixups hook and some Basic Env vars | ||
* | setting proper ignores. | 2004-12-02 | |
| | | | | | | | adding an empty cache files trying to fix >16kb writes. | ||
* | adding autofoo for memcache support | 2004-12-02 | |
| | |||
* | hey hey, this is working code! | 2004-12-02 | |
| | |||
* | input and output filters | 2004-09-28 | |
| | |||
* | rename structures. | 2004-09-27 | |
| | | | | | | properly prefix all non-static functions with mod_gnutls_ fix build for GnuTLS 1.0.X. (redefine the changed structure names) | ||
* | break up the IO functions into their own file | 2004-09-27 | |
| | |||
* | commit before i move everything around | 2004-09-27 | |
| | |||
* | updated | 2004-09-27 | |
| |