--- /dev/null
+diff --git a/configure.ac b/configure.ac
+index 06a0ac9..b8d1640 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -158,7 +158,10 @@ if test x$HAVE_GCC_ASM = xyes -a x$HAVE_POWERPC = xyes ; then
+ true)
+ fi
+
+-if test x$HAVE_GCC_ASM = xyes -a x$HAVE_ARM = xyes ; then
++AC_ARG_ENABLE(vfp,
++ AC_HELP_STRING([--enable-vfp],[compile with Vector Floating-point unit support]),
++ enable_vfp=$enableval,enable_vfp=yes)
++if test "x$enable-vfp" = xyes -a x$HAVE_GCC_ASM = xyes -a x$HAVE_ARM = xyes; then
+ AS_COMPILER_FLAG(["-Wa,-mfpu=vfp"],
+ [LIBOIL_CFLAGS="$LIBOIL_CFLAGS -mfpu=vfp"],
+ true)
+++ /dev/null
-diff --git a/configure.ac b/configure.ac
-index 06a0ac9..b8d1640 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -158,7 +158,10 @@ if test x$HAVE_GCC_ASM = xyes -a x$HAVE_POWERPC = xyes ; then
- true)
- fi
-
--if test x$HAVE_GCC_ASM = xyes -a x$HAVE_ARM = xyes ; then
-+AC_ARG_ENABLE(vfp,
-+ AC_HELP_STRING([--enable-vfp],[compile with Vector Floating-point unit support]),
-+ enable_vfp=$enableval,enable_vfp=yes)
-+if test "x$enable-vfp" = xyes -a x$HAVE_GCC_ASM = xyes -a x$HAVE_ARM = xyes; then
- AS_COMPILER_FLAG(["-Wa,-mfpu=vfp"],
- [LIBOIL_CFLAGS="$LIBOIL_CFLAGS -mfpu=vfp"],
- true)
# Remove useless bugreport program from the target
rm -f $(TARGET_DIR)/usr/bin/oil-bugreport
touch $@
-
-
-# Disable some examples that will break the build.
-# There are sveral more that can be removed
-# by someone with time over.
-$(LIBOIL_HOOK_POST_CONFIGURE):
- $(SED) 's/uberopt//g' $(LIBOIL_DIR)/examples/Makefile
- $(SED) 's/work//g' $(LIBOIL_DIR)/examples/Makefile
-