Changeset 116690 in git


Ignore:
Timestamp:
Sep 17, 2008, 12:24:01 PM (16 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '3720ae8bfcff4a4649ee98a15552089151d2d59b')
Children:
d93f1e86604933d559b185d28c04cba8db71f9be
Parents:
be2303748439a06ae87f4f8d31b1aed17359c508
Message:
*hannes: better CPU test


git-svn-id: file:///usr/local/Singular/svn/trunk@11057 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/configure.in

    rbe2303 r116690  
    99
    1010AC_MSG_CHECKING(CPU for singular)
    11 ac_cv_singcpuname=`uname -p`
     11ac_cv_singcpuname=`uname -m`
    1212AC_MSG_RESULT($ac_cv_singcpuname)
    1313
     
    4242fi
    4343AC_SUBST(EXEC_EXT)
    44 if test "$ac_cv_ac_cv_singcpuname" = sparc; then
     44if test "$ac_cv_singcpuname" = sparc; then
    4545  AC_DEFINE(SI_CPU_SPARC)
    4646  AC_SUBST(SI_CPU_SPARC)
     
    6868fi
    6969if test "$ac_cv_singuname" = ppcMac-darwin; then
     70  AC_DEFINE(SI_CPU_PPC)
     71  AC_SUBST(SI_CPU_PPC)
     72  AC_MSG_RESULT(SI_CPU_PPC)
     73fi
     74# test again with CPU names
     75if test "$ac_cv_singcpuname" = i386; then
     76  AC_DEFINE(SI_CPU_I386)
     77  AC_SUBST(SI_CPU_I386)
     78  AC_MSG_RESULT(SI_CPU_I386)
     79fi
     80if test "$ac_cv_singcpuname" = x86_64; then
     81  AC_DEFINE(SI_CPU_X86_64)
     82  AC_SUBST(SI_CPU_X86_64)
     83  AC_MSG_RESULT(SI_CPU_X86_64)
     84fi
     85if test "$ac_cv_singcpuname" = ia64; then
     86  AC_DEFINE(SI_CPU_IA64)
     87  AC_SUBST(SI_CPU_IA64)
     88  AC_MSG_RESULT(SI_CPU_IA64)
     89fi
     90if test "$ac_cv_singcpuname" = ppc; then
    7091  AC_DEFINE(SI_CPU_PPC)
    7192  AC_SUBST(SI_CPU_PPC)
Note: See TracChangeset for help on using the changeset viewer.