2005-01-13 23:53:39 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
msg(){
|
|
|
|
echo "
|
2005-04-23 10:44:08 +02:00
|
|
|
======================= GEOS Support Notice ========================
|
2005-01-13 23:53:39 +01:00
|
|
|
In order to use the GEOS support, you may need to specially compile
|
|
|
|
your version of PostgreSQL to link the C++ runtime library.
|
|
|
|
To do this, invoke the PostgreSQL Makefile script this way:
|
|
|
|
|
|
|
|
on csh shell:
|
|
|
|
|
|
|
|
setenv LDFLAGS -lstdc++
|
|
|
|
make
|
|
|
|
|
|
|
|
on sh or bash shell:
|
|
|
|
|
|
|
|
export LDFLAGS=-lstdc++
|
|
|
|
make
|
|
|
|
|
|
|
|
The initial LDFLAGS variable is passed through to the Makefile and
|
|
|
|
adds the C++ library to the linking stage.
|
|
|
|
|
2005-04-23 10:44:08 +02:00
|
|
|
====================================================================
|
2005-01-13 23:53:39 +01:00
|
|
|
"
|
|
|
|
sleep 10
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
case "$2" in
|
|
|
|
"PRE-INSTALL")
|
|
|
|
msg
|
|
|
|
;;
|
|
|
|
"MESSAGE")
|
|
|
|
msg
|
|
|
|
;;
|
|
|
|
esac
|