summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2018-09-27 16:03:52 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2018-09-27 16:03:52 +0900
commitfa7665909d6d103ab7c82c7210c64aa2dad8c664 (patch)
tree3d7f16bd9cdaf15ddee7b3674dda3f433cf1412e
parentea7531c73c5d0d904177e4f46aaea4381ffaa8af (diff)
downloadtqca-fa7665909d6d103ab7c82c7210c64aa2dad8c664.tar.gz
tqca-fa7665909d6d103ab7c82c7210c64aa2dad8c664.zip
qt -> tqt conversion:
QTDIR -> TQTDIR QTDOC -> TQTDOC INCDIR_QT -> INCDIR_TQT LIBDIR_QT -> LIBDIR_TQT QT_INC -> TQT_INC QT_LIB -> TQT_LIB Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rwxr-xr-xconfigure42
1 files changed, 21 insertions, 21 deletions
diff --git a/configure b/configure
index d608b58..eaa4baf 100755
--- a/configure
+++ b/configure
@@ -22,7 +22,7 @@ while [ $# -gt 0 ]; do
;;
--qtdir=*)
- QTDIR=`expr "${1}" : "--qtdir=\(.*\)"`
+ TQTDIR=`expr "${1}" : "--qtdir=\(.*\)"`
shift
;;
@@ -42,26 +42,26 @@ echo "Configuring TQt Cryptographic Architecture (QCA) ..."
if [ "$QC_DEBUG" = "Y" ]; then
echo
echo PREFIX=$PREFIX
-echo QTDIR=$QTDIR
+echo TQTDIR=$TQTDIR
echo
fi
printf "Verifying TQt 3.x Multithreaded (MT) build environment ... "
-if [ -z "$QTDIR" ]; then
+if [ -z "$TQTDIR" ]; then
if [ "$QC_DEBUG" = "Y" ]; then
- echo \$QTDIR not set... trying to find Qt manually
+ echo \$TQTDIR not set... trying to find Qt manually
fi
for p in /usr/lib/tqt /usr/share/tqt /usr/share/tqt3 /usr/local/lib/tqt /usr/local/share/tqt /usr/lib/tqt3 /usr/local/lib/tqt3 /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/lib64/tqt /usr/local/lib64/tqt /usr/lib64/tqt3 /usr/local/lib64/tqt3 /usr/lib64/qt /usr/local/lib64/qt /usr/lib64/qt3 /usr/local/lib64/qt3 /usr/X11R6/share/qt /usr/qt/3 ; do
if [ -d "$p/mkspecs" ]; then
- QTDIR=$p
+ TQTDIR=$p
break;
fi;
done
- if [ -z "$QTDIR" ]; then
+ if [ -z "$TQTDIR" ]; then
echo fail
echo
- echo Unable to find Qt 'mkspecs'. Please set QTDIR
+ echo Unable to find Qt 'mkspecs'. Please set TQTDIR
echo manually. Perhaps you need to install Qt 3
echo development utilities. You may download them either
echo from the vendor of your operating system or from
@@ -71,9 +71,9 @@ if [ -z "$QTDIR" ]; then
fi
fi
-if [ ! -x "$QTDIR/bin/tqmake" ]; then
+if [ ! -x "$TQTDIR/bin/tqmake" ]; then
if [ "$QC_DEBUG" = "Y" ]; then
- echo Warning: tqmake not in \$QTDIR/bin/tqmake
+ echo Warning: tqmake not in \$TQTDIR/bin/tqmake
echo trying to find it in \$PATH
fi
qm=`type -p tqmake`
@@ -85,15 +85,15 @@ if [ ! -x "$QTDIR/bin/tqmake" ]; then
echo fail
echo
echo Sorry, you seem to have a very unusual setup,
- echo or I missdetected \$QTDIR=$QTDIR
+ echo or I missdetected \$TQTDIR=$TQTDIR
echo
- echo Please set \$QTDIR manually and make sure that
- echo \$QTDIR/bin/tqmake exists.
+ echo Please set \$TQTDIR manually and make sure that
+ echo \$TQTDIR/bin/tqmake exists.
echo
exit 1;
fi
else
- qm=$QTDIR/bin/tqmake
+ qm=$TQTDIR/bin/tqmake
fi
gen_files() {
@@ -430,15 +430,15 @@ EOT
}
export PREFIX
-export QTDIR
+export TQTDIR
rm -rf .qconftemp
(
mkdir .qconftemp
gen_files .qconftemp
cd .qconftemp
$qm conf.pro >/dev/null
- QTDIR=$QTDIR make clean >/dev/null 2>&1
- QTDIR=$QTDIR make >../conf.log 2>&1
+ TQTDIR=$TQTDIR make clean >/dev/null 2>&1
+ TQTDIR=$TQTDIR make >../conf.log 2>&1
)
if [ "$?" != "0" ]; then
@@ -447,12 +447,12 @@ if [ "$?" != "0" ]; then
echo
echo "There was an error compiling 'conf'. Be sure you have a proper"
echo "TQt 3.x Multithreaded (MT) build environment set up."
- if [ ! -f "$QTDIR/lib/libtqt-mt.so.3" ]; then
- if [ ! -f "$QTDIR/lib64/libtqt-mt.so.3" ]; then
+ if [ ! -f "$TQTDIR/lib/libtqt-mt.so.3" ]; then
+ if [ ! -f "$TQTDIR/lib64/libtqt-mt.so.3" ]; then
echo
echo "One possible reason is that you don't have"
- echo "libtqt-mt.so.3 installed in $QTDIR/lib/"
- echo "or $QTDIR/lib64/."
+ echo "libtqt-mt.so.3 installed in $TQTDIR/lib/"
+ echo "or $TQTDIR/lib64/."
fi
fi
echo
@@ -487,7 +487,7 @@ if [ "$?" != "0" ]; then
exit 1;
fi
cat >Makefile.tmp <<EOT
-export QTDIR = $QTDIR
+export TQTDIR = $TQTDIR
EOT
cat Makefile >> Makefile.tmp
rm -f Makefile