On Sat, Apr 11, 2009 at 01:27:31AM -0700, David Miller wrote: > --- a/configure.ac > +++ b/configure.ac > @@ -200,7 +200,7 @@ if test "$target_cpu"-"$platform" = i386-pc; then > fi > > # Check for functions. > -AC_CHECK_FUNCS(posix_memalign memalign asprintf) > +AC_CHECK_FUNCS(posix_memalign memalign asprintf __bswapsi2 __bswapdi2) > [...] > +#ifdef HAVE___BSWAPSI2 > +typedef int SItype __attribute__ ((mode (SI))); > +SItype EXPORT_FUNC (__bswapsi2) (SItype); > +#endif
Very nice. I wish someone with a powerpc and some spare time would do the same to include/grub/powerpc/libgcc.h ;-) -- Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all." _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel