Changeset 47 for trunk/aclocal.m4


Ignore:
Timestamp:
Jun 16, 2006, 10:47:44 PM (18 years ago)
Author:
rainer
Message:

Fix compile error on i686/MacOS X

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/aclocal.m4

    r43 r47  
    11951195        #
    11961196        if test "x$GCC" = xyes; then
    1197           AC_MSG_CHECKING([for i386])
     1197          AC_MSG_CHECKING([for non-apple i386])
    11981198          samhain_i386=no
    1199           touch conf_foo.h
    1200           $CC -E -dM conf_foo.h | egrep '__i386__' >/dev/null 2>&1 && samhain_i386=yes
    1201           rm -f conf_foo.h
     1199          $CC -E -dM - < /dev/null | egrep '__i386__' >/dev/null 2>&1
     1200          if test $? = 0; then
     1201            # apples gcc does not understand the assembly we provide
     1202            $CC -E -dM - < /dev/null | egrep '__APPLE__' >/dev/null 2>&1 || samhain_i386=yes
     1203          fi
    12021204          if test "x$samhain_i386" = xyes; then
    12031205            tiger_src=sh_tiger1.s
Note: See TracChangeset for help on using the changeset viewer.