AC_ARG_VAR([DEBUG], [Build a debug version of the application])
AC_ARG_VAR([DEBUG], [Build a debug version of the application])
AC_ARG_VAR([MRC], [Specify a location for the mrc executable])
AC_ARG_VAR([MRC], [Specify a location for the mrc executable])
USE_RSRC=0
dnl We would like to use mrc
if test "x$MRC" = "x"; then
if test "x$MRC" = "x"; then
AC_PATH_PROG([MRC], [mrc])
AC_PATH_PROG([MRC], [mrc])
fi
fi
if test "x$MRC" = "x"; then
if test "x$MRC" = "x"; then
AC_MSG_WARN([The mrc application was not found, not using resources.])
AC_MSG_ERROR([mrc not found, the application will be built without resources])
else
AC_ARG_ENABLE(
resources,
[AS_HELP_STRING([--disable-resources], [Do not use mrc to store data in resources])])
AS_IF([test "x$enable_resources" != "xno" ], [
USE_RSRC=1
])
fi
fi
AC_SUBST([USE_RSRC], [$USE_RSRC])
dnl revision numbering is something used internally at the NKI
AC_ARG_ENABLE(
revision,
[AS_HELP_STRING([--disable-revision], [Create a build number as revision])])
AS_IF([test "x$enable_revision" != "xno" ], [
UPDATE_REVISION=1
])
AC_SUBST([UPDATE_REVISION], [$UPDATE_REVISION])
AC_DEFINE_UNQUOTED([USE_RSRC], [$USE_RSRC], [Use mrc to store resources])
AX_PTHREAD
AC_CHECK_HEADER([filesystem], [], [AC_MSG_ERROR([The file <filesystem> is missing, perhaps you should install a more recent libstdc++ implementation.])])
AC_CHECK_HEADER([filesystem], [], [AC_MSG_ERROR([The file <filesystem> is missing, perhaps you should install a more recent libstdc++ implementation.])])
("output",po::value<std::string>(),"Output to this file")
("dict",po::value<std::vector<std::string>>(),
("dict",po::value<std::vector<std::string>>(),
"Dictionary file containing restraints for residues in this specific target, can be specified multiple times.")
"Dictionary file containing restraints for residues in this specific target, can be specified multiple times.")
("help,h","Display help message")
("version","Print version")
("output-format",po::value<std::string>(),"Output format, can be either 'dssp' for classic DSSP or 'mmcif' for annotated mmCIF. The default is chosen based on the extension of the output file, if any.")
("output-format",po::value<std::string>(),"Output format, can be either 'dssp' for classic DSSP or 'mmcif' for annotated mmCIF. The default is chosen based on the extension of the output file, if any.")