mirror of
https://github.com/QuasarApp/qca.git
synced 2025-04-28 12:34:31 +00:00
more portable scripts
svn path=/trunk/kdesupport/qca/; revision=261838
This commit is contained in:
parent
2d8cdd94c1
commit
0f0d05799d
16
plugins/qca-sasl/configure
vendored
16
plugins/qca-sasl/configure
vendored
@ -46,7 +46,7 @@ done
|
||||
|
||||
echo "Configuring qca-sasl ..."
|
||||
|
||||
if [ "$QC_DEBUG" == "Y" ]; then
|
||||
if [ "$QC_DEBUG" = "Y" ]; then
|
||||
echo
|
||||
echo QTDIR=$QTDIR
|
||||
echo QC_WITH_SASL_INC=$QC_WITH_SASL_INC
|
||||
@ -54,10 +54,10 @@ echo QC_WITH_SASL_LIB=$QC_WITH_SASL_LIB
|
||||
echo
|
||||
fi
|
||||
|
||||
echo -n "Verifying Qt 3.x Multithreaded (MT) build environment ... "
|
||||
printf "Verifying Qt 3.x Multithreaded (MT) build environment ... "
|
||||
|
||||
if [ -z "$QTDIR" ]; then
|
||||
if [ "$QC_DEBUG" == "Y" ]; then
|
||||
if [ "$QC_DEBUG" = "Y" ]; then
|
||||
echo \$QTDIR not set... trying to find Qt manually
|
||||
fi
|
||||
for p in /usr/lib/qt /usr/share/qt /usr/share/qt3 /usr/local/lib/qt /usr/local/share/qt /usr/lib/qt3 /usr/local/lib/qt3 /usr/X11R6/share/qt /usr/qt/3 ; do
|
||||
@ -80,13 +80,13 @@ if [ -z "$QTDIR" ]; then
|
||||
fi
|
||||
|
||||
if [ ! -x "$QTDIR/bin/qmake" ]; then
|
||||
if [ "$QC_DEBUG" == "Y" ]; then
|
||||
if [ "$QC_DEBUG" = "Y" ]; then
|
||||
echo Warning: qmake not in \$QTDIR/bin/qmake
|
||||
echo trying to find it in \$PATH
|
||||
fi
|
||||
qm=`type -p qmake`
|
||||
if [ -x "$qm" ]; then
|
||||
if [ "$QC_DEBUG" == "Y" ]; then
|
||||
if [ "$QC_DEBUG" = "Y" ]; then
|
||||
echo qmake found in $qm
|
||||
fi
|
||||
else
|
||||
@ -486,9 +486,7 @@ EOT
|
||||
export QTDIR
|
||||
export QC_WITH_SASL_INC
|
||||
export QC_WITH_SASL_LIB
|
||||
if [ -e ".qconftemp" ]; then
|
||||
rm -rf .qconftemp
|
||||
fi
|
||||
rm -rf .qconftemp
|
||||
(
|
||||
mkdir .qconftemp
|
||||
gen_files .qconftemp
|
||||
@ -515,7 +513,7 @@ fi
|
||||
|
||||
.qconftemp/conf
|
||||
ret="$?"
|
||||
if [ "$ret" == "1" ]; then
|
||||
if [ "$ret" = "1" ]; then
|
||||
rm -rf .qconftemp
|
||||
echo
|
||||
exit 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user