--- configure.ac.orig	2006-05-10 13:00:19.000000000 -0500
+++ configure.ac	2013-02-07 20:20:59.000000000 -0600
@@ -1,6 +1,6 @@
 dnl Process this file with autoconf to produce a configure script.
 AC_INIT(lib/mainprint.cpp)
-AM_CONFIG_HEADER(config.h)
+AC_CONFIG_HEADERS([config.h])
 VERSION="0.9.3"
 AM_INIT_AUTOMAKE(libofa, "$VERSION")
 
@@ -74,7 +74,7 @@
 dnl  FFTW for FFTW v2. FFTW3 for FFTW v3. VDSP for vDSP. MKL for MKL
 dnl TODO: PREANSI for win32
 
-if test x$os = xdarwin; then
+if test x$os = xBROKENdarwin; then
     AC_MSG_NOTICE([Using vDSP on OS X])
     LIBS="$LIBS -framework Accelerate"
     FFT_WRAPPER="fftlibvdsp_op.cpp"