ntpa/configure.ac

55 lines
1.3 KiB
Plaintext

dnl Process this file with autoconf to produce a configure script.
AC_PREREQ([2.54])
AC_INIT([ntpa], [0.8.2])
AM_INIT_AUTOMAKE([foreign])
AM_MAINTAINER_MODE
AC_PROG_INSTALL
AC_PATH_PROG(MCS, mcs, no)
if test "x$MCS" = "xno"; then
AC_MSG_ERROR([mcs Not found])
fi
AC_ARG_ENABLE(debug,
AC_HELP_STRING([--enable-debug],
[Use 'DEBUG' Configuration [default=NO]]),
enable_debug=yes, enable_debug=no)
AM_CONDITIONAL(ENABLE_DEBUG, test x$enable_debug = xyes)
if test "x$enable_debug" = "xyes" ; then
CONFIG_REQUESTED="yes"
fi
AC_ARG_ENABLE(release,
AC_HELP_STRING([--enable-release],
[Use 'RELEASE' Configuration [default=YES]]),
enable_release=yes, enable_release=no)
AM_CONDITIONAL(ENABLE_RELEASE, test x$enable_release = xyes)
if test "x$enable_release" = "xyes" ; then
CONFIG_REQUESTED="yes"
fi
if test -z "$CONFIG_REQUESTED" ; then
AM_CONDITIONAL(ENABLE_RELEASE, true)
enable_release=yes
fi
AC_CONFIG_FILES([
Ntp.Analyzer.Objects/Makefile
Ntp.Common/Makefile
Ntp.Analyzer.Monitor.Client/Makefile
Ntp.Data/Makefile
Ntp.Data.Provider/Makefile
Ntp.Analyzer.Monitor.Cli/Makefile
Ntp.Analyzer.Data/Makefile
Ntp.Analyzer.Import/Makefile
Ntp.Analyzer/Makefile
Ntp.Analyzer.Validate.Cli/Makefile
Ntp.Analyzer.Validate.Gui/Makefile
Ntp.Analyzer.Monitor.Server/Makefile
Ntp.Analyzer.Process/Makefile
Ntp.Analyzer.Cli/Makefile
Makefile
])
AC_OUTPUT