This is an optimisation that's no longer used and has possibly bit-rotted.
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
+++ /dev/null
-This directory created by Configure to save information that should
-persist across sessions for u.check.
-
-You may safely delete it if you wish.
+++ /dev/null
-doughera
-jhi
-merijn
+++ /dev/null
-: 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"
+++ /dev/null
-MANIFEST This file.
-Makefile.SH
-README
-dummy.SH
-Configure
-config_h.SH
-main.c
+++ /dev/null
-MANIFEST This file.
-Makefile.SH
-dummy.SH
-Configure
-main.c
-config_h.SH Produces config.h
+++ /dev/null
-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
+++ /dev/null
-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.
+++ /dev/null
-../U
\ No newline at end of file
+++ /dev/null
-#!/bin/sh
-
-cat <<EOM
-Your results are:
-
-freetype=
-malloctype=
-
-EOM
-
+++ /dev/null
-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
+++ /dev/null
-#include "config.h"
-int
-main(argc, argv)
- int argc;
- char **argv;
-{
- SCHED_YIELD;
-}