diff options
-rw-r--r-- | build/buildexports.awk | 3 | ||||
-rwxr-xr-x | build/buildexports.sh | 34 |
2 files changed, 0 insertions, 37 deletions
diff --git a/build/buildexports.awk b/build/buildexports.awk deleted file mode 100644 index 7856b46d34..0000000000 --- a/build/buildexports.awk +++ /dev/null @@ -1,3 +0,0 @@ -/^(APR?_|!?defined)/ { print "#if", $0 } -/^\t*apr?_/ { print "const void *ap_hack_" $1 " = (const void *)" $1 ";" } -/^\/(APR?_|!?defined)/ { print "#endif /*", substr($0,2), "*/" } diff --git a/build/buildexports.sh b/build/buildexports.sh deleted file mode 100755 index cbf87802d4..0000000000 --- a/build/buildexports.sh +++ /dev/null @@ -1,34 +0,0 @@ -#! /bin/sh - -if test -z "$1"; then - echo "USAGE: $0 HTTPD-DIRECTORY" - echo "" - echo "for example: $0 .." - exit 1 -fi - -echo "/* THIS FILE WAS AUTOGENERATED BY $0" -echo " * This is an ugly hack that needs to be here, so that libtool will" -echo " * link all of the APR functions into server regardless of whether" -echo " * the base server uses them." -echo " */" -echo "" -echo "#define CORE_PRIVATE" - -cur_dir="`pwd`" -for dir in $1/srclib/apr/include $1/srclib/apr-util/include $1/include -do - cd $dir - for file in *.h; do - echo "#include \"$file\"" - done - cd "$cur_dir" -done - -echo "" -echo "const void *ap_ugly_hack = NULL;" -echo "" - -# convert export files (on STDIN) into a series of declarations -my_dir="`dirname $0`" -awk -f "$my_dir/buildexports.awk" |