Search contrib/tcl for tcl startup.
This commit is contained in:
parent
e12f4162c3
commit
3f2fff5c5d
|
@ -10,7 +10,7 @@
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/utils/adt/numutils.c,v 1.27 1998/09/12 16:04:35 momjian Exp $
|
* $Header: /cvsroot/pgsql/src/backend/utils/adt/numutils.c,v 1.28 1998/10/02 01:22:42 momjian Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
@ -50,7 +50,7 @@
|
||||||
int32
|
int32
|
||||||
pg_atoi(char *s, int size, int c)
|
pg_atoi(char *s, int size, int c)
|
||||||
{
|
{
|
||||||
long l;
|
long l = 0;
|
||||||
char *badp = (char *) NULL;
|
char *badp = (char *) NULL;
|
||||||
|
|
||||||
Assert(s);
|
Assert(s);
|
||||||
|
|
|
@ -5,12 +5,15 @@ else
|
||||||
if [ -f /usr/lib/tclConfig.sh ]; then
|
if [ -f /usr/lib/tclConfig.sh ]; then
|
||||||
echo "using tclConfig.sh from /usr/lib"
|
echo "using tclConfig.sh from /usr/lib"
|
||||||
. /usr/lib/tclConfig.sh
|
. /usr/lib/tclConfig.sh
|
||||||
|
elif [ -f /usr/contrib/lib/tclConfig.sh ]; then
|
||||||
|
echo "using tclConfig.sh from /usr/contrib/lib"
|
||||||
|
. /usr/contrib/lib/tclConfig.sh
|
||||||
else
|
else
|
||||||
if [ -f /usr/local/lib/tclConfig.sh ]; then
|
if [ -f /usr/local/lib/tclConfig.sh ]; then
|
||||||
echo "using tclConfig.sh from /usr/local/lib"
|
echo "using tclConfig.sh from /usr/local/lib"
|
||||||
. /usr/local/lib/tclConfig.sh
|
. /usr/local/lib/tclConfig.sh
|
||||||
else
|
else
|
||||||
echo "tclConfig.sh not found in /usr/lib or /usr/local/lib"
|
echo "tclConfig.sh not found in /usr/lib, /usr/contrib/lib, or /usr/local/lib"
|
||||||
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
|
||||||
|
|
Loading…
Reference in New Issue