"Fossies" - the Fresh Open Source Software Archive

Member "scalasca-2.6/aclocal.m4" (19 Apr 2021, 31406 Bytes) of package /linux/misc/scalasca-2.6.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "aclocal.m4": 2.3.1_vs_2.4.

    1 # generated automatically by aclocal 1.13.4 -*- Autoconf -*-
    2 
    3 # Copyright (C) 1996-2013 Free Software Foundation, Inc.
    4 
    5 # This file is free software; the Free Software Foundation
    6 # gives unlimited permission to copy and/or distribute it,
    7 # with or without modifications, as long as this notice is preserved.
    8 
    9 # This program is distributed in the hope that it will be useful,
   10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
   11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
   12 # PARTICULAR PURPOSE.
   13 
   14 m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
   15 m4_ifndef([AC_AUTOCONF_VERSION],
   16   [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
   17 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
   18 [m4_warning([this file was generated for autoconf 2.69.
   19 You have another version of autoconf.  It may work, but is not guaranteed to.
   20 If you have problems, you may need to regenerate the build system entirely.
   21 To do so, use the procedure documented by the package, typically 'autoreconf'.])])
   22 
   23 # Copyright (C) 2002-2013 Free Software Foundation, Inc.
   24 #
   25 # This file is free software; the Free Software Foundation
   26 # gives unlimited permission to copy and/or distribute it,
   27 # with or without modifications, as long as this notice is preserved.
   28 
   29 # AM_AUTOMAKE_VERSION(VERSION)
   30 # ----------------------------
   31 # Automake X.Y traces this macro to ensure aclocal.m4 has been
   32 # generated from the m4 files accompanying Automake X.Y.
   33 # (This private macro should not be called outside this file.)
   34 AC_DEFUN([AM_AUTOMAKE_VERSION],
   35 [am__api_version='1.13'
   36 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
   37 dnl require some minimum version.  Point them to the right macro.
   38 m4_if([$1], [1.13.4], [],
   39       [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
   40 ])
   41 
   42 # _AM_AUTOCONF_VERSION(VERSION)
   43 # -----------------------------
   44 # aclocal traces this macro to find the Autoconf version.
   45 # This is a private macro too.  Using m4_define simplifies
   46 # the logic in aclocal, which can simply ignore this definition.
   47 m4_define([_AM_AUTOCONF_VERSION], [])
   48 
   49 # AM_SET_CURRENT_AUTOMAKE_VERSION
   50 # -------------------------------
   51 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
   52 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
   53 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
   54 [AM_AUTOMAKE_VERSION([1.13.4])dnl
   55 m4_ifndef([AC_AUTOCONF_VERSION],
   56   [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
   57 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
   58 
   59 # AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
   60 
   61 # Copyright (C) 2001-2013 Free Software Foundation, Inc.
   62 #
   63 # This file is free software; the Free Software Foundation
   64 # gives unlimited permission to copy and/or distribute it,
   65 # with or without modifications, as long as this notice is preserved.
   66 
   67 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
   68 # $ac_aux_dir to '$srcdir/foo'.  In other projects, it is set to
   69 # '$srcdir', '$srcdir/..', or '$srcdir/../..'.
   70 #
   71 # Of course, Automake must honor this variable whenever it calls a
   72 # tool from the auxiliary directory.  The problem is that $srcdir (and
   73 # therefore $ac_aux_dir as well) can be either absolute or relative,
   74 # depending on how configure is run.  This is pretty annoying, since
   75 # it makes $ac_aux_dir quite unusable in subdirectories: in the top
   76 # source directory, any form will work fine, but in subdirectories a
   77 # relative path needs to be adjusted first.
   78 #
   79 # $ac_aux_dir/missing
   80 #    fails when called from a subdirectory if $ac_aux_dir is relative
   81 # $top_srcdir/$ac_aux_dir/missing
   82 #    fails if $ac_aux_dir is absolute,
   83 #    fails when called from a subdirectory in a VPATH build with
   84 #          a relative $ac_aux_dir
   85 #
   86 # The reason of the latter failure is that $top_srcdir and $ac_aux_dir
   87 # are both prefixed by $srcdir.  In an in-source build this is usually
   88 # harmless because $srcdir is '.', but things will broke when you
   89 # start a VPATH build or use an absolute $srcdir.
   90 #
   91 # So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
   92 # iff we strip the leading $srcdir from $ac_aux_dir.  That would be:
   93 #   am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
   94 # and then we would define $MISSING as
   95 #   MISSING="\${SHELL} $am_aux_dir/missing"
   96 # This will work as long as MISSING is not called from configure, because
   97 # unfortunately $(top_srcdir) has no meaning in configure.
   98 # However there are other variables, like CC, which are often used in
   99 # configure, and could therefore not use this "fixed" $ac_aux_dir.
  100 #
  101 # Another solution, used here, is to always expand $ac_aux_dir to an
  102 # absolute PATH.  The drawback is that using absolute paths prevent a
  103 # configured tree to be moved without reconfiguration.
  104 
  105 AC_DEFUN([AM_AUX_DIR_EXPAND],
  106 [dnl Rely on autoconf to set up CDPATH properly.
  107 AC_PREREQ([2.50])dnl
  108 # expand $ac_aux_dir to an absolute path
  109 am_aux_dir=`cd $ac_aux_dir && pwd`
  110 ])
  111 
  112 # AM_COND_IF                                            -*- Autoconf -*-
  113 
  114 # Copyright (C) 2008-2013 Free Software Foundation, Inc.
  115 #
  116 # This file is free software; the Free Software Foundation
  117 # gives unlimited permission to copy and/or distribute it,
  118 # with or without modifications, as long as this notice is preserved.
  119 
  120 # _AM_COND_IF
  121 # _AM_COND_ELSE
  122 # _AM_COND_ENDIF
  123 # --------------
  124 # These macros are only used for tracing.
  125 m4_define([_AM_COND_IF])
  126 m4_define([_AM_COND_ELSE])
  127 m4_define([_AM_COND_ENDIF])
  128 
  129 # AM_COND_IF(COND, [IF-TRUE], [IF-FALSE])
  130 # ---------------------------------------
  131 # If the shell condition COND is true, execute IF-TRUE, otherwise execute
  132 # IF-FALSE.  Allow automake to learn about conditional instantiating macros
  133 # (the AC_CONFIG_FOOS).
  134 AC_DEFUN([AM_COND_IF],
  135 [m4_ifndef([_AM_COND_VALUE_$1],
  136 	   [m4_fatal([$0: no such condition "$1"])])dnl
  137 _AM_COND_IF([$1])dnl
  138 if test -z "$$1_TRUE"; then :
  139   m4_n([$2])[]dnl
  140 m4_ifval([$3],
  141 [_AM_COND_ELSE([$1])dnl
  142 else
  143   $3
  144 ])dnl
  145 _AM_COND_ENDIF([$1])dnl
  146 fi[]dnl
  147 ])
  148 
  149 # AM_CONDITIONAL                                            -*- Autoconf -*-
  150 
  151 # Copyright (C) 1997-2013 Free Software Foundation, Inc.
  152 #
  153 # This file is free software; the Free Software Foundation
  154 # gives unlimited permission to copy and/or distribute it,
  155 # with or without modifications, as long as this notice is preserved.
  156 
  157 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
  158 # -------------------------------------
  159 # Define a conditional.
  160 AC_DEFUN([AM_CONDITIONAL],
  161 [AC_PREREQ([2.52])dnl
  162  m4_if([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
  163        [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
  164 AC_SUBST([$1_TRUE])dnl
  165 AC_SUBST([$1_FALSE])dnl
  166 _AM_SUBST_NOTMAKE([$1_TRUE])dnl
  167 _AM_SUBST_NOTMAKE([$1_FALSE])dnl
  168 m4_define([_AM_COND_VALUE_$1], [$2])dnl
  169 if $2; then
  170   $1_TRUE=
  171   $1_FALSE='#'
  172 else
  173   $1_TRUE='#'
  174   $1_FALSE=
  175 fi
  176 AC_CONFIG_COMMANDS_PRE(
  177 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
  178   AC_MSG_ERROR([[conditional "$1" was never defined.
  179 Usually this means the macro was only invoked conditionally.]])
  180 fi])])
  181 
  182 # AM_EXTRA_RECURSIVE_TARGETS                                -*- Autoconf -*-
  183 
  184 # Copyright (C) 2012-2013 Free Software Foundation, Inc.
  185 #
  186 # This file is free software; the Free Software Foundation
  187 # gives unlimited permission to copy and/or distribute it,
  188 # with or without modifications, as long as this notice is preserved.
  189 
  190 # AM_EXTRA_RECURSIVE_TARGETS
  191 # --------------------------
  192 # Define the list of user recursive targets.  This macro exists only to
  193 # be traced by Automake, which will ensure that a proper definition of
  194 # user-defined recursive targets (and associated rules) is propagated
  195 # into all the generated Makefiles.
  196 # TODO: We should really reject non-literal arguments here...
  197 AC_DEFUN([AM_EXTRA_RECURSIVE_TARGETS], [])
  198 
  199 # Do all the work for Automake.                             -*- Autoconf -*-
  200 
  201 # Copyright (C) 1996-2013 Free Software Foundation, Inc.
  202 #
  203 # This file is free software; the Free Software Foundation
  204 # gives unlimited permission to copy and/or distribute it,
  205 # with or without modifications, as long as this notice is preserved.
  206 
  207 # This macro actually does too much.  Some checks are only needed if
  208 # your package does certain things.  But this isn't really a big deal.
  209 
  210 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
  211 # AM_INIT_AUTOMAKE([OPTIONS])
  212 # -----------------------------------------------
  213 # The call with PACKAGE and VERSION arguments is the old style
  214 # call (pre autoconf-2.50), which is being phased out.  PACKAGE
  215 # and VERSION should now be passed to AC_INIT and removed from
  216 # the call to AM_INIT_AUTOMAKE.
  217 # We support both call styles for the transition.  After
  218 # the next Automake release, Autoconf can make the AC_INIT
  219 # arguments mandatory, and then we can depend on a new Autoconf
  220 # release and drop the old call support.
  221 AC_DEFUN([AM_INIT_AUTOMAKE],
  222 [AC_PREREQ([2.65])dnl
  223 dnl Autoconf wants to disallow AM_ names.  We explicitly allow
  224 dnl the ones we care about.
  225 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
  226 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
  227 AC_REQUIRE([AC_PROG_INSTALL])dnl
  228 if test "`cd $srcdir && pwd`" != "`pwd`"; then
  229   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  230   # is not polluted with repeated "-I."
  231   AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
  232   # test to see if srcdir already configured
  233   if test -f $srcdir/config.status; then
  234     AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
  235   fi
  236 fi
  237 
  238 # test whether we have cygpath
  239 if test -z "$CYGPATH_W"; then
  240   if (cygpath --version) >/dev/null 2>/dev/null; then
  241     CYGPATH_W='cygpath -w'
  242   else
  243     CYGPATH_W=echo
  244   fi
  245 fi
  246 AC_SUBST([CYGPATH_W])
  247 
  248 # Define the identity of the package.
  249 dnl Distinguish between old-style and new-style calls.
  250 m4_ifval([$2],
  251 [AC_DIAGNOSE([obsolete],
  252              [$0: two- and three-arguments forms are deprecated.])
  253 m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
  254  AC_SUBST([PACKAGE], [$1])dnl
  255  AC_SUBST([VERSION], [$2])],
  256 [_AM_SET_OPTIONS([$1])dnl
  257 dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
  258 m4_if(
  259   m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
  260   [ok:ok],,
  261   [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
  262  AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
  263  AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
  264 
  265 _AM_IF_OPTION([no-define],,
  266 [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
  267  AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
  268 
  269 # Some tools Automake needs.
  270 AC_REQUIRE([AM_SANITY_CHECK])dnl
  271 AC_REQUIRE([AC_ARG_PROGRAM])dnl
  272 AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
  273 AM_MISSING_PROG([AUTOCONF], [autoconf])
  274 AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
  275 AM_MISSING_PROG([AUTOHEADER], [autoheader])
  276 AM_MISSING_PROG([MAKEINFO], [makeinfo])
  277 AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
  278 AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
  279 AC_REQUIRE([AC_PROG_MKDIR_P])dnl
  280 # For better backward compatibility.  To be removed once Automake 1.9.x
  281 # dies out for good.  For more background, see:
  282 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
  283 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
  284 AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
  285 # We need awk for the "check" target.  The system "awk" is bad on
  286 # some platforms.
  287 AC_REQUIRE([AC_PROG_AWK])dnl
  288 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
  289 AC_REQUIRE([AM_SET_LEADING_DOT])dnl
  290 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
  291 	      [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
  292 			     [_AM_PROG_TAR([v7])])])
  293 _AM_IF_OPTION([no-dependencies],,
  294 [AC_PROVIDE_IFELSE([AC_PROG_CC],
  295 		  [_AM_DEPENDENCIES([CC])],
  296 		  [m4_define([AC_PROG_CC],
  297 			     m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
  298 AC_PROVIDE_IFELSE([AC_PROG_CXX],
  299 		  [_AM_DEPENDENCIES([CXX])],
  300 		  [m4_define([AC_PROG_CXX],
  301 			     m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
  302 AC_PROVIDE_IFELSE([AC_PROG_OBJC],
  303 		  [_AM_DEPENDENCIES([OBJC])],
  304 		  [m4_define([AC_PROG_OBJC],
  305 			     m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
  306 AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
  307 		  [_AM_DEPENDENCIES([OBJCXX])],
  308 		  [m4_define([AC_PROG_OBJCXX],
  309 			     m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
  310 ])
  311 AC_REQUIRE([AM_SILENT_RULES])dnl
  312 dnl The testsuite driver may need to know about EXEEXT, so add the
  313 dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This
  314 dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
  315 AC_CONFIG_COMMANDS_PRE(dnl
  316 [m4_provide_if([_AM_COMPILER_EXEEXT],
  317   [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
  318 ])
  319 
  320 dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
  321 dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
  322 dnl mangled by Autoconf and run in a shell conditional statement.
  323 m4_define([_AC_COMPILER_EXEEXT],
  324 m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
  325 
  326 
  327 # When config.status generates a header, we must update the stamp-h file.
  328 # This file resides in the same directory as the config header
  329 # that is generated.  The stamp files are numbered to have different names.
  330 
  331 # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
  332 # loop where config.status creates the headers, so we can generate
  333 # our stamp files there.
  334 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
  335 [# Compute $1's index in $config_headers.
  336 _am_arg=$1
  337 _am_stamp_count=1
  338 for _am_header in $config_headers :; do
  339   case $_am_header in
  340     $_am_arg | $_am_arg:* )
  341       break ;;
  342     * )
  343       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  344   esac
  345 done
  346 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
  347 
  348 # Copyright (C) 2001-2013 Free Software Foundation, Inc.
  349 #
  350 # This file is free software; the Free Software Foundation
  351 # gives unlimited permission to copy and/or distribute it,
  352 # with or without modifications, as long as this notice is preserved.
  353 
  354 # AM_PROG_INSTALL_SH
  355 # ------------------
  356 # Define $install_sh.
  357 AC_DEFUN([AM_PROG_INSTALL_SH],
  358 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  359 if test x"${install_sh}" != xset; then
  360   case $am_aux_dir in
  361   *\ * | *\	*)
  362     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  363   *)
  364     install_sh="\${SHELL} $am_aux_dir/install-sh"
  365   esac
  366 fi
  367 AC_SUBST([install_sh])])
  368 
  369 # Copyright (C) 2003-2013 Free Software Foundation, Inc.
  370 #
  371 # This file is free software; the Free Software Foundation
  372 # gives unlimited permission to copy and/or distribute it,
  373 # with or without modifications, as long as this notice is preserved.
  374 
  375 # Check whether the underlying file-system supports filenames
  376 # with a leading dot.  For instance MS-DOS doesn't.
  377 AC_DEFUN([AM_SET_LEADING_DOT],
  378 [rm -rf .tst 2>/dev/null
  379 mkdir .tst 2>/dev/null
  380 if test -d .tst; then
  381   am__leading_dot=.
  382 else
  383   am__leading_dot=_
  384 fi
  385 rmdir .tst 2>/dev/null
  386 AC_SUBST([am__leading_dot])])
  387 
  388 # Add --enable-maintainer-mode option to configure.         -*- Autoconf -*-
  389 # From Jim Meyering
  390 
  391 # Copyright (C) 1996-2013 Free Software Foundation, Inc.
  392 #
  393 # This file is free software; the Free Software Foundation
  394 # gives unlimited permission to copy and/or distribute it,
  395 # with or without modifications, as long as this notice is preserved.
  396 
  397 # AM_MAINTAINER_MODE([DEFAULT-MODE])
  398 # ----------------------------------
  399 # Control maintainer-specific portions of Makefiles.
  400 # Default is to disable them, unless 'enable' is passed literally.
  401 # For symmetry, 'disable' may be passed as well.  Anyway, the user
  402 # can override the default with the --enable/--disable switch.
  403 AC_DEFUN([AM_MAINTAINER_MODE],
  404 [m4_case(m4_default([$1], [disable]),
  405        [enable], [m4_define([am_maintainer_other], [disable])],
  406        [disable], [m4_define([am_maintainer_other], [enable])],
  407        [m4_define([am_maintainer_other], [enable])
  408         m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
  409 AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
  410   dnl maintainer-mode's default is 'disable' unless 'enable' is passed
  411   AC_ARG_ENABLE([maintainer-mode],
  412     [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode],
  413       am_maintainer_other[ make rules and dependencies not useful
  414       (and sometimes confusing) to the casual installer])],
  415     [USE_MAINTAINER_MODE=$enableval],
  416     [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
  417   AC_MSG_RESULT([$USE_MAINTAINER_MODE])
  418   AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
  419   MAINT=$MAINTAINER_MODE_TRUE
  420   AC_SUBST([MAINT])dnl
  421 ]
  422 )
  423 
  424 # Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
  425 
  426 # Copyright (C) 1997-2013 Free Software Foundation, Inc.
  427 #
  428 # This file is free software; the Free Software Foundation
  429 # gives unlimited permission to copy and/or distribute it,
  430 # with or without modifications, as long as this notice is preserved.
  431 
  432 # AM_MISSING_PROG(NAME, PROGRAM)
  433 # ------------------------------
  434 AC_DEFUN([AM_MISSING_PROG],
  435 [AC_REQUIRE([AM_MISSING_HAS_RUN])
  436 $1=${$1-"${am_missing_run}$2"}
  437 AC_SUBST($1)])
  438 
  439 # AM_MISSING_HAS_RUN
  440 # ------------------
  441 # Define MISSING if not defined so far and test if it is modern enough.
  442 # If it is, set am_missing_run to use it, otherwise, to nothing.
  443 AC_DEFUN([AM_MISSING_HAS_RUN],
  444 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  445 AC_REQUIRE_AUX_FILE([missing])dnl
  446 if test x"${MISSING+set}" != xset; then
  447   case $am_aux_dir in
  448   *\ * | *\	*)
  449     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  450   *)
  451     MISSING="\${SHELL} $am_aux_dir/missing" ;;
  452   esac
  453 fi
  454 # Use eval to expand $SHELL
  455 if eval "$MISSING --is-lightweight"; then
  456   am_missing_run="$MISSING "
  457 else
  458   am_missing_run=
  459   AC_MSG_WARN(['missing' script is too old or missing])
  460 fi
  461 ])
  462 
  463 # Helper functions for option handling.                     -*- Autoconf -*-
  464 
  465 # Copyright (C) 2001-2013 Free Software Foundation, Inc.
  466 #
  467 # This file is free software; the Free Software Foundation
  468 # gives unlimited permission to copy and/or distribute it,
  469 # with or without modifications, as long as this notice is preserved.
  470 
  471 # _AM_MANGLE_OPTION(NAME)
  472 # -----------------------
  473 AC_DEFUN([_AM_MANGLE_OPTION],
  474 [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
  475 
  476 # _AM_SET_OPTION(NAME)
  477 # --------------------
  478 # Set option NAME.  Presently that only means defining a flag for this option.
  479 AC_DEFUN([_AM_SET_OPTION],
  480 [m4_define(_AM_MANGLE_OPTION([$1]), [1])])
  481 
  482 # _AM_SET_OPTIONS(OPTIONS)
  483 # ------------------------
  484 # OPTIONS is a space-separated list of Automake options.
  485 AC_DEFUN([_AM_SET_OPTIONS],
  486 [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
  487 
  488 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
  489 # -------------------------------------------
  490 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
  491 AC_DEFUN([_AM_IF_OPTION],
  492 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
  493 
  494 # Copyright (C) 2001-2013 Free Software Foundation, Inc.
  495 #
  496 # This file is free software; the Free Software Foundation
  497 # gives unlimited permission to copy and/or distribute it,
  498 # with or without modifications, as long as this notice is preserved.
  499 
  500 # AM_RUN_LOG(COMMAND)
  501 # -------------------
  502 # Run COMMAND, save the exit status in ac_status, and log it.
  503 # (This has been adapted from Autoconf's _AC_RUN_LOG macro.)
  504 AC_DEFUN([AM_RUN_LOG],
  505 [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
  506    ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
  507    ac_status=$?
  508    echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
  509    (exit $ac_status); }])
  510 
  511 # Check to make sure that the build environment is sane.    -*- Autoconf -*-
  512 
  513 # Copyright (C) 1996-2013 Free Software Foundation, Inc.
  514 #
  515 # This file is free software; the Free Software Foundation
  516 # gives unlimited permission to copy and/or distribute it,
  517 # with or without modifications, as long as this notice is preserved.
  518 
  519 # AM_SANITY_CHECK
  520 # ---------------
  521 AC_DEFUN([AM_SANITY_CHECK],
  522 [AC_MSG_CHECKING([whether build environment is sane])
  523 # Reject unsafe characters in $srcdir or the absolute working directory
  524 # name.  Accept space and tab only in the latter.
  525 am_lf='
  526 '
  527 case `pwd` in
  528   *[[\\\"\#\$\&\'\`$am_lf]]*)
  529     AC_MSG_ERROR([unsafe absolute working directory name]);;
  530 esac
  531 case $srcdir in
  532   *[[\\\"\#\$\&\'\`$am_lf\ \	]]*)
  533     AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
  534 esac
  535 
  536 # Do 'set' in a subshell so we don't clobber the current shell's
  537 # arguments.  Must try -L first in case configure is actually a
  538 # symlink; some systems play weird games with the mod time of symlinks
  539 # (eg FreeBSD returns the mod time of the symlink's containing
  540 # directory).
  541 if (
  542    am_has_slept=no
  543    for am_try in 1 2; do
  544      echo "timestamp, slept: $am_has_slept" > conftest.file
  545      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  546      if test "$[*]" = "X"; then
  547 	# -L didn't work.
  548 	set X `ls -t "$srcdir/configure" conftest.file`
  549      fi
  550      if test "$[*]" != "X $srcdir/configure conftest.file" \
  551 	&& test "$[*]" != "X conftest.file $srcdir/configure"; then
  552 
  553 	# If neither matched, then we have a broken ls.  This can happen
  554 	# if, for instance, CONFIG_SHELL is bash and it inherits a
  555 	# broken ls alias from the environment.  This has actually
  556 	# happened.  Such a system could not be considered "sane".
  557 	AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
  558   alias in your environment])
  559      fi
  560      if test "$[2]" = conftest.file || test $am_try -eq 2; then
  561        break
  562      fi
  563      # Just in case.
  564      sleep 1
  565      am_has_slept=yes
  566    done
  567    test "$[2]" = conftest.file
  568    )
  569 then
  570    # Ok.
  571    :
  572 else
  573    AC_MSG_ERROR([newly created file is older than distributed files!
  574 Check your system clock])
  575 fi
  576 AC_MSG_RESULT([yes])
  577 # If we didn't sleep, we still need to ensure time stamps of config.status and
  578 # generated files are strictly newer.
  579 am_sleep_pid=
  580 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
  581   ( sleep 1 ) &
  582   am_sleep_pid=$!
  583 fi
  584 AC_CONFIG_COMMANDS_PRE(
  585   [AC_MSG_CHECKING([that generated files are newer than configure])
  586    if test -n "$am_sleep_pid"; then
  587      # Hide warnings about reused PIDs.
  588      wait $am_sleep_pid 2>/dev/null
  589    fi
  590    AC_MSG_RESULT([done])])
  591 rm -f conftest.file
  592 ])
  593 
  594 # Copyright (C) 2009-2013 Free Software Foundation, Inc.
  595 #
  596 # This file is free software; the Free Software Foundation
  597 # gives unlimited permission to copy and/or distribute it,
  598 # with or without modifications, as long as this notice is preserved.
  599 
  600 # AM_SILENT_RULES([DEFAULT])
  601 # --------------------------
  602 # Enable less verbose build rules; with the default set to DEFAULT
  603 # ("yes" being less verbose, "no" or empty being verbose).
  604 AC_DEFUN([AM_SILENT_RULES],
  605 [AC_ARG_ENABLE([silent-rules], [dnl
  606 AS_HELP_STRING(
  607   [--enable-silent-rules],
  608   [less verbose build output (undo: "make V=1")])
  609 AS_HELP_STRING(
  610   [--disable-silent-rules],
  611   [verbose build output (undo: "make V=0")])dnl
  612 ])
  613 case $enable_silent_rules in @%:@ (((
  614   yes) AM_DEFAULT_VERBOSITY=0;;
  615    no) AM_DEFAULT_VERBOSITY=1;;
  616     *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
  617 esac
  618 dnl
  619 dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
  620 dnl do not support nested variable expansions.
  621 dnl See automake bug#9928 and bug#10237.
  622 am_make=${MAKE-make}
  623 AC_CACHE_CHECK([whether $am_make supports nested variables],
  624    [am_cv_make_support_nested_variables],
  625    [if AS_ECHO([['TRUE=$(BAR$(V))
  626 BAR0=false
  627 BAR1=true
  628 V=1
  629 am__doit:
  630 	@$(TRUE)
  631 .PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
  632   am_cv_make_support_nested_variables=yes
  633 else
  634   am_cv_make_support_nested_variables=no
  635 fi])
  636 if test $am_cv_make_support_nested_variables = yes; then
  637   dnl Using '$V' instead of '$(V)' breaks IRIX make.
  638   AM_V='$(V)'
  639   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
  640 else
  641   AM_V=$AM_DEFAULT_VERBOSITY
  642   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
  643 fi
  644 AC_SUBST([AM_V])dnl
  645 AM_SUBST_NOTMAKE([AM_V])dnl
  646 AC_SUBST([AM_DEFAULT_V])dnl
  647 AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
  648 AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
  649 AM_BACKSLASH='\'
  650 AC_SUBST([AM_BACKSLASH])dnl
  651 _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
  652 ])
  653 
  654 # Copyright (C) 2001-2013 Free Software Foundation, Inc.
  655 #
  656 # This file is free software; the Free Software Foundation
  657 # gives unlimited permission to copy and/or distribute it,
  658 # with or without modifications, as long as this notice is preserved.
  659 
  660 # AM_PROG_INSTALL_STRIP
  661 # ---------------------
  662 # One issue with vendor 'install' (even GNU) is that you can't
  663 # specify the program used to strip binaries.  This is especially
  664 # annoying in cross-compiling environments, where the build's strip
  665 # is unlikely to handle the host's binaries.
  666 # Fortunately install-sh will honor a STRIPPROG variable, so we
  667 # always use install-sh in "make install-strip", and initialize
  668 # STRIPPROG with the value of the STRIP variable (set by the user).
  669 AC_DEFUN([AM_PROG_INSTALL_STRIP],
  670 [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
  671 # Installed binaries are usually stripped using 'strip' when the user
  672 # run "make install-strip".  However 'strip' might not be the right
  673 # tool to use in cross-compilation environments, therefore Automake
  674 # will honor the 'STRIP' environment variable to overrule this program.
  675 dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
  676 if test "$cross_compiling" != no; then
  677   AC_CHECK_TOOL([STRIP], [strip], :)
  678 fi
  679 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  680 AC_SUBST([INSTALL_STRIP_PROGRAM])])
  681 
  682 # Copyright (C) 2006-2013 Free Software Foundation, Inc.
  683 #
  684 # This file is free software; the Free Software Foundation
  685 # gives unlimited permission to copy and/or distribute it,
  686 # with or without modifications, as long as this notice is preserved.
  687 
  688 # _AM_SUBST_NOTMAKE(VARIABLE)
  689 # ---------------------------
  690 # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
  691 # This macro is traced by Automake.
  692 AC_DEFUN([_AM_SUBST_NOTMAKE])
  693 
  694 # AM_SUBST_NOTMAKE(VARIABLE)
  695 # --------------------------
  696 # Public sister of _AM_SUBST_NOTMAKE.
  697 AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
  698 
  699 # Check how to create a tarball.                            -*- Autoconf -*-
  700 
  701 # Copyright (C) 2004-2013 Free Software Foundation, Inc.
  702 #
  703 # This file is free software; the Free Software Foundation
  704 # gives unlimited permission to copy and/or distribute it,
  705 # with or without modifications, as long as this notice is preserved.
  706 
  707 # _AM_PROG_TAR(FORMAT)
  708 # --------------------
  709 # Check how to create a tarball in format FORMAT.
  710 # FORMAT should be one of 'v7', 'ustar', or 'pax'.
  711 #
  712 # Substitute a variable $(am__tar) that is a command
  713 # writing to stdout a FORMAT-tarball containing the directory
  714 # $tardir.
  715 #     tardir=directory && $(am__tar) > result.tar
  716 #
  717 # Substitute a variable $(am__untar) that extract such
  718 # a tarball read from stdin.
  719 #     $(am__untar) < result.tar
  720 #
  721 AC_DEFUN([_AM_PROG_TAR],
  722 [# Always define AMTAR for backward compatibility.  Yes, it's still used
  723 # in the wild :-(  We should find a proper way to deprecate it ...
  724 AC_SUBST([AMTAR], ['$${TAR-tar}'])
  725 
  726 # We'll loop over all known methods to create a tar archive until one works.
  727 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
  728 
  729 m4_if([$1], [v7],
  730   [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
  731 
  732   [m4_case([$1],
  733     [ustar],
  734      [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
  735       # There is notably a 21 bits limit for the UID and the GID.  In fact,
  736       # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
  737       # and bug#13588).
  738       am_max_uid=2097151 # 2^21 - 1
  739       am_max_gid=$am_max_uid
  740       # The $UID and $GID variables are not portable, so we need to resort
  741       # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
  742       # below are definitely unexpected, so allow the users to see them
  743       # (that is, avoid stderr redirection).
  744       am_uid=`id -u || echo unknown`
  745       am_gid=`id -g || echo unknown`
  746       AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
  747       if test $am_uid -le $am_max_uid; then
  748          AC_MSG_RESULT([yes])
  749       else
  750          AC_MSG_RESULT([no])
  751          _am_tools=none
  752       fi
  753       AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
  754       if test $am_gid -le $am_max_gid; then
  755          AC_MSG_RESULT([yes])
  756       else
  757         AC_MSG_RESULT([no])
  758         _am_tools=none
  759       fi],
  760 
  761   [pax],
  762     [],
  763 
  764   [m4_fatal([Unknown tar format])])
  765 
  766   AC_MSG_CHECKING([how to create a $1 tar archive])
  767 
  768   # Go ahead even if we have the value already cached.  We do so because we
  769   # need to set the values for the 'am__tar' and 'am__untar' variables.
  770   _am_tools=${am_cv_prog_tar_$1-$_am_tools}
  771 
  772   for _am_tool in $_am_tools; do
  773     case $_am_tool in
  774     gnutar)
  775       for _am_tar in tar gnutar gtar; do
  776         AM_RUN_LOG([$_am_tar --version]) && break
  777       done
  778       am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
  779       am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
  780       am__untar="$_am_tar -xf -"
  781       ;;
  782     plaintar)
  783       # Must skip GNU tar: if it does not support --format= it doesn't create
  784       # ustar tarball either.
  785       (tar --version) >/dev/null 2>&1 && continue
  786       am__tar='tar chf - "$$tardir"'
  787       am__tar_='tar chf - "$tardir"'
  788       am__untar='tar xf -'
  789       ;;
  790     pax)
  791       am__tar='pax -L -x $1 -w "$$tardir"'
  792       am__tar_='pax -L -x $1 -w "$tardir"'
  793       am__untar='pax -r'
  794       ;;
  795     cpio)
  796       am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
  797       am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
  798       am__untar='cpio -i -H $1 -d'
  799       ;;
  800     none)
  801       am__tar=false
  802       am__tar_=false
  803       am__untar=false
  804       ;;
  805     esac
  806 
  807     # If the value was cached, stop now.  We just wanted to have am__tar
  808     # and am__untar set.
  809     test -n "${am_cv_prog_tar_$1}" && break
  810 
  811     # tar/untar a dummy directory, and stop if the command works.
  812     rm -rf conftest.dir
  813     mkdir conftest.dir
  814     echo GrepMe > conftest.dir/file
  815     AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
  816     rm -rf conftest.dir
  817     if test -s conftest.tar; then
  818       AM_RUN_LOG([$am__untar <conftest.tar])
  819       AM_RUN_LOG([cat conftest.dir/file])
  820       grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
  821     fi
  822   done
  823   rm -rf conftest.dir
  824 
  825   AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
  826   AC_MSG_RESULT([$am_cv_prog_tar_$1])])
  827 
  828 AC_SUBST([am__tar])
  829 AC_SUBST([am__untar])
  830 ]) # _AM_PROG_TAR
  831 
  832 m4_include([build-config/common/m4/ac_common_package.m4])
  833 m4_include([build-config/common/m4/ac_recursive_eval.m4])
  834 m4_include([build-config/common/m4/ac_scorep_compiler_and_flags.m4])
  835 m4_include([build-config/common/m4/ac_scorep_doxygen.m4])
  836 m4_include([build-config/common/m4/ac_scorep_external_components.m4])
  837 m4_include([build-config/common/m4/ac_scorep_git_controlled.m4])
  838 m4_include([build-config/common/m4/ac_scorep_sys_detection.m4])
  839 m4_include([build-config/common/m4/ac_scorep_toplevel_args.m4])
  840 m4_include([build-config/common/m4/ac_scorep_uncrustify.m4])
  841 m4_include([build-config/common/m4/ac_scorep_version_and_revision.m4])
  842 m4_include([build-config/common/m4/afs_compiler_backend.m4])
  843 m4_include([build-config/common/m4/afs_compiler_mpi.m4])
  844 m4_include([build-config/common/m4/afs_maintainer_mode.m4])
  845 m4_include([build-config/common/m4/afs_summary.m4])
  846 m4_include([build-config/common/m4/ax_config_subdir.m4])
  847 m4_include([build-config/m4/scalasca_corporate_sty.m4])
  848 m4_include([build-config/m4/scalasca_mic.m4])
  849 m4_include([build-config/m4/scalasca_toplevel_args.m4])