# HG changeset patch # User diego # Date 1233441473 0 # Node ID f4edd950737e7c45900c63b7c680d65ab87ebc3c # Parent 48a33df51c5fa1deeff14e309b759f80a1f93044 Make sure HAVE_ALTIVEC_H is always #defined. diff -r 48a33df51c5f -r f4edd950737e configure --- a/configure Sat Jan 31 22:37:12 2009 +0000 +++ b/configure Sat Jan 31 22:37:53 2009 +0000 @@ -2506,6 +2506,7 @@ #FIXME: This should happen before the check for CFLAGS.. +def_altivec_h='#define HAVE_ALTIVEC_H 0' if ppc && ( test "$_altivec" = yes || test "$_runtime_cpudetection" = yes ) ; then # check if AltiVec is supported by the compiler, and how to enable it @@ -2516,7 +2517,6 @@ if $(cc_check -maltivec -mabi=altivec) ; then _altivec_gcc_flags="-maltivec -mabi=altivec" # check if should be included - def_altivec_h='#undef HAVE_ALTIVEC_H' cat > $TMPC << EOF #include int main(void) { return 0; }