Skip to Content.
Sympa Menu

freetds - Fix for big endian detection

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Brian Bruns <camber AT umcc.ais.org>
  • To: freetds AT franklin.oit.unc.edu
  • Subject: Fix for big endian detection
  • Date: Thu, 26 Aug 1999 17:44:19 -0400 (EDT)



Well, it's been a long time coming, but someone on the list was nice
enough to give me access to a Solaris box. So I was able to fix the
endian detection in configure.

This two line change to configure.in should do it.

Brian

[camber@amd133 freetds]# diff configure.in configure.in.orig
28,29c28,29
< if test $ac_cv_c_bigendian = yes; then OLDCFLAGS="$OLDCFLAGS
-DHW_BIG_ENDIAN";
< else OLDCFLAGS="$OLDCFLAGS -DHW_LITTLE_ENDIAN"; fi
---
> if test "$CFLAGS"AAA = AAA ; then OLDCFLAGS="$OLDCFLAGS
-DHW_LITTLE_ENDIAN";
> else OLDCFLAGS="$OLDCFLAGS -DHW_BIG_ENDIAN"; fi
[camber@amd133 freetds]#






Archive powered by MHonArc 2.6.24.

Top of Page