--- configure.ac	2006-10-03 10:55:34.000000000 -0500
+++ configure.ac	2015-01-21 13:42:39.000000000 -0600
@@ -5,7 +5,7 @@
 AC_INIT(SOLID, 3.5)
 AC_CONFIG_SRCDIR([include/SOLID.h])
 AC_CONFIG_HEADER([include/config.h])
-AM_INIT_AUTOMAKE
+AM_INIT_AUTOMAKE([foreign])
 
 # Checks for programs.
 AC_PROG_CXX
@@ -48,8 +48,8 @@
    CXXFLAGS="-g"
 AC_MSG_RESULT(yes)
 else
-   CFLAGS="-O2 -fno-gcse -DNDEBUG"	
-   CXXFLAGS="-O2 -fno-gcse -DNDEBUG"
+   CFLAGS="-O2 -fno-gcse -fno-strict-aliasing -DNDEBUG"	
+   CXXFLAGS="-O2 -fno-gcse -fno-strict-aliasing -fpermissive -DNDEBUG"
 AC_MSG_RESULT(no)
 fi
 
@@ -78,14 +78,5 @@
 # Checks for library functions.
 AC_CHECK_FUNCS([memset sqrt])
 
-AC_CONFIG_FILES([Makefile
-                 doc/Makefile
-				 src/broad/Makefile
-				 src/convex/Makefile
-				 src/complex/Makefile
-				 src/qhull/Makefile
-                 src/Makefile
-				 include/Makefile
-				 examples/dynamics/Makefile
-				 examples/Makefile])
+AC_CONFIG_FILES([Makefile doc/Makefile src/broad/Makefile src/convex/Makefile src/complex/Makefile src/qhull/Makefile src/Makefile include/Makefile examples/dynamics/Makefile examples/Makefile])
 AC_OUTPUT
