summaryrefslogtreecommitdiff
path: root/www/mod_auth_mysql/files/patch-aa
blob: 2ff4107ac3bb0e9f8f99eb89ea8f149f9d2aa02d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
--- configure.in.orig	Sat Oct  3 06:54:17 1998
+++ configure.in	Fri May 19 23:58:48 2000
@@ -48,6 +48,7 @@
     APXS_ON=1
     APXS="$withval"
     APXS_LDFLAGS="@MYSQL_LFLAGS@ @MYSQL_LIBS@"
+    APXS_INCLUDE="@MYSQL_INCLUDE@"
     APACHE_INCLUDE="-I`$APXS -q INCLUDEDIR`"
     INSTALL_IT="\$(APXS) -i -a -n auth_mysql libauth_mysql.so"
     CFLAGS_SHLIB=`perl -V:cccdlflags | cut -d\' -f2`
@@ -56,6 +57,7 @@
     STRONGHOLD=
     AC_SUBST(APXS)
     AC_SUBST(APXS_LDFLAGS)
+    AC_SUBST(APXS_INCLUDE)
     AC_SUBST(INSTALL_IT)
 	AC_DEFINE(HAVE_AP_COMPAT_H)
     AC_MSG_RESULT(yes)
@@ -237,7 +239,11 @@
 AC_SUBST(LDFLAGS_SHLIB)
 AC_SUBST(LDFLAGS_SHLIB_EXPORT)
 
-if test "$APACHE_VERSION" = "1.2"; then
+if test $APXS_ON -eq 1 ; then
+cat > .install_notes <<EOF
++------------------------------------------------------------------+
+EOF
+elif test "$APACHE_VERSION" = "1.2"; then
 cat > .install_notes <<EOF
 
 +------------------------------------------------------------------+
@@ -268,10 +274,9 @@
 fi
 
 cat >> .install_notes <<EOF
-| If you are upgrading from an earlier version of mod_auth_mysql,  |
-| you would have to update your .htaccess files to reflect the     |
-| changes in the directive names.  You can do that automatically   |
-| by running the bundled update_htaccess_files.sh script.          |
+| If you are upgrading from a version of mod_auth_mysql < 2.20,    |
+| you will need to update your .htaccess files to reflect the      |
+| changes in the directive names.                                  |
 +------------------------------------------------------------------+
 | Please register this module at                                   |
 | http://bourbon.netvision.net.il/mod_auth_mysql/                  |
@@ -285,9 +290,6 @@
 AC_SUBST(INSTALL_NOTES)
 
 AC_OUTPUT(Makefile libauth_mysql.module, [], [])
-
-echo ""
-echo "Please run 'make'"
 
 # Local Variables:
 # tab-width: 4