Changeset 1377 in MondoRescue for branches/stable/mondo/configure.in


Ignore:
Timestamp:
Apr 30, 2007, 11:25:39 AM (17 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/stable/mondo/configure.in

    r1366 r1377  
    8585case "$host_cpu" in
    8686    i?86*)
    87         ARCH=i386
    8887        CPPFLAGS="$CPPFLAGS -D__IA32__ -Wall"
    8988        ;;
    9089    x86_64*)
    91         ARCH=x86-64
    92         CPPFLAGS="$CPPFLAGS -D__X86_64__ -Wall"
     90        CPPFLAGS="$CPPFLAGS -D__IA32__ -D__X86_64__ -Wall"
    9391        ;;
    9492    ia64*)
    95         ARCH=ia64
    9693        CPPFLAGS="$CPPFLAGS -D__IA64__ -Wall"
    9794        ;;
    9895    *)
    99         echo "*** Sorry, only Intel Architectures (ia32, x86-64, ia64) are supported at this time."
    100         echo "If you Want to help send a mail to bcornec@users.berlios.de"
     96        echo "*** Sorry, only Intel Architectures (ia32, x86_64, ia64) are supported at this time. Want to help?"
    10197        ;;
    10298esac
    103 AC_SUBST(ARCH)
    10499
    105100LIBS="$LIBS $PTHREAD"
Note: See TracChangeset for help on using the changeset viewer.