Improve processing of SQLITE_NULL

null-atom can be configured on configure or make stage. For example
./configure --enable-null-atom=undefined && make
This commit is contained in:
sergey-miryanov
2010-07-14 12:47:46 +06:00
parent 7876c0f568
commit b65d2f8bcb
8 changed files with 1775 additions and 2642 deletions

View File

@@ -41,6 +41,15 @@ AC_ERLANG_CHECK_LIB(compiler)
AC_ERLANG_CHECK_LIB(hipe)
AC_ERLANG_CHECK_LIB(syntax_tools)
AC_ARG_ENABLE([null-atom],
[AC_HELP_STRING([--enable-null-atom=atom],
[Set to configure null-atom, default 'null'])],
[ ac_null_atom=$enableval ],
[ ac_null_atom=null ])
NULL_ATOM="$ac_null_atom"
AC_SUBST([NULL_ATOM])
AC_CONFIG_FILES([Makefile
Emakefile
priv/Makefile])
AC_OUTPUT