This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Remove U.check (Closes: #25)
authorDominic Hargreaves <dom@earth.li>
Wed, 27 Dec 2017 13:17:50 +0000 (13:17 +0000)
committerDominic Hargreaves <dom@earth.li>
Wed, 27 Dec 2017 13:17:50 +0000 (13:17 +0000)
This is an optimisation that's no longer used and has possibly bit-rotted.

12 files changed:
README
U.check/.config/README [deleted file]
U.check/.config/instruct [deleted file]
U.check/.package [deleted file]
U.check/MANIFEST [deleted file]
U.check/MANIFEST.new [deleted file]
U.check/Makefile.SH [deleted file]
U.check/README [deleted file]
U.check/U [deleted symlink]
U.check/dummy [deleted file]
U.check/dummy.SH [deleted file]
U.check/main.c [deleted file]

diff --git a/README b/README
index 6191950..248f88c 100644 (file)
--- a/README
+++ b/README
@@ -35,8 +35,6 @@ Contents of this directory:
 
     README:    This file.
     U:         Metaconfig units used for building Perl's Configure
-    U.check:   Sample directory used for testing new metaconfig units.
-               see U.check/README for more information.
     dist-git:
                a git clone of "dist". Optionally present. See (a) below.
                This is where dist/meta resides as of 2016-04-01
diff --git a/U.check/.config/README b/U.check/.config/README
deleted file mode 100644 (file)
index bae2bcd..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-This directory created by Configure to save information that should
-persist across sessions for u.check.
-
-You may safely delete it if you wish.
diff --git a/U.check/.config/instruct b/U.check/.config/instruct
deleted file mode 100644 (file)
index 36a5bc4..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-doughera
-jhi
-merijn
diff --git a/U.check/.package b/U.check/.package
deleted file mode 100644 (file)
index dbe8a33..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-: This file was created by running packinit on Mon Jul 15 09:57:23 EDT 1996.
-: Do not hand edit; run packinit again if changes are to be made.
-packver='3.036'
-: Basic variables
-package=u.check
-baserev=1.1
-patchbranch=1
-copyright='COPYRIGHT'
-mydiff='gdiff -c'
-maintname='Andy Dougherty'
-maintloc='doughera@fractal.phys.lafayette.edu'
-ftpsite=''
-orgname='Dept. of Physics, Lafayette College'
-newsgroups='comp.sources.bugs'
-recipients='source-archives@mirror.TMC.COM'
-ftpdir=''
-mailagent='false'
-changelog='ChangeLog'
-changercs=
-: File lookup extensions
-cext=''
-shext='PL'
-: Mailing list variables
-list_users='false'
-list_name=''
-list_addr=''
-list_request=''
-list_manager=''
-list_sub=''
-list_unsub=''
-: Derivative variables -- do not change
-revbranch="$baserev.$patchbranch"
diff --git a/U.check/MANIFEST b/U.check/MANIFEST
deleted file mode 100644 (file)
index e2576a7..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-MANIFEST               This file.
-Makefile.SH
-README
-dummy.SH
-Configure
-config_h.SH
-main.c
diff --git a/U.check/MANIFEST.new b/U.check/MANIFEST.new
deleted file mode 100644 (file)
index faedbe6..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-MANIFEST               This file.
-Makefile.SH
-dummy.SH
-Configure
-main.c
-config_h.SH                  Produces config.h
diff --git a/U.check/Makefile.SH b/U.check/Makefile.SH
deleted file mode 100755 (executable)
index b7bd66e..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-case $CONFIG in
-'')
-       if test -f config.sh; then TOP=.;
-       elif test -f ../config.sh; then TOP=..;
-       elif test -f ../../config.sh; then TOP=../..;
-       elif test -f ../../../config.sh; then TOP=../../..;
-       elif test -f ../../../../config.sh; then TOP=../../../..;
-       else
-               echo "Can't find config.sh."; exit 1
-       fi
-       . $TOP/config.sh
-       ;;
-esac
-: This forces SH files to create target in same directory as SH file.
-: This is so that make DEPEND always knows where to find SH derivatives.
-case "$0" in
-*/*) cd `expr X$0 : 'X\(.*\)/'` ;;
-esac
-echo "Extracting Makefile (with variable substitutions)"
-: This section of the file will have variable substitutions done on it.
-: Move anything that needs config subs from !NO!SUBS! section to !GROK!THIS!.
-: Protect any dollar signs and backticks that you do not want interpreted
-: by putting a backslash in front.  You may delete these comments.
-$spitshell >Makefile <<!GROK!THIS!
-CC = $cc
-CCFLAGS = $ccflags
-OPTIMIZE = $optimize
-CPPFLAGS = $cppflags
-MKDEP = $NONONOmkdep
-!GROK!THIS!
-
-: In the following dollars and backticks do not need the extra backslash.
-$spitshell >>Makefile <<'!NO!SUBS!'
-
-all:   dummy main
-       ./dummy
-       ./main
-
-main:  try1.o try2.o main.o
-       $(CC) -o main main.o try1.o try2.o
-test:
-       ./main
-clean: 
-       rm -f dummy config.h core config.sh
-       rm -f try try?.o main.o main core
-
-realclean:     clean
-       rm -f Wanted Obsolete check.extra check.wanted build.log
-       rm -f Makefile
-
-try1.o:        try1.c config.h
-
-try2.o:        try2.c config.h
-
-main.o:        main.c config.h
-
-DEPEND:                
-       $(MKDEP) $(CPPFLAGS) -- try1.c try2.c main.c 
-!NO!SUBS!
-chmod 755 Makefile
-$eunicefix Makefile
diff --git a/U.check/README b/U.check/README
deleted file mode 100644 (file)
index 80a2bd4..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-Since metaconfig units are modular, you don't have to regenerate perl5's entire
-Configure every time you want to test just one unit.  Instead, you can 
-run metaconfig against a smaller project that tests just one (or a few)
-units.  That's what this U.check directory is for.
-
-Just edit main.c and dummy.SH to use whatever metaconfig symbols you're
-trying to test.  Then run  metaconfig -m  to regenerate Configure.
-You'll get a slimmed-down Configure that tests just what you want to test.
diff --git a/U.check/U b/U.check/U
deleted file mode 120000 (symlink)
index bda34ad..0000000
--- a/U.check/U
+++ /dev/null
@@ -1 +0,0 @@
-../U
\ No newline at end of file
diff --git a/U.check/dummy b/U.check/dummy
deleted file mode 100755 (executable)
index fbd3ae6..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-
-cat <<EOM
-Your results are:
-
-freetype=
-malloctype=
-
-EOM
-
diff --git a/U.check/dummy.SH b/U.check/dummy.SH
deleted file mode 100755 (executable)
index c9b8984..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-case $CONFIG in
-'')
-       if test -f config.sh; then TOP=.;
-       elif test -f ../config.sh; then TOP=..;
-       elif test -f ../../config.sh; then TOP=../..;
-       elif test -f ../../../config.sh; then TOP=../../..;
-       elif test -f ../../../../config.sh; then TOP=../../../..;
-       else
-               echo "Can't find config.sh."; exit 1
-       fi
-       . $TOP/config.sh
-       ;;
-esac
-: This forces SH files to create target in same directory as SH file.
-: This is so that make depend always knows where to find SH derivatives.
-case "$0" in
-*/*) cd `expr X$0 : 'X\(.*\)/'` ;;
-esac
-echo "Extracting dummy (with variable substitutions)"
-$spitshell >dummy <<!GROK!THIS!
-$startsh
-
-cat <<EOM
-Your results are:
-
-freetype=$freetype
-malloctype=$malloctype
-
-EOM
-
-!GROK!THIS!
-chmod 755 dummy
diff --git a/U.check/main.c b/U.check/main.c
deleted file mode 100644 (file)
index 821e793..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-#include "config.h"
-int
-main(argc, argv)
-  int argc;
-  char **argv;
-{
-  SCHED_YIELD;
-}