Skip to content

Commit

Permalink
Use the AM_GNAT_LIBRARY_PROJECT
Browse files Browse the repository at this point in the history
  • Loading branch information
stcarrez committed Jun 30, 2018
1 parent d37b4dd commit b8a1683
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,6 @@ SECURITY_MINOR_VERSION=2
SECURITY_MICRO_VERSION=0
SECURITY_VERSION=$SECURITY_MAJOR_VERSION.$SECURITY_MINOR_VERSION.$SECURITY_MICRO_VERSION

AM_GNAT_CHECK_GPRBUILD

# checking for local tools
AC_PROG_MAKE_SET
AC_PROG_INSTALL
AC_PROG_LN_S

# Set the version number of Ada Server Faces
AC_SUBST(SECURITY_VERSION)
AC_SUBST(SECURITY_MAJOR_VERSION)
Expand All @@ -43,20 +36,13 @@ AC_SUBST(SECURITY_MICRO_VERSION)
SECURITY_LIBDIR="lib"
AC_SUBST(SECURITY_LIBDIR)

AC_MSG_CHECKING([number of processors])
NR_CPUS=`getconf _NPROCESSORS_CONF 2>/dev/null || getconf NPROCESSORS_CONF 2>/dev/null || echo 1`
AC_MSG_RESULT($NR_CPUS)
AC_SUBST(NR_CPUS)

AC_CHECK_PROG(HAVE_PANDOC,pandoc,yes)
AC_CHECK_PROG(HAVE_DYNAMO,dynamo,yes)

##########################################
# Check to enable/disable shared library
##########################################
AM_SHARED_LIBRARY_SUPPORT
AM_DISTRIB_SUPPORT
AM_COVERAGE_SUPPORT
AM_GNAT_LIBRARY_PROJECT(security)

##########################################
# Ada Util library
Expand All @@ -69,8 +55,6 @@ AM_GNAT_FIND_PROJECT([ada-util],[Ada Utility Library],[util],
])
AC_SUBST(UTIL_DIR)

AM_UTIL_CHECK_INSTALL

AC_OUTPUT(
Makefile security.gpr security_tests.gpr distrib/security.gpr
)

0 comments on commit b8a1683

Please sign in to comment.