m4trace:/usr/share/aclocal-1.9/amversion.m4:13: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"]) m4trace:/usr/share/aclocal-1.9/amversion.m4:20: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.9.6])]) m4trace:/usr/share/aclocal-1.9/auxdir.m4:52: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly. AC_PREREQ([2.50])dnl # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` ]) m4trace:/usr/share/aclocal-1.9/cond.m4:32: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl AC_SUBST([$1_TRUE]) AC_SUBST([$1_FALSE]) if $2; then $1_TRUE= $1_FALSE='#' else $1_TRUE='#' $1_FALSE= fi AC_CONFIG_COMMANDS_PRE( [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then AC_MSG_ERROR([[conditional "$1" was never defined. Usually this means the macro was only invoked conditionally.]]) fi])]) m4trace:/usr/share/aclocal-1.9/depend.m4:131: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl AC_REQUIRE([AM_MAKE_INCLUDE])dnl AC_REQUIRE([AM_DEP_TRACK])dnl ifelse([$1], CC, [depcc="$CC" am_compiler_list=], [$1], CXX, [depcc="$CXX" am_compiler_list=], [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], [depcc="$$1" am_compiler_list=]) AC_CACHE_CHECK([dependency style of $depcc], [am_cv_$1_dependencies_compiler_type], [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named `D' -- because `-MD' means `put the output # in D'. mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_$1_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` fi for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with # Solaris 8's {/usr,}/bin/sh. touch sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf case $depmode in nosideeffect) # after this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; none) break ;; esac # We check with `-c' and `-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle `-M -o', and we need to detect this. if depmode=$depmode \ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_$1_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_$1_dependencies_compiler_type=none fi ]) AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) AM_CONDITIONAL([am__fastdep$1], [ test "x$enable_dependency_tracking" != xno \ && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) ]) m4trace:/usr/share/aclocal-1.9/depend.m4:141: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl ]) m4trace:/usr/share/aclocal-1.9/depend.m4:156: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE(dependency-tracking, [ --disable-dependency-tracking speeds up one-time build --enable-dependency-tracking do not reject slow dependency extractors]) if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' fi AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) AC_SUBST([AMDEPBACKSLASH]) ]) m4trace:/usr/share/aclocal-1.9/depout.m4:53: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [for mf in $CONFIG_FILES; do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. # We used to match only the files named `Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. # So let's grep whole file. if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then dirpart=`AS_DIRNAME("$mf")` else continue fi # Extract the definition of DEPDIR, am__include, and am__quote # from the Makefile without running `make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` test -z "am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # When using ansi2knr, U may be empty or an underscore; expand it U=`sed -n 's/^U = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`AS_DIRNAME(["$file"])` AS_MKDIR_P([$dirpart/$fdir]) # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done ]) m4trace:/usr/share/aclocal-1.9/depout.m4:67: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles], [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) ]) m4trace:/usr/share/aclocal-1.9/init.m4:92: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.58])dnl dnl Autoconf wants to disallow AM_ names. We explicitly allow dnl the ones we care about. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl # test to see if srcdir already configured if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi AC_SUBST([CYGPATH_W]) # Define the identity of the package. dnl Distinguish between old-style and new-style calls. m4_ifval([$2], [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl AC_SUBST([PACKAGE], [$1])dnl AC_SUBST([VERSION], [$2])], [_AM_SET_OPTIONS([$1])dnl AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl _AM_IF_OPTION([no-define],, [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl # Some tools Automake needs. AC_REQUIRE([AM_SANITY_CHECK])dnl AC_REQUIRE([AC_ARG_PROGRAM])dnl AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) AM_MISSING_PROG(AUTOCONF, autoconf) AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) AM_MISSING_PROG(AUTOHEADER, autoheader) AM_MISSING_PROG(MAKEINFO, makeinfo) AM_PROG_INSTALL_SH AM_PROG_INSTALL_STRIP AC_REQUIRE([AM_PROG_MKDIR_P])dnl # We need awk for the "check" target. The system "awk" is bad on # some platforms. AC_REQUIRE([AC_PROG_AWK])dnl AC_REQUIRE([AC_PROG_MAKE_SET])dnl AC_REQUIRE([AM_SET_LEADING_DOT])dnl _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])]) _AM_IF_OPTION([no-dependencies],, [AC_PROVIDE_IFELSE([AC_PROG_CC], [_AM_DEPENDENCIES(CC)], [define([AC_PROG_CC], defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl AC_PROVIDE_IFELSE([AC_PROG_CXX], [_AM_DEPENDENCIES(CXX)], [define([AC_PROG_CXX], defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl ]) ]) m4trace:/usr/share/aclocal-1.9/init.m4:113: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers. _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $1 | $1:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count]) m4trace:/usr/share/aclocal-1.9/install-sh.m4:14: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl install_sh=${install_sh-"$am_aux_dir/install-sh"} AC_SUBST(install_sh)]) m4trace:/usr/share/aclocal-1.9/lead-dot.m4:21: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null AC_SUBST([am__leading_dot])]) m4trace:/usr/share/aclocal-1.9/make.m4:51: -1- AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo done .PHONY: am__doit END # If we don't find an include directive, just comment out the code. AC_MSG_CHECKING([for style of include used by $am_make]) am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # We grep out `Entering directory' and `Leaving directory' # messages which can occur if `w' ends up in MAKEFLAGS. # In particular we don't look at `^make:' because GNU make might # be invoked under some other name (usually "gmake"), in which # case it prints its new name instead of `make'. if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then am__include=include am__quote= _am_result=GNU fi # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then am__include=.include am__quote="\"" _am_result=BSD fi fi AC_SUBST([am__include]) AC_SUBST([am__quote]) AC_MSG_RESULT([$_am_result]) rm -f confinc confmf ]) m4trace:/usr/share/aclocal-1.9/missing.m4:17: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN]) $1=${$1-"${am_missing_run}$2"} AC_SUBST($1)]) m4trace:/usr/share/aclocal-1.9/missing.m4:34: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" # Use eval to expand $SHELL if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " else am_missing_run= AC_MSG_WARN([`missing' script is too old or missing]) fi ]) m4trace:/usr/share/aclocal-1.9/mkdirp.m4:63: -1- AC_DEFUN([AM_PROG_MKDIR_P], [if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then # We used to keeping the `.' as first argument, in order to # allow $(mkdir_p) to be used without argument. As in # $(mkdir_p) $(somedir) # where $(somedir) is conditionally defined. However this is wrong # for two reasons: # 1. if the package is installed by a user who cannot write `.' # make install will fail, # 2. the above comment should most certainly read # $(mkdir_p) $(DESTDIR)$(somedir) # so it does not work when $(somedir) is undefined and # $(DESTDIR) is not. # To support the latter case, we have to write # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), # so the `.' trick is pointless. mkdir_p='mkdir -p --' else # On NextStep and OpenStep, the `mkdir' command does not # recognize any option. It will interpret all options as # directories to create, and then abort because `.' already # exists. for d in ./-p ./--version; do test -d $d && rmdir $d done # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. if test -f "$ac_aux_dir/mkinstalldirs"; then mkdir_p='$(mkinstalldirs)' else mkdir_p='$(install_sh) -d' fi fi AC_SUBST([mkdir_p])]) m4trace:/usr/share/aclocal-1.9/options.m4:14: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) m4trace:/usr/share/aclocal-1.9/options.m4:20: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) m4trace:/usr/share/aclocal-1.9/options.m4:26: -1- AC_DEFUN([_AM_SET_OPTIONS], [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) m4trace:/usr/share/aclocal-1.9/options.m4:32: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) m4trace:/usr/share/aclocal-1.9/runlog.m4:17: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD (exit $ac_status); }]) m4trace:/usr/share/aclocal-1.9/sanity.m4:51: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) # Just in case sleep 1 echo timestamp > conftest.file # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` if test "$[*]" = "X"; then # -L didn't work. set X `ls -t $srcdir/configure conftest.file` fi rm -f conftest.file if test "$[*]" != "X $srcdir/configure conftest.file" \ && test "$[*]" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken alias in your environment]) fi test "$[2]" = conftest.file ) then # Ok. : else AC_MSG_ERROR([newly created file is older than distributed files! Check your system clock]) fi AC_MSG_RESULT(yes)]) m4trace:/usr/share/aclocal-1.9/strip.m4:28: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl # Installed binaries are usually stripped using `strip' when the user # run `make install-strip'. However `strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the `STRIP' environment variable to overrule this program. dnl Don't test for $cross_compiling = yes, because it might be `maybe'. if test "$cross_compiling" != no; then AC_CHECK_TOOL([STRIP], [strip], :) fi INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) m4trace:/usr/share/aclocal-1.9/tar.m4:95: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. AM_MISSING_PROG([AMTAR], [tar]) m4_if([$1], [v7], [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], [m4_case([$1], [ustar],, [pax],, [m4_fatal([Unknown tar format])]) AC_MSG_CHECKING([how to create a $1 tar archive]) # Loop over all known methods to create a tar archive until one works. _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' _am_tools=${am_cv_prog_tar_$1-$_am_tools} # Do not fold the above two line into one, because Tru64 sh and # Solaris sh will not grok spaces in the rhs of `-'. for _am_tool in $_am_tools do case $_am_tool in gnutar) for _am_tar in tar gnutar gtar; do AM_RUN_LOG([$_am_tar --version]) && break done am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' am__untar="$_am_tar -xf -" ;; plaintar) # Must skip GNU tar: if it does not support --format= it doesn't create # ustar tarball either. (tar --version) >/dev/null 2>&1 && continue am__tar='tar chf - "$$tardir"' am__tar_='tar chf - "$tardir"' am__untar='tar xf -' ;; pax) am__tar='pax -L -x $1 -w "$$tardir"' am__tar_='pax -L -x $1 -w "$tardir"' am__untar='pax -r' ;; cpio) am__tar='find "$$tardir" -print | cpio -o -H $1 -L' am__tar_='find "$tardir" -print | cpio -o -H $1 -L' am__untar='cpio -i -H $1 -d' ;; none) am__tar=false am__tar_=false am__untar=false ;; esac # If the value was cached, stop now. We just wanted to have am__tar # and am__untar set. test -n "${am_cv_prog_tar_$1}" && break # tar/untar a dummy directory, and stop if the command works rm -rf conftest.dir mkdir conftest.dir echo GrepMe > conftest.dir/file AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) rm -rf conftest.dir if test -s conftest.tar; then AM_RUN_LOG([$am__untar /dev/null 2>&1 && break fi done rm -rf conftest.dir AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) AC_MSG_RESULT([$am_cv_prog_tar_$1])]) AC_SUBST([am__tar]) AC_SUBST([am__untar]) ]) m4trace:m4/ax_boost_base.m4:271: -1- AC_DEFUN([AX_BOOST_BASE], [ AC_ARG_WITH([boost], [AS_HELP_STRING([--with-boost=BOOST_DIR], [use Boost library from the specified location])], [ want_boost="yes" if test -z "$withval"; then AC_MSG_ERROR(--with-boost requires directory path) else ac_boost_path="$withval" fi ], [want_boost="yes"]) AC_ARG_WITH([boost-libdir], AS_HELP_STRING([--with-boost-libdir=LIB_DIR], [Force given directory for boost libraries. Note that this will override library path detection, so use this parameter only if default library detection fails and you know exactly where your boost libraries are located.]), [ if test -d "$withval" then ac_boost_lib_path="$withval" else AC_MSG_ERROR(--with-boost-libdir expected directory name) fi ], [ac_boost_lib_path=""] ) if test "x$want_boost" = "xyes"; then boost_lib_version_req=ifelse([$1], ,1.20.0,$1) boost_lib_version_req_shorten=`expr $boost_lib_version_req : '\([[0-9]]*\.[[0-9]]*\)'` boost_lib_version_req_major=`expr $boost_lib_version_req : '\([[0-9]]*\)'` boost_lib_version_req_minor=`expr $boost_lib_version_req : '[[0-9]]*\.\([[0-9]]*\)'` boost_lib_version_req_sub_minor=`expr $boost_lib_version_req : '[[0-9]]*\.[[0-9]]*\.\([[0-9]]*\)'` if test "x$boost_lib_version_req_sub_minor" = "x" ; then boost_lib_version_req_sub_minor="0" fi WANT_BOOST_VERSION=`expr $boost_lib_version_req_major \* 100000 \+ $boost_lib_version_req_minor \* 100 \+ $boost_lib_version_req_sub_minor` AC_MSG_CHECKING(for boostlib >= $boost_lib_version_req) succeeded=no dnl On 64-bit systems check for system libraries in both lib64 and lib. dnl The former is specified by FHS, but e.g. Debian does not adhere to dnl this (as it rises problems for generic multi-arch support). dnl The last entry in the list is chosen by default when no libraries dnl are found, e.g. when only header-only libraries are installed! libsubdirs="lib" ax_arch=`uname -m` case $ax_arch in x86_64|ppc64|s390x|sparc64|aarch64) libsubdirs="lib64 lib lib64" ;; esac dnl first we check the system location for boost libraries dnl this location ist chosen if boost libraries are installed with the --layout=system option dnl or if you install boost with RPM if test "$ac_boost_path" != ""; then BOOST_DIR=$ac_boost_path BOOST_CPPFLAGS="-I$ac_boost_path/include" for ac_boost_path_tmp in $libsubdirs; do if test -d "$ac_boost_path"/"$ac_boost_path_tmp" ; then BOOST_LDFLAGS="-L$ac_boost_path/$ac_boost_path_tmp" break fi done elif test "$cross_compiling" != yes; then for ac_boost_path_tmp in /usr /usr/local /opt /opt/local ; do if test -d "$ac_boost_path_tmp/include/boost" && test -r "$ac_boost_path_tmp/include/boost"; then for libsubdir in $libsubdirs ; do if ls "$ac_boost_path_tmp/$libsubdir/libboost_"* >/dev/null 2>&1 ; then break; fi done BOOST_DIR=$ac_boost_path_tmp BOOST_LDFLAGS="-L$ac_boost_path_tmp/$libsubdir" BOOST_CPPFLAGS="-I$ac_boost_path_tmp/include" break; fi done fi dnl overwrite ld flags if we have required special directory with dnl --with-boost-libdir parameter if test "$ac_boost_lib_path" != ""; then BOOST_LDFLAGS="-L$ac_boost_lib_path" fi CPPFLAGS_SAVED="$CPPFLAGS" CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS" export CPPFLAGS LDFLAGS_SAVED="$LDFLAGS" LDFLAGS="$LDFLAGS $BOOST_LDFLAGS" export LDFLAGS AC_REQUIRE([AC_PROG_CXX]) AC_LANG_PUSH(C++) AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ @%:@include ]], [[ #if BOOST_VERSION >= $WANT_BOOST_VERSION // Everything is okay #else # error Boost version is too old #endif ]])],[ AC_MSG_RESULT(yes) succeeded=yes found_system=yes ],[ ]) AC_LANG_POP([C++]) dnl if we found no boost with system layout we search for boost libraries dnl built and installed without the --layout=system option or for a staged(not installed) version if test "x$succeeded" != "xyes"; then _version=0 if test "$ac_boost_path" != ""; then if test -d "$ac_boost_path" && test -r "$ac_boost_path"; then for i in `ls -d $ac_boost_path/include/boost-* 2>/dev/null`; do _version_tmp=`echo $i | sed "s#$ac_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'` V_CHECK=`expr $_version_tmp \> $_version` if test "$V_CHECK" = "1" ; then _version=$_version_tmp fi BOOST_DIR=$ac_boost_path VERSION_UNDERSCORE=`echo $_version | sed 's/\./_/'` BOOST_CPPFLAGS="-I$ac_boost_path/include/boost-$VERSION_UNDERSCORE" done fi else if test "$cross_compiling" != yes; then for ac_boost_path in /usr /usr/local /opt /opt/local ; do if test -d "$ac_boost_path" && test -r "$ac_boost_path"; then for i in `ls -d $ac_boost_path/include/boost-* 2>/dev/null`; do _version_tmp=`echo $i | sed "s#$ac_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'` V_CHECK=`expr $_version_tmp \> $_version` if test "$V_CHECK" = "1" ; then _version=$_version_tmp best_path=$ac_boost_path fi done fi done BOOST_DIR=$best_path VERSION_UNDERSCORE=`echo $_version | sed 's/\./_/'` BOOST_CPPFLAGS="-I$best_path/include/boost-$VERSION_UNDERSCORE" if test "$ac_boost_lib_path" = ""; then for libsubdir in $libsubdirs ; do if ls "$best_path/$libsubdir/libboost_"* >/dev/null 2>&1 ; then break; fi done BOOST_LDFLAGS="-L$best_path/$libsubdir" fi fi if test "x$BOOST_ROOT" != "x"; then for libsubdir in $libsubdirs ; do if ls "$BOOST_ROOT/stage/$libsubdir/libboost_"* >/dev/null 2>&1 ; then break; fi done if test -d "$BOOST_ROOT" && test -r "$BOOST_ROOT" && test -d "$BOOST_ROOT/stage/$libsubdir" && test -r "$BOOST_ROOT/stage/$libsubdir"; then version_dir=`expr //$BOOST_ROOT : '.*/\(.*\)'` stage_version=`echo $version_dir | sed 's/boost_//' | sed 's/_/./g'` stage_version_shorten=`expr $stage_version : '\([[0-9]]*\.[[0-9]]*\)'` V_CHECK=`expr $stage_version_shorten \>\= $_version` if test "$V_CHECK" = "1" -a "$ac_boost_lib_path" = "" ; then AC_MSG_NOTICE(We will use a staged boost library from $BOOST_ROOT) BOOST_DIR=$BOOST_ROOT BOOST_CPPFLAGS="-I$BOOST_ROOT" BOOST_LDFLAGS="-L$BOOST_ROOT/stage/$libsubdir" fi fi fi fi CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS" export CPPFLAGS LDFLAGS="$LDFLAGS $BOOST_LDFLAGS" export LDFLAGS AC_LANG_PUSH(C++) AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ @%:@include ]], [[ #if BOOST_VERSION >= $WANT_BOOST_VERSION // Everything is okay #else # error Boost version is too old #endif ]])],[ AC_MSG_RESULT(yes) succeeded=yes found_system=yes ],[ ]) AC_LANG_POP([C++]) fi BOOST_VERSION=`cat $BOOST_DIR/include/boost/version.hpp | grep BOOST_VERSION | grep \#define | grep -v HPP | awk '{print $NF}'` if test "$succeeded" != "yes" ; then if test "$_version" = "0" ; then AC_MSG_NOTICE([[We could not detect the boost libraries (version $boost_lib_version_req_shorten or higher). If you have a staged boost library (still not installed) please specify \$BOOST_ROOT in your environment and do not give a PATH to --with-boost option. If you are sure you have boost installed, then check your version number looking in . See http://randspringer.de/boost for more documentation.]]) else AC_MSG_NOTICE([Your boost libraries seem too old (version $BOOST_VERSION).]) fi # execute ACTION-IF-NOT-FOUND (if present): ifelse([$3], , :, [$3]) else AC_SUBST(BOOST_CPPFLAGS) AC_SUBST(BOOST_LDFLAGS) AC_DEFINE(HAVE_BOOST,,[define if the Boost library is available]) AC_DEFINE(BOOST_DIR, $BOOST_DIR, [define Boost directory path]) AC_DEFINE(BOOST_CPPFLAGS, $BOOST_CPPFLAGS, [define Boost CPPFLAGS]) AC_DEFINE(BOOST_LDFLAGS, $BOOST_LDFLAGS, [define Boost LDFLAGS]) AC_MSG_NOTICE([Using boost version $BOOST_VERSION]) # execute ACTION-IF-FOUND (if present): ifelse([$2], , :, [$2]) fi CPPFLAGS="$CPPFLAGS_SAVED" LDFLAGS="$LDFLAGS_SAVED" fi ]) m4trace:m4/ax_boost_python.m4:91: -1- AC_DEFUN([AX_BOOST_PYTHON], [AC_REQUIRE([AX_PYTHON_DEVEL])dnl AC_CACHE_CHECK(whether the Boost::Python library is available, ac_cv_boost_python, [AC_LANG_SAVE AC_LANG_CPLUSPLUS CPPFLAGS_SAVE="$CPPFLAGS" if test x$PYTHON_CPPFLAGS != x; then CPPFLAGS="$PYTHON_CPPFLAGS $CPPFLAGS" fi AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include using namespace boost::python; BOOST_PYTHON_MODULE(test) { throw "Boost::Python test."; }]], [[return 0;]])], ac_cv_boost_python=yes, ac_cv_boost_python=no) AC_LANG_RESTORE CPPFLAGS="$CPPFLAGS_SAVE" ]) if test "$ac_cv_boost_python" = "yes"; then AC_DEFINE(HAVE_BOOST_PYTHON,,[define if the Boost::Python library is available]) ax_python_lib=boost_python AC_ARG_WITH([boost-python],AS_HELP_STRING([--with-boost-python],[specify yes/no or the boost python library or suffix to use]), [if test "x$with_boost_python" != "xno"; then ax_python_lib=$with_boost_python ax_boost_python_lib=boost_python-$with_boost_python fi]) BOOSTLIBDIR=`echo $BOOST_LDFLAGS | sed -e 's/@<:@^\/@:>@*//'` for ax_lib in `ls $BOOSTLIBDIR/libboost_python*.so* $BOOSTLIBDIR/libboost_python*.dylib* $BOOSTLIBDIR/libboost_python*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_python.*\)\.so.*$;\1;' -e 's;^lib\(boost_python.*\)\.dylib.*$;\1;' -e 's;^lib\(boost_python.*\)\.a.*$;\1;' ` $ax_python_lib $ax_boost_python_lib boost_python; do AC_CHECK_LIB($ax_lib, exit, [BOOST_PYTHON_LIB=$ax_lib break], , [$PYTHON_LDFLAGS]) done AC_SUBST(BOOST_PYTHON_LIB) fi ]) m4trace:m4/ax_epics4.m4:273: -1- AC_DEFUN([AX_EPICS4], [AC_ARG_WITH([epics4], [AS_HELP_STRING([--with-epics4=EPICS4_DIR], [Use EPICS4 from the specified location]) ], [ if test -z "$withval"; then AC_MSG_ERROR(--with-epics4 requires directory name) else ac_epics4_dir_path="$withval" fi ], [ac_epics4_dir_path=""]) if test -z "$ac_epics4_dir_path"; then if test -z "$EPICS4_DIR"; then ac_epics4_dir_path="/usr/local/epics4" else ac_epics4_dir_path=$EPICS4_DIR fi fi AC_MSG_CHECKING(for EPICS4 directory $ac_epics4_dir_path) if ! test -d "$ac_epics4_dir_path"; then AC_MSG_ERROR($ac_epics4_dir_path is not a valid directory path) fi pvaccesscpp_dir="$ac_epics4_dir_path/pvAccessCPP" pvdatacpp_dir="$ac_epics4_dir_path/pvDataCPP" normativetypescpp_dir="$ac_epics4_dir_path/normativeTypesCPP" pvaclientcpp_dir="$ac_epics4_dir_path/pvaClientCPP" epics4_version_h="$pvaccesscpp_dir/include/pv/pvaVersion.h" if ! test -f "$epics4_version_h"; then pvaccesscpp_dir="$ac_epics4_dir_path" pvdatacpp_dir="$ac_epics4_dir_path" normativetypescpp_dir="$ac_epics4_dir_path" pvaclientcpp_dir="$ac_epics4_dir_path" epics4_version_h="$pvaccesscpp_dir/include/pv/pvaVersion.h" fi if ! test -f "$epics4_version_h"; then AC_MSG_RESULT([no]) AC_MSG_ERROR(could not find valid EPICS4 installation in $ac_epics4_dir_path: no version header file $epics_version_h) fi AC_MSG_RESULT([yes]) # define EPICS4_DIR EPICS4_DIR=$ac_epics4_dir_path # determine requested version epics4_version_req=ifelse([$1], , $DEFAULT_EPICS4_VERSION, $1) AC_MSG_CHECKING(for EPICS4 >= $epics4_version_req) epics4_version_req_major=`expr $epics4_version_req : '\([[0-9]]*\)'` epics4_version_req_minor=`expr $epics4_version_req : '[[0-9]]*\.\([[0-9]]*\)'` epics4_version_req_sub_minor=`expr $epics4_version_req : '[[0-9]]*\.[[0-9]]*\.\([[0-9]]*\)'` if test "x$epics4_version_req_sub_minor" = "x" ; then epics4_version_req_sub_minor="0" epics4_version_req_patch="0" else epics4_version_req_patch=`expr $epics4_version_req : '[[0-9]]*\.[[0-9]]*\.[[0-9]]*\.\([[0-9]]*\)'` if test "x$epics4_version_req_patch" = "x" ; then epics4_version_req_patch="0" fi fi # get epics4 version info # assume release version is always 4 epics4_version_release=4 epics4_version_major=`grep EPICS_PVA_MAJOR_VERSION $epics4_version_h | head -1 | awk '{print $NF}' | sed $'s/\r//'` epics4_version_minor=`grep EPICS_PVA_MINOR_VERSION $epics4_version_h | head -1 | awk '{print $NF}' | sed $'s/\r//'` epics4_version_maintenance=`grep EPICS_PVA_MAINTENANCE_VERSION $epics4_version_h | head -1 | awk '{print $NF}' | sed $'s/\r//'` # test version want_epics4_version=`expr $epics4_version_req_major \* 1000000 \+ $epics4_version_req_minor \* 10000 \+ $epics4_version_req_sub_minor \* 100 \+ $epics4_version_req_patch` have_epics4_version=`expr $epics4_version_release \* 1000000 \+ $epics4_version_major \* 10000 \+ $epics4_version_minor \* 100 \+ $epics4_version_maintenance` if ! test $have_epics4_version -ge $want_epics4_version; then AC_MSG_RESULT([no]) AC_MSG_ERROR("EPICS4 installation in $ac_epics4_dir_path is too old (required: $want_epics4_version, found: $have_epics4_version)") fi AC_MSG_RESULT([yes]) # test basic libraries AC_MSG_CHECKING(for usable EPICS4 libraries for $EPICS_OS_CLASS OS ($EPICS_CMPLR_CLASS compiler) and host architecture $EPICS_HOST_ARCH) pva_api_version=430 pva_rpc_api_version=430 CPPFLAGS_SAVED="$CPPFLAGS" CPPFLAGS="$CPPFLAGS $EPICS_CPPFLAGS -I$EPICS_BASE/include -I$EPICS_BASE/include/os/$EPICS_OS_CLASS -I$EPICS_BASE/include/compiler/$EPICS_CMPLR_CLASS -I$pvdatacpp_dir/include -I$pvaccesscpp_dir/include" export CPPFLAGS LDFLAGS_SAVED="$LDFLAGS" LDFLAGS="$LDFLAGS $EPICS_LDFLAGS" LDFLAGS="$LDFLAGS -L$EPICS_BASE/lib/$EPICS_HOST_ARCH -L$pvdatacpp_dir/lib/$EPICS_HOST_ARCH -L$pvaccesscpp_dir/lib/$EPICS_HOST_ARCH" export LDFLAGS LIBS="-lpvAccess -lpvData -lCom" export LIBS succeeded=no AC_REQUIRE([AC_PROG_CXX]) AC_LANG_PUSH([C++]) AC_LINK_IFELSE([AC_LANG_PROGRAM( [[ #include "pv/pvAccess.h" #include "pv/pvData.h" ]], [[ epics::pvData::FieldConstPtrArray fields; ]]) ],[succeeded=yes],[succeeded=no]) AC_LINK_IFELSE([AC_LANG_PROGRAM( [[ #include "pv/pvAccess.h" #include "pv/pvData.h" class RequesterImpl : public epics::pvData::Requester { public: RequesterImpl(const epics::pvData::String& requesterName) {} virtual epics::pvData::String getRequesterName() { return "requester"; } virtual void message(const epics::pvData::String& message, epics::pvData::MessageType messageType) {} }; ]], [[ epics::pvData::Requester::shared_pointer requester(new RequesterImpl("Channel")); epics::pvData::PVStructure::shared_pointer pvRequest = epics::pvAccess::getCreateRequest()->createRequest("field(value)", requester); ]]) ],[pva_api_version=430],[pva_api_version=440]) AC_LANG_POP([C++]) # Check for pvaClient API CPPFLAGS_NO_PVACLIENTCPP=$CPPFLAGS CPPFLAGS="$CPPFLAGS -I$normativetypescpp_dir/include -I$pvaclientcpp_dir/include" LDFLAGS_NO_PVACLIENTCPP=$LDFLAGS LDFLAGS="$LDFLAGS -L$pvaclientcpp_dir/lib/$EPICS_HOST_ARCH -L$normativetypescpp_dir/lib/$EPICS_HOST_ARCH" LIBS_NO_PVACLIENTCPP=$LIBS LIBS="-lpvaClient -lpvAccess -lnt -lpvData -lCom" AC_REQUIRE([AC_PROG_CXX]) AC_LANG_PUSH([C++]) AC_LINK_IFELSE([AC_LANG_PROGRAM( [[ #include "pv/pvaClient.h" ]], [[ epics::pvaClient::PvaClientChannelPtr pvaClientChannel; ]]) ],[pva_client_cpp=yes],[pva_client_cpp=no]) AC_LANG_POP([C++]) if test "$succeeded" != "yes" ; then AC_MSG_RESULT([no]) AC_MSG_ERROR(could not compile and link EPICS4 test code: check your EPICS4 installation) else AC_SUBST(NORMATIVETYPESCPP_DIR, "") AC_SUBST(PVACLIENTCPP_DIR, "") if test "$pva_client_cpp" == "yes" ; then pva_api_version=450 AC_SUBST(NORMATIVETYPESCPP_DIR, $normativetypescpp_dir) AC_SUBST(PVACLIENTCPP_DIR, $pvaclientcpp_dir) fi AC_MSG_RESULT([yes (pva api version: $pva_api_version)]) AC_DEFINE(HAVE_EPICS4,,[define if the EPICS4 libraries are available]) AC_DEFINE(PVA_API_VERSION,$pva_api_version,[define PVA API version]) AC_SUBST(PVA_API_VERSION, $pva_api_version) AC_SUBST(EPICS4_DIR) AC_SUBST(PVDATACPP_DIR, $pvdatacpp_dir) AC_SUBST(PVACCESSCPP_DIR, $pvaccesscpp_dir) fi CPPFLAGS=$CPPFLAGS_NO_PVACLIENTCPP LDFLAGS=$LDFLAGS_NO_PVACLIENTCPP LIBS=$LIBS_NO_PVACLIENTCPP AC_MSG_CHECKING(EPICS4 PVA RPC API version) succeeded=no AC_REQUIRE([AC_PROG_CXX]) AC_LANG_PUSH([C++]) AC_LINK_IFELSE([AC_LANG_PROGRAM( [[ #include "pv/pvAccess.h" #include "pv/pvData.h" #include "pv/event.h" #include "pv/rpcClient.h" ]], [[ epics::pvAccess::RPCClient::shared_pointer rpcClient; ]]) ],[succeeded=yes],[succeeded=no]) AC_LINK_IFELSE([AC_LANG_PROGRAM( [[ #include "pv/rpcClient.h" ]], [[ epics::pvAccess::RPCClientFactory::create("Channel"); ]]) ],[pva_rpc_api_version1=430],[pva_rpc_api_version1=undefined]) AC_LINK_IFELSE([AC_LANG_PROGRAM( [[ #include "pv/event.h" #include "pv/rpcClient.h" ]], [[ epics::pvData::PVStructure::shared_pointer pvRequest; epics::pvAccess::RPCClient::shared_pointer rpcClient = epics::pvAccess::RPCClient::create("Channel", pvRequest); ]]) ],[pva_rpc_api_version2=435],[pva_rpc_api_version2=undefined]) AC_LINK_IFELSE([AC_LANG_PROGRAM( [[ #include "pv/rpcClient.h" ]], [[ epics::pvAccess::RPCClient::create("Channel"); ]]) ],[pva_rpc_api_version3=440],[pva_rpc_api_version3=undefined]) AC_LANG_POP([C++]) pva_rpc_api_version="undefined" if test "$pva_rpc_api_version1" != "undefined" ; then pva_rpc_api_version=$pva_rpc_api_version1 elif test "$pva_rpc_api_version2" != "undefined" ; then pva_rpc_api_version=$pva_rpc_api_version2 elif test "$pva_rpc_api_version3" != "undefined" ; then pva_rpc_api_version=$pva_rpc_api_version3 fi if test "$succeeded" != "yes" ; then AC_MSG_RESULT([unknown]) AC_MSG_ERROR(could not compile and link EPICS4 RPC test code: check your EPICS4 installation) elif test "$pva_rpc_api_version" == "undefined" ; then AC_MSG_RESULT([unknown]) AC_MSG_ERROR(could not determine EPICS4 RPC API version: check your EPICS4 installation) else AC_MSG_RESULT([$pva_rpc_api_version]) AC_DEFINE(PVA_RPC_API_VERSION,$pva_rpc_api_version,[define PVA RPC API version]) AC_SUBST(PVA_RPC_API_VERSION, $pva_rpc_api_version) fi CPPFLAGS="$CPPFLAGS_SAVED" LDFLAGS="$LDFLAGS_SAVED" ]) m4trace:m4/ax_epics_base.m4:158: -1- AC_DEFUN([AX_EPICS_BASE], [AC_ARG_WITH([epics-base], [AS_HELP_STRING([--with-epics-base=EPICS_BASE], [Use EPICS from the specified location]) ], [ if test -z "$withval"; then AC_MSG_ERROR(--with-epics-base requires directory name) else ac_epics_base_path="$withval" fi ], [ac_epics_base_path=""]) if test -z "$ac_epics_base_path"; then if test -z "$EPICS_BASE"; then ac_epics_base_path="/usr/local/epics/base" else ac_epics_base_path=$EPICS_BASE fi fi AC_MSG_CHECKING(for EPICS base directory $ac_epics_base_path) if ! test -d "$ac_epics_base_path"; then AC_MSG_ERROR($ac_epics_base_path is not a valid directory path) fi epics_version_h="$ac_epics_base_path/include/epicsVersion.h" if ! test -f "$epics_version_h"; then AC_MSG_RESULT([no]) AC_MSG_ERROR(could not find valid EPICS base installation in $ac_epics_base_path: no version header file $epics_version_h) fi AC_MSG_RESULT([yes]) # define EPICS_BASE EPICS_BASE=$ac_epics_base_path # determine requested version epics_version_req=ifelse([$1], , $DEFAULT_EPICS_VERSION, $1) AC_MSG_CHECKING(for EPICS base >= $epics_version_req) epics_version_req_major=`expr $epics_version_req : '\([[0-9]]*\)'` epics_version_req_minor=`expr $epics_version_req : '[[0-9]]*\.\([[0-9]]*\)'` epics_version_req_sub_minor=`expr $epics_version_req : '[[0-9]]*\.[[0-9]]*\.\([[0-9]]*\)'` if test "x$epics_version_req_sub_minor" = "x" ; then epics_version_req_sub_minor="0" epics_version_req_patch="0" else epics_version_req_patch=`expr $epics_version_req : '[[0-9]]*\.[[0-9]]*\.[[0-9]]*\.\([[0-9]]*\)'` if test "x$epics_version_req_patch" = "x" ; then epics_version_req_patch="0" fi fi # get epics version info epics_version_major=`grep EPICS_VERSION $epics_version_h | head -1 | awk '{print $NF}' | sed $'s/\r//'` epics_version_minor=`grep EPICS_REVISION $epics_version_h | head -1 | awk '{print $NF}' | sed $'s/\r//'` epics_version_sub_minor=`grep EPICS_MODIFICATION $epics_version_h | head -1 | awk '{print $NF}' | sed $'s/\r//'` epics_version_patch=`grep EPICS_PATCH_LEVEL $epics_version_h | head -1 | awk '{print $NF}' | sed $'s/\r//'` # test version want_epics_version=`expr $epics_version_req_major \* 1000000 \+ $epics_version_req_minor \* 10000 \+ $epics_version_req_sub_minor \* 100 \+ $epics_version_req_patch` have_epics_version=`expr $epics_version_major \* 1000000 \+ $epics_version_minor \* 10000 \+ $epics_version_sub_minor \* 100 \+ $epics_version_patch` if ! test $have_epics_version -ge $want_epics_version; then AC_MSG_RESULT([no]) AC_MSG_ERROR("EPICS base installation in $ac_epics_base_path is too old (required: $want_epics_version, found: $have_epics_version)") fi AC_MSG_RESULT([yes]) # determine epics host arch if test -z "$EPICS_HOST_ARCH"; then EPICS_HOST_ARCH=`$ac_epics_base_path/startup/EpicsHostArch` fi if test -z "$EPICS_HOST_ARCH"; then AC_MSG_ERROR(could not determine EPICS host architecture) fi # test basic libraries # need to determine OS class first epics_host_arch_main=`echo $EPICS_HOST_ARCH | cut -f1 -d'-'` EPICS_OS_CLASS=`grep OS_CLASS $EPICS_BASE/configure/os/CONFIG.*Common.${epics_host_arch_main}* | head -1 | awk '{print $NF}'` # need to determine CMPLR_CLASS, which is *hard*, so # TODO: remove this hardcoded setting with the correct one from the EPICS configure directory EPICS_CMPLR_CLASS=gcc AC_MSG_CHECKING(for usable EPICS base libraries for $EPICS_OS_CLASS OS ($EPICS_CMPLR_CLASS compiler) and host architecture $EPICS_HOST_ARCH) succeeded=no CPPFLAGS_SAVED="$CPPFLAGS" CPPFLAGS="$CPPFLAGS $EPICS_CPPFLAGS -I$EPICS_BASE/include -I$EPICS_BASE/include/os/$EPICS_OS_CLASS -I$EPICS_BASE/include/compiler/$EPICS_CMPLR_CLASS" export CPPFLAGS LDFLAGS_SAVED="$LDFLAGS" LDFLAGS="$LDFLAGS $EPICS_LDFLAGS" #LDFLAGS="$LDFLAGS -L$EPICS_BASE/lib/$EPICS_HOST_ARCH -lca" LDFLAGS="$LDFLAGS -L$EPICS_BASE/lib/$EPICS_HOST_ARCH" export LDFLAGS export LIBS="-lca" export LIBS AC_REQUIRE([AC_PROG_CXX]) AC_LANG_PUSH([C++]) AC_LINK_IFELSE([AC_LANG_PROGRAM( [[#include ]], [[ca_context_create(ca_enable_preemptive_callback);]]) ],[succeeded=yes],[succeeded=no]) AC_LANG_POP([C++]) if test "$succeeded" != "yes" ; then AC_MSG_RESULT([no]) AC_MSG_ERROR(could not compile and link EPICS test code: check your EPICS base installation) else AC_MSG_RESULT([yes]) AC_DEFINE(HAVE_EPICS, , [define if the EPICS base is available]) AC_SUBST(EPICS_BASE) AC_SUBST(EPICS_HOST_ARCH) AC_SUBST(EPICS_OS_CLASS) AC_SUBST(EPICS_CMPLR_CLASS) fi CPPFLAGS="$CPPFLAGS_SAVED" LDFLAGS="$LDFLAGS_SAVED" ]) m4trace:m4/ax_pva_py.m4:144: -1- AC_DEFUN([AX_PVA_PY], [AC_ARG_WITH([top], [AS_HELP_STRING([--with-top=TOP_DIR], [Path to TOP from the current directory]) ], [ if test -z "$withval"; then AC_MSG_ERROR(--with-top requires directory path) else ac_top_path="$withval" fi ], [ac_top_path=""]) if test -z "$ac_top_path"; then if test -z "$TOP"; then ac_top_path="." else ac_top_path="$TOP" fi fi AC_MSG_CHECKING(for TOP directory $ac_top_path) if ! test -d "$ac_top_path"; then AC_MSG_ERROR($ac_top_path is not a valid directory path) fi if ! test -d "$ac_top_path/configure" -a -f "$ac_top_path/Makefile"; then AC_MSG_ERROR($ac_top_path does not point to an EPICS top directory) fi AC_MSG_RESULT([yes]) # PVA_PY_TOP="$ac_top_path" current_dir=`pwd` cd $PVA_PY_TOP > /dev/null && PVA_PY_TOP=`pwd` && cd $current_dir > /dev/null # check for existing RELEASE.local file release_local=$PVA_PY_TOP/configure/RELEASE.local AC_MSG_CHECKING(for existing pvaPy $release_local file) if test -f $release_local; then AC_MSG_RESULT([yes]) AC_MSG_ERROR(you must remove existing $release_local file in order to recreate pvaPy configuration) else AC_MSG_RESULT([no]) fi # check for existing CONFIG_SITE.local file config_site_local=$PVA_PY_TOP/configure/CONFIG_SITE.local AC_MSG_CHECKING(for existing pvaPy $config_site_local file) if test -f $config_site_local; then AC_MSG_RESULT([yes]) AC_MSG_ERROR(you must remove existing $config_site_local file in order to recreate pvaPy configuration) else AC_MSG_RESULT([no]) fi # check for boost libraries AC_MSG_CHECKING(for boost) if test -z $BOOST_DIR; then AC_MSG_RESULT([no]) AC_MSG_ERROR(cannot find boost libraries: BOOST_DIR is not defined) else AC_MSG_RESULT([yes]) fi # check for boost python library AC_MSG_CHECKING(for boost python) if test -z $BOOST_PYTHON_LIB; then AC_MSG_RESULT([no]) AC_MSG_ERROR(cannot find boost python library: BOOST_PYTHON_LIB is not defined) else AC_MSG_RESULT([yes]) fi # check for python library AC_MSG_CHECKING(for python development library) if test -z "$PYTHON_CPPFLAGS"; then AC_MSG_RESULT([no]) AC_MSG_ERROR(cannot find python development library: PYTHON_CPPFLAGS is not defined) else if test -z "$PYTHON_LDFLAGS"; then AC_MSG_RESULT([no]) AC_MSG_ERROR(cannot find python development library: PYTHON_LDFLAGS is not defined) else AC_MSG_RESULT([yes]) fi fi # check for epics base AC_MSG_CHECKING(for epics base) if test -z $EPICS_BASE; then AC_MSG_RESULT([no]) AC_MSG_ERROR(cannot find epics base: EPICS_BASE is not defined) else AC_MSG_RESULT([yes]) fi # check for epics4 AC_MSG_CHECKING(for epics4) if test -z $EPICS4_DIR; then AC_MSG_RESULT([no]) AC_MSG_ERROR(cannot find epics4: EPICS4_DIR is not defined) else AC_MSG_RESULT([yes]) fi # create RELEASE.local echo "PVACLIENT = $PVACLIENTCPP_DIR" >> $release_local echo "PVACCESS = $PVACCESSCPP_DIR" >> $release_local echo "NORMATIVETYPES = $NORMATIVETYPESCPP_DIR" >> $release_local echo "PVDATA = $PVDATACPP_DIR" >> $release_local echo "EPICS_BASE = $EPICS_BASE" >> $release_local AC_MSG_NOTICE([created $release_local file]) # create CONFIG_SITE.local echo "PVA_PY_CPPFLAGS = $BOOST_CPPFLAGS $PYTHON_CPPFLAGS" >> $config_site_local echo "PVA_PY_LDFLAGS = $BOOST_LDFLAGS $PYTHON_LDFLAGS" >> $config_site_local echo "PVA_PY_SYS_LIBS = $BOOST_PYTHON_LIB" >> $config_site_local echo "PVA_API_VERSION = $PVA_API_VERSION" >> $config_site_local echo "PVA_RPC_API_VERSION = $PVA_RPC_API_VERSION" >> $config_site_local echo "PYTHON_VERSION := \$(shell python -c 'import sys; print sys.version[[:3]]')" >> $config_site_local AC_MSG_NOTICE([created $config_site_local file]) ]) m4trace:m4/ax_python_devel.m4:72: -1- AU_DEFUN([AC_PYTHON_DEVEL], [AX_PYTHON_DEVEL($@)]) m4trace:m4/ax_python_devel.m4:72: -1- AC_DEFUN([AC_PYTHON_DEVEL], [AC_DIAGNOSE([obsolete], [The macro `AC_PYTHON_DEVEL' is obsolete. You should run autoupdate.])dnl AX_PYTHON_DEVEL($@)]) m4trace:m4/ax_python_devel.m4:324: -1- AC_DEFUN([AX_PYTHON_DEVEL], [ # # Allow the use of a (user set) custom python version # AC_ARG_VAR([PYTHON_VERSION],[The installed Python version to use, for example '2.3'. This string will be appended to the Python interpreter canonical name.]) AC_PATH_PROG([PYTHON],[python[$PYTHON_VERSION]]) if test -z "$PYTHON"; then AC_MSG_ERROR([Cannot find python$PYTHON_VERSION in your system path]) PYTHON_VERSION="" fi # # Check for a version of Python >= 2.1.0 # AC_MSG_CHECKING([for a version of Python >= '2.1.0']) ac_supports_python_ver=`$PYTHON -c "import sys; \ ver = sys.version.split ()[[0]]; \ print (ver >= '2.1.0')"` if test "$ac_supports_python_ver" != "True"; then if test -z "$PYTHON_NOVERSIONCHECK"; then AC_MSG_RESULT([no]) AC_MSG_FAILURE([ This version of the AC@&t@_PYTHON_DEVEL macro doesn't work properly with versions of Python before 2.1.0. You may need to re-run configure, setting the variables PYTHON_CPPFLAGS, PYTHON_LDFLAGS, PYTHON_SITE_PKG, PYTHON_EXTRA_LIBS and PYTHON_EXTRA_LDFLAGS by hand. Moreover, to disable this check, set PYTHON_NOVERSIONCHECK to something else than an empty string. ]) else AC_MSG_RESULT([skip at user request]) fi else AC_MSG_RESULT([yes]) fi # # if the macro parameter ``version'' is set, honour it # if test -n "$1"; then AC_MSG_CHECKING([for a version of Python $1]) ac_supports_python_ver=`$PYTHON -c "import sys; \ ver = sys.version.split ()[[0]]; \ print (ver $1)"` if test "$ac_supports_python_ver" = "True"; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) AC_MSG_ERROR([this package requires Python $1. If you have it installed, but it isn't the default Python interpreter in your system path, please pass the PYTHON_VERSION variable to configure. See ``configure --help'' for reference. ]) PYTHON_VERSION="" fi fi # # Check if you have distutils, else fail # AC_MSG_CHECKING([for the distutils Python package]) ac_distutils_result=`$PYTHON -c "import distutils" 2>&1` if test -z "$ac_distutils_result"; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) AC_MSG_ERROR([cannot import Python module "distutils". Please check your Python installation. The error was: $ac_distutils_result]) PYTHON_VERSION="" fi # # Check for Python include path # AC_MSG_CHECKING([for Python include path]) if test -z "$PYTHON_CPPFLAGS"; then python_path=`$PYTHON -c "import distutils.sysconfig; \ print (distutils.sysconfig.get_python_inc ());"` plat_python_path=`$PYTHON -c "import distutils.sysconfig; \ print (distutils.sysconfig.get_python_inc (plat_specific=1));"` if test -n "${python_path}"; then if test "${plat_python_path}" != "${python_path}"; then python_path="-I$python_path -I$plat_python_path" else python_path="-I$python_path" fi fi PYTHON_CPPFLAGS=$python_path fi AC_MSG_RESULT([$PYTHON_CPPFLAGS]) AC_SUBST([PYTHON_CPPFLAGS]) # # Check for Python library path # AC_MSG_CHECKING([for Python library path]) if test -z "$PYTHON_LDFLAGS"; then # (makes two attempts to ensure we've got a version number # from the interpreter) ac_python_version=`cat<]], [[Py_Initialize();]]) ],[pythonexists=yes],[pythonexists=no]) AC_LANG_POP([C]) # turn back to default flags CPPFLAGS="$ac_save_CPPFLAGS" LIBS="$ac_save_LIBS" AC_MSG_RESULT([$pythonexists]) if test ! "x$pythonexists" = "xyes"; then AC_MSG_FAILURE([ Could not link test program to Python. Maybe the main Python library has been installed in some non-standard library path. If so, pass it to configure, via the LDFLAGS environment variable. Example: ./configure LDFLAGS="-L/usr/non-standard-path/python/lib" ============================================================================ ERROR! You probably have to install the development version of the Python package for your distribution. The exact name of this package varies among them. ============================================================================ ]) PYTHON_VERSION="" fi # # all done! # ]) m4trace:configure.ac:1: -1- AC_INIT([pvaPy], [0.2], [epics-pvdata-devel@lists.sourceforge.net]) m4trace:configure.ac:1: -1- m4_pattern_forbid([^_?A[CHUM]_]) m4trace:configure.ac:1: -1- m4_pattern_forbid([_AC_]) m4trace:configure.ac:1: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS']) m4trace:configure.ac:1: -1- m4_pattern_allow([^AS_FLAGS$]) m4trace:configure.ac:1: -1- m4_pattern_forbid([^_?m4_]) m4trace:configure.ac:1: -1- m4_pattern_forbid([^dnl$]) m4trace:configure.ac:1: -1- m4_pattern_forbid([^_?AS_]) m4trace:configure.ac:1: -1- AC_SUBST([SHELL], [${CONFIG_SHELL-/bin/sh}]) m4trace:configure.ac:1: -1- AC_SUBST([PATH_SEPARATOR]) m4trace:configure.ac:1: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])]) m4trace:configure.ac:1: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])]) m4trace:configure.ac:1: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])]) m4trace:configure.ac:1: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])]) m4trace:configure.ac:1: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])]) m4trace:configure.ac:1: -1- AC_SUBST([exec_prefix], [NONE]) m4trace:configure.ac:1: -1- AC_SUBST([prefix], [NONE]) m4trace:configure.ac:1: -1- AC_SUBST([program_transform_name], [s,x,x,]) m4trace:configure.ac:1: -1- AC_SUBST([bindir], ['${exec_prefix}/bin']) m4trace:configure.ac:1: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin']) m4trace:configure.ac:1: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec']) m4trace:configure.ac:1: -1- AC_SUBST([datadir], ['${prefix}/share']) m4trace:configure.ac:1: -1- AC_SUBST([sysconfdir], ['${prefix}/etc']) m4trace:configure.ac:1: -1- AC_SUBST([sharedstatedir], ['${prefix}/com']) m4trace:configure.ac:1: -1- AC_SUBST([localstatedir], ['${prefix}/var']) m4trace:configure.ac:1: -1- AC_SUBST([libdir], ['${exec_prefix}/lib']) m4trace:configure.ac:1: -1- AC_SUBST([includedir], ['${prefix}/include']) m4trace:configure.ac:1: -1- AC_SUBST([oldincludedir], ['/usr/include']) m4trace:configure.ac:1: -1- AC_SUBST([infodir], ['${prefix}/info']) m4trace:configure.ac:1: -1- AC_SUBST([mandir], ['${prefix}/man']) m4trace:configure.ac:1: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME]) m4trace:configure.ac:1: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */ #undef PACKAGE_NAME]) m4trace:configure.ac:1: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME]) m4trace:configure.ac:1: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */ #undef PACKAGE_TARNAME]) m4trace:configure.ac:1: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION]) m4trace:configure.ac:1: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */ #undef PACKAGE_VERSION]) m4trace:configure.ac:1: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING]) m4trace:configure.ac:1: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */ #undef PACKAGE_STRING]) m4trace:configure.ac:1: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT]) m4trace:configure.ac:1: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */ #undef PACKAGE_BUGREPORT]) m4trace:configure.ac:1: -1- AC_SUBST([build_alias]) m4trace:configure.ac:1: -1- AC_SUBST([host_alias]) m4trace:configure.ac:1: -1- AC_SUBST([target_alias]) m4trace:configure.ac:1: -1- AC_SUBST([DEFS]) m4trace:configure.ac:1: -1- AC_SUBST([ECHO_C]) m4trace:configure.ac:1: -1- AC_SUBST([ECHO_N]) m4trace:configure.ac:1: -1- AC_SUBST([ECHO_T]) m4trace:configure.ac:1: -1- AC_SUBST([LIBS]) m4trace:configure.ac:2: -1- AM_INIT_AUTOMAKE([-Wall -Werror foreign]) m4trace:configure.ac:2: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$]) m4trace:configure.ac:2: -1- AM_SET_CURRENT_AUTOMAKE_VERSION m4trace:configure.ac:2: -1- AM_AUTOMAKE_VERSION([1.9.6]) m4trace:configure.ac:2: -1- AC_PROG_INSTALL m4trace:configure.ac:2: -1- AC_SUBST([INSTALL_PROGRAM]) m4trace:configure.ac:2: -1- AC_SUBST([INSTALL_SCRIPT]) m4trace:configure.ac:2: -1- AC_SUBST([INSTALL_DATA]) m4trace:configure.ac:2: -1- AC_SUBST([CYGPATH_W]) m4trace:configure.ac:2: -1- _AM_SET_OPTIONS([-Wall -Werror foreign]) m4trace:configure.ac:2: -1- _AM_SET_OPTION([-Wall]) m4trace:configure.ac:2: -2- _AM_MANGLE_OPTION([-Wall]) m4trace:configure.ac:2: -1- _AM_SET_OPTION([-Werror]) m4trace:configure.ac:2: -2- _AM_MANGLE_OPTION([-Werror]) m4trace:configure.ac:2: -1- _AM_SET_OPTION([foreign]) m4trace:configure.ac:2: -2- _AM_MANGLE_OPTION([foreign]) m4trace:configure.ac:2: -1- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME']) m4trace:configure.ac:2: -1- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION']) m4trace:configure.ac:2: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])]) m4trace:configure.ac:2: -2- _AM_MANGLE_OPTION([no-define]) m4trace:configure.ac:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE]) m4trace:configure.ac:2: -1- AH_OUTPUT([PACKAGE], [/* Name of package */ #undef PACKAGE]) m4trace:configure.ac:2: -1- AC_DEFINE_TRACE_LITERAL([VERSION]) m4trace:configure.ac:2: -1- AH_OUTPUT([VERSION], [/* Version number of package */ #undef VERSION]) m4trace:configure.ac:2: -1- AM_SANITY_CHECK m4trace:configure.ac:2: -1- AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) m4trace:configure.ac:2: -1- AM_MISSING_HAS_RUN m4trace:configure.ac:2: -1- AM_AUX_DIR_EXPAND m4trace:configure.ac:2: -1- AC_SUBST([ACLOCAL]) m4trace:configure.ac:2: -1- AM_MISSING_PROG([AUTOCONF], [autoconf]) m4trace:configure.ac:2: -1- AC_SUBST([AUTOCONF]) m4trace:configure.ac:2: -1- AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) m4trace:configure.ac:2: -1- AC_SUBST([AUTOMAKE]) m4trace:configure.ac:2: -1- AM_MISSING_PROG([AUTOHEADER], [autoheader]) m4trace:configure.ac:2: -1- AC_SUBST([AUTOHEADER]) m4trace:configure.ac:2: -1- AM_MISSING_PROG([MAKEINFO], [makeinfo]) m4trace:configure.ac:2: -1- AC_SUBST([MAKEINFO]) m4trace:configure.ac:2: -1- AM_PROG_INSTALL_SH m4trace:configure.ac:2: -1- AC_SUBST([install_sh]) m4trace:configure.ac:2: -1- AM_PROG_INSTALL_STRIP m4trace:configure.ac:2: -1- AC_SUBST([STRIP]) m4trace:configure.ac:2: -1- AC_SUBST([ac_ct_STRIP]) m4trace:configure.ac:2: -1- AC_SUBST([INSTALL_STRIP_PROGRAM]) m4trace:configure.ac:2: -1- AM_PROG_MKDIR_P m4trace:configure.ac:2: -1- AC_SUBST([mkdir_p]) m4trace:configure.ac:2: -1- AC_PROG_AWK m4trace:configure.ac:2: -1- AC_SUBST([AWK]) m4trace:configure.ac:2: -1- AC_PROG_MAKE_SET m4trace:configure.ac:2: -1- AC_SUBST([SET_MAKE]) m4trace:configure.ac:2: -1- AM_SET_LEADING_DOT m4trace:configure.ac:2: -1- AC_SUBST([am__leading_dot]) m4trace:configure.ac:2: -1- _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])]) m4trace:configure.ac:2: -2- _AM_MANGLE_OPTION([tar-ustar]) m4trace:configure.ac:2: -1- _AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])]) m4trace:configure.ac:2: -2- _AM_MANGLE_OPTION([tar-pax]) m4trace:configure.ac:2: -1- _AM_PROG_TAR([v7]) m4trace:configure.ac:2: -1- AM_MISSING_PROG([AMTAR], [tar]) m4trace:configure.ac:2: -1- AC_SUBST([AMTAR]) m4trace:configure.ac:2: -1- AC_SUBST([am__tar]) m4trace:configure.ac:2: -1- AC_SUBST([am__untar]) m4trace:configure.ac:2: -1- _AM_IF_OPTION([no-dependencies], [], [AC_PROVIDE_IFELSE([AC_PROG_CC], [_AM_DEPENDENCIES(CC)], [define([AC_PROG_CC], defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl AC_PROVIDE_IFELSE([AC_PROG_CXX], [_AM_DEPENDENCIES(CXX)], [define([AC_PROG_CXX], defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl ]) m4trace:configure.ac:2: -2- _AM_MANGLE_OPTION([no-dependencies]) m4trace:configure.ac:3: -1- AC_CONFIG_FILES([Makefile]) m4trace:configure.ac:5: -1- AX_PYTHON_DEVEL([>=2.6]) m4trace:configure.ac:5: -1- AC_SUBST([PYTHON_VERSION]) m4trace:configure.ac:5: -1- AC_SUBST([PYTHON], [$ac_cv_path_PYTHON]) m4trace:configure.ac:5: -1- AC_SUBST([PYTHON_CPPFLAGS]) m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PYTHON]) m4trace:configure.ac:5: -1- AH_OUTPUT([HAVE_PYTHON], [/* If available, contains the Python version number currently in use. */ #undef HAVE_PYTHON]) m4trace:configure.ac:5: -1- AC_SUBST([PYTHON_LDFLAGS]) m4trace:configure.ac:5: -1- AC_SUBST([PYTHON_SITE_PKG]) m4trace:configure.ac:5: -1- AC_SUBST([PYTHON_EXTRA_LIBS]) m4trace:configure.ac:5: -1- AC_SUBST([PYTHON_EXTRA_LDFLAGS]) m4trace:configure.ac:5: -1- AC_PROG_CC m4trace:configure.ac:5: -1- AC_SUBST([CC]) m4trace:configure.ac:5: -1- AC_SUBST([CFLAGS]) m4trace:configure.ac:5: -1- AC_SUBST([LDFLAGS]) m4trace:configure.ac:5: -1- AC_SUBST([CPPFLAGS]) m4trace:configure.ac:5: -1- AC_SUBST([CC]) m4trace:configure.ac:5: -1- AC_SUBST([ac_ct_CC]) m4trace:configure.ac:5: -1- AC_SUBST([CC]) m4trace:configure.ac:5: -1- AC_SUBST([ac_ct_CC]) m4trace:configure.ac:5: -1- AC_SUBST([CC]) m4trace:configure.ac:5: -1- AC_SUBST([CC]) m4trace:configure.ac:5: -1- AC_SUBST([ac_ct_CC]) m4trace:configure.ac:5: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext]) m4trace:configure.ac:5: -1- AC_SUBST([OBJEXT], [$ac_cv_objext]) m4trace:configure.ac:5: -1- _AM_DEPENDENCIES([CC]) m4trace:configure.ac:5: -1- AM_SET_DEPDIR m4trace:configure.ac:5: -1- AC_SUBST([DEPDIR], ["${am__leading_dot}deps"]) m4trace:configure.ac:5: -1- AM_OUTPUT_DEPENDENCY_COMMANDS m4trace:configure.ac:5: -1- AM_MAKE_INCLUDE m4trace:configure.ac:5: -1- AC_SUBST([am__include]) m4trace:configure.ac:5: -1- AC_SUBST([am__quote]) m4trace:configure.ac:5: -1- AM_DEP_TRACK m4trace:configure.ac:5: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) m4trace:configure.ac:5: -1- AC_SUBST([AMDEP_TRUE]) m4trace:configure.ac:5: -1- AC_SUBST([AMDEP_FALSE]) m4trace:configure.ac:5: -1- AC_SUBST([AMDEPBACKSLASH]) m4trace:configure.ac:5: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type]) m4trace:configure.ac:5: -1- AM_CONDITIONAL([am__fastdepCC], [ test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CC_dependencies_compiler_type" = gcc3]) m4trace:configure.ac:5: -1- AC_SUBST([am__fastdepCC_TRUE]) m4trace:configure.ac:5: -1- AC_SUBST([am__fastdepCC_FALSE]) m4trace:configure.ac:6: -1- AX_BOOST_BASE([1.40], [], [AC_MSG_ERROR(required Boost library version >= 1.40.)]) m4trace:configure.ac:6: -1- AC_PROG_CXX m4trace:configure.ac:6: -1- AC_SUBST([CXX]) m4trace:configure.ac:6: -1- AC_SUBST([CXXFLAGS]) m4trace:configure.ac:6: -1- AC_SUBST([LDFLAGS]) m4trace:configure.ac:6: -1- AC_SUBST([CPPFLAGS]) m4trace:configure.ac:6: -1- AC_SUBST([CXX]) m4trace:configure.ac:6: -1- AC_SUBST([ac_ct_CXX]) m4trace:configure.ac:6: -1- _AM_DEPENDENCIES([CXX]) m4trace:configure.ac:6: -1- AC_SUBST([CXXDEPMODE], [depmode=$am_cv_CXX_dependencies_compiler_type]) m4trace:configure.ac:6: -1- AM_CONDITIONAL([am__fastdepCXX], [ test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CXX_dependencies_compiler_type" = gcc3]) m4trace:configure.ac:6: -1- AC_SUBST([am__fastdepCXX_TRUE]) m4trace:configure.ac:6: -1- AC_SUBST([am__fastdepCXX_FALSE]) m4trace:configure.ac:6: -1- AC_SUBST([BOOST_CPPFLAGS]) m4trace:configure.ac:6: -1- AC_SUBST([BOOST_LDFLAGS]) m4trace:configure.ac:6: -1- AC_DEFINE_TRACE_LITERAL([HAVE_BOOST]) m4trace:configure.ac:6: -1- AH_OUTPUT([HAVE_BOOST], [/* define if the Boost library is available */ #undef HAVE_BOOST]) m4trace:configure.ac:6: -1- AC_DEFINE_TRACE_LITERAL([BOOST_DIR]) m4trace:configure.ac:6: -1- AH_OUTPUT([BOOST_DIR], [/* define Boost directory path */ #undef BOOST_DIR]) m4trace:configure.ac:6: -1- AC_DEFINE_TRACE_LITERAL([BOOST_CPPFLAGS]) m4trace:configure.ac:6: -1- AH_OUTPUT([BOOST_CPPFLAGS], [/* define Boost CPPFLAGS */ #undef BOOST_CPPFLAGS]) m4trace:configure.ac:6: -1- AC_DEFINE_TRACE_LITERAL([BOOST_LDFLAGS]) m4trace:configure.ac:6: -1- AH_OUTPUT([BOOST_LDFLAGS], [/* define Boost LDFLAGS */ #undef BOOST_LDFLAGS]) m4trace:configure.ac:7: -1- AX_BOOST_PYTHON m4trace:configure.ac:7: -1- _m4_warn([obsolete], [The macro `AC_LANG_SAVE' is obsolete. You should run autoupdate.], [autoconf/lang.m4:166: AC_LANG_SAVE is expanded from... autoconf/general.m4:1799: AC_CACHE_VAL is expanded from... autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from... m4/ax_boost_python.m4:91: AX_BOOST_PYTHON is expanded from... configure.ac:7: the top level]) m4trace:configure.ac:7: -1- _m4_warn([obsolete], [instead of using `AC_LANG', `AC_LANG_SAVE', and `AC_LANG_RESTORE', you should use `AC_LANG_PUSH' and `AC_LANG_POP'.], [autoconf/lang.m4:166: AC_LANG_SAVE is expanded from... autoconf/general.m4:1799: AC_CACHE_VAL is expanded from... autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from... m4/ax_boost_python.m4:91: AX_BOOST_PYTHON is expanded from... configure.ac:7: the top level]) m4trace:configure.ac:7: -1- _m4_warn([obsolete], [The macro `AC_LANG_CPLUSPLUS' is obsolete. You should run autoupdate.], [autoconf/c.m4:103: AC_LANG_CPLUSPLUS is expanded from... autoconf/general.m4:1799: AC_CACHE_VAL is expanded from... autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from... m4/ax_boost_python.m4:91: AX_BOOST_PYTHON is expanded from... configure.ac:7: the top level]) m4trace:configure.ac:7: -1- _m4_warn([obsolete], [The macro `AC_LANG_RESTORE' is obsolete. You should run autoupdate.], [autoconf/lang.m4:172: AC_LANG_RESTORE is expanded from... autoconf/general.m4:1799: AC_CACHE_VAL is expanded from... autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from... m4/ax_boost_python.m4:91: AX_BOOST_PYTHON is expanded from... configure.ac:7: the top level]) m4trace:configure.ac:7: -1- AC_DEFINE_TRACE_LITERAL([HAVE_BOOST_PYTHON]) m4trace:configure.ac:7: -1- AH_OUTPUT([HAVE_BOOST_PYTHON], [/* define if the Boost::Python library is available */ #undef HAVE_BOOST_PYTHON]) m4trace:configure.ac:7: -1- AC_CHECK_LIB([$ax_lib], [exit], [BOOST_PYTHON_LIB=$ax_lib break], [], [$PYTHON_LDFLAGS]) m4trace:configure.ac:7: -1- AC_SUBST([BOOST_PYTHON_LIB]) m4trace:configure.ac:8: -1- AX_EPICS_BASE([3.14.12]) m4trace:configure.ac:8: -1- AC_DEFINE_TRACE_LITERAL([HAVE_EPICS]) m4trace:configure.ac:8: -1- AH_OUTPUT([HAVE_EPICS], [/* define if the EPICS base is available */ #undef HAVE_EPICS]) m4trace:configure.ac:8: -1- AC_SUBST([EPICS_BASE]) m4trace:configure.ac:8: -1- AC_SUBST([EPICS_HOST_ARCH]) m4trace:configure.ac:8: -1- AC_SUBST([EPICS_OS_CLASS]) m4trace:configure.ac:8: -1- AC_SUBST([EPICS_CMPLR_CLASS]) m4trace:configure.ac:9: -1- AX_EPICS4([4.4.0]) m4trace:configure.ac:9: -1- AC_SUBST([NORMATIVETYPESCPP_DIR], [""]) m4trace:configure.ac:9: -1- AC_SUBST([PVACLIENTCPP_DIR], [""]) m4trace:configure.ac:9: -1- AC_SUBST([NORMATIVETYPESCPP_DIR], [$normativetypescpp_dir]) m4trace:configure.ac:9: -1- AC_SUBST([PVACLIENTCPP_DIR], [$pvaclientcpp_dir]) m4trace:configure.ac:9: -1- AC_DEFINE_TRACE_LITERAL([HAVE_EPICS4]) m4trace:configure.ac:9: -1- AH_OUTPUT([HAVE_EPICS4], [/* define if the EPICS4 libraries are available */ #undef HAVE_EPICS4]) m4trace:configure.ac:9: -1- AC_DEFINE_TRACE_LITERAL([PVA_API_VERSION]) m4trace:configure.ac:9: -1- AH_OUTPUT([PVA_API_VERSION], [/* define PVA API version */ #undef PVA_API_VERSION]) m4trace:configure.ac:9: -1- AC_SUBST([PVA_API_VERSION], [$pva_api_version]) m4trace:configure.ac:9: -1- AC_SUBST([EPICS4_DIR]) m4trace:configure.ac:9: -1- AC_SUBST([PVDATACPP_DIR], [$pvdatacpp_dir]) m4trace:configure.ac:9: -1- AC_SUBST([PVACCESSCPP_DIR], [$pvaccesscpp_dir]) m4trace:configure.ac:9: -1- AC_DEFINE_TRACE_LITERAL([PVA_RPC_API_VERSION]) m4trace:configure.ac:9: -1- AH_OUTPUT([PVA_RPC_API_VERSION], [/* define PVA RPC API version */ #undef PVA_RPC_API_VERSION]) m4trace:configure.ac:9: -1- AC_SUBST([PVA_RPC_API_VERSION], [$pva_rpc_api_version]) m4trace:configure.ac:10: -1- AX_PVA_PY([0.1])