mirror of https://github.com/postgres/postgres
parent
1f14a9de74
commit
f4add18557
@ -1,16 +1,23 @@ |
|||||||
|
#! /bin/sh |
||||||
|
|
||||||
if [ ! -f @TCL_CONFIG_SH@ ]; then |
if [ ! -r @TCL_CONFIG_SH@ ]; then |
||||||
echo "@TCL_CONFIG_SH@ not found" |
echo "@TCL_CONFIG_SH@ not found" |
||||||
echo "I need this file! Please make a symbolic link to this file" |
echo "I need this file! Please make a symbolic link to this file" |
||||||
echo "and start make again." |
echo "and start make again." |
||||||
exit 1 |
exit 1 |
||||||
fi |
fi |
||||||
|
|
||||||
|
# Source the file to obtain the correctly expanded variable definitions |
||||||
|
. @TCL_CONFIG_SH@ |
||||||
|
|
||||||
|
# Read the file a second time as an easy way of getting the list of variable |
||||||
|
# definitions to output. |
||||||
cat @TCL_CONFIG_SH@ | |
cat @TCL_CONFIG_SH@ | |
||||||
egrep '^TCL_' | |
egrep '^TCL_|^TK_' | |
||||||
while read inp |
sed 's/^\([^=]*\)=.*$/\1/' | |
||||||
|
while read var |
||||||
do |
do |
||||||
eval eval echo $inp |
eval echo "\"$var = \$$var\"" |
||||||
done >Makefile.tcldefs |
done >Makefile.tcldefs |
||||||
|
|
||||||
exit 0 |
exit 0 |
||||||
|
@ -1,18 +1,23 @@ |
|||||||
|
#! /bin/sh |
||||||
|
|
||||||
if [ ! -f @TK_CONFIG_SH@ ]; then |
if [ ! -r @TK_CONFIG_SH@ ]; then |
||||||
echo "@TK_CONFIG_SH@ not found" |
echo "@TK_CONFIG_SH@ not found" |
||||||
echo "I need this file! Please make a symbolic link to this file" |
echo "I need this file! Please make a symbolic link to this file" |
||||||
echo "and start make again." |
echo "and start make again." |
||||||
exit 1 |
exit 1 |
||||||
fi |
fi |
||||||
|
|
||||||
|
# Source the file to obtain the correctly expanded variable definitions |
||||||
. @TK_CONFIG_SH@ |
. @TK_CONFIG_SH@ |
||||||
|
|
||||||
|
# Read the file a second time as an easy way of getting the list of variable |
||||||
|
# definitions to output. |
||||||
cat @TK_CONFIG_SH@ | |
cat @TK_CONFIG_SH@ | |
||||||
egrep '^TK_' | |
egrep '^TCL_|^TK_' | |
||||||
while read inp |
sed 's/^\([^=]*\)=.*$/\1/' | |
||||||
|
while read var |
||||||
do |
do |
||||||
eval eval echo $inp |
eval echo "\"$var = \$$var\"" |
||||||
done >Makefile.tkdefs |
done >Makefile.tkdefs |
||||||
|
|
||||||
exit 0 |
exit 0 |
||||||
|
@ -1,16 +1,23 @@ |
|||||||
|
#! /bin/sh |
||||||
|
|
||||||
if [ ! -f @TCL_CONFIG_SH@ ]; then |
if [ ! -r @TCL_CONFIG_SH@ ]; then |
||||||
echo "@TCL_CONFIG_SH@ not found" |
echo "@TCL_CONFIG_SH@ not found" |
||||||
echo "I need this file! Please make a symbolic link to this file" |
echo "I need this file! Please make a symbolic link to this file" |
||||||
echo "and start make again." |
echo "and start make again." |
||||||
exit 1 |
exit 1 |
||||||
fi |
fi |
||||||
|
|
||||||
|
# Source the file to obtain the correctly expanded variable definitions |
||||||
|
. @TCL_CONFIG_SH@ |
||||||
|
|
||||||
|
# Read the file a second time as an easy way of getting the list of variable |
||||||
|
# definitions to output. |
||||||
cat @TCL_CONFIG_SH@ | |
cat @TCL_CONFIG_SH@ | |
||||||
egrep '^TCL_|^TK_' | |
egrep '^TCL_|^TK_' | |
||||||
while read inp |
sed 's/^\([^=]*\)=.*$/\1/' | |
||||||
|
while read var |
||||||
do |
do |
||||||
eval eval echo $inp |
eval echo "\"$var = \$$var\"" |
||||||
done >Makefile.tcldefs |
done >Makefile.tcldefs |
||||||
|
|
||||||
exit 0 |
exit 0 |
||||||
|
Loading…
Reference in new issue