diff --git a/configure b/configure
index 5ae5a7e8e88af49344f3e2b262dcbde7fa5555e0..7d767d1e7c07258018119f4d55633ec304ceb7a5 100755
--- a/configure
+++ b/configure
@@ -1208,11 +1208,11 @@ if test $arch = "powerpc"; then
     fi
 fi
 
-check_header altivec.h && _altivec_h=yes || _altivec_h=no
+check_header altivec.h && altivec_h=yes || altivec_h=no
 
 # check if our compiler supports Motorola AltiVec C API
 if test $altivec = "yes"; then
-    if test $_altivec_h = "yes"; then
+    if test $altivec_h = "yes"; then
         inc_altivec_h="#include <altivec.h>"
     else
         inc_altivec_h=
@@ -1813,7 +1813,7 @@ fi
 if test "$altivec" = "yes" ; then
   echo "TARGET_ALTIVEC=yes" >> config.mak
   echo "#define HAVE_ALTIVEC 1" >> $TMPH
-  if test "$_altivec_h" = "yes" ; then
+  if test "$altivec_h" = "yes" ; then
     echo "#define HAVE_ALTIVEC_H 1" >> $TMPH
   else
     echo "#undef HAVE_ALTIVEC_H" >> $TMPH