mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-15 08:20:16 +08:00
add new file.
This commit is contained in:
parent
7a9312b422
commit
4c64bb7d97
29
src/bin/pgtclsh/mkMakefile.tcltkdefs.sh.in
Normal file
29
src/bin/pgtclsh/mkMakefile.tcltkdefs.sh.in
Normal file
@ -0,0 +1,29 @@
|
||||
|
||||
if [ ! -f @TCL_CONFIG_SH@ ]; then
|
||||
echo "@TCL_CONFIG_SH@ not found"
|
||||
echo "I need this file! Please make a symbolic link to this file"
|
||||
echo "and start make again."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ ! -f @TK_CONFIG_SH@ ]; then
|
||||
echo "@TK_CONFIG_SH@ not found"
|
||||
echo "I need this file! Please make a symbolic link to this file"
|
||||
echo "and start make again."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
. @TCL_CONFIG_SH@
|
||||
. @TK_CONFIG_SH@
|
||||
|
||||
set |
|
||||
egrep '^TCL_|^TK_' |
|
||||
sed -e 's/=/="/' -e 's/$/"/' |
|
||||
while read v
|
||||
do
|
||||
eval "$v"
|
||||
v1=`echo $v | sed -e 's/=.*//'`
|
||||
eval "echo $v1 = \"\$$v1\""
|
||||
done >Makefile.tcltkdefs
|
||||
|
||||
exit 0
|
Loading…
Reference in New Issue
Block a user