This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
U.check was never added to perforce. I never used it
[metaconfig.git] / U.check / dummy.SH
CommitLineData
959f3c4c
JH
1case $CONFIG in
2'')
3 if test -f config.sh; then TOP=.;
4 elif test -f ../config.sh; then TOP=..;
5 elif test -f ../../config.sh; then TOP=../..;
6 elif test -f ../../../config.sh; then TOP=../../..;
7 elif test -f ../../../../config.sh; then TOP=../../../..;
8 else
9 echo "Can't find config.sh."; exit 1
10 fi
11 . $TOP/config.sh
12 ;;
13esac
14: This forces SH files to create target in same directory as SH file.
15: This is so that make depend always knows where to find SH derivatives.
16case "$0" in
17*/*) cd `expr X$0 : 'X\(.*\)/'` ;;
18esac
19echo "Extracting dummy (with variable substitutions)"
20$spitshell >dummy <<!GROK!THIS!
21$startsh
22
23cat <<EOM
24Your results are:
25
26freetype=$freetype
27malloctype=$malloctype
28
29EOM
30
31!GROK!THIS!
32chmod 755 dummy