Changeset 15:4eba224d58f9 in vscpl for misc


Ignore:
Timestamp:
04/06/13 08:15:50 (12 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Fixed the check for 64-bit Windows

File:
1 edited

Legend:

Unmodified
Added
Removed
  • misc/vscpl.m4.in

    r1 r15  
    77
    88    AM_CONDITIONAL([TARGET_API_WIN32], test $_target_win32 -eq 0)
    9     AM_CONDITIONAL([TARGET_API_WIN64], test $_target_win32 -eq 0 -a "$host_cpu" = "x86_64")
     9
     10    _target_win64="no"
     11    if test $_target_win32 -eq 0; then
     12        echo "host_alias: $host_alias"
     13        case "$host_alias" in
     14            x86_64*)
     15                _target_win64="yes"
     16                ;;
     17        esac
     18    fi
     19    AM_CONDITIONAL([TARGET_API_WIN64], test "$_target_win64" = "yes")
     20
    1021    AM_CONDITIONAL([TARGET_API_POSIX], test $_target_win32 -ne 0)
    1122    TARGET_API_POSIX=0
     
    1324    TARGET_API_WIN64=0
    1425    if test $_target_win32 -eq 0; then
    15         if test "$host_cpu" = "x86_64"; then
     26        if test "$_target_win64" = "yes"; then
    1627            TARGET_API_WIN64=1
    1728        fi
Note: See TracChangeset for help on using the changeset viewer.