[Expat-checkins] CVS: expat/conftools ac_c_bigendian_cross.m4,1.1,1.2

Fred L. Drake fdrake@users.sourceforge.net
Mon Oct 1 13:04:10 2001


Update of /cvsroot/expat/expat/conftools
In directory usw-pr-cvs1:/tmp/cvs-serv27042

Modified Files:
	ac_c_bigendian_cross.m4 
Log Message:
Added a "-c" option to the $CC command line to make this macro work as
expected on more platforms (IBM's xlC compiler in particular).


Index: ac_c_bigendian_cross.m4
===================================================================
RCS file: /cvsroot/expat/expat/conftools/ac_c_bigendian_cross.m4,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** ac_c_bigendian_cross.m4	2001/07/24 19:51:35	1.1
--- ac_c_bigendian_cross.m4	2001/10/01 20:03:13	1.2
***************
*** 51,55 ****
  EOF
  ] if test -f conftest.c ; then
!      if ${CC-cc} conftest.c -o conftest.o && test -f conftest.o ; then
          if test `grep -l BIGenDianSyS conftest.o` ; then
             echo $ac_n ' big endian probe OK, ' 1>&AC_FD_MSG
--- 51,55 ----
  EOF
  ] if test -f conftest.c ; then
!      if ${CC-cc} -c conftest.c -o conftest.o && test -f conftest.o ; then
          if test `grep -l BIGenDianSyS conftest.o` ; then
             echo $ac_n ' big endian probe OK, ' 1>&AC_FD_MSG