Commit fd8447f0 authored by Claes Sjöfors's avatar Claes Sjöfors

PKG_CONFIG_PATH added to config script

parent 2b336f90
......@@ -16,7 +16,6 @@ EOF
pwre_config_check_include()
{
echo -n "...Checking inc $1: "
let i=0
let found=0
let incfound=0
......@@ -24,7 +23,7 @@ pwre_config_check_include()
for file in $4
do
if test -e $file; then
echo "found"
echo "...Checking Yes $1"
echo "export PWRE_CONF_$2=1" >> $cfile
if test $3 == "1"; then
......@@ -54,13 +53,12 @@ pwre_config_check_include()
done
if test $found -eq 0; then
echo "not found"
echo "...Checking No $1"
fi
}
pwre_config_check_lib()
{
echo -n "...Checking $1: "
let i=0
let found=0
let libfound=0
......@@ -68,7 +66,7 @@ pwre_config_check_lib()
for file in $6
do
if test -e $file; then
echo "found"
echo "...Checking Yes $1"
echo "export PWRE_CONF_$2=1" >> $cfile
if test $5 == "1"; then
......@@ -114,7 +112,7 @@ pwre_config_check_lib()
done
if test $found -eq 0; then
echo "not found"
echo "...Checking No $1"
echo "export PWRE_CONF_$2=0" >> $cfile
fi
}
......
......@@ -16,7 +16,6 @@ EOF
pwre_config_check_include()
{
echo -n "...Checking inc $1: "
let i=0
let found=0
let incfound=0
......@@ -24,7 +23,7 @@ pwre_config_check_include()
for file in $4
do
if test -e $file; then
echo "found"
echo "...Checking Yes $1"
echo "export PWRE_CONF_$2=1" >> $cfile
if test $3 == "1"; then
......@@ -54,13 +53,12 @@ pwre_config_check_include()
done
if test $found -eq 0; then
echo "not found"
echo "...Checking No $1"
fi
}
pwre_config_check_lib()
{
echo -n "...Checking $1: "
let i=0
let found=0
let libfound=0
......@@ -68,7 +66,7 @@ pwre_config_check_lib()
for file in $6
do
if test -e $file; then
echo "found"
echo "...Checking Yes $1"
echo "export PWRE_CONF_$2=1" >> $cfile
if test $5 == "1"; then
......@@ -114,7 +112,7 @@ pwre_config_check_lib()
done
if test $found -eq 0; then
echo "not found"
echo "...Checking No $1"
echo "export PWRE_CONF_$2=0" >> $cfile
fi
}
......@@ -278,6 +276,8 @@ rm $pwre_croot/src/exe/rt_prio/src/.${pwre_os}/.${pwre_hw}/makefile
rm $pwre_croot/remote/exe/rs_remote_alcm/src/.${pwre_os}/.${pwre_hw}/makefile
#rm $pwre_croot/profibus/lib/rt/src/.${pwre_os}/.${pwre_hw}/makefile
echo "export PKG_CONFIG_PATH=/sw/fink/pkgconfig" >> $cfile
echo "export pwre_conf_cc_define=\"$conf_cc_define\"" >> $cfile
echo "export pwre_conf_libpwrco=\"-lpwr_co\"" >> $cfile
echo "export pwre_conf_libpwrrt=\"-lpwr_rt -lpwr_co -lpwr_statussrv -lpwr_msg_dummy\"" >> $cfile
......
......@@ -16,7 +16,6 @@ EOF
pwre_config_check_include()
{
echo -n "...Checking inc $1: "
let i=0
let found=0
let incfound=0
......@@ -24,7 +23,7 @@ pwre_config_check_include()
for file in $4
do
if test -e $file; then
echo "found"
echo "...Checking Yes $1"
echo "export PWRE_CONF_$2=1" >> $cfile
if test $3 == "1"; then
......@@ -54,13 +53,12 @@ pwre_config_check_include()
done
if test $found -eq 0; then
echo "not found"
echo "...Checking No $1"
fi
}
pwre_config_check_lib()
{
echo -n "...Checking $1: "
let i=0
let found=0
let libfound=0
......@@ -68,7 +66,7 @@ pwre_config_check_lib()
for file in $6
do
if test -e $file; then
echo "found"
echo "...Checking Yes $1"
echo "export PWRE_CONF_$2=1" >> $cfile
if test $5 == "1"; then
......@@ -114,7 +112,7 @@ pwre_config_check_lib()
done
if test $found -eq 0; then
echo "not found"
echo "...Checking No $1"
echo "export PWRE_CONF_$2=0" >> $cfile
fi
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment