hcl/configure.ac

31 lines
529 B
Plaintext
Raw Normal View History

2013-12-10 16:14:06 +00:00
AC_INIT([H2], 0.1.0)
2014-06-04 17:15:52 +00:00
AC_CONFIG_HEADER([lib/config.h])
AC_CONFIG_AUX_DIR([ac])
AC_CONFIG_MACRO_DIR([ac])
AM_INIT_AUTOMAKE([-Wall -Werror foreign])
AC_LANG(C)
2013-12-10 16:14:06 +00:00
AC_PROG_CC
AC_ARG_WITH([ada-objdir],
[AS_HELP_STRING(--with-ada-objdir,specify ada object directory path)],
[ada_objdir=$withval]
)
if test -n "$ada_objdir"
then
AC_SUBST(ADA_OBJDIR, "$ada_objdir")
else
AC_SUBST(ADA_OBJDIR, "objdir")
fi
AC_CONFIG_FILES([
Makefile
lib/Makefile
lib/lib.gpr
lib/libh2.gpr
cmd/Makefile
cmd/scheme.gpr
])
AC_OUTPUT