summaryrefslogtreecommitdiff
path: root/src/bin/pgtclsh/mkMakefile.tkdefs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/pgtclsh/mkMakefile.tkdefs.sh')
-rw-r--r--src/bin/pgtclsh/mkMakefile.tkdefs.sh23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/bin/pgtclsh/mkMakefile.tkdefs.sh b/src/bin/pgtclsh/mkMakefile.tkdefs.sh
deleted file mode 100644
index c34f166a52..0000000000
--- a/src/bin/pgtclsh/mkMakefile.tkdefs.sh
+++ /dev/null
@@ -1,23 +0,0 @@
-#! /bin/sh
-
-# $1 = path to tkConfig.sh ; $2 = output file
-
-if test x"$1" = x; then
- echo "$0: No tkConfig.sh file specified. Did you use \`configure --with-tcl --with-x'?" 1>&2
- exit 1
-fi
-
-# Source the file to obtain the correctly expanded variable definitions
-. "$1"
-
-# Read the file a second time as an easy way of getting the list of variable
-# definitions to output.
-cat "$1" |
- egrep '^TCL_|^TK_' |
- sed 's/^\([^=]*\)=.*$/\1/' |
- while read var
- do
- eval echo "\"$var = \$$var\""
- done > "$2"
-
-exit 0