Makefile.in is updated from Makefile.am during package build, so patch not needed
[manu/suphp.git] / debian / patches / 02_remove_apache1.x.diff
1 From: Joe Gillotti <joe@u13.net> 
2 Subject: Disable apache1.x compilation
3
4 diff -u --recursive suphp-0.7.1/configure.ac suphp-0.7.1-fixed/configure.ac
5 --- suphp-0.7.1/configure.ac    2009-03-14 13:58:11.000000000 -0400
6 +++ suphp-0.7.1-fixed/configure.ac      2012-03-27 00:22:45.282086238 -0400
7 @@ -241,7 +241,7 @@
8  # Conditionally include UserGroup support
9  AM_CONDITIONAL([COND_APUSERGROUP], [test \( x"$SETID_MODE" = xparanoid \) -o \( x"$SETID_MODE" = xforce \) ])
10  
11 -AC_CONFIG_FILES([Makefile src/Makefile src/apache/Makefile src/apache2/Makefile])
12 +AC_CONFIG_FILES([Makefile src/Makefile src/apache2/Makefile])
13  AC_OUTPUT
14  
15  if test "$APXS" = "/notfound/"; then
16 diff -u --recursive suphp-0.7.1/src/Makefile.am suphp-0.7.1-fixed/src/Makefile.am
17 --- suphp-0.7.1/src/Makefile.am 2008-03-29 09:02:36.000000000 -0400
18 +++ suphp-0.7.1-fixed/src/Makefile.am   2012-03-27 00:23:10.262087138 -0400
19 @@ -1,13 +1,10 @@
20  AM_CXXFLAGS=-DOPT_CONFIGFILE=\"${sysconfdir}/suphp.conf\"
21  
22 -if COND_AP13
23 -  MAYBE_AP = apache
24 -endif
25  if COND_AP20
26    MAYBE_AP = apache2
27  endif
28 -SUBDIRS = $(MAYBE_AP)
29 -DIST_SUBDIRS = apache apache2
30 +SUBDIRS = apache2
31 +DIST_SUBDIRS = apache2
32  
33  sbin_PROGRAMS = suphp
34