Files
harbour-core/harbour-RC1/contrib/hbpgsql/make_gcc.sh
2008-06-04 05:13:20 +00:00

25 lines
659 B
Bash
Executable File

#!/bin/sh
#
# $Id$
#
if [ "${HB_INC_PGSQL}" == "" ]
then
echo "---------------------------------------------------------------"
echo "IMPORTANT: You will need PostgreSQL package installed and this"
echo " envvar to be set to successfully build this library:"
echo " export HB_INC_PGSQL=C:/Posgres/include"
echo " or"
echo " export HB_INC_PGSQL=/usr/include/postgres"
echo "---------------------------------------------------------------"
exit 1
fi
export CFLAGS=""
for I in ${HB_INC_PGSQL}; do
CFLAGS="${CFLAGS} -I${I}"
done
../mtpl_gcc.sh $1 $2 $3 $4 $5 $6 $7 $8 $9
unset CFLAGS