⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 configure.in

📁 一个通用的隐性马尔可夫C代码库 开发环境:C语言 简要说明:这是一个通用的隐性马尔可夫C代码库
💻 IN
字号:
dnl  author       : Achim Gaedke, Peter Pipenbacherdnl  filename     : /zpr/bspk/src/hmm/ghmm/configure.indnl  created      : DATE: 2001-04-04dnl  $Id: configure.in,v 1.38.4.1 2004/06/11 13:24:49 wasinee Exp $dnl Copyright (C) 1998-2001, ZAIK/ZPR, Universit鋞 zu K鰈ndnl dnl This program is free software; you can redistribute it and/or modifydnl it under the terms of the GNU General Public License as published bydnl the Free Software Foundation; either version 2 of the License, ordnl (at your option) any later version.dnl dnl This program is distributed in the hope that it will be useful,dnl but WITHOUT ANY WARRANTY; without even the implied warranty ofdnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See thednl GNU General Public License for more details.dnl dnl You should have received a copy of the GNU General Public Licensednl along with this program; if not, write to the Free Softwarednl Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USAdnl dnl Process this file with autoconf to produce a configure script.AC_INIT(ghmm, 0.6-alpha)AC_CONFIG_SRCDIR(ghmm/smodel.c)AM_INIT_AUTOMAKEAM_CONFIG_HEADER(config.h)# info from http://www.cl.cam.ac.uk/texinfodoc/libtool_6.html#SEC33##current #    The most recent interface number that this library implements. #revision #    The implementation number of the current interface. #age The difference between the newest and oldest interfaces that this #    library implements. In other words, the library implements all the #    interface numbers in the range from number current - age to current. ##If two libraries have identical current and age numbers, then the dynamic #linker chooses the library with the greater revision number. ##Here are a set of rules to help you update your library version information: ##  1. Start with version information of `0:0:0' for each libtool library. #  2. Update the version information only immediately before a public release #     of your software. More frequent updates are unnecessary, and only#     guarantee that the current interface number gets larger faster. #  3. If the library source code has changed at all since the last update, #     then increment revision (`c:r:a' becomes `c:r+1:a'). #  4. If any interfaces have been added, removed, or changed since the last #     update, increment current, and set revision to 0. #  5. If any interfaces have been added since the last public release, then #     increment age. #  6. If any interfaces have been removed since the last public release, then #     set age to 0. GHMM_VERSION_CURRENT=0GHMM_VERSION_REVISION=6GHMM_VERSION_AGE=0GHMM_VERSION=$GHMM_VERSION_CURRENT.$GHMM_VERSION_REVISION.$GHMM_VERSION_AGEAC_SUBST(GHMM_VERSION_CURRENT)AC_SUBST(GHMM_VERSION_REVISION)AC_SUBST(GHMM_VERSION_AGE)AM_INIT_AUTOMAKE(ghmm,$GHMM_VERSION)dnl implicit in AM_INIT_AUTOMAKE...dnl AC_PROG_MAKE_SETdnl load CXXFLAGS from cacheif test -z "$CXXFLAGS"; then  AC_CACHE_CHECK(for CXXFLAGS, ac_cv_cxxflags,[ac_cv_cxxflags="-O2"]);  CXXFLAGS="$ac_cv_cxxflags"else  ac_cv_cxxflags="$CXXFLAGS"; fidnl load CFLAGS from cacheif test -z "$CFLAGS"; then  AC_CACHE_CHECK(for CFLAGS, ac_cv_cflags,[ac_cv_cflags="-O2"]);  CFLAGS="$ac_cv_cflags"else  ac_cv_cflags="$CFLAGS"; fidnl Checks for programs.AC_PROG_CCAC_PROG_CPPAC_PROG_CXXAC_PROG_CXXCPPAC_PROG_RANLIBAM_PROG_LIBTOOLAC_PROG_AWKAC_PATH_PROG(RM,rm)AC_PATH_PROG(DOCXX,doc++)AC_PATH_PROG(LATEX,latex)AC_PATH_PROG(DVIPS,dvips)AC_PATH_PROG(EXPECT_FOR_DEJAGNU,expect)AC_PATH_PROG(RUNTEST_FOR_DEJAGNU,runtest)dnl experimental things can be switched on or offAC_ARG_ENABLE(experimental,[  --enable-experimental   enable experimental features],if test "x$enable_experimental" != "xno" ; thenAC_DEFINE_UNQUOTED(__EXPERIMENTAL__,$enable_experimental,include experimental features)fi)dnl preparation for c++ useAC_LANG_CPLUSPLUSAC_CXX_HAVE_STLAC_CXX_NAMESPACESAC_CHECK_HEADERS(cstdio cstdlib cstring cerrno cmath cstdarg)XMLIO_CONFIG=""AC_ARG_WITH(xmlio,[  --with-xmlio=DIR        with xmlio library available at the given prefix],[  if test "x$with_xmlio" != "xno" ; then     AC_PATH_PROG(XMLIO_CONFIG,xmlio-config,,"$with_xmlio/bin:$PATH")  fi],[  AC_PATH_PROG(XMLIO_CONFIG,xmlio-config)])if test -z "$XMLIO_CONFIG" ; then    AC_WARN("no xml support")else    XMLIO_PREFIX=`$XMLIO_CONFIG --prefix`    XMLIO_INCLUDES=`$XMLIO_CONFIG --cppflags`    XMLIO_LIBS=`$XMLIO_CONFIG --libs`    AC_SUBST(XMLIO_PREFIX)    AC_SUBST(XMLIO_INCLUDES)    AC_SUBST(XMLIO_LIBS)fidnl following tests with CAC_LANG_Cdnl aborts on failurednl these macros are from acinclude.m4! (modified gsl.m4)AM_PATH_GSL(0.7,,AC_MSG_ERROR("GSL Version 0.7 or higher required."))LIBS="$LIBS $GSL_LIBS"CFLAGS="$CFLAGS $GSL_CFLAGS"CXXFLAGS="$CXXFLAGS $GSL_CFLAGS"dnl Checks for libraries.#AC_CHECK_LIB(pthread, pthread_join)dnl AC_ARG_WITH(expat,dnl [  --with-expat=DIR        with expat available at the given prefix],dnl [CPPFLAGS="$CPPFLAGS -I$with_expat/include"dnl LIBS="$LIBS -L$with_expat/lib"]dnl )dnl AC_CHECK_HEADERS(expat.h)dnl AC_CHECK_LIB(expat,XML_ParserCreate)dnl something experimentaldnl if test "x$enable_experimental" = "x1" || test "x$enable_experimental" = "xyes" ; thendnl evaluate experimental flagsdnl fidnl Checks for header files.AC_HEADER_STDCdnl Checks for typedefs, structures, and compiler characteristics.AC_C_CONSTAC_TYPE_SIZE_TAC_HEADER_TIMEAC_STRUCT_TMdnl AC_CHECK_FUNCS(tmpnam mkstemp)dnl AC_CHECK_FUNCS(gettimeofday)dnl checking for gsl_intevalAC_MSG_CHECKING([for gsl_inteval])AC_TRY_COMPILE([#include <gsl/gsl_roots.h>],[  gsl_interval x;],AC_MSG_RESULT(yes)AC_DEFINE(HAVE_GSL_INTERVAL,1,[struct gsl_interval exists]),AC_MSG_RESULT(no))dnl checking which root solver alloc function is usedAC_MSG_CHECKING([whether gsl_root_fsolver_alloc takes one argument])AC_TRY_COMPILE([#include <gsl/gsl_roots.h>],[ gsl_root_fsolver* s; s = gsl_root_fsolver_alloc (gsl_root_fsolver_bisection);],AC_MSG_RESULT(yes)AC_DEFINE(GSL_ROOT_FSLOVER_ALLOC_WITH_ONE_ARG,1,[root solver allocation takes only one argument]),AC_MSG_RESULT(no))dnl checking for gsl_histogram_set_ranges_uniformAC_MSG_CHECKING([for gsl_histogram_set_ranges_uniform])AC_TRY_LINK([#include <gsl/gsl_histogram.h>],[ gsl_histogram* h; (void)gsl_histogram_set_ranges_uniform(h,-10.0,10.0);],AC_MSG_RESULT(yes)AC_DEFINE(GSL_HISTOGRAM_SET_RANGES_UNIFORM,1,[gsl_histogram_set_ranges_uniform is defined]),AC_MSG_RESULT(no))dnl checking if gsl_sf_erf existsAC_MSG_CHECKING([for gsl_sf_erf])AC_TRY_LINK([#include <gsl/gsl_sf.h>],[ (void)gsl_sf_erf(0.0);],AC_MSG_RESULT(yes)AC_DEFINE(HAVE_GSL_SF_ERF,1,[gsl_sf_erf exists]),AC_MSG_RESULT(no))dnl checking if gsl_sf_erfc existsAC_MSG_CHECKING([for gsl_sf_erfc])AC_TRY_LINK([#include <gsl/gsl_sf.h>],[ (void)gsl_sf_erfc(0.0);],AC_MSG_RESULT(yes)AC_DEFINE(HAVE_GSL_SF_ERFC,1,[gsl_sf_erfc exists]),AC_MSG_RESULT(no))# substitute default prefix here, because I need it now test "x$prefix" = xNONE && prefix=$ac_default_prefixphi_data_file=`eval echo ${datadir}`/${PACKAGE}/PHI_001_20.datAC_DEFINE_UNQUOTED(PHI_DATA_FILE,"${phi_data_file}")AC_DEFINE(DO_WITH_GSL,1,[use GSL functions instead of ghmm interpolation algorithms])SUBDIRS="ghmm ghmmwrapper tools tests ghmm++"if test "$ac_cv_cxx_have_stl" = yes && test -n "$XMLIO_CONFIG" ; then SUBDIRS="$SUBDIRS ghmm++"fiAC_SUBST(SUBDIRS)AC_OUTPUT(Makefile \ghmm/Makefile \tools/Makefile \tests/Makefile \tests/data/Makefile \tools/ghmm-config \ghmmwrapper/Makefile \ghmm++/Makefile \ghmm++/examples/Makefile \)# Dana/Makefile #doc/Makefile \#doc/docu.dxx \#VisualC/Makefile \#VisualC/coin_toss_test/Makefile \#VisualC/coin_toss_test_pp/Makefile \#VisualC/ghmm/Makefile \#VisualC/ghmmpp/Makefile \

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -