Changeset 561 for trunk/config.tests/mac


Ignore:
Timestamp:
Feb 11, 2010, 11:19:06 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.6.1 sources.

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/config.tests/mac/crc.test

    r2 r561  
    5353cd "$OUTDIR/$TEST"
    5454
    55 make distclean >/dev/null 2>&1
     55$MAKE distclean >/dev/null 2>&1
    5656"$OUTDIR/bin/qmake" -nocache -spec "$QMKSPEC" "CONFIG+=$QMAKE_CONFIG" "LIBS*=$LFLAGS" "INCLUDEPATH*=$INCLUDEPATH" "QMAKE_CXXFLAGS*=$CXXFLAGS" "$SRCDIR/$TEST/$EXE.pro" -o "$OUTDIR/$TEST/Makefile"
    5757
    5858if [ "$VERBOSE" = "yes" ]; then
    59     make
     59    $MAKE
    6060else
    61     make >/dev/null 2>&1
     61    $MAKE >/dev/null 2>&1
    6262fi
    6363
  • trunk/config.tests/mac/crc/main.cpp

    r2 r561  
     1/****************************************************************************
     2**
     3** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
     4** All rights reserved.
     5** Contact: Nokia Corporation (qt-info@nokia.com)
     6**
     7** This file is part of the config.tests of the Qt Toolkit.
     8**
     9** $QT_BEGIN_LICENSE:LGPL$
     10** Commercial Usage
     11** Licensees holding valid Qt Commercial licenses may use this file in
     12** accordance with the Qt Commercial License Agreement provided with the
     13** Software or, alternatively, in accordance with the terms contained in
     14** a written agreement between you and Nokia.
     15**
     16** GNU Lesser General Public License Usage
     17** Alternatively, this file may be used under the terms of the GNU Lesser
     18** General Public License version 2.1 as published by the Free Software
     19** Foundation and appearing in the file LICENSE.LGPL included in the
     20** packaging of this file.  Please review the following information to
     21** ensure the GNU Lesser General Public License version 2.1 requirements
     22** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
     23**
     24** In addition, as a special exception, Nokia gives you certain additional
     25** rights.  These rights are described in the Nokia Qt LGPL Exception
     26** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
     27**
     28** GNU General Public License Usage
     29** Alternatively, this file may be used under the terms of the GNU
     30** General Public License version 3.0 as published by the Free Software
     31** Foundation and appearing in the file LICENSE.GPL included in the
     32** packaging of this file.  Please review the following information to
     33** ensure the GNU General Public License version 3.0 requirements will be
     34** met: http://www.gnu.org/copyleft/gpl.html.
     35**
     36** If you have questions regarding the use of this file, please contact
     37** Nokia at qt-info@nokia.com.
     38** $QT_END_LICENSE$
     39**
     40****************************************************************************/
     41
    142#include <iostream>
    243#include <cstdlib>
     
    3172            ulTable[iCodes] = Reflect(iCodes, 8) << 24;
    3273            for(int iPos = 0; iPos < 8; iPos++) {
    33                 ulTable[iCodes] = (ulTable[iCodes] << 1)
     74                ulTable[iCodes] = ((ulTable[iCodes] << 1) & 0xffffffff)
    3475                    ^ ((ulTable[iCodes] & (1 << 31)) ? ulPolynomial : 0);
    3576            }
     
    4485        for(int iPos = 1; iPos < (cChar + 1); iPos++) {
    4586            if(ulReflect & 1) {
    46                 ulValue |= (1 << (cChar - iPos));
     87                ulValue |= (1ul << (cChar - iPos));
    4788            }
    4889            ulReflect >>= 1;
  • trunk/config.tests/mac/defaultarch.test

    r2 r561  
    44VERBOSE=$2
    55WORKDIR=$3
    6 QT_MAC_DEFUALT_ARCH=
     6QT_MAC_DEFAULT_ARCH=
    77
    88touch defaultarch.c
     
    1818# detect our known archs.
    1919if echo "$FIlE_OUTPUT" | grep '\<i386\>' > /dev/null 2>&1; then
    20     QT_MAC_DEFUALT_ARCH=x86 # configure knows it as "x86" not "i386"
     20    QT_MAC_DEFAULT_ARCH=x86 # configure knows it as "x86" not "i386"
    2121fi
    2222if echo "$FIlE_OUTPUT" | grep '\<x86_64\>' > /dev/null 2>&1; then
    23     QT_MAC_DEFUALT_ARCH=x86_64
     23    QT_MAC_DEFAULT_ARCH=x86_64
    2424fi
    2525if echo "$FIlE_OUTPUT" | grep '\<ppc\>' > /dev/null 2>&1; then
    26     QT_MAC_DEFUALT_ARCH=ppc
     26    QT_MAC_DEFAULT_ARCH=ppc
    2727fi
    2828if echo "$FIlE_OUTPUT" | grep '\<ppc64\>' > /dev/null 2>&1; then
    29     QT_MAC_DEFUALT_ARCH=ppc64
     29    QT_MAC_DEFAULT_ARCH=ppc64
    3030fi
    3131
    32 [ "$VERBOSE" = "yes" ] && echo "setting QT_MAC_DEFUALT_ARCH to \"$QT_MAC_DEFUALT_ARCH\""
    33 export QT_MAC_DEFUALT_ARCH
     32[ "$VERBOSE" = "yes" ] && echo "setting QT_MAC_DEFAULT_ARCH to \"$QT_MAC_DEFAULT_ARCH\""
     33export QT_MAC_DEFAULT_ARCH
  • trunk/config.tests/mac/xcodeversion.cpp

    r2 r561  
     1/****************************************************************************
     2**
     3** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
     4** All rights reserved.
     5** Contact: Nokia Corporation (qt-info@nokia.com)
     6**
     7** This file is part of the config.tests of the Qt Toolkit.
     8**
     9** $QT_BEGIN_LICENSE:LGPL$
     10** Commercial Usage
     11** Licensees holding valid Qt Commercial licenses may use this file in
     12** accordance with the Qt Commercial License Agreement provided with the
     13** Software or, alternatively, in accordance with the terms contained in
     14** a written agreement between you and Nokia.
     15**
     16** GNU Lesser General Public License Usage
     17** Alternatively, this file may be used under the terms of the GNU Lesser
     18** General Public License version 2.1 as published by the Free Software
     19** Foundation and appearing in the file LICENSE.LGPL included in the
     20** packaging of this file.  Please review the following information to
     21** ensure the GNU Lesser General Public License version 2.1 requirements
     22** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
     23**
     24** In addition, as a special exception, Nokia gives you certain additional
     25** rights.  These rights are described in the Nokia Qt LGPL Exception
     26** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
     27**
     28** GNU General Public License Usage
     29** Alternatively, this file may be used under the terms of the GNU
     30** General Public License version 3.0 as published by the Free Software
     31** Foundation and appearing in the file LICENSE.GPL included in the
     32** packaging of this file.  Please review the following information to
     33** ensure the GNU General Public License version 3.0 requirements will be
     34** met: http://www.gnu.org/copyleft/gpl.html.
     35**
     36** If you have questions regarding the use of this file, please contact
     37** Nokia at qt-info@nokia.com.
     38** $QT_END_LICENSE$
     39**
     40****************************************************************************/
     41
    142#include <stdlib.h>
    243#include <stdio.h>
Note: See TracChangeset for help on using the changeset viewer.