+### Needed information
+
+
+### Additional options to configure
+
+AC_ARG_ENABLE([strict-spec],
+ [AC_HELP_STRING([--enable-strict-spec], [Enable strict spec compliance @<:@default=disabled@:>@])],
+ [
+ if test "x${enableval}" = "xyes" ; then
+ enable_strict_spec="yes"
+ else
+ enable_strict_spec="no"
+ fi
+ ],
+ [enable_strict_spec="no"])
+
+if test "x${enable_strict_spec}" = "xyes" ; then
+ AC_DEFINE([STRICT_SPEC], [1], [Strict Spec Compliance])
+fi
+
+AC_ARG_ENABLE([sloppy-spec],
+ [AC_HELP_STRING([--disable-sloppy-spec], [Enable sloppy spec compliance @<:@default=enabled@:>@])],
+ [
+ if test "x${enableval}" = "xyes" ; then
+ enable_sloppy_spec="yes"
+ else
+ enable_sloppy_spec="no"
+ fi
+ ],
+ [enable_sloppy_spec="yes"])
+
+if test "x${enable_sloppy_spec}" = "xyes" ; then
+ AC_DEFINE([SLOPPY_SPEC], [1], [Sloppy Spec Compliance])
+fi
+
+#AC_ARG_ENABLE(hidden-visibility,
+# [AC_HELP_STRING([--enable-hidden-visibility],[Enable hidden visibility])],
+# [enable_hidden_visibility=$enableval], [enable_hidden_visibility="auto"])
+#if test "x$enable_hidden_visibility" = "xyes" ; then
+# CPPFLAGS="$CPPFLAGS -fvisibility=hidden"
+#else
+# AC_DEFINE(DEFAULT_VISIBLITY, 1, [Default visibility])
+#fi
+#AM_CONDITIONAL(DEFAULT_VISIBILITY, test "x$enable_hidden_visibility" != "xyes")
+AM_CONDITIONAL(DEFAULT_VISIBILITY, 0)
+
+
+### Checks for programs
+AC_PROG_CC
+
+# pkg-config