summaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
authorRoy T. Fielding <fielding@apache.org>2001-02-18 17:18:35 +0000
committerRoy T. Fielding <fielding@apache.org>2001-02-18 17:18:35 +0000
commit47863eb01a76df512cff657f60fb2957b36998dc (patch)
tree51f88b27073e3bc0f4670936b63d06247b6fc2a2 /helpers
parentea168bf2c7f6666825d76e92b9c7e9ad7550f2a3 (diff)
downloadapr-47863eb01a76df512cff657f60fb2957b36998dc.tar.gz
Removing obsolete files that aren't being used.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61256 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'helpers')
-rw-r--r--helpers/build-modules-c.awk56
-rwxr-xr-xhelpers/config-stubs8
-rwxr-xr-xhelpers/cvsclean3
-rwxr-xr-xhelpers/make_export.pl76
-rwxr-xr-xhelpers/snapshot5
5 files changed, 0 insertions, 148 deletions
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 <output_file> <input_files>";
-}
-
-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 (<FILE>) {
- 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