diff options
Diffstat (limited to 'writemain')
-rwxr-xr-x | writemain | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/writemain b/writemain deleted file mode 100755 index 667030939c..0000000000 --- a/writemain +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/sh -: This script takes the plain miniperlmain.c and writes out perlmain.c -: which includes all the extensions. -: The command line arguments name extensions to be used. -: E.g.: sh writemain SDBM_File POSIX > perlmain.c -: -args="$*" -if test X"$args" = "X" ; then - cat miniperlmain.c -else - sed '/Do not delete this line--writemain depends on it/q' miniperlmain.c - cat << 'EOP' - -#ifdef USE_DYNAMIC_LOADING - boot_DynamicLoader(); -#endif - -EOP - for ext in $args; do - echo " newXSUB(\"${ext}::bootstrap\", 0, boot_${ext}, file);" - done - echo '}' -fi - |