📄 configure.ac
字号:
# Process this file with autoconf to produce a configure script.AC_PREREQ(2.59)AC_INIT(blitz, 0.8, blitz-bugs@oonumerics.org)AC_CONFIG_AUX_DIR(config)AC_CONFIG_SRCDIR(blitz/blitz.h)AC_CONFIG_HEADERS(blitz/config.h)AC_CANONICAL_TARGETAM_INIT_AUTOMAKE([foreign 1.8 dist-bzip2 nostdinc])# Avoid generating makefile rules to rebuild maintainer-only files by# default. Maintainers may override this default and generate these# makefile rules using the `--enable-maintainer-mode' configure option.AM_MAINTAINER_MODE# Blitz++ configure utility, generated by autoconf.## If you want to modify this file, make sure you are editing# configure.ac, and not configure. AC_MSG_NOTICE([Configuring $PACKAGE_STRING for $target])# Fortran compilerAC_LANG(Fortran 77)AC_PROG_F77([xlf ifort ifc f77 g77 pgf77 fort77])AC_LANG(Fortran)AC_PROG_FC([xlf90 ifort ifc f90 pgf90])if test x"$FC" != x; then AC_FC_FREEFORM(,FC=)fiif test x"$FC" != x; then AC_FC_SRCEXT(f90,,FC=)fiAC_FORTRAN_FLAGS_PRESET# C++ compilerAC_LANG(C++)AC_PROG_CXX([xlc++ icpc icc xlC cxx aCC CC g++ pgCC KCC FCC])AC_CXX_FLAGS_PRESET# Prefix config macros with BZ_ and create compiler-specific bzconfig.hAC_SET_COMPILER_SPECIFIC_HEADER# Doxygen documentationAC_PROG_DOXYGEN# Check if the script was called with --enable-64bit# and if so modify the compilation flags.AC_COMPILERS_ENABLE_64BITS# Disable shared library building by default (use --enable-shared to enable)AM_DISABLE_SHAREDAC_PROG_LIBTOOLAC_CHECK_LIB(m, sin)AC_LIB_BLAS# Check if the script was called with --enable-optimize or# --enable-debug, and if so modify the compilation flags.AC_CXX_ENABLE_OPTIMIZEAC_CXX_ENABLE_DEBUG# autoconf replacement of bzconfigAC_CHECK_CXX_FEATURES# Create the lib subdirectory by hand, since it has no Makefile.inif test ! -d lib ; then mkdir libfi# Summarize variablesAC_ENV# Process the Makefile.in'sAC_CONFIG_FILES([ Makefile bin/Makefile blitz/Makefile blitz/array/Makefile blitz/generate/Makefile blitz/meta/Makefile random/Makefile lib/Makefile testsuite/Makefile examples/Makefile benchmarks/Makefile benchmarks/plot_benchmarks.m doc/Makefile doc/examples/Makefile doc/stencils/Makefile doc/doxygen/Makefile doc/doxygen/Doxyfile ])# Obsolete makefiles## demos/Makefile# compiler/Makefile# manual/Makefile# manual/examples/Makefile# manual/stencils/Makefile# src/Makefile AX_CREATE_PKGCONFIG_INFOAC_OUTPUT# At some point in the future it would be nice to collect# information about machines, OSes and compilers which# people are using. Obviously this has to be handled in# a sensitive way. Current idea: send the output# of uname -a, $(target) and $(bz_compiler) via an# anonymous remailer. Prompt the user and give them# a chance to override this behaviour.# AC_SEND_CONFIGAC_INFO
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -