From 23a8a67d16f753ad1824556aa45247e737c811c2 Mon Sep 17 00:00:00 2001 From: fielding Date: Sun, 18 Feb 2001 17:18:35 +0000 Subject: Removing obsolete files that aren't being used. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61256 13f79535-47bb-0310-9956-ffa450edef68 --- helpers/build-modules-c.awk | 56 --------------------------------- helpers/config-stubs | 8 ----- helpers/cvsclean | 3 -- helpers/make_export.pl | 76 --------------------------------------------- helpers/snapshot | 5 --- 5 files changed, 148 deletions(-) delete mode 100644 helpers/build-modules-c.awk delete mode 100755 helpers/config-stubs delete mode 100755 helpers/cvsclean delete mode 100755 helpers/make_export.pl delete mode 100755 helpers/snapshot diff --git a/helpers/build-modules-c.awk b/helpers/build-modules-c.awk deleted file mode 100644 index 15ff82ccf..000000000 --- a/helpers/build-modules-c.awk +++ /dev/null @@ -1,56 +0,0 @@ -BEGIN { - RS = " " - modules[n++] = "core" - pmodules[pn++] = "core" -} -{ - modules[n] = $1; - pmodules[pn] = $1; - gsub("\n","",modules[n]); - gsub("\n","",pmodules[pn]); - ++n; - ++pn; -} -END { - print "/*" - print " * modules.c --- automatically generated by Apache" - print " * configuration script. DO NOT HAND EDIT!!!!!" - print " */" - print "" - print "#include \"ap_config.h\"" - print "#include \"httpd.h\"" - print "#include \"http_config.h\"" - print "" - for (i = 0; i < pn; ++i) { - printf ("extern module %s_module;\n", pmodules[i]) - } - print "" - print "/*" - print " * Modules which implicitly form the" - print " * list of activated modules on startup," - print " * i.e. these are the modules which are" - print " * initially linked into the Apache processing" - print " * [extendable under run-time via AddModule]" - print " */" - print "module *ap_prelinked_modules[] = {" - for (i = 0; i < n; ++i) { - printf " &%s_module,\n", modules[i] - } - print " NULL" - print "};" - print "" - print "/*" - print " * Modules which initially form the" - print " * list of available modules on startup," - print " * i.e. these are the modules which are" - print " * initially loaded into the Apache process" - print " * [extendable under run-time via LoadModule]" - print " */" - print "module *ap_preloaded_modules[] = {" - for (i = 0; i < pn; ++i) { - printf " &%s_module,\n", pmodules[i] - } - print " NULL" - print "};" - print "" -} diff --git a/helpers/config-stubs b/helpers/config-stubs deleted file mode 100755 index aff00a57d..000000000 --- a/helpers/config-stubs +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh - -dir=$1 -for stubdir in `find $dir -type d`; do - if [ -r $stubdir/config.m4 ]; then - echo "sinclude($stubdir/config.m4)" - fi -done diff --git a/helpers/cvsclean b/helpers/cvsclean deleted file mode 100755 index e98ec49b7..000000000 --- a/helpers/cvsclean +++ /dev/null @@ -1,3 +0,0 @@ -#! /bin/sh - -${MAKE:-make} -f build/build.mk cvsclean diff --git a/helpers/make_export.pl b/helpers/make_export.pl deleted file mode 100755 index 7f2be6931..000000000 --- a/helpers/make_export.pl +++ /dev/null @@ -1,76 +0,0 @@ -#!/usr/bin/perl - -require "getopts.pl"; - -&Getopts( 'o:' ); - -if ($#ARGV < 0) { - die "Usage: -o "; -} - -if (!defined $opt_o) { - $opt_o = "apr.exports"; -} - -open (OUTFILE, ">$opt_o") || die "Can't open $opt_o $!\n"; - -while ($srcfile = shift(@ARGV)) { - my $line; - my $count; - my $found; - my @macro_stack; - - open (FILE, $srcfile) || die "Can't open $srcfile\n"; -# print STDERR "Reading \"$srcfile\"\n"; - - $count = 0; - $found = 0; - $line = ""; -# print OUTFILE "____$srcfile\n"; - while () { - chomp; - - s/^\s*//; - - if (/\#if(def)? (APR_.*)/) { - $count++; - $found++; - push @macro_stack, $macro; - $macro = $2; - $line .= "$macro\n"; - next; - } - elsif (/^(APR_DECLARE[^\(]*\()?(const\s)?[a-z_]+\)?\s+\*?([A-Za-z0-9_]+)\(/) { - # We only want to increase this if we are in the middle of a - # #if ... #endif block. - if ($found) { - $found++; - } - for (my $i=0; $i < $count; $i++) { - $line .= "\t"; - } - $line .= "$3\n"; - next; - } - elsif (/\#endif/) { - if ($count > 0) { - $count--; - $line .= "\/$macro\n"; - $macro = pop @macro_stack; - } - if ($found == $count + 1) { - $found--; - $line = ""; - next; - } - elsif ($found > $count + 1) { - $found = 0; - } - } - if ($line && !$found) { - print OUTFILE "$line"; - $line = ""; - } - } -} - diff --git a/helpers/snapshot b/helpers/snapshot deleted file mode 100755 index 9553a753f..000000000 --- a/helpers/snapshot +++ /dev/null @@ -1,5 +0,0 @@ -#! /bin/sh - -test -n "$1" && ARG="DISTNAME='$1'" - -${MAKE:-make} $ARG -f build/build.mk snapshot -- cgit v1.2.1