summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-06 12:45:31 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-07 15:14:50 +0900
commit926102a455014e6ab308aaced19e32eed7ed4414 (patch)
treee067ab2b73341043cc70aa9c109e300357576e98 /configure
parente0a3cab4467dccdd57a8cba57656be53ae192a51 (diff)
downloadtqt3-926102a455014e6ab308aaced19e32eed7ed4414.tar.gz
tqt3-926102a455014e6ab308aaced19e32eed7ed4414.zip
Replace various Q_* and QT_* defines with TQ_* and TQT_*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure20
1 files changed, 10 insertions, 10 deletions
diff --git a/configure b/configure
index 7e6f2f98d..de1ebdbeb 100755
--- a/configure
+++ b/configure
@@ -398,9 +398,9 @@ while [ "$#" -gt 0 ]; do
;;
endian)
if [ "$VAL" = "little" ]; then
- CFG_ENDIAN="Q_LITTLE_ENDIAN"
+ CFG_ENDIAN="TQ_LITTLE_ENDIAN"
elif [ "$VAL" = "big" ]; then
- CFG_ENDIAN="Q_BIG_ENDIAN"
+ CFG_ENDIAN="TQ_BIG_ENDIAN"
else
UNKNOWN_OPT=yes
fi
@@ -2406,9 +2406,9 @@ if [ "$CFG_ENDIAN" = "auto" ]; then
if [ "$PLATFORM_MAC" = "yes" ]; then
true
elif $unixtests/endian.test $XQMAKESPEC $OPT_VERBOSE $relpath $outpath; then
- CFG_ENDIAN="Q_LITTLE_ENDIAN"
+ CFG_ENDIAN="TQ_LITTLE_ENDIAN"
else
- CFG_ENDIAN="Q_BIG_ENDIAN"
+ CFG_ENDIAN="TQ_BIG_ENDIAN"
fi
fi
@@ -2989,28 +2989,28 @@ esac
cat >> $outpath/include/ntqconfig.h.new <<EOF
/* License information */
-#define QT_PRODUCT_LICENSEE "$Licensee"
+#define TQT_PRODUCT_LICENSEE "$Licensee"
#define QT_PRODUCT_LICENSE "$Products"
/* Build key */
#define TQT_BUILD_KEY "$TQT_BUILD_KEY"
/* Machine byte-order */
-#define Q_BIG_ENDIAN 4321
-#define Q_LITTLE_ENDIAN 1234
+#define TQ_BIG_ENDIAN 4321
+#define TQ_LITTLE_ENDIAN 1234
EOF
if [ "$CFG_ENDIAN" = "auto" ]; then
cat >> $outpath/include/ntqconfig.h.new << EOF
#if defined(__BIG_ENDIAN__)
-# define Q_BYTE_ORDER Q_BIG_ENDIAN
+# define TQ_BYTE_ORDER TQ_BIG_ENDIAN
#elif defined(__LITTLE_ENDIAN__)
-# define Q_BYTE_ORDER Q_LITTLE_ENDIAN
+# define TQ_BYTE_ORDER TQ_LITTLE_ENDIAN
#else
# message "Unable to determine byte order!"
#endif
EOF
else
-echo "#define Q_BYTE_ORDER $CFG_ENDIAN" >> $outpath/include/ntqconfig.h.new
+echo "#define TQ_BYTE_ORDER $CFG_ENDIAN" >> $outpath/include/ntqconfig.h.new
fi
cat >> $outpath/include/ntqconfig.h.new << EOF