2013-12-10 16:14:06 +00:00
|
|
|
AC_INIT([H2], 0.1.0)
|
|
|
|
dnl AM_INIT_AUTOMAKE
|
|
|
|
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
|
2014-01-19 06:40:23 +00:00
|
|
|
lib/GNUmakefile
|
2013-12-10 16:14:06 +00:00
|
|
|
lib/lib.gpr
|
|
|
|
lib/libh2.gpr
|
|
|
|
cmd/Makefile
|
|
|
|
cmd/scheme.gpr
|
|
|
|
])
|
|
|
|
AC_OUTPUT
|