Blame configure

Packit db064d
#! /bin/sh
Packit db064d
# Guess values for system-dependent variables and create Makefiles.
Packit db064d
# Generated by GNU Autoconf 2.69 for infiniband-diags 2.2.0.
Packit db064d
#
Packit db064d
# Report bugs to <linux-rdma@vger.kernel.org>.
Packit db064d
#
Packit db064d
#
Packit db064d
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
Packit db064d
#
Packit db064d
#
Packit db064d
# This configure script is free software; the Free Software Foundation
Packit db064d
# gives unlimited permission to copy, distribute and modify it.
Packit db064d
## -------------------- ##
Packit db064d
## M4sh Initialization. ##
Packit db064d
## -------------------- ##
Packit db064d
Packit db064d
# Be more Bourne compatible
Packit db064d
DUALCASE=1; export DUALCASE # for MKS sh
Packit db064d
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
Packit db064d
  emulate sh
Packit db064d
  NULLCMD=:
Packit db064d
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
Packit db064d
  # is contrary to our usage.  Disable this feature.
Packit db064d
  alias -g '${1+"$@"}'='"$@"'
Packit db064d
  setopt NO_GLOB_SUBST
Packit db064d
else
Packit db064d
  case `(set -o) 2>/dev/null` in #(
Packit db064d
  *posix*) :
Packit db064d
    set -o posix ;; #(
Packit db064d
  *) :
Packit db064d
     ;;
Packit db064d
esac
Packit db064d
fi
Packit db064d
Packit db064d
Packit db064d
as_nl='
Packit db064d
'
Packit db064d
export as_nl
Packit db064d
# Printing a long string crashes Solaris 7 /usr/bin/printf.
Packit db064d
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
Packit db064d
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
Packit db064d
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
Packit db064d
# Prefer a ksh shell builtin over an external printf program on Solaris,
Packit db064d
# but without wasting forks for bash or zsh.
Packit db064d
if test -z "$BASH_VERSION$ZSH_VERSION" \
Packit db064d
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
Packit db064d
  as_echo='print -r --'
Packit db064d
  as_echo_n='print -rn --'
Packit db064d
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
Packit db064d
  as_echo='printf %s\n'
Packit db064d
  as_echo_n='printf %s'
Packit db064d
else
Packit db064d
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
Packit db064d
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
Packit db064d
    as_echo_n='/usr/ucb/echo -n'
Packit db064d
  else
Packit db064d
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
Packit db064d
    as_echo_n_body='eval
Packit db064d
      arg=$1;
Packit db064d
      case $arg in #(
Packit db064d
      *"$as_nl"*)
Packit db064d
	expr "X$arg" : "X\\(.*\\)$as_nl";
Packit db064d
	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
Packit db064d
      esac;
Packit db064d
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
Packit db064d
    '
Packit db064d
    export as_echo_n_body
Packit db064d
    as_echo_n='sh -c $as_echo_n_body as_echo'
Packit db064d
  fi
Packit db064d
  export as_echo_body
Packit db064d
  as_echo='sh -c $as_echo_body as_echo'
Packit db064d
fi
Packit db064d
Packit db064d
# The user is always right.
Packit db064d
if test "${PATH_SEPARATOR+set}" != set; then
Packit db064d
  PATH_SEPARATOR=:
Packit db064d
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
Packit db064d
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
Packit db064d
      PATH_SEPARATOR=';'
Packit db064d
  }
Packit db064d
fi
Packit db064d
Packit db064d
Packit db064d
# IFS
Packit db064d
# We need space, tab and new line, in precisely that order.  Quoting is
Packit db064d
# there to prevent editors from complaining about space-tab.
Packit db064d
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
Packit db064d
# splitting by setting IFS to empty value.)
Packit db064d
IFS=" ""	$as_nl"
Packit db064d
Packit db064d
# Find who we are.  Look in the path if we contain no directory separator.
Packit db064d
as_myself=
Packit db064d
case $0 in #((
Packit db064d
  *[\\/]* ) as_myself=$0 ;;
Packit db064d
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
Packit db064d
for as_dir in $PATH
Packit db064d
do
Packit db064d
  IFS=$as_save_IFS
Packit db064d
  test -z "$as_dir" && as_dir=.
Packit db064d
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
Packit db064d
  done
Packit db064d
IFS=$as_save_IFS
Packit db064d
Packit db064d
     ;;
Packit db064d
esac
Packit db064d
# We did not find ourselves, most probably we were run as `sh COMMAND'
Packit db064d
# in which case we are not to be found in the path.
Packit db064d
if test "x$as_myself" = x; then
Packit db064d
  as_myself=$0
Packit db064d
fi
Packit db064d
if test ! -f "$as_myself"; then
Packit db064d
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
Packit db064d
  exit 1
Packit db064d
fi
Packit db064d
Packit db064d
# Unset variables that we do not need and which cause bugs (e.g. in
Packit db064d
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
Packit db064d
# suppresses any "Segmentation fault" message there.  '((' could
Packit db064d
# trigger a bug in pdksh 5.2.14.
Packit db064d
for as_var in BASH_ENV ENV MAIL MAILPATH
Packit db064d
do eval test x\${$as_var+set} = xset \
Packit db064d
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
Packit db064d
done
Packit db064d
PS1='$ '
Packit db064d
PS2='> '
Packit db064d
PS4='+ '
Packit db064d
Packit db064d
# NLS nuisances.
Packit db064d
LC_ALL=C
Packit db064d
export LC_ALL
Packit db064d
LANGUAGE=C
Packit db064d
export LANGUAGE
Packit db064d
Packit db064d
# CDPATH.
Packit db064d
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
Packit db064d
Packit db064d
# Use a proper internal environment variable to ensure we don't fall
Packit db064d
  # into an infinite loop, continuously re-executing ourselves.
Packit db064d
  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
Packit db064d
    _as_can_reexec=no; export _as_can_reexec;
Packit db064d
    # We cannot yet assume a decent shell, so we have to provide a
Packit db064d
# neutralization value for shells without unset; and this also
Packit db064d
# works around shells that cannot unset nonexistent variables.
Packit db064d
# Preserve -v and -x to the replacement shell.
Packit db064d
BASH_ENV=/dev/null
Packit db064d
ENV=/dev/null
Packit db064d
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
Packit db064d
case $- in # ((((
Packit db064d
  *v*x* | *x*v* ) as_opts=-vx ;;
Packit db064d
  *v* ) as_opts=-v ;;
Packit db064d
  *x* ) as_opts=-x ;;
Packit db064d
  * ) as_opts= ;;
Packit db064d
esac
Packit db064d
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
Packit db064d
# Admittedly, this is quite paranoid, since all the known shells bail
Packit db064d
# out after a failed `exec'.
Packit db064d
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
Packit db064d
as_fn_exit 255
Packit db064d
  fi
Packit db064d
  # We don't want this to propagate to other subprocesses.
Packit db064d
          { _as_can_reexec=; unset _as_can_reexec;}
Packit db064d
if test "x$CONFIG_SHELL" = x; then
Packit db064d
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
Packit db064d
  emulate sh
Packit db064d
  NULLCMD=:
Packit db064d
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
Packit db064d
  # is contrary to our usage.  Disable this feature.
Packit db064d
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
Packit db064d
  setopt NO_GLOB_SUBST
Packit db064d
else
Packit db064d
  case \`(set -o) 2>/dev/null\` in #(
Packit db064d
  *posix*) :
Packit db064d
    set -o posix ;; #(
Packit db064d
  *) :
Packit db064d
     ;;
Packit db064d
esac
Packit db064d
fi
Packit db064d
"
Packit db064d
  as_required="as_fn_return () { (exit \$1); }
Packit db064d
as_fn_success () { as_fn_return 0; }
Packit db064d
as_fn_failure () { as_fn_return 1; }
Packit db064d
as_fn_ret_success () { return 0; }
Packit db064d
as_fn_ret_failure () { return 1; }
Packit db064d
Packit db064d
exitcode=0
Packit db064d
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
Packit db064d
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
Packit db064d
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
Packit db064d
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
Packit db064d
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
Packit db064d
Packit db064d
else
Packit db064d
  exitcode=1; echo positional parameters were not saved.
Packit db064d
fi
Packit db064d
test x\$exitcode = x0 || exit 1
Packit db064d
test -x / || exit 1"
Packit db064d
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
Packit db064d
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
Packit db064d
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
Packit db064d
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
Packit db064d
Packit db064d
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
Packit db064d
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
Packit db064d
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
Packit db064d
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
Packit db064d
    PATH=/empty FPATH=/empty; export PATH FPATH
Packit db064d
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
Packit db064d
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
Packit db064d
test \$(( 1 + 1 )) = 2 || exit 1"
Packit db064d
  if (eval "$as_required") 2>/dev/null; then :
Packit db064d
  as_have_required=yes
Packit db064d
else
Packit db064d
  as_have_required=no
Packit db064d
fi
Packit db064d
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
Packit db064d
Packit db064d
else
Packit db064d
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
Packit db064d
as_found=false
Packit db064d
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
Packit db064d
do
Packit db064d
  IFS=$as_save_IFS
Packit db064d
  test -z "$as_dir" && as_dir=.
Packit db064d
  as_found=:
Packit db064d
  case $as_dir in #(
Packit db064d
	 /*)
Packit db064d
	   for as_base in sh bash ksh sh5; do
Packit db064d
	     # Try only shells that exist, to save several forks.
Packit db064d
	     as_shell=$as_dir/$as_base
Packit db064d
	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
Packit db064d
		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
Packit db064d
  CONFIG_SHELL=$as_shell as_have_required=yes
Packit db064d
		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
Packit db064d
  break 2
Packit db064d
fi
Packit db064d
fi
Packit db064d
	   done;;
Packit db064d
       esac
Packit db064d
  as_found=false
Packit db064d
done
Packit db064d
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
Packit db064d
	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
Packit db064d
  CONFIG_SHELL=$SHELL as_have_required=yes
Packit db064d
fi; }
Packit db064d
IFS=$as_save_IFS
Packit db064d
Packit db064d
Packit db064d
      if test "x$CONFIG_SHELL" != x; then :
Packit db064d
  export CONFIG_SHELL
Packit db064d
             # We cannot yet assume a decent shell, so we have to provide a
Packit db064d
# neutralization value for shells without unset; and this also
Packit db064d
# works around shells that cannot unset nonexistent variables.
Packit db064d
# Preserve -v and -x to the replacement shell.
Packit db064d
BASH_ENV=/dev/null
Packit db064d
ENV=/dev/null
Packit db064d
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
Packit db064d
case $- in # ((((
Packit db064d
  *v*x* | *x*v* ) as_opts=-vx ;;
Packit db064d
  *v* ) as_opts=-v ;;
Packit db064d
  *x* ) as_opts=-x ;;
Packit db064d
  * ) as_opts= ;;
Packit db064d
esac
Packit db064d
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
Packit db064d
# Admittedly, this is quite paranoid, since all the known shells bail
Packit db064d
# out after a failed `exec'.
Packit db064d
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
Packit db064d
exit 255
Packit db064d
fi
Packit db064d
Packit db064d
    if test x$as_have_required = xno; then :
Packit db064d
  $as_echo "$0: This script requires a shell more modern than all"
Packit db064d
  $as_echo "$0: the shells that I found on your system."
Packit db064d
  if test x${ZSH_VERSION+set} = xset ; then
Packit db064d
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
Packit db064d
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
Packit db064d
  else
Packit db064d
    $as_echo "$0: Please tell bug-autoconf@gnu.org and
Packit db064d
$0: linux-rdma@vger.kernel.org about your system, including
Packit db064d
$0: any error possibly output before this message. Then
Packit db064d
$0: install a modern shell, or manually run the script
Packit db064d
$0: under such a shell if you do have one."
Packit db064d
  fi
Packit db064d
  exit 1
Packit db064d
fi
Packit db064d
fi
Packit db064d
fi
Packit db064d
SHELL=${CONFIG_SHELL-/bin/sh}
Packit db064d
export SHELL
Packit db064d
# Unset more variables known to interfere with behavior of common tools.
Packit db064d
CLICOLOR_FORCE= GREP_OPTIONS=
Packit db064d
unset CLICOLOR_FORCE GREP_OPTIONS
Packit db064d
Packit db064d
## --------------------- ##
Packit db064d
## M4sh Shell Functions. ##
Packit db064d
## --------------------- ##
Packit db064d
# as_fn_unset VAR
Packit db064d
# ---------------
Packit db064d
# Portably unset VAR.
Packit db064d
as_fn_unset ()
Packit db064d
{
Packit db064d
  { eval $1=; unset $1;}
Packit db064d
}
Packit db064d
as_unset=as_fn_unset
Packit db064d
Packit db064d
# as_fn_set_status STATUS
Packit db064d
# -----------------------
Packit db064d
# Set $? to STATUS, without forking.
Packit db064d
as_fn_set_status ()
Packit db064d
{
Packit db064d
  return $1
Packit db064d
} # as_fn_set_status
Packit db064d
Packit db064d
# as_fn_exit STATUS
Packit db064d
# -----------------
Packit db064d
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
Packit db064d
as_fn_exit ()
Packit db064d
{
Packit db064d
  set +e
Packit db064d
  as_fn_set_status $1
Packit db064d
  exit $1
Packit db064d
} # as_fn_exit
Packit db064d
Packit db064d
# as_fn_mkdir_p
Packit db064d
# -------------
Packit db064d
# Create "$as_dir" as a directory, including parents if necessary.
Packit db064d
as_fn_mkdir_p ()
Packit db064d
{
Packit db064d
Packit db064d
  case $as_dir in #(
Packit db064d
  -*) as_dir=./$as_dir;;
Packit db064d
  esac
Packit db064d
  test -d "$as_dir" || eval $as_mkdir_p || {
Packit db064d
    as_dirs=
Packit db064d
    while :; do
Packit db064d
      case $as_dir in #(
Packit db064d
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
Packit db064d
      *) as_qdir=$as_dir;;
Packit db064d
      esac
Packit db064d
      as_dirs="'$as_qdir' $as_dirs"
Packit db064d
      as_dir=`$as_dirname -- "$as_dir" ||
Packit db064d
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
Packit db064d
	 X"$as_dir" : 'X\(//\)[^/]' \| \
Packit db064d
	 X"$as_dir" : 'X\(//\)$' \| \
Packit db064d
	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
Packit db064d
$as_echo X"$as_dir" |
Packit db064d
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
Packit db064d
	    s//\1/
Packit db064d
	    q
Packit db064d
	  }
Packit db064d
	  /^X\(\/\/\)[^/].*/{
Packit db064d
	    s//\1/
Packit db064d
	    q
Packit db064d
	  }
Packit db064d
	  /^X\(\/\/\)$/{
Packit db064d
	    s//\1/
Packit db064d
	    q
Packit db064d
	  }
Packit db064d
	  /^X\(\/\).*/{
Packit db064d
	    s//\1/
Packit db064d
	    q
Packit db064d
	  }
Packit db064d
	  s/.*/./; q'`
Packit db064d
      test -d "$as_dir" && break
Packit db064d
    done
Packit db064d
    test -z "$as_dirs" || eval "mkdir $as_dirs"
Packit db064d
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
Packit db064d
Packit db064d
Packit db064d
} # as_fn_mkdir_p
Packit db064d
Packit db064d
# as_fn_executable_p FILE
Packit db064d
# -----------------------
Packit db064d
# Test if FILE is an executable regular file.
Packit db064d
as_fn_executable_p ()
Packit db064d
{
Packit db064d
  test -f "$1" && test -x "$1"
Packit db064d
} # as_fn_executable_p
Packit db064d
# as_fn_append VAR VALUE
Packit db064d
# ----------------------
Packit db064d
# Append the text in VALUE to the end of the definition contained in VAR. Take
Packit db064d
# advantage of any shell optimizations that allow amortized linear growth over
Packit db064d
# repeated appends, instead of the typical quadratic growth present in naive
Packit db064d
# implementations.
Packit db064d
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
Packit db064d
  eval 'as_fn_append ()
Packit db064d
  {
Packit db064d
    eval $1+=\$2
Packit db064d
  }'
Packit db064d
else
Packit db064d
  as_fn_append ()
Packit db064d
  {
Packit db064d
    eval $1=\$$1\$2
Packit db064d
  }
Packit db064d
fi # as_fn_append
Packit db064d
Packit db064d
# as_fn_arith ARG...
Packit db064d
# ------------------
Packit db064d
# Perform arithmetic evaluation on the ARGs, and store the result in the
Packit db064d
# global $as_val. Take advantage of shells that can avoid forks. The arguments
Packit db064d
# must be portable across $(()) and expr.
Packit db064d
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
Packit db064d
  eval 'as_fn_arith ()
Packit db064d
  {
Packit db064d
    as_val=$(( $* ))
Packit db064d
  }'
Packit db064d
else
Packit db064d
  as_fn_arith ()
Packit db064d
  {
Packit db064d
    as_val=`expr "$@" || test $? -eq 1`
Packit db064d
  }
Packit db064d
fi # as_fn_arith
Packit db064d
Packit db064d
Packit db064d
# as_fn_error STATUS ERROR [LINENO LOG_FD]
Packit db064d
# ----------------------------------------
Packit db064d
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
Packit db064d
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
Packit db064d
# script with STATUS, using 1 if that was 0.
Packit db064d
as_fn_error ()
Packit db064d
{
Packit db064d
  as_status=$1; test $as_status -eq 0 && as_status=1
Packit db064d
  if test "$4"; then
Packit db064d
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
Packit db064d
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
Packit db064d
  fi
Packit db064d
  $as_echo "$as_me: error: $2" >&2
Packit db064d
  as_fn_exit $as_status
Packit db064d
} # as_fn_error
Packit db064d
Packit db064d
if expr a : '\(a\)' >/dev/null 2>&1 &&
Packit db064d
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
Packit db064d
  as_expr=expr
Packit db064d
else
Packit db064d
  as_expr=false
Packit db064d
fi
Packit db064d
Packit db064d
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
Packit db064d
  as_basename=basename
Packit db064d
else
Packit db064d
  as_basename=false
Packit db064d
fi
Packit db064d
Packit db064d
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
Packit db064d
  as_dirname=dirname
Packit db064d
else
Packit db064d
  as_dirname=false
Packit db064d
fi
Packit db064d
Packit db064d
as_me=`$as_basename -- "$0" ||
Packit db064d
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
Packit db064d
	 X"$0" : 'X\(//\)$' \| \
Packit db064d
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
Packit db064d
$as_echo X/"$0" |
Packit db064d
    sed '/^.*\/\([^/][^/]*\)\/*$/{
Packit db064d
	    s//\1/
Packit db064d
	    q
Packit db064d
	  }
Packit db064d
	  /^X\/\(\/\/\)$/{
Packit db064d
	    s//\1/
Packit db064d
	    q
Packit db064d
	  }
Packit db064d
	  /^X\/\(\/\).*/{
Packit db064d
	    s//\1/
Packit db064d
	    q
Packit db064d
	  }
Packit db064d
	  s/.*/./; q'`
Packit db064d
Packit db064d
# Avoid depending upon Character Ranges.
Packit db064d
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
Packit db064d
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
Packit db064d
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
Packit db064d
as_cr_digits='0123456789'
Packit db064d
as_cr_alnum=$as_cr_Letters$as_cr_digits
Packit db064d
Packit db064d
Packit db064d
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
Packit db064d
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
Packit db064d
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
Packit db064d
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
Packit db064d
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
Packit db064d
  sed -n '
Packit db064d
    p
Packit db064d
    /[$]LINENO/=
Packit db064d
  ' <$as_myself |
Packit db064d
    sed '
Packit db064d
      s/[$]LINENO.*/&-/
Packit db064d
      t lineno
Packit db064d
      b
Packit db064d
      :lineno
Packit db064d
      N
Packit db064d
      :loop
Packit db064d
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
Packit db064d
      t loop
Packit db064d
      s/-\n.*//
Packit db064d
    ' >$as_me.lineno &&
Packit db064d
  chmod +x "$as_me.lineno" ||
Packit db064d
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
Packit db064d
Packit db064d
  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
Packit db064d
  # already done that, so ensure we don't try to do so again and fall
Packit db064d
  # in an infinite loop.  This has already happened in practice.
Packit db064d
  _as_can_reexec=no; export _as_can_reexec
Packit db064d
  # Don't try to exec as it changes $[0], causing all sort of problems
Packit db064d
  # (the dirname of $[0] is not the place where we might find the
Packit db064d
  # original and so on.  Autoconf is especially sensitive to this).
Packit db064d
  . "./$as_me.lineno"
Packit db064d
  # Exit status is that of the last command.
Packit db064d
  exit
Packit db064d
}
Packit db064d
Packit db064d
ECHO_C= ECHO_N= ECHO_T=
Packit db064d
case `echo -n x` in #(((((
Packit db064d
-n*)
Packit db064d
  case `echo 'xy\c'` in
Packit db064d
  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
Packit db064d
  xy)  ECHO_C='\c';;
Packit db064d
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
Packit db064d
       ECHO_T='	';;
Packit db064d
  esac;;
Packit db064d
*)
Packit db064d
  ECHO_N='-n';;
Packit db064d
esac
Packit db064d
Packit db064d
rm -f conf$$ conf$$.exe conf$$.file
Packit db064d
if test -d conf$$.dir; then
Packit db064d
  rm -f conf$$.dir/conf$$.file
Packit db064d
else
Packit db064d
  rm -f conf$$.dir
Packit db064d
  mkdir conf$$.dir 2>/dev/null
Packit db064d
fi
Packit db064d
if (echo >conf$$.file) 2>/dev/null; then
Packit db064d
  if ln -s conf$$.file conf$$ 2>/dev/null; then
Packit db064d
    as_ln_s='ln -s'
Packit db064d
    # ... but there are two gotchas:
Packit db064d
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
Packit db064d
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
Packit db064d
    # In both cases, we have to default to `cp -pR'.
Packit db064d
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
Packit db064d
      as_ln_s='cp -pR'
Packit db064d
  elif ln conf$$.file conf$$ 2>/dev/null; then
Packit db064d
    as_ln_s=ln
Packit db064d
  else
Packit db064d
    as_ln_s='cp -pR'
Packit db064d
  fi
Packit db064d
else
Packit db064d
  as_ln_s='cp -pR'
Packit db064d
fi
Packit db064d
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
Packit db064d
rmdir conf$$.dir 2>/dev/null
Packit db064d
Packit db064d
if mkdir -p . 2>/dev/null; then
Packit db064d
  as_mkdir_p='mkdir -p "$as_dir"'
Packit db064d
else
Packit db064d
  test -d ./-p && rmdir ./-p
Packit db064d
  as_mkdir_p=false
Packit db064d
fi
Packit db064d
Packit db064d
as_test_x='test -x'
Packit db064d
as_executable_p=as_fn_executable_p
Packit db064d
Packit db064d
# Sed expression to map a string onto a valid CPP name.
Packit db064d
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
Packit db064d
Packit db064d
# Sed expression to map a string onto a valid variable name.
Packit db064d
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
Packit db064d
Packit db064d
SHELL=${CONFIG_SHELL-/bin/sh}
Packit db064d
Packit db064d
Packit db064d
test -n "$DJDIR" || exec 7<&0 
Packit db064d
exec 6>&1
Packit db064d
Packit db064d
# Name of the host.
Packit db064d
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
Packit db064d
# so uname gets run too.
Packit db064d
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
Packit db064d
Packit db064d
#
Packit db064d
# Initializations.
Packit db064d
#
Packit db064d
ac_default_prefix=/usr/local
Packit db064d
ac_clean_files=
Packit db064d
ac_config_libobj_dir=.
Packit db064d
LIBOBJS=
Packit db064d
cross_compiling=no
Packit db064d
subdirs=
Packit db064d
MFLAGS=
Packit db064d
MAKEFLAGS=
Packit db064d
Packit db064d
# Identity of this package.
Packit db064d
PACKAGE_NAME='infiniband-diags'
Packit db064d
PACKAGE_TARNAME='infiniband-diags'
Packit db064d
PACKAGE_VERSION='2.2.0'
Packit db064d
PACKAGE_STRING='infiniband-diags 2.2.0'
Packit db064d
PACKAGE_BUGREPORT='linux-rdma@vger.kernel.org'
Packit db064d
PACKAGE_URL=''
Packit db064d
Packit db064d
# Factoring default headers for most tests.
Packit db064d
ac_includes_default="\
Packit db064d
#include <stdio.h>
Packit db064d
#ifdef HAVE_SYS_TYPES_H
Packit db064d
# include <sys/types.h>
Packit db064d
#endif
Packit db064d
#ifdef HAVE_SYS_STAT_H
Packit db064d
# include <sys/stat.h>
Packit db064d
#endif
Packit db064d
#ifdef STDC_HEADERS
Packit db064d
# include <stdlib.h>
Packit db064d
# include <stddef.h>
Packit db064d
#else
Packit db064d
# ifdef HAVE_STDLIB_H
Packit db064d
#  include <stdlib.h>
Packit db064d
# endif
Packit db064d
#endif
Packit db064d
#ifdef HAVE_STRING_H
Packit db064d
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
Packit db064d
#  include <memory.h>
Packit db064d
# endif
Packit db064d
# include <string.h>
Packit db064d
#endif
Packit db064d
#ifdef HAVE_STRINGS_H
Packit db064d
# include <strings.h>
Packit db064d
#endif
Packit db064d
#ifdef HAVE_INTTYPES_H
Packit db064d
# include <inttypes.h>
Packit db064d
#endif
Packit db064d
#ifdef HAVE_STDINT_H
Packit db064d
# include <stdint.h>
Packit db064d
#endif
Packit db064d
#ifdef HAVE_UNISTD_H
Packit db064d
# include <unistd.h>
Packit db064d
#endif"
Packit db064d
Packit db064d
ac_subst_vars='am__EXEEXT_FALSE
Packit db064d
am__EXEEXT_TRUE
Packit db064d
LTLIBOBJS
Packit db064d
have_rst2man
Packit db064d
BUILD_DATE
Packit db064d
ibmad_api_version
Packit db064d
ibnetdisc_api_version
Packit db064d
IBSCRIPTPATH
Packit db064d
HAVE_LD_VERSION_SCRIPT_FALSE
Packit db064d
HAVE_LD_VERSION_SCRIPT_TRUE
Packit db064d
PERL_INSTALLDIR
Packit db064d
PERL
Packit db064d
ENABLE_COMPAT_UTILS_FALSE
Packit db064d
ENABLE_COMPAT_UTILS_TRUE
Packit db064d
ENABLE_TEST_UTILS_FALSE
Packit db064d
ENABLE_TEST_UTILS_TRUE
Packit db064d
IBDIAG_CONFIG_PATH
Packit db064d
LIBOBJS
Packit db064d
HAVE_DASH_FALSE
Packit db064d
HAVE_DASH_TRUE
Packit db064d
have_dash
Packit db064d
CPP
Packit db064d
LT_SYS_LIBRARY_PATH
Packit db064d
OTOOL64
Packit db064d
OTOOL
Packit db064d
LIPO
Packit db064d
NMEDIT
Packit db064d
DSYMUTIL
Packit db064d
MANIFEST_TOOL
Packit db064d
RANLIB
Packit db064d
ac_ct_AR
Packit db064d
AR
Packit db064d
DLLTOOL
Packit db064d
OBJDUMP
Packit db064d
LN_S
Packit db064d
NM
Packit db064d
ac_ct_DUMPBIN
Packit db064d
DUMPBIN
Packit db064d
LD
Packit db064d
FGREP
Packit db064d
EGREP
Packit db064d
GREP
Packit db064d
SED
Packit db064d
host_os
Packit db064d
host_vendor
Packit db064d
host_cpu
Packit db064d
host
Packit db064d
build_os
Packit db064d
build_vendor
Packit db064d
build_cpu
Packit db064d
build
Packit db064d
LIBTOOL
Packit db064d
am__fastdepCC_FALSE
Packit db064d
am__fastdepCC_TRUE
Packit db064d
CCDEPMODE
Packit db064d
am__nodep
Packit db064d
AMDEPBACKSLASH
Packit db064d
AMDEP_FALSE
Packit db064d
AMDEP_TRUE
Packit db064d
am__include
Packit db064d
DEPDIR
Packit db064d
OBJEXT
Packit db064d
EXEEXT
Packit db064d
ac_ct_CC
Packit db064d
CPPFLAGS
Packit db064d
LDFLAGS
Packit db064d
CFLAGS
Packit db064d
CC
Packit db064d
DEBUG_FALSE
Packit db064d
DEBUG_TRUE
Packit db064d
TARBALL
Packit db064d
RELEASE
Packit db064d
AM_BACKSLASH
Packit db064d
AM_DEFAULT_VERBOSITY
Packit db064d
AM_DEFAULT_V
Packit db064d
AM_V
Packit db064d
am__untar
Packit db064d
am__tar
Packit db064d
AMTAR
Packit db064d
am__leading_dot
Packit db064d
SET_MAKE
Packit db064d
AWK
Packit db064d
mkdir_p
Packit db064d
MKDIR_P
Packit db064d
INSTALL_STRIP_PROGRAM
Packit db064d
STRIP
Packit db064d
install_sh
Packit db064d
MAKEINFO
Packit db064d
AUTOHEADER
Packit db064d
AUTOMAKE
Packit db064d
AUTOCONF
Packit db064d
ACLOCAL
Packit db064d
VERSION
Packit db064d
PACKAGE
Packit db064d
CYGPATH_W
Packit db064d
am__isrc
Packit db064d
INSTALL_DATA
Packit db064d
INSTALL_SCRIPT
Packit db064d
INSTALL_PROGRAM
Packit db064d
target_alias
Packit db064d
host_alias
Packit db064d
build_alias
Packit db064d
LIBS
Packit db064d
ECHO_T
Packit db064d
ECHO_N
Packit db064d
ECHO_C
Packit db064d
DEFS
Packit db064d
mandir
Packit db064d
localedir
Packit db064d
libdir
Packit db064d
psdir
Packit db064d
pdfdir
Packit db064d
dvidir
Packit db064d
htmldir
Packit db064d
infodir
Packit db064d
docdir
Packit db064d
oldincludedir
Packit db064d
includedir
Packit db064d
localstatedir
Packit db064d
sharedstatedir
Packit db064d
sysconfdir
Packit db064d
datadir
Packit db064d
datarootdir
Packit db064d
libexecdir
Packit db064d
sbindir
Packit db064d
bindir
Packit db064d
program_transform_name
Packit db064d
prefix
Packit db064d
exec_prefix
Packit db064d
PACKAGE_URL
Packit db064d
PACKAGE_BUGREPORT
Packit db064d
PACKAGE_STRING
Packit db064d
PACKAGE_VERSION
Packit db064d
PACKAGE_TARNAME
Packit db064d
PACKAGE_NAME
Packit db064d
PATH_SEPARATOR
Packit db064d
SHELL
Packit db064d
am__quote'
Packit db064d
ac_subst_files=''
Packit db064d
ac_user_opts='
Packit db064d
enable_option_checking
Packit db064d
enable_silent_rules
Packit db064d
enable_debug
Packit db064d
enable_dependency_tracking
Packit db064d
enable_shared
Packit db064d
enable_static
Packit db064d
with_pic
Packit db064d
enable_fast_install
Packit db064d
with_aix_soname
Packit db064d
with_gnu_ld
Packit db064d
with_sysroot
Packit db064d
enable_libtool_lock
Packit db064d
enable_test_utils
Packit db064d
enable_compat_utils
Packit db064d
with_perl_path
Packit db064d
with_perl_installdir
Packit db064d
with_ibpath_override
Packit db064d
'
Packit db064d
      ac_precious_vars='build_alias
Packit db064d
host_alias
Packit db064d
target_alias
Packit db064d
CC
Packit db064d
CFLAGS
Packit db064d
LDFLAGS
Packit db064d
LIBS
Packit db064d
CPPFLAGS
Packit db064d
LT_SYS_LIBRARY_PATH
Packit db064d
CPP'
Packit db064d
Packit db064d
Packit db064d
# Initialize some variables set by options.
Packit db064d
ac_init_help=
Packit db064d
ac_init_version=false
Packit db064d
ac_unrecognized_opts=
Packit db064d
ac_unrecognized_sep=
Packit db064d
# The variables have the same names as the options, with
Packit db064d
# dashes changed to underlines.
Packit db064d
cache_file=/dev/null
Packit db064d
exec_prefix=NONE
Packit db064d
no_create=
Packit db064d
no_recursion=
Packit db064d
prefix=NONE
Packit db064d
program_prefix=NONE
Packit db064d
program_suffix=NONE
Packit db064d
program_transform_name=s,x,x,
Packit db064d
silent=
Packit db064d
site=
Packit db064d
srcdir=
Packit db064d
verbose=
Packit db064d
x_includes=NONE
Packit db064d
x_libraries=NONE
Packit db064d
Packit db064d
# Installation directory options.
Packit db064d
# These are left unexpanded so users can "make install exec_prefix=/foo"
Packit db064d
# and all the variables that are supposed to be based on exec_prefix
Packit db064d
# by default will actually change.
Packit db064d
# Use braces instead of parens because sh, perl, etc. also accept them.
Packit db064d
# (The list follows the same order as the GNU Coding Standards.)
Packit db064d
bindir='${exec_prefix}/bin'
Packit db064d
sbindir='${exec_prefix}/sbin'
Packit db064d
libexecdir='${exec_prefix}/libexec'
Packit db064d
datarootdir='${prefix}/share'
Packit db064d
datadir='${datarootdir}'
Packit db064d
sysconfdir='${prefix}/etc'
Packit db064d
sharedstatedir='${prefix}/com'
Packit db064d
localstatedir='${prefix}/var'
Packit db064d
includedir='${prefix}/include'
Packit db064d
oldincludedir='/usr/include'
Packit db064d
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
Packit db064d
infodir='${datarootdir}/info'
Packit db064d
htmldir='${docdir}'
Packit db064d
dvidir='${docdir}'
Packit db064d
pdfdir='${docdir}'
Packit db064d
psdir='${docdir}'
Packit db064d
libdir='${exec_prefix}/lib'
Packit db064d
localedir='${datarootdir}/locale'
Packit db064d
mandir='${datarootdir}/man'
Packit db064d
Packit db064d
ac_prev=
Packit db064d
ac_dashdash=
Packit db064d
for ac_option
Packit db064d
do
Packit db064d
  # If the previous option needs an argument, assign it.
Packit db064d
  if test -n "$ac_prev"; then
Packit db064d
    eval $ac_prev=\$ac_option
Packit db064d
    ac_prev=
Packit db064d
    continue
Packit db064d
  fi
Packit db064d
Packit db064d
  case $ac_option in
Packit db064d
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
Packit db064d
  *=)   ac_optarg= ;;
Packit db064d
  *)    ac_optarg=yes ;;
Packit db064d
  esac
Packit db064d
Packit db064d
  # Accept the important Cygnus configure options, so we can diagnose typos.
Packit db064d
Packit db064d
  case $ac_dashdash$ac_option in
Packit db064d
  --)
Packit db064d
    ac_dashdash=yes ;;
Packit db064d
Packit db064d
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
Packit db064d
    ac_prev=bindir ;;
Packit db064d
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
Packit db064d
    bindir=$ac_optarg ;;
Packit db064d
Packit db064d
  -build | --build | --buil | --bui | --bu)
Packit db064d
    ac_prev=build_alias ;;
Packit db064d
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
Packit db064d
    build_alias=$ac_optarg ;;
Packit db064d
Packit db064d
  -cache-file | --cache-file | --cache-fil | --cache-fi \
Packit db064d
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
Packit db064d
    ac_prev=cache_file ;;
Packit db064d
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
Packit db064d
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
Packit db064d
    cache_file=$ac_optarg ;;
Packit db064d
Packit db064d
  --config-cache | -C)
Packit db064d
    cache_file=config.cache ;;
Packit db064d
Packit db064d
  -datadir | --datadir | --datadi | --datad)
Packit db064d
    ac_prev=datadir ;;
Packit db064d
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
Packit db064d
    datadir=$ac_optarg ;;
Packit db064d
Packit db064d
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
Packit db064d
  | --dataroo | --dataro | --datar)
Packit db064d
    ac_prev=datarootdir ;;
Packit db064d
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
Packit db064d
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
Packit db064d
    datarootdir=$ac_optarg ;;
Packit db064d
Packit db064d
  -disable-* | --disable-*)
Packit db064d
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
Packit db064d
    # Reject names that are not valid shell variable names.
Packit db064d
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
Packit db064d
      as_fn_error $? "invalid feature name: $ac_useropt"
Packit db064d
    ac_useropt_orig=$ac_useropt
Packit db064d
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
Packit db064d
    case $ac_user_opts in
Packit db064d
      *"
Packit db064d
"enable_$ac_useropt"
Packit db064d
"*) ;;
Packit db064d
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
Packit db064d
	 ac_unrecognized_sep=', ';;
Packit db064d
    esac
Packit db064d
    eval enable_$ac_useropt=no ;;
Packit db064d
Packit db064d
  -docdir | --docdir | --docdi | --doc | --do)
Packit db064d
    ac_prev=docdir ;;
Packit db064d
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
Packit db064d
    docdir=$ac_optarg ;;
Packit db064d
Packit db064d
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
Packit db064d
    ac_prev=dvidir ;;
Packit db064d
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
Packit db064d
    dvidir=$ac_optarg ;;
Packit db064d
Packit db064d
  -enable-* | --enable-*)
Packit db064d
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
Packit db064d
    # Reject names that are not valid shell variable names.
Packit db064d
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
Packit db064d
      as_fn_error $? "invalid feature name: $ac_useropt"
Packit db064d
    ac_useropt_orig=$ac_useropt
Packit db064d
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
Packit db064d
    case $ac_user_opts in
Packit db064d
      *"
Packit db064d
"enable_$ac_useropt"
Packit db064d
"*) ;;
Packit db064d
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
Packit db064d
	 ac_unrecognized_sep=', ';;
Packit db064d
    esac
Packit db064d
    eval enable_$ac_useropt=\$ac_optarg ;;
Packit db064d
Packit db064d
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
Packit db064d
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
Packit db064d
  | --exec | --exe | --ex)
Packit db064d
    ac_prev=exec_prefix ;;
Packit db064d
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
Packit db064d
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
Packit db064d
  | --exec=* | --exe=* | --ex=*)
Packit db064d
    exec_prefix=$ac_optarg ;;
Packit db064d
Packit db064d
  -gas | --gas | --ga | --g)
Packit db064d
    # Obsolete; use --with-gas.
Packit db064d
    with_gas=yes ;;
Packit db064d
Packit db064d
  -help | --help | --hel | --he | -h)
Packit db064d
    ac_init_help=long ;;
Packit db064d
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
Packit db064d
    ac_init_help=recursive ;;
Packit db064d
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
Packit db064d
    ac_init_help=short ;;
Packit db064d
Packit db064d
  -host | --host | --hos | --ho)
Packit db064d
    ac_prev=host_alias ;;
Packit db064d
  -host=* | --host=* | --hos=* | --ho=*)
Packit db064d
    host_alias=$ac_optarg ;;
Packit db064d
Packit db064d
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
Packit db064d
    ac_prev=htmldir ;;
Packit db064d
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
Packit db064d
  | --ht=*)
Packit db064d
    htmldir=$ac_optarg ;;
Packit db064d
Packit db064d
  -includedir | --includedir | --includedi | --included | --include \
Packit db064d
  | --includ | --inclu | --incl | --inc)
Packit db064d
    ac_prev=includedir ;;
Packit db064d
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
Packit db064d
  | --includ=* | --inclu=* | --incl=* | --inc=*)
Packit db064d
    includedir=$ac_optarg ;;
Packit db064d
Packit db064d
  -infodir | --infodir | --infodi | --infod | --info | --inf)
Packit db064d
    ac_prev=infodir ;;
Packit db064d
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
Packit db064d
    infodir=$ac_optarg ;;
Packit db064d
Packit db064d
  -libdir | --libdir | --libdi | --libd)
Packit db064d
    ac_prev=libdir ;;
Packit db064d
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
Packit db064d
    libdir=$ac_optarg ;;
Packit db064d
Packit db064d
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
Packit db064d
  | --libexe | --libex | --libe)
Packit db064d
    ac_prev=libexecdir ;;
Packit db064d
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
Packit db064d
  | --libexe=* | --libex=* | --libe=*)
Packit db064d
    libexecdir=$ac_optarg ;;
Packit db064d
Packit db064d
  -localedir | --localedir | --localedi | --localed | --locale)
Packit db064d
    ac_prev=localedir ;;
Packit db064d
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
Packit db064d
    localedir=$ac_optarg ;;
Packit db064d
Packit db064d
  -localstatedir | --localstatedir | --localstatedi | --localstated \
Packit db064d
  | --localstate | --localstat | --localsta | --localst | --locals)
Packit db064d
    ac_prev=localstatedir ;;
Packit db064d
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
Packit db064d
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
Packit db064d
    localstatedir=$ac_optarg ;;
Packit db064d
Packit db064d
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
Packit db064d
    ac_prev=mandir ;;
Packit db064d
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
Packit db064d
    mandir=$ac_optarg ;;
Packit db064d
Packit db064d
  -nfp | --nfp | --nf)
Packit db064d
    # Obsolete; use --without-fp.
Packit db064d
    with_fp=no ;;
Packit db064d
Packit db064d
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
Packit db064d
  | --no-cr | --no-c | -n)
Packit db064d
    no_create=yes ;;
Packit db064d
Packit db064d
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
Packit db064d
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
Packit db064d
    no_recursion=yes ;;
Packit db064d
Packit db064d
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
Packit db064d
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
Packit db064d
  | --oldin | --oldi | --old | --ol | --o)
Packit db064d
    ac_prev=oldincludedir ;;
Packit db064d
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
Packit db064d
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
Packit db064d
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
Packit db064d
    oldincludedir=$ac_optarg ;;
Packit db064d
Packit db064d
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
Packit db064d
    ac_prev=prefix ;;
Packit db064d
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
Packit db064d
    prefix=$ac_optarg ;;
Packit db064d
Packit db064d
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
Packit db064d
  | --program-pre | --program-pr | --program-p)
Packit db064d
    ac_prev=program_prefix ;;
Packit db064d
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
Packit db064d
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
Packit db064d
    program_prefix=$ac_optarg ;;
Packit db064d
Packit db064d
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
Packit db064d
  | --program-suf | --program-su | --program-s)
Packit db064d
    ac_prev=program_suffix ;;
Packit db064d
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
Packit db064d
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
Packit db064d
    program_suffix=$ac_optarg ;;
Packit db064d
Packit db064d
  -program-transform-name | --program-transform-name \
Packit db064d
  | --program-transform-nam | --program-transform-na \
Packit db064d
  | --program-transform-n | --program-transform- \
Packit db064d
  | --program-transform | --program-transfor \
Packit db064d
  | --program-transfo | --program-transf \
Packit db064d
  | --program-trans | --program-tran \
Packit db064d
  | --progr-tra | --program-tr | --program-t)
Packit db064d
    ac_prev=program_transform_name ;;
Packit db064d
  -program-transform-name=* | --program-transform-name=* \
Packit db064d
  | --program-transform-nam=* | --program-transform-na=* \
Packit db064d
  | --program-transform-n=* | --program-transform-=* \
Packit db064d
  | --program-transform=* | --program-transfor=* \
Packit db064d
  | --program-transfo=* | --program-transf=* \
Packit db064d
  | --program-trans=* | --program-tran=* \
Packit db064d
  | --progr-tra=* | --program-tr=* | --program-t=*)
Packit db064d
    program_transform_name=$ac_optarg ;;
Packit db064d
Packit db064d
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
Packit db064d
    ac_prev=pdfdir ;;
Packit db064d
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
Packit db064d
    pdfdir=$ac_optarg ;;
Packit db064d
Packit db064d
  -psdir | --psdir | --psdi | --psd | --ps)
Packit db064d
    ac_prev=psdir ;;
Packit db064d
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
Packit db064d
    psdir=$ac_optarg ;;
Packit db064d
Packit db064d
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
Packit db064d
  | -silent | --silent | --silen | --sile | --sil)
Packit db064d
    silent=yes ;;
Packit db064d
Packit db064d
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
Packit db064d
    ac_prev=sbindir ;;
Packit db064d
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
Packit db064d
  | --sbi=* | --sb=*)
Packit db064d
    sbindir=$ac_optarg ;;
Packit db064d
Packit db064d
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
Packit db064d
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
Packit db064d
  | --sharedst | --shareds | --shared | --share | --shar \
Packit db064d
  | --sha | --sh)
Packit db064d
    ac_prev=sharedstatedir ;;
Packit db064d
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
Packit db064d
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
Packit db064d
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
Packit db064d
  | --sha=* | --sh=*)
Packit db064d
    sharedstatedir=$ac_optarg ;;
Packit db064d
Packit db064d
  -site | --site | --sit)
Packit db064d
    ac_prev=site ;;
Packit db064d
  -site=* | --site=* | --sit=*)
Packit db064d
    site=$ac_optarg ;;
Packit db064d
Packit db064d
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
Packit db064d
    ac_prev=srcdir ;;
Packit db064d
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
Packit db064d
    srcdir=$ac_optarg ;;
Packit db064d
Packit db064d
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
Packit db064d
  | --syscon | --sysco | --sysc | --sys | --sy)
Packit db064d
    ac_prev=sysconfdir ;;
Packit db064d
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
Packit db064d
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
Packit db064d
    sysconfdir=$ac_optarg ;;
Packit db064d
Packit db064d
  -target | --target | --targe | --targ | --tar | --ta | --t)
Packit db064d
    ac_prev=target_alias ;;
Packit db064d
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
Packit db064d
    target_alias=$ac_optarg ;;
Packit db064d
Packit db064d
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
Packit db064d
    verbose=yes ;;
Packit db064d
Packit db064d
  -version | --version | --versio | --versi | --vers | -V)
Packit db064d
    ac_init_version=: ;;
Packit db064d
Packit db064d
  -with-* | --with-*)
Packit db064d
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
Packit db064d
    # Reject names that are not valid shell variable names.
Packit db064d
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
Packit db064d
      as_fn_error $? "invalid package name: $ac_useropt"
Packit db064d
    ac_useropt_orig=$ac_useropt
Packit db064d
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
Packit db064d
    case $ac_user_opts in
Packit db064d
      *"
Packit db064d
"with_$ac_useropt"
Packit db064d
"*) ;;
Packit db064d
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
Packit db064d
	 ac_unrecognized_sep=', ';;
Packit db064d
    esac
Packit db064d
    eval with_$ac_useropt=\$ac_optarg ;;
Packit db064d
Packit db064d
  -without-* | --without-*)
Packit db064d
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
Packit db064d
    # Reject names that are not valid shell variable names.
Packit db064d
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
Packit db064d
      as_fn_error $? "invalid package name: $ac_useropt"
Packit db064d
    ac_useropt_orig=$ac_useropt
Packit db064d
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
Packit db064d
    case $ac_user_opts in
Packit db064d
      *"
Packit db064d
"with_$ac_useropt"
Packit db064d
"*) ;;
Packit db064d
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
Packit db064d
	 ac_unrecognized_sep=', ';;
Packit db064d
    esac
Packit db064d
    eval with_$ac_useropt=no ;;
Packit db064d
Packit db064d
  --x)
Packit db064d
    # Obsolete; use --with-x.
Packit db064d
    with_x=yes ;;
Packit db064d
Packit db064d
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
Packit db064d
  | --x-incl | --x-inc | --x-in | --x-i)
Packit db064d
    ac_prev=x_includes ;;
Packit db064d
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
Packit db064d
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
Packit db064d
    x_includes=$ac_optarg ;;
Packit db064d
Packit db064d
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
Packit db064d
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
Packit db064d
    ac_prev=x_libraries ;;
Packit db064d
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
Packit db064d
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
Packit db064d
    x_libraries=$ac_optarg ;;
Packit db064d
Packit db064d
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
Packit db064d
Try \`$0 --help' for more information"
Packit db064d
    ;;
Packit db064d
Packit db064d
  *=*)
Packit db064d
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
Packit db064d
    # Reject names that are not valid shell variable names.
Packit db064d
    case $ac_envvar in #(
Packit db064d
      '' | [0-9]* | *[!_$as_cr_alnum]* )
Packit db064d
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
Packit db064d
    esac
Packit db064d
    eval $ac_envvar=\$ac_optarg
Packit db064d
    export $ac_envvar ;;
Packit db064d
Packit db064d
  *)
Packit db064d
    # FIXME: should be removed in autoconf 3.0.
Packit db064d
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
Packit db064d
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
Packit db064d
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
Packit db064d
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
Packit db064d
    ;;
Packit db064d
Packit db064d
  esac
Packit db064d
done
Packit db064d
Packit db064d
if test -n "$ac_prev"; then
Packit db064d
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
Packit db064d
  as_fn_error $? "missing argument to $ac_option"
Packit db064d
fi
Packit db064d
Packit db064d
if test -n "$ac_unrecognized_opts"; then
Packit db064d
  case $enable_option_checking in
Packit db064d
    no) ;;
Packit db064d
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
Packit db064d
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
Packit db064d
  esac
Packit db064d
fi
Packit db064d
Packit db064d
# Check all directory arguments for consistency.
Packit db064d
for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
Packit db064d
		datadir sysconfdir sharedstatedir localstatedir includedir \
Packit db064d
		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
Packit db064d
		libdir localedir mandir
Packit db064d
do
Packit db064d
  eval ac_val=\$$ac_var
Packit db064d
  # Remove trailing slashes.
Packit db064d
  case $ac_val in
Packit db064d
    */ )
Packit db064d
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
Packit db064d
      eval $ac_var=\$ac_val;;
Packit db064d
  esac
Packit db064d
  # Be sure to have absolute directory names.
Packit db064d
  case $ac_val in
Packit db064d
    [\\/$]* | ?:[\\/]* )  continue;;
Packit db064d
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
Packit db064d
  esac
Packit db064d
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
Packit db064d
done
Packit db064d
Packit db064d
# There might be people who depend on the old broken behavior: `$host'
Packit db064d
# used to hold the argument of --host etc.
Packit db064d
# FIXME: To remove some day.
Packit db064d
build=$build_alias
Packit db064d
host=$host_alias
Packit db064d
target=$target_alias
Packit db064d
Packit db064d
# FIXME: To remove some day.
Packit db064d
if test "x$host_alias" != x; then
Packit db064d
  if test "x$build_alias" = x; then
Packit db064d
    cross_compiling=maybe
Packit db064d
  elif test "x$build_alias" != "x$host_alias"; then
Packit db064d
    cross_compiling=yes
Packit db064d
  fi
Packit db064d
fi
Packit db064d
Packit db064d
ac_tool_prefix=
Packit db064d
test -n "$host_alias" && ac_tool_prefix=$host_alias-
Packit db064d
Packit db064d
test "$silent" = yes && exec 6>/dev/null
Packit db064d
Packit db064d
Packit db064d
ac_pwd=`pwd` && test -n "$ac_pwd" &&
Packit db064d
ac_ls_di=`ls -di .` &&
Packit db064d
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
Packit db064d
  as_fn_error $? "working directory cannot be determined"
Packit db064d
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
Packit db064d
  as_fn_error $? "pwd does not report name of working directory"
Packit db064d
Packit db064d
Packit db064d
# Find the source files, if location was not specified.
Packit db064d
if test -z "$srcdir"; then
Packit db064d
  ac_srcdir_defaulted=yes
Packit db064d
  # Try the directory containing this script, then the parent directory.
Packit db064d
  ac_confdir=`$as_dirname -- "$as_myself" ||
Packit db064d
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
Packit db064d
	 X"$as_myself" : 'X\(//\)[^/]' \| \
Packit db064d
	 X"$as_myself" : 'X\(//\)$' \| \
Packit db064d
	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
Packit db064d
$as_echo X"$as_myself" |
Packit db064d
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
Packit db064d
	    s//\1/
Packit db064d
	    q
Packit db064d
	  }
Packit db064d
	  /^X\(\/\/\)[^/].*/{
Packit db064d
	    s//\1/
Packit db064d
	    q
Packit db064d
	  }
Packit db064d
	  /^X\(\/\/\)$/{
Packit db064d
	    s//\1/
Packit db064d
	    q
Packit db064d
	  }
Packit db064d
	  /^X\(\/\).*/{
Packit db064d
	    s//\1/
Packit db064d
	    q
Packit db064d
	  }
Packit db064d
	  s/.*/./; q'`
Packit db064d
  srcdir=$ac_confdir
Packit db064d
  if test ! -r "$srcdir/$ac_unique_file"; then
Packit db064d
    srcdir=..
Packit db064d
  fi
Packit db064d
else
Packit db064d
  ac_srcdir_defaulted=no
Packit db064d
fi
Packit db064d
if test ! -r "$srcdir/$ac_unique_file"; then
Packit db064d
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
Packit db064d
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
Packit db064d
fi
Packit db064d
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
Packit db064d
ac_abs_confdir=`(
Packit db064d
	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
Packit db064d
	pwd)`
Packit db064d
# When building in place, set srcdir=.
Packit db064d
if test "$ac_abs_confdir" = "$ac_pwd"; then
Packit db064d
  srcdir=.
Packit db064d
fi
Packit db064d
# Remove unnecessary trailing slashes from srcdir.
Packit db064d
# Double slashes in file names in object file debugging info
Packit db064d
# mess up M-x gdb in Emacs.
Packit db064d
case $srcdir in
Packit db064d
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
Packit db064d
esac
Packit db064d
for ac_var in $ac_precious_vars; do
Packit db064d
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
Packit db064d
  eval ac_env_${ac_var}_value=\$${ac_var}
Packit db064d
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
Packit db064d
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
Packit db064d
done
Packit db064d
Packit db064d
#
Packit db064d
# Report the --help message.
Packit db064d
#
Packit db064d
if test "$ac_init_help" = "long"; then
Packit db064d
  # Omit some internal or obsolete options to make the list less imposing.
Packit db064d
  # This message is too long to be a string in the A/UX 3.1 sh.
Packit db064d
  cat <<_ACEOF
Packit db064d
\`configure' configures infiniband-diags 2.2.0 to adapt to many kinds of systems.
Packit db064d
Packit db064d
Usage: $0 [OPTION]... [VAR=VALUE]...
Packit db064d
Packit db064d
To assign environment variables (e.g., CC, CFLAGS...), specify them as
Packit db064d
VAR=VALUE.  See below for descriptions of some of the useful variables.
Packit db064d
Packit db064d
Defaults for the options are specified in brackets.
Packit db064d
Packit db064d
Configuration:
Packit db064d
  -h, --help              display this help and exit
Packit db064d
      --help=short        display options specific to this package
Packit db064d
      --help=recursive    display the short help of all the included packages
Packit db064d
  -V, --version           display version information and exit
Packit db064d
  -q, --quiet, --silent   do not print \`checking ...' messages
Packit db064d
      --cache-file=FILE   cache test results in FILE [disabled]
Packit db064d
  -C, --config-cache      alias for \`--cache-file=config.cache'
Packit db064d
  -n, --no-create         do not create output files
Packit db064d
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
Packit db064d
Packit db064d
Installation directories:
Packit db064d
  --prefix=PREFIX         install architecture-independent files in PREFIX
Packit db064d
                          [$ac_default_prefix]
Packit db064d
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
Packit db064d
                          [PREFIX]
Packit db064d
Packit db064d
By default, \`make install' will install all the files in
Packit db064d
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
Packit db064d
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
Packit db064d
for instance \`--prefix=\$HOME'.
Packit db064d
Packit db064d
For better control, use the options below.
Packit db064d
Packit db064d
Fine tuning of the installation directories:
Packit db064d
  --bindir=DIR            user executables [EPREFIX/bin]
Packit db064d
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
Packit db064d
  --libexecdir=DIR        program executables [EPREFIX/libexec]
Packit db064d
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
Packit db064d
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
Packit db064d
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
Packit db064d
  --libdir=DIR            object code libraries [EPREFIX/lib]
Packit db064d
  --includedir=DIR        C header files [PREFIX/include]
Packit db064d
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
Packit db064d
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
Packit db064d
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
Packit db064d
  --infodir=DIR           info documentation [DATAROOTDIR/info]
Packit db064d
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
Packit db064d
  --mandir=DIR            man documentation [DATAROOTDIR/man]
Packit db064d
  --docdir=DIR            documentation root
Packit db064d
                          [DATAROOTDIR/doc/infiniband-diags]
Packit db064d
  --htmldir=DIR           html documentation [DOCDIR]
Packit db064d
  --dvidir=DIR            dvi documentation [DOCDIR]
Packit db064d
  --pdfdir=DIR            pdf documentation [DOCDIR]
Packit db064d
  --psdir=DIR             ps documentation [DOCDIR]
Packit db064d
_ACEOF
Packit db064d
Packit db064d
  cat <<\_ACEOF
Packit db064d
Packit db064d
Program names:
Packit db064d
  --program-prefix=PREFIX            prepend PREFIX to installed program names
Packit db064d
  --program-suffix=SUFFIX            append SUFFIX to installed program names
Packit db064d
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
Packit db064d
Packit db064d
System types:
Packit db064d
  --build=BUILD     configure for building on BUILD [guessed]
Packit db064d
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
Packit db064d
_ACEOF
Packit db064d
fi
Packit db064d
Packit db064d
if test -n "$ac_init_help"; then
Packit db064d
  case $ac_init_help in
Packit db064d
     short | recursive ) echo "Configuration of infiniband-diags 2.2.0:";;
Packit db064d
   esac
Packit db064d
  cat <<\_ACEOF
Packit db064d
Packit db064d
Optional Features:
Packit db064d
  --disable-option-checking  ignore unrecognized --enable/--with options
Packit db064d
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
Packit db064d
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
Packit db064d
  --enable-silent-rules   less verbose build output (undo: "make V=1")
Packit db064d
  --disable-silent-rules  verbose build output (undo: "make V=0")
Packit db064d
  --enable-debug Turn on debug mode
Packit db064d
  --enable-dependency-tracking
Packit db064d
                          do not reject slow dependency extractors
Packit db064d
  --disable-dependency-tracking
Packit db064d
                          speeds up one-time build
Packit db064d
  --enable-shared[=PKGS]  build shared libraries [default=yes]
Packit db064d
  --enable-static[=PKGS]  build static libraries [default=yes]
Packit db064d
  --enable-fast-install[=PKGS]
Packit db064d
                          optimize for fast installation [default=yes]
Packit db064d
  --disable-libtool-lock  avoid locking (might break parallel builds)
Packit db064d
  --enable-test-utils build additional test utilities (default=no)
Packit db064d
  --enable-compat-utils build deprecated compatibility utilities (default=no)
Packit db064d
Packit db064d
Optional Packages:
Packit db064d
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
Packit db064d
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
Packit db064d
  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
Packit db064d
                          both]
Packit db064d
  --with-aix-soname=aix|svr4|both
Packit db064d
                          shared library versioning (aka "SONAME") variant to
Packit db064d
                          provide on AIX, [default=aix].
Packit db064d
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
Packit db064d
  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
Packit db064d
                          compiler's sysroot if not specified).
Packit db064d
  --with-perl-path=path   define perl location
Packit db064d
  --with-perl-installdir=path
Packit db064d
                          define perl install path
Packit db064d
  --with-ibpath_override=<path> define ib binaries path
Packit db064d
Packit db064d
Some influential environment variables:
Packit db064d
  CC          C compiler command
Packit db064d
  CFLAGS      C compiler flags
Packit db064d
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
Packit db064d
              nonstandard directory <lib dir>
Packit db064d
  LIBS        libraries to pass to the linker, e.g. -l<library>
Packit db064d
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
Packit db064d
              you have headers in a nonstandard directory <include dir>
Packit db064d
  LT_SYS_LIBRARY_PATH
Packit db064d
              User-defined run-time library search path.
Packit db064d
  CPP         C preprocessor
Packit db064d
Packit db064d
Use these variables to override the choices made by `configure' or to help
Packit db064d
it to find libraries and programs with nonstandard names/locations.
Packit db064d
Packit db064d
Report bugs to <linux-rdma@vger.kernel.org>.
Packit db064d
_ACEOF
Packit db064d
ac_status=$?
Packit db064d
fi
Packit db064d
Packit db064d
if test "$ac_init_help" = "recursive"; then
Packit db064d
  # If there are subdirs, report their specific --help.
Packit db064d
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
Packit db064d
    test -d "$ac_dir" ||
Packit db064d
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
Packit db064d
      continue
Packit db064d
    ac_builddir=.
Packit db064d
Packit db064d
case "$ac_dir" in
Packit db064d
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
Packit db064d
*)
Packit db064d
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
Packit db064d
  # A ".." for each directory in $ac_dir_suffix.
Packit db064d
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
Packit db064d
  case $ac_top_builddir_sub in
Packit db064d
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
Packit db064d
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
Packit db064d
  esac ;;
Packit db064d
esac
Packit db064d
ac_abs_top_builddir=$ac_pwd
Packit db064d
ac_abs_builddir=$ac_pwd$ac_dir_suffix
Packit db064d
# for backward compatibility:
Packit db064d
ac_top_builddir=$ac_top_build_prefix
Packit db064d
Packit db064d
case $srcdir in
Packit db064d
  .)  # We are building in place.
Packit db064d
    ac_srcdir=.
Packit db064d
    ac_top_srcdir=$ac_top_builddir_sub
Packit db064d
    ac_abs_top_srcdir=$ac_pwd ;;
Packit db064d
  [\\/]* | ?:[\\/]* )  # Absolute name.
Packit db064d
    ac_srcdir=$srcdir$ac_dir_suffix;
Packit db064d
    ac_top_srcdir=$srcdir
Packit db064d
    ac_abs_top_srcdir=$srcdir ;;
Packit db064d
  *) # Relative name.
Packit db064d
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
Packit db064d
    ac_top_srcdir=$ac_top_build_prefix$srcdir
Packit db064d
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
Packit db064d
esac
Packit db064d
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
Packit db064d
Packit db064d
    cd "$ac_dir" || { ac_status=$?; continue; }
Packit db064d
    # Check for guested configure.
Packit db064d
    if test -f "$ac_srcdir/configure.gnu"; then
Packit db064d
      echo &&
Packit db064d
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
Packit db064d
    elif test -f "$ac_srcdir/configure"; then
Packit db064d
      echo &&
Packit db064d
      $SHELL "$ac_srcdir/configure" --help=recursive
Packit db064d
    else
Packit db064d
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
Packit db064d
    fi || ac_status=$?
Packit db064d
    cd "$ac_pwd" || { ac_status=$?; break; }
Packit db064d
  done
Packit db064d
fi
Packit db064d
Packit db064d
test -n "$ac_init_help" && exit $ac_status
Packit db064d
if $ac_init_version; then
Packit db064d
  cat <<\_ACEOF
Packit db064d
infiniband-diags configure 2.2.0
Packit db064d
generated by GNU Autoconf 2.69
Packit db064d
Packit db064d
Copyright (C) 2012 Free Software Foundation, Inc.
Packit db064d
This configure script is free software; the Free Software Foundation
Packit db064d
gives unlimited permission to copy, distribute and modify it.
Packit db064d
_ACEOF
Packit db064d
  exit
Packit db064d
fi
Packit db064d
Packit db064d
## ------------------------ ##
Packit db064d
## Autoconf initialization. ##
Packit db064d
## ------------------------ ##
Packit db064d
Packit db064d
# ac_fn_c_try_compile LINENO
Packit db064d
# --------------------------
Packit db064d
# Try to compile conftest.$ac_ext, and return whether this succeeded.
Packit db064d
ac_fn_c_try_compile ()
Packit db064d
{
Packit db064d
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
Packit db064d
  rm -f conftest.$ac_objext
Packit db064d
  if { { ac_try="$ac_compile"
Packit db064d
case "(($ac_try" in
Packit db064d
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
Packit db064d
  *) ac_try_echo=$ac_try;;
Packit db064d
esac
Packit db064d
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
Packit db064d
$as_echo "$ac_try_echo"; } >&5
Packit db064d
  (eval "$ac_compile") 2>conftest.err
Packit db064d
  ac_status=$?
Packit db064d
  if test -s conftest.err; then
Packit db064d
    grep -v '^ *+' conftest.err >conftest.er1
Packit db064d
    cat conftest.er1 >&5
Packit db064d
    mv -f conftest.er1 conftest.err
Packit db064d
  fi
Packit db064d
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
Packit db064d
  test $ac_status = 0; } && {
Packit db064d
	 test -z "$ac_c_werror_flag" ||
Packit db064d
	 test ! -s conftest.err
Packit db064d
       } && test -s conftest.$ac_objext; then :
Packit db064d
  ac_retval=0
Packit db064d
else
Packit db064d
  $as_echo "$as_me: failed program was:" >&5
Packit db064d
sed 's/^/| /' conftest.$ac_ext >&5
Packit db064d
Packit db064d
	ac_retval=1
Packit db064d
fi
Packit db064d
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
Packit db064d
  as_fn_set_status $ac_retval
Packit db064d
Packit db064d
} # ac_fn_c_try_compile
Packit db064d
Packit db064d
# ac_fn_c_try_link LINENO
Packit db064d
# -----------------------
Packit db064d
# Try to link conftest.$ac_ext, and return whether this succeeded.
Packit db064d
ac_fn_c_try_link ()
Packit db064d
{
Packit db064d
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
Packit db064d
  rm -f conftest.$ac_objext conftest$ac_exeext
Packit db064d
  if { { ac_try="$ac_link"
Packit db064d
case "(($ac_try" in
Packit db064d
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
Packit db064d
  *) ac_try_echo=$ac_try;;
Packit db064d
esac
Packit db064d
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
Packit db064d
$as_echo "$ac_try_echo"; } >&5
Packit db064d
  (eval "$ac_link") 2>conftest.err
Packit db064d
  ac_status=$?
Packit db064d
  if test -s conftest.err; then
Packit db064d
    grep -v '^ *+' conftest.err >conftest.er1
Packit db064d
    cat conftest.er1 >&5
Packit db064d
    mv -f conftest.er1 conftest.err
Packit db064d
  fi
Packit db064d
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
Packit db064d
  test $ac_status = 0; } && {
Packit db064d
	 test -z "$ac_c_werror_flag" ||
Packit db064d
	 test ! -s conftest.err
Packit db064d
       } && test -s conftest$ac_exeext && {
Packit db064d
	 test "$cross_compiling" = yes ||
Packit db064d
	 test -x conftest$ac_exeext
Packit db064d
       }; then :
Packit db064d
  ac_retval=0
Packit db064d
else
Packit db064d
  $as_echo "$as_me: failed program was:" >&5
Packit db064d
sed 's/^/| /' conftest.$ac_ext >&5
Packit db064d
Packit db064d
	ac_retval=1
Packit db064d
fi
Packit db064d
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
Packit db064d
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
Packit db064d
  # interfere with the next link command; also delete a directory that is
Packit db064d
  # left behind by Apple's compiler.  We do this before executing the actions.
Packit db064d
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
Packit db064d
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
Packit db064d
  as_fn_set_status $ac_retval
Packit db064d
Packit db064d
} # ac_fn_c_try_link
Packit db064d
Packit db064d
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
Packit db064d
# -------------------------------------------------------
Packit db064d
# Tests whether HEADER exists and can be compiled using the include files in
Packit db064d
# INCLUDES, setting the cache variable VAR accordingly.
Packit db064d
ac_fn_c_check_header_compile ()
Packit db064d
{
Packit db064d
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
Packit db064d
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
Packit db064d
$as_echo_n "checking for $2... " >&6; }
Packit db064d
if eval \${$3+:} false; then :
Packit db064d
  $as_echo_n "(cached) " >&6
Packit db064d
else
Packit db064d
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Packit db064d
/* end confdefs.h.  */
Packit db064d
$4
Packit db064d
#include <$2>
Packit db064d
_ACEOF
Packit db064d
if ac_fn_c_try_compile "$LINENO"; then :
Packit db064d
  eval "$3=yes"
Packit db064d
else
Packit db064d
  eval "$3=no"
Packit db064d
fi
Packit db064d
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
Packit db064d
fi
Packit db064d
eval ac_res=\$$3
Packit db064d
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
Packit db064d
$as_echo "$ac_res" >&6; }
Packit db064d
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
Packit db064d
Packit db064d
} # ac_fn_c_check_header_compile
Packit db064d
Packit db064d
# ac_fn_c_try_cpp LINENO
Packit db064d
# ----------------------
Packit db064d
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
Packit db064d
ac_fn_c_try_cpp ()
Packit db064d
{
Packit db064d
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
Packit db064d
  if { { ac_try="$ac_cpp conftest.$ac_ext"
Packit db064d
case "(($ac_try" in
Packit db064d
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
Packit db064d
  *) ac_try_echo=$ac_try;;
Packit db064d
esac
Packit db064d
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
Packit db064d
$as_echo "$ac_try_echo"; } >&5
Packit db064d
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
Packit db064d
  ac_status=$?
Packit db064d
  if test -s conftest.err; then
Packit db064d
    grep -v '^ *+' conftest.err >conftest.er1
Packit db064d
    cat conftest.er1 >&5
Packit db064d
    mv -f conftest.er1 conftest.err
Packit db064d
  fi
Packit db064d
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
Packit db064d
  test $ac_status = 0; } > conftest.i && {
Packit db064d
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
Packit db064d
	 test ! -s conftest.err
Packit db064d
       }; then :
Packit db064d
  ac_retval=0
Packit db064d
else
Packit db064d
  $as_echo "$as_me: failed program was:" >&5
Packit db064d
sed 's/^/| /' conftest.$ac_ext >&5
Packit db064d
Packit db064d
    ac_retval=1
Packit db064d
fi
Packit db064d
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
Packit db064d
  as_fn_set_status $ac_retval
Packit db064d
Packit db064d
} # ac_fn_c_try_cpp
Packit db064d
Packit db064d
# ac_fn_c_try_run LINENO
Packit db064d
# ----------------------
Packit db064d
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
Packit db064d
# that executables *can* be run.
Packit db064d
ac_fn_c_try_run ()
Packit db064d
{
Packit db064d
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
Packit db064d
  if { { ac_try="$ac_link"
Packit db064d
case "(($ac_try" in
Packit db064d
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
Packit db064d
  *) ac_try_echo=$ac_try;;
Packit db064d
esac
Packit db064d
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
Packit db064d
$as_echo "$ac_try_echo"; } >&5
Packit db064d
  (eval "$ac_link") 2>&5
Packit db064d
  ac_status=$?
Packit db064d
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
Packit db064d
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
Packit db064d
  { { case "(($ac_try" in
Packit db064d
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
Packit db064d
  *) ac_try_echo=$ac_try;;
Packit db064d
esac
Packit db064d
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
Packit db064d
$as_echo "$ac_try_echo"; } >&5
Packit db064d
  (eval "$ac_try") 2>&5
Packit db064d
  ac_status=$?
Packit db064d
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
Packit db064d
  test $ac_status = 0; }; }; then :
Packit db064d
  ac_retval=0
Packit db064d
else
Packit db064d
  $as_echo "$as_me: program exited with status $ac_status" >&5
Packit db064d
       $as_echo "$as_me: failed program was:" >&5
Packit db064d
sed 's/^/| /' conftest.$ac_ext >&5
Packit db064d
Packit db064d
       ac_retval=$ac_status
Packit db064d
fi
Packit db064d
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
Packit db064d
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
Packit db064d
  as_fn_set_status $ac_retval
Packit db064d
Packit db064d
} # ac_fn_c_try_run
Packit db064d
Packit db064d
# ac_fn_c_check_func LINENO FUNC VAR
Packit db064d
# ----------------------------------
Packit db064d
# Tests whether FUNC exists, setting the cache variable VAR accordingly
Packit db064d
ac_fn_c_check_func ()
Packit db064d
{
Packit db064d
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
Packit db064d
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
Packit db064d
$as_echo_n "checking for $2... " >&6; }
Packit db064d
if eval \${$3+:} false; then :
Packit db064d
  $as_echo_n "(cached) " >&6
Packit db064d
else
Packit db064d
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Packit db064d
/* end confdefs.h.  */
Packit db064d
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
Packit db064d
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
Packit db064d
#define $2 innocuous_$2
Packit db064d
Packit db064d
/* System header to define __stub macros and hopefully few prototypes,
Packit db064d
    which can conflict with char $2 (); below.
Packit db064d
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
Packit db064d
    <limits.h> exists even on freestanding compilers.  */
Packit db064d
Packit db064d
#ifdef __STDC__
Packit db064d
# include <limits.h>
Packit db064d
#else
Packit db064d
# include <assert.h>
Packit db064d
#endif
Packit db064d
Packit db064d
#undef $2
Packit db064d
Packit db064d
/* Override any GCC internal prototype to avoid an error.
Packit db064d
   Use char because int might match the return type of a GCC
Packit db064d
   builtin and then its argument prototype would still apply.  */
Packit db064d
#ifdef __cplusplus
Packit db064d
extern "C"
Packit db064d
#endif
Packit db064d
char $2 ();
Packit db064d
/* The GNU C library defines this for functions which it implements
Packit db064d
    to always fail with ENOSYS.  Some functions are actually named
Packit db064d
    something starting with __ and the normal name is an alias.  */
Packit db064d
#if defined __stub_$2 || defined __stub___$2
Packit db064d
choke me
Packit db064d
#endif
Packit db064d
Packit db064d
int
Packit db064d
main ()
Packit db064d
{
Packit db064d
return $2 ();
Packit db064d
  ;
Packit db064d
  return 0;
Packit db064d
}
Packit db064d
_ACEOF
Packit db064d
if ac_fn_c_try_link "$LINENO"; then :
Packit db064d
  eval "$3=yes"
Packit db064d
else
Packit db064d
  eval "$3=no"
Packit db064d
fi
Packit db064d
rm -f core conftest.err conftest.$ac_objext \
Packit db064d
    conftest$ac_exeext conftest.$ac_ext
Packit db064d
fi
Packit db064d
eval ac_res=\$$3
Packit db064d
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
Packit db064d
$as_echo "$ac_res" >&6; }
Packit db064d
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
Packit db064d
Packit db064d
} # ac_fn_c_check_func
Packit db064d
Packit db064d
# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
Packit db064d
# ----------------------------------------------------
Packit db064d
# Tries to find if the field MEMBER exists in type AGGR, after including
Packit db064d
# INCLUDES, setting cache variable VAR accordingly.
Packit db064d
ac_fn_c_check_member ()
Packit db064d
{
Packit db064d
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
Packit db064d
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
Packit db064d
$as_echo_n "checking for $2.$3... " >&6; }
Packit db064d
if eval \${$4+:} false; then :
Packit db064d
  $as_echo_n "(cached) " >&6
Packit db064d
else
Packit db064d
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Packit db064d
/* end confdefs.h.  */
Packit db064d
$5
Packit db064d
int
Packit db064d
main ()
Packit db064d
{
Packit db064d
static $2 ac_aggr;
Packit db064d
if (ac_aggr.$3)
Packit db064d
return 0;
Packit db064d
  ;
Packit db064d
  return 0;
Packit db064d
}
Packit db064d
_ACEOF
Packit db064d
if ac_fn_c_try_compile "$LINENO"; then :
Packit db064d
  eval "$4=yes"
Packit db064d
else
Packit db064d
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Packit db064d
/* end confdefs.h.  */
Packit db064d
$5
Packit db064d
int
Packit db064d
main ()
Packit db064d
{
Packit db064d
static $2 ac_aggr;
Packit db064d
if (sizeof ac_aggr.$3)
Packit db064d
return 0;
Packit db064d
  ;
Packit db064d
  return 0;
Packit db064d
}
Packit db064d
_ACEOF
Packit db064d
if ac_fn_c_try_compile "$LINENO"; then :
Packit db064d
  eval "$4=yes"
Packit db064d
else
Packit db064d
  eval "$4=no"
Packit db064d
fi
Packit db064d
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
Packit db064d
fi
Packit db064d
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
Packit db064d
fi
Packit db064d
eval ac_res=\$$4
Packit db064d
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
Packit db064d
$as_echo "$ac_res" >&6; }
Packit db064d
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
Packit db064d
Packit db064d
} # ac_fn_c_check_member
Packit db064d
Packit db064d
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
Packit db064d
# -------------------------------------------------------
Packit db064d
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
Packit db064d
# the include files in INCLUDES and setting the cache variable VAR
Packit db064d
# accordingly.
Packit db064d
ac_fn_c_check_header_mongrel ()
Packit db064d
{
Packit db064d
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
Packit db064d
  if eval \${$3+:} false; then :
Packit db064d
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
Packit db064d
$as_echo_n "checking for $2... " >&6; }
Packit db064d
if eval \${$3+:} false; then :
Packit db064d
  $as_echo_n "(cached) " >&6
Packit db064d
fi
Packit db064d
eval ac_res=\$$3
Packit db064d
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
Packit db064d
$as_echo "$ac_res" >&6; }
Packit db064d
else
Packit db064d
  # Is the header compilable?
Packit db064d
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
Packit db064d
$as_echo_n "checking $2 usability... " >&6; }
Packit db064d
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Packit db064d
/* end confdefs.h.  */
Packit db064d
$4
Packit db064d
#include <$2>
Packit db064d
_ACEOF
Packit db064d
if ac_fn_c_try_compile "$LINENO"; then :
Packit db064d
  ac_header_compiler=yes
Packit db064d
else
Packit db064d
  ac_header_compiler=no
Packit db064d
fi
Packit db064d
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
Packit db064d
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
Packit db064d
$as_echo "$ac_header_compiler" >&6; }
Packit db064d
Packit db064d
# Is the header present?
Packit db064d
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
Packit db064d
$as_echo_n "checking $2 presence... " >&6; }
Packit db064d
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Packit db064d
/* end confdefs.h.  */
Packit db064d
#include <$2>
Packit db064d
_ACEOF
Packit db064d
if ac_fn_c_try_cpp "$LINENO"; then :
Packit db064d
  ac_header_preproc=yes
Packit db064d
else
Packit db064d
  ac_header_preproc=no
Packit db064d
fi
Packit db064d
rm -f conftest.err conftest.i conftest.$ac_ext
Packit db064d
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
Packit db064d
$as_echo "$ac_header_preproc" >&6; }
Packit db064d
Packit db064d
# So?  What about this header?
Packit db064d
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
Packit db064d
  yes:no: )
Packit db064d
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
Packit db064d
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
Packit db064d
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
Packit db064d
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
Packit db064d
    ;;
Packit db064d
  no:yes:* )
Packit db064d
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
Packit db064d
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
Packit db064d
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
Packit db064d
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
Packit db064d
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
Packit db064d
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
Packit db064d
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
Packit db064d
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
Packit db064d
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
Packit db064d
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
Packit db064d
( $as_echo "## ----------------------------------------- ##
Packit db064d
## Report this to linux-rdma@vger.kernel.org ##
Packit db064d
## ----------------------------------------- ##"
Packit db064d
     ) | sed "s/^/$as_me: WARNING:     /" >&2
Packit db064d
    ;;
Packit db064d
esac
Packit db064d
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
Packit db064d
$as_echo_n "checking for $2... " >&6; }
Packit db064d
if eval \${$3+:} false; then :
Packit db064d
  $as_echo_n "(cached) " >&6
Packit db064d
else
Packit db064d
  eval "$3=\$ac_header_compiler"
Packit db064d
fi
Packit db064d
eval ac_res=\$$3
Packit db064d
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
Packit db064d
$as_echo "$ac_res" >&6; }
Packit db064d
fi
Packit db064d
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
Packit db064d
Packit db064d
} # ac_fn_c_check_header_mongrel
Packit db064d
cat >config.log <<_ACEOF
Packit db064d
This file contains any messages produced by compilers while
Packit db064d
running configure, to aid debugging if configure makes a mistake.
Packit db064d
Packit db064d
It was created by infiniband-diags $as_me 2.2.0, which was
Packit db064d
generated by GNU Autoconf 2.69.  Invocation command line was
Packit db064d
Packit db064d
  $ $0 $@
Packit db064d
Packit db064d
_ACEOF
Packit db064d
exec 5>>config.log
Packit db064d
{
Packit db064d
cat <<_ASUNAME
Packit db064d
## --------- ##
Packit db064d
## Platform. ##
Packit db064d
## --------- ##
Packit db064d
Packit db064d
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
Packit db064d
uname -m = `(uname -m) 2>/dev/null || echo unknown`
Packit db064d
uname -r = `(uname -r) 2>/dev/null || echo unknown`
Packit db064d
uname -s = `(uname -s) 2>/dev/null || echo unknown`
Packit db064d
uname -v = `(uname -v) 2>/dev/null || echo unknown`
Packit db064d
Packit db064d
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
Packit db064d
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
Packit db064d
Packit db064d
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
Packit db064d
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
Packit db064d
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
Packit db064d
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
Packit db064d
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
Packit db064d
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
Packit db064d
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
Packit db064d
Packit db064d
_ASUNAME
Packit db064d
Packit db064d
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
Packit db064d
for as_dir in $PATH
Packit db064d
do
Packit db064d
  IFS=$as_save_IFS
Packit db064d
  test -z "$as_dir" && as_dir=.
Packit db064d
    $as_echo "PATH: $as_dir"
Packit db064d
  done
Packit db064d
IFS=$as_save_IFS
Packit db064d
Packit db064d
} >&5
Packit db064d
Packit db064d
cat >&5 <<_ACEOF
Packit db064d
Packit db064d
Packit db064d
## ----------- ##
Packit db064d
## Core tests. ##
Packit db064d
## ----------- ##
Packit db064d
Packit db064d
_ACEOF
Packit db064d
Packit db064d
Packit db064d
# Keep a trace of the command line.
Packit db064d
# Strip out --no-create and --no-recursion so they do not pile up.
Packit db064d
# Strip out --silent because we don't want to record it for future runs.
Packit db064d
# Also quote any args containing shell meta-characters.
Packit db064d
# Make two passes to allow for proper duplicate-argument suppression.
Packit db064d
ac_configure_args=
Packit db064d
ac_configure_args0=
Packit db064d
ac_configure_args1=
Packit db064d
ac_must_keep_next=false
Packit db064d
for ac_pass in 1 2
Packit db064d
do
Packit db064d
  for ac_arg
Packit db064d
  do
Packit db064d
    case $ac_arg in
Packit db064d
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
Packit db064d
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
Packit db064d
    | -silent | --silent | --silen | --sile | --sil)
Packit db064d
      continue ;;
Packit db064d
    *\'*)
Packit db064d
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
Packit db064d
    esac
Packit db064d
    case $ac_pass in
Packit db064d
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
Packit db064d
    2)
Packit db064d
      as_fn_append ac_configure_args1 " '$ac_arg'"
Packit db064d
      if test $ac_must_keep_next = true; then
Packit db064d
	ac_must_keep_next=false # Got value, back to normal.
Packit db064d
      else
Packit db064d
	case $ac_arg in
Packit db064d
	  *=* | --config-cache | -C | -disable-* | --disable-* \
Packit db064d
	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
Packit db064d
	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
Packit db064d
	  | -with-* | --with-* | -without-* | --without-* | --x)
Packit db064d
	    case "$ac_configure_args0 " in
Packit db064d
	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
Packit db064d
	    esac
Packit db064d
	    ;;
Packit db064d
	  -* ) ac_must_keep_next=true ;;
Packit db064d
	esac
Packit db064d
      fi
Packit db064d
      as_fn_append ac_configure_args " '$ac_arg'"
Packit db064d
      ;;
Packit db064d
    esac
Packit db064d
  done
Packit db064d
done
Packit db064d
{ ac_configure_args0=; unset ac_configure_args0;}
Packit db064d
{ ac_configure_args1=; unset ac_configure_args1;}
Packit db064d
Packit db064d
# When interrupted or exit'd, cleanup temporary files, and complete
Packit db064d
# config.log.  We remove comments because anyway the quotes in there
Packit db064d
# would cause problems or look ugly.
Packit db064d
# WARNING: Use '\'' to represent an apostrophe within the trap.
Packit db064d
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
Packit db064d
trap 'exit_status=$?
Packit db064d
  # Save into config.log some information that might help in debugging.
Packit db064d
  {
Packit db064d
    echo
Packit db064d
Packit db064d
    $as_echo "## ---------------- ##
Packit db064d
## Cache variables. ##
Packit db064d
## ---------------- ##"
Packit db064d
    echo
Packit db064d
    # The following way of writing the cache mishandles newlines in values,
Packit db064d
(
Packit db064d
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
Packit db064d
    eval ac_val=\$$ac_var
Packit db064d
    case $ac_val in #(
Packit db064d
    *${as_nl}*)
Packit db064d
      case $ac_var in #(
Packit db064d
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
Packit db064d
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
Packit db064d
      esac
Packit db064d
      case $ac_var in #(
Packit db064d
      _ | IFS | as_nl) ;; #(
Packit db064d
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
Packit db064d
      *) { eval $ac_var=; unset $ac_var;} ;;
Packit db064d
      esac ;;
Packit db064d
    esac
Packit db064d
  done
Packit db064d
  (set) 2>&1 |
Packit db064d
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
Packit db064d
    *${as_nl}ac_space=\ *)
Packit db064d
      sed -n \
Packit db064d
	"s/'\''/'\''\\\\'\'''\''/g;
Packit db064d
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
Packit db064d
      ;; #(
Packit db064d
    *)
Packit db064d
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
Packit db064d
      ;;
Packit db064d
    esac |
Packit db064d
    sort
Packit db064d
)
Packit db064d
    echo
Packit db064d
Packit db064d
    $as_echo "## ----------------- ##
Packit db064d
## Output variables. ##
Packit db064d
## ----------------- ##"
Packit db064d
    echo
Packit db064d
    for ac_var in $ac_subst_vars
Packit db064d
    do
Packit db064d
      eval ac_val=\$$ac_var
Packit db064d
      case $ac_val in
Packit db064d
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
Packit db064d
      esac
Packit db064d
      $as_echo "$ac_var='\''$ac_val'\''"
Packit db064d
    done | sort
Packit db064d
    echo
Packit db064d
Packit db064d
    if test -n "$ac_subst_files"; then
Packit db064d
      $as_echo "## ------------------- ##
Packit db064d
## File substitutions. ##
Packit db064d
## ------------------- ##"
Packit db064d
      echo
Packit db064d
      for ac_var in $ac_subst_files
Packit db064d
      do
Packit db064d
	eval ac_val=\$$ac_var
Packit db064d
	case $ac_val in
Packit db064d
	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
Packit db064d
	esac
Packit db064d
	$as_echo "$ac_var='\''$ac_val'\''"
Packit db064d
      done | sort
Packit db064d
      echo
Packit db064d
    fi
Packit db064d
Packit db064d
    if test -s confdefs.h; then
Packit db064d
      $as_echo "## ----------- ##
Packit db064d
## confdefs.h. ##
Packit db064d
## ----------- ##"
Packit db064d
      echo
Packit db064d
      cat confdefs.h
Packit db064d
      echo
Packit db064d
    fi
Packit db064d
    test "$ac_signal" != 0 &&
Packit db064d
      $as_echo "$as_me: caught signal $ac_signal"
Packit db064d
    $as_echo "$as_me: exit $exit_status"
Packit db064d
  } >&5
Packit db064d
  rm -f core *.core core.conftest.* &&
Packit db064d
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
Packit db064d
    exit $exit_status
Packit db064d
' 0
Packit db064d
for ac_signal in 1 2 13 15; do
Packit db064d
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
Packit db064d
done
Packit db064d
ac_signal=0
Packit db064d
Packit db064d
# confdefs.h avoids OS command line length limits that DEFS can exceed.
Packit db064d
rm -f -r conftest* confdefs.h
Packit db064d
Packit db064d
$as_echo "/* confdefs.h */" > confdefs.h
Packit db064d
Packit db064d
# Predefined preprocessor variables.
Packit db064d
Packit db064d
cat >>confdefs.h <<_ACEOF
Packit db064d
#define PACKAGE_NAME "$PACKAGE_NAME"
Packit db064d
_ACEOF
Packit db064d
Packit db064d
cat >>confdefs.h <<_ACEOF
Packit db064d
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
Packit db064d
_ACEOF
Packit db064d
Packit db064d
cat >>confdefs.h <<_ACEOF
Packit db064d
#define PACKAGE_VERSION "$PACKAGE_VERSION"
Packit db064d
_ACEOF
Packit db064d
Packit db064d
cat >>confdefs.h <<_ACEOF
Packit db064d
#define PACKAGE_STRING "$PACKAGE_STRING"
Packit db064d
_ACEOF
Packit db064d
Packit db064d
cat >>confdefs.h <<_ACEOF
Packit db064d
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
Packit db064d
_ACEOF
Packit db064d
Packit db064d
cat >>confdefs.h <<_ACEOF
Packit db064d
#define PACKAGE_URL "$PACKAGE_URL"
Packit db064d
_ACEOF
Packit db064d
Packit db064d
Packit db064d
# Let the site file select an alternate cache file if it wants to.
Packit db064d
# Prefer an explicitly selected file to automatically selected ones.
Packit db064d
ac_site_file1=NONE
Packit db064d
ac_site_file2=NONE
Packit db064d
if test -n "$CONFIG_SITE"; then
Packit db064d
  # We do not want a PATH search for config.site.
Packit db064d
  case $CONFIG_SITE in #((
Packit db064d
    -*)  ac_site_file1=./$CONFIG_SITE;;
Packit db064d
    */*) ac_site_file1=$CONFIG_SITE;;
Packit db064d
    *)   ac_site_file1=./$CONFIG_SITE;;
Packit db064d
  esac
Packit db064d
elif test "x$prefix" != xNONE; then
Packit db064d
  ac_site_file1=$prefix/share/config.site
Packit db064d
  ac_site_file2=$prefix/etc/config.site
Packit db064d
else
Packit db064d
  ac_site_file1=$ac_default_prefix/share/config.site
Packit db064d
  ac_site_file2=$ac_default_prefix/etc/config.site
Packit db064d
fi
Packit db064d
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
Packit db064d
do
Packit db064d
  test "x$ac_site_file" = xNONE && continue
Packit db064d
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
Packit db064d
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
Packit db064d
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
Packit db064d
    sed 's/^/| /' "$ac_site_file" >&5
Packit db064d
    . "$ac_site_file" \
Packit db064d
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
Packit db064d
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
Packit db064d
as_fn_error $? "failed to load site script $ac_site_file
Packit db064d
See \`config.log' for more details" "$LINENO" 5; }
Packit db064d
  fi
Packit db064d
done
Packit db064d
Packit db064d
if test -r "$cache_file"; then
Packit db064d
  # Some versions of bash will fail to source /dev/null (special files
Packit db064d
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
Packit db064d
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
Packit db064d
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
Packit db064d
$as_echo "$as_me: loading cache $cache_file" >&6;}
Packit db064d
    case $cache_file in
Packit db064d
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
Packit db064d
      *)                      . "./$cache_file";;
Packit db064d
    esac
Packit db064d
  fi
Packit db064d
else
Packit db064d
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
Packit db064d
$as_echo "$as_me: creating cache $cache_file" >&6;}
Packit db064d
  >$cache_file
Packit db064d
fi
Packit db064d
Packit db064d
# Check that the precious variables saved in the cache have kept the same
Packit db064d
# value.
Packit db064d
ac_cache_corrupted=false
Packit db064d
for ac_var in $ac_precious_vars; do
Packit db064d
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
Packit db064d
  eval ac_new_set=\$ac_env_${ac_var}_set
Packit db064d
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
Packit db064d
  eval ac_new_val=\$ac_env_${ac_var}_value
Packit db064d
  case $ac_old_set,$ac_new_set in
Packit db064d
    set,)
Packit db064d
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
Packit db064d
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
Packit db064d
      ac_cache_corrupted=: ;;
Packit db064d
    ,set)
Packit db064d
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
Packit db064d
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
Packit db064d
      ac_cache_corrupted=: ;;
Packit db064d
    ,);;
Packit db064d
    *)
Packit db064d
      if test "x$ac_old_val" != "x$ac_new_val"; then
Packit db064d
	# differences in whitespace do not lead to failure.
Packit db064d
	ac_old_val_w=`echo x $ac_old_val`
Packit db064d
	ac_new_val_w=`echo x $ac_new_val`
Packit db064d
	if test "$ac_old_val_w" != "$ac_new_val_w"; then
Packit db064d
	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
Packit db064d
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
Packit db064d
	  ac_cache_corrupted=:
Packit db064d
	else
Packit db064d
	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
Packit db064d
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
Packit db064d
	  eval $ac_var=\$ac_old_val
Packit db064d
	fi
Packit db064d
	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
Packit db064d
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
Packit db064d
	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
Packit db064d
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
Packit db064d
      fi;;
Packit db064d
  esac
Packit db064d
  # Pass precious variables to config.status.
Packit db064d
  if test "$ac_new_set" = set; then
Packit db064d
    case $ac_new_val in
Packit db064d
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
Packit db064d
    *) ac_arg=$ac_var=$ac_new_val ;;
Packit db064d
    esac
Packit db064d
    case " $ac_configure_args " in
Packit db064d
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
Packit db064d
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
Packit db064d
    esac
Packit db064d
  fi
Packit db064d
done
Packit db064d
if $ac_cache_corrupted; then
Packit db064d
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
Packit db064d
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
Packit db064d
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
Packit db064d
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
Packit db064d
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
Packit db064d
fi
Packit db064d
## -------------------- ##
Packit db064d
## Main body of script. ##
Packit db064d
## -------------------- ##
Packit db064d
Packit db064d
ac_ext=c
Packit db064d
ac_cpp='$CPP $CPPFLAGS'
Packit db064d
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
Packit db064d
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
Packit db064d
ac_compiler_gnu=$ac_cv_c_compiler_gnu
Packit db064d
Packit db064d
Packit db064d
ac_aux_dir=
Packit db064d
for ac_dir in config "$srcdir"/config; do
Packit db064d
  if test -f "$ac_dir/install-sh"; then
Packit db064d
    ac_aux_dir=$ac_dir
Packit db064d
    ac_install_sh="$ac_aux_dir/install-sh -c"
Packit db064d
    break
Packit db064d
  elif test -f "$ac_dir/install.sh"; then
Packit db064d
    ac_aux_dir=$ac_dir
Packit db064d
    ac_install_sh="$ac_aux_dir/install.sh -c"
Packit db064d
    break
Packit db064d
  elif test -f "$ac_dir/shtool"; then
Packit db064d
    ac_aux_dir=$ac_dir
Packit db064d
    ac_install_sh="$ac_aux_dir/shtool install -c"
Packit db064d
    break
Packit db064d
  fi
Packit db064d
done
Packit db064d
if test -z "$ac_aux_dir"; then
Packit db064d
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
Packit db064d
fi
Packit db064d
Packit db064d
# These three variables are undocumented and unsupported,
Packit db064d
# and are intended to be withdrawn in a future Autoconf release.
Packit db064d
# They can cause serious problems if a builder's source tree is in a directory
Packit db064d
# whose full name contains unusual characters.
Packit db064d
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
Packit db064d
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
Packit db064d
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
Packit db064d
Packit db064d
Packit db064d
Packit db064d
ac_config_headers="$ac_config_headers config.h"
Packit db064d
Packit db064d
am__api_version='1.16'
Packit db064d
Packit db064d
# Find a good install program.  We prefer a C program (faster),
Packit db064d
# so one script is as good as another.  But avoid the broken or
Packit db064d
# incompatible versions:
Packit db064d
# SysV /etc/install, /usr/sbin/install
Packit db064d
# SunOS /usr/etc/install
Packit db064d
# IRIX /sbin/install
Packit db064d
# AIX /bin/install
Packit db064d
# AmigaOS /C/install, which installs bootblocks on floppy discs
Packit db064d
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
Packit db064d
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
Packit db064d
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
Packit db064d
# OS/2's system install, which has a completely different semantic
Packit db064d
# ./install, which can be erroneously created by make from ./install.sh.
Packit db064d
# Reject install programs that cannot install multiple files.
Packit db064d
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
Packit db064d
$as_echo_n "checking for a BSD-compatible install... " >&6; }
Packit db064d
if test -z "$INSTALL"; then
Packit db064d
if ${ac_cv_path_install+:} false; then :
Packit db064d
  $as_echo_n "(cached) " >&6
Packit db064d
else
Packit db064d
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
Packit db064d
for as_dir in $PATH
Packit db064d
do
Packit db064d
  IFS=$as_save_IFS
Packit db064d
  test -z "$as_dir" && as_dir=.
Packit db064d
    # Account for people who put trailing slashes in PATH elements.
Packit db064d
case $as_dir/ in #((
Packit db064d
  ./ | .// | /[cC]/* | \
Packit db064d
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
Packit db064d
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
Packit db064d
  /usr/ucb/* ) ;;
Packit db064d
  *)
Packit db064d
    # OSF1 and SCO ODT 3.0 have their own names for install.
Packit db064d
    # Don't use installbsd from OSF since it installs stuff as root
Packit db064d
    # by default.
Packit db064d
    for ac_prog in ginstall scoinst install; do
Packit db064d
      for ac_exec_ext in '' $ac_executable_extensions; do
Packit db064d
	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
Packit db064d
	  if test $ac_prog = install &&
Packit db064d
	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
Packit db064d
	    # AIX install.  It has an incompatible calling convention.
Packit db064d
	    :
Packit db064d
	  elif test $ac_prog = install &&
Packit db064d
	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
Packit db064d
	    # program-specific install script used by HP pwplus--don't use.
Packit db064d
	    :
Packit db064d
	  else
Packit db064d
	    rm -rf conftest.one conftest.two conftest.dir
Packit db064d
	    echo one > conftest.one
Packit db064d
	    echo two > conftest.two
Packit db064d
	    mkdir conftest.dir
Packit db064d
	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
Packit db064d
	      test -s conftest.one && test -s conftest.two &&
Packit db064d
	      test -s conftest.dir/conftest.one &&
Packit db064d
	      test -s conftest.dir/conftest.two
Packit db064d
	    then
Packit db064d
	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
Packit db064d
	      break 3
Packit db064d
	    fi
Packit db064d
	  fi
Packit db064d
	fi
Packit db064d
      done
Packit db064d
    done
Packit db064d
    ;;
Packit db064d
esac
Packit db064d
Packit db064d
  done
Packit db064d
IFS=$as_save_IFS
Packit db064d
Packit db064d
rm -rf conftest.one conftest.two conftest.dir
Packit db064d
Packit db064d
fi
Packit db064d
  if test "${ac_cv_path_install+set}" = set; then
Packit db064d
    INSTALL=$ac_cv_path_install
Packit db064d
  else
Packit db064d
    # As a last resort, use the slow shell script.  Don't cache a
Packit db064d
    # value for INSTALL within a source directory, because that will
Packit db064d
    # break other packages using the cache if that directory is
Packit db064d
    # removed, or if the value is a relative name.
Packit db064d
    INSTALL=$ac_install_sh
Packit db064d
  fi
Packit db064d
fi
Packit db064d
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
Packit db064d
$as_echo "$INSTALL" >&6; }
Packit db064d
Packit db064d
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
Packit db064d
# It thinks the first close brace ends the variable substitution.
Packit db064d
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
Packit db064d
Packit db064d
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
Packit db064d
Packit db064d
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
Packit db064d
Packit db064d
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
Packit db064d
$as_echo_n "checking whether build environment is sane... " >&6; }
Packit db064d
# Reject unsafe characters in $srcdir or the absolute working directory
Packit db064d
# name.  Accept space and tab only in the latter.
Packit db064d
am_lf='
Packit db064d
'
Packit db064d
case `pwd` in
Packit db064d
  *[\\\"\#\$\&\'\`$am_lf]*)
Packit db064d
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
Packit db064d
esac
Packit db064d
case $srcdir in
Packit db064d
  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
Packit db064d
    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
Packit db064d
esac
Packit db064d
Packit db064d
# Do 'set' in a subshell so we don't clobber the current shell's
Packit db064d
# arguments.  Must try -L first in case configure is actually a
Packit db064d
# symlink; some systems play weird games with the mod time of symlinks
Packit db064d
# (eg FreeBSD returns the mod time of the symlink's containing
Packit db064d
# directory).
Packit db064d
if (
Packit db064d
   am_has_slept=no
Packit db064d
   for am_try in 1 2; do
Packit db064d
     echo "timestamp, slept: $am_has_slept" > conftest.file
Packit db064d
     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
Packit db064d
     if test "$*" = "X"; then
Packit db064d
	# -L didn't work.
Packit db064d
	set X `ls -t "$srcdir/configure" conftest.file`
Packit db064d
     fi
Packit db064d
     if test "$*" != "X $srcdir/configure conftest.file" \
Packit db064d
	&& test "$*" != "X conftest.file $srcdir/configure"; then
Packit db064d
Packit db064d
	# If neither matched, then we have a broken ls.  This can happen
Packit db064d
	# if, for instance, CONFIG_SHELL is bash and it inherits a
Packit db064d
	# broken ls alias from the environment.  This has actually
Packit db064d
	# happened.  Such a system could not be considered "sane".
Packit db064d
	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
Packit db064d
  alias in your environment" "$LINENO" 5
Packit db064d
     fi
Packit db064d
     if test "$2" = conftest.file || test $am_try -eq 2; then
Packit db064d
       break
Packit db064d
     fi
Packit db064d
     # Just in case.
Packit db064d
     sleep 1
Packit db064d
     am_has_slept=yes
Packit db064d
   done
Packit db064d
   test "$2" = conftest.file
Packit db064d
   )
Packit db064d
then
Packit db064d
   # Ok.
Packit db064d
   :
Packit db064d
else
Packit db064d
   as_fn_error $? "newly created file is older than distributed files!
Packit db064d
Check your system clock" "$LINENO" 5
Packit db064d
fi
Packit db064d
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
Packit db064d
$as_echo "yes" >&6; }
Packit db064d
# If we didn't sleep, we still need to ensure time stamps of config.status and
Packit db064d
# generated files are strictly newer.
Packit db064d
am_sleep_pid=
Packit db064d
if grep 'slept: no' conftest.file >/dev/null 2>&1; then
Packit db064d
  ( sleep 1 ) &
Packit db064d
  am_sleep_pid=$!
Packit db064d
fi
Packit db064d
Packit db064d
rm -f conftest.file
Packit db064d
Packit db064d
test "$program_prefix" != NONE &&
Packit db064d
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
Packit db064d
# Use a double $ so make ignores it.
Packit db064d
test "$program_suffix" != NONE &&
Packit db064d
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
Packit db064d
# Double any \ or $.
Packit db064d
# By default was `s,x,x', remove it if useless.
Packit db064d
ac_script='s/[\\$]/&&/;;s/;s,x,x,$//'
Packit db064d
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
Packit db064d
Packit db064d
# Expand $ac_aux_dir to an absolute path.
Packit db064d
am_aux_dir=`cd "$ac_aux_dir" && pwd`
Packit db064d
Packit db064d
if test x"${MISSING+set}" != xset; then
Packit db064d
  case $am_aux_dir in
Packit db064d
  *\ * | *\	*)
Packit db064d
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
Packit db064d
  *)
Packit db064d
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
Packit db064d
  esac
Packit db064d
fi
Packit db064d
# Use eval to expand $SHELL
Packit db064d
if eval "$MISSING --is-lightweight"; then
Packit db064d
  am_missing_run="$MISSING "
Packit db064d
else
Packit db064d
  am_missing_run=
Packit db064d
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
Packit db064d
$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
Packit db064d
fi
Packit db064d
Packit db064d
if test x"${install_sh+set}" != xset; then
Packit db064d
  case $am_aux_dir in
Packit db064d
  *\ * | *\	*)
Packit db064d
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
Packit db064d
  *)
Packit db064d
    install_sh="\${SHELL} $am_aux_dir/install-sh"
Packit db064d
  esac
Packit db064d
fi
Packit db064d
Packit db064d
# Installed binaries are usually stripped using 'strip' when the user
Packit db064d
# run "make install-strip".  However 'strip' might not be the right
Packit db064d
# tool to use in cross-compilation environments, therefore Automake
Packit db064d
# will honor the 'STRIP' environment variable to overrule this program.
Packit db064d
if test "$cross_compiling" != no; then
Packit db064d
  if test -n "$ac_tool_prefix"; then
Packit db064d
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
Packit db064d
set dummy ${ac_tool_prefix}strip; ac_word=$2
Packit db064d
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
Packit db064d
$as_echo_n "checking for $ac_word... " >&6; }
Packit db064d
if ${ac_cv_prog_STRIP+:} false; then :
Packit db064d
  $as_echo_n "(cached) " >&6
Packit db064d
else
Packit db064d
  if test -n "$STRIP"; then
Packit db064d
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
Packit db064d
else
Packit db064d
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
Packit db064d
for as_dir in $PATH
Packit db064d
do
Packit db064d
  IFS=$as_save_IFS
Packit db064d
  test -z "$as_dir" && as_dir=.
Packit db064d
    for ac_exec_ext in '' $ac_executable_extensions; do
Packit db064d
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
Packit db064d
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
Packit db064d
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
Packit db064d
    break 2
Packit db064d
  fi
Packit db064d
done
Packit db064d
  done
Packit db064d
IFS=$as_save_IFS
Packit db064d
Packit db064d
fi
Packit db064d
fi
Packit db064d
STRIP=$ac_cv_prog_STRIP
Packit db064d
if test -n "$STRIP"; then
Packit db064d
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
Packit db064d
$as_echo "$STRIP" >&6; }
Packit db064d
else
Packit db064d
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
Packit db064d
$as_echo "no" >&6; }
Packit db064d
fi
Packit db064d
Packit db064d
Packit db064d
fi
Packit db064d
if test -z "$ac_cv_prog_STRIP"; then
Packit db064d
  ac_ct_STRIP=$STRIP
Packit db064d
  # Extract the first word of "strip", so it can be a program name with args.
Packit db064d
set dummy strip; ac_word=$2
Packit db064d
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
Packit db064d
$as_echo_n "checking for $ac_word... " >&6; }
Packit db064d
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
Packit db064d
  $as_echo_n "(cached) " >&6
Packit db064d
else
Packit db064d
  if test -n "$ac_ct_STRIP"; then
Packit db064d
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
Packit db064d
else
Packit db064d
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
Packit db064d
for as_dir in $PATH
Packit db064d
do
Packit db064d
  IFS=$as_save_IFS
Packit db064d
  test -z "$as_dir" && as_dir=.
Packit db064d
    for ac_exec_ext in '' $ac_executable_extensions; do
Packit db064d
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
Packit db064d
    ac_cv_prog_ac_ct_STRIP="strip"
Packit db064d
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
Packit db064d
    break 2
Packit db064d
  fi
Packit db064d
done
Packit db064d
  done
Packit db064d
IFS=$as_save_IFS
Packit db064d
Packit db064d
fi
Packit db064d
fi
Packit db064d
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
Packit db064d
if test -n "$ac_ct_STRIP"; then
Packit db064d
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
Packit db064d
$as_echo "$ac_ct_STRIP" >&6; }
Packit db064d
else
Packit db064d
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
Packit db064d
$as_echo "no" >&6; }
Packit db064d
fi
Packit db064d
Packit db064d
  if test "x$ac_ct_STRIP" = x; then
Packit db064d
    STRIP=":"
Packit db064d
  else
Packit db064d
    case $cross_compiling:$ac_tool_warned in
Packit db064d
yes:)
Packit db064d
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
Packit db064d
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
Packit db064d
ac_tool_warned=yes ;;
Packit db064d
esac
Packit db064d
    STRIP=$ac_ct_STRIP
Packit db064d
  fi
Packit db064d
else
Packit db064d
  STRIP="$ac_cv_prog_STRIP"
Packit db064d
fi
Packit db064d
Packit db064d
fi
Packit db064d
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
Packit db064d
Packit db064d
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
Packit db064d
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
Packit db064d
if test -z "$MKDIR_P"; then
Packit db064d
  if ${ac_cv_path_mkdir+:} false; then :
Packit db064d
  $as_echo_n "(cached) " >&6
Packit db064d
else
Packit db064d
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
Packit db064d
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
Packit db064d
do
Packit db064d
  IFS=$as_save_IFS
Packit db064d
  test -z "$as_dir" && as_dir=.
Packit db064d
    for ac_prog in mkdir gmkdir; do
Packit db064d
	 for ac_exec_ext in '' $ac_executable_extensions; do
Packit db064d
	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
Packit db064d
	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
Packit db064d
	     'mkdir (GNU coreutils) '* | \
Packit db064d
	     'mkdir (coreutils) '* | \
Packit db064d
	     'mkdir (fileutils) '4.1*)
Packit db064d
	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
Packit db064d
	       break 3;;
Packit db064d
	   esac
Packit db064d
	 done
Packit db064d
       done
Packit db064d
  done
Packit db064d
IFS=$as_save_IFS
Packit db064d
Packit db064d
fi
Packit db064d
Packit db064d
  test -d ./--version && rmdir ./--version
Packit db064d
  if test "${ac_cv_path_mkdir+set}" = set; then
Packit db064d
    MKDIR_P="$ac_cv_path_mkdir -p"
Packit db064d
  else
Packit db064d
    # As a last resort, use the slow shell script.  Don't cache a
Packit db064d
    # value for MKDIR_P within a source directory, because that will
Packit db064d
    # break other packages using the cache if that directory is
Packit db064d
    # removed, or if the value is a relative name.
Packit db064d
    MKDIR_P="$ac_install_sh -d"
Packit db064d
  fi
Packit db064d
fi
Packit db064d
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
Packit db064d
$as_echo "$MKDIR_P" >&6; }
Packit db064d
Packit db064d
for ac_prog in gawk mawk nawk awk
Packit db064d
do
Packit db064d
  # Extract the first word of "$ac_prog", so it can be a program name with args.
Packit db064d
set dummy $ac_prog; ac_word=$2
Packit db064d
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
Packit db064d
$as_echo_n "checking for $ac_word... " >&6; }
Packit db064d
if ${ac_cv_prog_AWK+:} false; then :
Packit db064d
  $as_echo_n "(cached) " >&6
Packit db064d
else
Packit db064d
  if test -n "$AWK"; then
Packit db064d
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
Packit db064d
else
Packit db064d
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
Packit db064d
for as_dir in $PATH
Packit db064d
do
Packit db064d
  IFS=$as_save_IFS
Packit db064d
  test -z "$as_dir" && as_dir=.
Packit db064d
    for ac_exec_ext in '' $ac_executable_extensions; do
Packit db064d
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
Packit db064d
    ac_cv_prog_AWK="$ac_prog"
Packit db064d
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
Packit db064d
    break 2
Packit db064d
  fi
Packit db064d
done
Packit db064d
  done
Packit db064d
IFS=$as_save_IFS
Packit db064d
Packit db064d
fi
Packit db064d
fi
Packit db064d
AWK=$ac_cv_prog_AWK
Packit db064d
if test -n "$AWK"; then
Packit db064d
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
Packit db064d
$as_echo "$AWK" >&6; }
Packit db064d
else
Packit db064d
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
Packit db064d
$as_echo "no" >&6; }
Packit db064d
fi
Packit db064d
Packit db064d
Packit db064d
  test -n "$AWK" && break
Packit db064d
done
Packit db064d
Packit db064d
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
Packit db064d
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
Packit db064d
set x ${MAKE-make}
Packit db064d
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
Packit db064d
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
Packit db064d
  $as_echo_n "(cached) " >&6
Packit db064d
else
Packit db064d
  cat >conftest.make <<\_ACEOF
Packit db064d
SHELL = /bin/sh
Packit db064d
all:
Packit db064d
	@echo '@@@%%%=$(MAKE)=@@@%%%'
Packit db064d
_ACEOF
Packit db064d
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
Packit db064d
case `${MAKE-make} -f conftest.make 2>/dev/null` in
Packit db064d
  *@@@%%%=?*=@@@%%%*)
Packit db064d
    eval ac_cv_prog_make_${ac_make}_set=yes;;
Packit db064d
  *)
Packit db064d
    eval ac_cv_prog_make_${ac_make}_set=no;;
Packit db064d
esac
Packit db064d
rm -f conftest.make
Packit db064d
fi
Packit db064d
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
Packit db064d
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
Packit db064d
$as_echo "yes" >&6; }
Packit db064d
  SET_MAKE=
Packit db064d
else
Packit db064d
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
Packit db064d
$as_echo "no" >&6; }
Packit db064d
  SET_MAKE="MAKE=${MAKE-make}"
Packit db064d
fi
Packit db064d
Packit db064d
rm -rf .tst 2>/dev/null
Packit db064d
mkdir .tst 2>/dev/null
Packit db064d
if test -d .tst; then
Packit db064d
  am__leading_dot=.
Packit db064d
else
Packit db064d
  am__leading_dot=_
Packit db064d
fi
Packit db064d
rmdir .tst 2>/dev/null
Packit db064d
Packit db064d
# Check whether --enable-silent-rules was given.
Packit db064d
if test "${enable_silent_rules+set}" = set; then :
Packit db064d
  enableval=$enable_silent_rules;
Packit db064d
fi
Packit db064d
Packit db064d
case $enable_silent_rules in # (((
Packit db064d
  yes) AM_DEFAULT_VERBOSITY=0;;
Packit db064d
   no) AM_DEFAULT_VERBOSITY=1;;
Packit db064d
    *) AM_DEFAULT_VERBOSITY=1;;
Packit db064d
esac
Packit db064d
am_make=${MAKE-make}
Packit db064d
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
Packit db064d
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
Packit db064d
if ${am_cv_make_support_nested_variables+:} false; then :
Packit db064d
  $as_echo_n "(cached) " >&6
Packit db064d
else
Packit db064d
  if $as_echo 'TRUE=$(BAR$(V))
Packit db064d
BAR0=false
Packit db064d
BAR1=true
Packit db064d
V=1
Packit db064d
am__doit:
Packit db064d
	@$(TRUE)
Packit db064d
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
Packit db064d
  am_cv_make_support_nested_variables=yes
Packit db064d
else
Packit db064d
  am_cv_make_support_nested_variables=no
Packit db064d
fi
Packit db064d
fi
Packit db064d
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
Packit db064d
$as_echo "$am_cv_make_support_nested_variables" >&6; }
Packit db064d
if test $am_cv_make_support_nested_variables = yes; then
Packit db064d
    AM_V='$(V)'
Packit db064d
  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
Packit db064d
else
Packit db064d
  AM_V=$AM_DEFAULT_VERBOSITY
Packit db064d
  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
Packit db064d
fi
Packit db064d
AM_BACKSLASH='\'
Packit db064d
Packit db064d
if test "`cd $srcdir && pwd`" != "`pwd`"; then
Packit db064d
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
Packit db064d
  # is not polluted with repeated "-I."
Packit db064d
  am__isrc=' -I$(srcdir)'
Packit db064d
  # test to see if srcdir already configured
Packit db064d
  if test -f $srcdir/config.status; then
Packit db064d
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
Packit db064d
  fi
Packit db064d
fi
Packit db064d
Packit db064d
# test whether we have cygpath
Packit db064d
if test -z "$CYGPATH_W"; then
Packit db064d
  if (cygpath --version) >/dev/null 2>/dev/null; then
Packit db064d
    CYGPATH_W='cygpath -w'
Packit db064d
  else
Packit db064d
    CYGPATH_W=echo
Packit db064d
  fi
Packit db064d
fi
Packit db064d
Packit db064d
Packit db064d
# Define the identity of the package.
Packit db064d
 PACKAGE='infiniband-diags'
Packit db064d
 VERSION='2.2.0'
Packit db064d
Packit db064d
Packit db064d
cat >>confdefs.h <<_ACEOF
Packit db064d
#define PACKAGE "$PACKAGE"
Packit db064d
_ACEOF
Packit db064d
Packit db064d
Packit db064d
cat >>confdefs.h <<_ACEOF
Packit db064d
#define VERSION "$VERSION"
Packit db064d
_ACEOF
Packit db064d
Packit db064d
# Some tools Automake needs.
Packit db064d
Packit db064d
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
Packit db064d
Packit db064d
Packit db064d
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
Packit db064d
Packit db064d
Packit db064d
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
Packit db064d
Packit db064d
Packit db064d
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
Packit db064d
Packit db064d
Packit db064d
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
Packit db064d
Packit db064d
# For better backward compatibility.  To be removed once Automake 1.9.x
Packit db064d
# dies out for good.  For more background, see:
Packit db064d
# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
Packit db064d
# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
Packit db064d
mkdir_p='$(MKDIR_P)'
Packit db064d
Packit db064d
# We need awk for the "check" target (and possibly the TAP driver).  The
Packit db064d
# system "awk" is bad on some platforms.
Packit db064d
# Always define AMTAR for backward compatibility.  Yes, it's still used
Packit db064d
# in the wild :-(  We should find a proper way to deprecate it ...
Packit db064d
AMTAR='$${TAR-tar}'
Packit db064d
Packit db064d
Packit db064d
# We'll loop over all known methods to create a tar archive until one works.
Packit db064d
_am_tools='gnutar  pax cpio none'
Packit db064d
Packit db064d
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
Packit db064d
Packit db064d
Packit db064d
Packit db064d
Packit db064d
Packit db064d
Packit db064d
# POSIX will say in a future version that running "rm -f" with no argument
Packit db064d
# is OK; and we want to be able to make that assumption in our Makefile
Packit db064d
# recipes.  So use an aggressive probe to check that the usage we want is
Packit db064d
# actually supported "in the wild" to an acceptable degree.
Packit db064d
# See automake bug#10828.
Packit db064d
# To make any issue more visible, cause the running configure to be aborted
Packit db064d
# by default if the 'rm' program in use doesn't match our expectations; the
Packit db064d
# user can still override this though.
Packit db064d
if rm -f && rm -fr && rm -rf; then : OK; else
Packit db064d
  cat >&2 <<'END'
Packit db064d
Oops!
Packit db064d
Packit db064d
Your 'rm' program seems unable to run without file operands specified
Packit db064d
on the command line, even when the '-f' option is present.  This is contrary
Packit db064d
to the behaviour of most rm programs out there, and not conforming with
Packit db064d
the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
Packit db064d
Packit db064d
Please tell bug-automake@gnu.org about your system, including the value
Packit db064d
of your $PATH and any error possibly output before this message.  This
Packit db064d
can help us improve future automake versions.
Packit db064d
Packit db064d
END
Packit db064d
  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
Packit db064d
    echo 'Configuration will proceed anyway, since you have set the' >&2
Packit db064d
    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
Packit db064d
    echo >&2
Packit db064d
  else
Packit db064d
    cat >&2 <<'END'
Packit db064d
Aborting the configuration process, to ensure you take notice of the issue.
Packit db064d
Packit db064d
You can download and install GNU coreutils to get an 'rm' implementation
Packit db064d
that behaves properly: <https://www.gnu.org/software/coreutils/>.
Packit db064d
Packit db064d
If you want to complete the configuration process using your problematic
Packit db064d
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
Packit db064d
to "yes", and re-run configure.
Packit db064d
Packit db064d
END
Packit db064d
    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
Packit db064d
  fi
Packit db064d
fi
Packit db064d
Packit db064d
Packit db064d
RELEASE=${RELEASE:-unknown}
Packit db064d
Packit db064d
TARBALL=${TARBALL:-${PACKAGE}-${VERSION}.tar.gz}
Packit db064d
Packit db064d
Packit db064d
# Check whether --enable-debug was given.
Packit db064d
if test "${enable_debug+set}" = set; then :
Packit db064d
  enableval=$enable_debug; case "${enableval}" in
Packit db064d
  yes) debug=true ;;
Packit db064d
  no)  debug=false ;;
Packit db064d
  *) as_fn_error $? "bad value ${enableval} for --enable-debug" "$LINENO" 5 ;;
Packit db064d
esac
Packit db064d
else
Packit db064d
  debug=false
Packit db064d
fi
Packit db064d
Packit db064d
 if test x$debug = xtrue; then
Packit db064d
  DEBUG_TRUE=
Packit db064d
  DEBUG_FALSE='#'
Packit db064d
else
Packit db064d
  DEBUG_TRUE='#'
Packit db064d
  DEBUG_FALSE=
Packit db064d
fi
Packit db064d
Packit db064d
Packit db064d
ac_ext=c
Packit db064d
ac_cpp='$CPP $CPPFLAGS'
Packit db064d
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
Packit db064d
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
Packit db064d
ac_compiler_gnu=$ac_cv_c_compiler_gnu
Packit db064d
if test -n "$ac_tool_prefix"; then
Packit db064d
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
Packit db064d
set dummy ${ac_tool_prefix}gcc; ac_word=$2
Packit db064d
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
Packit db064d
$as_echo_n "checking for $ac_word... " >&6; }
Packit db064d
if ${ac_cv_prog_CC+:} false; then :
Packit db064d
  $as_echo_n "(cached) " >&6
Packit db064d
else
Packit db064d
  if test -n "$CC"; then
Packit db064d
  ac_cv_prog_CC="$CC" # Let the user override the test.
Packit db064d
else
Packit db064d
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
Packit db064d
for as_dir in $PATH
Packit db064d
do
Packit db064d
  IFS=$as_save_IFS
Packit db064d
  test -z "$as_dir" && as_dir=.
Packit db064d
    for ac_exec_ext in '' $ac_executable_extensions; do
Packit db064d
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
Packit db064d
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
Packit db064d
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
Packit db064d
    break 2
Packit db064d
  fi
Packit db064d
done
Packit db064d
  done
Packit db064d
IFS=$as_save_IFS
Packit db064d
Packit db064d
fi
Packit db064d
fi
Packit db064d
CC=$ac_cv_prog_CC
Packit db064d
if test -n "$CC"; then
Packit db064d
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
Packit db064d
$as_echo "$CC" >&6; }
Packit db064d
else
Packit db064d
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
Packit db064d
$as_echo "no" >&6; }
Packit db064d
fi
Packit db064d
Packit db064d
Packit db064d
fi
Packit db064d
if test -z "$ac_cv_prog_CC"; then
Packit db064d
  ac_ct_CC=$CC
Packit db064d
  # Extract the first word of "gcc", so it can be a program name with args.
Packit db064d
set dummy gcc; ac_word=$2
Packit db064d
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
Packit db064d
$as_echo_n "checking for $ac_word... " >&6; }
Packit db064d
if ${ac_cv_prog_ac_ct_CC+:} false; then :
Packit db064d
  $as_echo_n "(cached) " >&6
Packit db064d
else
Packit db064d
  if test -n "$ac_ct_CC"; then
Packit db064d
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
Packit db064d
else
Packit db064d
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
Packit db064d
for as_dir in $PATH
Packit db064d
do
Packit db064d
  IFS=$as_save_IFS
Packit db064d
  test -z "$as_dir" && as_dir=.
Packit db064d
    for ac_exec_ext in '' $ac_executable_extensions; do
Packit db064d
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
Packit db064d
    ac_cv_prog_ac_ct_CC="gcc"
Packit db064d
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
Packit db064d
    break 2
Packit db064d
  fi
Packit db064d
done
Packit db064d
  done
Packit db064d
IFS=$as_save_IFS
Packit db064d
Packit db064d
fi
Packit db064d
fi
Packit db064d
ac_ct_CC=$ac_cv_prog_ac_ct_CC
Packit db064d
if test -n "$ac_ct_CC"; then
Packit db064d
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
Packit db064d
$as_echo "$ac_ct_CC" >&6; }
Packit db064d
else
Packit db064d
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
Packit db064d
$as_echo "no" >&6; }
Packit db064d
fi
Packit db064d
Packit db064d
  if test "x$ac_ct_CC" = x; then
Packit db064d
    CC=""
Packit db064d
  else
Packit db064d
    case $cross_compiling:$ac_tool_warned in
Packit db064d
yes:)
Packit db064d
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
Packit db064d
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
Packit db064d
ac_tool_warned=yes ;;
Packit db064d
esac
Packit db064d
    CC=$ac_ct_CC
Packit db064d
  fi
Packit db064d
else
Packit db064d
  CC="$ac_cv_prog_CC"
Packit db064d
fi
Packit db064d
Packit db064d
if test -z "$CC"; then
Packit db064d
          if test -n "$ac_tool_prefix"; then
Packit db064d
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
Packit db064d
set dummy ${ac_tool_prefix}cc; ac_word=$2
Packit db064d
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
Packit db064d
$as_echo_n "checking for $ac_word... " >&6; }
Packit db064d
if ${ac_cv_prog_CC+:} false; then :
Packit db064d
  $as_echo_n "(cached) " >&6
Packit db064d
else
Packit db064d
  if test -n "$CC"; then
Packit db064d
  ac_cv_prog_CC="$CC" # Let the user override the test.
Packit db064d
else
Packit db064d
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
Packit db064d
for as_dir in $PATH
Packit db064d
do
Packit db064d
  IFS=$as_save_IFS
Packit db064d
  test -z "$as_dir" && as_dir=.
Packit db064d
    for ac_exec_ext in '' $ac_executable_extensions; do
Packit db064d
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
Packit db064d
    ac_cv_prog_CC="${ac_tool_prefix}cc"
Packit db064d
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
Packit db064d
    break 2
Packit db064d
  fi
Packit db064d
done
Packit db064d
  done
Packit db064d
IFS=$as_save_IFS
Packit db064d
Packit db064d
fi
Packit db064d
fi
Packit db064d
CC=$ac_cv_prog_CC
Packit db064d
if test -n "$CC"; then
Packit db064d
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
Packit db064d
$as_echo "$CC" >&6; }
Packit db064d
else
Packit db064d
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
Packit db064d
$as_echo "no" >&6; }
Packit db064d
fi
Packit db064d
Packit db064d
Packit db064d
  fi
Packit db064d
fi
Packit db064d
if test -z "$CC"; then
Packit db064d
  # Extract the first word of "cc", so it can be a program name with args.
Packit db064d
set dummy cc; ac_word=$2
Packit db064d
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
Packit db064d
$as_echo_n "checking for $ac_word... " >&6; }
Packit db064d
if ${ac_cv_prog_CC+:} false; then :
Packit db064d
  $as_echo_n "(cached) " >&6
Packit db064d
else
Packit db064d
  if test -n "$CC"; then
Packit db064d
  ac_cv_prog_CC="$CC" # Let the user override the test.
Packit db064d
else
Packit db064d
  ac_prog_rejected=no
Packit db064d
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
Packit db064d
for as_dir in $PATH
Packit db064d
do
Packit db064d
  IFS=$as_save_IFS
Packit db064d
  test -z "$as_dir" && as_dir=.
Packit db064d
    for ac_exec_ext in '' $ac_executable_extensions; do
Packit db064d
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
Packit db064d
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
Packit db064d
       ac_prog_rejected=yes
Packit db064d
       continue
Packit db064d
     fi
Packit db064d
    ac_cv_prog_CC="cc"
Packit db064d
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
Packit db064d
    break 2
Packit db064d
  fi
Packit db064d
done
Packit db064d
  done
Packit db064d
IFS=$as_save_IFS
Packit db064d
Packit db064d
if test $ac_prog_rejected = yes; then
Packit db064d
  # We found a bogon in the path, so make sure we never use it.
Packit db064d
  set dummy $ac_cv_prog_CC
Packit db064d
  shift
Packit db064d
  if test $# != 0; then
Packit db064d
    # We chose a different compiler from the bogus one.
Packit db064d
    # However, it has the same basename, so the bogon will be chosen
Packit db064d
    # first if we set CC to just the basename; use the full file name.
Packit db064d
    shift
Packit db064d
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
Packit db064d
  fi
Packit db064d
fi
Packit db064d
fi
Packit db064d
fi
Packit db064d
CC=$ac_cv_prog_CC
Packit db064d
if test -n "$CC"; then
Packit db064d
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
Packit db064d
$as_echo "$CC" >&6; }
Packit db064d
else
Packit db064d
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
Packit db064d
$as_echo "no" >&6; }
Packit db064d
fi
Packit db064d
Packit db064d
Packit db064d
fi
Packit db064d
if test -z "$CC"; then
Packit db064d
  if test -n "$ac_tool_prefix"; then
Packit db064d
  for ac_prog in cl.exe
Packit db064d
  do
Packit db064d
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
Packit db064d
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
Packit db064d
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
Packit db064d
$as_echo_n "checking for $ac_word... " >&6; }
Packit db064d
if ${ac_cv_prog_CC+:} false; then :
Packit db064d
  $as_echo_n "(cached) " >&6
Packit db064d
else
Packit db064d
  if test -n "$CC"; then
Packit db064d
  ac_cv_prog_CC="$CC" # Let the user override the test.
Packit db064d
else
Packit db064d
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
Packit db064d
for as_dir in $PATH
Packit db064d
do
Packit db064d
  IFS=$as_save_IFS
Packit db064d
  test -z "$as_dir" && as_dir=.
Packit db064d
    for ac_exec_ext in '' $ac_executable_extensions; do
Packit db064d
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
Packit db064d
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
Packit db064d
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
Packit db064d
    break 2
Packit db064d
  fi
Packit db064d
done
Packit db064d
  done
Packit db064d
IFS=$as_save_IFS
Packit db064d
Packit db064d
fi
Packit db064d
fi
Packit db064d
CC=$ac_cv_prog_CC
Packit db064d
if test -n "$CC"; then
Packit db064d
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
Packit db064d
$as_echo "$CC" >&6; }
Packit db064d
else
Packit db064d
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
Packit db064d
$as_echo "no" >&6; }
Packit db064d
fi
Packit db064d
Packit db064d
Packit db064d
    test -n "$CC" && break
Packit db064d
  done
Packit db064d
fi
Packit db064d
if test -z "$CC"; then
Packit db064d
  ac_ct_CC=$CC
Packit db064d
  for ac_prog in cl.exe
Packit db064d
do
Packit db064d
  # Extract the first word of "$ac_prog", so it can be a program name with args.
Packit db064d
set dummy $ac_prog; ac_word=$2
Packit db064d
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
Packit db064d
$as_echo_n "checking for $ac_word... " >&6; }
Packit db064d
if ${ac_cv_prog_ac_ct_CC+:} false; then :
Packit db064d
  $as_echo_n "(cached) " >&6
Packit db064d
else
Packit db064d
  if test -n "$ac_ct_CC"; then
Packit db064d
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
Packit db064d
else
Packit db064d
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
Packit db064d
for as_dir in $PATH
Packit db064d
do
Packit db064d
  IFS=$as_save_IFS
Packit db064d
  test -z "$as_dir" && as_dir=.
Packit db064d
    for ac_exec_ext in '' $ac_executable_extensions; do
Packit db064d
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
Packit db064d
    ac_cv_prog_ac_ct_CC="$ac_prog"
Packit db064d
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
Packit db064d
    break 2
Packit db064d
  fi
Packit db064d
done
Packit db064d
  done
Packit db064d
IFS=$as_save_IFS
Packit db064d
Packit db064d
fi
Packit db064d
fi
Packit db064d
ac_ct_CC=$ac_cv_prog_ac_ct_CC
Packit db064d
if test -n "$ac_ct_CC"; then
Packit db064d
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
Packit db064d
$as_echo "$ac_ct_CC" >&6; }
Packit db064d
else
Packit db064d
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
Packit db064d
$as_echo "no" >&6; }
Packit db064d
fi
Packit db064d
Packit db064d
Packit db064d
  test -n "$ac_ct_CC" && break
Packit db064d
done
Packit db064d
Packit db064d
  if test "x$ac_ct_CC" = x; then
Packit db064d
    CC=""
Packit db064d
  else
Packit db064d
    case $cross_compiling:$ac_tool_warned in
Packit db064d
yes:)
Packit db064d
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
Packit db064d
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
Packit db064d
ac_tool_warned=yes ;;
Packit db064d
esac
Packit db064d
    CC=$ac_ct_CC
Packit db064d
  fi
Packit db064d
fi
Packit db064d
Packit db064d
fi
Packit db064d
Packit db064d
Packit db064d
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
Packit db064d
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
Packit db064d
as_fn_error $? "no acceptable C compiler found in \$PATH
Packit db064d
See \`config.log' for more details" "$LINENO" 5; }
Packit db064d
Packit db064d
# Provide some information about the compiler.<