Ignore:
Timestamp:
Apr 30, 2007, 11:18:15 AM (13 years ago)
Author:
Bruno Cornec
Message:
  • ARCH removed from configure.in as useless
  • addition of get_uname_m (to give the underlying arch)
  • get_architecture now returns correctly the built arch used (including x86_64)
  • IA32 is defined for both i386 and x86_64. An additional vdefine X86_64 is also setup for tha later arch.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.4/mondo/configure.in

    r919 r1375  
    8484case "$host_cpu" in
    8585    i?86*)
    86     #x86_64*)
    87         ARCH=i386
    8886        CPPFLAGS="$CPPFLAGS -D__IA32__"
    8987        ;;
     88    x86_64*)
     89        CPPFLAGS="$CPPFLAGS -D__IA32__ -D__X86_64__"
     90        ;;
    9091    ia64*)
    91         ARCH=ia64
    9292        CPPFLAGS="$CPPFLAGS -D__IA64__"
    9393        ;;
    9494    *)
    95         echo "*** Sorry, only Intel Architectures (ia32, ia64) are supported at this time. Want to help?"
     95        echo "*** Sorry, only Intel Architectures (ia32, x86_64, ia64) are supported at this time. Want to help?"
    9696        ;;
    9797esac
    98 AC_SUBST(ARCH)
    9998
    10099LIBS="$LIBS $PTHREAD"
Note: See TracChangeset for help on using the changeset viewer.