mirror of https://github.com/postgres/postgres
system, not Tcl-provided one. Make sure export file, if any, is cleaned. Tcl configuration is now read directly in configure and recorded in Makefile.global. This eliminates some duplicate efforts and allows for easier hand-editing of the results, if necessary.ecpg_big_bison
parent
c0fdec2b6a
commit
2f2d05763d
@ -1,23 +0,0 @@ |
||||
#! /bin/sh |
||||
|
||||
# $1 = path to tclConfig.sh ; $2 = output file |
||||
|
||||
if test x"$1" = x ; then |
||||
echo "$0: No tclConfig.sh file specified. Did you use \`configure --with-tcl'?" 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 |
@ -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 |
@ -1,28 +0,0 @@ |
||||
#! /bin/sh |
||||
|
||||
# $1 = path to tclConfig.sh ; $2 = output file |
||||
|
||||
# $Header: /cvsroot/pgsql/src/pl/tcl/Attic/mkMakefile.tcldefs.sh,v 1.2 2002/01/23 18:45:41 tgl Exp $ |
||||
|
||||
if test x"$1" = x ; then |
||||
echo "$0: No tclConfig.sh file specified. Did you use \`configure --with-tcl'?" 1>&2 |
||||
exit 1 |
||||
fi |
||||
|
||||
# Source the file to obtain the correctly expanded variable definitions |
||||
. "$1" |
||||
|
||||
# Suppress bogus soname switch that RedHat RPMs put into tclConfig.sh |
||||
TCL_SHLIB_LD=`echo "$TCL_SHLIB_LD" | sed 's/-Wl,-soname[^ ]*//'` |
||||
|
||||
# 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 |
Loading…
Reference in new issue