diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -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 |