"Fossies" - the Fresh Open Source Software Archive

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


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. 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 "configure": 2.3.1_vs_2.4.

A hint: This file contains one or more very long lines, so maybe it is better readable using the pure text view mode that shows the contents as wrapped lines within the browser window.


    1 #! /bin/sh
    2 # Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.69 for Scalasca 2.6.
    4 #
    5 # Report bugs to <scalasca@fz-juelich.de>.
    6 #
    7 #
    8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
    9 #
   10 #
   11 # This configure script is free software; the Free Software Foundation
   12 # gives unlimited permission to copy, distribute and modify it.
   13 ## -------------------- ##
   14 ## M4sh Initialization. ##
   15 ## -------------------- ##
   16 
   17 # Be more Bourne compatible
   18 DUALCASE=1; export DUALCASE # for MKS sh
   19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   20   emulate sh
   21   NULLCMD=:
   22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   23   # is contrary to our usage.  Disable this feature.
   24   alias -g '${1+"$@"}'='"$@"'
   25   setopt NO_GLOB_SUBST
   26 else
   27   case `(set -o) 2>/dev/null` in #(
   28   *posix*) :
   29     set -o posix ;; #(
   30   *) :
   31      ;;
   32 esac
   33 fi
   34 
   35 
   36 as_nl='
   37 '
   38 export as_nl
   39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   43 # Prefer a ksh shell builtin over an external printf program on Solaris,
   44 # but without wasting forks for bash or zsh.
   45 if test -z "$BASH_VERSION$ZSH_VERSION" \
   46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   47   as_echo='print -r --'
   48   as_echo_n='print -rn --'
   49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   50   as_echo='printf %s\n'
   51   as_echo_n='printf %s'
   52 else
   53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   55     as_echo_n='/usr/ucb/echo -n'
   56   else
   57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   58     as_echo_n_body='eval
   59       arg=$1;
   60       case $arg in #(
   61       *"$as_nl"*)
   62     expr "X$arg" : "X\\(.*\\)$as_nl";
   63     arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   64       esac;
   65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   66     '
   67     export as_echo_n_body
   68     as_echo_n='sh -c $as_echo_n_body as_echo'
   69   fi
   70   export as_echo_body
   71   as_echo='sh -c $as_echo_body as_echo'
   72 fi
   73 
   74 # The user is always right.
   75 if test "${PATH_SEPARATOR+set}" != set; then
   76   PATH_SEPARATOR=:
   77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   79       PATH_SEPARATOR=';'
   80   }
   81 fi
   82 
   83 
   84 # need to catch these variables, before unsetting them later
   85 : ${AS_COLOR:=$CLICOLOR}; export AS_COLOR
   86 : ${AS_COLOR_FORCE:=$CLICOLOR_FORCE}; export AS_COLOR_FORCE
   87 
   88 as__red=
   89 as__grn=
   90 as__yel=
   91 as__blu=
   92 as__mag=
   93 as__cya=
   94 as__gry=
   95 as__std=
   96 as__color=no
   97 if test "X$AS_COLOR_FORCE" = X0; then
   98   as__color=no;
   99 elif test "X$AS_COLOR_FORCE" = X1; then
  100   as__color=yes
  101 elif { test "X$TERM" != Xdumb || test "X$AS_COLOR" = X1; } && { test -t 1; } 2>/dev/null; then
  102   as__color=yes
  103 fi
  104 if test $as__color = yes; then
  105   as__red=''
  106   as__grn=''
  107   as__yel=''
  108   as__blu=''
  109   as__mag=''
  110   as__cya=''
  111   as__gry=''
  112   as__std=''
  113 fi
  114 
  115 # IFS
  116 # We need space, tab and new line, in precisely that order.  Quoting is
  117 # there to prevent editors from complaining about space-tab.
  118 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  119 # splitting by setting IFS to empty value.)
  120 IFS=" ""    $as_nl"
  121 
  122 # Find who we are.  Look in the path if we contain no directory separator.
  123 as_myself=
  124 case $0 in #((
  125   *[\\/]* ) as_myself=$0 ;;
  126   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  127 for as_dir in $PATH
  128 do
  129   IFS=$as_save_IFS
  130   test -z "$as_dir" && as_dir=.
  131     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  132   done
  133 IFS=$as_save_IFS
  134 
  135      ;;
  136 esac
  137 # We did not find ourselves, most probably we were run as `sh COMMAND'
  138 # in which case we are not to be found in the path.
  139 if test "x$as_myself" = x; then
  140   as_myself=$0
  141 fi
  142 if test ! -f "$as_myself"; then
  143   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  144   exit 1
  145 fi
  146 
  147 # Unset variables that we do not need and which cause bugs (e.g. in
  148 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
  149 # suppresses any "Segmentation fault" message there.  '((' could
  150 # trigger a bug in pdksh 5.2.14.
  151 for as_var in BASH_ENV ENV MAIL MAILPATH
  152 do eval test x\${$as_var+set} = xset \
  153   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  154 done
  155 PS1='$ '
  156 PS2='> '
  157 PS4='+ '
  158 
  159 # NLS nuisances.
  160 LC_ALL=C
  161 export LC_ALL
  162 LANGUAGE=C
  163 export LANGUAGE
  164 
  165 # CDPATH.
  166 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  167 
  168 # Use a proper internal environment variable to ensure we don't fall
  169   # into an infinite loop, continuously re-executing ourselves.
  170   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
  171     _as_can_reexec=no; export _as_can_reexec;
  172     # We cannot yet assume a decent shell, so we have to provide a
  173 # neutralization value for shells without unset; and this also
  174 # works around shells that cannot unset nonexistent variables.
  175 # Preserve -v and -x to the replacement shell.
  176 BASH_ENV=/dev/null
  177 ENV=/dev/null
  178 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  179 case $- in # ((((
  180   *v*x* | *x*v* ) as_opts=-vx ;;
  181   *v* ) as_opts=-v ;;
  182   *x* ) as_opts=-x ;;
  183   * ) as_opts= ;;
  184 esac
  185 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  186 # Admittedly, this is quite paranoid, since all the known shells bail
  187 # out after a failed `exec'.
  188 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  189 as_fn_exit 255
  190   fi
  191   # We don't want this to propagate to other subprocesses.
  192           { _as_can_reexec=; unset _as_can_reexec;}
  193 if test "x$CONFIG_SHELL" = x; then
  194   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  195   emulate sh
  196   NULLCMD=:
  197   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  198   # is contrary to our usage.  Disable this feature.
  199   alias -g '\${1+\"\$@\"}'='\"\$@\"'
  200   setopt NO_GLOB_SUBST
  201 else
  202   case \`(set -o) 2>/dev/null\` in #(
  203   *posix*) :
  204     set -o posix ;; #(
  205   *) :
  206      ;;
  207 esac
  208 fi
  209 "
  210   as_required="as_fn_return () { (exit \$1); }
  211 as_fn_success () { as_fn_return 0; }
  212 as_fn_failure () { as_fn_return 1; }
  213 as_fn_ret_success () { return 0; }
  214 as_fn_ret_failure () { return 1; }
  215 
  216 exitcode=0
  217 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  218 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  219 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  220 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  221 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  222 
  223 else
  224   exitcode=1; echo positional parameters were not saved.
  225 fi
  226 test x\$exitcode = x0 || exit 1
  227 test -x / || exit 1"
  228   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  229   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  230   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  231   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  232 test \$(( 1 + 1 )) = 2 || exit 1"
  233   if (eval "$as_required") 2>/dev/null; then :
  234   as_have_required=yes
  235 else
  236   as_have_required=no
  237 fi
  238   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  239 
  240 else
  241   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  242 as_found=false
  243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  244 do
  245   IFS=$as_save_IFS
  246   test -z "$as_dir" && as_dir=.
  247   as_found=:
  248   case $as_dir in #(
  249      /*)
  250        for as_base in sh bash ksh sh5; do
  251          # Try only shells that exist, to save several forks.
  252          as_shell=$as_dir/$as_base
  253          if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  254             { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  255   CONFIG_SHELL=$as_shell as_have_required=yes
  256            if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  257   break 2
  258 fi
  259 fi
  260        done;;
  261        esac
  262   as_found=false
  263 done
  264 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  265           { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  266   CONFIG_SHELL=$SHELL as_have_required=yes
  267 fi; }
  268 IFS=$as_save_IFS
  269 
  270 
  271       if test "x$CONFIG_SHELL" != x; then :
  272   export CONFIG_SHELL
  273              # We cannot yet assume a decent shell, so we have to provide a
  274 # neutralization value for shells without unset; and this also
  275 # works around shells that cannot unset nonexistent variables.
  276 # Preserve -v and -x to the replacement shell.
  277 BASH_ENV=/dev/null
  278 ENV=/dev/null
  279 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  280 case $- in # ((((
  281   *v*x* | *x*v* ) as_opts=-vx ;;
  282   *v* ) as_opts=-v ;;
  283   *x* ) as_opts=-x ;;
  284   * ) as_opts= ;;
  285 esac
  286 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  287 # Admittedly, this is quite paranoid, since all the known shells bail
  288 # out after a failed `exec'.
  289 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  290 exit 255
  291 fi
  292 
  293     if test x$as_have_required = xno; then :
  294   $as_echo "$0: This script requires a shell more modern than all"
  295   $as_echo "$0: the shells that I found on your system."
  296   if test x${ZSH_VERSION+set} = xset ; then
  297     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  298     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  299   else
  300     $as_echo "$0: Please tell bug-autoconf@gnu.org and
  301 $0: scalasca@fz-juelich.de about your system, including any
  302 $0: error possibly output before this message. Then install
  303 $0: a modern shell, or manually run the script under such a
  304 $0: shell if you do have one."
  305   fi
  306   exit 1
  307 fi
  308 fi
  309 fi
  310 SHELL=${CONFIG_SHELL-/bin/sh}
  311 export SHELL
  312 # Unset more variables known to interfere with behavior of common tools.
  313 CLICOLOR_FORCE= GREP_OPTIONS=
  314 unset CLICOLOR_FORCE GREP_OPTIONS
  315 
  316 ## --------------------- ##
  317 ## M4sh Shell Functions. ##
  318 ## --------------------- ##
  319 # as_fn_unset VAR
  320 # ---------------
  321 # Portably unset VAR.
  322 as_fn_unset ()
  323 {
  324   { eval $1=; unset $1;}
  325 }
  326 as_unset=as_fn_unset
  327 
  328 # as_fn_set_status STATUS
  329 # -----------------------
  330 # Set $? to STATUS, without forking.
  331 as_fn_set_status ()
  332 {
  333   return $1
  334 } # as_fn_set_status
  335 
  336 # as_fn_exit STATUS
  337 # -----------------
  338 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  339 as_fn_exit ()
  340 {
  341   set +e
  342   as_fn_set_status $1
  343   exit $1
  344 } # as_fn_exit
  345 
  346 # as_fn_mkdir_p
  347 # -------------
  348 # Create "$as_dir" as a directory, including parents if necessary.
  349 as_fn_mkdir_p ()
  350 {
  351 
  352   case $as_dir in #(
  353   -*) as_dir=./$as_dir;;
  354   esac
  355   test -d "$as_dir" || eval $as_mkdir_p || {
  356     as_dirs=
  357     while :; do
  358       case $as_dir in #(
  359       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  360       *) as_qdir=$as_dir;;
  361       esac
  362       as_dirs="'$as_qdir' $as_dirs"
  363       as_dir=`$as_dirname -- "$as_dir" ||
  364 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  365      X"$as_dir" : 'X\(//\)[^/]' \| \
  366      X"$as_dir" : 'X\(//\)$' \| \
  367      X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  368 $as_echo X"$as_dir" |
  369     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  370         s//\1/
  371         q
  372       }
  373       /^X\(\/\/\)[^/].*/{
  374         s//\1/
  375         q
  376       }
  377       /^X\(\/\/\)$/{
  378         s//\1/
  379         q
  380       }
  381       /^X\(\/\).*/{
  382         s//\1/
  383         q
  384       }
  385       s/.*/./; q'`
  386       test -d "$as_dir" && break
  387     done
  388     test -z "$as_dirs" || eval "mkdir $as_dirs"
  389   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  390 
  391 
  392 } # as_fn_mkdir_p
  393 
  394 # as_fn_executable_p FILE
  395 # -----------------------
  396 # Test if FILE is an executable regular file.
  397 as_fn_executable_p ()
  398 {
  399   test -f "$1" && test -x "$1"
  400 } # as_fn_executable_p
  401 # as_fn_append VAR VALUE
  402 # ----------------------
  403 # Append the text in VALUE to the end of the definition contained in VAR. Take
  404 # advantage of any shell optimizations that allow amortized linear growth over
  405 # repeated appends, instead of the typical quadratic growth present in naive
  406 # implementations.
  407 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  408   eval 'as_fn_append ()
  409   {
  410     eval $1+=\$2
  411   }'
  412 else
  413   as_fn_append ()
  414   {
  415     eval $1=\$$1\$2
  416   }
  417 fi # as_fn_append
  418 
  419 # as_fn_arith ARG...
  420 # ------------------
  421 # Perform arithmetic evaluation on the ARGs, and store the result in the
  422 # global $as_val. Take advantage of shells that can avoid forks. The arguments
  423 # must be portable across $(()) and expr.
  424 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  425   eval 'as_fn_arith ()
  426   {
  427     as_val=$(( $* ))
  428   }'
  429 else
  430   as_fn_arith ()
  431   {
  432     as_val=`expr "$@" || test $? -eq 1`
  433   }
  434 fi # as_fn_arith
  435 
  436 
  437 # ax_fn_config_subdir
  438 # -------------------
  439 # trigger configure in ax_subdir with arguments ax_subdir_args. Adjusts
  440 # parameters by updating --cache-file, --srcdir, --prefix, and adding
  441 # --disable-option-checking as in AC_CONFIG_SUBIRS.
  442 ax_fn_config_subdir ()
  443 {
  444 ax_subdir="$1"
  445 ax_subdir_args="$2"
  446 
  447 # BEGIN: slightly modified snippet from status.m4
  448 # Remove --cache-file, --srcdir, --prefix, and
  449 # --disable-option-checking arguments so they do not pile up.
  450 # Input: ax_subdir_args; output: ax_sub_configure_args
  451 ax_sub_configure_args=
  452 ac_prev=
  453 eval "set x $ax_subdir_args"
  454 shift
  455 for ac_arg
  456 do
  457   if test -n "$ac_prev"; then
  458     ac_prev=
  459     continue
  460   fi
  461   case $ac_arg in
  462   -cache-file | --cache-file | --cache-fil | --cache-fi \
  463   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  464     ac_prev=cache_file ;;
  465   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  466   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
  467   | --c=*)
  468     ;;
  469   --config-cache | -C)
  470     ;;
  471   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  472     ac_prev=srcdir ;;
  473   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  474     ;;
  475   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  476     ac_prev=prefix ;;
  477   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  478     ;;
  479   --disable-option-checking)
  480     ;;
  481   *)
  482     case $ac_arg in
  483     *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  484     esac
  485     as_fn_append ax_sub_configure_args " '$ac_arg'" ;;
  486   esac
  487 done
  488 
  489 # Always prepend --prefix to ensure using the same prefix
  490 # in subdir configurations.
  491 ac_arg="--prefix=$prefix"
  492 case $ac_arg in
  493 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  494 esac
  495 ax_sub_configure_args="'$ac_arg' $ax_sub_configure_args"
  496 
  497 # Pass --silent
  498 if test "$silent" = yes; then
  499   ax_sub_configure_args="--silent $ax_sub_configure_args"
  500 fi
  501 
  502 # Always prepend --disable-option-checking to silence warnings, since
  503 # different subdirs can have different --enable and --with options.
  504 ax_sub_configure_args="--disable-option-checking $ax_sub_configure_args"
  505 
  506 ax_popdir=`pwd`
  507 
  508 ac_msg="=== configuring in $ax_subdir (`pwd`/$ax_subdir)"
  509 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
  510 $as_echo "$ac_msg" >&6
  511 as_dir="$ax_subdir"; as_fn_mkdir_p
  512 ac_builddir=.
  513 
  514 case "$ax_subdir" in
  515 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  516 *)
  517   ac_dir_suffix=/`$as_echo "$ax_subdir" | sed 's|^\.[\\/]||'`
  518   # A ".." for each directory in $ac_dir_suffix.
  519   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  520   case $ac_top_builddir_sub in
  521   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  522   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  523   esac ;;
  524 esac
  525 ac_abs_top_builddir=$ac_pwd
  526 ac_abs_builddir=$ac_pwd$ac_dir_suffix
  527 # for backward compatibility:
  528 ac_top_builddir=$ac_top_build_prefix
  529 
  530 case $srcdir in
  531   .)  # We are building in place.
  532     ac_srcdir=.
  533     ac_top_srcdir=$ac_top_builddir_sub
  534     ac_abs_top_srcdir=$ac_pwd ;;
  535   [\\/]* | ?:[\\/]* )  # Absolute name.
  536     ac_srcdir=$srcdir$ac_dir_suffix;
  537     ac_top_srcdir=$srcdir
  538     ac_abs_top_srcdir=$srcdir ;;
  539   *) # Relative name.
  540     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  541     ac_top_srcdir=$ac_top_build_prefix$srcdir
  542     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  543 esac
  544 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  545 
  546 
  547 cd "$ax_subdir"
  548 
  549 # Check for guested configure; otherwise get Cygnus style configure.
  550 if test -f "$ac_srcdir/configure.gnu"; then
  551   ax_sub_configure=$ac_srcdir/configure.gnu
  552 elif test -f "$ac_srcdir/configure"; then
  553   ax_sub_configure=$ac_srcdir/configure
  554 elif test -f "$ac_srcdir/configure.in"; then
  555   # This should be Cygnus configure.
  556   ax_sub_configure=$ac_aux_dir/configure
  557 else
  558   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ax_subdir" >&5
  559 $as_echo "$as_me: ${as__yel}WARNING: no configuration information is in $ax_subdir${as__std}" >&2;}
  560   ax_sub_configure=
  561 fi
  562 
  563 # The recursion is here.
  564 if test -n "$ax_sub_configure"; then
  565   # Make the cache file name correct relative to the subdirectory.
  566   case $cache_file in
  567   [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
  568   *) # Relative name.
  569   ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
  570   esac
  571 
  572   { $as_echo "$as_me:${as_lineno-$LINENO}: info: running $SHELL $ax_sub_configure $ax_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
  573 $as_echo "$as_me: ${as__blu}info: running $SHELL $ax_sub_configure $ax_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir${as__std}" >&2;}
  574   # The eval makes quoting arguments work.
  575   eval "\$SHELL \"\$ax_sub_configure\" $ax_sub_configure_args \
  576      --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
  577      as_fn_error $? "$ax_sub_configure failed for $ax_subdir" "$LINENO" 5
  578 fi
  579 
  580 cd "$ax_popdir"
  581 # END: slightly modified snippet from status.m4
  582 } # ax_fn_config_subdir
  583 
  584 # as_fn_error STATUS ERROR [LINENO LOG_FD]
  585 # ----------------------------------------
  586 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  587 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  588 # script with STATUS, using 1 if that was 0.
  589 as_fn_error ()
  590 {
  591   as_status=$1; test $as_status -eq 0 && as_status=1
  592   if test "$4"; then
  593     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  594     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  595   fi
  596   $as_echo "$as_me: ${as__red}error: $2${as__std}" >&2
  597   as_fn_exit $as_status
  598 } # as_fn_error
  599 
  600 if expr a : '\(a\)' >/dev/null 2>&1 &&
  601    test "X`expr 00001 : '.*\(...\)'`" = X001; then
  602   as_expr=expr
  603 else
  604   as_expr=false
  605 fi
  606 
  607 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  608   as_basename=basename
  609 else
  610   as_basename=false
  611 fi
  612 
  613 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  614   as_dirname=dirname
  615 else
  616   as_dirname=false
  617 fi
  618 
  619 as_me=`$as_basename -- "$0" ||
  620 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  621      X"$0" : 'X\(//\)$' \| \
  622      X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  623 $as_echo X/"$0" |
  624     sed '/^.*\/\([^/][^/]*\)\/*$/{
  625         s//\1/
  626         q
  627       }
  628       /^X\/\(\/\/\)$/{
  629         s//\1/
  630         q
  631       }
  632       /^X\/\(\/\).*/{
  633         s//\1/
  634         q
  635       }
  636       s/.*/./; q'`
  637 
  638 # Avoid depending upon Character Ranges.
  639 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  640 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  641 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  642 as_cr_digits='0123456789'
  643 as_cr_alnum=$as_cr_Letters$as_cr_digits
  644 
  645 
  646   as_lineno_1=$LINENO as_lineno_1a=$LINENO
  647   as_lineno_2=$LINENO as_lineno_2a=$LINENO
  648   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  649   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  650   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
  651   sed -n '
  652     p
  653     /[$]LINENO/=
  654   ' <$as_myself |
  655     sed '
  656       s/[$]LINENO.*/&-/
  657       t lineno
  658       b
  659       :lineno
  660       N
  661       :loop
  662       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  663       t loop
  664       s/-\n.*//
  665     ' >$as_me.lineno &&
  666   chmod +x "$as_me.lineno" ||
  667     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  668 
  669   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
  670   # already done that, so ensure we don't try to do so again and fall
  671   # in an infinite loop.  This has already happened in practice.
  672   _as_can_reexec=no; export _as_can_reexec
  673   # Don't try to exec as it changes $[0], causing all sort of problems
  674   # (the dirname of $[0] is not the place where we might find the
  675   # original and so on.  Autoconf is especially sensitive to this).
  676   . "./$as_me.lineno"
  677   # Exit status is that of the last command.
  678   exit
  679 }
  680 
  681 ECHO_C= ECHO_N= ECHO_T=
  682 case `echo -n x` in #(((((
  683 -n*)
  684   case `echo 'xy\c'` in
  685   *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  686   xy)  ECHO_C='\c';;
  687   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
  688        ECHO_T=' ';;
  689   esac;;
  690 *)
  691   ECHO_N='-n';;
  692 esac
  693 
  694 rm -f conf$$ conf$$.exe conf$$.file
  695 if test -d conf$$.dir; then
  696   rm -f conf$$.dir/conf$$.file
  697 else
  698   rm -f conf$$.dir
  699   mkdir conf$$.dir 2>/dev/null
  700 fi
  701 if (echo >conf$$.file) 2>/dev/null; then
  702   if ln -s conf$$.file conf$$ 2>/dev/null; then
  703     as_ln_s='ln -s'
  704     # ... but there are two gotchas:
  705     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  706     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  707     # In both cases, we have to default to `cp -pR'.
  708     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  709       as_ln_s='cp -pR'
  710   elif ln conf$$.file conf$$ 2>/dev/null; then
  711     as_ln_s=ln
  712   else
  713     as_ln_s='cp -pR'
  714   fi
  715 else
  716   as_ln_s='cp -pR'
  717 fi
  718 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  719 rmdir conf$$.dir 2>/dev/null
  720 
  721 if mkdir -p . 2>/dev/null; then
  722   as_mkdir_p='mkdir -p "$as_dir"'
  723 else
  724   test -d ./-p && rmdir ./-p
  725   as_mkdir_p=false
  726 fi
  727 
  728 as_test_x='test -x'
  729 as_executable_p=as_fn_executable_p
  730 
  731 # Sed expression to map a string onto a valid CPP name.
  732 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  733 
  734 # Sed expression to map a string onto a valid variable name.
  735 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  736 
  737 
  738 test -n "$DJDIR" || exec 7<&0 </dev/null
  739 exec 6>&1
  740 
  741 # Name of the host.
  742 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
  743 # so uname gets run too.
  744 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  745 
  746 #
  747 # Initializations.
  748 #
  749 ac_default_prefix=/usr/local
  750 ac_clean_files=
  751 ac_config_libobj_dir=.
  752 LIBOBJS=
  753 cross_compiling=no
  754 subdirs=
  755 MFLAGS=
  756 MAKEFLAGS=
  757 
  758 # Identity of this package.
  759 PACKAGE_NAME='Scalasca'
  760 PACKAGE_TARNAME='scalasca'
  761 PACKAGE_VERSION='2.6'
  762 PACKAGE_STRING='Scalasca 2.6'
  763 PACKAGE_BUGREPORT='scalasca@fz-juelich.de'
  764 PACKAGE_URL='https://www.scalasca.org'
  765 
  766 ac_default_prefix=/opt/scalasca
  767 enable_option_checking=no
  768 ax_config_subdir_dir_1=
  769 ax_config_subdir_args_1=
  770 ax_config_subdir_dir_2=
  771 ax_config_subdir_args_2=
  772 ax_config_subdir_dir_3=
  773 ax_config_subdir_args_3=
  774 ax_config_subdir_dir_4=
  775 ax_config_subdir_args_4=
  776 ax_config_subdir_dir_5=
  777 ax_config_subdir_args_5=
  778 ac_subst_vars='LTLIBOBJS
  779 LIBOBJS
  780 PROHIBIT_MAKE_DIST
  781 ax_config_subdirs
  782 scorep_have_cubew_config
  783 scorep_have_otf2_config
  784 HAVE_CORPORATE_STY
  785 HAVE_UNCRUSTIFY_FALSE
  786 HAVE_UNCRUSTIFY_TRUE
  787 ac_scorep_have_uncrustify
  788 ac_scorep_doxygen_distdir
  789 HAVE_DOXYGEN_LATEX_FALSE
  790 HAVE_DOXYGEN_LATEX_TRUE
  791 have_doxygen_latex
  792 have_makeindex
  793 have_pdflatex
  794 have_dot
  795 HAVE_DOXYGEN_FALSE
  796 HAVE_DOXYGEN_TRUE
  797 DOXYGEN
  798 LN_S
  799 BUILD_MIC_WRAPPER_FALSE
  800 BUILD_MIC_WRAPPER_TRUE
  801 MIC_SUPPORT_FALSE
  802 MIC_SUPPORT_TRUE
  803 CROSS_BUILD_FALSE
  804 CROSS_BUILD_TRUE
  805 NM
  806 PLATFORM_CRAY_FALSE
  807 PLATFORM_CRAY_TRUE
  808 PLATFORM_FX100_FALSE
  809 PLATFORM_FX100_TRUE
  810 PLATFORM_FX10_FALSE
  811 PLATFORM_FX10_TRUE
  812 PLATFORM_K_FALSE
  813 PLATFORM_K_TRUE
  814 PLATFORM_MINGW_FALSE
  815 PLATFORM_MINGW_TRUE
  816 PLATFORM_NECSX_FALSE
  817 PLATFORM_NECSX_TRUE
  818 PLATFORM_MIC_FALSE
  819 PLATFORM_MIC_TRUE
  820 PLATFORM_MAC_FALSE
  821 PLATFORM_MAC_TRUE
  822 PLATFORM_SOLARIS_FALSE
  823 PLATFORM_SOLARIS_TRUE
  824 PLATFORM_LINUX_FALSE
  825 PLATFORM_LINUX_TRUE
  826 PLATFORM_CRAYUNKNOWN_FALSE
  827 PLATFORM_CRAYUNKNOWN_TRUE
  828 PLATFORM_CRAYXC_FALSE
  829 PLATFORM_CRAYXC_TRUE
  830 PLATFORM_CRAYXK_FALSE
  831 PLATFORM_CRAYXK_TRUE
  832 PLATFORM_CRAYXE_FALSE
  833 PLATFORM_CRAYXE_TRUE
  834 PLATFORM_CRAYXT_FALSE
  835 PLATFORM_CRAYXT_TRUE
  836 PLATFORM_BGQ_FALSE
  837 PLATFORM_BGQ_TRUE
  838 PLATFORM_BGP_FALSE
  839 PLATFORM_BGP_TRUE
  840 PLATFORM_BGL_FALSE
  841 PLATFORM_BGL_TRUE
  842 PLATFORM_AIX_FALSE
  843 PLATFORM_AIX_TRUE
  844 PLATFORM_ALTIX_FALSE
  845 PLATFORM_ALTIX_TRUE
  846 has_ftn
  847 has_CC
  848 has_cc
  849 build_os
  850 build_vendor
  851 build_cpu
  852 build
  853 LIBRARY_AGE
  854 LIBRARY_REVISION
  855 LIBRARY_CURRENT
  856 PACKAGE_SUFFIX
  857 PACKAGE_BUGFIX
  858 PACKAGE_MINOR
  859 PACKAGE_MAJOR
  860 MAINT
  861 MAINTAINER_MODE_FALSE
  862 MAINTAINER_MODE_TRUE
  863 SED
  864 GIT_CONTROLLED_FALSE
  865 GIT_CONTROLLED_TRUE
  866 AM_BACKSLASH
  867 AM_DEFAULT_VERBOSITY
  868 AM_DEFAULT_V
  869 AM_V
  870 am__untar
  871 am__tar
  872 AMTAR
  873 am__leading_dot
  874 SET_MAKE
  875 AWK
  876 mkdir_p
  877 MKDIR_P
  878 INSTALL_STRIP_PROGRAM
  879 STRIP
  880 install_sh
  881 MAKEINFO
  882 AUTOHEADER
  883 AUTOMAKE
  884 AUTOCONF
  885 ACLOCAL
  886 VERSION
  887 PACKAGE
  888 CYGPATH_W
  889 am__isrc
  890 INSTALL_DATA
  891 INSTALL_SCRIPT
  892 INSTALL_PROGRAM
  893 BACKEND_TEST_RUNS_NON_RECURSIVE
  894 GREP
  895 afs_srcdir
  896 AFS_PACKAGE_NAME
  897 AFS_PACKAGE_name
  898 target_alias
  899 host_alias
  900 build_alias
  901 LIBS
  902 ECHO_T
  903 ECHO_N
  904 ECHO_C
  905 DEFS
  906 mandir
  907 localedir
  908 libdir
  909 psdir
  910 pdfdir
  911 dvidir
  912 htmldir
  913 infodir
  914 docdir
  915 oldincludedir
  916 includedir
  917 localstatedir
  918 sharedstatedir
  919 sysconfdir
  920 datadir
  921 datarootdir
  922 libexecdir
  923 sbindir
  924 bindir
  925 program_transform_name
  926 prefix
  927 exec_prefix
  928 PACKAGE_URL
  929 PACKAGE_BUGREPORT
  930 PACKAGE_STRING
  931 PACKAGE_VERSION
  932 PACKAGE_TARNAME
  933 PACKAGE_NAME
  934 PATH_SEPARATOR
  935 SHELL'
  936 ac_subst_files=''
  937 ac_user_opts='
  938 enable_option_checking
  939 enable_silent_rules
  940 enable_maintainer_mode
  941 enable_platform_mic
  942 with_custom_compilers
  943 with_nocross_compiler_suite
  944 with_frontend_compiler_suite
  945 with_mpi
  946 with_otf2
  947 with_cubew
  948 '
  949       ac_precious_vars='build_alias
  950 host_alias
  951 target_alias
  952 BACKEND_TEST_RUNS_NON_RECURSIVE'
  953 ac_subdirs_all='vendor/otf2
  954 vendor/cubew
  955 build-backend
  956 build-mpi
  957 build-frontend'
  958 
  959 # Initialize some variables set by options.
  960 ac_init_help=
  961 ac_init_version=false
  962 ac_unrecognized_opts=
  963 ac_unrecognized_sep=
  964 # The variables have the same names as the options, with
  965 # dashes changed to underlines.
  966 cache_file=/dev/null
  967 exec_prefix=NONE
  968 no_create=
  969 no_recursion=
  970 prefix=NONE
  971 program_prefix=NONE
  972 program_suffix=NONE
  973 program_transform_name=s,x,x,
  974 silent=
  975 site=
  976 srcdir=
  977 verbose=
  978 x_includes=NONE
  979 x_libraries=NONE
  980 
  981 # Installation directory options.
  982 # These are left unexpanded so users can "make install exec_prefix=/foo"
  983 # and all the variables that are supposed to be based on exec_prefix
  984 # by default will actually change.
  985 # Use braces instead of parens because sh, perl, etc. also accept them.
  986 # (The list follows the same order as the GNU Coding Standards.)
  987 bindir='${exec_prefix}/bin'
  988 sbindir='${exec_prefix}/sbin'
  989 libexecdir='${exec_prefix}/libexec'
  990 datarootdir='${prefix}/share'
  991 datadir='${datarootdir}'
  992 sysconfdir='${prefix}/etc'
  993 sharedstatedir='${prefix}/com'
  994 localstatedir='${prefix}/var'
  995 includedir='${prefix}/include'
  996 oldincludedir='/usr/include'
  997 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  998 infodir='${datarootdir}/info'
  999 htmldir='${docdir}'
 1000 dvidir='${docdir}'
 1001 pdfdir='${docdir}'
 1002 psdir='${docdir}'
 1003 libdir='${exec_prefix}/lib'
 1004 localedir='${datarootdir}/locale'
 1005 mandir='${datarootdir}/man'
 1006 
 1007 ac_prev=
 1008 ac_dashdash=
 1009 for ac_option
 1010 do
 1011   # If the previous option needs an argument, assign it.
 1012   if test -n "$ac_prev"; then
 1013     eval $ac_prev=\$ac_option
 1014     ac_prev=
 1015     continue
 1016   fi
 1017 
 1018   case $ac_option in
 1019   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 1020   *=)   ac_optarg= ;;
 1021   *)    ac_optarg=yes ;;
 1022   esac
 1023 
 1024   # Accept the important Cygnus configure options, so we can diagnose typos.
 1025 
 1026   case $ac_dashdash$ac_option in
 1027   --)
 1028     ac_dashdash=yes ;;
 1029 
 1030   -bindir | --bindir | --bindi | --bind | --bin | --bi)
 1031     ac_prev=bindir ;;
 1032   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
 1033     bindir=$ac_optarg ;;
 1034 
 1035   -build | --build | --buil | --bui | --bu)
 1036     ac_prev=build_alias ;;
 1037   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
 1038     build_alias=$ac_optarg ;;
 1039 
 1040   -cache-file | --cache-file | --cache-fil | --cache-fi \
 1041   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
 1042     ac_prev=cache_file ;;
 1043   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
 1044   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
 1045     cache_file=$ac_optarg ;;
 1046 
 1047   --config-cache | -C)
 1048     cache_file=config.cache ;;
 1049 
 1050   -datadir | --datadir | --datadi | --datad)
 1051     ac_prev=datadir ;;
 1052   -datadir=* | --datadir=* | --datadi=* | --datad=*)
 1053     datadir=$ac_optarg ;;
 1054 
 1055   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 1056   | --dataroo | --dataro | --datar)
 1057     ac_prev=datarootdir ;;
 1058   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 1059   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 1060     datarootdir=$ac_optarg ;;
 1061 
 1062   -disable-* | --disable-*)
 1063     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 1064     # Reject names that are not valid shell variable names.
 1065     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1066       as_fn_error $? "invalid feature name: $ac_useropt"
 1067     ac_useropt_orig=$ac_useropt
 1068     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1069     case $ac_user_opts in
 1070       *"
 1071 "enable_$ac_useropt"
 1072 "*) ;;
 1073       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 1074      ac_unrecognized_sep=', ';;
 1075     esac
 1076     eval enable_$ac_useropt=no ;;
 1077 
 1078   -docdir | --docdir | --docdi | --doc | --do)
 1079     ac_prev=docdir ;;
 1080   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 1081     docdir=$ac_optarg ;;
 1082 
 1083   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 1084     ac_prev=dvidir ;;
 1085   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 1086     dvidir=$ac_optarg ;;
 1087 
 1088   -enable-* | --enable-*)
 1089     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 1090     # Reject names that are not valid shell variable names.
 1091     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1092       as_fn_error $? "invalid feature name: $ac_useropt"
 1093     ac_useropt_orig=$ac_useropt
 1094     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1095     case $ac_user_opts in
 1096       *"
 1097 "enable_$ac_useropt"
 1098 "*) ;;
 1099       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 1100      ac_unrecognized_sep=', ';;
 1101     esac
 1102     eval enable_$ac_useropt=\$ac_optarg ;;
 1103 
 1104   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
 1105   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
 1106   | --exec | --exe | --ex)
 1107     ac_prev=exec_prefix ;;
 1108   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
 1109   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
 1110   | --exec=* | --exe=* | --ex=*)
 1111     exec_prefix=$ac_optarg ;;
 1112 
 1113   -gas | --gas | --ga | --g)
 1114     # Obsolete; use --with-gas.
 1115     with_gas=yes ;;
 1116 
 1117   -help | --help | --hel | --he | -h)
 1118     ac_init_help=long ;;
 1119   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
 1120     ac_init_help=recursive ;;
 1121   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
 1122     ac_init_help=short ;;
 1123 
 1124   -host | --host | --hos | --ho)
 1125     ac_prev=host_alias ;;
 1126   -host=* | --host=* | --hos=* | --ho=*)
 1127     host_alias=$ac_optarg ;;
 1128 
 1129   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 1130     ac_prev=htmldir ;;
 1131   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 1132   | --ht=*)
 1133     htmldir=$ac_optarg ;;
 1134 
 1135   -includedir | --includedir | --includedi | --included | --include \
 1136   | --includ | --inclu | --incl | --inc)
 1137     ac_prev=includedir ;;
 1138   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 1139   | --includ=* | --inclu=* | --incl=* | --inc=*)
 1140     includedir=$ac_optarg ;;
 1141 
 1142   -infodir | --infodir | --infodi | --infod | --info | --inf)
 1143     ac_prev=infodir ;;
 1144   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 1145     infodir=$ac_optarg ;;
 1146 
 1147   -libdir | --libdir | --libdi | --libd)
 1148     ac_prev=libdir ;;
 1149   -libdir=* | --libdir=* | --libdi=* | --libd=*)
 1150     libdir=$ac_optarg ;;
 1151 
 1152   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 1153   | --libexe | --libex | --libe)
 1154     ac_prev=libexecdir ;;
 1155   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 1156   | --libexe=* | --libex=* | --libe=*)
 1157     libexecdir=$ac_optarg ;;
 1158 
 1159   -localedir | --localedir | --localedi | --localed | --locale)
 1160     ac_prev=localedir ;;
 1161   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 1162     localedir=$ac_optarg ;;
 1163 
 1164   -localstatedir | --localstatedir | --localstatedi | --localstated \
 1165   | --localstate | --localstat | --localsta | --localst | --locals)
 1166     ac_prev=localstatedir ;;
 1167   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 1168   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 1169     localstatedir=$ac_optarg ;;
 1170 
 1171   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 1172     ac_prev=mandir ;;
 1173   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 1174     mandir=$ac_optarg ;;
 1175 
 1176   -nfp | --nfp | --nf)
 1177     # Obsolete; use --without-fp.
 1178     with_fp=no ;;
 1179 
 1180   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 1181   | --no-cr | --no-c | -n)
 1182     no_create=yes ;;
 1183 
 1184   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 1185   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 1186     no_recursion=yes ;;
 1187 
 1188   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 1189   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 1190   | --oldin | --oldi | --old | --ol | --o)
 1191     ac_prev=oldincludedir ;;
 1192   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 1193   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 1194   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 1195     oldincludedir=$ac_optarg ;;
 1196 
 1197   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 1198     ac_prev=prefix ;;
 1199   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 1200     prefix=$ac_optarg ;;
 1201 
 1202   -program-prefix | --program-prefix | --program-prefi | --program-pref \
 1203   | --program-pre | --program-pr | --program-p)
 1204     ac_prev=program_prefix ;;
 1205   -program-prefix=* | --program-prefix=* | --program-prefi=* \
 1206   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 1207     program_prefix=$ac_optarg ;;
 1208 
 1209   -program-suffix | --program-suffix | --program-suffi | --program-suff \
 1210   | --program-suf | --program-su | --program-s)
 1211     ac_prev=program_suffix ;;
 1212   -program-suffix=* | --program-suffix=* | --program-suffi=* \
 1213   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 1214     program_suffix=$ac_optarg ;;
 1215 
 1216   -program-transform-name | --program-transform-name \
 1217   | --program-transform-nam | --program-transform-na \
 1218   | --program-transform-n | --program-transform- \
 1219   | --program-transform | --program-transfor \
 1220   | --program-transfo | --program-transf \
 1221   | --program-trans | --program-tran \
 1222   | --progr-tra | --program-tr | --program-t)
 1223     ac_prev=program_transform_name ;;
 1224   -program-transform-name=* | --program-transform-name=* \
 1225   | --program-transform-nam=* | --program-transform-na=* \
 1226   | --program-transform-n=* | --program-transform-=* \
 1227   | --program-transform=* | --program-transfor=* \
 1228   | --program-transfo=* | --program-transf=* \
 1229   | --program-trans=* | --program-tran=* \
 1230   | --progr-tra=* | --program-tr=* | --program-t=*)
 1231     program_transform_name=$ac_optarg ;;
 1232 
 1233   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 1234     ac_prev=pdfdir ;;
 1235   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 1236     pdfdir=$ac_optarg ;;
 1237 
 1238   -psdir | --psdir | --psdi | --psd | --ps)
 1239     ac_prev=psdir ;;
 1240   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 1241     psdir=$ac_optarg ;;
 1242 
 1243   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 1244   | -silent | --silent | --silen | --sile | --sil)
 1245     silent=yes ;;
 1246 
 1247   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 1248     ac_prev=sbindir ;;
 1249   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 1250   | --sbi=* | --sb=*)
 1251     sbindir=$ac_optarg ;;
 1252 
 1253   -sharedstatedir | --sharedstatedir | --sharedstatedi \
 1254   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 1255   | --sharedst | --shareds | --shared | --share | --shar \
 1256   | --sha | --sh)
 1257     ac_prev=sharedstatedir ;;
 1258   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 1259   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 1260   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 1261   | --sha=* | --sh=*)
 1262     sharedstatedir=$ac_optarg ;;
 1263 
 1264   -site | --site | --sit)
 1265     ac_prev=site ;;
 1266   -site=* | --site=* | --sit=*)
 1267     site=$ac_optarg ;;
 1268 
 1269   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 1270     ac_prev=srcdir ;;
 1271   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 1272     srcdir=$ac_optarg ;;
 1273 
 1274   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 1275   | --syscon | --sysco | --sysc | --sys | --sy)
 1276     ac_prev=sysconfdir ;;
 1277   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 1278   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 1279     sysconfdir=$ac_optarg ;;
 1280 
 1281   -target | --target | --targe | --targ | --tar | --ta | --t)
 1282     ac_prev=target_alias ;;
 1283   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 1284     target_alias=$ac_optarg ;;
 1285 
 1286   -v | -verbose | --verbose | --verbos | --verbo | --verb)
 1287     verbose=yes ;;
 1288 
 1289   -version | --version | --versio | --versi | --vers | -V)
 1290     ac_init_version=: ;;
 1291 
 1292   -with-* | --with-*)
 1293     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 1294     # Reject names that are not valid shell variable names.
 1295     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1296       as_fn_error $? "invalid package name: $ac_useropt"
 1297     ac_useropt_orig=$ac_useropt
 1298     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1299     case $ac_user_opts in
 1300       *"
 1301 "with_$ac_useropt"
 1302 "*) ;;
 1303       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 1304      ac_unrecognized_sep=', ';;
 1305     esac
 1306     eval with_$ac_useropt=\$ac_optarg ;;
 1307 
 1308   -without-* | --without-*)
 1309     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 1310     # Reject names that are not valid shell variable names.
 1311     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1312       as_fn_error $? "invalid package name: $ac_useropt"
 1313     ac_useropt_orig=$ac_useropt
 1314     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1315     case $ac_user_opts in
 1316       *"
 1317 "with_$ac_useropt"
 1318 "*) ;;
 1319       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 1320      ac_unrecognized_sep=', ';;
 1321     esac
 1322     eval with_$ac_useropt=no ;;
 1323 
 1324   --x)
 1325     # Obsolete; use --with-x.
 1326     with_x=yes ;;
 1327 
 1328   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 1329   | --x-incl | --x-inc | --x-in | --x-i)
 1330     ac_prev=x_includes ;;
 1331   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 1332   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 1333     x_includes=$ac_optarg ;;
 1334 
 1335   -x-libraries | --x-libraries | --x-librarie | --x-librari \
 1336   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 1337     ac_prev=x_libraries ;;
 1338   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 1339   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 1340     x_libraries=$ac_optarg ;;
 1341 
 1342   -*) as_fn_error $? "unrecognized option: \`$ac_option'
 1343 Try \`$0 --help' for more information"
 1344     ;;
 1345 
 1346   *=*)
 1347     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 1348     # Reject names that are not valid shell variable names.
 1349     case $ac_envvar in #(
 1350       '' | [0-9]* | *[!_$as_cr_alnum]* )
 1351       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 1352     esac
 1353     eval $ac_envvar=\$ac_optarg
 1354     export $ac_envvar ;;
 1355 
 1356   *)
 1357     # FIXME: should be removed in autoconf 3.0.
 1358     $as_echo "$as_me: ${as__yel}WARNING: you should use --build, --host, --target${as__std}" >&2
 1359     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 1360       $as_echo "$as_me: ${as__yel}WARNING: invalid host type: $ac_option${as__std}" >&2
 1361     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
 1362     ;;
 1363 
 1364   esac
 1365 done
 1366 
 1367 if test -n "$ac_prev"; then
 1368   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 1369   as_fn_error $? "missing argument to $ac_option"
 1370 fi
 1371 
 1372 if test -n "$ac_unrecognized_opts"; then
 1373   case $enable_option_checking in
 1374     no) ;;
 1375     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
 1376     *)     $as_echo "$as_me: ${as__yel}WARNING: unrecognized options: $ac_unrecognized_opts${as__std}" >&2 ;;
 1377   esac
 1378 fi
 1379 
 1380 # Check all directory arguments for consistency.
 1381 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 1382         datadir sysconfdir sharedstatedir localstatedir includedir \
 1383         oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 1384         libdir localedir mandir
 1385 do
 1386   eval ac_val=\$$ac_var
 1387   # Remove trailing slashes.
 1388   case $ac_val in
 1389     */ )
 1390       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 1391       eval $ac_var=\$ac_val;;
 1392   esac
 1393   # Be sure to have absolute directory names.
 1394   case $ac_val in
 1395     [\\/$]* | ?:[\\/]* )  continue;;
 1396     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 1397   esac
 1398   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
 1399 done
 1400 
 1401 # There might be people who depend on the old broken behavior: `$host'
 1402 # used to hold the argument of --host etc.
 1403 # FIXME: To remove some day.
 1404 build=$build_alias
 1405 host=$host_alias
 1406 target=$target_alias
 1407 
 1408 # FIXME: To remove some day.
 1409 if test "x$host_alias" != x; then
 1410   if test "x$build_alias" = x; then
 1411     cross_compiling=maybe
 1412   elif test "x$build_alias" != "x$host_alias"; then
 1413     cross_compiling=yes
 1414   fi
 1415 fi
 1416 
 1417 ac_tool_prefix=
 1418 test -n "$host_alias" && ac_tool_prefix=$host_alias-
 1419 
 1420 test "$silent" = yes && exec 6>/dev/null
 1421 
 1422 
 1423 ac_pwd=`pwd` && test -n "$ac_pwd" &&
 1424 ac_ls_di=`ls -di .` &&
 1425 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 1426   as_fn_error $? "working directory cannot be determined"
 1427 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 1428   as_fn_error $? "pwd does not report name of working directory"
 1429 
 1430 
 1431 # Find the source files, if location was not specified.
 1432 if test -z "$srcdir"; then
 1433   ac_srcdir_defaulted=yes
 1434   # Try the directory containing this script, then the parent directory.
 1435   ac_confdir=`$as_dirname -- "$as_myself" ||
 1436 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 1437      X"$as_myself" : 'X\(//\)[^/]' \| \
 1438      X"$as_myself" : 'X\(//\)$' \| \
 1439      X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 1440 $as_echo X"$as_myself" |
 1441     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 1442         s//\1/
 1443         q
 1444       }
 1445       /^X\(\/\/\)[^/].*/{
 1446         s//\1/
 1447         q
 1448       }
 1449       /^X\(\/\/\)$/{
 1450         s//\1/
 1451         q
 1452       }
 1453       /^X\(\/\).*/{
 1454         s//\1/
 1455         q
 1456       }
 1457       s/.*/./; q'`
 1458   srcdir=$ac_confdir
 1459   if test ! -r "$srcdir/$ac_unique_file"; then
 1460     srcdir=..
 1461   fi
 1462 else
 1463   ac_srcdir_defaulted=no
 1464 fi
 1465 if test ! -r "$srcdir/$ac_unique_file"; then
 1466   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 1467   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
 1468 fi
 1469 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 1470 ac_abs_confdir=`(
 1471     cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
 1472     pwd)`
 1473 # When building in place, set srcdir=.
 1474 if test "$ac_abs_confdir" = "$ac_pwd"; then
 1475   srcdir=.
 1476 fi
 1477 # Remove unnecessary trailing slashes from srcdir.
 1478 # Double slashes in file names in object file debugging info
 1479 # mess up M-x gdb in Emacs.
 1480 case $srcdir in
 1481 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 1482 esac
 1483 for ac_var in $ac_precious_vars; do
 1484   eval ac_env_${ac_var}_set=\${${ac_var}+set}
 1485   eval ac_env_${ac_var}_value=\$${ac_var}
 1486   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 1487   eval ac_cv_env_${ac_var}_value=\$${ac_var}
 1488 done
 1489 
 1490 #
 1491 # Report the --help message.
 1492 #
 1493 if test "$ac_init_help" = "long"; then
 1494   # Omit some internal or obsolete options to make the list less imposing.
 1495   # This message is too long to be a string in the A/UX 3.1 sh.
 1496   cat <<_ACEOF
 1497 \`configure' configures Scalasca 2.6 to adapt to many kinds of systems.
 1498 
 1499 Usage: $0 [OPTION]... [VAR=VALUE]...
 1500 
 1501 To assign environment variables (e.g., CC, CFLAGS...), specify them as
 1502 VAR=VALUE.  See below for descriptions of some of the useful variables.
 1503 
 1504 Defaults for the options are specified in brackets.
 1505 
 1506 Configuration:
 1507   -h, --help              display this help and exit
 1508       --help=short        display options specific to this package
 1509       --help=recursive    display the short help of all the included packages
 1510   -V, --version           display version information and exit
 1511   -q, --quiet, --silent   do not print \`checking ...' messages
 1512       --cache-file=FILE   cache test results in FILE [disabled]
 1513   -C, --config-cache      alias for \`--cache-file=config.cache'
 1514   -n, --no-create         do not create output files
 1515       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 1516 
 1517 Installation directories:
 1518   --prefix=PREFIX         install architecture-independent files in PREFIX
 1519                           [$ac_default_prefix]
 1520   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 1521                           [PREFIX]
 1522 
 1523 By default, \`make install' will install all the files in
 1524 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 1525 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 1526 for instance \`--prefix=\$HOME'.
 1527 
 1528 For better control, use the options below.
 1529 
 1530 Fine tuning of the installation directories:
 1531   --bindir=DIR            user executables [EPREFIX/bin]
 1532   --sbindir=DIR           system admin executables [EPREFIX/sbin]
 1533   --libexecdir=DIR        program executables [EPREFIX/libexec]
 1534   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 1535   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 1536   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 1537   --libdir=DIR            object code libraries [EPREFIX/lib]
 1538   --includedir=DIR        C header files [PREFIX/include]
 1539   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 1540   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 1541   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 1542   --infodir=DIR           info documentation [DATAROOTDIR/info]
 1543   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 1544   --mandir=DIR            man documentation [DATAROOTDIR/man]
 1545   --docdir=DIR            documentation root [DATAROOTDIR/doc/scalasca]
 1546   --htmldir=DIR           html documentation [DOCDIR]
 1547   --dvidir=DIR            dvi documentation [DOCDIR]
 1548   --pdfdir=DIR            pdf documentation [DOCDIR]
 1549   --psdir=DIR             ps documentation [DOCDIR]
 1550 _ACEOF
 1551 
 1552   cat <<\_ACEOF
 1553 
 1554 Program names:
 1555   --program-prefix=PREFIX            prepend PREFIX to installed program names
 1556   --program-suffix=SUFFIX            append SUFFIX to installed program names
 1557   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 1558 
 1559 System types:
 1560   --build=BUILD     configure for building on BUILD [guessed]
 1561 _ACEOF
 1562 fi
 1563 
 1564 if test -n "$ac_init_help"; then
 1565   case $ac_init_help in
 1566      short | recursive ) echo "Configuration of Scalasca 2.6:";;
 1567    esac
 1568   cat <<\_ACEOF
 1569 
 1570 Optional Features:
 1571   --disable-option-checking  ignore unrecognized --enable/--with options
 1572   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 1573   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 1574   --enable-silent-rules   less verbose build output (undo: "make V=1")
 1575   --disable-silent-rules  verbose build output (undo: "make V=0")
 1576   --disable-maintainer-mode
 1577                           disable make rules and dependencies not useful (and
 1578                           sometimes confusing) to the casual installer
 1579   --enable-platform-mic   Force build for Intel Xeon Phi co-processors [no].
 1580                           This option is only needed for Xeon Phi
 1581                           co-processors, like the Knights Corner (KNC). It is
 1582                           not needed for self-hosted Xeon Phis, like the
 1583                           Knights Landing (KNL); for these chips no special
 1584                           treatment is required.
 1585 
 1586 Optional Packages:
 1587   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 1588   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 1589   --with-custom-compilers Customize compiler settings by 1. copying the files
 1590                           <srcdir>/build-config/common/platforms/platform-*-user-provided
 1591                           to the directory where you run configure <builddir>,
 1592                           2. editing those files to your needs, and 3. running
 1593                           configure. Alternatively, edit the files under
 1594                           <srcdir> directly. Files in <builddir> take
 1595                           precedence. You are entering unsupported terrain.
 1596                           Namaste, and good luck!
 1597 
 1598   --with-nocross-compiler-suite=(gcc|ibm|intel|pgi|studio|clang|aocc)
 1599                           The compiler suite used to build this package in non
 1600                           cross-compiling environments. Needs to be in $PATH
 1601                           [gcc].
 1602   --with-frontend-compiler-suite=(gcc|ibm|intel|pgi|studio|clang|aocc)
 1603                           The compiler suite used to build the frontend parts
 1604                           of this package in cross-compiling environments.
 1605                           Needs to be in $PATH [gcc].
 1606   --with-mpi=(bullxmpi|hp|ibmpoe|intel|intel2|intel3|intelpoe|lam|mpibull2|mpich|mpich2|mpich3|openmpi|openmpi3|platform|scali|sgimpt|sgimptwrapper|spectrum|sun)
 1607                           The MPI compiler suite to build this package in non
 1608                           cross-compiling mode. Usually autodetected. Needs to
 1609                           be in $PATH.
 1610   --with-otf2[=<otf2-bindir>]
 1611                           Use an already installed otf2. Provide path to
 1612                           otf2-config. Auto-detected if already in $PATH.
 1613   --with-cubew[=<cubew-bindir>]
 1614                           Use an already installed cubew. Provide path to
 1615                           cubew-config. Auto-detected if already in $PATH.
 1616 
 1617 Some influential environment variables:
 1618   BACKEND_TEST_RUNS_NON_RECURSIVE
 1619               Whether to prevent passing --enable-backend-test-runs to
 1620               sub-packages. Activation values are '1', 'yes', and 'true'.
 1621 
 1622 Use these variables to override the choices made by `configure' or to help
 1623 it to find libraries and programs with nonstandard names/locations.
 1624 
 1625 Report bugs to <scalasca@fz-juelich.de>.
 1626 Scalasca home page: <https://www.scalasca.org>.
 1627 _ACEOF
 1628 ac_status=$?
 1629 fi
 1630 
 1631 if test "$ac_init_help" = "recursive"; then
 1632   # If there are subdirs, report their specific --help.
 1633   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 1634     test -d "$ac_dir" ||
 1635       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 1636       continue
 1637     ac_builddir=.
 1638 
 1639 case "$ac_dir" in
 1640 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1641 *)
 1642   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 1643   # A ".." for each directory in $ac_dir_suffix.
 1644   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 1645   case $ac_top_builddir_sub in
 1646   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1647   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 1648   esac ;;
 1649 esac
 1650 ac_abs_top_builddir=$ac_pwd
 1651 ac_abs_builddir=$ac_pwd$ac_dir_suffix
 1652 # for backward compatibility:
 1653 ac_top_builddir=$ac_top_build_prefix
 1654 
 1655 case $srcdir in
 1656   .)  # We are building in place.
 1657     ac_srcdir=.
 1658     ac_top_srcdir=$ac_top_builddir_sub
 1659     ac_abs_top_srcdir=$ac_pwd ;;
 1660   [\\/]* | ?:[\\/]* )  # Absolute name.
 1661     ac_srcdir=$srcdir$ac_dir_suffix;
 1662     ac_top_srcdir=$srcdir
 1663     ac_abs_top_srcdir=$srcdir ;;
 1664   *) # Relative name.
 1665     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 1666     ac_top_srcdir=$ac_top_build_prefix$srcdir
 1667     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 1668 esac
 1669 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 1670 
 1671     cd "$ac_dir" || { ac_status=$?; continue; }
 1672     # Check for guested configure.
 1673     if test -f "$ac_srcdir/configure.gnu"; then
 1674       echo &&
 1675       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 1676     elif test -f "$ac_srcdir/configure"; then
 1677       echo &&
 1678       $SHELL "$ac_srcdir/configure" --help=recursive
 1679     else
 1680       $as_echo "$as_me: ${as__yel}WARNING: no configuration information is in $ac_dir${as__std}" >&2
 1681     fi || ac_status=$?
 1682     cd "$ac_pwd" || { ac_status=$?; break; }
 1683   done
 1684 fi
 1685 
 1686 test -n "$ac_init_help" && exit $ac_status
 1687 if $ac_init_version; then
 1688   cat <<\_ACEOF
 1689 Scalasca configure 2.6
 1690 generated by GNU Autoconf 2.69
 1691 
 1692 Copyright (C) 2012 Free Software Foundation, Inc.
 1693 This configure script is free software; the Free Software Foundation
 1694 gives unlimited permission to copy, distribute and modify it.
 1695 _ACEOF
 1696   exit
 1697 fi
 1698 
 1699 ## ------------------------ ##
 1700 ## Autoconf initialization. ##
 1701 ## ------------------------ ##
 1702 cat >config.log <<_ACEOF
 1703 This file contains any messages produced by compilers while
 1704 running configure, to aid debugging if configure makes a mistake.
 1705 
 1706 It was created by Scalasca $as_me 2.6, which was
 1707 generated by GNU Autoconf 2.69.  Invocation command line was
 1708 
 1709   $ $0 $@
 1710 
 1711 _ACEOF
 1712 exec 5>>config.log
 1713 {
 1714 cat <<_ASUNAME
 1715 ## --------- ##
 1716 ## Platform. ##
 1717 ## --------- ##
 1718 
 1719 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 1720 uname -m = `(uname -m) 2>/dev/null || echo unknown`
 1721 uname -r = `(uname -r) 2>/dev/null || echo unknown`
 1722 uname -s = `(uname -s) 2>/dev/null || echo unknown`
 1723 uname -v = `(uname -v) 2>/dev/null || echo unknown`
 1724 
 1725 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 1726 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 1727 
 1728 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 1729 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 1730 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 1731 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 1732 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 1733 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 1734 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 1735 
 1736 _ASUNAME
 1737 
 1738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1739 for as_dir in $PATH
 1740 do
 1741   IFS=$as_save_IFS
 1742   test -z "$as_dir" && as_dir=.
 1743     $as_echo "PATH: $as_dir"
 1744   done
 1745 IFS=$as_save_IFS
 1746 
 1747 } >&5
 1748 
 1749 cat >&5 <<_ACEOF
 1750 
 1751 
 1752 ## ----------- ##
 1753 ## Core tests. ##
 1754 ## ----------- ##
 1755 
 1756 _ACEOF
 1757 
 1758 
 1759 # Keep a trace of the command line.
 1760 # Strip out --no-create and --no-recursion so they do not pile up.
 1761 # Strip out --silent because we don't want to record it for future runs.
 1762 # Also quote any args containing shell meta-characters.
 1763 # Make two passes to allow for proper duplicate-argument suppression.
 1764 ac_configure_args=
 1765 ac_configure_args0=
 1766 ac_configure_args1=
 1767 ac_must_keep_next=false
 1768 for ac_pass in 1 2
 1769 do
 1770   for ac_arg
 1771   do
 1772     case $ac_arg in
 1773     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 1774     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 1775     | -silent | --silent | --silen | --sile | --sil)
 1776       continue ;;
 1777     *\'*)
 1778       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 1779     esac
 1780     case $ac_pass in
 1781     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
 1782     2)
 1783       as_fn_append ac_configure_args1 " '$ac_arg'"
 1784       if test $ac_must_keep_next = true; then
 1785     ac_must_keep_next=false # Got value, back to normal.
 1786       else
 1787     case $ac_arg in
 1788       *=* | --config-cache | -C | -disable-* | --disable-* \
 1789       | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 1790       | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 1791       | -with-* | --with-* | -without-* | --without-* | --x)
 1792         case "$ac_configure_args0 " in
 1793           "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 1794         esac
 1795         ;;
 1796       -* ) ac_must_keep_next=true ;;
 1797     esac
 1798       fi
 1799       as_fn_append ac_configure_args " '$ac_arg'"
 1800       ;;
 1801     esac
 1802   done
 1803 done
 1804 { ac_configure_args0=; unset ac_configure_args0;}
 1805 { ac_configure_args1=; unset ac_configure_args1;}
 1806 
 1807 # When interrupted or exit'd, cleanup temporary files, and complete
 1808 # config.log.  We remove comments because anyway the quotes in there
 1809 # would cause problems or look ugly.
 1810 # WARNING: Use '\'' to represent an apostrophe within the trap.
 1811 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 1812 trap 'exit_status=$?
 1813   # Save into config.log some information that might help in debugging.
 1814   {
 1815     echo
 1816 
 1817     $as_echo "## ---------------- ##
 1818 ## Cache variables. ##
 1819 ## ---------------- ##"
 1820     echo
 1821     # The following way of writing the cache mishandles newlines in values,
 1822 (
 1823   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 1824     eval ac_val=\$$ac_var
 1825     case $ac_val in #(
 1826     *${as_nl}*)
 1827       case $ac_var in #(
 1828       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 1829 $as_echo "$as_me: ${as__yel}WARNING: cache variable $ac_var contains a newline${as__std}" >&2;} ;;
 1830       esac
 1831       case $ac_var in #(
 1832       _ | IFS | as_nl) ;; #(
 1833       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 1834       *) { eval $ac_var=; unset $ac_var;} ;;
 1835       esac ;;
 1836     esac
 1837   done
 1838   (set) 2>&1 |
 1839     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 1840     *${as_nl}ac_space=\ *)
 1841       sed -n \
 1842     "s/'\''/'\''\\\\'\'''\''/g;
 1843       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 1844       ;; #(
 1845     *)
 1846       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 1847       ;;
 1848     esac |
 1849     sort
 1850 )
 1851     echo
 1852 
 1853     $as_echo "## ----------------- ##
 1854 ## Output variables. ##
 1855 ## ----------------- ##"
 1856     echo
 1857     for ac_var in $ac_subst_vars
 1858     do
 1859       eval ac_val=\$$ac_var
 1860       case $ac_val in
 1861       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 1862       esac
 1863       $as_echo "$ac_var='\''$ac_val'\''"
 1864     done | sort
 1865     echo
 1866 
 1867     if test -n "$ac_subst_files"; then
 1868       $as_echo "## ------------------- ##
 1869 ## File substitutions. ##
 1870 ## ------------------- ##"
 1871       echo
 1872       for ac_var in $ac_subst_files
 1873       do
 1874     eval ac_val=\$$ac_var
 1875     case $ac_val in
 1876     *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 1877     esac
 1878     $as_echo "$ac_var='\''$ac_val'\''"
 1879       done | sort
 1880       echo
 1881     fi
 1882 
 1883     if test -s confdefs.h; then
 1884       $as_echo "## ----------- ##
 1885 ## confdefs.h. ##
 1886 ## ----------- ##"
 1887       echo
 1888       cat confdefs.h
 1889       echo
 1890     fi
 1891     test "$ac_signal" != 0 &&
 1892       $as_echo "$as_me: caught signal $ac_signal"
 1893     $as_echo "$as_me: exit $exit_status"
 1894   } >&5
 1895   rm -f core *.core core.conftest.* &&
 1896     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 1897     exit $exit_status
 1898 ' 0
 1899 for ac_signal in 1 2 13 15; do
 1900   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
 1901 done
 1902 ac_signal=0
 1903 
 1904 # confdefs.h avoids OS command line length limits that DEFS can exceed.
 1905 rm -f -r conftest* confdefs.h
 1906 
 1907 $as_echo "/* confdefs.h */" > confdefs.h
 1908 
 1909 # Predefined preprocessor variables.
 1910 
 1911 cat >>confdefs.h <<_ACEOF
 1912 #define PACKAGE_NAME "$PACKAGE_NAME"
 1913 _ACEOF
 1914 
 1915 cat >>confdefs.h <<_ACEOF
 1916 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 1917 _ACEOF
 1918 
 1919 cat >>confdefs.h <<_ACEOF
 1920 #define PACKAGE_VERSION "$PACKAGE_VERSION"
 1921 _ACEOF
 1922 
 1923 cat >>confdefs.h <<_ACEOF
 1924 #define PACKAGE_STRING "$PACKAGE_STRING"
 1925 _ACEOF
 1926 
 1927 cat >>confdefs.h <<_ACEOF
 1928 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 1929 _ACEOF
 1930 
 1931 cat >>confdefs.h <<_ACEOF
 1932 #define PACKAGE_URL "$PACKAGE_URL"
 1933 _ACEOF
 1934 
 1935 
 1936 # Let the site file select an alternate cache file if it wants to.
 1937 # Prefer an explicitly selected file to automatically selected ones.
 1938 ac_site_file1=NONE
 1939 ac_site_file2=NONE
 1940 if test -n "$CONFIG_SITE"; then
 1941   # We do not want a PATH search for config.site.
 1942   case $CONFIG_SITE in #((
 1943     -*)  ac_site_file1=./$CONFIG_SITE;;
 1944     */*) ac_site_file1=$CONFIG_SITE;;
 1945     *)   ac_site_file1=./$CONFIG_SITE;;
 1946   esac
 1947 elif test "x$prefix" != xNONE; then
 1948   ac_site_file1=$prefix/share/config.site
 1949   ac_site_file2=$prefix/etc/config.site
 1950 else
 1951   ac_site_file1=$ac_default_prefix/share/config.site
 1952   ac_site_file2=$ac_default_prefix/etc/config.site
 1953 fi
 1954 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 1955 do
 1956   test "x$ac_site_file" = xNONE && continue
 1957   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 1958     { $as_echo "$as_me:${as_lineno-$LINENO}: info: loading site script $ac_site_file" >&5
 1959 $as_echo "$as_me: ${as__blu}info: loading site script $ac_site_file${as__std}" >&2;}
 1960     sed 's/^/| /' "$ac_site_file" >&5
 1961     . "$ac_site_file" \
 1962       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 1963 $as_echo "$as_me: ${as__red}error: in \`$ac_pwd':${as__std}" >&2;}
 1964 as_fn_error $? "failed to load site script $ac_site_file" "$LINENO" 5
 1965 as_fn_error $? "See \`config.log' for more details" "$LINENO" 5; }
 1966   fi
 1967 done
 1968 
 1969 if test -r "$cache_file"; then
 1970   # Some versions of bash will fail to source /dev/null (special files
 1971   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 1972   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 1973     { $as_echo "$as_me:${as_lineno-$LINENO}: info: loading cache $cache_file" >&5
 1974 $as_echo "$as_me: ${as__blu}info: loading cache $cache_file${as__std}" >&2;}
 1975     case $cache_file in
 1976       [\\/]* | ?:[\\/]* ) . "$cache_file";;
 1977       *)                      . "./$cache_file";;
 1978     esac
 1979   fi
 1980 else
 1981   { $as_echo "$as_me:${as_lineno-$LINENO}: info: creating cache $cache_file" >&5
 1982 $as_echo "$as_me: ${as__blu}info: creating cache $cache_file${as__std}" >&2;}
 1983   >$cache_file
 1984 fi
 1985 
 1986 # Check that the precious variables saved in the cache have kept the same
 1987 # value.
 1988 ac_cache_corrupted=false
 1989 for ac_var in $ac_precious_vars; do
 1990   eval ac_old_set=\$ac_cv_env_${ac_var}_set
 1991   eval ac_new_set=\$ac_env_${ac_var}_set
 1992   eval ac_old_val=\$ac_cv_env_${ac_var}_value
 1993   eval ac_new_val=\$ac_env_${ac_var}_value
 1994   case $ac_old_set,$ac_new_set in
 1995     set,)
 1996       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 1997 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 1998       ac_cache_corrupted=: ;;
 1999     ,set)
 2000       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 2001 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 2002       ac_cache_corrupted=: ;;
 2003     ,);;
 2004     *)
 2005       if test "x$ac_old_val" != "x$ac_new_val"; then
 2006     # differences in whitespace do not lead to failure.
 2007     ac_old_val_w=`echo x $ac_old_val`
 2008     ac_new_val_w=`echo x $ac_new_val`
 2009     if test "$ac_old_val_w" != "$ac_new_val_w"; then
 2010       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 2011 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 2012       ac_cache_corrupted=:
 2013     else
 2014       { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 2015 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 2016       eval $ac_var=\$ac_old_val
 2017     fi
 2018     { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 2019 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 2020     { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 2021 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 2022       fi;;
 2023   esac
 2024   # Pass precious variables to config.status.
 2025   if test "$ac_new_set" = set; then
 2026     case $ac_new_val in
 2027     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 2028     *) ac_arg=$ac_var=$ac_new_val ;;
 2029     esac
 2030     case " $ac_configure_args " in
 2031       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 2032       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
 2033     esac
 2034   fi
 2035 done
 2036 if $ac_cache_corrupted; then
 2037   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2038 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2039   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 2040 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 2041   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 2042 fi
 2043 ## -------------------- ##
 2044 ## Main body of script. ##
 2045 ## -------------------- ##
 2046 
 2047 ac_ext=c
 2048 ac_cpp='$CPP $CPPFLAGS'
 2049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2052 
 2053 
 2054 
 2055 
 2056 
 2057 AFS_PACKAGE_name=scalasca
 2058 
 2059 
 2060 AFS_PACKAGE_NAME=SCALASCA
 2061 
 2062 
 2063 
 2064 afs_srcdir=$srcdir
 2065 
 2066 
 2067 
 2068 ## Save user provided arguments for use by sub-configures
 2069 
 2070 # Quote arguments with shell meta characters.
 2071 TOPLEVEL_CONFIGURE_ARGUMENTS=
 2072 set -- "$progname" "$@"
 2073 for ac_arg
 2074 do
 2075     case "$ac_arg" in #(
 2076   *" "*|*"  "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*) :
 2077     ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
 2078          # if the argument is of the form -foo=baz, quote the baz part only
 2079          ac_arg=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;; #(
 2080   *) :
 2081      ;;
 2082 esac
 2083     # Add the quoted argument to the list.
 2084     TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS
 2085 $ac_arg"
 2086 done
 2087 # Remove the initial space we just introduced.
 2088 TOPLEVEL_CONFIGURE_ARGUMENTS=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//'`
 2089 
 2090 echo "$TOPLEVEL_CONFIGURE_ARGUMENTS" > ./user_provided_configure_args
 2091 
 2092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 2093 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 2094 if ${ac_cv_path_GREP+:} false; then :
 2095   $as_echo_n "(cached) " >&6
 2096 else
 2097   if test -z "$GREP"; then
 2098   ac_path_GREP_found=false
 2099   # Loop through the user's path and test for each of PROGNAME-LIST
 2100   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2101 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 2102 do
 2103   IFS=$as_save_IFS
 2104   test -z "$as_dir" && as_dir=.
 2105     for ac_prog in grep ggrep; do
 2106     for ac_exec_ext in '' $ac_executable_extensions; do
 2107       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 2108       as_fn_executable_p "$ac_path_GREP" || continue
 2109 # Check for GNU ac_path_GREP and select it if it is found.
 2110   # Check for GNU $ac_path_GREP
 2111 case `"$ac_path_GREP" --version 2>&1` in
 2112 *GNU*)
 2113   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 2114 *)
 2115   ac_count=0
 2116   $as_echo_n 0123456789 >"conftest.in"
 2117   while :
 2118   do
 2119     cat "conftest.in" "conftest.in" >"conftest.tmp"
 2120     mv "conftest.tmp" "conftest.in"
 2121     cp "conftest.in" "conftest.nl"
 2122     $as_echo 'GREP' >> "conftest.nl"
 2123     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 2124     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 2125     as_fn_arith $ac_count + 1 && ac_count=$as_val
 2126     if test $ac_count -gt ${ac_path_GREP_max-0}; then
 2127       # Best one so far, save it but keep looking for a better one
 2128       ac_cv_path_GREP="$ac_path_GREP"
 2129       ac_path_GREP_max=$ac_count
 2130     fi
 2131     # 10*(2^10) chars as input seems more than enough
 2132     test $ac_count -gt 10 && break
 2133   done
 2134   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 2135 esac
 2136 
 2137       $ac_path_GREP_found && break 3
 2138     done
 2139   done
 2140   done
 2141 IFS=$as_save_IFS
 2142   if test -z "$ac_cv_path_GREP"; then
 2143     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 2144   fi
 2145 else
 2146   ac_cv_path_GREP=$GREP
 2147 fi
 2148 
 2149 fi
 2150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 2151 case "$ac_cv_path_GREP" in #(
 2152   yes|ok|yes[\ ,]*) :
 2153     $as_echo "${as__grn}$ac_cv_path_GREP${as__std}" >&6 ;; #(
 2154   no|failed|unsupported|no[\ ,]*) :
 2155     $as_echo "${as__red}$ac_cv_path_GREP${as__std}" >&6 ;; #(
 2156   *) :
 2157     $as_echo "${as__blu}$ac_cv_path_GREP${as__std}" >&6 ;;
 2158 esac; }
 2159  GREP="$ac_cv_path_GREP"
 2160 
 2161 
 2162 
 2163 
 2164 
 2165 # If BACKEND_TEST_RUNS_NON_RECURSIVE and --enable-backend-test-runs
 2166 # are given, don't pass --enable-backend-test-runs to sub-packages by
 2167 # removing --enable-backend-test-runs from user_provided_configure_args.
 2168 # Still pass to build-backend/mpi via $backend_args.
 2169 
 2170 { backend_args=; unset backend_args;}
 2171 if test "x${BACKEND_TEST_RUNS_NON_RECURSIVE}" = "x1" ||
 2172        test "x${BACKEND_TEST_RUNS_NON_RECURSIVE}" = "xyes" ||
 2173        test "x${BACKEND_TEST_RUNS_NON_RECURSIVE}" = "xtrue"; then :
 2174   GREP_OPTIONS= $GREP '^--enable-backend-test-runs' user_provided_configure_args > /dev/null
 2175      if test $? -eq 0; then :
 2176   GREP_OPTIONS= $GREP -v '^--enable-backend-test-runs' user_provided_configure_args > user_provided_configure_args_
 2177           mv user_provided_configure_args_ user_provided_configure_args
 2178           backend_args="--enable-backend-test-runs"
 2179 
 2180 fi
 2181 
 2182 fi
 2183 
 2184 
 2185 ## Where to find auxiliary build tools & local macros
 2186 ac_aux_dir=
 2187 for ac_dir in build-config "$srcdir"/build-config; do
 2188   if test -f "$ac_dir/install-sh"; then
 2189     ac_aux_dir=$ac_dir
 2190     ac_install_sh="$ac_aux_dir/install-sh -c"
 2191     break
 2192   elif test -f "$ac_dir/install.sh"; then
 2193     ac_aux_dir=$ac_dir
 2194     ac_install_sh="$ac_aux_dir/install.sh -c"
 2195     break
 2196   elif test -f "$ac_dir/shtool"; then
 2197     ac_aux_dir=$ac_dir
 2198     ac_install_sh="$ac_aux_dir/shtool install -c"
 2199     break
 2200   fi
 2201 done
 2202 if test -z "$ac_aux_dir"; then
 2203   as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-config \"$srcdir\"/build-config" "$LINENO" 5
 2204 fi
 2205 
 2206 # These three variables are undocumented and unsupported,
 2207 # and are intended to be withdrawn in a future Autoconf release.
 2208 # They can cause serious problems if a builder's source tree is in a directory
 2209 # whose full name contains unusual characters.
 2210 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 2211 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 2212 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 2213 
 2214 
 2215 ## See also ACLOCAL_AMFLAGS in Makefile.am.
 2216 
 2217 
 2218 ## Set the default installation prefix
 2219 
 2220 
 2221 ## Set up Automake
 2222 am__api_version='1.13'
 2223 
 2224 # Find a good install program.  We prefer a C program (faster),
 2225 # so one script is as good as another.  But avoid the broken or
 2226 # incompatible versions:
 2227 # SysV /etc/install, /usr/sbin/install
 2228 # SunOS /usr/etc/install
 2229 # IRIX /sbin/install
 2230 # AIX /bin/install
 2231 # AmigaOS /C/install, which installs bootblocks on floppy discs
 2232 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 2233 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
 2234 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 2235 # OS/2's system install, which has a completely different semantic
 2236 # ./install, which can be erroneously created by make from ./install.sh.
 2237 # Reject install programs that cannot install multiple files.
 2238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 2239 $as_echo_n "checking for a BSD-compatible install... " >&6; }
 2240 if test -z "$INSTALL"; then
 2241 if ${ac_cv_path_install+:} false; then :
 2242   $as_echo_n "(cached) " >&6
 2243 else
 2244   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2245 for as_dir in $PATH
 2246 do
 2247   IFS=$as_save_IFS
 2248   test -z "$as_dir" && as_dir=.
 2249     # Account for people who put trailing slashes in PATH elements.
 2250 case $as_dir/ in #((
 2251   ./ | .// | /[cC]/* | \
 2252   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 2253   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
 2254   /usr/ucb/* ) ;;
 2255   *)
 2256     # OSF1 and SCO ODT 3.0 have their own names for install.
 2257     # Don't use installbsd from OSF since it installs stuff as root
 2258     # by default.
 2259     for ac_prog in ginstall scoinst install; do
 2260       for ac_exec_ext in '' $ac_executable_extensions; do
 2261     if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 2262       if test $ac_prog = install &&
 2263         grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 2264         # AIX install.  It has an incompatible calling convention.
 2265         :
 2266       elif test $ac_prog = install &&
 2267         grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 2268         # program-specific install script used by HP pwplus--don't use.
 2269         :
 2270       else
 2271         rm -rf conftest.one conftest.two conftest.dir
 2272         echo one > conftest.one
 2273         echo two > conftest.two
 2274         mkdir conftest.dir
 2275         if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 2276           test -s conftest.one && test -s conftest.two &&
 2277           test -s conftest.dir/conftest.one &&
 2278           test -s conftest.dir/conftest.two
 2279         then
 2280           ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 2281           break 3
 2282         fi
 2283       fi
 2284     fi
 2285       done
 2286     done
 2287     ;;
 2288 esac
 2289 
 2290   done
 2291 IFS=$as_save_IFS
 2292 
 2293 rm -rf conftest.one conftest.two conftest.dir
 2294 
 2295 fi
 2296   if test "${ac_cv_path_install+set}" = set; then
 2297     INSTALL=$ac_cv_path_install
 2298   else
 2299     # As a last resort, use the slow shell script.  Don't cache a
 2300     # value for INSTALL within a source directory, because that will
 2301     # break other packages using the cache if that directory is
 2302     # removed, or if the value is a relative name.
 2303     INSTALL=$ac_install_sh
 2304   fi
 2305 fi
 2306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 2307 case "$INSTALL" in #(
 2308   yes|ok|yes[\ ,]*) :
 2309     $as_echo "${as__grn}$INSTALL${as__std}" >&6 ;; #(
 2310   no|failed|unsupported|no[\ ,]*) :
 2311     $as_echo "${as__red}$INSTALL${as__std}" >&6 ;; #(
 2312   *) :
 2313     $as_echo "${as__blu}$INSTALL${as__std}" >&6 ;;
 2314 esac; }
 2315 
 2316 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 2317 # It thinks the first close brace ends the variable substitution.
 2318 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 2319 
 2320 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 2321 
 2322 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 2323 
 2324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 2325 $as_echo_n "checking whether build environment is sane... " >&6; }
 2326 # Reject unsafe characters in $srcdir or the absolute working directory
 2327 # name.  Accept space and tab only in the latter.
 2328 am_lf='
 2329 '
 2330 case `pwd` in
 2331   *[\\\"\#\$\&\'\`$am_lf]*)
 2332     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
 2333 esac
 2334 case $srcdir in
 2335   *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
 2336     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
 2337 esac
 2338 
 2339 # Do 'set' in a subshell so we don't clobber the current shell's
 2340 # arguments.  Must try -L first in case configure is actually a
 2341 # symlink; some systems play weird games with the mod time of symlinks
 2342 # (eg FreeBSD returns the mod time of the symlink's containing
 2343 # directory).
 2344 if (
 2345    am_has_slept=no
 2346    for am_try in 1 2; do
 2347      echo "timestamp, slept: $am_has_slept" > conftest.file
 2348      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
 2349      if test "$*" = "X"; then
 2350     # -L didn't work.
 2351     set X `ls -t "$srcdir/configure" conftest.file`
 2352      fi
 2353      if test "$*" != "X $srcdir/configure conftest.file" \
 2354     && test "$*" != "X conftest.file $srcdir/configure"; then
 2355 
 2356     # If neither matched, then we have a broken ls.  This can happen
 2357     # if, for instance, CONFIG_SHELL is bash and it inherits a
 2358     # broken ls alias from the environment.  This has actually
 2359     # happened.  Such a system could not be considered "sane".
 2360     as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 2361   alias in your environment" "$LINENO" 5
 2362      fi
 2363      if test "$2" = conftest.file || test $am_try -eq 2; then
 2364        break
 2365      fi
 2366      # Just in case.
 2367      sleep 1
 2368      am_has_slept=yes
 2369    done
 2370    test "$2" = conftest.file
 2371    )
 2372 then
 2373    # Ok.
 2374    :
 2375 else
 2376    as_fn_error $? "newly created file is older than distributed files!
 2377 Check your system clock" "$LINENO" 5
 2378 fi
 2379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 2380 $as_echo "${as__grn}yes${as__std}" >&6; }
 2381 # If we didn't sleep, we still need to ensure time stamps of config.status and
 2382 # generated files are strictly newer.
 2383 am_sleep_pid=
 2384 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
 2385   ( sleep 1 ) &
 2386   am_sleep_pid=$!
 2387 fi
 2388 
 2389 rm -f conftest.file
 2390 
 2391 test "$program_prefix" != NONE &&
 2392   program_transform_name="s&^&$program_prefix&;$program_transform_name"
 2393 # Use a double $ so make ignores it.
 2394 test "$program_suffix" != NONE &&
 2395   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 2396 # Double any \ or $.
 2397 # By default was `s,x,x', remove it if useless.
 2398 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 2399 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
 2400 
 2401 # expand $ac_aux_dir to an absolute path
 2402 am_aux_dir=`cd $ac_aux_dir && pwd`
 2403 
 2404 if test x"${MISSING+set}" != xset; then
 2405   case $am_aux_dir in
 2406   *\ * | *\ *)
 2407     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 2408   *)
 2409     MISSING="\${SHELL} $am_aux_dir/missing" ;;
 2410   esac
 2411 fi
 2412 # Use eval to expand $SHELL
 2413 if eval "$MISSING --is-lightweight"; then
 2414   am_missing_run="$MISSING "
 2415 else
 2416   am_missing_run=
 2417   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
 2418 $as_echo "$as_me: ${as__yel}WARNING: 'missing' script is too old or missing${as__std}" >&2;}
 2419 fi
 2420 
 2421 if test x"${install_sh}" != xset; then
 2422   case $am_aux_dir in
 2423   *\ * | *\ *)
 2424     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 2425   *)
 2426     install_sh="\${SHELL} $am_aux_dir/install-sh"
 2427   esac
 2428 fi
 2429 
 2430 # Installed binaries are usually stripped using 'strip' when the user
 2431 # run "make install-strip".  However 'strip' might not be the right
 2432 # tool to use in cross-compilation environments, therefore Automake
 2433 # will honor the 'STRIP' environment variable to overrule this program.
 2434 if test "$cross_compiling" != no; then
 2435   if test -n "$ac_tool_prefix"; then
 2436   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 2437 set dummy ${ac_tool_prefix}strip; ac_word=$2
 2438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2439 $as_echo_n "checking for $ac_word... " >&6; }
 2440 if ${ac_cv_prog_STRIP+:} false; then :
 2441   $as_echo_n "(cached) " >&6
 2442 else
 2443   if test -n "$STRIP"; then
 2444   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 2445 else
 2446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2447 for as_dir in $PATH
 2448 do
 2449   IFS=$as_save_IFS
 2450   test -z "$as_dir" && as_dir=.
 2451     for ac_exec_ext in '' $ac_executable_extensions; do
 2452   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2453     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 2454     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2455     break 2
 2456   fi
 2457 done
 2458   done
 2459 IFS=$as_save_IFS
 2460 
 2461 fi
 2462 fi
 2463 STRIP=$ac_cv_prog_STRIP
 2464 if test -n "$STRIP"; then
 2465   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 2466 case "$STRIP" in #(
 2467   yes|ok|yes[\ ,]*) :
 2468     $as_echo "${as__grn}$STRIP${as__std}" >&6 ;; #(
 2469   no|failed|unsupported|no[\ ,]*) :
 2470     $as_echo "${as__red}$STRIP${as__std}" >&6 ;; #(
 2471   *) :
 2472     $as_echo "${as__blu}$STRIP${as__std}" >&6 ;;
 2473 esac; }
 2474 else
 2475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2476 $as_echo "${as__red}no${as__std}" >&6; }
 2477 fi
 2478 
 2479 
 2480 fi
 2481 if test -z "$ac_cv_prog_STRIP"; then
 2482   ac_ct_STRIP=$STRIP
 2483   # Extract the first word of "strip", so it can be a program name with args.
 2484 set dummy strip; ac_word=$2
 2485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2486 $as_echo_n "checking for $ac_word... " >&6; }
 2487 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 2488   $as_echo_n "(cached) " >&6
 2489 else
 2490   if test -n "$ac_ct_STRIP"; then
 2491   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 2492 else
 2493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2494 for as_dir in $PATH
 2495 do
 2496   IFS=$as_save_IFS
 2497   test -z "$as_dir" && as_dir=.
 2498     for ac_exec_ext in '' $ac_executable_extensions; do
 2499   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2500     ac_cv_prog_ac_ct_STRIP="strip"
 2501     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2502     break 2
 2503   fi
 2504 done
 2505   done
 2506 IFS=$as_save_IFS
 2507 
 2508 fi
 2509 fi
 2510 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 2511 if test -n "$ac_ct_STRIP"; then
 2512   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 2513 case "$ac_ct_STRIP" in #(
 2514   yes|ok|yes[\ ,]*) :
 2515     $as_echo "${as__grn}$ac_ct_STRIP${as__std}" >&6 ;; #(
 2516   no|failed|unsupported|no[\ ,]*) :
 2517     $as_echo "${as__red}$ac_ct_STRIP${as__std}" >&6 ;; #(
 2518   *) :
 2519     $as_echo "${as__blu}$ac_ct_STRIP${as__std}" >&6 ;;
 2520 esac; }
 2521 else
 2522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2523 $as_echo "${as__red}no${as__std}" >&6; }
 2524 fi
 2525 
 2526   if test "x$ac_ct_STRIP" = x; then
 2527     STRIP=":"
 2528   else
 2529     case $cross_compiling:$ac_tool_warned in
 2530 yes:)
 2531 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 2532 $as_echo "$as_me: ${as__yel}WARNING: using cross tools not prefixed with host triplet${as__std}" >&2;}
 2533 ac_tool_warned=yes ;;
 2534 esac
 2535     STRIP=$ac_ct_STRIP
 2536   fi
 2537 else
 2538   STRIP="$ac_cv_prog_STRIP"
 2539 fi
 2540 
 2541 fi
 2542 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 2543 
 2544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 2545 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 2546 if test -z "$MKDIR_P"; then
 2547   if ${ac_cv_path_mkdir+:} false; then :
 2548   $as_echo_n "(cached) " >&6
 2549 else
 2550   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2551 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 2552 do
 2553   IFS=$as_save_IFS
 2554   test -z "$as_dir" && as_dir=.
 2555     for ac_prog in mkdir gmkdir; do
 2556      for ac_exec_ext in '' $ac_executable_extensions; do
 2557        as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
 2558        case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 2559          'mkdir (GNU coreutils) '* | \
 2560          'mkdir (coreutils) '* | \
 2561          'mkdir (fileutils) '4.1*)
 2562            ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 2563            break 3;;
 2564        esac
 2565      done
 2566        done
 2567   done
 2568 IFS=$as_save_IFS
 2569 
 2570 fi
 2571 
 2572   test -d ./--version && rmdir ./--version
 2573   if test "${ac_cv_path_mkdir+set}" = set; then
 2574     MKDIR_P="$ac_cv_path_mkdir -p"
 2575   else
 2576     # As a last resort, use the slow shell script.  Don't cache a
 2577     # value for MKDIR_P within a source directory, because that will
 2578     # break other packages using the cache if that directory is
 2579     # removed, or if the value is a relative name.
 2580     MKDIR_P="$ac_install_sh -d"
 2581   fi
 2582 fi
 2583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 2584 case "$MKDIR_P" in #(
 2585   yes|ok|yes[\ ,]*) :
 2586     $as_echo "${as__grn}$MKDIR_P${as__std}" >&6 ;; #(
 2587   no|failed|unsupported|no[\ ,]*) :
 2588     $as_echo "${as__red}$MKDIR_P${as__std}" >&6 ;; #(
 2589   *) :
 2590     $as_echo "${as__blu}$MKDIR_P${as__std}" >&6 ;;
 2591 esac; }
 2592 
 2593 for ac_prog in gawk mawk nawk awk
 2594 do
 2595   # Extract the first word of "$ac_prog", so it can be a program name with args.
 2596 set dummy $ac_prog; ac_word=$2
 2597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2598 $as_echo_n "checking for $ac_word... " >&6; }
 2599 if ${ac_cv_prog_AWK+:} false; then :
 2600   $as_echo_n "(cached) " >&6
 2601 else
 2602   if test -n "$AWK"; then
 2603   ac_cv_prog_AWK="$AWK" # Let the user override the test.
 2604 else
 2605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2606 for as_dir in $PATH
 2607 do
 2608   IFS=$as_save_IFS
 2609   test -z "$as_dir" && as_dir=.
 2610     for ac_exec_ext in '' $ac_executable_extensions; do
 2611   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2612     ac_cv_prog_AWK="$ac_prog"
 2613     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2614     break 2
 2615   fi
 2616 done
 2617   done
 2618 IFS=$as_save_IFS
 2619 
 2620 fi
 2621 fi
 2622 AWK=$ac_cv_prog_AWK
 2623 if test -n "$AWK"; then
 2624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 2625 case "$AWK" in #(
 2626   yes|ok|yes[\ ,]*) :
 2627     $as_echo "${as__grn}$AWK${as__std}" >&6 ;; #(
 2628   no|failed|unsupported|no[\ ,]*) :
 2629     $as_echo "${as__red}$AWK${as__std}" >&6 ;; #(
 2630   *) :
 2631     $as_echo "${as__blu}$AWK${as__std}" >&6 ;;
 2632 esac; }
 2633 else
 2634   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2635 $as_echo "${as__red}no${as__std}" >&6; }
 2636 fi
 2637 
 2638 
 2639   test -n "$AWK" && break
 2640 done
 2641 
 2642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 2643 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 2644 set x ${MAKE-make}
 2645 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 2646 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
 2647   $as_echo_n "(cached) " >&6
 2648 else
 2649   cat >conftest.make <<\_ACEOF
 2650 SHELL = /bin/sh
 2651 all:
 2652     @echo '@@@%%%=$(MAKE)=@@@%%%'
 2653 _ACEOF
 2654 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 2655 case `${MAKE-make} -f conftest.make 2>/dev/null` in
 2656   *@@@%%%=?*=@@@%%%*)
 2657     eval ac_cv_prog_make_${ac_make}_set=yes;;
 2658   *)
 2659     eval ac_cv_prog_make_${ac_make}_set=no;;
 2660 esac
 2661 rm -f conftest.make
 2662 fi
 2663 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 2664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 2665 $as_echo "${as__grn}yes${as__std}" >&6; }
 2666   SET_MAKE=
 2667 else
 2668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2669 $as_echo "${as__red}no${as__std}" >&6; }
 2670   SET_MAKE="MAKE=${MAKE-make}"
 2671 fi
 2672 
 2673 rm -rf .tst 2>/dev/null
 2674 mkdir .tst 2>/dev/null
 2675 if test -d .tst; then
 2676   am__leading_dot=.
 2677 else
 2678   am__leading_dot=_
 2679 fi
 2680 rmdir .tst 2>/dev/null
 2681 
 2682 # Check whether --enable-silent-rules was given.
 2683 if test "${enable_silent_rules+set}" = set; then :
 2684   enableval=$enable_silent_rules;
 2685 fi
 2686 
 2687 case $enable_silent_rules in # (((
 2688   yes) AM_DEFAULT_VERBOSITY=0;;
 2689    no) AM_DEFAULT_VERBOSITY=1;;
 2690     *) AM_DEFAULT_VERBOSITY=1;;
 2691 esac
 2692 am_make=${MAKE-make}
 2693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
 2694 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
 2695 if ${am_cv_make_support_nested_variables+:} false; then :
 2696   $as_echo_n "(cached) " >&6
 2697 else
 2698   if $as_echo 'TRUE=$(BAR$(V))
 2699 BAR0=false
 2700 BAR1=true
 2701 V=1
 2702 am__doit:
 2703     @$(TRUE)
 2704 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
 2705   am_cv_make_support_nested_variables=yes
 2706 else
 2707   am_cv_make_support_nested_variables=no
 2708 fi
 2709 fi
 2710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
 2711 case "$am_cv_make_support_nested_variables" in #(
 2712   yes|ok|yes[\ ,]*) :
 2713     $as_echo "${as__grn}$am_cv_make_support_nested_variables${as__std}" >&6 ;; #(
 2714   no|failed|unsupported|no[\ ,]*) :
 2715     $as_echo "${as__red}$am_cv_make_support_nested_variables${as__std}" >&6 ;; #(
 2716   *) :
 2717     $as_echo "${as__blu}$am_cv_make_support_nested_variables${as__std}" >&6 ;;
 2718 esac; }
 2719 if test $am_cv_make_support_nested_variables = yes; then
 2720     AM_V='$(V)'
 2721   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
 2722 else
 2723   AM_V=$AM_DEFAULT_VERBOSITY
 2724   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
 2725 fi
 2726 AM_BACKSLASH='\'
 2727 
 2728 if test "`cd $srcdir && pwd`" != "`pwd`"; then
 2729   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 2730   # is not polluted with repeated "-I."
 2731   am__isrc=' -I$(srcdir)'
 2732   # test to see if srcdir already configured
 2733   if test -f $srcdir/config.status; then
 2734     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 2735   fi
 2736 fi
 2737 
 2738 # test whether we have cygpath
 2739 if test -z "$CYGPATH_W"; then
 2740   if (cygpath --version) >/dev/null 2>/dev/null; then
 2741     CYGPATH_W='cygpath -w'
 2742   else
 2743     CYGPATH_W=echo
 2744   fi
 2745 fi
 2746 
 2747 
 2748 # Define the identity of the package.
 2749  PACKAGE='scalasca'
 2750  VERSION='2.6'
 2751 
 2752 
 2753 cat >>confdefs.h <<_ACEOF
 2754 #define PACKAGE "$PACKAGE"
 2755 _ACEOF
 2756 
 2757 
 2758 cat >>confdefs.h <<_ACEOF
 2759 #define VERSION "$VERSION"
 2760 _ACEOF
 2761 
 2762 # Some tools Automake needs.
 2763 
 2764 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 2765 
 2766 
 2767 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 2768 
 2769 
 2770 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 2771 
 2772 
 2773 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 2774 
 2775 
 2776 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 2777 
 2778 # For better backward compatibility.  To be removed once Automake 1.9.x
 2779 # dies out for good.  For more background, see:
 2780 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
 2781 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
 2782 mkdir_p='$(MKDIR_P)'
 2783 
 2784 # We need awk for the "check" target.  The system "awk" is bad on
 2785 # some platforms.
 2786 # Always define AMTAR for backward compatibility.  Yes, it's still used
 2787 # in the wild :-(  We should find a proper way to deprecate it ...
 2788 AMTAR='$${TAR-tar}'
 2789 
 2790 
 2791 # We'll loop over all known methods to create a tar archive until one works.
 2792 _am_tools='gnutar  pax cpio none'
 2793 
 2794 
 2795 
 2796   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
 2797 $as_echo_n "checking how to create a pax tar archive... " >&6; }
 2798 
 2799   # Go ahead even if we have the value already cached.  We do so because we
 2800   # need to set the values for the 'am__tar' and 'am__untar' variables.
 2801   _am_tools=${am_cv_prog_tar_pax-$_am_tools}
 2802 
 2803   for _am_tool in $_am_tools; do
 2804     case $_am_tool in
 2805     gnutar)
 2806       for _am_tar in tar gnutar gtar; do
 2807         { echo "$as_me:$LINENO: $_am_tar --version" >&5
 2808    ($_am_tar --version) >&5 2>&5
 2809    ac_status=$?
 2810    echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2811    (exit $ac_status); } && break
 2812       done
 2813       am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
 2814       am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
 2815       am__untar="$_am_tar -xf -"
 2816       ;;
 2817     plaintar)
 2818       # Must skip GNU tar: if it does not support --format= it doesn't create
 2819       # ustar tarball either.
 2820       (tar --version) >/dev/null 2>&1 && continue
 2821       am__tar='tar chf - "$$tardir"'
 2822       am__tar_='tar chf - "$tardir"'
 2823       am__untar='tar xf -'
 2824       ;;
 2825     pax)
 2826       am__tar='pax -L -x pax -w "$$tardir"'
 2827       am__tar_='pax -L -x pax -w "$tardir"'
 2828       am__untar='pax -r'
 2829       ;;
 2830     cpio)
 2831       am__tar='find "$$tardir" -print | cpio -o -H pax -L'
 2832       am__tar_='find "$tardir" -print | cpio -o -H pax -L'
 2833       am__untar='cpio -i -H pax -d'
 2834       ;;
 2835     none)
 2836       am__tar=false
 2837       am__tar_=false
 2838       am__untar=false
 2839       ;;
 2840     esac
 2841 
 2842     # If the value was cached, stop now.  We just wanted to have am__tar
 2843     # and am__untar set.
 2844     test -n "${am_cv_prog_tar_pax}" && break
 2845 
 2846     # tar/untar a dummy directory, and stop if the command works.
 2847     rm -rf conftest.dir
 2848     mkdir conftest.dir
 2849     echo GrepMe > conftest.dir/file
 2850     { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
 2851    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
 2852    ac_status=$?
 2853    echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2854    (exit $ac_status); }
 2855     rm -rf conftest.dir
 2856     if test -s conftest.tar; then
 2857       { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
 2858    ($am__untar <conftest.tar) >&5 2>&5
 2859    ac_status=$?
 2860    echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2861    (exit $ac_status); }
 2862       { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
 2863    (cat conftest.dir/file) >&5 2>&5
 2864    ac_status=$?
 2865    echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2866    (exit $ac_status); }
 2867       grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
 2868     fi
 2869   done
 2870   rm -rf conftest.dir
 2871 
 2872   if ${am_cv_prog_tar_pax+:} false; then :
 2873   $as_echo_n "(cached) " >&6
 2874 else
 2875   am_cv_prog_tar_pax=$_am_tool
 2876 fi
 2877 
 2878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
 2879 case "$am_cv_prog_tar_pax" in #(
 2880   yes|ok|yes[\ ,]*) :
 2881     $as_echo "${as__grn}$am_cv_prog_tar_pax${as__std}" >&6 ;; #(
 2882   no|failed|unsupported|no[\ ,]*) :
 2883     $as_echo "${as__red}$am_cv_prog_tar_pax${as__std}" >&6 ;; #(
 2884   *) :
 2885     $as_echo "${as__blu}$am_cv_prog_tar_pax${as__std}" >&6 ;;
 2886 esac; }
 2887 
 2888 
 2889 
 2890 
 2891 
 2892 
 2893 # Check whether --enable-silent-rules was given.
 2894 if test "${enable_silent_rules+set}" = set; then :
 2895   enableval=$enable_silent_rules;
 2896 fi
 2897 
 2898 case $enable_silent_rules in # (((
 2899   yes) AM_DEFAULT_VERBOSITY=0;;
 2900    no) AM_DEFAULT_VERBOSITY=1;;
 2901     *) AM_DEFAULT_VERBOSITY=0;;
 2902 esac
 2903 am_make=${MAKE-make}
 2904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
 2905 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
 2906 if ${am_cv_make_support_nested_variables+:} false; then :
 2907   $as_echo_n "(cached) " >&6
 2908 else
 2909   if $as_echo 'TRUE=$(BAR$(V))
 2910 BAR0=false
 2911 BAR1=true
 2912 V=1
 2913 am__doit:
 2914     @$(TRUE)
 2915 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
 2916   am_cv_make_support_nested_variables=yes
 2917 else
 2918   am_cv_make_support_nested_variables=no
 2919 fi
 2920 fi
 2921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
 2922 case "$am_cv_make_support_nested_variables" in #(
 2923   yes|ok|yes[\ ,]*) :
 2924     $as_echo "${as__grn}$am_cv_make_support_nested_variables${as__std}" >&6 ;; #(
 2925   no|failed|unsupported|no[\ ,]*) :
 2926     $as_echo "${as__red}$am_cv_make_support_nested_variables${as__std}" >&6 ;; #(
 2927   *) :
 2928     $as_echo "${as__blu}$am_cv_make_support_nested_variables${as__std}" >&6 ;;
 2929 esac; }
 2930 if test $am_cv_make_support_nested_variables = yes; then
 2931     AM_V='$(V)'
 2932   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
 2933 else
 2934   AM_V=$AM_DEFAULT_VERBOSITY
 2935   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
 2936 fi
 2937 AM_BACKSLASH='\'
 2938 
 2939 
 2940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Git controlled" >&5
 2941 $as_echo_n "checking Git controlled... " >&6; }
 2942 ac_scorep_git_controlled="no"
 2943 
 2944 # test if ${afs_srcdir} is a git top-level, not any parent directory:
 2945 # * if ${afs_srcdir} is a top-level, than the prefix is empty (e.g., we are git controlled)
 2946 # * if ${afs_srcdir} is below a top-level, than it wont be empty (e.g., we operate in a
 2947 #   tarball, which was extracted below a top-level)
 2948 # * if git could not find any top-level, it prints an error to stderr and stop,
 2949 #   we catch this error, which makes the test also fail (e.g., we operate in a
 2950 #   tarball which is *not* below any top-level)
 2951 if test -z "$(
 2952     unset $(git rev-parse --local-env-vars 2>/dev/null) &&
 2953     cd ${afs_srcdir} &&
 2954     git rev-parse --show-prefix 2>&1)"; then :
 2955   ac_scorep_git_controlled="yes"
 2956 
 2957 $as_echo "#define SCOREP_IN_DEVELOPEMENT /**/" >>confdefs.h
 2958 
 2959 else
 2960 
 2961 $as_echo "#define SCOREP_IN_PRODUCTION /**/" >>confdefs.h
 2962 
 2963 fi
 2964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_scorep_git_controlled" >&5
 2965 case "$ac_scorep_git_controlled" in #(
 2966   yes|ok|yes[\ ,]*) :
 2967     $as_echo "${as__grn}$ac_scorep_git_controlled${as__std}" >&6 ;; #(
 2968   no|failed|unsupported|no[\ ,]*) :
 2969     $as_echo "${as__red}$ac_scorep_git_controlled${as__std}" >&6 ;; #(
 2970   *) :
 2971     $as_echo "${as__blu}$ac_scorep_git_controlled${as__std}" >&6 ;;
 2972 esac; }
 2973 
 2974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 2975 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
 2976 if ${ac_cv_path_SED+:} false; then :
 2977   $as_echo_n "(cached) " >&6
 2978 else
 2979             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 2980      for ac_i in 1 2 3 4 5 6 7; do
 2981        ac_script="$ac_script$as_nl$ac_script"
 2982      done
 2983      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 2984      { ac_script=; unset ac_script;}
 2985      if test -z "$SED"; then
 2986   ac_path_SED_found=false
 2987   # Loop through the user's path and test for each of PROGNAME-LIST
 2988   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2989 for as_dir in $PATH
 2990 do
 2991   IFS=$as_save_IFS
 2992   test -z "$as_dir" && as_dir=.
 2993     for ac_prog in sed gsed; do
 2994     for ac_exec_ext in '' $ac_executable_extensions; do
 2995       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 2996       as_fn_executable_p "$ac_path_SED" || continue
 2997 # Check for GNU ac_path_SED and select it if it is found.
 2998   # Check for GNU $ac_path_SED
 2999 case `"$ac_path_SED" --version 2>&1` in
 3000 *GNU*)
 3001   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 3002 *)
 3003   ac_count=0
 3004   $as_echo_n 0123456789 >"conftest.in"
 3005   while :
 3006   do
 3007     cat "conftest.in" "conftest.in" >"conftest.tmp"
 3008     mv "conftest.tmp" "conftest.in"
 3009     cp "conftest.in" "conftest.nl"
 3010     $as_echo '' >> "conftest.nl"
 3011     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 3012     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 3013     as_fn_arith $ac_count + 1 && ac_count=$as_val
 3014     if test $ac_count -gt ${ac_path_SED_max-0}; then
 3015       # Best one so far, save it but keep looking for a better one
 3016       ac_cv_path_SED="$ac_path_SED"
 3017       ac_path_SED_max=$ac_count
 3018     fi
 3019     # 10*(2^10) chars as input seems more than enough
 3020     test $ac_count -gt 10 && break
 3021   done
 3022   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 3023 esac
 3024 
 3025       $ac_path_SED_found && break 3
 3026     done
 3027   done
 3028   done
 3029 IFS=$as_save_IFS
 3030   if test -z "$ac_cv_path_SED"; then
 3031     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
 3032   fi
 3033 else
 3034   ac_cv_path_SED=$SED
 3035 fi
 3036 
 3037 fi
 3038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
 3039 case "$ac_cv_path_SED" in #(
 3040   yes|ok|yes[\ ,]*) :
 3041     $as_echo "${as__grn}$ac_cv_path_SED${as__std}" >&6 ;; #(
 3042   no|failed|unsupported|no[\ ,]*) :
 3043     $as_echo "${as__red}$ac_cv_path_SED${as__std}" >&6 ;; #(
 3044   *) :
 3045     $as_echo "${as__blu}$ac_cv_path_SED${as__std}" >&6 ;;
 3046 esac; }
 3047  SED="$ac_cv_path_SED"
 3048   rm -f conftest.sed
 3049 
 3050 
 3051 
 3052 # afs_fn_summary DESCR VALUE INDENT WRAP-MARGIN=128
 3053 # ----------------------------------------------------------------------
 3054 # Produces a line-wrapped summary line with DESCR and VALUE, indented by
 3055 # INDENT and wrapped at WRAP-MARGIN.
 3056 afs_fn_summary ()
 3057 {
 3058     _afs_summary_wrap_width=${4-128}
 3059     _afs_summary_column_width=32
 3060     _afs_summary_prefix="${3-}  ${1-}:"
 3061     printf "%s" "${_afs_summary_prefix}"
 3062     _afs_summary_padding="$(printf "%-${_afs_summary_column_width}s" "")"
 3063     _afs_summary_value="$(echo "${2-}" | $SED -e 's/  */ /g' -e 's/^ //' -e 's/ $//')"
 3064     if test ${#_afs_summary_prefix} -ge ${#_afs_summary_padding}; then :
 3065 
 3066         _afs_summary_nl=" \\$as_nl${_afs_summary_padding}"
 3067 
 3068 else
 3069 
 3070         as_fn_arith ${#_afs_summary_padding} - ${#_afs_summary_prefix} &&
 3071             _afs_summary_nl="$(printf "%-${as_val}s" "")"
 3072 
 3073 fi
 3074     _afs_summary_sep=""
 3075     as_fn_arith ${#_afs_summary_padding} + 1 &&
 3076         _afs_summary_column=$as_val
 3077     while test -n "${_afs_summary_value}"
 3078     do
 3079         _afs_summary_entry="${_afs_summary_value%% *}"
 3080         printf "%s" "${_afs_summary_nl}${_afs_summary_sep}${_afs_summary_entry}"
 3081 
 3082         case "${_afs_summary_value}" in
 3083         (*" "*) _afs_summary_value="${_afs_summary_value#* }" ;;
 3084         (*) _afs_summary_value="" ;;
 3085         esac
 3086 
 3087         as_fn_arith ${_afs_summary_column} + ${#_afs_summary_entry} + ${#_afs_summary_sep} &&
 3088             _afs_summary_column=$as_val
 3089         if test ${_afs_summary_column} -ge ${_afs_summary_wrap_width}; then :
 3090 
 3091             _afs_summary_nl=" \\$as_nl${_afs_summary_padding}"
 3092             _afs_summary_sep=""
 3093             as_fn_arith ${#_afs_summary_padding} + 1 &&
 3094                 _afs_summary_column=$as_val
 3095 
 3096 else
 3097 
 3098             _afs_summary_sep=" "
 3099             _afs_summary_nl=""
 3100 
 3101 fi
 3102     done
 3103     echo
 3104 { _afs_summary_column_width=; unset _afs_summary_column_width;}
 3105 { _afs_summary_wrap_width=; unset _afs_summary_wrap_width;}
 3106 { _afs_summary_prefix=; unset _afs_summary_prefix;}
 3107 { _afs_summary_padding=; unset _afs_summary_padding;}
 3108 { _afs_summary_value=; unset _afs_summary_value;}
 3109 { _afs_summary_nl=; unset _afs_summary_nl;}
 3110 { _afs_summary_sep=; unset _afs_summary_sep;}
 3111 { _afs_summary_column=; unset _afs_summary_column;}
 3112 { _afs_summary_entry=; unset _afs_summary_entry;}
 3113 { _afs_summary_tag=; unset _afs_summary_tag;}
 3114 { _afs_summary_tag_final=; unset _afs_summary_tag_final;}
 3115 
 3116 } # afs_fn_summary
 3117 
 3118 
 3119 rm -f scalasca.summary
 3120 LC_ALL=C find . -name 'config.summary*' -exec rm -f '{}' \;
 3121 
 3122 afs_fn_summary \
 3123     "Scalasca 2.6" \
 3124     "" \
 3125     "" \
 3126     >config.summary
 3127 
 3128 
 3129 
 3130  if test "x${ac_scorep_git_controlled}" = xyes; then
 3131   GIT_CONTROLLED_TRUE=
 3132   GIT_CONTROLLED_FALSE='#'
 3133 else
 3134   GIT_CONTROLLED_TRUE='#'
 3135   GIT_CONTROLLED_FALSE=
 3136 fi
 3137 
 3138 
 3139 
 3140 if test "x${verbose}" = "xyes"; then :
 3141 
 3142 
 3143 afs_fn_summary "Git controlled" "$ac_scorep_git_controlled" "  "  >>config.summary
 3144 
 3145 fi
 3146 
 3147 
 3148 
 3149 if test "x${ac_scorep_git_controlled}" = xyes; then :
 3150 
 3151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
 3152 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
 3153     # Check whether --enable-maintainer-mode was given.
 3154 if test "${enable_maintainer_mode+set}" = set; then :
 3155   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
 3156 else
 3157   USE_MAINTAINER_MODE=yes
 3158 fi
 3159 
 3160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
 3161 case "$USE_MAINTAINER_MODE" in #(
 3162   yes|ok|yes[\ ,]*) :
 3163     $as_echo "${as__grn}$USE_MAINTAINER_MODE${as__std}" >&6 ;; #(
 3164   no|failed|unsupported|no[\ ,]*) :
 3165     $as_echo "${as__red}$USE_MAINTAINER_MODE${as__std}" >&6 ;; #(
 3166   *) :
 3167     $as_echo "${as__blu}$USE_MAINTAINER_MODE${as__std}" >&6 ;;
 3168 esac; }
 3169    if test $USE_MAINTAINER_MODE = yes; then
 3170   MAINTAINER_MODE_TRUE=
 3171   MAINTAINER_MODE_FALSE='#'
 3172 else
 3173   MAINTAINER_MODE_TRUE='#'
 3174   MAINTAINER_MODE_FALSE=
 3175 fi
 3176 
 3177   MAINT=$MAINTAINER_MODE_TRUE
 3178 
 3179 
 3180 else
 3181 
 3182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
 3183 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
 3184     # Check whether --enable-maintainer-mode was given.
 3185 if test "${enable_maintainer_mode+set}" = set; then :
 3186   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
 3187 else
 3188   USE_MAINTAINER_MODE=no
 3189 fi
 3190 
 3191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
 3192 case "$USE_MAINTAINER_MODE" in #(
 3193   yes|ok|yes[\ ,]*) :
 3194     $as_echo "${as__grn}$USE_MAINTAINER_MODE${as__std}" >&6 ;; #(
 3195   no|failed|unsupported|no[\ ,]*) :
 3196     $as_echo "${as__red}$USE_MAINTAINER_MODE${as__std}" >&6 ;; #(
 3197   *) :
 3198     $as_echo "${as__blu}$USE_MAINTAINER_MODE${as__std}" >&6 ;;
 3199 esac; }
 3200    if test $USE_MAINTAINER_MODE = yes; then
 3201   MAINTAINER_MODE_TRUE=
 3202   MAINTAINER_MODE_FALSE='#'
 3203 else
 3204   MAINTAINER_MODE_TRUE='#'
 3205   MAINTAINER_MODE_FALSE=
 3206 fi
 3207 
 3208   MAINT=$MAINTAINER_MODE_TRUE
 3209 
 3210 
 3211 fi
 3212 
 3213 ## Initialize configuration summary
 3214 rm -f scalasca.summary
 3215 LC_ALL=C find . -name 'config.summary*' -exec rm -f '{}' \;
 3216 
 3217 afs_fn_summary \
 3218     "Scalasca 2.6" \
 3219     "" \
 3220     "" \
 3221     >config.summary
 3222 
 3223 
 3224 
 3225 ##--- Package-specific configuration ----------------------------------------
 3226 
 3227 ## Working from git? Get revision info
 3228 
 3229 
 3230  if test "x${ac_scorep_git_controlled}" = xyes; then
 3231   GIT_CONTROLLED_TRUE=
 3232   GIT_CONTROLLED_FALSE='#'
 3233 else
 3234   GIT_CONTROLLED_TRUE='#'
 3235   GIT_CONTROLLED_FALSE=
 3236 fi
 3237 
 3238 
 3239 
 3240 if test "x${verbose}" = "xyes"; then :
 3241 
 3242 
 3243 afs_fn_summary "Git controlled" "$ac_scorep_git_controlled" "  "  >>config.summary
 3244 
 3245 fi
 3246 
 3247 
 3248 
 3249     PACKAGE_MAJOR=2
 3250 
 3251 
 3252     PACKAGE_MINOR=6
 3253 
 3254 
 3255     PACKAGE_BUGFIX=0
 3256 
 3257 
 3258     PACKAGE_SUFFIX=
 3259 
 3260 
 3261 
 3262     LIBRARY_CURRENT=0
 3263 
 3264 
 3265     LIBRARY_REVISION=0
 3266 
 3267 
 3268     LIBRARY_AGE=0
 3269 
 3270 
 3271 
 3272 
 3273 
 3274 
 3275 
 3276 
 3277 # When in a working copy, write REVISION* files. The REVISION* files
 3278 # are updated during each configure call and also at make
 3279 # doxygen-user.
 3280 
 3281 # When working with a make-dist-generated tarball, the REVISION* files
 3282 # are provided.
 3283 
 3284 component_revision="invalid"
 3285 if test "x${ac_scorep_git_controlled}" = xyes &&
 3286        component_revision=$(
 3287             unset $(git rev-parse --local-env-vars 2>/dev/null) &&
 3288             cd ${afs_srcdir} &&
 3289             git describe --long --always --dirty | ${SED} 's/.*-g//' 2>/dev/null); then :
 3290   echo "$component_revision" >${afs_srcdir}/build-config/REVISION
 3291 else
 3292   component_revision=external
 3293 fi
 3294 
 3295 # Warn if the REVISION files contain -dirty prefix or is external.
 3296 case `cat ${afs_srcdir}/build-config/REVISION` in #(
 3297   *-dirty|external|invalid) :
 3298     component_revision=`cat ${afs_srcdir}/build-config/REVISION`
 3299          { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: distribution does not match a single, unmodified revision, but $component_revision." >&5
 3300 $as_echo "$as_me: ${as__yel}WARNING: distribution does not match a single, unmodified revision, but $component_revision.${as__std}" >&2;} ;; #(
 3301   *) :
 3302      ;;
 3303 esac
 3304 
 3305 
 3306 ## Platform detection
 3307 # Make sure we can run config.sub.
 3308 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 3309   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 3310 
 3311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 3312 $as_echo_n "checking build system type... " >&6; }
 3313 if ${ac_cv_build+:} false; then :
 3314   $as_echo_n "(cached) " >&6
 3315 else
 3316   ac_build_alias=$build_alias
 3317 test "x$ac_build_alias" = x &&
 3318   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 3319 test "x$ac_build_alias" = x &&
 3320   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
 3321 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 3322   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 3323 
 3324 fi
 3325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 3326 case "$ac_cv_build" in #(
 3327   yes|ok|yes[\ ,]*) :
 3328     $as_echo "${as__grn}$ac_cv_build${as__std}" >&6 ;; #(
 3329   no|failed|unsupported|no[\ ,]*) :
 3330     $as_echo "${as__red}$ac_cv_build${as__std}" >&6 ;; #(
 3331   *) :
 3332     $as_echo "${as__blu}$ac_cv_build${as__std}" >&6 ;;
 3333 esac; }
 3334 case $ac_cv_build in
 3335 *-*-*) ;;
 3336 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
 3337 esac
 3338 build=$ac_cv_build
 3339 ac_save_IFS=$IFS; IFS='-'
 3340 set x $ac_cv_build
 3341 shift
 3342 build_cpu=$1
 3343 build_vendor=$2
 3344 shift; shift
 3345 # Remember, the first character of IFS is used to create $*,
 3346 # except with old shells:
 3347 build_os=$*
 3348 IFS=$ac_save_IFS
 3349 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 3350 
 3351 
 3352 
 3353 
 3354 # Notes about platform detection on Cray systems:
 3355 # First, we check for x86-64 CPU type and an existing /opt/cray/pmi/default link.
 3356 # This test should succeed for all supported Cray systems (Cray XT, XE, XK, XC).
 3357 # In the second step we will classify the systems depending on their network.
 3358 # Therefore, we use the link /opt/cray/pmi/default. We determine the link target
 3359 # and select the network. For example, /opt/cray/pmi/default points to
 3360 # /opt/cray/pmi/4.0.1-1.0000.9421.73.3.gem. 'gem' signifies the Gemini network.
 3361 # As a result we can classify the following systems:
 3362 # ss  (SeaStar)  Cray XT
 3363 # gem (Gemini)   Cray XE, XK
 3364 # ari (Aries)    Cray XC
 3365 # To distinguish Cray XE and XK systems we determine whether the system uses GPU
 3366 # accelerators (Cray XK) or not (Cray XE).
 3367 #
 3368 # Newer software stacks do not encode the network name in their files, e.g.,
 3369 # /opt/cray/pmi/5.0.11
 3370 # Therefore, we need a fall-back solution. We will test for several directories
 3371 # including the network name.
 3372 #
 3373 # Even newer software stacks on Cray XC systems (Cori, Piz Daint)
 3374 # don't provide the /opt/cray/pmi/default link but instead
 3375 # /opt/cray/pe/pmi/default. They still provide the network via
 3376 # /opt/cray/ari/modulefiles.
 3377 #
 3378 # Check whether --enable-platform-mic was given.
 3379 if test "${enable_platform_mic+set}" = set; then :
 3380   enableval=$enable_platform_mic; case ${enableval} in #(
 3381   yes) :
 3382     ac_scorep_platform=mic ;; #(
 3383   no) :
 3384      ;; #(
 3385   *) :
 3386     as_fn_error $? "value '$enableval' unsupported for '--enable-platform-mic'" "$LINENO" 5 ;;
 3387 esac
 3388 
 3389 fi
 3390 
 3391 
 3392 if test "x${ac_scorep_platform}" = "x"; then :
 3393   case ${build_os} in #(
 3394   linux*) :
 3395     if test "x${build_cpu}" = "xia64" && test -f /etc/sgi-release; then :
 3396   ac_scorep_platform="altix"
 3397 elif test "x${build_cpu}" = "xpowerpc64" && test -d /bgl/BlueLight; then :
 3398   ac_scorep_platform="bgl"
 3399 elif test "x${build_cpu}" = "xpowerpc64" && test -d /bgsys/drivers/ppcfloor/hwi; then :
 3400   ac_scorep_platform="bgq"
 3401 elif test "x${build_cpu}" = "xpowerpc64" && test -d /bgsys; then :
 3402   ac_scorep_platform="bgp"
 3403 elif (test "x${build_cpu}" = "xx86_64" || test "x${build_cpu}" = "xaarch64") && test -d /opt/cray; then :
 3404   ac_scorep_platform="crayunknown"
 3405                          if test -L /opt/cray/pmi/default; then :
 3406   if test "x`readlink -f /opt/cray/pmi/default | grep -o --regexp=[a-z]*$ | grep -q ss && echo TRUE`" = "xTRUE"; then :
 3407   ac_scorep_platform="crayxt"
 3408 elif test "x`readlink -f /opt/cray/pmi/default | grep -o --regexp=[a-z]*$ | grep -q gem && echo TRUE`" = "xTRUE" && test "x`apstat -G | grep \"(none)\" | wc -l`" = "x1"; then :
 3409   ac_scorep_platform="crayxe"
 3410 elif test "x`readlink -f /opt/cray/pmi/default | grep -o --regexp=[a-z]*$ | grep -q gem && echo TRUE`" = "xTRUE" && test "x`apstat -G | grep \"(none)\" | wc -l`" = "x0"; then :
 3411   ac_scorep_platform="crayxk"
 3412 elif test "x`readlink -f /opt/cray/pmi/default | grep -o --regexp=[a-z]*$ | grep -q ari && echo TRUE`" = "xTRUE"; then :
 3413   ac_scorep_platform="crayxc"
 3414 elif test -d /opt/cray/ari/modulefiles; then :
 3415   ac_scorep_platform="crayxc"
 3416 elif test -d /opt/cray/gem/modulefiles && test "x`apstat -G | grep \"(none)\" | wc -l`" = "x0"; then :
 3417   ac_scorep_platform="crayxk"
 3418 elif test -d /opt/cray/gem/modulefiles && test "x`apstat -G | grep \"(none)\" | wc -l`" = "x1"; then :
 3419   ac_scorep_platform="crayxe"
 3420 fi
 3421 elif test -L /opt/cray/pe/pmi/default; then :
 3422   if test -d /opt/cray/ari/modulefiles; then :
 3423   ac_scorep_platform="crayxc"
 3424 fi
 3425 fi
 3426                          if test "x${ac_scorep_platform}" = "xcrayunknown"; then :
 3427   # Extract the first word of "cc", so it can be a program name with args.
 3428 set dummy cc; ac_word=$2
 3429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3430 $as_echo_n "checking for $ac_word... " >&6; }
 3431 if ${ac_cv_prog_has_cc+:} false; then :
 3432   $as_echo_n "(cached) " >&6
 3433 else
 3434   if test -n "$has_cc"; then
 3435   ac_cv_prog_has_cc="$has_cc" # Let the user override the test.
 3436 else
 3437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3438 for as_dir in $PATH
 3439 do
 3440   IFS=$as_save_IFS
 3441   test -z "$as_dir" && as_dir=.
 3442     for ac_exec_ext in '' $ac_executable_extensions; do
 3443   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3444     ac_cv_prog_has_cc="yes"
 3445     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3446     break 2
 3447   fi
 3448 done
 3449   done
 3450 IFS=$as_save_IFS
 3451 
 3452   test -z "$ac_cv_prog_has_cc" && ac_cv_prog_has_cc="no"
 3453 fi
 3454 fi
 3455 has_cc=$ac_cv_prog_has_cc
 3456 if test -n "$has_cc"; then
 3457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_cc" >&5
 3458 case "$has_cc" in #(
 3459   yes|ok|yes[\ ,]*) :
 3460     $as_echo "${as__grn}$has_cc${as__std}" >&6 ;; #(
 3461   no|failed|unsupported|no[\ ,]*) :
 3462     $as_echo "${as__red}$has_cc${as__std}" >&6 ;; #(
 3463   *) :
 3464     $as_echo "${as__blu}$has_cc${as__std}" >&6 ;;
 3465 esac; }
 3466 else
 3467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3468 $as_echo "${as__red}no${as__std}" >&6; }
 3469 fi
 3470 
 3471 
 3472                               # Extract the first word of "CC", so it can be a program name with args.
 3473 set dummy CC; ac_word=$2
 3474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3475 $as_echo_n "checking for $ac_word... " >&6; }
 3476 if ${ac_cv_prog_has_CC+:} false; then :
 3477   $as_echo_n "(cached) " >&6
 3478 else
 3479   if test -n "$has_CC"; then
 3480   ac_cv_prog_has_CC="$has_CC" # Let the user override the test.
 3481 else
 3482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3483 for as_dir in $PATH
 3484 do
 3485   IFS=$as_save_IFS
 3486   test -z "$as_dir" && as_dir=.
 3487     for ac_exec_ext in '' $ac_executable_extensions; do
 3488   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3489     ac_cv_prog_has_CC="yes"
 3490     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3491     break 2
 3492   fi
 3493 done
 3494   done
 3495 IFS=$as_save_IFS
 3496 
 3497   test -z "$ac_cv_prog_has_CC" && ac_cv_prog_has_CC="no"
 3498 fi
 3499 fi
 3500 has_CC=$ac_cv_prog_has_CC
 3501 if test -n "$has_CC"; then
 3502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_CC" >&5
 3503 case "$has_CC" in #(
 3504   yes|ok|yes[\ ,]*) :
 3505     $as_echo "${as__grn}$has_CC${as__std}" >&6 ;; #(
 3506   no|failed|unsupported|no[\ ,]*) :
 3507     $as_echo "${as__red}$has_CC${as__std}" >&6 ;; #(
 3508   *) :
 3509     $as_echo "${as__blu}$has_CC${as__std}" >&6 ;;
 3510 esac; }
 3511 else
 3512   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3513 $as_echo "${as__red}no${as__std}" >&6; }
 3514 fi
 3515 
 3516 
 3517                               # Extract the first word of "ftn", so it can be a program name with args.
 3518 set dummy ftn; ac_word=$2
 3519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3520 $as_echo_n "checking for $ac_word... " >&6; }
 3521 if ${ac_cv_prog_has_ftn+:} false; then :
 3522   $as_echo_n "(cached) " >&6
 3523 else
 3524   if test -n "$has_ftn"; then
 3525   ac_cv_prog_has_ftn="$has_ftn" # Let the user override the test.
 3526 else
 3527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3528 for as_dir in $PATH
 3529 do
 3530   IFS=$as_save_IFS
 3531   test -z "$as_dir" && as_dir=.
 3532     for ac_exec_ext in '' $ac_executable_extensions; do
 3533   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3534     ac_cv_prog_has_ftn="yes"
 3535     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3536     break 2
 3537   fi
 3538 done
 3539   done
 3540 IFS=$as_save_IFS
 3541 
 3542   test -z "$ac_cv_prog_has_ftn" && ac_cv_prog_has_ftn="no"
 3543 fi
 3544 fi
 3545 has_ftn=$ac_cv_prog_has_ftn
 3546 if test -n "$has_ftn"; then
 3547   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_ftn" >&5
 3548 case "$has_ftn" in #(
 3549   yes|ok|yes[\ ,]*) :
 3550     $as_echo "${as__grn}$has_ftn${as__std}" >&6 ;; #(
 3551   no|failed|unsupported|no[\ ,]*) :
 3552     $as_echo "${as__red}$has_ftn${as__std}" >&6 ;; #(
 3553   *) :
 3554     $as_echo "${as__blu}$has_ftn${as__std}" >&6 ;;
 3555 esac; }
 3556 else
 3557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3558 $as_echo "${as__red}no${as__std}" >&6; }
 3559 fi
 3560 
 3561 
 3562                               if test "${has_cc}${has_CC}${has_ftn}" != yesyesyes; then :
 3563   # System seems to be a Cray, but doensn't provide
 3564                                    # compiler wrappers cc, CC, ftn. Try 'linux' as fallback.
 3565                                    ac_scorep_platform=linux
 3566                                    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unknown Cray platform, no compiler wrappers provided, assume linux. Please contact <scalasca@fz-juelich.de>." >&5
 3567 $as_echo "$as_me: ${as__yel}WARNING: Unknown Cray platform, no compiler wrappers provided, assume linux. Please contact <scalasca@fz-juelich.de>.${as__std}" >&2;}
 3568 else
 3569   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unknown Cray platform, please contact <scalasca@fz-juelich.de>." >&5
 3570 $as_echo "$as_me: ${as__yel}WARNING: Unknown Cray platform, please contact <scalasca@fz-juelich.de>.${as__std}" >&2;}
 3571 fi
 3572 fi
 3573 elif test "x${build_cpu}" = "xx86_64" && test -d /opt/FJSVtclang; then :
 3574   ac_scorep_platform="k"
 3575 elif test "x${build_cpu}" = "xx86_64" && test -d /opt/FJSVfxlang; then :
 3576   ac_scorep_platform="fx10"
 3577 elif test "x${build_cpu}" = "xx86_64" && test -d /opt/FJSVmxlang; then :
 3578   ac_scorep_platform="fx100"
 3579 else
 3580   ac_scorep_platform=linux
 3581 fi ;; #(
 3582   sunos* | solaris*) :
 3583     ac_scorep_platform="solaris" ;; #(
 3584   darwin*) :
 3585     ac_scorep_platform="mac" ;; #(
 3586   aix*) :
 3587     ac_scorep_platform="aix" ;; #(
 3588   superux*) :
 3589     ac_scorep_platform="necsx" ;; #(
 3590   mingw*) :
 3591     ac_scorep_platform="mingw" ;; #(
 3592   *) :
 3593     ac_scorep_platform="unknown" ;;
 3594 esac
 3595 
 3596      # Keep 'checking' and 'result' close to each other in oder to not interfere with CICD platform check
 3597      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for platform" >&5
 3598 $as_echo_n "checking for platform... " >&6; }
 3599      if test "x${ac_scorep_platform}" = "xunknown"; then :
 3600   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_scorep_platform, please contact <scalasca@fz-juelich.de> if you encounter any problems." >&5
 3601 case "$ac_scorep_platform, please contact <scalasca@fz-juelich.de> if you encounter any problems." in #(
 3602   yes|ok|yes[\ ,]*) :
 3603     $as_echo "${as__grn}$ac_scorep_platform, please contact <scalasca@fz-juelich.de> if you encounter any problems.${as__std}" >&6 ;; #(
 3604   no|failed|unsupported|no[\ ,]*) :
 3605     $as_echo "${as__red}$ac_scorep_platform, please contact <scalasca@fz-juelich.de> if you encounter any problems.${as__std}" >&6 ;; #(
 3606   *) :
 3607     $as_echo "${as__blu}$ac_scorep_platform, please contact <scalasca@fz-juelich.de> if you encounter any problems.${as__std}" >&6 ;;
 3608 esac; }
 3609 else
 3610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_scorep_platform (auto detected)" >&5
 3611 case "$ac_scorep_platform (auto detected)" in #(
 3612   yes|ok|yes[\ ,]*) :
 3613     $as_echo "${as__grn}$ac_scorep_platform (auto detected)${as__std}" >&6 ;; #(
 3614   no|failed|unsupported|no[\ ,]*) :
 3615     $as_echo "${as__red}$ac_scorep_platform (auto detected)${as__std}" >&6 ;; #(
 3616   *) :
 3617     $as_echo "${as__blu}$ac_scorep_platform (auto detected)${as__std}" >&6 ;;
 3618 esac; }
 3619 
 3620 afs_fn_summary "Platform" "$ac_scorep_platform (auto detected)" "  "  >>config.summary
 3621 fi
 3622 
 3623 else
 3624   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for platform" >&5
 3625 $as_echo_n "checking for platform... " >&6; }
 3626      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_scorep_platform (provided)" >&5
 3627 case "$ac_scorep_platform (provided)" in #(
 3628   yes|ok|yes[\ ,]*) :
 3629     $as_echo "${as__grn}$ac_scorep_platform (provided)${as__std}" >&6 ;; #(
 3630   no|failed|unsupported|no[\ ,]*) :
 3631     $as_echo "${as__red}$ac_scorep_platform (provided)${as__std}" >&6 ;; #(
 3632   *) :
 3633     $as_echo "${as__blu}$ac_scorep_platform (provided)${as__std}" >&6 ;;
 3634 esac; }
 3635 
 3636 afs_fn_summary "Platform" "$ac_scorep_platform (provided)" "  "  >>config.summary
 3637 fi
 3638 
 3639 
 3640      if test "x${ac_scorep_platform}" = "xaltix"; then
 3641   PLATFORM_ALTIX_TRUE=
 3642   PLATFORM_ALTIX_FALSE='#'
 3643 else
 3644   PLATFORM_ALTIX_TRUE='#'
 3645   PLATFORM_ALTIX_FALSE=
 3646 fi
 3647 
 3648      if test "x${ac_scorep_platform}" = "xaix"; then
 3649   PLATFORM_AIX_TRUE=
 3650   PLATFORM_AIX_FALSE='#'
 3651 else
 3652   PLATFORM_AIX_TRUE='#'
 3653   PLATFORM_AIX_FALSE=
 3654 fi
 3655 
 3656      if test "x${ac_scorep_platform}" = "xbgl"; then
 3657   PLATFORM_BGL_TRUE=
 3658   PLATFORM_BGL_FALSE='#'
 3659 else
 3660   PLATFORM_BGL_TRUE='#'
 3661   PLATFORM_BGL_FALSE=
 3662 fi
 3663 
 3664      if test "x${ac_scorep_platform}" = "xbgp"; then
 3665   PLATFORM_BGP_TRUE=
 3666   PLATFORM_BGP_FALSE='#'
 3667 else
 3668   PLATFORM_BGP_TRUE='#'
 3669   PLATFORM_BGP_FALSE=
 3670 fi
 3671 
 3672      if test "x${ac_scorep_platform}" = "xbgq"; then
 3673   PLATFORM_BGQ_TRUE=
 3674   PLATFORM_BGQ_FALSE='#'
 3675 else
 3676   PLATFORM_BGQ_TRUE='#'
 3677   PLATFORM_BGQ_FALSE=
 3678 fi
 3679 
 3680      if test "x${ac_scorep_platform}" = "xcrayxt"; then
 3681   PLATFORM_CRAYXT_TRUE=
 3682   PLATFORM_CRAYXT_FALSE='#'
 3683 else
 3684   PLATFORM_CRAYXT_TRUE='#'
 3685   PLATFORM_CRAYXT_FALSE=
 3686 fi
 3687 
 3688      if test "x${ac_scorep_platform}" = "xcrayxe"; then
 3689   PLATFORM_CRAYXE_TRUE=
 3690   PLATFORM_CRAYXE_FALSE='#'
 3691 else
 3692   PLATFORM_CRAYXE_TRUE='#'
 3693   PLATFORM_CRAYXE_FALSE=
 3694 fi
 3695 
 3696      if test "x${ac_scorep_platform}" = "xcrayxk"; then
 3697   PLATFORM_CRAYXK_TRUE=
 3698   PLATFORM_CRAYXK_FALSE='#'
 3699 else
 3700   PLATFORM_CRAYXK_TRUE='#'
 3701   PLATFORM_CRAYXK_FALSE=
 3702 fi
 3703 
 3704      if test "x${ac_scorep_platform}" = "xcrayxc"; then
 3705   PLATFORM_CRAYXC_TRUE=
 3706   PLATFORM_CRAYXC_FALSE='#'
 3707 else
 3708   PLATFORM_CRAYXC_TRUE='#'
 3709   PLATFORM_CRAYXC_FALSE=
 3710 fi
 3711 
 3712      if test "x${ac_scorep_platform}" = "xcrayunknown"; then
 3713   PLATFORM_CRAYUNKNOWN_TRUE=
 3714   PLATFORM_CRAYUNKNOWN_FALSE='#'
 3715 else
 3716   PLATFORM_CRAYUNKNOWN_TRUE='#'
 3717   PLATFORM_CRAYUNKNOWN_FALSE=
 3718 fi
 3719 
 3720      if test "x${ac_scorep_platform}" = "xlinux"; then
 3721   PLATFORM_LINUX_TRUE=
 3722   PLATFORM_LINUX_FALSE='#'
 3723 else
 3724   PLATFORM_LINUX_TRUE='#'
 3725   PLATFORM_LINUX_FALSE=
 3726 fi
 3727 
 3728      if test "x${ac_scorep_platform}" = "xsolaris"; then
 3729   PLATFORM_SOLARIS_TRUE=
 3730   PLATFORM_SOLARIS_FALSE='#'
 3731 else
 3732   PLATFORM_SOLARIS_TRUE='#'
 3733   PLATFORM_SOLARIS_FALSE=
 3734 fi
 3735 
 3736      if test "x${ac_scorep_platform}" = "xmac"; then
 3737   PLATFORM_MAC_TRUE=
 3738   PLATFORM_MAC_FALSE='#'
 3739 else
 3740   PLATFORM_MAC_TRUE='#'
 3741   PLATFORM_MAC_FALSE=
 3742 fi
 3743 
 3744      if test "x${ac_scorep_platform}" = "xmic"; then
 3745   PLATFORM_MIC_TRUE=
 3746   PLATFORM_MIC_FALSE='#'
 3747 else
 3748   PLATFORM_MIC_TRUE='#'
 3749   PLATFORM_MIC_FALSE=
 3750 fi
 3751 
 3752      if test "x${ac_scorep_platform}" = "xnecsx"; then
 3753   PLATFORM_NECSX_TRUE=
 3754   PLATFORM_NECSX_FALSE='#'
 3755 else
 3756   PLATFORM_NECSX_TRUE='#'
 3757   PLATFORM_NECSX_FALSE=
 3758 fi
 3759 
 3760      if test "x${ac_scorep_platform}" = "xmingw"; then
 3761   PLATFORM_MINGW_TRUE=
 3762   PLATFORM_MINGW_FALSE='#'
 3763 else
 3764   PLATFORM_MINGW_TRUE='#'
 3765   PLATFORM_MINGW_FALSE=
 3766 fi
 3767 
 3768      if test "x${ac_scorep_platform}" = "xk"; then
 3769   PLATFORM_K_TRUE=
 3770   PLATFORM_K_FALSE='#'
 3771 else
 3772   PLATFORM_K_TRUE='#'
 3773   PLATFORM_K_FALSE=
 3774 fi
 3775 
 3776      if test "x${ac_scorep_platform}" = "xfx10"; then
 3777   PLATFORM_FX10_TRUE=
 3778   PLATFORM_FX10_FALSE='#'
 3779 else
 3780   PLATFORM_FX10_TRUE='#'
 3781   PLATFORM_FX10_FALSE=
 3782 fi
 3783 
 3784      if test "x${ac_scorep_platform}" = "xfx100"; then
 3785   PLATFORM_FX100_TRUE=
 3786   PLATFORM_FX100_FALSE='#'
 3787 else
 3788   PLATFORM_FX100_TRUE='#'
 3789   PLATFORM_FX100_FALSE=
 3790 fi
 3791 
 3792 
 3793     case ${ac_scorep_platform} in #(
 3794   cray*) :
 3795     afs_platform_cray="yes" ;; #(
 3796   *) :
 3797     afs_platform_cray="no" ;;
 3798 esac
 3799      if  test "x${afs_platform_cray}" = "xyes" ; then
 3800   PLATFORM_CRAY_TRUE=
 3801   PLATFORM_CRAY_FALSE='#'
 3802 else
 3803   PLATFORM_CRAY_TRUE='#'
 3804   PLATFORM_CRAY_FALSE=
 3805 fi
 3806 
 3807 
 3808     if test -z "$PLATFORM_ALTIX_TRUE"; then :
 3809 
 3810 $as_echo "#define HAVE_PLATFORM_ALTIX 1" >>confdefs.h
 3811 
 3812 fi
 3813     if test -z "$PLATFORM_AIX_TRUE"; then :
 3814 
 3815 $as_echo "#define HAVE_PLATFORM_AIX 1" >>confdefs.h
 3816 
 3817 fi
 3818     if test -z "$PLATFORM_BGL_TRUE"; then :
 3819 
 3820 $as_echo "#define HAVE_PLATFORM_BGL 1" >>confdefs.h
 3821 
 3822 fi
 3823     if test -z "$PLATFORM_BGP_TRUE"; then :
 3824 
 3825 $as_echo "#define HAVE_PLATFORM_BGP 1" >>confdefs.h
 3826 
 3827 fi
 3828     if test -z "$PLATFORM_BGQ_TRUE"; then :
 3829 
 3830 $as_echo "#define HAVE_PLATFORM_BGQ 1" >>confdefs.h
 3831 
 3832 fi
 3833     if test -z "$PLATFORM_CRAY_TRUE"; then :
 3834 
 3835 $as_echo "#define HAVE_PLATFORM_CRAY 1" >>confdefs.h
 3836 
 3837 fi
 3838     if test -z "$PLATFORM_CRAYXT_TRUE"; then :
 3839 
 3840 $as_echo "#define HAVE_PLATFORM_CRAYXT 1" >>confdefs.h
 3841 
 3842 fi
 3843     if test -z "$PLATFORM_CRAYXE_TRUE"; then :
 3844 
 3845 $as_echo "#define HAVE_PLATFORM_CRAYXE 1" >>confdefs.h
 3846 
 3847 fi
 3848     if test -z "$PLATFORM_CRAYXK_TRUE"; then :
 3849 
 3850 $as_echo "#define HAVE_PLATFORM_CRAYXK 1" >>confdefs.h
 3851 
 3852 fi
 3853     if test -z "$PLATFORM_CRAYXC_TRUE"; then :
 3854 
 3855 $as_echo "#define HAVE_PLATFORM_CRAYXC 1" >>confdefs.h
 3856 
 3857 fi
 3858     if test -z "$PLATFORM_CRAYUNKNOWN_TRUE"; then :
 3859 
 3860 $as_echo "#define HAVE_PLATFORM_CRAYUNKNOWN 1" >>confdefs.h
 3861 
 3862 fi
 3863     if test -z "$PLATFORM_LINUX_TRUE"; then :
 3864 
 3865 $as_echo "#define HAVE_PLATFORM_LINUX 1" >>confdefs.h
 3866 
 3867 fi
 3868     if test -z "$PLATFORM_SOLARIS_TRUE"; then :
 3869 
 3870 $as_echo "#define HAVE_PLATFORM_SOLARIS 1" >>confdefs.h
 3871 
 3872 fi
 3873     if test -z "$PLATFORM_MAC_TRUE"; then :
 3874 
 3875 $as_echo "#define HAVE_PLATFORM_MAC 1" >>confdefs.h
 3876 
 3877 fi
 3878     if test -z "$PLATFORM_MIC_TRUE"; then :
 3879 
 3880 $as_echo "#define HAVE_PLATFORM_MIC 1" >>confdefs.h
 3881 
 3882 fi
 3883     if test -z "$PLATFORM_NECSX_TRUE"; then :
 3884 
 3885 $as_echo "#define HAVE_PLATFORM_NECSX 1" >>confdefs.h
 3886 
 3887 fi
 3888     if test -z "$PLATFORM_MINGW_TRUE"; then :
 3889 
 3890 $as_echo "#define HAVE_PLATFORM_MINGW 1" >>confdefs.h
 3891 
 3892 fi
 3893     if test -z "$PLATFORM_K_TRUE"; then :
 3894 
 3895 $as_echo "#define HAVE_PLATFORM_K 1" >>confdefs.h
 3896 
 3897 fi
 3898     if test -z "$PLATFORM_FX10_TRUE"; then :
 3899 
 3900 $as_echo "#define HAVE_PLATFORM_FX10 1" >>confdefs.h
 3901 
 3902 fi
 3903     if test -z "$PLATFORM_FX100_TRUE"; then :
 3904 
 3905 $as_echo "#define HAVE_PLATFORM_FX100 1" >>confdefs.h
 3906 
 3907 fi
 3908 
 3909 
 3910 
 3911 if test "x${ac_scorep_cross_compiling}" = "x"; then :
 3912   case ${ac_scorep_platform} in #(
 3913   altix) :
 3914     ac_scorep_cross_compiling="no" ;; #(
 3915   bgl) :
 3916     ac_scorep_cross_compiling="yes" ;; #(
 3917   bgp) :
 3918     ac_scorep_cross_compiling="yes" ;; #(
 3919   bgq) :
 3920     ac_scorep_cross_compiling="yes" ;; #(
 3921   crayxt) :
 3922     ac_scorep_cross_compiling="yes" ;; #(
 3923   crayxe) :
 3924     ac_scorep_cross_compiling="yes" ;; #(
 3925   crayxk) :
 3926     ac_scorep_cross_compiling="yes" ;; #(
 3927   crayxc) :
 3928     ac_scorep_cross_compiling="yes" ;; #(
 3929   crayunknown) :
 3930     ac_scorep_cross_compiling="yes" ;; #(
 3931   k) :
 3932     ac_scorep_cross_compiling="yes" ;; #(
 3933   fx10) :
 3934     ac_scorep_cross_compiling="yes" ;; #(
 3935   fx100) :
 3936     ac_scorep_cross_compiling="yes" ;; #(
 3937   linux) :
 3938     ac_scorep_cross_compiling="no" ;; #(
 3939   solaris) :
 3940     ac_scorep_cross_compiling="no" ;; #(
 3941   mac) :
 3942     ac_scorep_cross_compiling="no" ;; #(
 3943   mic) :
 3944     ac_scorep_cross_compiling="yes" ;; #(
 3945   mingw) :
 3946     ac_scorep_cross_compiling="no" ;; #(
 3947   aix) :
 3948     ac_scorep_cross_compiling="no" ;; #(
 3949   necsx) :
 3950     ac_scorep_cross_compiling="yes" ;; #(
 3951   unknown) :
 3952     ac_scorep_cross_compiling="no" ;; #(
 3953   *) :
 3954     as_fn_error $? "provided platform '${ac_scorep_platform}' unknown." "$LINENO" 5 ;;
 3955 esac
 3956 
 3957 afs_fn_summary "Cross compiling" "$ac_scorep_cross_compiling (auto detected)" "  "  >>config.summary
 3958 
 3959 else
 3960   # honor ac_scorep_cross_compiling from the commandline
 3961      if test ${ac_scorep_cross_compiling} != "yes" && \
 3962             test ${ac_scorep_cross_compiling} != "no" ; then :
 3963   as_fn_error $? "invalid value '${ac_scorep_cross_compiling}' for provided 'ac_scorep_cross_compiling'" "$LINENO" 5
 3964 fi
 3965 
 3966 afs_fn_summary "Cross compiling" "$ac_scorep_cross_compiling (provided)" "  "  >>config.summary
 3967 
 3968 fi
 3969 
 3970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cross compilation" >&5
 3971 $as_echo_n "checking for cross compilation... " >&6; }
 3972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_scorep_cross_compiling" >&5
 3973 case "$ac_scorep_cross_compiling" in #(
 3974   yes|ok|yes[\ ,]*) :
 3975     $as_echo "${as__grn}$ac_scorep_cross_compiling${as__std}" >&6 ;; #(
 3976   no|failed|unsupported|no[\ ,]*) :
 3977     $as_echo "${as__red}$ac_scorep_cross_compiling${as__std}" >&6 ;; #(
 3978   *) :
 3979     $as_echo "${as__blu}$ac_scorep_cross_compiling${as__std}" >&6 ;;
 3980 esac; }
 3981 
 3982 
 3983 ## Don't detect and load defaults in nested configures
 3984 if test ! -n "$ac_scorep_platform_data_provided" || \
 3985        test "x${ac_scorep_platform_data_provided}" = "xno"; then :
 3986 
 3987 
 3988 
 3989 
 3990 # Check whether --with-custom-compilers was given.
 3991 if test "${with_custom_compilers+set}" = set; then :
 3992   withval=$with_custom_compilers; afs_custom_compilers_given="yes"
 3993          case ${withval} in #(
 3994   "yes") :
 3995     if test -f ./platform-backend-user-provided && \
 3996                               test -f ./platform-frontend-user-provided && \
 3997                               test -f ./platform-mpi-user-provided && \
 3998                               test -f ./platform-shmem-user-provided; then :
 3999   { $as_echo "$as_me:${as_lineno-$LINENO}: info: Using compiler specification from ./platform-*-user-provided files." >&5
 4000 $as_echo "$as_me: ${as__blu}info: Using compiler specification from ./platform-*-user-provided files.${as__std}" >&2;}
 4001                             ac_scorep_compilers_backend="./platform-backend-user-provided"
 4002                             ac_scorep_compilers_frontend="./platform-frontend-user-provided"
 4003                             ac_scorep_compilers_mpi="./platform-mpi-user-provided"
 4004                             ac_scorep_compilers_shmem="./platform-shmem-user-provided"
 4005 else
 4006   { $as_echo "$as_me:${as_lineno-$LINENO}: info: Using compiler specification from $srcdir/build-config/common/platforms/platform-*-user-provided files." >&5
 4007 $as_echo "$as_me: ${as__blu}info: Using compiler specification from $srcdir/build-config/common/platforms/platform-*-user-provided files.${as__std}" >&2;}
 4008                             ac_scorep_compilers_backend="$srcdir/build-config/common/platforms/platform-backend-user-provided"
 4009                             ac_scorep_compilers_frontend="$srcdir/build-config/common/platforms/platform-frontend-user-provided"
 4010                             ac_scorep_compilers_mpi="$srcdir/build-config/common/platforms/platform-mpi-user-provided"
 4011                             ac_scorep_compilers_shmem="$srcdir/build-config/common/platforms/platform-shmem-user-provided"
 4012 fi
 4013                        ;; #(
 4014   *) :
 4015     as_fn_error $? "'${withval}' not supported by --with-custom-compilers." "$LINENO" 5 ;;
 4016 esac
 4017 
 4018 else
 4019   afs_custom_compilers_given="no"
 4020 
 4021 fi
 4022 
 4023 
 4024        if test "x${afs_custom_compilers_given}" = "xno"; then :
 4025 
 4026 
 4027 
 4028 ac_scorep_compilers_frontend="platform-frontend-${ac_scorep_platform}"
 4029 ac_scorep_compilers_backend="platform-backend-${ac_scorep_platform}"
 4030 # ac_scorep_compilers_mpi set in AC_SCOREP_WITH_MPI_COMPILER_SUITE
 4031 
 4032 
 4033 
 4034 if test "x${ac_scorep_compiler_suite_called}" != "x"; then :
 4035   as_fn_error $? "cannot use AC_SCOREP_WITH_COMPILER_SUITE and AC_SCOREP_WITH_NOCROSS_COMPILER_SUITE in one configure.ac." "$LINENO" 5
 4036 else
 4037   ac_scorep_compiler_suite_called="yes"
 4038 fi
 4039 
 4040 
 4041 # Check whether --with-nocross-compiler-suite was given.
 4042 if test "${with_nocross_compiler_suite+set}" = set; then :
 4043   withval=$with_nocross_compiler_suite; if test "x${ac_scorep_cross_compiling}" = "xno"; then :
 4044   ac_scorep_compilers_backend="compiler-nocross-gcc" # default
 4045                     case $withval in #(
 4046   "gcc") :
 4047     ac_scorep_compilers_backend="compiler-nocross-gcc" ;; #(
 4048   "ibm") :
 4049     ac_scorep_compilers_backend="compiler-nocross-ibm" ;; #(
 4050   "intel") :
 4051     ac_scorep_compilers_backend="compiler-nocross-intel" ;; #(
 4052   "pgi") :
 4053     ac_scorep_compilers_backend="compiler-nocross-pgi" ;; #(
 4054   "studio") :
 4055     ac_scorep_compilers_backend="compiler-nocross-studio" ;; #(
 4056   "clang") :
 4057     ac_scorep_compilers_backend="compiler-nocross-clang" ;; #(
 4058   "aocc") :
 4059     ac_scorep_compilers_backend="compiler-nocross-aocc" ;; #(
 4060   "no") :
 4061     as_fn_error $? "option --without-nocross-compiler-suite makes no sense." "$LINENO" 5 ;; #(
 4062   *) :
 4063     as_fn_error $? "compiler suite \"${withval}\" not supported by --with-nocross-compiler-suite." "$LINENO" 5 ;;
 4064 esac
 4065 else
 4066   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: option --with-nocross-compiler-suite ignored in cross-compiling mode. You may use --with-frontend-compiler-suite to customize the frontend compiler." >&5
 4067 $as_echo "$as_me: ${as__yel}WARNING: option --with-nocross-compiler-suite ignored in cross-compiling mode. You may use --with-frontend-compiler-suite to customize the frontend compiler.${as__std}" >&2;}
 4068 fi
 4069 fi
 4070 
 4071 if test -f "$srcdir/build-config/platforms/${ac_scorep_compilers_backend}"; then :
 4072   ac_scorep_compilers_backend="$srcdir/build-config/platforms/${ac_scorep_compilers_backend}"
 4073 else
 4074   ac_scorep_compilers_backend="$srcdir/build-config/common/platforms/${ac_scorep_compilers_backend}"
 4075 fi
 4076 
 4077 
 4078 
 4079 # Check whether --with-frontend-compiler-suite was given.
 4080 if test "${with_frontend_compiler_suite+set}" = set; then :
 4081   withval=$with_frontend_compiler_suite; if test "x${ac_scorep_cross_compiling}" = "xyes"; then :
 4082   ac_scorep_compilers_frontend="compiler-frontend-gcc"
 4083                     case $withval in #(
 4084   "gcc") :
 4085     ac_scorep_compilers_frontend="compiler-frontend-gcc" ;; #(
 4086   "ibm") :
 4087     ac_scorep_compilers_frontend="compiler-frontend-ibm" ;; #(
 4088   "intel") :
 4089     ac_scorep_compilers_frontend="compiler-frontend-intel" ;; #(
 4090   "pgi") :
 4091     ac_scorep_compilers_frontend="compiler-frontend-pgi" ;; #(
 4092   "studio") :
 4093     ac_scorep_compilers_frontend="compiler-frontend-studio" ;; #(
 4094   "clang") :
 4095     ac_scorep_compilers_frontend="compiler-frontend-clang" ;; #(
 4096   "aocc") :
 4097     ac_scorep_compilers_frontend="compiler-frontend-aocc" ;; #(
 4098   "no") :
 4099     as_fn_error $? "option --without-frontend-compiler-suite makes no sense." "$LINENO" 5 ;; #(
 4100   *) :
 4101     as_fn_error $? "compiler suite \"${withval}\" not supported by --with-frontend-compiler-suite." "$LINENO" 5 ;;
 4102 esac
 4103 else
 4104   as_fn_error $? "Option --with-frontend-compiler-suite not supported in non cross-compiling mode. Please use --with-nocross-compiler-suite instead." "$LINENO" 5
 4105 fi
 4106 fi
 4107 
 4108 if test -f "$srcdir/build-config/platforms/${ac_scorep_compilers_frontend}"; then :
 4109   ac_scorep_compilers_frontend="$srcdir/build-config/platforms/${ac_scorep_compilers_frontend}"
 4110 else
 4111   ac_scorep_compilers_frontend="$srcdir/build-config/common/platforms/${ac_scorep_compilers_frontend}"
 4112 fi
 4113 
 4114               case ${afs_custom_compilers_given},${ac_scorep_platform} in #(
 4115   no,mac|no,mingw) :
 4116     as_fn_error $? "have no suitable defaults to build Scalasca on $afs_scorep_platform_name yet. Please use --with-custom-compilers and provide settings to <scalasca@fz-juelich.de> on success. Thanks." "$LINENO" 5 ;; #(
 4117   no,unknown) :
 4118     as_fn_error $? "cannot detect platform to set suitable defaults. Please use --with-custom-compilers and provide settings and platform to <scalasca@fz-juelich.de> on success. Thanks." "$LINENO" 5
 4119                    ;; #(
 4120   *) :
 4121      ;;
 4122 esac
 4123 
 4124 
 4125 
 4126 scorep_mpi_user_disabled="no"
 4127 
 4128 # Check whether --with-mpi was given.
 4129 if test "${with_mpi+set}" = set; then :
 4130   withval=$with_mpi; if test "x${withval}" = xno; then :
 4131   scorep_mpi_user_disabled=yes
 4132           ac_scorep_compilers_mpi="compiler-mpi-without"
 4133 
 4134 else
 4135   if test "x${ac_scorep_cross_compiling}" = "xno" && test "x${ac_scorep_platform}" != "xaix"; then :
 4136   case $withval in #(
 4137   "bullxmpi") :
 4138     ac_scorep_compilers_mpi="compiler-mpi-bullxmpi" ;; #(
 4139   "hp") :
 4140     ac_scorep_compilers_mpi="compiler-mpi-hp" ;; #(
 4141   "ibmpoe") :
 4142     ac_scorep_compilers_mpi="compiler-mpi-ibmpoe" ;; #(
 4143   "intel") :
 4144     ac_scorep_compilers_mpi="compiler-mpi-intel" ;; #(
 4145   "intel2") :
 4146     ac_scorep_compilers_mpi="compiler-mpi-intel2" ;; #(
 4147   "intel3") :
 4148     ac_scorep_compilers_mpi="compiler-mpi-intel3" ;; #(
 4149   "impi") :
 4150     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: option 'impi' to --with-mpi deprecated, use 'intel2' instead." >&5
 4151 $as_echo "$as_me: ${as__yel}WARNING: option 'impi' to --with-mpi deprecated, use 'intel2' instead.${as__std}" >&2;}
 4152                               ac_scorep_compilers_mpi="compiler-mpi-intel2" ;; #(
 4153   "intelpoe") :
 4154     ac_scorep_compilers_mpi="compiler-mpi-intelpoe" ;; #(
 4155   "lam") :
 4156     ac_scorep_compilers_mpi="compiler-mpi-lam" ;; #(
 4157   "mpibull2") :
 4158     ac_scorep_compilers_mpi="compiler-mpi-mpibull2" ;; #(
 4159   "mpich") :
 4160     ac_scorep_compilers_mpi="compiler-mpi-mpich" ;; #(
 4161   "mpich2") :
 4162     ac_scorep_compilers_mpi="compiler-mpi-mpich2" ;; #(
 4163   "mpich3") :
 4164     ac_scorep_compilers_mpi="compiler-mpi-mpich3" ;; #(
 4165   "openmpi") :
 4166     ac_scorep_compilers_mpi="compiler-mpi-openmpi" ;; #(
 4167   "openmpi3") :
 4168     ac_scorep_compilers_mpi="compiler-mpi-openmpi3" ;; #(
 4169   "platform") :
 4170     ac_scorep_compilers_mpi="compiler-mpi-platform" ;; #(
 4171   "scali") :
 4172     ac_scorep_compilers_mpi="compiler-mpi-scali" ;; #(
 4173   "sgimpt") :
 4174     ac_scorep_compilers_mpi="compiler-mpi-sgimpt" ;; #(
 4175   "sgimptwrapper") :
 4176     ac_scorep_compilers_mpi="compiler-mpi-sgimptwrapper" ;; #(
 4177   "spectrum") :
 4178     ac_scorep_compilers_mpi="compiler-mpi-spectrum" ;; #(
 4179   "sun") :
 4180     ac_scorep_compilers_mpi="compiler-mpi-sun" ;; #(
 4181   *) :
 4182     as_fn_error $? "MPI compiler suite \"${withval}\" not supported by --with-mpi." "$LINENO" 5 ;;
 4183 esac
 4184 
 4185 else
 4186   as_fn_error $? "Option --with-mpi ignored on cross-compiling platforms. MPI compiler suite automatically selected." "$LINENO" 5
 4187 
 4188 fi
 4189 
 4190 fi
 4191      # omit check "if in PATH" for now. Will fail in build-mpi configure.
 4192 
 4193 else
 4194   if test "x${ac_scorep_cross_compiling}" = "xno" && test "x${ac_scorep_platform}" != "xaix"; then :
 4195 
 4196 # Extract the first word of "nm", so it can be a program name with args.
 4197 set dummy nm; ac_word=$2
 4198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4199 $as_echo_n "checking for $ac_word... " >&6; }
 4200 if ${ac_cv_prog_NM+:} false; then :
 4201   $as_echo_n "(cached) " >&6
 4202 else
 4203   if test -n "$NM"; then
 4204   ac_cv_prog_NM="$NM" # Let the user override the test.
 4205 else
 4206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4207 for as_dir in $PATH
 4208 do
 4209   IFS=$as_save_IFS
 4210   test -z "$as_dir" && as_dir=.
 4211     for ac_exec_ext in '' $ac_executable_extensions; do
 4212   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 4213     ac_cv_prog_NM="`which nm`"
 4214     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4215     break 2
 4216   fi
 4217 done
 4218   done
 4219 IFS=$as_save_IFS
 4220 
 4221 fi
 4222 fi
 4223 NM=$ac_cv_prog_NM
 4224 if test -n "$NM"; then
 4225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
 4226 case "$NM" in #(
 4227   yes|ok|yes[\ ,]*) :
 4228     $as_echo "${as__grn}$NM${as__std}" >&6 ;; #(
 4229   no|failed|unsupported|no[\ ,]*) :
 4230     $as_echo "${as__red}$NM${as__std}" >&6 ;; #(
 4231   *) :
 4232     $as_echo "${as__blu}$NM${as__std}" >&6 ;;
 4233 esac; }
 4234 else
 4235   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4236 $as_echo "${as__red}no${as__std}" >&6; }
 4237 fi
 4238 
 4239 
 4240 
 4241 
 4242 
 4243 NMPIS=0
 4244 MPIS=""
 4245 MPI=""
 4246 
 4247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpiicc" >&5
 4248 $as_echo_n "checking for mpiicc... " >&6; }
 4249 MPIICC=`which mpiicc 2> /dev/null`
 4250 if test -n "${MPIICC}"; then :
 4251   R_MPIICC=`readlink -f ${MPIICC}`
 4252      if test -n "${R_MPIICC}"; then :
 4253   MPICC=${R_MPIICC}
 4254 fi
 4255      MBINDIR=`dirname ${MPIICC}`
 4256      MINCDIR=`echo ${MBINDIR} | sed -e 's/bin/include/'`
 4257      if test -f ${MINCDIR}/mpi.h; then :
 4258   IMPIVER=`${GREP} ^# ${MINCDIR}/mpi.h 2> /dev/null | \
 4259                    ${GREP} MPI_VERSION | head -1 | ${AWK} '{print $NF}'`
 4260           if test -z "${IMPIVER}"; then :
 4261   IMPIVER=-42
 4262 fi
 4263           if test ${IMPIVER} -eq 1; then :
 4264   NMPIS=`expr ${NMPIS} + 1`
 4265                MPI=intel
 4266                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Intel MPI 1 ${MPIICC}" >&5
 4267 case "Intel MPI 1 ${MPIICC}" in #(
 4268   yes|ok|yes[\ ,]*) :
 4269     $as_echo "${as__grn}Intel MPI 1 ${MPIICC}${as__std}" >&6 ;; #(
 4270   no|failed|unsupported|no[\ ,]*) :
 4271     $as_echo "${as__red}Intel MPI 1 ${MPIICC}${as__std}" >&6 ;; #(
 4272   *) :
 4273     $as_echo "${as__blu}Intel MPI 1 ${MPIICC}${as__std}" >&6 ;;
 4274 esac; }
 4275 elif test ${IMPIVER} -eq 2; then :
 4276   NMPIS=`expr ${NMPIS} + 1`
 4277                MPI=intel2
 4278                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Intel MPI 2 ${MPIICC}" >&5
 4279 case "Intel MPI 2 ${MPIICC}" in #(
 4280   yes|ok|yes[\ ,]*) :
 4281     $as_echo "${as__grn}Intel MPI 2 ${MPIICC}${as__std}" >&6 ;; #(
 4282   no|failed|unsupported|no[\ ,]*) :
 4283     $as_echo "${as__red}Intel MPI 2 ${MPIICC}${as__std}" >&6 ;; #(
 4284   *) :
 4285     $as_echo "${as__blu}Intel MPI 2 ${MPIICC}${as__std}" >&6 ;;
 4286 esac; }
 4287 elif test ${IMPIVER} -eq 3; then :
 4288   NMPIS=`expr ${NMPIS} + 1`
 4289                MPI=intel3
 4290                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Intel MPI 3 ${MPIICC}" >&5
 4291 case "Intel MPI 3 ${MPIICC}" in #(
 4292   yes|ok|yes[\ ,]*) :
 4293     $as_echo "${as__grn}Intel MPI 3 ${MPIICC}${as__std}" >&6 ;; #(
 4294   no|failed|unsupported|no[\ ,]*) :
 4295     $as_echo "${as__red}Intel MPI 3 ${MPIICC}${as__std}" >&6 ;; #(
 4296   *) :
 4297     $as_echo "${as__blu}Intel MPI 3 ${MPIICC}${as__std}" >&6 ;;
 4298 esac; }
 4299 else
 4300   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 4301 $as_echo "${as__grn}yes${as__std}" >&6; }
 4302                as_fn_error $? "cannot determine Intel MPI version. Please select MPI using --with-mpi=intel|intel2|intel3" "$LINENO" 5
 4303 
 4304 fi
 4305 
 4306 fi
 4307      if test -z "${MPIS}"; then :
 4308   MPIS="${MPI}"
 4309 else
 4310   MPIS="${MPIS}|${MPI}"
 4311 fi
 4312 
 4313 else
 4314   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4315 $as_echo "${as__red}no${as__std}" >&6; }
 4316 
 4317 fi
 4318 
 4319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpcc" >&5
 4320 $as_echo_n "checking for mpcc... " >&6; }
 4321 MPCC=`which mpcc 2> /dev/null`
 4322 if test -n "${MPCC}"; then :
 4323   R_MPCC=`readlink -f ${MPCC}`
 4324      if test -n "${R_MPCC}"; then :
 4325   MPICC=${R_MPCC}
 4326 fi
 4327      MBINDIR=`dirname ${MPCC}`
 4328      if test `uname -m` = "x86_64"; then :
 4329   NMPIS=`expr ${NMPIS} + 1`
 4330           MPI=intelpoe
 4331           { $as_echo "$as_me:${as_lineno-$LINENO}: result: Intel POE ${MBINDIR}" >&5
 4332 case "Intel POE ${MBINDIR}" in #(
 4333   yes|ok|yes[\ ,]*) :
 4334     $as_echo "${as__grn}Intel POE ${MBINDIR}${as__std}" >&6 ;; #(
 4335   no|failed|unsupported|no[\ ,]*) :
 4336     $as_echo "${as__red}Intel POE ${MBINDIR}${as__std}" >&6 ;; #(
 4337   *) :
 4338     $as_echo "${as__blu}Intel POE ${MBINDIR}${as__std}" >&6 ;;
 4339 esac; }
 4340 else
 4341   NMPIS=`expr ${NMPIS} + 1`
 4342           MPI=ibmpoe
 4343           { $as_echo "$as_me:${as_lineno-$LINENO}: result: IBM POE ${MBINDIR}" >&5
 4344 case "IBM POE ${MBINDIR}" in #(
 4345   yes|ok|yes[\ ,]*) :
 4346     $as_echo "${as__grn}IBM POE ${MBINDIR}${as__std}" >&6 ;; #(
 4347   no|failed|unsupported|no[\ ,]*) :
 4348     $as_echo "${as__red}IBM POE ${MBINDIR}${as__std}" >&6 ;; #(
 4349   *) :
 4350     $as_echo "${as__blu}IBM POE ${MBINDIR}${as__std}" >&6 ;;
 4351 esac; }
 4352 fi
 4353      if test -z "${MPIS}"; then :
 4354   MPIS="${MPI}"
 4355 else
 4356   MPIS="${MPIS}|${MPI}"
 4357 fi
 4358 
 4359 else
 4360   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4361 $as_echo "${as__red}no${as__std}" >&6; }
 4362 
 4363 fi
 4364 
 4365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SGI MPT" >&5
 4366 $as_echo_n "checking for SGI MPT... " >&6; }
 4367 # rail-config - Sets up the MPI multi-rail configuration file
 4368 # newer SGI MPT versions provide wrappers (mpicc, mpicxx, mpif77/90/08)
 4369 MPIRC=`which rail-config 2> /dev/null`
 4370 if (test -f /etc/sgi-release && test "x${MPIRC}" != x); then :
 4371   MBINDIR=`dirname ${MPIRC}`
 4372      if test -f "${MBINDIR}/mpicc"; then :
 4373   MPI=sgimptwrapper
 4374           variant="(wrapper)"
 4375 else
 4376   MPI=sgimpt
 4377           variant="(plain)"
 4378 fi
 4379      NMPIS=`expr ${NMPIS} + 1`
 4380      { $as_echo "$as_me:${as_lineno-$LINENO}: result: SGI MPT ${variant} ${MBINDIR}" >&5
 4381 case "SGI MPT ${variant} ${MBINDIR}" in #(
 4382   yes|ok|yes[\ ,]*) :
 4383     $as_echo "${as__grn}SGI MPT ${variant} ${MBINDIR}${as__std}" >&6 ;; #(
 4384   no|failed|unsupported|no[\ ,]*) :
 4385     $as_echo "${as__red}SGI MPT ${variant} ${MBINDIR}${as__std}" >&6 ;; #(
 4386   *) :
 4387     $as_echo "${as__blu}SGI MPT ${variant} ${MBINDIR}${as__std}" >&6 ;;
 4388 esac; }
 4389      if test -z "${MPIS}"; then :
 4390   MPIS="${MPI}"
 4391 else
 4392   MPIS="${MPIS}|${MPI}"
 4393 fi
 4394 
 4395 else
 4396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4397 $as_echo "${as__red}no${as__std}" >&6; }
 4398 
 4399 fi
 4400 
 4401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpicc" >&5
 4402 $as_echo_n "checking for mpicc... " >&6; }
 4403 MPICC=`which mpicc 2> /dev/null`
 4404 if test -n "${MPICC}"; then :
 4405   R_MPICC=`readlink -f ${MPICC}`
 4406      if test -n "${R_MPICC}"; then :
 4407   MPICC=${R_MPICC}
 4408 fi
 4409      MBINDIR=`dirname ${MPICC}`
 4410      MPIROOTDIR1=`dirname ${MBINDIR}`
 4411 
 4412      echo "#include <mpi.h>" > conftest.c
 4413      mpicc -E conftest.c | ${GREP} '/mpi.h"' | head -1 > mpiconf.txt
 4414      MINCDIR=`cat mpiconf.txt | sed -e 's#^.* "##' -e 's#/mpi.h".*##'`
 4415      if test -n "${MINCDIR}"; then :
 4416   MPIROOTDIR2=`dirname ${MINCDIR}`
 4417           R_MPIROOTDIR2=`readlink -f ${MPIROOTDIR2}`
 4418           if test -n "${R_MPIROOTDIR2}"; then :
 4419   MPIROOTDIR2=${R_MPIROOTDIR2}
 4420 fi
 4421           rm -f conftest.c mpiconf.txt
 4422           if test "${MPIROOTDIR1}" = "${MPIROOTDIR2}"; then :
 4423   MPIROOTDIR2=""
 4424 fi
 4425 
 4426 fi
 4427 
 4428      FMPI=""
 4429      for mr in ${MPIROOTDIR1} ${MPIROOTDIR2}
 4430      do
 4431          MLIBDIR="${mr}/lib"
 4432          MLIB64DIR="${mr}/lib64"
 4433          MBINDIR="${mr}/bin"
 4434          if (test -f ${MLIBDIR}/libmpich.a || test -f ${MLIBDIR}/libmpich.so || \
 4435               test -f ${MLIB64DIR}/libmpich.a || test -f ${MLIB64DIR}/libmpich.so); then :
 4436   if test -f ${MBINDIR}/mpibull2-version; then :
 4437   NMPIS=`expr ${NMPIS} + 1`
 4438                    FMPI=mpibull2
 4439                    { $as_echo "$as_me:${as_lineno-$LINENO}: result: Bull MPICH2 ${MPICC}" >&5
 4440 case "Bull MPICH2 ${MPICC}" in #(
 4441   yes|ok|yes[\ ,]*) :
 4442     $as_echo "${as__grn}Bull MPICH2 ${MPICC}${as__std}" >&6 ;; #(
 4443   no|failed|unsupported|no[\ ,]*) :
 4444     $as_echo "${as__red}Bull MPICH2 ${MPICC}${as__std}" >&6 ;; #(
 4445   *) :
 4446     $as_echo "${as__blu}Bull MPICH2 ${MPICC}${as__std}" >&6 ;;
 4447 esac; }
 4448 elif test -f ${MBINDIR}/mpichversion; then :
 4449   MPICHVER=`${GREP} ^# ${MINCDIR}/mpi.h 2> /dev/null | \
 4450                              ${GREP} MPI_VERSION | ${AWK} '{print $NF}'`
 4451                    if test -z "${MPICHVER}"; then :
 4452   MPICHVER=-42
 4453 fi
 4454                    if test ${MPICHVER} -eq 3; then :
 4455   NMPIS=`expr ${NMPIS} + 1`
 4456                         FMPI=mpich3
 4457                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: MPICH3 ${MPICC}" >&5
 4458 case "MPICH3 ${MPICC}" in #(
 4459   yes|ok|yes[\ ,]*) :
 4460     $as_echo "${as__grn}MPICH3 ${MPICC}${as__std}" >&6 ;; #(
 4461   no|failed|unsupported|no[\ ,]*) :
 4462     $as_echo "${as__red}MPICH3 ${MPICC}${as__std}" >&6 ;; #(
 4463   *) :
 4464     $as_echo "${as__blu}MPICH3 ${MPICC}${as__std}" >&6 ;;
 4465 esac; }
 4466 else
 4467   NMPIS=`expr ${NMPIS} + 1`
 4468                         FMPI=mpich
 4469                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: MPICH1 ${MPICC}" >&5
 4470 case "MPICH1 ${MPICC}" in #(
 4471   yes|ok|yes[\ ,]*) :
 4472     $as_echo "${as__grn}MPICH1 ${MPICC}${as__std}" >&6 ;; #(
 4473   no|failed|unsupported|no[\ ,]*) :
 4474     $as_echo "${as__red}MPICH1 ${MPICC}${as__std}" >&6 ;; #(
 4475   *) :
 4476     $as_echo "${as__blu}MPICH1 ${MPICC}${as__std}" >&6 ;;
 4477 esac; }
 4478 fi
 4479 
 4480 elif test -f ${MBINDIR}/mpich2version; then :
 4481   NMPIS=`expr ${NMPIS} + 1`
 4482                    FMPI=mpich2
 4483                    { $as_echo "$as_me:${as_lineno-$LINENO}: result: MPICH2 ${MPICC}" >&5
 4484 case "MPICH2 ${MPICC}" in #(
 4485   yes|ok|yes[\ ,]*) :
 4486     $as_echo "${as__grn}MPICH2 ${MPICC}${as__std}" >&6 ;; #(
 4487   no|failed|unsupported|no[\ ,]*) :
 4488     $as_echo "${as__red}MPICH2 ${MPICC}${as__std}" >&6 ;; #(
 4489   *) :
 4490     $as_echo "${as__blu}MPICH2 ${MPICC}${as__std}" >&6 ;;
 4491 esac; }
 4492 elif test ! -f ${MBINDIR}/mpiicc; then :
 4493   if test -f ${MLIBDIR}/libmpich.a; then :
 4494   ML=${MLIBDIR}/libmpich.a
 4495 elif test -f ${MLIBDIR}/libmpich.so; then :
 4496   ML=${MLIBDIR}/libmpich.so
 4497 elif test -f ${MLIB64DIR}/libmpich.a; then :
 4498   ML=${MLIB64DIR}/libmpich.a
 4499 elif test -f ${MLIB64DIR}/libmpich.so; then :
 4500   ML=${MLIB64DIR}/libmpich.so
 4501 else
 4502   as_fn_error $? "cannot determine MPICH version" "$LINENO" 5
 4503 
 4504 fi
 4505                    ( ${NM} ${ML} | ${GREP} MPI_Win >/dev/null 2>&1 )
 4506                    if test $? -eq 0; then :
 4507   NMPIS=`expr ${NMPIS} + 1`
 4508                         FMPI=mpich2
 4509                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: MPICH2 ${MPICC}" >&5
 4510 case "MPICH2 ${MPICC}" in #(
 4511   yes|ok|yes[\ ,]*) :
 4512     $as_echo "${as__grn}MPICH2 ${MPICC}${as__std}" >&6 ;; #(
 4513   no|failed|unsupported|no[\ ,]*) :
 4514     $as_echo "${as__red}MPICH2 ${MPICC}${as__std}" >&6 ;; #(
 4515   *) :
 4516     $as_echo "${as__blu}MPICH2 ${MPICC}${as__std}" >&6 ;;
 4517 esac; }
 4518 else
 4519   NMPIS=`expr ${NMPIS} + 1`
 4520                         FMPI=mpich
 4521                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: MPICH1 ${MPICC}" >&5
 4522 case "MPICH1 ${MPICC}" in #(
 4523   yes|ok|yes[\ ,]*) :
 4524     $as_echo "${as__grn}MPICH1 ${MPICC}${as__std}" >&6 ;; #(
 4525   no|failed|unsupported|no[\ ,]*) :
 4526     $as_echo "${as__red}MPICH1 ${MPICC}${as__std}" >&6 ;; #(
 4527   *) :
 4528     $as_echo "${as__blu}MPICH1 ${MPICC}${as__std}" >&6 ;;
 4529 esac; }
 4530 fi
 4531 
 4532 fi
 4533 
 4534 elif (test -f ${MLIBDIR}/liblam.a || test -f ${MLIBDIR}/liblam.so || \
 4535               test -f ${MLIB64DIR}/liblam.a || test -f ${MLIB64DIR}/liblam.so); then :
 4536   NMPIS=`expr ${NMPIS} + 1`
 4537               FMPI=lam
 4538               { $as_echo "$as_me:${as_lineno-$LINENO}: result: LAM ${MPICC}" >&5
 4539 case "LAM ${MPICC}" in #(
 4540   yes|ok|yes[\ ,]*) :
 4541     $as_echo "${as__grn}LAM ${MPICC}${as__std}" >&6 ;; #(
 4542   no|failed|unsupported|no[\ ,]*) :
 4543     $as_echo "${as__red}LAM ${MPICC}${as__std}" >&6 ;; #(
 4544   *) :
 4545     $as_echo "${as__blu}LAM ${MPICC}${as__std}" >&6 ;;
 4546 esac; }
 4547 elif ( (test -d ${MLIBDIR}/openmpi && ( test -f ${MLIBDIR}/libmpi.a || test -f ${MLIBDIR}/libmpi.so ) ) || \
 4548               (test -d ${MLIB64DIR}/openmpi && ( test -f ${MLIB64DIR}/libmpi.a || test -f ${MLIB64DIR}/libmpi.so ) ) ); then :
 4549   NMPIS=`expr ${NMPIS} + 1`
 4550               if test ! -f ${MBINDIR}/oshcxx; then :
 4551   FMPI=openmpi
 4552                    { $as_echo "$as_me:${as_lineno-$LINENO}: result: Open MPI ${MPICC}" >&5
 4553 case "Open MPI ${MPICC}" in #(
 4554   yes|ok|yes[\ ,]*) :
 4555     $as_echo "${as__grn}Open MPI ${MPICC}${as__std}" >&6 ;; #(
 4556   no|failed|unsupported|no[\ ,]*) :
 4557     $as_echo "${as__red}Open MPI ${MPICC}${as__std}" >&6 ;; #(
 4558   *) :
 4559     $as_echo "${as__blu}Open MPI ${MPICC}${as__std}" >&6 ;;
 4560 esac; }
 4561 else
 4562   FMPI=openmpi3
 4563                    { $as_echo "$as_me:${as_lineno-$LINENO}: result: Open MPI 3 ${MPICC}" >&5
 4564 case "Open MPI 3 ${MPICC}" in #(
 4565   yes|ok|yes[\ ,]*) :
 4566     $as_echo "${as__grn}Open MPI 3 ${MPICC}${as__std}" >&6 ;; #(
 4567   no|failed|unsupported|no[\ ,]*) :
 4568     $as_echo "${as__red}Open MPI 3 ${MPICC}${as__std}" >&6 ;; #(
 4569   *) :
 4570     $as_echo "${as__blu}Open MPI 3 ${MPICC}${as__std}" >&6 ;;
 4571 esac; }
 4572 fi
 4573 
 4574 elif ( (test -d ${MLIBDIR}/bullxmpi && ( test -f ${MLIBDIR}/libmpi.a || test -f ${MLIBDIR}/libmpi.so ) ) || \
 4575               (test -d ${MLIB64DIR}/bullxmpi && ( test -f ${MLIB64DIR}/libmpi.a || test -f ${MLIB64DIR}/libmpi.so ) ) ); then :
 4576   NMPIS=`expr ${NMPIS} + 1`
 4577               FMPI=bullxmpi
 4578               { $as_echo "$as_me:${as_lineno-$LINENO}: result: bullx MPI ${MPICC}" >&5
 4579 case "bullx MPI ${MPICC}" in #(
 4580   yes|ok|yes[\ ,]*) :
 4581     $as_echo "${as__grn}bullx MPI ${MPICC}${as__std}" >&6 ;; #(
 4582   no|failed|unsupported|no[\ ,]*) :
 4583     $as_echo "${as__red}bullx MPI ${MPICC}${as__std}" >&6 ;; #(
 4584   *) :
 4585     $as_echo "${as__blu}bullx MPI ${MPICC}${as__std}" >&6 ;;
 4586 esac; }
 4587 elif ( (test -d ${MLIBDIR}/spectrum_mpi && ( test -f ${MLIBDIR}/libmpi_ibm.a || test -f ${MLIBDIR}/libmpi_ibm.so ) ) || \
 4588               (test -d ${MLIB64DIR}/spectrum_mpi && ( test -f ${MLIB64DIR}/libmpi_ibm.a || test -f ${MLIB64DIR}/libmpi_ibm.so ) ) ); then :
 4589   NMPIS=`expr ${NMPIS} + 1`
 4590               FMPI=spectrum
 4591               { $as_echo "$as_me:${as_lineno-$LINENO}: result: IBM Spectrum MPI ${MPICC}" >&5
 4592 case "IBM Spectrum MPI ${MPICC}" in #(
 4593   yes|ok|yes[\ ,]*) :
 4594     $as_echo "${as__grn}IBM Spectrum MPI ${MPICC}${as__std}" >&6 ;; #(
 4595   no|failed|unsupported|no[\ ,]*) :
 4596     $as_echo "${as__red}IBM Spectrum MPI ${MPICC}${as__std}" >&6 ;; #(
 4597   *) :
 4598     $as_echo "${as__blu}IBM Spectrum MPI ${MPICC}${as__std}" >&6 ;;
 4599 esac; }
 4600 elif (test -f ${MLIBDIR}/linux_ia32/libpcmpi.a || test -f ${MLIBDIR}/linux_ia32/libpcmpi.so || \
 4601               test -f ${MLIBDIR}/linux_amd64/libpcmpi.a || test -f ${MLIBDIR}/linux_amd64/libpcmpi.so); then :
 4602   NMPIS=`expr ${NMPIS} + 1`
 4603               FMPI=platform
 4604               { $as_echo "$as_me:${as_lineno-$LINENO}: result: Platform Computing MPI ${MPICC}" >&5
 4605 case "Platform Computing MPI ${MPICC}" in #(
 4606   yes|ok|yes[\ ,]*) :
 4607     $as_echo "${as__grn}Platform Computing MPI ${MPICC}${as__std}" >&6 ;; #(
 4608   no|failed|unsupported|no[\ ,]*) :
 4609     $as_echo "${as__red}Platform Computing MPI ${MPICC}${as__std}" >&6 ;; #(
 4610   *) :
 4611     $as_echo "${as__blu}Platform Computing MPI ${MPICC}${as__std}" >&6 ;;
 4612 esac; }
 4613 elif (test -f ${MLIBDIR}/linux_ia32/libhpmpi.a || test -f ${MLIBDIR}/linux_ia32/libhpmpi.so || \
 4614               test -f ${MLIBDIR}/linux_amd64/libhpmpi.a || test -f ${MLIBDIR}/linux_amd64/libhpmpi.so || \
 4615               test -f ${MLIBDIR}/linux_ia64/libhpmpi.a || test -f ${MLIBDIR}/linux_ia64/libhpmpi.so); then :
 4616   NMPIS=`expr ${NMPIS} + 1`
 4617               FMPI=hp
 4618               { $as_echo "$as_me:${as_lineno-$LINENO}: result: HP MPI ${MPICC}" >&5
 4619 case "HP MPI ${MPICC}" in #(
 4620   yes|ok|yes[\ ,]*) :
 4621     $as_echo "${as__grn}HP MPI ${MPICC}${as__std}" >&6 ;; #(
 4622   no|failed|unsupported|no[\ ,]*) :
 4623     $as_echo "${as__red}HP MPI ${MPICC}${as__std}" >&6 ;; #(
 4624   *) :
 4625     $as_echo "${as__blu}HP MPI ${MPICC}${as__std}" >&6 ;;
 4626 esac; }
 4627 elif (test -f ${MBINDIR}/mpimon && ( test -f ${MLIBDIR}/libmpi.a || test -f ${MLIBDIR}/libmpi.so || \
 4628               test -f ${MLIB64DIR}/libmpi.a || test -f ${MLIB64DIR}/libmpi.so ) ); then :
 4629   NMPIS=`expr ${NMPIS} + 1`
 4630               FMPI=scali
 4631               { $as_echo "$as_me:${as_lineno-$LINENO}: result: SCALI MPI ${MPICC}" >&5
 4632 case "SCALI MPI ${MPICC}" in #(
 4633   yes|ok|yes[\ ,]*) :
 4634     $as_echo "${as__grn}SCALI MPI ${MPICC}${as__std}" >&6 ;; #(
 4635   no|failed|unsupported|no[\ ,]*) :
 4636     $as_echo "${as__red}SCALI MPI ${MPICC}${as__std}" >&6 ;; #(
 4637   *) :
 4638     $as_echo "${as__blu}SCALI MPI ${MPICC}${as__std}" >&6 ;;
 4639 esac; }
 4640 fi
 4641 
 4642          if test -n "${FMPI}"; then :
 4643   if test -z "${MPIS}"; then :
 4644   MPIS="${FMPI}"
 4645 else
 4646   MPIS="${MPIS}|${FMPI}"
 4647 fi
 4648               MPI="${FMPI}"
 4649               break
 4650 fi
 4651      done
 4652      if test -z "${FMPI}"; then :
 4653   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4654 $as_echo "${as__red}no${as__std}" >&6; }
 4655 fi
 4656 
 4657 else
 4658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4659 $as_echo "${as__red}no${as__std}" >&6; }
 4660 
 4661 fi
 4662 
 4663 
 4664 if test "${NMPIS}" -eq 0; then :
 4665   if test -n "${MPICC}"; then :
 4666   as_fn_error $? "mpicc found but cannot determine MPI library. Select MPI using --with-mpi=bullxmpi|hp|lam|mpibull2|mpich|mpich2|mpich3|openmpi|platform|scali" "$LINENO" 5
 4667 else
 4668   as_fn_error $? "cannot detect MPI library. Make sure mpicc, mpcc or mpiicc is in your PATH and rerun configure. Please specify --without-mpi if you intend to build Scalasca without MPI support." "$LINENO" 5
 4669 fi
 4670 elif test "${NMPIS}" -gt 1; then :
 4671   as_fn_error $? "found ${NMPIS} MPI installations. Select one using --with-mpi=${MPIS}" "$LINENO" 5
 4672 else
 4673   afs_compiler_mpi=${MPI}
 4674      { $as_echo "$as_me:${as_lineno-$LINENO}: info: using '${afs_compiler_mpi}' MPI implementation." >&5
 4675 $as_echo "$as_me: ${as__blu}info: using '${afs_compiler_mpi}' MPI implementation.${as__std}" >&2;}
 4676 
 4677 fi
 4678 
 4679           ac_scorep_compilers_mpi="compiler-mpi-${afs_compiler_mpi}"
 4680 fi
 4681 
 4682 fi
 4683 
 4684 
 4685 if test "x${scorep_mpi_user_disabled}" = xno; then :
 4686   if test "x${ac_scorep_cross_compiling}" = "xyes" || test "x${ac_scorep_platform}" = "xaix"; then :
 4687   ac_scorep_compilers_mpi="platform-mpi-${ac_scorep_platform}"
 4688 fi
 4689 fi
 4690 
 4691 if test -f "$srcdir/build-config/platforms/${ac_scorep_compilers_mpi}"; then :
 4692   ac_scorep_compilers_mpi="$srcdir/build-config/platforms/${ac_scorep_compilers_mpi}"
 4693 else
 4694   ac_scorep_compilers_mpi="$srcdir/build-config/common/platforms/${ac_scorep_compilers_mpi}"
 4695 fi
 4696 # sanity checks missing
 4697 
 4698 
 4699 fi
 4700        # Determine arguments for subdir configures
 4701        args="`$AWK -f $srcdir/build-config/common/process_arguments.awk \
 4702               $ac_scorep_compilers_mpi                                         \
 4703               $ac_scorep_compilers_frontend                                    \
 4704               $ac_scorep_compilers_backend                                     \
 4705               user_provided_configure_args`"
 4706 
 4707 else
 4708   { $as_echo "$as_me:${as_lineno-$LINENO}: info: platform data provided by toplevel configure." >&5
 4709 $as_echo "$as_me: ${as__blu}info: platform data provided by toplevel configure.${as__std}" >&2;}
 4710 
 4711 afs_fn_summary "Platform" "$ac_scorep_platform (provided)" "  "  >>config.summary
 4712        # Determine arguments for subdir configures
 4713        args="`$AWK -f $srcdir/build-config/common/process_arguments.awk \
 4714               user_provided_configure_args`"
 4715 
 4716 fi
 4717 
 4718 ## Check for cross-compilation
 4719  if test "x${ac_scorep_cross_compiling}" = "xyes"; then
 4720   CROSS_BUILD_TRUE=
 4721   CROSS_BUILD_FALSE='#'
 4722 else
 4723   CROSS_BUILD_TRUE='#'
 4724   CROSS_BUILD_FALSE=
 4725 fi
 4726 
 4727 
 4728 ## Checks for platform specifics
 4729 
 4730     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for native Intel MIC build" >&5
 4731 $as_echo_n "checking for native Intel MIC build... " >&6; }
 4732     scalasca_have_mic_support=no
 4733     if test -z "$PLATFORM_MIC_TRUE"; then :
 4734   else
 4735   _lcl_receval="${bindir}"
 4736 BINDIR=`(test "x$prefix" = xNONE && prefix="$ac_default_prefix"
 4737      test "x$exec_prefix" = xNONE && exec_prefix="${prefix}"
 4738      _lcl_receval_old=''
 4739      while test "$_lcl_receval_old" != "$_lcl_receval"; do
 4740        _lcl_receval_old="$_lcl_receval"
 4741        eval _lcl_receval="\"$_lcl_receval\""
 4742      done
 4743      echo "$_lcl_receval")`
 4744          if as_fn_executable_p ${BINDIR}/mic/scout.ser; then :
 4745   scalasca_have_mic_support=yes
 4746 
 4747 $as_echo "#define HAVE_MIC_SUPPORT 1" >>confdefs.h
 4748 
 4749 fi
 4750 
 4751 afs_fn_summary "MIC target support" "${scalasca_have_mic_support}" "  "  >>config.summary
 4752 fi
 4753      if test "x${scalasca_have_mic_support}" = "xyes"; then
 4754   MIC_SUPPORT_TRUE=
 4755   MIC_SUPPORT_FALSE='#'
 4756 else
 4757   MIC_SUPPORT_TRUE='#'
 4758   MIC_SUPPORT_FALSE=
 4759 fi
 4760 
 4761     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${scalasca_have_mic_support}" >&5
 4762 case "${scalasca_have_mic_support}" in #(
 4763   yes|ok|yes[\ ,]*) :
 4764     $as_echo "${as__grn}${scalasca_have_mic_support}${as__std}" >&6 ;; #(
 4765   no|failed|unsupported|no[\ ,]*) :
 4766     $as_echo "${as__red}${scalasca_have_mic_support}${as__std}" >&6 ;; #(
 4767   *) :
 4768     $as_echo "${as__blu}${scalasca_have_mic_support}${as__std}" >&6 ;;
 4769 esac; }
 4770 
 4771  if test "x${ac_scorep_platform}" = "xmic" || \
 4772      test "x${scalasca_have_mic_support}" = "xyes"; then
 4773   BUILD_MIC_WRAPPER_TRUE=
 4774   BUILD_MIC_WRAPPER_FALSE='#'
 4775 else
 4776   BUILD_MIC_WRAPPER_TRUE='#'
 4777   BUILD_MIC_WRAPPER_FALSE=
 4778 fi
 4779 
 4780 
 4781 ## Check for programs
 4782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 4783 $as_echo_n "checking whether ln -s works... " >&6; }
 4784 LN_S=$as_ln_s
 4785 if test "$LN_S" = "ln -s"; then
 4786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 4787 $as_echo "${as__grn}yes${as__std}" >&6; }
 4788 else
 4789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
 4790 $as_echo "${as__red}no, using $LN_S${as__std}" >&6; }
 4791 fi
 4792 
 4793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 4794 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
 4795 if ${ac_cv_path_SED+:} false; then :
 4796   $as_echo_n "(cached) " >&6
 4797 else
 4798             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 4799      for ac_i in 1 2 3 4 5 6 7; do
 4800        ac_script="$ac_script$as_nl$ac_script"
 4801      done
 4802      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 4803      { ac_script=; unset ac_script;}
 4804      if test -z "$SED"; then
 4805   ac_path_SED_found=false
 4806   # Loop through the user's path and test for each of PROGNAME-LIST
 4807   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4808 for as_dir in $PATH
 4809 do
 4810   IFS=$as_save_IFS
 4811   test -z "$as_dir" && as_dir=.
 4812     for ac_prog in sed gsed; do
 4813     for ac_exec_ext in '' $ac_executable_extensions; do
 4814       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 4815       as_fn_executable_p "$ac_path_SED" || continue
 4816 # Check for GNU ac_path_SED and select it if it is found.
 4817   # Check for GNU $ac_path_SED
 4818 case `"$ac_path_SED" --version 2>&1` in
 4819 *GNU*)
 4820   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 4821 *)
 4822   ac_count=0
 4823   $as_echo_n 0123456789 >"conftest.in"
 4824   while :
 4825   do
 4826     cat "conftest.in" "conftest.in" >"conftest.tmp"
 4827     mv "conftest.tmp" "conftest.in"
 4828     cp "conftest.in" "conftest.nl"
 4829     $as_echo '' >> "conftest.nl"
 4830     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 4831     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 4832     as_fn_arith $ac_count + 1 && ac_count=$as_val
 4833     if test $ac_count -gt ${ac_path_SED_max-0}; then
 4834       # Best one so far, save it but keep looking for a better one
 4835       ac_cv_path_SED="$ac_path_SED"
 4836       ac_path_SED_max=$ac_count
 4837     fi
 4838     # 10*(2^10) chars as input seems more than enough
 4839     test $ac_count -gt 10 && break
 4840   done
 4841   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 4842 esac
 4843 
 4844       $ac_path_SED_found && break 3
 4845     done
 4846   done
 4847   done
 4848 IFS=$as_save_IFS
 4849   if test -z "$ac_cv_path_SED"; then
 4850     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
 4851   fi
 4852 else
 4853   ac_cv_path_SED=$SED
 4854 fi
 4855 
 4856 fi
 4857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
 4858 case "$ac_cv_path_SED" in #(
 4859   yes|ok|yes[\ ,]*) :
 4860     $as_echo "${as__grn}$ac_cv_path_SED${as__std}" >&6 ;; #(
 4861   no|failed|unsupported|no[\ ,]*) :
 4862     $as_echo "${as__red}$ac_cv_path_SED${as__std}" >&6 ;; #(
 4863   *) :
 4864     $as_echo "${as__blu}$ac_cv_path_SED${as__std}" >&6 ;;
 4865 esac; }
 4866  SED="$ac_cv_path_SED"
 4867   rm -f conftest.sed
 4868 
 4869 
 4870 #if test -z "$have_svnversion"; then
 4871 #  AC_CHECK_PROG([have_svnversion], [svnversion], [yes], [no],,)
 4872 #fi
 4873 # Extract the first word of "doxygen", so it can be a program name with args.
 4874 set dummy doxygen; ac_word=$2
 4875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4876 $as_echo_n "checking for $ac_word... " >&6; }
 4877 if ${ac_cv_path_DOXYGEN+:} false; then :
 4878   $as_echo_n "(cached) " >&6
 4879 else
 4880   case $DOXYGEN in
 4881   [\\/]* | ?:[\\/]*)
 4882   ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
 4883   ;;
 4884   *)
 4885   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4886 for as_dir in $PATH
 4887 do
 4888   IFS=$as_save_IFS
 4889   test -z "$as_dir" && as_dir=.
 4890     for ac_exec_ext in '' $ac_executable_extensions; do
 4891   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 4892     ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
 4893     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4894     break 2
 4895   fi
 4896 done
 4897   done
 4898 IFS=$as_save_IFS
 4899 
 4900   ;;
 4901 esac
 4902 fi
 4903 DOXYGEN=$ac_cv_path_DOXYGEN
 4904 if test -n "$DOXYGEN"; then
 4905   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
 4906 case "$DOXYGEN" in #(
 4907   yes|ok|yes[\ ,]*) :
 4908     $as_echo "${as__grn}$DOXYGEN${as__std}" >&6 ;; #(
 4909   no|failed|unsupported|no[\ ,]*) :
 4910     $as_echo "${as__red}$DOXYGEN${as__std}" >&6 ;; #(
 4911   *) :
 4912     $as_echo "${as__blu}$DOXYGEN${as__std}" >&6 ;;
 4913 esac; }
 4914 else
 4915   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4916 $as_echo "${as__red}no${as__std}" >&6; }
 4917 fi
 4918 
 4919 
 4920  if test "x${DOXYGEN}" != "x"; then
 4921   HAVE_DOXYGEN_TRUE=
 4922   HAVE_DOXYGEN_FALSE='#'
 4923 else
 4924   HAVE_DOXYGEN_TRUE='#'
 4925   HAVE_DOXYGEN_FALSE=
 4926 fi
 4927 
 4928 
 4929 have_doxygen_latex="no"
 4930 if test -z "$HAVE_DOXYGEN_TRUE"; then :
 4931 
 4932    # Extract the first word of "dot", so it can be a program name with args.
 4933 set dummy dot; ac_word=$2
 4934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4935 $as_echo_n "checking for $ac_word... " >&6; }
 4936 if ${ac_cv_prog_have_dot+:} false; then :
 4937   $as_echo_n "(cached) " >&6
 4938 else
 4939   if test -n "$have_dot"; then
 4940   ac_cv_prog_have_dot="$have_dot" # Let the user override the test.
 4941 else
 4942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4943 for as_dir in $PATH
 4944 do
 4945   IFS=$as_save_IFS
 4946   test -z "$as_dir" && as_dir=.
 4947     for ac_exec_ext in '' $ac_executable_extensions; do
 4948   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 4949     ac_cv_prog_have_dot="yes"
 4950     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4951     break 2
 4952   fi
 4953 done
 4954   done
 4955 IFS=$as_save_IFS
 4956 
 4957   test -z "$ac_cv_prog_have_dot" && ac_cv_prog_have_dot="no"
 4958 fi
 4959 fi
 4960 have_dot=$ac_cv_prog_have_dot
 4961 if test -n "$have_dot"; then
 4962   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_dot" >&5
 4963 case "$have_dot" in #(
 4964   yes|ok|yes[\ ,]*) :
 4965     $as_echo "${as__grn}$have_dot${as__std}" >&6 ;; #(
 4966   no|failed|unsupported|no[\ ,]*) :
 4967     $as_echo "${as__red}$have_dot${as__std}" >&6 ;; #(
 4968   *) :
 4969     $as_echo "${as__blu}$have_dot${as__std}" >&6 ;;
 4970 esac; }
 4971 else
 4972   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4973 $as_echo "${as__red}no${as__std}" >&6; }
 4974 fi
 4975 
 4976 
 4977    # Extract the first word of "pdflatex", so it can be a program name with args.
 4978 set dummy pdflatex; ac_word=$2
 4979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4980 $as_echo_n "checking for $ac_word... " >&6; }
 4981 if ${ac_cv_prog_have_pdflatex+:} false; then :
 4982   $as_echo_n "(cached) " >&6
 4983 else
 4984   if test -n "$have_pdflatex"; then
 4985   ac_cv_prog_have_pdflatex="$have_pdflatex" # Let the user override the test.
 4986 else
 4987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4988 for as_dir in $PATH
 4989 do
 4990   IFS=$as_save_IFS
 4991   test -z "$as_dir" && as_dir=.
 4992     for ac_exec_ext in '' $ac_executable_extensions; do
 4993   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 4994     ac_cv_prog_have_pdflatex="yes"
 4995     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4996     break 2
 4997   fi
 4998 done
 4999   done
 5000 IFS=$as_save_IFS
 5001 
 5002   test -z "$ac_cv_prog_have_pdflatex" && ac_cv_prog_have_pdflatex="no"
 5003 fi
 5004 fi
 5005 have_pdflatex=$ac_cv_prog_have_pdflatex
 5006 if test -n "$have_pdflatex"; then
 5007   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_pdflatex" >&5
 5008 case "$have_pdflatex" in #(
 5009   yes|ok|yes[\ ,]*) :
 5010     $as_echo "${as__grn}$have_pdflatex${as__std}" >&6 ;; #(
 5011   no|failed|unsupported|no[\ ,]*) :
 5012     $as_echo "${as__red}$have_pdflatex${as__std}" >&6 ;; #(
 5013   *) :
 5014     $as_echo "${as__blu}$have_pdflatex${as__std}" >&6 ;;
 5015 esac; }
 5016 else
 5017   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5018 $as_echo "${as__red}no${as__std}" >&6; }
 5019 fi
 5020 
 5021 
 5022    # Extract the first word of "makeindex", so it can be a program name with args.
 5023 set dummy makeindex; ac_word=$2
 5024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5025 $as_echo_n "checking for $ac_word... " >&6; }
 5026 if ${ac_cv_prog_have_makeindex+:} false; then :
 5027   $as_echo_n "(cached) " >&6
 5028 else
 5029   if test -n "$have_makeindex"; then
 5030   ac_cv_prog_have_makeindex="$have_makeindex" # Let the user override the test.
 5031 else
 5032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5033 for as_dir in $PATH
 5034 do
 5035   IFS=$as_save_IFS
 5036   test -z "$as_dir" && as_dir=.
 5037     for ac_exec_ext in '' $ac_executable_extensions; do
 5038   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5039     ac_cv_prog_have_makeindex="yes"
 5040     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5041     break 2
 5042   fi
 5043 done
 5044   done
 5045 IFS=$as_save_IFS
 5046 
 5047   test -z "$ac_cv_prog_have_makeindex" && ac_cv_prog_have_makeindex="no"
 5048 fi
 5049 fi
 5050 have_makeindex=$ac_cv_prog_have_makeindex
 5051 if test -n "$have_makeindex"; then
 5052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_makeindex" >&5
 5053 case "$have_makeindex" in #(
 5054   yes|ok|yes[\ ,]*) :
 5055     $as_echo "${as__grn}$have_makeindex${as__std}" >&6 ;; #(
 5056   no|failed|unsupported|no[\ ,]*) :
 5057     $as_echo "${as__red}$have_makeindex${as__std}" >&6 ;; #(
 5058   *) :
 5059     $as_echo "${as__blu}