xref: /netbsd-src/external/gpl3/gcc.old/dist/fixincludes/configure (revision c0a68be459da21030695f60d10265c2fc49758f8)
11debfc3dSmrg#! /bin/sh
21debfc3dSmrg# Guess values for system-dependent variables and create Makefiles.
3*c0a68be4Smrg# Generated by GNU Autoconf 2.69 for fixincludes  .
41debfc3dSmrg#
5*c0a68be4Smrg#
6*c0a68be4Smrg# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7*c0a68be4Smrg#
81debfc3dSmrg#
91debfc3dSmrg# This configure script is free software; the Free Software Foundation
101debfc3dSmrg# gives unlimited permission to copy, distribute and modify it.
111debfc3dSmrg## -------------------- ##
121debfc3dSmrg## M4sh Initialization. ##
131debfc3dSmrg## -------------------- ##
141debfc3dSmrg
151debfc3dSmrg# Be more Bourne compatible
161debfc3dSmrgDUALCASE=1; export DUALCASE # for MKS sh
171debfc3dSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
181debfc3dSmrg  emulate sh
191debfc3dSmrg  NULLCMD=:
201debfc3dSmrg  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
211debfc3dSmrg  # is contrary to our usage.  Disable this feature.
221debfc3dSmrg  alias -g '${1+"$@"}'='"$@"'
231debfc3dSmrg  setopt NO_GLOB_SUBST
241debfc3dSmrgelse
251debfc3dSmrg  case `(set -o) 2>/dev/null` in #(
261debfc3dSmrg  *posix*) :
271debfc3dSmrg    set -o posix ;; #(
281debfc3dSmrg  *) :
291debfc3dSmrg     ;;
301debfc3dSmrgesac
311debfc3dSmrgfi
321debfc3dSmrg
331debfc3dSmrg
341debfc3dSmrgas_nl='
351debfc3dSmrg'
361debfc3dSmrgexport as_nl
371debfc3dSmrg# Printing a long string crashes Solaris 7 /usr/bin/printf.
381debfc3dSmrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
391debfc3dSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
401debfc3dSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
411debfc3dSmrg# Prefer a ksh shell builtin over an external printf program on Solaris,
421debfc3dSmrg# but without wasting forks for bash or zsh.
431debfc3dSmrgif test -z "$BASH_VERSION$ZSH_VERSION" \
441debfc3dSmrg    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
451debfc3dSmrg  as_echo='print -r --'
461debfc3dSmrg  as_echo_n='print -rn --'
471debfc3dSmrgelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
481debfc3dSmrg  as_echo='printf %s\n'
491debfc3dSmrg  as_echo_n='printf %s'
501debfc3dSmrgelse
511debfc3dSmrg  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
521debfc3dSmrg    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
531debfc3dSmrg    as_echo_n='/usr/ucb/echo -n'
541debfc3dSmrg  else
551debfc3dSmrg    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
561debfc3dSmrg    as_echo_n_body='eval
571debfc3dSmrg      arg=$1;
581debfc3dSmrg      case $arg in #(
591debfc3dSmrg      *"$as_nl"*)
601debfc3dSmrg	expr "X$arg" : "X\\(.*\\)$as_nl";
611debfc3dSmrg	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
621debfc3dSmrg      esac;
631debfc3dSmrg      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
641debfc3dSmrg    '
651debfc3dSmrg    export as_echo_n_body
661debfc3dSmrg    as_echo_n='sh -c $as_echo_n_body as_echo'
671debfc3dSmrg  fi
681debfc3dSmrg  export as_echo_body
691debfc3dSmrg  as_echo='sh -c $as_echo_body as_echo'
701debfc3dSmrgfi
711debfc3dSmrg
721debfc3dSmrg# The user is always right.
731debfc3dSmrgif test "${PATH_SEPARATOR+set}" != set; then
741debfc3dSmrg  PATH_SEPARATOR=:
751debfc3dSmrg  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
761debfc3dSmrg    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
771debfc3dSmrg      PATH_SEPARATOR=';'
781debfc3dSmrg  }
791debfc3dSmrgfi
801debfc3dSmrg
811debfc3dSmrg
821debfc3dSmrg# IFS
831debfc3dSmrg# We need space, tab and new line, in precisely that order.  Quoting is
841debfc3dSmrg# there to prevent editors from complaining about space-tab.
851debfc3dSmrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word
861debfc3dSmrg# splitting by setting IFS to empty value.)
871debfc3dSmrgIFS=" ""	$as_nl"
881debfc3dSmrg
891debfc3dSmrg# Find who we are.  Look in the path if we contain no directory separator.
90*c0a68be4Smrgas_myself=
911debfc3dSmrgcase $0 in #((
921debfc3dSmrg  *[\\/]* ) as_myself=$0 ;;
931debfc3dSmrg  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
941debfc3dSmrgfor as_dir in $PATH
951debfc3dSmrgdo
961debfc3dSmrg  IFS=$as_save_IFS
971debfc3dSmrg  test -z "$as_dir" && as_dir=.
981debfc3dSmrg    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
991debfc3dSmrg  done
1001debfc3dSmrgIFS=$as_save_IFS
1011debfc3dSmrg
1021debfc3dSmrg     ;;
1031debfc3dSmrgesac
1041debfc3dSmrg# We did not find ourselves, most probably we were run as `sh COMMAND'
1051debfc3dSmrg# in which case we are not to be found in the path.
1061debfc3dSmrgif test "x$as_myself" = x; then
1071debfc3dSmrg  as_myself=$0
1081debfc3dSmrgfi
1091debfc3dSmrgif test ! -f "$as_myself"; then
1101debfc3dSmrg  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1111debfc3dSmrg  exit 1
1121debfc3dSmrgfi
1131debfc3dSmrg
1141debfc3dSmrg# Unset variables that we do not need and which cause bugs (e.g. in
1151debfc3dSmrg# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
1161debfc3dSmrg# suppresses any "Segmentation fault" message there.  '((' could
1171debfc3dSmrg# trigger a bug in pdksh 5.2.14.
1181debfc3dSmrgfor as_var in BASH_ENV ENV MAIL MAILPATH
1191debfc3dSmrgdo eval test x\${$as_var+set} = xset \
1201debfc3dSmrg  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
1211debfc3dSmrgdone
1221debfc3dSmrgPS1='$ '
1231debfc3dSmrgPS2='> '
1241debfc3dSmrgPS4='+ '
1251debfc3dSmrg
1261debfc3dSmrg# NLS nuisances.
1271debfc3dSmrgLC_ALL=C
1281debfc3dSmrgexport LC_ALL
1291debfc3dSmrgLANGUAGE=C
1301debfc3dSmrgexport LANGUAGE
1311debfc3dSmrg
1321debfc3dSmrg# CDPATH.
1331debfc3dSmrg(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
1341debfc3dSmrg
135*c0a68be4Smrg# Use a proper internal environment variable to ensure we don't fall
136*c0a68be4Smrg  # into an infinite loop, continuously re-executing ourselves.
137*c0a68be4Smrg  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138*c0a68be4Smrg    _as_can_reexec=no; export _as_can_reexec;
139*c0a68be4Smrg    # We cannot yet assume a decent shell, so we have to provide a
140*c0a68be4Smrg# neutralization value for shells without unset; and this also
141*c0a68be4Smrg# works around shells that cannot unset nonexistent variables.
142*c0a68be4Smrg# Preserve -v and -x to the replacement shell.
143*c0a68be4SmrgBASH_ENV=/dev/null
144*c0a68be4SmrgENV=/dev/null
145*c0a68be4Smrg(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146*c0a68be4Smrgcase $- in # ((((
147*c0a68be4Smrg  *v*x* | *x*v* ) as_opts=-vx ;;
148*c0a68be4Smrg  *v* ) as_opts=-v ;;
149*c0a68be4Smrg  *x* ) as_opts=-x ;;
150*c0a68be4Smrg  * ) as_opts= ;;
151*c0a68be4Smrgesac
152*c0a68be4Smrgexec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153*c0a68be4Smrg# Admittedly, this is quite paranoid, since all the known shells bail
154*c0a68be4Smrg# out after a failed `exec'.
155*c0a68be4Smrg$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156*c0a68be4Smrgas_fn_exit 255
157*c0a68be4Smrg  fi
158*c0a68be4Smrg  # We don't want this to propagate to other subprocesses.
159*c0a68be4Smrg          { _as_can_reexec=; unset _as_can_reexec;}
1601debfc3dSmrgif test "x$CONFIG_SHELL" = x; then
1611debfc3dSmrg  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
1621debfc3dSmrg  emulate sh
1631debfc3dSmrg  NULLCMD=:
1641debfc3dSmrg  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
1651debfc3dSmrg  # is contrary to our usage.  Disable this feature.
1661debfc3dSmrg  alias -g '\${1+\"\$@\"}'='\"\$@\"'
1671debfc3dSmrg  setopt NO_GLOB_SUBST
1681debfc3dSmrgelse
1691debfc3dSmrg  case \`(set -o) 2>/dev/null\` in #(
1701debfc3dSmrg  *posix*) :
1711debfc3dSmrg    set -o posix ;; #(
1721debfc3dSmrg  *) :
1731debfc3dSmrg     ;;
1741debfc3dSmrgesac
1751debfc3dSmrgfi
1761debfc3dSmrg"
1771debfc3dSmrg  as_required="as_fn_return () { (exit \$1); }
1781debfc3dSmrgas_fn_success () { as_fn_return 0; }
1791debfc3dSmrgas_fn_failure () { as_fn_return 1; }
1801debfc3dSmrgas_fn_ret_success () { return 0; }
1811debfc3dSmrgas_fn_ret_failure () { return 1; }
1821debfc3dSmrg
1831debfc3dSmrgexitcode=0
1841debfc3dSmrgas_fn_success || { exitcode=1; echo as_fn_success failed.; }
1851debfc3dSmrgas_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
1861debfc3dSmrgas_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
1871debfc3dSmrgas_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
1881debfc3dSmrgif ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
1891debfc3dSmrg
1901debfc3dSmrgelse
1911debfc3dSmrg  exitcode=1; echo positional parameters were not saved.
1921debfc3dSmrgfi
193*c0a68be4Smrgtest x\$exitcode = x0 || exit 1
194*c0a68be4Smrgtest -x / || exit 1"
1951debfc3dSmrg  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
1961debfc3dSmrg  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
1971debfc3dSmrg  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
1981debfc3dSmrg  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
1991debfc3dSmrgtest \$(( 1 + 1 )) = 2 || exit 1"
2001debfc3dSmrg  if (eval "$as_required") 2>/dev/null; then :
2011debfc3dSmrg  as_have_required=yes
2021debfc3dSmrgelse
2031debfc3dSmrg  as_have_required=no
2041debfc3dSmrgfi
2051debfc3dSmrg  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
2061debfc3dSmrg
2071debfc3dSmrgelse
2081debfc3dSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2091debfc3dSmrgas_found=false
2101debfc3dSmrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2111debfc3dSmrgdo
2121debfc3dSmrg  IFS=$as_save_IFS
2131debfc3dSmrg  test -z "$as_dir" && as_dir=.
2141debfc3dSmrg  as_found=:
2151debfc3dSmrg  case $as_dir in #(
2161debfc3dSmrg	 /*)
2171debfc3dSmrg	   for as_base in sh bash ksh sh5; do
2181debfc3dSmrg	     # Try only shells that exist, to save several forks.
2191debfc3dSmrg	     as_shell=$as_dir/$as_base
2201debfc3dSmrg	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
2211debfc3dSmrg		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
2221debfc3dSmrg  CONFIG_SHELL=$as_shell as_have_required=yes
2231debfc3dSmrg		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
2241debfc3dSmrg  break 2
2251debfc3dSmrgfi
2261debfc3dSmrgfi
2271debfc3dSmrg	   done;;
2281debfc3dSmrg       esac
2291debfc3dSmrg  as_found=false
2301debfc3dSmrgdone
2311debfc3dSmrg$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
2321debfc3dSmrg	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
2331debfc3dSmrg  CONFIG_SHELL=$SHELL as_have_required=yes
2341debfc3dSmrgfi; }
2351debfc3dSmrgIFS=$as_save_IFS
2361debfc3dSmrg
2371debfc3dSmrg
2381debfc3dSmrg      if test "x$CONFIG_SHELL" != x; then :
239*c0a68be4Smrg  export CONFIG_SHELL
2401debfc3dSmrg             # We cannot yet assume a decent shell, so we have to provide a
2411debfc3dSmrg# neutralization value for shells without unset; and this also
2421debfc3dSmrg# works around shells that cannot unset nonexistent variables.
243*c0a68be4Smrg# Preserve -v and -x to the replacement shell.
2441debfc3dSmrgBASH_ENV=/dev/null
2451debfc3dSmrgENV=/dev/null
2461debfc3dSmrg(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
247*c0a68be4Smrgcase $- in # ((((
248*c0a68be4Smrg  *v*x* | *x*v* ) as_opts=-vx ;;
249*c0a68be4Smrg  *v* ) as_opts=-v ;;
250*c0a68be4Smrg  *x* ) as_opts=-x ;;
251*c0a68be4Smrg  * ) as_opts= ;;
252*c0a68be4Smrgesac
253*c0a68be4Smrgexec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254*c0a68be4Smrg# Admittedly, this is quite paranoid, since all the known shells bail
255*c0a68be4Smrg# out after a failed `exec'.
256*c0a68be4Smrg$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
257*c0a68be4Smrgexit 255
2581debfc3dSmrgfi
2591debfc3dSmrg
2601debfc3dSmrg    if test x$as_have_required = xno; then :
2611debfc3dSmrg  $as_echo "$0: This script requires a shell more modern than all"
2621debfc3dSmrg  $as_echo "$0: the shells that I found on your system."
2631debfc3dSmrg  if test x${ZSH_VERSION+set} = xset ; then
2641debfc3dSmrg    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
2651debfc3dSmrg    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
2661debfc3dSmrg  else
2671debfc3dSmrg    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
2681debfc3dSmrg$0: including any error possibly output before this
2691debfc3dSmrg$0: message. Then install a modern shell, or manually run
2701debfc3dSmrg$0: the script under such a shell if you do have one."
2711debfc3dSmrg  fi
2721debfc3dSmrg  exit 1
2731debfc3dSmrgfi
2741debfc3dSmrgfi
2751debfc3dSmrgfi
2761debfc3dSmrgSHELL=${CONFIG_SHELL-/bin/sh}
2771debfc3dSmrgexport SHELL
2781debfc3dSmrg# Unset more variables known to interfere with behavior of common tools.
2791debfc3dSmrgCLICOLOR_FORCE= GREP_OPTIONS=
2801debfc3dSmrgunset CLICOLOR_FORCE GREP_OPTIONS
2811debfc3dSmrg
2821debfc3dSmrg## --------------------- ##
2831debfc3dSmrg## M4sh Shell Functions. ##
2841debfc3dSmrg## --------------------- ##
2851debfc3dSmrg# as_fn_unset VAR
2861debfc3dSmrg# ---------------
2871debfc3dSmrg# Portably unset VAR.
2881debfc3dSmrgas_fn_unset ()
2891debfc3dSmrg{
2901debfc3dSmrg  { eval $1=; unset $1;}
2911debfc3dSmrg}
2921debfc3dSmrgas_unset=as_fn_unset
2931debfc3dSmrg
2941debfc3dSmrg# as_fn_set_status STATUS
2951debfc3dSmrg# -----------------------
2961debfc3dSmrg# Set $? to STATUS, without forking.
2971debfc3dSmrgas_fn_set_status ()
2981debfc3dSmrg{
2991debfc3dSmrg  return $1
3001debfc3dSmrg} # as_fn_set_status
3011debfc3dSmrg
3021debfc3dSmrg# as_fn_exit STATUS
3031debfc3dSmrg# -----------------
3041debfc3dSmrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3051debfc3dSmrgas_fn_exit ()
3061debfc3dSmrg{
3071debfc3dSmrg  set +e
3081debfc3dSmrg  as_fn_set_status $1
3091debfc3dSmrg  exit $1
3101debfc3dSmrg} # as_fn_exit
3111debfc3dSmrg
3121debfc3dSmrg# as_fn_mkdir_p
3131debfc3dSmrg# -------------
3141debfc3dSmrg# Create "$as_dir" as a directory, including parents if necessary.
3151debfc3dSmrgas_fn_mkdir_p ()
3161debfc3dSmrg{
3171debfc3dSmrg
3181debfc3dSmrg  case $as_dir in #(
3191debfc3dSmrg  -*) as_dir=./$as_dir;;
3201debfc3dSmrg  esac
3211debfc3dSmrg  test -d "$as_dir" || eval $as_mkdir_p || {
3221debfc3dSmrg    as_dirs=
3231debfc3dSmrg    while :; do
3241debfc3dSmrg      case $as_dir in #(
3251debfc3dSmrg      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3261debfc3dSmrg      *) as_qdir=$as_dir;;
3271debfc3dSmrg      esac
3281debfc3dSmrg      as_dirs="'$as_qdir' $as_dirs"
3291debfc3dSmrg      as_dir=`$as_dirname -- "$as_dir" ||
3301debfc3dSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3311debfc3dSmrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
3321debfc3dSmrg	 X"$as_dir" : 'X\(//\)$' \| \
3331debfc3dSmrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3341debfc3dSmrg$as_echo X"$as_dir" |
3351debfc3dSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3361debfc3dSmrg	    s//\1/
3371debfc3dSmrg	    q
3381debfc3dSmrg	  }
3391debfc3dSmrg	  /^X\(\/\/\)[^/].*/{
3401debfc3dSmrg	    s//\1/
3411debfc3dSmrg	    q
3421debfc3dSmrg	  }
3431debfc3dSmrg	  /^X\(\/\/\)$/{
3441debfc3dSmrg	    s//\1/
3451debfc3dSmrg	    q
3461debfc3dSmrg	  }
3471debfc3dSmrg	  /^X\(\/\).*/{
3481debfc3dSmrg	    s//\1/
3491debfc3dSmrg	    q
3501debfc3dSmrg	  }
3511debfc3dSmrg	  s/.*/./; q'`
3521debfc3dSmrg      test -d "$as_dir" && break
3531debfc3dSmrg    done
3541debfc3dSmrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
355*c0a68be4Smrg  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3561debfc3dSmrg
3571debfc3dSmrg
3581debfc3dSmrg} # as_fn_mkdir_p
359*c0a68be4Smrg
360*c0a68be4Smrg# as_fn_executable_p FILE
361*c0a68be4Smrg# -----------------------
362*c0a68be4Smrg# Test if FILE is an executable regular file.
363*c0a68be4Smrgas_fn_executable_p ()
364*c0a68be4Smrg{
365*c0a68be4Smrg  test -f "$1" && test -x "$1"
366*c0a68be4Smrg} # as_fn_executable_p
3671debfc3dSmrg# as_fn_append VAR VALUE
3681debfc3dSmrg# ----------------------
3691debfc3dSmrg# Append the text in VALUE to the end of the definition contained in VAR. Take
3701debfc3dSmrg# advantage of any shell optimizations that allow amortized linear growth over
3711debfc3dSmrg# repeated appends, instead of the typical quadratic growth present in naive
3721debfc3dSmrg# implementations.
3731debfc3dSmrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3741debfc3dSmrg  eval 'as_fn_append ()
3751debfc3dSmrg  {
3761debfc3dSmrg    eval $1+=\$2
3771debfc3dSmrg  }'
3781debfc3dSmrgelse
3791debfc3dSmrg  as_fn_append ()
3801debfc3dSmrg  {
3811debfc3dSmrg    eval $1=\$$1\$2
3821debfc3dSmrg  }
3831debfc3dSmrgfi # as_fn_append
3841debfc3dSmrg
3851debfc3dSmrg# as_fn_arith ARG...
3861debfc3dSmrg# ------------------
3871debfc3dSmrg# Perform arithmetic evaluation on the ARGs, and store the result in the
3881debfc3dSmrg# global $as_val. Take advantage of shells that can avoid forks. The arguments
3891debfc3dSmrg# must be portable across $(()) and expr.
3901debfc3dSmrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3911debfc3dSmrg  eval 'as_fn_arith ()
3921debfc3dSmrg  {
3931debfc3dSmrg    as_val=$(( $* ))
3941debfc3dSmrg  }'
3951debfc3dSmrgelse
3961debfc3dSmrg  as_fn_arith ()
3971debfc3dSmrg  {
3981debfc3dSmrg    as_val=`expr "$@" || test $? -eq 1`
3991debfc3dSmrg  }
4001debfc3dSmrgfi # as_fn_arith
4011debfc3dSmrg
4021debfc3dSmrg
403*c0a68be4Smrg# as_fn_error STATUS ERROR [LINENO LOG_FD]
404*c0a68be4Smrg# ----------------------------------------
4051debfc3dSmrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4061debfc3dSmrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407*c0a68be4Smrg# script with STATUS, using 1 if that was 0.
4081debfc3dSmrgas_fn_error ()
4091debfc3dSmrg{
410*c0a68be4Smrg  as_status=$1; test $as_status -eq 0 && as_status=1
411*c0a68be4Smrg  if test "$4"; then
412*c0a68be4Smrg    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
413*c0a68be4Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4141debfc3dSmrg  fi
415*c0a68be4Smrg  $as_echo "$as_me: error: $2" >&2
4161debfc3dSmrg  as_fn_exit $as_status
4171debfc3dSmrg} # as_fn_error
4181debfc3dSmrg
4191debfc3dSmrgif expr a : '\(a\)' >/dev/null 2>&1 &&
4201debfc3dSmrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
4211debfc3dSmrg  as_expr=expr
4221debfc3dSmrgelse
4231debfc3dSmrg  as_expr=false
4241debfc3dSmrgfi
4251debfc3dSmrg
4261debfc3dSmrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4271debfc3dSmrg  as_basename=basename
4281debfc3dSmrgelse
4291debfc3dSmrg  as_basename=false
4301debfc3dSmrgfi
4311debfc3dSmrg
4321debfc3dSmrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4331debfc3dSmrg  as_dirname=dirname
4341debfc3dSmrgelse
4351debfc3dSmrg  as_dirname=false
4361debfc3dSmrgfi
4371debfc3dSmrg
4381debfc3dSmrgas_me=`$as_basename -- "$0" ||
4391debfc3dSmrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4401debfc3dSmrg	 X"$0" : 'X\(//\)$' \| \
4411debfc3dSmrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4421debfc3dSmrg$as_echo X/"$0" |
4431debfc3dSmrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
4441debfc3dSmrg	    s//\1/
4451debfc3dSmrg	    q
4461debfc3dSmrg	  }
4471debfc3dSmrg	  /^X\/\(\/\/\)$/{
4481debfc3dSmrg	    s//\1/
4491debfc3dSmrg	    q
4501debfc3dSmrg	  }
4511debfc3dSmrg	  /^X\/\(\/\).*/{
4521debfc3dSmrg	    s//\1/
4531debfc3dSmrg	    q
4541debfc3dSmrg	  }
4551debfc3dSmrg	  s/.*/./; q'`
4561debfc3dSmrg
4571debfc3dSmrg# Avoid depending upon Character Ranges.
4581debfc3dSmrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
4591debfc3dSmrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4601debfc3dSmrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
4611debfc3dSmrgas_cr_digits='0123456789'
4621debfc3dSmrgas_cr_alnum=$as_cr_Letters$as_cr_digits
4631debfc3dSmrg
4641debfc3dSmrg
4651debfc3dSmrg  as_lineno_1=$LINENO as_lineno_1a=$LINENO
4661debfc3dSmrg  as_lineno_2=$LINENO as_lineno_2a=$LINENO
4671debfc3dSmrg  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
4681debfc3dSmrg  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
4691debfc3dSmrg  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
4701debfc3dSmrg  sed -n '
4711debfc3dSmrg    p
4721debfc3dSmrg    /[$]LINENO/=
4731debfc3dSmrg  ' <$as_myself |
4741debfc3dSmrg    sed '
4751debfc3dSmrg      s/[$]LINENO.*/&-/
4761debfc3dSmrg      t lineno
4771debfc3dSmrg      b
4781debfc3dSmrg      :lineno
4791debfc3dSmrg      N
4801debfc3dSmrg      :loop
4811debfc3dSmrg      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4821debfc3dSmrg      t loop
4831debfc3dSmrg      s/-\n.*//
4841debfc3dSmrg    ' >$as_me.lineno &&
4851debfc3dSmrg  chmod +x "$as_me.lineno" ||
4861debfc3dSmrg    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
4871debfc3dSmrg
488*c0a68be4Smrg  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489*c0a68be4Smrg  # already done that, so ensure we don't try to do so again and fall
490*c0a68be4Smrg  # in an infinite loop.  This has already happened in practice.
491*c0a68be4Smrg  _as_can_reexec=no; export _as_can_reexec
4921debfc3dSmrg  # Don't try to exec as it changes $[0], causing all sort of problems
4931debfc3dSmrg  # (the dirname of $[0] is not the place where we might find the
4941debfc3dSmrg  # original and so on.  Autoconf is especially sensitive to this).
4951debfc3dSmrg  . "./$as_me.lineno"
4961debfc3dSmrg  # Exit status is that of the last command.
4971debfc3dSmrg  exit
4981debfc3dSmrg}
4991debfc3dSmrg
5001debfc3dSmrgECHO_C= ECHO_N= ECHO_T=
5011debfc3dSmrgcase `echo -n x` in #(((((
5021debfc3dSmrg-n*)
5031debfc3dSmrg  case `echo 'xy\c'` in
5041debfc3dSmrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
5051debfc3dSmrg  xy)  ECHO_C='\c';;
5061debfc3dSmrg  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
5071debfc3dSmrg       ECHO_T='	';;
5081debfc3dSmrg  esac;;
5091debfc3dSmrg*)
5101debfc3dSmrg  ECHO_N='-n';;
5111debfc3dSmrgesac
5121debfc3dSmrg
5131debfc3dSmrgrm -f conf$$ conf$$.exe conf$$.file
5141debfc3dSmrgif test -d conf$$.dir; then
5151debfc3dSmrg  rm -f conf$$.dir/conf$$.file
5161debfc3dSmrgelse
5171debfc3dSmrg  rm -f conf$$.dir
5181debfc3dSmrg  mkdir conf$$.dir 2>/dev/null
5191debfc3dSmrgfi
5201debfc3dSmrgif (echo >conf$$.file) 2>/dev/null; then
5211debfc3dSmrg  if ln -s conf$$.file conf$$ 2>/dev/null; then
5221debfc3dSmrg    as_ln_s='ln -s'
5231debfc3dSmrg    # ... but there are two gotchas:
5241debfc3dSmrg    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5251debfc3dSmrg    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526*c0a68be4Smrg    # In both cases, we have to default to `cp -pR'.
5271debfc3dSmrg    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
528*c0a68be4Smrg      as_ln_s='cp -pR'
5291debfc3dSmrg  elif ln conf$$.file conf$$ 2>/dev/null; then
5301debfc3dSmrg    as_ln_s=ln
5311debfc3dSmrg  else
532*c0a68be4Smrg    as_ln_s='cp -pR'
5331debfc3dSmrg  fi
5341debfc3dSmrgelse
535*c0a68be4Smrg  as_ln_s='cp -pR'
5361debfc3dSmrgfi
5371debfc3dSmrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5381debfc3dSmrgrmdir conf$$.dir 2>/dev/null
5391debfc3dSmrg
5401debfc3dSmrgif mkdir -p . 2>/dev/null; then
5411debfc3dSmrg  as_mkdir_p='mkdir -p "$as_dir"'
5421debfc3dSmrgelse
5431debfc3dSmrg  test -d ./-p && rmdir ./-p
5441debfc3dSmrg  as_mkdir_p=false
5451debfc3dSmrgfi
5461debfc3dSmrg
5471debfc3dSmrgas_test_x='test -x'
548*c0a68be4Smrgas_executable_p=as_fn_executable_p
5491debfc3dSmrg
5501debfc3dSmrg# Sed expression to map a string onto a valid CPP name.
5511debfc3dSmrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5521debfc3dSmrg
5531debfc3dSmrg# Sed expression to map a string onto a valid variable name.
5541debfc3dSmrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5551debfc3dSmrg
5561debfc3dSmrg
557*c0a68be4Smrgtest -n "$DJDIR" || exec 7<&0 </dev/null
558*c0a68be4Smrgexec 6>&1
5591debfc3dSmrg
5601debfc3dSmrg# Name of the host.
561*c0a68be4Smrg# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
5621debfc3dSmrg# so uname gets run too.
5631debfc3dSmrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
5641debfc3dSmrg
5651debfc3dSmrg#
5661debfc3dSmrg# Initializations.
5671debfc3dSmrg#
5681debfc3dSmrgac_default_prefix=/usr/local
5691debfc3dSmrgac_clean_files=
5701debfc3dSmrgac_config_libobj_dir=.
5711debfc3dSmrgLIBOBJS=
5721debfc3dSmrgcross_compiling=no
5731debfc3dSmrgsubdirs=
5741debfc3dSmrgMFLAGS=
5751debfc3dSmrgMAKEFLAGS=
5761debfc3dSmrg
5771debfc3dSmrg# Identity of this package.
5781debfc3dSmrgPACKAGE_NAME='fixincludes'
5791debfc3dSmrgPACKAGE_TARNAME='fixincludes'
5801debfc3dSmrgPACKAGE_VERSION=' '
5811debfc3dSmrgPACKAGE_STRING='fixincludes  '
5821debfc3dSmrgPACKAGE_BUGREPORT=''
5831debfc3dSmrgPACKAGE_URL=''
5841debfc3dSmrg
5851debfc3dSmrgac_unique_file="inclhack.def"
5861debfc3dSmrg# Factoring default headers for most tests.
5871debfc3dSmrgac_includes_default="\
5881debfc3dSmrg#include <stdio.h>
5891debfc3dSmrg#ifdef HAVE_SYS_TYPES_H
5901debfc3dSmrg# include <sys/types.h>
5911debfc3dSmrg#endif
5921debfc3dSmrg#ifdef HAVE_SYS_STAT_H
5931debfc3dSmrg# include <sys/stat.h>
5941debfc3dSmrg#endif
5951debfc3dSmrg#ifdef STDC_HEADERS
5961debfc3dSmrg# include <stdlib.h>
5971debfc3dSmrg# include <stddef.h>
5981debfc3dSmrg#else
5991debfc3dSmrg# ifdef HAVE_STDLIB_H
6001debfc3dSmrg#  include <stdlib.h>
6011debfc3dSmrg# endif
6021debfc3dSmrg#endif
6031debfc3dSmrg#ifdef HAVE_STRING_H
6041debfc3dSmrg# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
6051debfc3dSmrg#  include <memory.h>
6061debfc3dSmrg# endif
6071debfc3dSmrg# include <string.h>
6081debfc3dSmrg#endif
6091debfc3dSmrg#ifdef HAVE_STRINGS_H
6101debfc3dSmrg# include <strings.h>
6111debfc3dSmrg#endif
6121debfc3dSmrg#ifdef HAVE_INTTYPES_H
6131debfc3dSmrg# include <inttypes.h>
6141debfc3dSmrg#endif
6151debfc3dSmrg#ifdef HAVE_STDINT_H
6161debfc3dSmrg# include <stdint.h>
6171debfc3dSmrg#endif
6181debfc3dSmrg#ifdef HAVE_UNISTD_H
6191debfc3dSmrg# include <unistd.h>
6201debfc3dSmrg#endif"
6211debfc3dSmrg
6221debfc3dSmrgac_subst_vars='LTLIBOBJS
6231debfc3dSmrgLIBOBJS
6241debfc3dSmrgget_gcc_base_ver
6251debfc3dSmrgMAINT
6261debfc3dSmrgTARGET
6271debfc3dSmrgtarget_noncanonical
6281debfc3dSmrgWERROR
6291debfc3dSmrgWARN_PEDANTIC
6301debfc3dSmrgWARN_CFLAGS
6311debfc3dSmrgSED
6321debfc3dSmrgEGREP
6331debfc3dSmrgGREP
6341debfc3dSmrgCPP
6351debfc3dSmrgOBJEXT
6361debfc3dSmrgEXEEXT
6371debfc3dSmrgac_ct_CC
6381debfc3dSmrgCPPFLAGS
6391debfc3dSmrgLDFLAGS
6401debfc3dSmrgCFLAGS
6411debfc3dSmrgCC
6421debfc3dSmrgtarget_os
6431debfc3dSmrgtarget_vendor
6441debfc3dSmrgtarget_cpu
6451debfc3dSmrgtarget
6461debfc3dSmrghost_os
6471debfc3dSmrghost_vendor
6481debfc3dSmrghost_cpu
6491debfc3dSmrghost
6501debfc3dSmrgbuild_os
6511debfc3dSmrgbuild_vendor
6521debfc3dSmrgbuild_cpu
6531debfc3dSmrgbuild
6541debfc3dSmrgtarget_alias
6551debfc3dSmrghost_alias
6561debfc3dSmrgbuild_alias
6571debfc3dSmrgLIBS
6581debfc3dSmrgECHO_T
6591debfc3dSmrgECHO_N
6601debfc3dSmrgECHO_C
6611debfc3dSmrgDEFS
6621debfc3dSmrgmandir
6631debfc3dSmrglocaledir
6641debfc3dSmrglibdir
6651debfc3dSmrgpsdir
6661debfc3dSmrgpdfdir
6671debfc3dSmrgdvidir
6681debfc3dSmrghtmldir
6691debfc3dSmrginfodir
6701debfc3dSmrgdocdir
6711debfc3dSmrgoldincludedir
6721debfc3dSmrgincludedir
6731debfc3dSmrglocalstatedir
6741debfc3dSmrgsharedstatedir
6751debfc3dSmrgsysconfdir
6761debfc3dSmrgdatadir
6771debfc3dSmrgdatarootdir
6781debfc3dSmrglibexecdir
6791debfc3dSmrgsbindir
6801debfc3dSmrgbindir
6811debfc3dSmrgprogram_transform_name
6821debfc3dSmrgprefix
6831debfc3dSmrgexec_prefix
6841debfc3dSmrgPACKAGE_URL
6851debfc3dSmrgPACKAGE_BUGREPORT
6861debfc3dSmrgPACKAGE_STRING
6871debfc3dSmrgPACKAGE_VERSION
6881debfc3dSmrgPACKAGE_TARNAME
6891debfc3dSmrgPACKAGE_NAME
6901debfc3dSmrgPATH_SEPARATOR
6911debfc3dSmrgSHELL'
6921debfc3dSmrgac_subst_files=''
6931debfc3dSmrgac_user_opts='
6941debfc3dSmrgenable_option_checking
6951debfc3dSmrgenable_werror_always
6961debfc3dSmrgwith_local_prefix
6971debfc3dSmrgenable_twoprocess
6981debfc3dSmrgenable_maintainer_mode
6991debfc3dSmrgwith_gcc_major_version_only
7001debfc3dSmrg'
7011debfc3dSmrg      ac_precious_vars='build_alias
7021debfc3dSmrghost_alias
7031debfc3dSmrgtarget_alias
7041debfc3dSmrgCC
7051debfc3dSmrgCFLAGS
7061debfc3dSmrgLDFLAGS
7071debfc3dSmrgLIBS
7081debfc3dSmrgCPPFLAGS
7091debfc3dSmrgCPP'
7101debfc3dSmrg
7111debfc3dSmrg
7121debfc3dSmrg# Initialize some variables set by options.
7131debfc3dSmrgac_init_help=
7141debfc3dSmrgac_init_version=false
7151debfc3dSmrgac_unrecognized_opts=
7161debfc3dSmrgac_unrecognized_sep=
7171debfc3dSmrg# The variables have the same names as the options, with
7181debfc3dSmrg# dashes changed to underlines.
7191debfc3dSmrgcache_file=/dev/null
7201debfc3dSmrgexec_prefix=NONE
7211debfc3dSmrgno_create=
7221debfc3dSmrgno_recursion=
7231debfc3dSmrgprefix=NONE
7241debfc3dSmrgprogram_prefix=NONE
7251debfc3dSmrgprogram_suffix=NONE
7261debfc3dSmrgprogram_transform_name=s,x,x,
7271debfc3dSmrgsilent=
7281debfc3dSmrgsite=
7291debfc3dSmrgsrcdir=
7301debfc3dSmrgverbose=
7311debfc3dSmrgx_includes=NONE
7321debfc3dSmrgx_libraries=NONE
7331debfc3dSmrg
7341debfc3dSmrg# Installation directory options.
7351debfc3dSmrg# These are left unexpanded so users can "make install exec_prefix=/foo"
7361debfc3dSmrg# and all the variables that are supposed to be based on exec_prefix
7371debfc3dSmrg# by default will actually change.
7381debfc3dSmrg# Use braces instead of parens because sh, perl, etc. also accept them.
7391debfc3dSmrg# (The list follows the same order as the GNU Coding Standards.)
7401debfc3dSmrgbindir='${exec_prefix}/bin'
7411debfc3dSmrgsbindir='${exec_prefix}/sbin'
7421debfc3dSmrglibexecdir='${exec_prefix}/libexec'
7431debfc3dSmrgdatarootdir='${prefix}/share'
7441debfc3dSmrgdatadir='${datarootdir}'
7451debfc3dSmrgsysconfdir='${prefix}/etc'
7461debfc3dSmrgsharedstatedir='${prefix}/com'
7471debfc3dSmrglocalstatedir='${prefix}/var'
7481debfc3dSmrgincludedir='${prefix}/include'
7491debfc3dSmrgoldincludedir='/usr/include'
7501debfc3dSmrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
7511debfc3dSmrginfodir='${datarootdir}/info'
7521debfc3dSmrghtmldir='${docdir}'
7531debfc3dSmrgdvidir='${docdir}'
7541debfc3dSmrgpdfdir='${docdir}'
7551debfc3dSmrgpsdir='${docdir}'
7561debfc3dSmrglibdir='${exec_prefix}/lib'
7571debfc3dSmrglocaledir='${datarootdir}/locale'
7581debfc3dSmrgmandir='${datarootdir}/man'
7591debfc3dSmrg
7601debfc3dSmrgac_prev=
7611debfc3dSmrgac_dashdash=
7621debfc3dSmrgfor ac_option
7631debfc3dSmrgdo
7641debfc3dSmrg  # If the previous option needs an argument, assign it.
7651debfc3dSmrg  if test -n "$ac_prev"; then
7661debfc3dSmrg    eval $ac_prev=\$ac_option
7671debfc3dSmrg    ac_prev=
7681debfc3dSmrg    continue
7691debfc3dSmrg  fi
7701debfc3dSmrg
7711debfc3dSmrg  case $ac_option in
772*c0a68be4Smrg  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
773*c0a68be4Smrg  *=)   ac_optarg= ;;
7741debfc3dSmrg  *)    ac_optarg=yes ;;
7751debfc3dSmrg  esac
7761debfc3dSmrg
7771debfc3dSmrg  # Accept the important Cygnus configure options, so we can diagnose typos.
7781debfc3dSmrg
7791debfc3dSmrg  case $ac_dashdash$ac_option in
7801debfc3dSmrg  --)
7811debfc3dSmrg    ac_dashdash=yes ;;
7821debfc3dSmrg
7831debfc3dSmrg  -bindir | --bindir | --bindi | --bind | --bin | --bi)
7841debfc3dSmrg    ac_prev=bindir ;;
7851debfc3dSmrg  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
7861debfc3dSmrg    bindir=$ac_optarg ;;
7871debfc3dSmrg
7881debfc3dSmrg  -build | --build | --buil | --bui | --bu)
7891debfc3dSmrg    ac_prev=build_alias ;;
7901debfc3dSmrg  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
7911debfc3dSmrg    build_alias=$ac_optarg ;;
7921debfc3dSmrg
7931debfc3dSmrg  -cache-file | --cache-file | --cache-fil | --cache-fi \
7941debfc3dSmrg  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
7951debfc3dSmrg    ac_prev=cache_file ;;
7961debfc3dSmrg  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
7971debfc3dSmrg  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
7981debfc3dSmrg    cache_file=$ac_optarg ;;
7991debfc3dSmrg
8001debfc3dSmrg  --config-cache | -C)
8011debfc3dSmrg    cache_file=config.cache ;;
8021debfc3dSmrg
8031debfc3dSmrg  -datadir | --datadir | --datadi | --datad)
8041debfc3dSmrg    ac_prev=datadir ;;
8051debfc3dSmrg  -datadir=* | --datadir=* | --datadi=* | --datad=*)
8061debfc3dSmrg    datadir=$ac_optarg ;;
8071debfc3dSmrg
8081debfc3dSmrg  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
8091debfc3dSmrg  | --dataroo | --dataro | --datar)
8101debfc3dSmrg    ac_prev=datarootdir ;;
8111debfc3dSmrg  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
8121debfc3dSmrg  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
8131debfc3dSmrg    datarootdir=$ac_optarg ;;
8141debfc3dSmrg
8151debfc3dSmrg  -disable-* | --disable-*)
8161debfc3dSmrg    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
8171debfc3dSmrg    # Reject names that are not valid shell variable names.
8181debfc3dSmrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
819*c0a68be4Smrg      as_fn_error $? "invalid feature name: $ac_useropt"
8201debfc3dSmrg    ac_useropt_orig=$ac_useropt
8211debfc3dSmrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
8221debfc3dSmrg    case $ac_user_opts in
8231debfc3dSmrg      *"
8241debfc3dSmrg"enable_$ac_useropt"
8251debfc3dSmrg"*) ;;
8261debfc3dSmrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
8271debfc3dSmrg	 ac_unrecognized_sep=', ';;
8281debfc3dSmrg    esac
8291debfc3dSmrg    eval enable_$ac_useropt=no ;;
8301debfc3dSmrg
8311debfc3dSmrg  -docdir | --docdir | --docdi | --doc | --do)
8321debfc3dSmrg    ac_prev=docdir ;;
8331debfc3dSmrg  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
8341debfc3dSmrg    docdir=$ac_optarg ;;
8351debfc3dSmrg
8361debfc3dSmrg  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
8371debfc3dSmrg    ac_prev=dvidir ;;
8381debfc3dSmrg  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
8391debfc3dSmrg    dvidir=$ac_optarg ;;
8401debfc3dSmrg
8411debfc3dSmrg  -enable-* | --enable-*)
8421debfc3dSmrg    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
8431debfc3dSmrg    # Reject names that are not valid shell variable names.
8441debfc3dSmrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
845*c0a68be4Smrg      as_fn_error $? "invalid feature name: $ac_useropt"
8461debfc3dSmrg    ac_useropt_orig=$ac_useropt
8471debfc3dSmrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
8481debfc3dSmrg    case $ac_user_opts in
8491debfc3dSmrg      *"
8501debfc3dSmrg"enable_$ac_useropt"
8511debfc3dSmrg"*) ;;
8521debfc3dSmrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
8531debfc3dSmrg	 ac_unrecognized_sep=', ';;
8541debfc3dSmrg    esac
8551debfc3dSmrg    eval enable_$ac_useropt=\$ac_optarg ;;
8561debfc3dSmrg
8571debfc3dSmrg  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
8581debfc3dSmrg  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
8591debfc3dSmrg  | --exec | --exe | --ex)
8601debfc3dSmrg    ac_prev=exec_prefix ;;
8611debfc3dSmrg  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
8621debfc3dSmrg  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
8631debfc3dSmrg  | --exec=* | --exe=* | --ex=*)
8641debfc3dSmrg    exec_prefix=$ac_optarg ;;
8651debfc3dSmrg
8661debfc3dSmrg  -gas | --gas | --ga | --g)
8671debfc3dSmrg    # Obsolete; use --with-gas.
8681debfc3dSmrg    with_gas=yes ;;
8691debfc3dSmrg
8701debfc3dSmrg  -help | --help | --hel | --he | -h)
8711debfc3dSmrg    ac_init_help=long ;;
8721debfc3dSmrg  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
8731debfc3dSmrg    ac_init_help=recursive ;;
8741debfc3dSmrg  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
8751debfc3dSmrg    ac_init_help=short ;;
8761debfc3dSmrg
8771debfc3dSmrg  -host | --host | --hos | --ho)
8781debfc3dSmrg    ac_prev=host_alias ;;
8791debfc3dSmrg  -host=* | --host=* | --hos=* | --ho=*)
8801debfc3dSmrg    host_alias=$ac_optarg ;;
8811debfc3dSmrg
8821debfc3dSmrg  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
8831debfc3dSmrg    ac_prev=htmldir ;;
8841debfc3dSmrg  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
8851debfc3dSmrg  | --ht=*)
8861debfc3dSmrg    htmldir=$ac_optarg ;;
8871debfc3dSmrg
8881debfc3dSmrg  -includedir | --includedir | --includedi | --included | --include \
8891debfc3dSmrg  | --includ | --inclu | --incl | --inc)
8901debfc3dSmrg    ac_prev=includedir ;;
8911debfc3dSmrg  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
8921debfc3dSmrg  | --includ=* | --inclu=* | --incl=* | --inc=*)
8931debfc3dSmrg    includedir=$ac_optarg ;;
8941debfc3dSmrg
8951debfc3dSmrg  -infodir | --infodir | --infodi | --infod | --info | --inf)
8961debfc3dSmrg    ac_prev=infodir ;;
8971debfc3dSmrg  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
8981debfc3dSmrg    infodir=$ac_optarg ;;
8991debfc3dSmrg
9001debfc3dSmrg  -libdir | --libdir | --libdi | --libd)
9011debfc3dSmrg    ac_prev=libdir ;;
9021debfc3dSmrg  -libdir=* | --libdir=* | --libdi=* | --libd=*)
9031debfc3dSmrg    libdir=$ac_optarg ;;
9041debfc3dSmrg
9051debfc3dSmrg  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
9061debfc3dSmrg  | --libexe | --libex | --libe)
9071debfc3dSmrg    ac_prev=libexecdir ;;
9081debfc3dSmrg  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
9091debfc3dSmrg  | --libexe=* | --libex=* | --libe=*)
9101debfc3dSmrg    libexecdir=$ac_optarg ;;
9111debfc3dSmrg
9121debfc3dSmrg  -localedir | --localedir | --localedi | --localed | --locale)
9131debfc3dSmrg    ac_prev=localedir ;;
9141debfc3dSmrg  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
9151debfc3dSmrg    localedir=$ac_optarg ;;
9161debfc3dSmrg
9171debfc3dSmrg  -localstatedir | --localstatedir | --localstatedi | --localstated \
9181debfc3dSmrg  | --localstate | --localstat | --localsta | --localst | --locals)
9191debfc3dSmrg    ac_prev=localstatedir ;;
9201debfc3dSmrg  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
9211debfc3dSmrg  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
9221debfc3dSmrg    localstatedir=$ac_optarg ;;
9231debfc3dSmrg
9241debfc3dSmrg  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
9251debfc3dSmrg    ac_prev=mandir ;;
9261debfc3dSmrg  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
9271debfc3dSmrg    mandir=$ac_optarg ;;
9281debfc3dSmrg
9291debfc3dSmrg  -nfp | --nfp | --nf)
9301debfc3dSmrg    # Obsolete; use --without-fp.
9311debfc3dSmrg    with_fp=no ;;
9321debfc3dSmrg
9331debfc3dSmrg  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
9341debfc3dSmrg  | --no-cr | --no-c | -n)
9351debfc3dSmrg    no_create=yes ;;
9361debfc3dSmrg
9371debfc3dSmrg  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
9381debfc3dSmrg  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
9391debfc3dSmrg    no_recursion=yes ;;
9401debfc3dSmrg
9411debfc3dSmrg  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
9421debfc3dSmrg  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
9431debfc3dSmrg  | --oldin | --oldi | --old | --ol | --o)
9441debfc3dSmrg    ac_prev=oldincludedir ;;
9451debfc3dSmrg  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
9461debfc3dSmrg  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
9471debfc3dSmrg  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
9481debfc3dSmrg    oldincludedir=$ac_optarg ;;
9491debfc3dSmrg
9501debfc3dSmrg  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
9511debfc3dSmrg    ac_prev=prefix ;;
9521debfc3dSmrg  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
9531debfc3dSmrg    prefix=$ac_optarg ;;
9541debfc3dSmrg
9551debfc3dSmrg  -program-prefix | --program-prefix | --program-prefi | --program-pref \
9561debfc3dSmrg  | --program-pre | --program-pr | --program-p)
9571debfc3dSmrg    ac_prev=program_prefix ;;
9581debfc3dSmrg  -program-prefix=* | --program-prefix=* | --program-prefi=* \
9591debfc3dSmrg  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
9601debfc3dSmrg    program_prefix=$ac_optarg ;;
9611debfc3dSmrg
9621debfc3dSmrg  -program-suffix | --program-suffix | --program-suffi | --program-suff \
9631debfc3dSmrg  | --program-suf | --program-su | --program-s)
9641debfc3dSmrg    ac_prev=program_suffix ;;
9651debfc3dSmrg  -program-suffix=* | --program-suffix=* | --program-suffi=* \
9661debfc3dSmrg  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
9671debfc3dSmrg    program_suffix=$ac_optarg ;;
9681debfc3dSmrg
9691debfc3dSmrg  -program-transform-name | --program-transform-name \
9701debfc3dSmrg  | --program-transform-nam | --program-transform-na \
9711debfc3dSmrg  | --program-transform-n | --program-transform- \
9721debfc3dSmrg  | --program-transform | --program-transfor \
9731debfc3dSmrg  | --program-transfo | --program-transf \
9741debfc3dSmrg  | --program-trans | --program-tran \
9751debfc3dSmrg  | --progr-tra | --program-tr | --program-t)
9761debfc3dSmrg    ac_prev=program_transform_name ;;
9771debfc3dSmrg  -program-transform-name=* | --program-transform-name=* \
9781debfc3dSmrg  | --program-transform-nam=* | --program-transform-na=* \
9791debfc3dSmrg  | --program-transform-n=* | --program-transform-=* \
9801debfc3dSmrg  | --program-transform=* | --program-transfor=* \
9811debfc3dSmrg  | --program-transfo=* | --program-transf=* \
9821debfc3dSmrg  | --program-trans=* | --program-tran=* \
9831debfc3dSmrg  | --progr-tra=* | --program-tr=* | --program-t=*)
9841debfc3dSmrg    program_transform_name=$ac_optarg ;;
9851debfc3dSmrg
9861debfc3dSmrg  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
9871debfc3dSmrg    ac_prev=pdfdir ;;
9881debfc3dSmrg  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
9891debfc3dSmrg    pdfdir=$ac_optarg ;;
9901debfc3dSmrg
9911debfc3dSmrg  -psdir | --psdir | --psdi | --psd | --ps)
9921debfc3dSmrg    ac_prev=psdir ;;
9931debfc3dSmrg  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
9941debfc3dSmrg    psdir=$ac_optarg ;;
9951debfc3dSmrg
9961debfc3dSmrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
9971debfc3dSmrg  | -silent | --silent | --silen | --sile | --sil)
9981debfc3dSmrg    silent=yes ;;
9991debfc3dSmrg
10001debfc3dSmrg  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
10011debfc3dSmrg    ac_prev=sbindir ;;
10021debfc3dSmrg  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
10031debfc3dSmrg  | --sbi=* | --sb=*)
10041debfc3dSmrg    sbindir=$ac_optarg ;;
10051debfc3dSmrg
10061debfc3dSmrg  -sharedstatedir | --sharedstatedir | --sharedstatedi \
10071debfc3dSmrg  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
10081debfc3dSmrg  | --sharedst | --shareds | --shared | --share | --shar \
10091debfc3dSmrg  | --sha | --sh)
10101debfc3dSmrg    ac_prev=sharedstatedir ;;
10111debfc3dSmrg  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
10121debfc3dSmrg  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
10131debfc3dSmrg  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
10141debfc3dSmrg  | --sha=* | --sh=*)
10151debfc3dSmrg    sharedstatedir=$ac_optarg ;;
10161debfc3dSmrg
10171debfc3dSmrg  -site | --site | --sit)
10181debfc3dSmrg    ac_prev=site ;;
10191debfc3dSmrg  -site=* | --site=* | --sit=*)
10201debfc3dSmrg    site=$ac_optarg ;;
10211debfc3dSmrg
10221debfc3dSmrg  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
10231debfc3dSmrg    ac_prev=srcdir ;;
10241debfc3dSmrg  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
10251debfc3dSmrg    srcdir=$ac_optarg ;;
10261debfc3dSmrg
10271debfc3dSmrg  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
10281debfc3dSmrg  | --syscon | --sysco | --sysc | --sys | --sy)
10291debfc3dSmrg    ac_prev=sysconfdir ;;
10301debfc3dSmrg  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
10311debfc3dSmrg  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
10321debfc3dSmrg    sysconfdir=$ac_optarg ;;
10331debfc3dSmrg
10341debfc3dSmrg  -target | --target | --targe | --targ | --tar | --ta | --t)
10351debfc3dSmrg    ac_prev=target_alias ;;
10361debfc3dSmrg  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
10371debfc3dSmrg    target_alias=$ac_optarg ;;
10381debfc3dSmrg
10391debfc3dSmrg  -v | -verbose | --verbose | --verbos | --verbo | --verb)
10401debfc3dSmrg    verbose=yes ;;
10411debfc3dSmrg
10421debfc3dSmrg  -version | --version | --versio | --versi | --vers | -V)
10431debfc3dSmrg    ac_init_version=: ;;
10441debfc3dSmrg
10451debfc3dSmrg  -with-* | --with-*)
10461debfc3dSmrg    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
10471debfc3dSmrg    # Reject names that are not valid shell variable names.
10481debfc3dSmrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1049*c0a68be4Smrg      as_fn_error $? "invalid package name: $ac_useropt"
10501debfc3dSmrg    ac_useropt_orig=$ac_useropt
10511debfc3dSmrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
10521debfc3dSmrg    case $ac_user_opts in
10531debfc3dSmrg      *"
10541debfc3dSmrg"with_$ac_useropt"
10551debfc3dSmrg"*) ;;
10561debfc3dSmrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
10571debfc3dSmrg	 ac_unrecognized_sep=', ';;
10581debfc3dSmrg    esac
10591debfc3dSmrg    eval with_$ac_useropt=\$ac_optarg ;;
10601debfc3dSmrg
10611debfc3dSmrg  -without-* | --without-*)
10621debfc3dSmrg    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
10631debfc3dSmrg    # Reject names that are not valid shell variable names.
10641debfc3dSmrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1065*c0a68be4Smrg      as_fn_error $? "invalid package name: $ac_useropt"
10661debfc3dSmrg    ac_useropt_orig=$ac_useropt
10671debfc3dSmrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
10681debfc3dSmrg    case $ac_user_opts in
10691debfc3dSmrg      *"
10701debfc3dSmrg"with_$ac_useropt"
10711debfc3dSmrg"*) ;;
10721debfc3dSmrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
10731debfc3dSmrg	 ac_unrecognized_sep=', ';;
10741debfc3dSmrg    esac
10751debfc3dSmrg    eval with_$ac_useropt=no ;;
10761debfc3dSmrg
10771debfc3dSmrg  --x)
10781debfc3dSmrg    # Obsolete; use --with-x.
10791debfc3dSmrg    with_x=yes ;;
10801debfc3dSmrg
10811debfc3dSmrg  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
10821debfc3dSmrg  | --x-incl | --x-inc | --x-in | --x-i)
10831debfc3dSmrg    ac_prev=x_includes ;;
10841debfc3dSmrg  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
10851debfc3dSmrg  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
10861debfc3dSmrg    x_includes=$ac_optarg ;;
10871debfc3dSmrg
10881debfc3dSmrg  -x-libraries | --x-libraries | --x-librarie | --x-librari \
10891debfc3dSmrg  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
10901debfc3dSmrg    ac_prev=x_libraries ;;
10911debfc3dSmrg  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
10921debfc3dSmrg  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
10931debfc3dSmrg    x_libraries=$ac_optarg ;;
10941debfc3dSmrg
1095*c0a68be4Smrg  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1096*c0a68be4SmrgTry \`$0 --help' for more information"
10971debfc3dSmrg    ;;
10981debfc3dSmrg
10991debfc3dSmrg  *=*)
11001debfc3dSmrg    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
11011debfc3dSmrg    # Reject names that are not valid shell variable names.
11021debfc3dSmrg    case $ac_envvar in #(
11031debfc3dSmrg      '' | [0-9]* | *[!_$as_cr_alnum]* )
1104*c0a68be4Smrg      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
11051debfc3dSmrg    esac
11061debfc3dSmrg    eval $ac_envvar=\$ac_optarg
11071debfc3dSmrg    export $ac_envvar ;;
11081debfc3dSmrg
11091debfc3dSmrg  *)
11101debfc3dSmrg    # FIXME: should be removed in autoconf 3.0.
11111debfc3dSmrg    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
11121debfc3dSmrg    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
11131debfc3dSmrg      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1114*c0a68be4Smrg    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
11151debfc3dSmrg    ;;
11161debfc3dSmrg
11171debfc3dSmrg  esac
11181debfc3dSmrgdone
11191debfc3dSmrg
11201debfc3dSmrgif test -n "$ac_prev"; then
11211debfc3dSmrg  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1122*c0a68be4Smrg  as_fn_error $? "missing argument to $ac_option"
11231debfc3dSmrgfi
11241debfc3dSmrg
11251debfc3dSmrgif test -n "$ac_unrecognized_opts"; then
11261debfc3dSmrg  case $enable_option_checking in
11271debfc3dSmrg    no) ;;
1128*c0a68be4Smrg    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
11291debfc3dSmrg    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
11301debfc3dSmrg  esac
11311debfc3dSmrgfi
11321debfc3dSmrg
11331debfc3dSmrg# Check all directory arguments for consistency.
11341debfc3dSmrgfor ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
11351debfc3dSmrg		datadir sysconfdir sharedstatedir localstatedir includedir \
11361debfc3dSmrg		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
11371debfc3dSmrg		libdir localedir mandir
11381debfc3dSmrgdo
11391debfc3dSmrg  eval ac_val=\$$ac_var
11401debfc3dSmrg  # Remove trailing slashes.
11411debfc3dSmrg  case $ac_val in
11421debfc3dSmrg    */ )
11431debfc3dSmrg      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
11441debfc3dSmrg      eval $ac_var=\$ac_val;;
11451debfc3dSmrg  esac
11461debfc3dSmrg  # Be sure to have absolute directory names.
11471debfc3dSmrg  case $ac_val in
11481debfc3dSmrg    [\\/$]* | ?:[\\/]* )  continue;;
11491debfc3dSmrg    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
11501debfc3dSmrg  esac
1151*c0a68be4Smrg  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
11521debfc3dSmrgdone
11531debfc3dSmrg
11541debfc3dSmrg# There might be people who depend on the old broken behavior: `$host'
11551debfc3dSmrg# used to hold the argument of --host etc.
11561debfc3dSmrg# FIXME: To remove some day.
11571debfc3dSmrgbuild=$build_alias
11581debfc3dSmrghost=$host_alias
11591debfc3dSmrgtarget=$target_alias
11601debfc3dSmrg
11611debfc3dSmrg# FIXME: To remove some day.
11621debfc3dSmrgif test "x$host_alias" != x; then
11631debfc3dSmrg  if test "x$build_alias" = x; then
11641debfc3dSmrg    cross_compiling=maybe
11651debfc3dSmrg  elif test "x$build_alias" != "x$host_alias"; then
11661debfc3dSmrg    cross_compiling=yes
11671debfc3dSmrg  fi
11681debfc3dSmrgfi
11691debfc3dSmrg
11701debfc3dSmrgac_tool_prefix=
11711debfc3dSmrgtest -n "$host_alias" && ac_tool_prefix=$host_alias-
11721debfc3dSmrg
11731debfc3dSmrgtest "$silent" = yes && exec 6>/dev/null
11741debfc3dSmrg
11751debfc3dSmrg
11761debfc3dSmrgac_pwd=`pwd` && test -n "$ac_pwd" &&
11771debfc3dSmrgac_ls_di=`ls -di .` &&
11781debfc3dSmrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1179*c0a68be4Smrg  as_fn_error $? "working directory cannot be determined"
11801debfc3dSmrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1181*c0a68be4Smrg  as_fn_error $? "pwd does not report name of working directory"
11821debfc3dSmrg
11831debfc3dSmrg
11841debfc3dSmrg# Find the source files, if location was not specified.
11851debfc3dSmrgif test -z "$srcdir"; then
11861debfc3dSmrg  ac_srcdir_defaulted=yes
11871debfc3dSmrg  # Try the directory containing this script, then the parent directory.
11881debfc3dSmrg  ac_confdir=`$as_dirname -- "$as_myself" ||
11891debfc3dSmrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11901debfc3dSmrg	 X"$as_myself" : 'X\(//\)[^/]' \| \
11911debfc3dSmrg	 X"$as_myself" : 'X\(//\)$' \| \
11921debfc3dSmrg	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
11931debfc3dSmrg$as_echo X"$as_myself" |
11941debfc3dSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11951debfc3dSmrg	    s//\1/
11961debfc3dSmrg	    q
11971debfc3dSmrg	  }
11981debfc3dSmrg	  /^X\(\/\/\)[^/].*/{
11991debfc3dSmrg	    s//\1/
12001debfc3dSmrg	    q
12011debfc3dSmrg	  }
12021debfc3dSmrg	  /^X\(\/\/\)$/{
12031debfc3dSmrg	    s//\1/
12041debfc3dSmrg	    q
12051debfc3dSmrg	  }
12061debfc3dSmrg	  /^X\(\/\).*/{
12071debfc3dSmrg	    s//\1/
12081debfc3dSmrg	    q
12091debfc3dSmrg	  }
12101debfc3dSmrg	  s/.*/./; q'`
12111debfc3dSmrg  srcdir=$ac_confdir
12121debfc3dSmrg  if test ! -r "$srcdir/$ac_unique_file"; then
12131debfc3dSmrg    srcdir=..
12141debfc3dSmrg  fi
12151debfc3dSmrgelse
12161debfc3dSmrg  ac_srcdir_defaulted=no
12171debfc3dSmrgfi
12181debfc3dSmrgif test ! -r "$srcdir/$ac_unique_file"; then
12191debfc3dSmrg  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1220*c0a68be4Smrg  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
12211debfc3dSmrgfi
12221debfc3dSmrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
12231debfc3dSmrgac_abs_confdir=`(
1224*c0a68be4Smrg	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
12251debfc3dSmrg	pwd)`
12261debfc3dSmrg# When building in place, set srcdir=.
12271debfc3dSmrgif test "$ac_abs_confdir" = "$ac_pwd"; then
12281debfc3dSmrg  srcdir=.
12291debfc3dSmrgfi
12301debfc3dSmrg# Remove unnecessary trailing slashes from srcdir.
12311debfc3dSmrg# Double slashes in file names in object file debugging info
12321debfc3dSmrg# mess up M-x gdb in Emacs.
12331debfc3dSmrgcase $srcdir in
12341debfc3dSmrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
12351debfc3dSmrgesac
12361debfc3dSmrgfor ac_var in $ac_precious_vars; do
12371debfc3dSmrg  eval ac_env_${ac_var}_set=\${${ac_var}+set}
12381debfc3dSmrg  eval ac_env_${ac_var}_value=\$${ac_var}
12391debfc3dSmrg  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
12401debfc3dSmrg  eval ac_cv_env_${ac_var}_value=\$${ac_var}
12411debfc3dSmrgdone
12421debfc3dSmrg
12431debfc3dSmrg#
12441debfc3dSmrg# Report the --help message.
12451debfc3dSmrg#
12461debfc3dSmrgif test "$ac_init_help" = "long"; then
12471debfc3dSmrg  # Omit some internal or obsolete options to make the list less imposing.
12481debfc3dSmrg  # This message is too long to be a string in the A/UX 3.1 sh.
12491debfc3dSmrg  cat <<_ACEOF
12501debfc3dSmrg\`configure' configures fixincludes   to adapt to many kinds of systems.
12511debfc3dSmrg
12521debfc3dSmrgUsage: $0 [OPTION]... [VAR=VALUE]...
12531debfc3dSmrg
12541debfc3dSmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as
12551debfc3dSmrgVAR=VALUE.  See below for descriptions of some of the useful variables.
12561debfc3dSmrg
12571debfc3dSmrgDefaults for the options are specified in brackets.
12581debfc3dSmrg
12591debfc3dSmrgConfiguration:
12601debfc3dSmrg  -h, --help              display this help and exit
12611debfc3dSmrg      --help=short        display options specific to this package
12621debfc3dSmrg      --help=recursive    display the short help of all the included packages
12631debfc3dSmrg  -V, --version           display version information and exit
12641debfc3dSmrg  -q, --quiet, --silent   do not print \`checking ...' messages
12651debfc3dSmrg      --cache-file=FILE   cache test results in FILE [disabled]
12661debfc3dSmrg  -C, --config-cache      alias for \`--cache-file=config.cache'
12671debfc3dSmrg  -n, --no-create         do not create output files
12681debfc3dSmrg      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
12691debfc3dSmrg
12701debfc3dSmrgInstallation directories:
12711debfc3dSmrg  --prefix=PREFIX         install architecture-independent files in PREFIX
12721debfc3dSmrg                          [$ac_default_prefix]
12731debfc3dSmrg  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
12741debfc3dSmrg                          [PREFIX]
12751debfc3dSmrg
12761debfc3dSmrgBy default, \`make install' will install all the files in
12771debfc3dSmrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
12781debfc3dSmrgan installation prefix other than \`$ac_default_prefix' using \`--prefix',
12791debfc3dSmrgfor instance \`--prefix=\$HOME'.
12801debfc3dSmrg
12811debfc3dSmrgFor better control, use the options below.
12821debfc3dSmrg
12831debfc3dSmrgFine tuning of the installation directories:
12841debfc3dSmrg  --bindir=DIR            user executables [EPREFIX/bin]
12851debfc3dSmrg  --sbindir=DIR           system admin executables [EPREFIX/sbin]
12861debfc3dSmrg  --libexecdir=DIR        program executables [EPREFIX/libexec]
12871debfc3dSmrg  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
12881debfc3dSmrg  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
12891debfc3dSmrg  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
12901debfc3dSmrg  --libdir=DIR            object code libraries [EPREFIX/lib]
12911debfc3dSmrg  --includedir=DIR        C header files [PREFIX/include]
12921debfc3dSmrg  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
12931debfc3dSmrg  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
12941debfc3dSmrg  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
12951debfc3dSmrg  --infodir=DIR           info documentation [DATAROOTDIR/info]
12961debfc3dSmrg  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
12971debfc3dSmrg  --mandir=DIR            man documentation [DATAROOTDIR/man]
12981debfc3dSmrg  --docdir=DIR            documentation root [DATAROOTDIR/doc/fixincludes]
12991debfc3dSmrg  --htmldir=DIR           html documentation [DOCDIR]
13001debfc3dSmrg  --dvidir=DIR            dvi documentation [DOCDIR]
13011debfc3dSmrg  --pdfdir=DIR            pdf documentation [DOCDIR]
13021debfc3dSmrg  --psdir=DIR             ps documentation [DOCDIR]
13031debfc3dSmrg_ACEOF
13041debfc3dSmrg
13051debfc3dSmrg  cat <<\_ACEOF
13061debfc3dSmrg
13071debfc3dSmrgSystem types:
13081debfc3dSmrg  --build=BUILD     configure for building on BUILD [guessed]
13091debfc3dSmrg  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
13101debfc3dSmrg  --target=TARGET   configure for building compilers for TARGET [HOST]
13111debfc3dSmrg_ACEOF
13121debfc3dSmrgfi
13131debfc3dSmrg
13141debfc3dSmrgif test -n "$ac_init_help"; then
13151debfc3dSmrg  case $ac_init_help in
13161debfc3dSmrg     short | recursive ) echo "Configuration of fixincludes  :";;
13171debfc3dSmrg   esac
13181debfc3dSmrg  cat <<\_ACEOF
13191debfc3dSmrg
13201debfc3dSmrgOptional Features:
13211debfc3dSmrg  --disable-option-checking  ignore unrecognized --enable/--with options
13221debfc3dSmrg  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
13231debfc3dSmrg  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
13241debfc3dSmrg  --enable-werror-always  enable -Werror despite compiler version
13251debfc3dSmrg  --enable-twoprocess       Use a separate process to apply the fixes
13261debfc3dSmrg  --enable-maintainer-mode enable make rules and dependencies not useful
13271debfc3dSmrg                          (and sometimes confusing) to the casual installer
13281debfc3dSmrg
13291debfc3dSmrgOptional Packages:
13301debfc3dSmrg  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
13311debfc3dSmrg  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
13321debfc3dSmrg  --with-local-prefix=DIR specifies directory to put local include
13331debfc3dSmrg  --with-gcc-major-version-only
13341debfc3dSmrg                          use only GCC major number in filesystem paths
13351debfc3dSmrg
13361debfc3dSmrgSome influential environment variables:
13371debfc3dSmrg  CC          C compiler command
13381debfc3dSmrg  CFLAGS      C compiler flags
13391debfc3dSmrg  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
13401debfc3dSmrg              nonstandard directory <lib dir>
13411debfc3dSmrg  LIBS        libraries to pass to the linker, e.g. -l<library>
1342*c0a68be4Smrg  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
13431debfc3dSmrg              you have headers in a nonstandard directory <include dir>
13441debfc3dSmrg  CPP         C preprocessor
13451debfc3dSmrg
13461debfc3dSmrgUse these variables to override the choices made by `configure' or to help
13471debfc3dSmrgit to find libraries and programs with nonstandard names/locations.
13481debfc3dSmrg
13491debfc3dSmrgReport bugs to the package provider.
13501debfc3dSmrg_ACEOF
13511debfc3dSmrgac_status=$?
13521debfc3dSmrgfi
13531debfc3dSmrg
13541debfc3dSmrgif test "$ac_init_help" = "recursive"; then
13551debfc3dSmrg  # If there are subdirs, report their specific --help.
13561debfc3dSmrg  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
13571debfc3dSmrg    test -d "$ac_dir" ||
13581debfc3dSmrg      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
13591debfc3dSmrg      continue
13601debfc3dSmrg    ac_builddir=.
13611debfc3dSmrg
13621debfc3dSmrgcase "$ac_dir" in
13631debfc3dSmrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13641debfc3dSmrg*)
13651debfc3dSmrg  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13661debfc3dSmrg  # A ".." for each directory in $ac_dir_suffix.
13671debfc3dSmrg  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13681debfc3dSmrg  case $ac_top_builddir_sub in
13691debfc3dSmrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13701debfc3dSmrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13711debfc3dSmrg  esac ;;
13721debfc3dSmrgesac
13731debfc3dSmrgac_abs_top_builddir=$ac_pwd
13741debfc3dSmrgac_abs_builddir=$ac_pwd$ac_dir_suffix
13751debfc3dSmrg# for backward compatibility:
13761debfc3dSmrgac_top_builddir=$ac_top_build_prefix
13771debfc3dSmrg
13781debfc3dSmrgcase $srcdir in
13791debfc3dSmrg  .)  # We are building in place.
13801debfc3dSmrg    ac_srcdir=.
13811debfc3dSmrg    ac_top_srcdir=$ac_top_builddir_sub
13821debfc3dSmrg    ac_abs_top_srcdir=$ac_pwd ;;
13831debfc3dSmrg  [\\/]* | ?:[\\/]* )  # Absolute name.
13841debfc3dSmrg    ac_srcdir=$srcdir$ac_dir_suffix;
13851debfc3dSmrg    ac_top_srcdir=$srcdir
13861debfc3dSmrg    ac_abs_top_srcdir=$srcdir ;;
13871debfc3dSmrg  *) # Relative name.
13881debfc3dSmrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13891debfc3dSmrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
13901debfc3dSmrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13911debfc3dSmrgesac
13921debfc3dSmrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13931debfc3dSmrg
13941debfc3dSmrg    cd "$ac_dir" || { ac_status=$?; continue; }
13951debfc3dSmrg    # Check for guested configure.
13961debfc3dSmrg    if test -f "$ac_srcdir/configure.gnu"; then
13971debfc3dSmrg      echo &&
13981debfc3dSmrg      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
13991debfc3dSmrg    elif test -f "$ac_srcdir/configure"; then
14001debfc3dSmrg      echo &&
14011debfc3dSmrg      $SHELL "$ac_srcdir/configure" --help=recursive
14021debfc3dSmrg    else
14031debfc3dSmrg      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
14041debfc3dSmrg    fi || ac_status=$?
14051debfc3dSmrg    cd "$ac_pwd" || { ac_status=$?; break; }
14061debfc3dSmrg  done
14071debfc3dSmrgfi
14081debfc3dSmrg
14091debfc3dSmrgtest -n "$ac_init_help" && exit $ac_status
14101debfc3dSmrgif $ac_init_version; then
14111debfc3dSmrg  cat <<\_ACEOF
14121debfc3dSmrgfixincludes configure
1413*c0a68be4Smrggenerated by GNU Autoconf 2.69
14141debfc3dSmrg
1415*c0a68be4SmrgCopyright (C) 2012 Free Software Foundation, Inc.
14161debfc3dSmrgThis configure script is free software; the Free Software Foundation
14171debfc3dSmrggives unlimited permission to copy, distribute and modify it.
14181debfc3dSmrg_ACEOF
14191debfc3dSmrg  exit
14201debfc3dSmrgfi
14211debfc3dSmrg
14221debfc3dSmrg## ------------------------ ##
14231debfc3dSmrg## Autoconf initialization. ##
14241debfc3dSmrg## ------------------------ ##
14251debfc3dSmrg
14261debfc3dSmrg# ac_fn_c_try_compile LINENO
14271debfc3dSmrg# --------------------------
14281debfc3dSmrg# Try to compile conftest.$ac_ext, and return whether this succeeded.
14291debfc3dSmrgac_fn_c_try_compile ()
14301debfc3dSmrg{
14311debfc3dSmrg  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14321debfc3dSmrg  rm -f conftest.$ac_objext
14331debfc3dSmrg  if { { ac_try="$ac_compile"
14341debfc3dSmrgcase "(($ac_try" in
14351debfc3dSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14361debfc3dSmrg  *) ac_try_echo=$ac_try;;
14371debfc3dSmrgesac
14381debfc3dSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14391debfc3dSmrg$as_echo "$ac_try_echo"; } >&5
14401debfc3dSmrg  (eval "$ac_compile") 2>conftest.err
14411debfc3dSmrg  ac_status=$?
14421debfc3dSmrg  if test -s conftest.err; then
14431debfc3dSmrg    grep -v '^ *+' conftest.err >conftest.er1
14441debfc3dSmrg    cat conftest.er1 >&5
14451debfc3dSmrg    mv -f conftest.er1 conftest.err
14461debfc3dSmrg  fi
14471debfc3dSmrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14481debfc3dSmrg  test $ac_status = 0; } && {
14491debfc3dSmrg	 test -z "$ac_c_werror_flag" ||
14501debfc3dSmrg	 test ! -s conftest.err
14511debfc3dSmrg       } && test -s conftest.$ac_objext; then :
14521debfc3dSmrg  ac_retval=0
14531debfc3dSmrgelse
14541debfc3dSmrg  $as_echo "$as_me: failed program was:" >&5
14551debfc3dSmrgsed 's/^/| /' conftest.$ac_ext >&5
14561debfc3dSmrg
14571debfc3dSmrg	ac_retval=1
14581debfc3dSmrgfi
1459*c0a68be4Smrg  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1460*c0a68be4Smrg  as_fn_set_status $ac_retval
14611debfc3dSmrg
14621debfc3dSmrg} # ac_fn_c_try_compile
14631debfc3dSmrg
14641debfc3dSmrg# ac_fn_c_try_cpp LINENO
14651debfc3dSmrg# ----------------------
14661debfc3dSmrg# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
14671debfc3dSmrgac_fn_c_try_cpp ()
14681debfc3dSmrg{
14691debfc3dSmrg  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14701debfc3dSmrg  if { { ac_try="$ac_cpp conftest.$ac_ext"
14711debfc3dSmrgcase "(($ac_try" in
14721debfc3dSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14731debfc3dSmrg  *) ac_try_echo=$ac_try;;
14741debfc3dSmrgesac
14751debfc3dSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14761debfc3dSmrg$as_echo "$ac_try_echo"; } >&5
14771debfc3dSmrg  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
14781debfc3dSmrg  ac_status=$?
14791debfc3dSmrg  if test -s conftest.err; then
14801debfc3dSmrg    grep -v '^ *+' conftest.err >conftest.er1
14811debfc3dSmrg    cat conftest.er1 >&5
14821debfc3dSmrg    mv -f conftest.er1 conftest.err
14831debfc3dSmrg  fi
14841debfc3dSmrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1485*c0a68be4Smrg  test $ac_status = 0; } > conftest.i && {
14861debfc3dSmrg	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14871debfc3dSmrg	 test ! -s conftest.err
14881debfc3dSmrg       }; then :
14891debfc3dSmrg  ac_retval=0
14901debfc3dSmrgelse
14911debfc3dSmrg  $as_echo "$as_me: failed program was:" >&5
14921debfc3dSmrgsed 's/^/| /' conftest.$ac_ext >&5
14931debfc3dSmrg
14941debfc3dSmrg    ac_retval=1
14951debfc3dSmrgfi
1496*c0a68be4Smrg  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1497*c0a68be4Smrg  as_fn_set_status $ac_retval
14981debfc3dSmrg
14991debfc3dSmrg} # ac_fn_c_try_cpp
15001debfc3dSmrg
15011debfc3dSmrg# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
15021debfc3dSmrg# -------------------------------------------------------
15031debfc3dSmrg# Tests whether HEADER exists, giving a warning if it cannot be compiled using
15041debfc3dSmrg# the include files in INCLUDES and setting the cache variable VAR
15051debfc3dSmrg# accordingly.
15061debfc3dSmrgac_fn_c_check_header_mongrel ()
15071debfc3dSmrg{
15081debfc3dSmrg  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1509*c0a68be4Smrg  if eval \${$3+:} false; then :
15101debfc3dSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
15111debfc3dSmrg$as_echo_n "checking for $2... " >&6; }
1512*c0a68be4Smrgif eval \${$3+:} false; then :
15131debfc3dSmrg  $as_echo_n "(cached) " >&6
15141debfc3dSmrgfi
15151debfc3dSmrgeval ac_res=\$$3
15161debfc3dSmrg	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15171debfc3dSmrg$as_echo "$ac_res" >&6; }
15181debfc3dSmrgelse
15191debfc3dSmrg  # Is the header compilable?
15201debfc3dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
15211debfc3dSmrg$as_echo_n "checking $2 usability... " >&6; }
15221debfc3dSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext
15231debfc3dSmrg/* end confdefs.h.  */
15241debfc3dSmrg$4
15251debfc3dSmrg#include <$2>
15261debfc3dSmrg_ACEOF
15271debfc3dSmrgif ac_fn_c_try_compile "$LINENO"; then :
15281debfc3dSmrg  ac_header_compiler=yes
15291debfc3dSmrgelse
15301debfc3dSmrg  ac_header_compiler=no
15311debfc3dSmrgfi
15321debfc3dSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15331debfc3dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
15341debfc3dSmrg$as_echo "$ac_header_compiler" >&6; }
15351debfc3dSmrg
15361debfc3dSmrg# Is the header present?
15371debfc3dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
15381debfc3dSmrg$as_echo_n "checking $2 presence... " >&6; }
15391debfc3dSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext
15401debfc3dSmrg/* end confdefs.h.  */
15411debfc3dSmrg#include <$2>
15421debfc3dSmrg_ACEOF
15431debfc3dSmrgif ac_fn_c_try_cpp "$LINENO"; then :
15441debfc3dSmrg  ac_header_preproc=yes
15451debfc3dSmrgelse
15461debfc3dSmrg  ac_header_preproc=no
15471debfc3dSmrgfi
1548*c0a68be4Smrgrm -f conftest.err conftest.i conftest.$ac_ext
15491debfc3dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
15501debfc3dSmrg$as_echo "$ac_header_preproc" >&6; }
15511debfc3dSmrg
15521debfc3dSmrg# So?  What about this header?
15531debfc3dSmrgcase $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
15541debfc3dSmrg  yes:no: )
15551debfc3dSmrg    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
15561debfc3dSmrg$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
15571debfc3dSmrg    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
15581debfc3dSmrg$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
15591debfc3dSmrg    ;;
15601debfc3dSmrg  no:yes:* )
15611debfc3dSmrg    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
15621debfc3dSmrg$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
15631debfc3dSmrg    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
15641debfc3dSmrg$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
15651debfc3dSmrg    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
15661debfc3dSmrg$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
15671debfc3dSmrg    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
15681debfc3dSmrg$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
15691debfc3dSmrg    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
15701debfc3dSmrg$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
15711debfc3dSmrg    ;;
15721debfc3dSmrgesac
15731debfc3dSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
15741debfc3dSmrg$as_echo_n "checking for $2... " >&6; }
1575*c0a68be4Smrgif eval \${$3+:} false; then :
15761debfc3dSmrg  $as_echo_n "(cached) " >&6
15771debfc3dSmrgelse
15781debfc3dSmrg  eval "$3=\$ac_header_compiler"
15791debfc3dSmrgfi
15801debfc3dSmrgeval ac_res=\$$3
15811debfc3dSmrg	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15821debfc3dSmrg$as_echo "$ac_res" >&6; }
15831debfc3dSmrgfi
1584*c0a68be4Smrg  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
15851debfc3dSmrg
15861debfc3dSmrg} # ac_fn_c_check_header_mongrel
15871debfc3dSmrg
15881debfc3dSmrg# ac_fn_c_try_run LINENO
15891debfc3dSmrg# ----------------------
15901debfc3dSmrg# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
15911debfc3dSmrg# that executables *can* be run.
15921debfc3dSmrgac_fn_c_try_run ()
15931debfc3dSmrg{
15941debfc3dSmrg  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15951debfc3dSmrg  if { { ac_try="$ac_link"
15961debfc3dSmrgcase "(($ac_try" in
15971debfc3dSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15981debfc3dSmrg  *) ac_try_echo=$ac_try;;
15991debfc3dSmrgesac
16001debfc3dSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16011debfc3dSmrg$as_echo "$ac_try_echo"; } >&5
16021debfc3dSmrg  (eval "$ac_link") 2>&5
16031debfc3dSmrg  ac_status=$?
16041debfc3dSmrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16051debfc3dSmrg  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
16061debfc3dSmrg  { { case "(($ac_try" in
16071debfc3dSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16081debfc3dSmrg  *) ac_try_echo=$ac_try;;
16091debfc3dSmrgesac
16101debfc3dSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16111debfc3dSmrg$as_echo "$ac_try_echo"; } >&5
16121debfc3dSmrg  (eval "$ac_try") 2>&5
16131debfc3dSmrg  ac_status=$?
16141debfc3dSmrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16151debfc3dSmrg  test $ac_status = 0; }; }; then :
16161debfc3dSmrg  ac_retval=0
16171debfc3dSmrgelse
16181debfc3dSmrg  $as_echo "$as_me: program exited with status $ac_status" >&5
16191debfc3dSmrg       $as_echo "$as_me: failed program was:" >&5
16201debfc3dSmrgsed 's/^/| /' conftest.$ac_ext >&5
16211debfc3dSmrg
16221debfc3dSmrg       ac_retval=$ac_status
16231debfc3dSmrgfi
16241debfc3dSmrg  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1625*c0a68be4Smrg  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1626*c0a68be4Smrg  as_fn_set_status $ac_retval
16271debfc3dSmrg
16281debfc3dSmrg} # ac_fn_c_try_run
16291debfc3dSmrg
16301debfc3dSmrg# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
16311debfc3dSmrg# -------------------------------------------------------
16321debfc3dSmrg# Tests whether HEADER exists and can be compiled using the include files in
16331debfc3dSmrg# INCLUDES, setting the cache variable VAR accordingly.
16341debfc3dSmrgac_fn_c_check_header_compile ()
16351debfc3dSmrg{
16361debfc3dSmrg  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16371debfc3dSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
16381debfc3dSmrg$as_echo_n "checking for $2... " >&6; }
1639*c0a68be4Smrgif eval \${$3+:} false; then :
16401debfc3dSmrg  $as_echo_n "(cached) " >&6
16411debfc3dSmrgelse
16421debfc3dSmrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16431debfc3dSmrg/* end confdefs.h.  */
16441debfc3dSmrg$4
16451debfc3dSmrg#include <$2>
16461debfc3dSmrg_ACEOF
16471debfc3dSmrgif ac_fn_c_try_compile "$LINENO"; then :
16481debfc3dSmrg  eval "$3=yes"
16491debfc3dSmrgelse
16501debfc3dSmrg  eval "$3=no"
16511debfc3dSmrgfi
16521debfc3dSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16531debfc3dSmrgfi
16541debfc3dSmrgeval ac_res=\$$3
16551debfc3dSmrg	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16561debfc3dSmrg$as_echo "$ac_res" >&6; }
1657*c0a68be4Smrg  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
16581debfc3dSmrg
16591debfc3dSmrg} # ac_fn_c_check_header_compile
16601debfc3dSmrg
16611debfc3dSmrg# ac_fn_c_try_link LINENO
16621debfc3dSmrg# -----------------------
16631debfc3dSmrg# Try to link conftest.$ac_ext, and return whether this succeeded.
16641debfc3dSmrgac_fn_c_try_link ()
16651debfc3dSmrg{
16661debfc3dSmrg  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16671debfc3dSmrg  rm -f conftest.$ac_objext conftest$ac_exeext
16681debfc3dSmrg  if { { ac_try="$ac_link"
16691debfc3dSmrgcase "(($ac_try" in
16701debfc3dSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16711debfc3dSmrg  *) ac_try_echo=$ac_try;;
16721debfc3dSmrgesac
16731debfc3dSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16741debfc3dSmrg$as_echo "$ac_try_echo"; } >&5
16751debfc3dSmrg  (eval "$ac_link") 2>conftest.err
16761debfc3dSmrg  ac_status=$?
16771debfc3dSmrg  if test -s conftest.err; then
16781debfc3dSmrg    grep -v '^ *+' conftest.err >conftest.er1
16791debfc3dSmrg    cat conftest.er1 >&5
16801debfc3dSmrg    mv -f conftest.er1 conftest.err
16811debfc3dSmrg  fi
16821debfc3dSmrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16831debfc3dSmrg  test $ac_status = 0; } && {
16841debfc3dSmrg	 test -z "$ac_c_werror_flag" ||
16851debfc3dSmrg	 test ! -s conftest.err
16861debfc3dSmrg       } && test -s conftest$ac_exeext && {
16871debfc3dSmrg	 test "$cross_compiling" = yes ||
1688*c0a68be4Smrg	 test -x conftest$ac_exeext
16891debfc3dSmrg       }; then :
16901debfc3dSmrg  ac_retval=0
16911debfc3dSmrgelse
16921debfc3dSmrg  $as_echo "$as_me: failed program was:" >&5
16931debfc3dSmrgsed 's/^/| /' conftest.$ac_ext >&5
16941debfc3dSmrg
16951debfc3dSmrg	ac_retval=1
16961debfc3dSmrgfi
16971debfc3dSmrg  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
16981debfc3dSmrg  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
16991debfc3dSmrg  # interfere with the next link command; also delete a directory that is
17001debfc3dSmrg  # left behind by Apple's compiler.  We do this before executing the actions.
17011debfc3dSmrg  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1702*c0a68be4Smrg  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1703*c0a68be4Smrg  as_fn_set_status $ac_retval
17041debfc3dSmrg
17051debfc3dSmrg} # ac_fn_c_try_link
17061debfc3dSmrg
17071debfc3dSmrg# ac_fn_c_check_func LINENO FUNC VAR
17081debfc3dSmrg# ----------------------------------
17091debfc3dSmrg# Tests whether FUNC exists, setting the cache variable VAR accordingly
17101debfc3dSmrgac_fn_c_check_func ()
17111debfc3dSmrg{
17121debfc3dSmrg  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17131debfc3dSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
17141debfc3dSmrg$as_echo_n "checking for $2... " >&6; }
1715*c0a68be4Smrgif eval \${$3+:} false; then :
17161debfc3dSmrg  $as_echo_n "(cached) " >&6
17171debfc3dSmrgelse
17181debfc3dSmrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17191debfc3dSmrg/* end confdefs.h.  */
17201debfc3dSmrg/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
17211debfc3dSmrg   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17221debfc3dSmrg#define $2 innocuous_$2
17231debfc3dSmrg
17241debfc3dSmrg/* System header to define __stub macros and hopefully few prototypes,
17251debfc3dSmrg    which can conflict with char $2 (); below.
17261debfc3dSmrg    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17271debfc3dSmrg    <limits.h> exists even on freestanding compilers.  */
17281debfc3dSmrg
17291debfc3dSmrg#ifdef __STDC__
17301debfc3dSmrg# include <limits.h>
17311debfc3dSmrg#else
17321debfc3dSmrg# include <assert.h>
17331debfc3dSmrg#endif
17341debfc3dSmrg
17351debfc3dSmrg#undef $2
17361debfc3dSmrg
17371debfc3dSmrg/* Override any GCC internal prototype to avoid an error.
17381debfc3dSmrg   Use char because int might match the return type of a GCC
17391debfc3dSmrg   builtin and then its argument prototype would still apply.  */
17401debfc3dSmrg#ifdef __cplusplus
17411debfc3dSmrgextern "C"
17421debfc3dSmrg#endif
17431debfc3dSmrgchar $2 ();
17441debfc3dSmrg/* The GNU C library defines this for functions which it implements
17451debfc3dSmrg    to always fail with ENOSYS.  Some functions are actually named
17461debfc3dSmrg    something starting with __ and the normal name is an alias.  */
17471debfc3dSmrg#if defined __stub_$2 || defined __stub___$2
17481debfc3dSmrgchoke me
17491debfc3dSmrg#endif
17501debfc3dSmrg
17511debfc3dSmrgint
17521debfc3dSmrgmain ()
17531debfc3dSmrg{
17541debfc3dSmrgreturn $2 ();
17551debfc3dSmrg  ;
17561debfc3dSmrg  return 0;
17571debfc3dSmrg}
17581debfc3dSmrg_ACEOF
17591debfc3dSmrgif ac_fn_c_try_link "$LINENO"; then :
17601debfc3dSmrg  eval "$3=yes"
17611debfc3dSmrgelse
17621debfc3dSmrg  eval "$3=no"
17631debfc3dSmrgfi
17641debfc3dSmrgrm -f core conftest.err conftest.$ac_objext \
17651debfc3dSmrg    conftest$ac_exeext conftest.$ac_ext
17661debfc3dSmrgfi
17671debfc3dSmrgeval ac_res=\$$3
17681debfc3dSmrg	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17691debfc3dSmrg$as_echo "$ac_res" >&6; }
1770*c0a68be4Smrg  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
17711debfc3dSmrg
17721debfc3dSmrg} # ac_fn_c_check_func
17731debfc3dSmrg
1774*c0a68be4Smrg# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1775*c0a68be4Smrg# ---------------------------------------------
1776*c0a68be4Smrg# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1777*c0a68be4Smrg# accordingly.
17781debfc3dSmrgac_fn_c_check_decl ()
17791debfc3dSmrg{
17801debfc3dSmrg  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17811debfc3dSmrg  as_decl_name=`echo $2|sed 's/ *(.*//'`
17821debfc3dSmrg  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
17831debfc3dSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
17841debfc3dSmrg$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1785*c0a68be4Smrgif eval \${$3+:} false; then :
17861debfc3dSmrg  $as_echo_n "(cached) " >&6
17871debfc3dSmrgelse
17881debfc3dSmrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17891debfc3dSmrg/* end confdefs.h.  */
17901debfc3dSmrg$4
17911debfc3dSmrgint
17921debfc3dSmrgmain ()
17931debfc3dSmrg{
17941debfc3dSmrg#ifndef $as_decl_name
17951debfc3dSmrg#ifdef __cplusplus
17961debfc3dSmrg  (void) $as_decl_use;
17971debfc3dSmrg#else
17981debfc3dSmrg  (void) $as_decl_name;
17991debfc3dSmrg#endif
18001debfc3dSmrg#endif
18011debfc3dSmrg
18021debfc3dSmrg  ;
18031debfc3dSmrg  return 0;
18041debfc3dSmrg}
18051debfc3dSmrg_ACEOF
18061debfc3dSmrgif ac_fn_c_try_compile "$LINENO"; then :
18071debfc3dSmrg  eval "$3=yes"
18081debfc3dSmrgelse
18091debfc3dSmrg  eval "$3=no"
18101debfc3dSmrgfi
18111debfc3dSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18121debfc3dSmrgfi
18131debfc3dSmrgeval ac_res=\$$3
18141debfc3dSmrg	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18151debfc3dSmrg$as_echo "$ac_res" >&6; }
1816*c0a68be4Smrg  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
18171debfc3dSmrg
18181debfc3dSmrg} # ac_fn_c_check_decl
18191debfc3dSmrgcat >config.log <<_ACEOF
18201debfc3dSmrgThis file contains any messages produced by compilers while
18211debfc3dSmrgrunning configure, to aid debugging if configure makes a mistake.
18221debfc3dSmrg
18231debfc3dSmrgIt was created by fixincludes $as_me  , which was
1824*c0a68be4Smrggenerated by GNU Autoconf 2.69.  Invocation command line was
18251debfc3dSmrg
18261debfc3dSmrg  $ $0 $@
18271debfc3dSmrg
18281debfc3dSmrg_ACEOF
18291debfc3dSmrgexec 5>>config.log
18301debfc3dSmrg{
18311debfc3dSmrgcat <<_ASUNAME
18321debfc3dSmrg## --------- ##
18331debfc3dSmrg## Platform. ##
18341debfc3dSmrg## --------- ##
18351debfc3dSmrg
18361debfc3dSmrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
18371debfc3dSmrguname -m = `(uname -m) 2>/dev/null || echo unknown`
18381debfc3dSmrguname -r = `(uname -r) 2>/dev/null || echo unknown`
18391debfc3dSmrguname -s = `(uname -s) 2>/dev/null || echo unknown`
18401debfc3dSmrguname -v = `(uname -v) 2>/dev/null || echo unknown`
18411debfc3dSmrg
18421debfc3dSmrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
18431debfc3dSmrg/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
18441debfc3dSmrg
18451debfc3dSmrg/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
18461debfc3dSmrg/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
18471debfc3dSmrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
18481debfc3dSmrg/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
18491debfc3dSmrg/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
18501debfc3dSmrg/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
18511debfc3dSmrg/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
18521debfc3dSmrg
18531debfc3dSmrg_ASUNAME
18541debfc3dSmrg
18551debfc3dSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18561debfc3dSmrgfor as_dir in $PATH
18571debfc3dSmrgdo
18581debfc3dSmrg  IFS=$as_save_IFS
18591debfc3dSmrg  test -z "$as_dir" && as_dir=.
18601debfc3dSmrg    $as_echo "PATH: $as_dir"
18611debfc3dSmrg  done
18621debfc3dSmrgIFS=$as_save_IFS
18631debfc3dSmrg
18641debfc3dSmrg} >&5
18651debfc3dSmrg
18661debfc3dSmrgcat >&5 <<_ACEOF
18671debfc3dSmrg
18681debfc3dSmrg
18691debfc3dSmrg## ----------- ##
18701debfc3dSmrg## Core tests. ##
18711debfc3dSmrg## ----------- ##
18721debfc3dSmrg
18731debfc3dSmrg_ACEOF
18741debfc3dSmrg
18751debfc3dSmrg
18761debfc3dSmrg# Keep a trace of the command line.
18771debfc3dSmrg# Strip out --no-create and --no-recursion so they do not pile up.
18781debfc3dSmrg# Strip out --silent because we don't want to record it for future runs.
18791debfc3dSmrg# Also quote any args containing shell meta-characters.
18801debfc3dSmrg# Make two passes to allow for proper duplicate-argument suppression.
18811debfc3dSmrgac_configure_args=
18821debfc3dSmrgac_configure_args0=
18831debfc3dSmrgac_configure_args1=
18841debfc3dSmrgac_must_keep_next=false
18851debfc3dSmrgfor ac_pass in 1 2
18861debfc3dSmrgdo
18871debfc3dSmrg  for ac_arg
18881debfc3dSmrg  do
18891debfc3dSmrg    case $ac_arg in
18901debfc3dSmrg    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
18911debfc3dSmrg    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18921debfc3dSmrg    | -silent | --silent | --silen | --sile | --sil)
18931debfc3dSmrg      continue ;;
18941debfc3dSmrg    *\'*)
18951debfc3dSmrg      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
18961debfc3dSmrg    esac
18971debfc3dSmrg    case $ac_pass in
18981debfc3dSmrg    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
18991debfc3dSmrg    2)
19001debfc3dSmrg      as_fn_append ac_configure_args1 " '$ac_arg'"
19011debfc3dSmrg      if test $ac_must_keep_next = true; then
19021debfc3dSmrg	ac_must_keep_next=false # Got value, back to normal.
19031debfc3dSmrg      else
19041debfc3dSmrg	case $ac_arg in
19051debfc3dSmrg	  *=* | --config-cache | -C | -disable-* | --disable-* \
19061debfc3dSmrg	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
19071debfc3dSmrg	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
19081debfc3dSmrg	  | -with-* | --with-* | -without-* | --without-* | --x)
19091debfc3dSmrg	    case "$ac_configure_args0 " in
19101debfc3dSmrg	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
19111debfc3dSmrg	    esac
19121debfc3dSmrg	    ;;
19131debfc3dSmrg	  -* ) ac_must_keep_next=true ;;
19141debfc3dSmrg	esac
19151debfc3dSmrg      fi
19161debfc3dSmrg      as_fn_append ac_configure_args " '$ac_arg'"
19171debfc3dSmrg      ;;
19181debfc3dSmrg    esac
19191debfc3dSmrg  done
19201debfc3dSmrgdone
19211debfc3dSmrg{ ac_configure_args0=; unset ac_configure_args0;}
19221debfc3dSmrg{ ac_configure_args1=; unset ac_configure_args1;}
19231debfc3dSmrg
19241debfc3dSmrg# When interrupted or exit'd, cleanup temporary files, and complete
19251debfc3dSmrg# config.log.  We remove comments because anyway the quotes in there
19261debfc3dSmrg# would cause problems or look ugly.
19271debfc3dSmrg# WARNING: Use '\'' to represent an apostrophe within the trap.
19281debfc3dSmrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
19291debfc3dSmrgtrap 'exit_status=$?
19301debfc3dSmrg  # Save into config.log some information that might help in debugging.
19311debfc3dSmrg  {
19321debfc3dSmrg    echo
19331debfc3dSmrg
1934*c0a68be4Smrg    $as_echo "## ---------------- ##
19351debfc3dSmrg## Cache variables. ##
1936*c0a68be4Smrg## ---------------- ##"
19371debfc3dSmrg    echo
19381debfc3dSmrg    # The following way of writing the cache mishandles newlines in values,
19391debfc3dSmrg(
19401debfc3dSmrg  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
19411debfc3dSmrg    eval ac_val=\$$ac_var
19421debfc3dSmrg    case $ac_val in #(
19431debfc3dSmrg    *${as_nl}*)
19441debfc3dSmrg      case $ac_var in #(
19451debfc3dSmrg      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19461debfc3dSmrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19471debfc3dSmrg      esac
19481debfc3dSmrg      case $ac_var in #(
19491debfc3dSmrg      _ | IFS | as_nl) ;; #(
19501debfc3dSmrg      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19511debfc3dSmrg      *) { eval $ac_var=; unset $ac_var;} ;;
19521debfc3dSmrg      esac ;;
19531debfc3dSmrg    esac
19541debfc3dSmrg  done
19551debfc3dSmrg  (set) 2>&1 |
19561debfc3dSmrg    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
19571debfc3dSmrg    *${as_nl}ac_space=\ *)
19581debfc3dSmrg      sed -n \
19591debfc3dSmrg	"s/'\''/'\''\\\\'\'''\''/g;
19601debfc3dSmrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
19611debfc3dSmrg      ;; #(
19621debfc3dSmrg    *)
19631debfc3dSmrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19641debfc3dSmrg      ;;
19651debfc3dSmrg    esac |
19661debfc3dSmrg    sort
19671debfc3dSmrg)
19681debfc3dSmrg    echo
19691debfc3dSmrg
1970*c0a68be4Smrg    $as_echo "## ----------------- ##
19711debfc3dSmrg## Output variables. ##
1972*c0a68be4Smrg## ----------------- ##"
19731debfc3dSmrg    echo
19741debfc3dSmrg    for ac_var in $ac_subst_vars
19751debfc3dSmrg    do
19761debfc3dSmrg      eval ac_val=\$$ac_var
19771debfc3dSmrg      case $ac_val in
19781debfc3dSmrg      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
19791debfc3dSmrg      esac
19801debfc3dSmrg      $as_echo "$ac_var='\''$ac_val'\''"
19811debfc3dSmrg    done | sort
19821debfc3dSmrg    echo
19831debfc3dSmrg
19841debfc3dSmrg    if test -n "$ac_subst_files"; then
1985*c0a68be4Smrg      $as_echo "## ------------------- ##
19861debfc3dSmrg## File substitutions. ##
1987*c0a68be4Smrg## ------------------- ##"
19881debfc3dSmrg      echo
19891debfc3dSmrg      for ac_var in $ac_subst_files
19901debfc3dSmrg      do
19911debfc3dSmrg	eval ac_val=\$$ac_var
19921debfc3dSmrg	case $ac_val in
19931debfc3dSmrg	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
19941debfc3dSmrg	esac
19951debfc3dSmrg	$as_echo "$ac_var='\''$ac_val'\''"
19961debfc3dSmrg      done | sort
19971debfc3dSmrg      echo
19981debfc3dSmrg    fi
19991debfc3dSmrg
20001debfc3dSmrg    if test -s confdefs.h; then
2001*c0a68be4Smrg      $as_echo "## ----------- ##
20021debfc3dSmrg## confdefs.h. ##
2003*c0a68be4Smrg## ----------- ##"
20041debfc3dSmrg      echo
20051debfc3dSmrg      cat confdefs.h
20061debfc3dSmrg      echo
20071debfc3dSmrg    fi
20081debfc3dSmrg    test "$ac_signal" != 0 &&
20091debfc3dSmrg      $as_echo "$as_me: caught signal $ac_signal"
20101debfc3dSmrg    $as_echo "$as_me: exit $exit_status"
20111debfc3dSmrg  } >&5
20121debfc3dSmrg  rm -f core *.core core.conftest.* &&
20131debfc3dSmrg    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
20141debfc3dSmrg    exit $exit_status
20151debfc3dSmrg' 0
20161debfc3dSmrgfor ac_signal in 1 2 13 15; do
20171debfc3dSmrg  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
20181debfc3dSmrgdone
20191debfc3dSmrgac_signal=0
20201debfc3dSmrg
20211debfc3dSmrg# confdefs.h avoids OS command line length limits that DEFS can exceed.
20221debfc3dSmrgrm -f -r conftest* confdefs.h
20231debfc3dSmrg
20241debfc3dSmrg$as_echo "/* confdefs.h */" > confdefs.h
20251debfc3dSmrg
20261debfc3dSmrg# Predefined preprocessor variables.
20271debfc3dSmrg
20281debfc3dSmrgcat >>confdefs.h <<_ACEOF
20291debfc3dSmrg#define PACKAGE_NAME "$PACKAGE_NAME"
20301debfc3dSmrg_ACEOF
20311debfc3dSmrg
20321debfc3dSmrgcat >>confdefs.h <<_ACEOF
20331debfc3dSmrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
20341debfc3dSmrg_ACEOF
20351debfc3dSmrg
20361debfc3dSmrgcat >>confdefs.h <<_ACEOF
20371debfc3dSmrg#define PACKAGE_VERSION "$PACKAGE_VERSION"
20381debfc3dSmrg_ACEOF
20391debfc3dSmrg
20401debfc3dSmrgcat >>confdefs.h <<_ACEOF
20411debfc3dSmrg#define PACKAGE_STRING "$PACKAGE_STRING"
20421debfc3dSmrg_ACEOF
20431debfc3dSmrg
20441debfc3dSmrgcat >>confdefs.h <<_ACEOF
20451debfc3dSmrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
20461debfc3dSmrg_ACEOF
20471debfc3dSmrg
20481debfc3dSmrgcat >>confdefs.h <<_ACEOF
20491debfc3dSmrg#define PACKAGE_URL "$PACKAGE_URL"
20501debfc3dSmrg_ACEOF
20511debfc3dSmrg
20521debfc3dSmrg
20531debfc3dSmrg# Let the site file select an alternate cache file if it wants to.
20541debfc3dSmrg# Prefer an explicitly selected file to automatically selected ones.
20551debfc3dSmrgac_site_file1=NONE
20561debfc3dSmrgac_site_file2=NONE
20571debfc3dSmrgif test -n "$CONFIG_SITE"; then
2058*c0a68be4Smrg  # We do not want a PATH search for config.site.
2059*c0a68be4Smrg  case $CONFIG_SITE in #((
2060*c0a68be4Smrg    -*)  ac_site_file1=./$CONFIG_SITE;;
2061*c0a68be4Smrg    */*) ac_site_file1=$CONFIG_SITE;;
2062*c0a68be4Smrg    *)   ac_site_file1=./$CONFIG_SITE;;
2063*c0a68be4Smrg  esac
20641debfc3dSmrgelif test "x$prefix" != xNONE; then
20651debfc3dSmrg  ac_site_file1=$prefix/share/config.site
20661debfc3dSmrg  ac_site_file2=$prefix/etc/config.site
20671debfc3dSmrgelse
20681debfc3dSmrg  ac_site_file1=$ac_default_prefix/share/config.site
20691debfc3dSmrg  ac_site_file2=$ac_default_prefix/etc/config.site
20701debfc3dSmrgfi
20711debfc3dSmrgfor ac_site_file in "$ac_site_file1" "$ac_site_file2"
20721debfc3dSmrgdo
20731debfc3dSmrg  test "x$ac_site_file" = xNONE && continue
2074*c0a68be4Smrg  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
20751debfc3dSmrg    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
20761debfc3dSmrg$as_echo "$as_me: loading site script $ac_site_file" >&6;}
20771debfc3dSmrg    sed 's/^/| /' "$ac_site_file" >&5
2078*c0a68be4Smrg    . "$ac_site_file" \
2079*c0a68be4Smrg      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2080*c0a68be4Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2081*c0a68be4Smrgas_fn_error $? "failed to load site script $ac_site_file
2082*c0a68be4SmrgSee \`config.log' for more details" "$LINENO" 5; }
20831debfc3dSmrg  fi
20841debfc3dSmrgdone
20851debfc3dSmrg
20861debfc3dSmrgif test -r "$cache_file"; then
2087*c0a68be4Smrg  # Some versions of bash will fail to source /dev/null (special files
2088*c0a68be4Smrg  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2089*c0a68be4Smrg  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
20901debfc3dSmrg    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
20911debfc3dSmrg$as_echo "$as_me: loading cache $cache_file" >&6;}
20921debfc3dSmrg    case $cache_file in
20931debfc3dSmrg      [\\/]* | ?:[\\/]* ) . "$cache_file";;
20941debfc3dSmrg      *)                      . "./$cache_file";;
20951debfc3dSmrg    esac
20961debfc3dSmrg  fi
20971debfc3dSmrgelse
20981debfc3dSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
20991debfc3dSmrg$as_echo "$as_me: creating cache $cache_file" >&6;}
21001debfc3dSmrg  >$cache_file
21011debfc3dSmrgfi
21021debfc3dSmrg
21031debfc3dSmrg# Check that the precious variables saved in the cache have kept the same
21041debfc3dSmrg# value.
21051debfc3dSmrgac_cache_corrupted=false
21061debfc3dSmrgfor ac_var in $ac_precious_vars; do
21071debfc3dSmrg  eval ac_old_set=\$ac_cv_env_${ac_var}_set
21081debfc3dSmrg  eval ac_new_set=\$ac_env_${ac_var}_set
21091debfc3dSmrg  eval ac_old_val=\$ac_cv_env_${ac_var}_value
21101debfc3dSmrg  eval ac_new_val=\$ac_env_${ac_var}_value
21111debfc3dSmrg  case $ac_old_set,$ac_new_set in
21121debfc3dSmrg    set,)
21131debfc3dSmrg      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
21141debfc3dSmrg$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
21151debfc3dSmrg      ac_cache_corrupted=: ;;
21161debfc3dSmrg    ,set)
21171debfc3dSmrg      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
21181debfc3dSmrg$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
21191debfc3dSmrg      ac_cache_corrupted=: ;;
21201debfc3dSmrg    ,);;
21211debfc3dSmrg    *)
21221debfc3dSmrg      if test "x$ac_old_val" != "x$ac_new_val"; then
21231debfc3dSmrg	# differences in whitespace do not lead to failure.
21241debfc3dSmrg	ac_old_val_w=`echo x $ac_old_val`
21251debfc3dSmrg	ac_new_val_w=`echo x $ac_new_val`
21261debfc3dSmrg	if test "$ac_old_val_w" != "$ac_new_val_w"; then
21271debfc3dSmrg	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
21281debfc3dSmrg$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
21291debfc3dSmrg	  ac_cache_corrupted=:
21301debfc3dSmrg	else
21311debfc3dSmrg	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
21321debfc3dSmrg$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
21331debfc3dSmrg	  eval $ac_var=\$ac_old_val
21341debfc3dSmrg	fi
21351debfc3dSmrg	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
21361debfc3dSmrg$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
21371debfc3dSmrg	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
21381debfc3dSmrg$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
21391debfc3dSmrg      fi;;
21401debfc3dSmrg  esac
21411debfc3dSmrg  # Pass precious variables to config.status.
21421debfc3dSmrg  if test "$ac_new_set" = set; then
21431debfc3dSmrg    case $ac_new_val in
21441debfc3dSmrg    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
21451debfc3dSmrg    *) ac_arg=$ac_var=$ac_new_val ;;
21461debfc3dSmrg    esac
21471debfc3dSmrg    case " $ac_configure_args " in
21481debfc3dSmrg      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
21491debfc3dSmrg      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
21501debfc3dSmrg    esac
21511debfc3dSmrg  fi
21521debfc3dSmrgdone
21531debfc3dSmrgif $ac_cache_corrupted; then
21541debfc3dSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21551debfc3dSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21561debfc3dSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
21571debfc3dSmrg$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2158*c0a68be4Smrg  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
21591debfc3dSmrgfi
21601debfc3dSmrg## -------------------- ##
21611debfc3dSmrg## Main body of script. ##
21621debfc3dSmrg## -------------------- ##
21631debfc3dSmrg
21641debfc3dSmrgac_ext=c
21651debfc3dSmrgac_cpp='$CPP $CPPFLAGS'
21661debfc3dSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21671debfc3dSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21681debfc3dSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu
21691debfc3dSmrg
21701debfc3dSmrg
21711debfc3dSmrg
21721debfc3dSmrg
21731debfc3dSmrg
21741debfc3dSmrg
21751debfc3dSmrgac_aux_dir=
21761debfc3dSmrgfor ac_dir in .. "$srcdir"/..; do
2177*c0a68be4Smrg  if test -f "$ac_dir/install-sh"; then
21781debfc3dSmrg    ac_aux_dir=$ac_dir
2179*c0a68be4Smrg    ac_install_sh="$SHELL $ac_aux_dir/install-sh -c"
2180*c0a68be4Smrg    break
2181*c0a68be4Smrg  elif test -f "$ac_dir/install.sh"; then
2182*c0a68be4Smrg    ac_aux_dir=$ac_dir
2183*c0a68be4Smrg    ac_install_sh="$SHELL $ac_aux_dir/install.sh -c"
2184*c0a68be4Smrg    break
2185*c0a68be4Smrg  elif test -f "$ac_dir/shtool"; then
2186*c0a68be4Smrg    ac_aux_dir=$ac_dir
2187*c0a68be4Smrg    ac_install_sh="$SHELL $ac_aux_dir/shtool install -c"
2188*c0a68be4Smrg    break
21891debfc3dSmrg  fi
21901debfc3dSmrgdone
21911debfc3dSmrgif test -z "$ac_aux_dir"; then
2192*c0a68be4Smrg  as_fn_error $? "cannot find install-sh, install.sh, or shtool in .. \"$srcdir\"/.." "$LINENO" 5
21931debfc3dSmrgfi
21941debfc3dSmrg
21951debfc3dSmrg# These three variables are undocumented and unsupported,
21961debfc3dSmrg# and are intended to be withdrawn in a future Autoconf release.
21971debfc3dSmrg# They can cause serious problems if a builder's source tree is in a directory
21981debfc3dSmrg# whose full name contains unusual characters.
21991debfc3dSmrgac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
22001debfc3dSmrgac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
22011debfc3dSmrgac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
22021debfc3dSmrg
22031debfc3dSmrg
22041debfc3dSmrg# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
22051debfc3dSmrg#
22061debfc3dSmrg#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
22071debfc3dSmrg#                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
22081debfc3dSmrg#   Written by Gordon Matzigkeit, 1996
22091debfc3dSmrg#
22101debfc3dSmrg# This file is free software; the Free Software Foundation gives
22111debfc3dSmrg# unlimited permission to copy and/or distribute it, with or without
22121debfc3dSmrg# modifications, as long as this notice is preserved.
22131debfc3dSmrg
22141debfc3dSmrg
22151debfc3dSmrg
22161debfc3dSmrg# serial 56 LT_INIT
22171debfc3dSmrg
22181debfc3dSmrg
22191debfc3dSmrg# LT_PREREQ(VERSION)
22201debfc3dSmrg# ------------------
22211debfc3dSmrg# Complain and exit if this libtool version is less that VERSION.
22221debfc3dSmrg
22231debfc3dSmrg
22241debfc3dSmrg
22251debfc3dSmrg# _LT_CHECK_BUILDDIR
22261debfc3dSmrg# ------------------
22271debfc3dSmrg# Complain if the absolute build directory name contains unusual characters
22281debfc3dSmrg
22291debfc3dSmrg
22301debfc3dSmrg
22311debfc3dSmrg# LT_INIT([OPTIONS])
22321debfc3dSmrg# ------------------
22331debfc3dSmrg# LT_INIT
22341debfc3dSmrg
22351debfc3dSmrg# Old names:
22361debfc3dSmrg# This is what autoupdate's m4 run will expand.  It fires
22371debfc3dSmrg# the warning (with _au_warn_XXX), outputs it into the
22381debfc3dSmrg# updated configure.ac (with AC_DIAGNOSE), and then outputs
22391debfc3dSmrg# the replacement expansion.
22401debfc3dSmrg
22411debfc3dSmrg
22421debfc3dSmrg# This is an auxiliary macro that is also run when
22431debfc3dSmrg# autoupdate runs m4.  It simply calls m4_warning, but
22441debfc3dSmrg# we need a wrapper so that each warning is emitted only
22451debfc3dSmrg# once.  We break the quoting in m4_warning's argument in
22461debfc3dSmrg# order to expand this macro's arguments, not AU_DEFUN's.
22471debfc3dSmrg
22481debfc3dSmrg
22491debfc3dSmrg# Finally, this is the expansion that is picked up by
22501debfc3dSmrg# autoconf.  It tells the user to run autoupdate, and
22511debfc3dSmrg# then outputs the replacement expansion.  We do not care
22521debfc3dSmrg# about autoupdate's warning because that contains
22531debfc3dSmrg# information on what to do *after* running autoupdate.
22541debfc3dSmrg
22551debfc3dSmrg# This is what autoupdate's m4 run will expand.  It fires
22561debfc3dSmrg# the warning (with _au_warn_XXX), outputs it into the
22571debfc3dSmrg# updated configure.ac (with AC_DIAGNOSE), and then outputs
22581debfc3dSmrg# the replacement expansion.
22591debfc3dSmrg
22601debfc3dSmrg
22611debfc3dSmrg# This is an auxiliary macro that is also run when
22621debfc3dSmrg# autoupdate runs m4.  It simply calls m4_warning, but
22631debfc3dSmrg# we need a wrapper so that each warning is emitted only
22641debfc3dSmrg# once.  We break the quoting in m4_warning's argument in
22651debfc3dSmrg# order to expand this macro's arguments, not AU_DEFUN's.
22661debfc3dSmrg
22671debfc3dSmrg
22681debfc3dSmrg# Finally, this is the expansion that is picked up by
22691debfc3dSmrg# autoconf.  It tells the user to run autoupdate, and
22701debfc3dSmrg# then outputs the replacement expansion.  We do not care
22711debfc3dSmrg# about autoupdate's warning because that contains
22721debfc3dSmrg# information on what to do *after* running autoupdate.
22731debfc3dSmrg
22741debfc3dSmrg
22751debfc3dSmrg
22761debfc3dSmrg# _LT_CC_BASENAME(CC)
22771debfc3dSmrg# -------------------
22781debfc3dSmrg# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
22791debfc3dSmrg
22801debfc3dSmrg
22811debfc3dSmrg
22821debfc3dSmrg# _LT_FILEUTILS_DEFAULTS
22831debfc3dSmrg# ----------------------
22841debfc3dSmrg# It is okay to use these file commands and assume they have been set
22851debfc3dSmrg# sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'.
22861debfc3dSmrg# _LT_FILEUTILS_DEFAULTS
22871debfc3dSmrg
22881debfc3dSmrg
22891debfc3dSmrg# _LT_SETUP
22901debfc3dSmrg# ---------
22911debfc3dSmrg# _LT_SETUP
22921debfc3dSmrg
22931debfc3dSmrg
22941debfc3dSmrg# _LT_PREPARE_SED_QUOTE_VARS
22951debfc3dSmrg# --------------------------
22961debfc3dSmrg# Define a few sed substitution that help us do robust quoting.
22971debfc3dSmrg
22981debfc3dSmrg
22991debfc3dSmrg# _LT_PROG_LTMAIN
23001debfc3dSmrg# ---------------
23011debfc3dSmrg# Note that this code is called both from `configure', and `config.status'
23021debfc3dSmrg# now that we use AC_CONFIG_COMMANDS to generate libtool.  Notably,
23031debfc3dSmrg# `config.status' has no value for ac_aux_dir unless we are using Automake,
23041debfc3dSmrg# so we pass a copy along to make sure it has a sensible value anyway.
23051debfc3dSmrg# _LT_PROG_LTMAIN
23061debfc3dSmrg
23071debfc3dSmrg
23081debfc3dSmrg## ------------------------------------- ##
23091debfc3dSmrg## Accumulate code for creating libtool. ##
23101debfc3dSmrg## ------------------------------------- ##
23111debfc3dSmrg
23121debfc3dSmrg# So that we can recreate a full libtool script including additional
23131debfc3dSmrg# tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS
23141debfc3dSmrg# in macros and then make a single call at the end using the `libtool'
23151debfc3dSmrg# label.
23161debfc3dSmrg
23171debfc3dSmrg
23181debfc3dSmrg# _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS])
23191debfc3dSmrg# ----------------------------------------
23201debfc3dSmrg# Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later.
23211debfc3dSmrg
23221debfc3dSmrg
23231debfc3dSmrg# Initialize.
23241debfc3dSmrg
23251debfc3dSmrg
23261debfc3dSmrg
23271debfc3dSmrg# _LT_CONFIG_LIBTOOL([COMMANDS])
23281debfc3dSmrg# ------------------------------
23291debfc3dSmrg# Register COMMANDS to be passed to AC_CONFIG_COMMANDS later.
23301debfc3dSmrg
23311debfc3dSmrg
23321debfc3dSmrg# Initialize.
23331debfc3dSmrg
23341debfc3dSmrg
23351debfc3dSmrg
23361debfc3dSmrg# _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS])
23371debfc3dSmrg# -----------------------------------------------------
23381debfc3dSmrg
23391debfc3dSmrg
23401debfc3dSmrg
23411debfc3dSmrg# _LT_FORMAT_COMMENT([COMMENT])
23421debfc3dSmrg# -----------------------------
23431debfc3dSmrg# Add leading comment marks to the start of each line, and a trailing
23441debfc3dSmrg# full-stop to the whole comment if one is not present already.
23451debfc3dSmrg
23461debfc3dSmrg
23471debfc3dSmrg
23481debfc3dSmrg
23491debfc3dSmrg## ------------------------ ##
23501debfc3dSmrg## FIXME: Eliminate VARNAME ##
23511debfc3dSmrg## ------------------------ ##
23521debfc3dSmrg
23531debfc3dSmrg
23541debfc3dSmrg# _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?])
23551debfc3dSmrg# -------------------------------------------------------------------
23561debfc3dSmrg# CONFIGNAME is the name given to the value in the libtool script.
23571debfc3dSmrg# VARNAME is the (base) name used in the configure script.
23581debfc3dSmrg# VALUE may be 0, 1 or 2 for a computed quote escaped value based on
23591debfc3dSmrg# VARNAME.  Any other value will be used directly.
23601debfc3dSmrg
23611debfc3dSmrg
23621debfc3dSmrg
23631debfc3dSmrg# _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION])
23641debfc3dSmrg# --------------------------------------------------------
23651debfc3dSmrg
23661debfc3dSmrg
23671debfc3dSmrg
23681debfc3dSmrg# lt_decl_tag_varnames([SEPARATOR], [VARNAME1...])
23691debfc3dSmrg# ------------------------------------------------
23701debfc3dSmrg
23711debfc3dSmrg
23721debfc3dSmrg
23731debfc3dSmrg# _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..])
23741debfc3dSmrg# ---------------------------------------------------------
23751debfc3dSmrg
23761debfc3dSmrg
23771debfc3dSmrg
23781debfc3dSmrg# lt_decl_quote_varnames([SEPARATOR], [VARNAME1...])
23791debfc3dSmrg# --------------------------------------------------
23801debfc3dSmrg
23811debfc3dSmrg
23821debfc3dSmrg
23831debfc3dSmrg# lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...])
23841debfc3dSmrg# ---------------------------------------------------
23851debfc3dSmrg
23861debfc3dSmrg
23871debfc3dSmrg
23881debfc3dSmrg# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...])
23891debfc3dSmrg# ---------------------------------------------------
23901debfc3dSmrg
23911debfc3dSmrg
23921debfc3dSmrg
23931debfc3dSmrg
23941debfc3dSmrg# lt_decl_all_varnames([SEPARATOR], [VARNAME1...])
23951debfc3dSmrg# ------------------------------------------------
23961debfc3dSmrg
23971debfc3dSmrg
23981debfc3dSmrg
23991debfc3dSmrg
24001debfc3dSmrg# _LT_CONFIG_STATUS_DECLARE([VARNAME])
24011debfc3dSmrg# ------------------------------------
24021debfc3dSmrg# Quote a variable value, and forward it to `config.status' so that its
24031debfc3dSmrg# declaration there will have the same value as in `configure'.  VARNAME
24041debfc3dSmrg# must have a single quote delimited value for this to work.
24051debfc3dSmrg
24061debfc3dSmrg
24071debfc3dSmrg
24081debfc3dSmrg# _LT_CONFIG_STATUS_DECLARATIONS
24091debfc3dSmrg# ------------------------------
24101debfc3dSmrg# We delimit libtool config variables with single quotes, so when
24111debfc3dSmrg# we write them to config.status, we have to be sure to quote all
24121debfc3dSmrg# embedded single quotes properly.  In configure, this macro expands
24131debfc3dSmrg# each variable declared with _LT_DECL (and _LT_TAGDECL) into:
24141debfc3dSmrg#
24151debfc3dSmrg#    <var>='`$ECHO "$<var>" | $SED "$delay_single_quote_subst"`'
24161debfc3dSmrg
24171debfc3dSmrg
24181debfc3dSmrg
24191debfc3dSmrg# _LT_LIBTOOL_TAGS
24201debfc3dSmrg# ----------------
24211debfc3dSmrg# Output comment and list of tags supported by the script
24221debfc3dSmrg
24231debfc3dSmrg
24241debfc3dSmrg
24251debfc3dSmrg# _LT_LIBTOOL_DECLARE(VARNAME, [TAG])
24261debfc3dSmrg# -----------------------------------
24271debfc3dSmrg# Extract the dictionary values for VARNAME (optionally with TAG) and
24281debfc3dSmrg# expand to a commented shell variable setting:
24291debfc3dSmrg#
24301debfc3dSmrg#    # Some comment about what VAR is for.
24311debfc3dSmrg#    visible_name=$lt_internal_name
24321debfc3dSmrg
24331debfc3dSmrg
24341debfc3dSmrg
24351debfc3dSmrg# _LT_LIBTOOL_CONFIG_VARS
24361debfc3dSmrg# -----------------------
24371debfc3dSmrg# Produce commented declarations of non-tagged libtool config variables
24381debfc3dSmrg# suitable for insertion in the LIBTOOL CONFIG section of the `libtool'
24391debfc3dSmrg# script.  Tagged libtool config variables (even for the LIBTOOL CONFIG
24401debfc3dSmrg# section) are produced by _LT_LIBTOOL_TAG_VARS.
24411debfc3dSmrg
24421debfc3dSmrg
24431debfc3dSmrg
24441debfc3dSmrg# _LT_LIBTOOL_TAG_VARS(TAG)
24451debfc3dSmrg# -------------------------
24461debfc3dSmrg
24471debfc3dSmrg
24481debfc3dSmrg
24491debfc3dSmrg# _LT_TAGVAR(VARNAME, [TAGNAME])
24501debfc3dSmrg# ------------------------------
24511debfc3dSmrg
24521debfc3dSmrg
24531debfc3dSmrg
24541debfc3dSmrg# _LT_CONFIG_COMMANDS
24551debfc3dSmrg# -------------------
24561debfc3dSmrg# Send accumulated output to $CONFIG_STATUS.  Thanks to the lists of
24571debfc3dSmrg# variables for single and double quote escaping we saved from calls
24581debfc3dSmrg# to _LT_DECL, we can put quote escaped variables declarations
24591debfc3dSmrg# into `config.status', and then the shell code to quote escape them in
24601debfc3dSmrg# for loops in `config.status'.  Finally, any additional code accumulated
24611debfc3dSmrg# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded.
24621debfc3dSmrg#_LT_CONFIG_COMMANDS
24631debfc3dSmrg
24641debfc3dSmrg
24651debfc3dSmrg# Initialize.
24661debfc3dSmrg
24671debfc3dSmrg
24681debfc3dSmrg# _LT_GENERATED_FILE_INIT(FILE, [COMMENT])
24691debfc3dSmrg# ------------------------------------
24701debfc3dSmrg# Generate a child script FILE with all initialization necessary to
24711debfc3dSmrg# reuse the environment learned by the parent script, and make the
24721debfc3dSmrg# file executable.  If COMMENT is supplied, it is inserted after the
24731debfc3dSmrg# `#!' sequence but before initialization text begins.  After this
24741debfc3dSmrg# macro, additional text can be appended to FILE to form the body of
24751debfc3dSmrg# the child script.  The macro ends with non-zero status if the
24761debfc3dSmrg# file could not be fully written (such as if the disk is full).
24771debfc3dSmrg# _LT_GENERATED_FILE_INIT
24781debfc3dSmrg
24791debfc3dSmrg# LT_OUTPUT
24801debfc3dSmrg# ---------
24811debfc3dSmrg# This macro allows early generation of the libtool script (before
24821debfc3dSmrg# AC_OUTPUT is called), incase it is used in configure for compilation
24831debfc3dSmrg# tests.
24841debfc3dSmrg# LT_OUTPUT
24851debfc3dSmrg
24861debfc3dSmrg
24871debfc3dSmrg# _LT_CONFIG(TAG)
24881debfc3dSmrg# ---------------
24891debfc3dSmrg# If TAG is the built-in tag, create an initial libtool script with a
24901debfc3dSmrg# default configuration from the untagged config vars.  Otherwise add code
24911debfc3dSmrg# to config.status for appending the configuration named by TAG from the
24921debfc3dSmrg# matching tagged config vars.
24931debfc3dSmrg# _LT_CONFIG
24941debfc3dSmrg
24951debfc3dSmrg
24961debfc3dSmrg# LT_SUPPORTED_TAG(TAG)
24971debfc3dSmrg# ---------------------
24981debfc3dSmrg# Trace this macro to discover what tags are supported by the libtool
24991debfc3dSmrg# --tag option, using:
25001debfc3dSmrg#    autoconf --trace 'LT_SUPPORTED_TAG:$1'
25011debfc3dSmrg
25021debfc3dSmrg
25031debfc3dSmrg
25041debfc3dSmrg# C support is built-in for now
25051debfc3dSmrg
25061debfc3dSmrg
25071debfc3dSmrg
25081debfc3dSmrg
25091debfc3dSmrg# LT_LANG(LANG)
25101debfc3dSmrg# -------------
25111debfc3dSmrg# Enable libtool support for the given language if not already enabled.
25121debfc3dSmrg# LT_LANG
25131debfc3dSmrg
25141debfc3dSmrg
25151debfc3dSmrg# _LT_LANG(LANGNAME)
25161debfc3dSmrg# ------------------
25171debfc3dSmrg# _LT_LANG
25181debfc3dSmrg
25191debfc3dSmrg
25201debfc3dSmrg# _LT_LANG_DEFAULT_CONFIG
25211debfc3dSmrg# -----------------------
25221debfc3dSmrg# _LT_LANG_DEFAULT_CONFIG
25231debfc3dSmrg
25241debfc3dSmrg# Obsolete macros:
25251debfc3dSmrg# This is what autoupdate's m4 run will expand.  It fires
25261debfc3dSmrg# the warning (with _au_warn_XXX), outputs it into the
25271debfc3dSmrg# updated configure.ac (with AC_DIAGNOSE), and then outputs
25281debfc3dSmrg# the replacement expansion.
25291debfc3dSmrg
25301debfc3dSmrg
25311debfc3dSmrg# This is an auxiliary macro that is also run when
25321debfc3dSmrg# autoupdate runs m4.  It simply calls m4_warning, but
25331debfc3dSmrg# we need a wrapper so that each warning is emitted only
25341debfc3dSmrg# once.  We break the quoting in m4_warning's argument in
25351debfc3dSmrg# order to expand this macro's arguments, not AU_DEFUN's.
25361debfc3dSmrg
25371debfc3dSmrg
25381debfc3dSmrg# Finally, this is the expansion that is picked up by
25391debfc3dSmrg# autoconf.  It tells the user to run autoupdate, and
25401debfc3dSmrg# then outputs the replacement expansion.  We do not care
25411debfc3dSmrg# about autoupdate's warning because that contains
25421debfc3dSmrg# information on what to do *after* running autoupdate.
25431debfc3dSmrg
25441debfc3dSmrg# This is what autoupdate's m4 run will expand.  It fires
25451debfc3dSmrg# the warning (with _au_warn_XXX), outputs it into the
25461debfc3dSmrg# updated configure.ac (with AC_DIAGNOSE), and then outputs
25471debfc3dSmrg# the replacement expansion.
25481debfc3dSmrg
25491debfc3dSmrg
25501debfc3dSmrg# This is an auxiliary macro that is also run when
25511debfc3dSmrg# autoupdate runs m4.  It simply calls m4_warning, but
25521debfc3dSmrg# we need a wrapper so that each warning is emitted only
25531debfc3dSmrg# once.  We break the quoting in m4_warning's argument in
25541debfc3dSmrg# order to expand this macro's arguments, not AU_DEFUN's.
25551debfc3dSmrg
25561debfc3dSmrg
25571debfc3dSmrg# Finally, this is the expansion that is picked up by
25581debfc3dSmrg# autoconf.  It tells the user to run autoupdate, and
25591debfc3dSmrg# then outputs the replacement expansion.  We do not care
25601debfc3dSmrg# about autoupdate's warning because that contains
25611debfc3dSmrg# information on what to do *after* running autoupdate.
25621debfc3dSmrg
25631debfc3dSmrg# This is what autoupdate's m4 run will expand.  It fires
25641debfc3dSmrg# the warning (with _au_warn_XXX), outputs it into the
25651debfc3dSmrg# updated configure.ac (with AC_DIAGNOSE), and then outputs
25661debfc3dSmrg# the replacement expansion.
25671debfc3dSmrg
25681debfc3dSmrg
25691debfc3dSmrg# This is an auxiliary macro that is also run when
25701debfc3dSmrg# autoupdate runs m4.  It simply calls m4_warning, but
25711debfc3dSmrg# we need a wrapper so that each warning is emitted only
25721debfc3dSmrg# once.  We break the quoting in m4_warning's argument in
25731debfc3dSmrg# order to expand this macro's arguments, not AU_DEFUN's.
25741debfc3dSmrg
25751debfc3dSmrg
25761debfc3dSmrg# Finally, this is the expansion that is picked up by
25771debfc3dSmrg# autoconf.  It tells the user to run autoupdate, and
25781debfc3dSmrg# then outputs the replacement expansion.  We do not care
25791debfc3dSmrg# about autoupdate's warning because that contains
25801debfc3dSmrg# information on what to do *after* running autoupdate.
25811debfc3dSmrg
25821debfc3dSmrg# This is what autoupdate's m4 run will expand.  It fires
25831debfc3dSmrg# the warning (with _au_warn_XXX), outputs it into the
25841debfc3dSmrg# updated configure.ac (with AC_DIAGNOSE), and then outputs
25851debfc3dSmrg# the replacement expansion.
25861debfc3dSmrg
25871debfc3dSmrg
25881debfc3dSmrg# This is an auxiliary macro that is also run when
25891debfc3dSmrg# autoupdate runs m4.  It simply calls m4_warning, but
25901debfc3dSmrg# we need a wrapper so that each warning is emitted only
25911debfc3dSmrg# once.  We break the quoting in m4_warning's argument in
25921debfc3dSmrg# order to expand this macro's arguments, not AU_DEFUN's.
25931debfc3dSmrg
25941debfc3dSmrg
25951debfc3dSmrg# Finally, this is the expansion that is picked up by
25961debfc3dSmrg# autoconf.  It tells the user to run autoupdate, and
25971debfc3dSmrg# then outputs the replacement expansion.  We do not care
25981debfc3dSmrg# about autoupdate's warning because that contains
25991debfc3dSmrg# information on what to do *after* running autoupdate.
26001debfc3dSmrg
26011debfc3dSmrg# This is what autoupdate's m4 run will expand.  It fires
26021debfc3dSmrg# the warning (with _au_warn_XXX), outputs it into the
26031debfc3dSmrg# updated configure.ac (with AC_DIAGNOSE), and then outputs
26041debfc3dSmrg# the replacement expansion.
26051debfc3dSmrg
26061debfc3dSmrg
26071debfc3dSmrg# This is an auxiliary macro that is also run when
26081debfc3dSmrg# autoupdate runs m4.  It simply calls m4_warning, but
26091debfc3dSmrg# we need a wrapper so that each warning is emitted only
26101debfc3dSmrg# once.  We break the quoting in m4_warning's argument in
26111debfc3dSmrg# order to expand this macro's arguments, not AU_DEFUN's.
26121debfc3dSmrg
26131debfc3dSmrg
26141debfc3dSmrg# Finally, this is the expansion that is picked up by
26151debfc3dSmrg# autoconf.  It tells the user to run autoupdate, and
26161debfc3dSmrg# then outputs the replacement expansion.  We do not care
26171debfc3dSmrg# about autoupdate's warning because that contains
26181debfc3dSmrg# information on what to do *after* running autoupdate.
26191debfc3dSmrg
26201debfc3dSmrg
26211debfc3dSmrg
26221debfc3dSmrg# _LT_TAG_COMPILER
26231debfc3dSmrg# ----------------
26241debfc3dSmrg# _LT_TAG_COMPILER
26251debfc3dSmrg
26261debfc3dSmrg
26271debfc3dSmrg# _LT_COMPILER_BOILERPLATE
26281debfc3dSmrg# ------------------------
26291debfc3dSmrg# Check for compiler boilerplate output or warnings with
26301debfc3dSmrg# the simple compiler test code.
26311debfc3dSmrg# _LT_COMPILER_BOILERPLATE
26321debfc3dSmrg
26331debfc3dSmrg
26341debfc3dSmrg# _LT_LINKER_BOILERPLATE
26351debfc3dSmrg# ----------------------
26361debfc3dSmrg# Check for linker boilerplate output or warnings with
26371debfc3dSmrg# the simple link test code.
26381debfc3dSmrg# _LT_LINKER_BOILERPLATE
26391debfc3dSmrg
26401debfc3dSmrg# _LT_REQUIRED_DARWIN_CHECKS
26411debfc3dSmrg# -------------------------
26421debfc3dSmrg
26431debfc3dSmrg
26441debfc3dSmrg
26451debfc3dSmrg# _LT_DARWIN_LINKER_FEATURES
26461debfc3dSmrg# --------------------------
26471debfc3dSmrg# Checks for linker and compiler features on darwin
26481debfc3dSmrg
26491debfc3dSmrg
26501debfc3dSmrg# _LT_SYS_MODULE_PATH_AIX
26511debfc3dSmrg# -----------------------
26521debfc3dSmrg# Links a minimal program and checks the executable
26531debfc3dSmrg# for the system default hardcoded library path. In most cases,
26541debfc3dSmrg# this is /usr/lib:/lib, but when the MPI compilers are used
26551debfc3dSmrg# the location of the communication and MPI libs are included too.
26561debfc3dSmrg# If we don't find anything, use the default library path according
26571debfc3dSmrg# to the aix ld manual.
26581debfc3dSmrg# _LT_SYS_MODULE_PATH_AIX
26591debfc3dSmrg
26601debfc3dSmrg
26611debfc3dSmrg# _LT_SHELL_INIT(ARG)
26621debfc3dSmrg# -------------------
26631debfc3dSmrg# _LT_SHELL_INIT
26641debfc3dSmrg
26651debfc3dSmrg
26661debfc3dSmrg
26671debfc3dSmrg# _LT_PROG_ECHO_BACKSLASH
26681debfc3dSmrg# -----------------------
26691debfc3dSmrg# Find how we can fake an echo command that does not interpret backslash.
26701debfc3dSmrg# In particular, with Autoconf 2.60 or later we add some code to the start
26711debfc3dSmrg# of the generated configure script which will find a shell with a builtin
26721debfc3dSmrg# printf (which we can use as an echo command).
26731debfc3dSmrg# _LT_PROG_ECHO_BACKSLASH
26741debfc3dSmrg
26751debfc3dSmrg
26761debfc3dSmrg# _LT_ENABLE_LOCK
26771debfc3dSmrg# ---------------
26781debfc3dSmrg# _LT_ENABLE_LOCK
26791debfc3dSmrg
26801debfc3dSmrg
26811debfc3dSmrg# _LT_CMD_OLD_ARCHIVE
26821debfc3dSmrg# -------------------
26831debfc3dSmrg# _LT_CMD_OLD_ARCHIVE
26841debfc3dSmrg
26851debfc3dSmrg
26861debfc3dSmrg# _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
26871debfc3dSmrg#		[OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
26881debfc3dSmrg# ----------------------------------------------------------------
26891debfc3dSmrg# Check whether the given compiler option works
26901debfc3dSmrg# _LT_COMPILER_OPTION
26911debfc3dSmrg
26921debfc3dSmrg# Old name:
26931debfc3dSmrg# This is what autoupdate's m4 run will expand.  It fires
26941debfc3dSmrg# the warning (with _au_warn_XXX), outputs it into the
26951debfc3dSmrg# updated configure.ac (with AC_DIAGNOSE), and then outputs
26961debfc3dSmrg# the replacement expansion.
26971debfc3dSmrg
26981debfc3dSmrg
26991debfc3dSmrg# This is an auxiliary macro that is also run when
27001debfc3dSmrg# autoupdate runs m4.  It simply calls m4_warning, but
27011debfc3dSmrg# we need a wrapper so that each warning is emitted only
27021debfc3dSmrg# once.  We break the quoting in m4_warning's argument in
27031debfc3dSmrg# order to expand this macro's arguments, not AU_DEFUN's.
27041debfc3dSmrg
27051debfc3dSmrg
27061debfc3dSmrg# Finally, this is the expansion that is picked up by
27071debfc3dSmrg# autoconf.  It tells the user to run autoupdate, and
27081debfc3dSmrg# then outputs the replacement expansion.  We do not care
27091debfc3dSmrg# about autoupdate's warning because that contains
27101debfc3dSmrg# information on what to do *after* running autoupdate.
27111debfc3dSmrg
27121debfc3dSmrg
27131debfc3dSmrg
27141debfc3dSmrg# _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
27151debfc3dSmrg#                  [ACTION-SUCCESS], [ACTION-FAILURE])
27161debfc3dSmrg# ----------------------------------------------------
27171debfc3dSmrg# Check whether the given linker option works
27181debfc3dSmrg# _LT_LINKER_OPTION
27191debfc3dSmrg
27201debfc3dSmrg# Old name:
27211debfc3dSmrg# This is what autoupdate's m4 run will expand.  It fires
27221debfc3dSmrg# the warning (with _au_warn_XXX), outputs it into the
27231debfc3dSmrg# updated configure.ac (with AC_DIAGNOSE), and then outputs
27241debfc3dSmrg# the replacement expansion.
27251debfc3dSmrg
27261debfc3dSmrg
27271debfc3dSmrg# This is an auxiliary macro that is also run when
27281debfc3dSmrg# autoupdate runs m4.  It simply calls m4_warning, but
27291debfc3dSmrg# we need a wrapper so that each warning is emitted only
27301debfc3dSmrg# once.  We break the quoting in m4_warning's argument in
27311debfc3dSmrg# order to expand this macro's arguments, not AU_DEFUN's.
27321debfc3dSmrg
27331debfc3dSmrg
27341debfc3dSmrg# Finally, this is the expansion that is picked up by
27351debfc3dSmrg# autoconf.  It tells the user to run autoupdate, and
27361debfc3dSmrg# then outputs the replacement expansion.  We do not care
27371debfc3dSmrg# about autoupdate's warning because that contains
27381debfc3dSmrg# information on what to do *after* running autoupdate.
27391debfc3dSmrg
27401debfc3dSmrg
27411debfc3dSmrg
27421debfc3dSmrg# LT_CMD_MAX_LEN
27431debfc3dSmrg#---------------
27441debfc3dSmrg# LT_CMD_MAX_LEN
27451debfc3dSmrg
27461debfc3dSmrg# Old name:
27471debfc3dSmrg# This is what autoupdate's m4 run will expand.  It fires
27481debfc3dSmrg# the warning (with _au_warn_XXX), outputs it into the
27491debfc3dSmrg# updated configure.ac (with AC_DIAGNOSE), and then outputs
27501debfc3dSmrg# the replacement expansion.
27511debfc3dSmrg
27521debfc3dSmrg
27531debfc3dSmrg# This is an auxiliary macro that is also run when
27541debfc3dSmrg# autoupdate runs m4.  It simply calls m4_warning, but
27551debfc3dSmrg# we need a wrapper so that each warning is emitted only
27561debfc3dSmrg# once.  We break the quoting in m4_warning's argument in
27571debfc3dSmrg# order to expand this macro's arguments, not AU_DEFUN's.
27581debfc3dSmrg
27591debfc3dSmrg
27601debfc3dSmrg# Finally, this is the expansion that is picked up by
27611debfc3dSmrg# autoconf.  It tells the user to run autoupdate, and
27621debfc3dSmrg# then outputs the replacement expansion.  We do not care
27631debfc3dSmrg# about autoupdate's warning because that contains
27641debfc3dSmrg# information on what to do *after* running autoupdate.
27651debfc3dSmrg
27661debfc3dSmrg
27671debfc3dSmrg
27681debfc3dSmrg# _LT_HEADER_DLFCN
27691debfc3dSmrg# ----------------
27701debfc3dSmrg# _LT_HEADER_DLFCN
27711debfc3dSmrg
27721debfc3dSmrg
27731debfc3dSmrg# _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
27741debfc3dSmrg#                      ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
27751debfc3dSmrg# ----------------------------------------------------------------
27761debfc3dSmrg# _LT_TRY_DLOPEN_SELF
27771debfc3dSmrg
27781debfc3dSmrg
27791debfc3dSmrg# LT_SYS_DLOPEN_SELF
27801debfc3dSmrg# ------------------
27811debfc3dSmrg# LT_SYS_DLOPEN_SELF
27821debfc3dSmrg
27831debfc3dSmrg# Old name:
27841debfc3dSmrg# This is what autoupdate's m4 run will expand.  It fires
27851debfc3dSmrg# the warning (with _au_warn_XXX), outputs it into the
27861debfc3dSmrg# updated configure.ac (with AC_DIAGNOSE), and then outputs
27871debfc3dSmrg# the replacement expansion.
27881debfc3dSmrg
27891debfc3dSmrg
27901debfc3dSmrg# This is an auxiliary macro that is also run when
27911debfc3dSmrg# autoupdate runs m4.  It simply calls m4_warning, but
27921debfc3dSmrg# we need a wrapper so that each warning is emitted only
27931debfc3dSmrg# once.  We break the quoting in m4_warning's argument in
27941debfc3dSmrg# order to expand this macro's arguments, not AU_DEFUN's.
27951debfc3dSmrg
27961debfc3dSmrg
27971debfc3dSmrg# Finally, this is the expansion that is picked up by
27981debfc3dSmrg# autoconf.  It tells the user to run autoupdate, and
27991debfc3dSmrg# then outputs the replacement expansion.  We do not care
28001debfc3dSmrg# about autoupdate's warning because that contains
28011debfc3dSmrg# information on what to do *after* running autoupdate.
28021debfc3dSmrg
28031debfc3dSmrg
28041debfc3dSmrg
28051debfc3dSmrg# _LT_COMPILER_C_O([TAGNAME])
28061debfc3dSmrg# ---------------------------
28071debfc3dSmrg# Check to see if options -c and -o are simultaneously supported by compiler.
28081debfc3dSmrg# This macro does not hard code the compiler like AC_PROG_CC_C_O.
28091debfc3dSmrg# _LT_COMPILER_C_O
28101debfc3dSmrg
28111debfc3dSmrg
28121debfc3dSmrg# _LT_COMPILER_FILE_LOCKS([TAGNAME])
28131debfc3dSmrg# ----------------------------------
28141debfc3dSmrg# Check to see if we can do hard links to lock some files if needed
28151debfc3dSmrg# _LT_COMPILER_FILE_LOCKS
28161debfc3dSmrg
28171debfc3dSmrg
28181debfc3dSmrg# _LT_CHECK_OBJDIR
28191debfc3dSmrg# ----------------
28201debfc3dSmrg# _LT_CHECK_OBJDIR
28211debfc3dSmrg
28221debfc3dSmrg
28231debfc3dSmrg# _LT_LINKER_HARDCODE_LIBPATH([TAGNAME])
28241debfc3dSmrg# --------------------------------------
28251debfc3dSmrg# Check hardcoding attributes.
28261debfc3dSmrg# _LT_LINKER_HARDCODE_LIBPATH
28271debfc3dSmrg
28281debfc3dSmrg
28291debfc3dSmrg# _LT_CMD_STRIPLIB
28301debfc3dSmrg# ----------------
28311debfc3dSmrg# _LT_CMD_STRIPLIB
28321debfc3dSmrg
28331debfc3dSmrg
28341debfc3dSmrg# _LT_SYS_DYNAMIC_LINKER([TAG])
28351debfc3dSmrg# -----------------------------
28361debfc3dSmrg# PORTME Fill in your ld.so characteristics
28371debfc3dSmrg# _LT_SYS_DYNAMIC_LINKER
28381debfc3dSmrg
28391debfc3dSmrg
28401debfc3dSmrg# _LT_PATH_TOOL_PREFIX(TOOL)
28411debfc3dSmrg# --------------------------
28421debfc3dSmrg# find a file program which can recognize shared library
28431debfc3dSmrg# _LT_PATH_TOOL_PREFIX
28441debfc3dSmrg
28451debfc3dSmrg# Old name:
28461debfc3dSmrg# This is what autoupdate's m4 run will expand.  It fires
28471debfc3dSmrg# the warning (with _au_warn_XXX), outputs it into the
28481debfc3dSmrg# updated configure.ac (with AC_DIAGNOSE), and then outputs
28491debfc3dSmrg# the replacement expansion.
28501debfc3dSmrg
28511debfc3dSmrg
28521debfc3dSmrg# This is an auxiliary macro that is also run when
28531debfc3dSmrg# autoupdate runs m4.  It simply calls m4_warning, but
28541debfc3dSmrg# we need a wrapper so that each warning is emitted only
28551debfc3dSmrg# once.  We break the quoting in m4_warning's argument in
28561debfc3dSmrg# order to expand this macro's arguments, not AU_DEFUN's.
28571debfc3dSmrg
28581debfc3dSmrg
28591debfc3dSmrg# Finally, this is the expansion that is picked up by
28601debfc3dSmrg# autoconf.  It tells the user to run autoupdate, and
28611debfc3dSmrg# then outputs the replacement expansion.  We do not care
28621debfc3dSmrg# about autoupdate's warning because that contains
28631debfc3dSmrg# information on what to do *after* running autoupdate.
28641debfc3dSmrg
28651debfc3dSmrg
28661debfc3dSmrg
28671debfc3dSmrg# _LT_PATH_MAGIC
28681debfc3dSmrg# --------------
28691debfc3dSmrg# find a file program which can recognize a shared library
28701debfc3dSmrg# _LT_PATH_MAGIC
28711debfc3dSmrg
28721debfc3dSmrg
28731debfc3dSmrg# LT_PATH_LD
28741debfc3dSmrg# ----------
28751debfc3dSmrg# find the pathname to the GNU or non-GNU linker
28761debfc3dSmrg# LT_PATH_LD
28771debfc3dSmrg
28781debfc3dSmrg# Old names:
28791debfc3dSmrg# This is what autoupdate's m4 run will expand.  It fires
28801debfc3dSmrg# the warning (with _au_warn_XXX), outputs it into the
28811debfc3dSmrg# updated configure.ac (with AC_DIAGNOSE), and then outputs
28821debfc3dSmrg# the replacement expansion.
28831debfc3dSmrg
28841debfc3dSmrg
28851debfc3dSmrg# This is an auxiliary macro that is also run when
28861debfc3dSmrg# autoupdate runs m4.  It simply calls m4_warning, but
28871debfc3dSmrg# we need a wrapper so that each warning is emitted only
28881debfc3dSmrg# once.  We break the quoting in m4_warning's argument in
28891debfc3dSmrg# order to expand this macro's arguments, not AU_DEFUN's.
28901debfc3dSmrg
28911debfc3dSmrg
28921debfc3dSmrg# Finally, this is the expansion that is picked up by
28931debfc3dSmrg# autoconf.  It tells the user to run autoupdate, and
28941debfc3dSmrg# then outputs the replacement expansion.  We do not care
28951debfc3dSmrg# about autoupdate's warning because that contains
28961debfc3dSmrg# information on what to do *after* running autoupdate.
28971debfc3dSmrg
28981debfc3dSmrg# This is what autoupdate's m4 run will expand.  It fires
28991debfc3dSmrg# the warning (with _au_warn_XXX), outputs it into the
29001debfc3dSmrg# updated configure.ac (with AC_DIAGNOSE), and then outputs
29011debfc3dSmrg# the replacement expansion.
29021debfc3dSmrg
29031debfc3dSmrg
29041debfc3dSmrg# This is an auxiliary macro that is also run when
29051debfc3dSmrg# autoupdate runs m4.  It simply calls m4_warning, but
29061debfc3dSmrg# we need a wrapper so that each warning is emitted only
29071debfc3dSmrg# once.  We break the quoting in m4_warning's argument in
29081debfc3dSmrg# order to expand this macro's arguments, not AU_DEFUN's.
29091debfc3dSmrg
29101debfc3dSmrg
29111debfc3dSmrg# Finally, this is the expansion that is picked up by
29121debfc3dSmrg# autoconf.  It tells the user to run autoupdate, and
29131debfc3dSmrg# then outputs the replacement expansion.  We do not care
29141debfc3dSmrg# about autoupdate's warning because that contains
29151debfc3dSmrg# information on what to do *after* running autoupdate.
29161debfc3dSmrg
29171debfc3dSmrg
29181debfc3dSmrg
29191debfc3dSmrg# _LT_PATH_LD_GNU
29201debfc3dSmrg#- --------------
29211debfc3dSmrg# _LT_PATH_LD_GNU
29221debfc3dSmrg
29231debfc3dSmrg
29241debfc3dSmrg# _LT_CMD_RELOAD
29251debfc3dSmrg# --------------
29261debfc3dSmrg# find reload flag for linker
29271debfc3dSmrg#   -- PORTME Some linkers may need a different reload flag.
29281debfc3dSmrg# _LT_CMD_RELOAD
29291debfc3dSmrg
29301debfc3dSmrg
29311debfc3dSmrg# _LT_CHECK_MAGIC_METHOD
29321debfc3dSmrg# ----------------------
29331debfc3dSmrg# how to check for library dependencies
29341debfc3dSmrg#  -- PORTME fill in with the dynamic library characteristics
29351debfc3dSmrg# _LT_CHECK_MAGIC_METHOD
29361debfc3dSmrg
29371debfc3dSmrg
29381debfc3dSmrg# LT_PATH_NM
29391debfc3dSmrg# ----------
29401debfc3dSmrg# find the pathname to a BSD- or MS-compatible name lister
29411debfc3dSmrg# LT_PATH_NM
29421debfc3dSmrg
29431debfc3dSmrg# Old names:
29441debfc3dSmrg# This is what autoupdate's m4 run will expand.  It fires
29451debfc3dSmrg# the warning (with _au_warn_XXX), outputs it into the
29461debfc3dSmrg# updated configure.ac (with AC_DIAGNOSE), and then outputs
29471debfc3dSmrg# the replacement expansion.
29481debfc3dSmrg
29491debfc3dSmrg
29501debfc3dSmrg# This is an auxiliary macro that is also run when
29511debfc3dSmrg# autoupdate runs m4.  It simply calls m4_warning, but
29521debfc3dSmrg# we need a wrapper so that each warning is emitted only
29531debfc3dSmrg# once.  We break the quoting in m4_warning's argument in
29541debfc3dSmrg# order to expand this macro's arguments, not AU_DEFUN's.
29551debfc3dSmrg
29561debfc3dSmrg
29571debfc3dSmrg# Finally, this is the expansion that is picked up by
29581debfc3dSmrg# autoconf.  It tells the user to run autoupdate, and
29591debfc3dSmrg# then outputs the replacement expansion.  We do not care
29601debfc3dSmrg# about autoupdate's warning because that contains
29611debfc3dSmrg# information on what to do *after* running autoupdate.
29621debfc3dSmrg
29631debfc3dSmrg# This is what autoupdate's m4 run will expand.  It fires
29641debfc3dSmrg# the warning (with _au_warn_XXX), outputs it into the
29651debfc3dSmrg# updated configure.ac (with AC_DIAGNOSE), and then outputs
29661debfc3dSmrg# the replacement expansion.
29671debfc3dSmrg
29681debfc3dSmrg
29691debfc3dSmrg# This is an auxiliary macro that is also run when
29701debfc3dSmrg# autoupdate runs m4.  It simply calls m4_warning, but
29711debfc3dSmrg# we need a wrapper so that each warning is emitted only
29721debfc3dSmrg# once.  We break the quoting in m4_warning's argument in
29731debfc3dSmrg# order to expand this macro's arguments, not AU_DEFUN's.
29741debfc3dSmrg
29751debfc3dSmrg
29761debfc3dSmrg# Finally, this is the expansion that is picked up by
29771debfc3dSmrg# autoconf.  It tells the user to run autoupdate, and
29781debfc3dSmrg# then outputs the replacement expansion.  We do not care
29791debfc3dSmrg# about autoupdate's warning because that contains
29801debfc3dSmrg# information on what to do *after* running autoupdate.
29811debfc3dSmrg
29821debfc3dSmrg
29831debfc3dSmrg
29841debfc3dSmrg# LT_LIB_M
29851debfc3dSmrg# --------
29861debfc3dSmrg# check for math library
29871debfc3dSmrg# LT_LIB_M
29881debfc3dSmrg
29891debfc3dSmrg# Old name:
29901debfc3dSmrg# This is what autoupdate's m4 run will expand.  It fires
29911debfc3dSmrg# the warning (with _au_warn_XXX), outputs it into the
29921debfc3dSmrg# updated configure.ac (with AC_DIAGNOSE), and then outputs
29931debfc3dSmrg# the replacement expansion.
29941debfc3dSmrg
29951debfc3dSmrg
29961debfc3dSmrg# This is an auxiliary macro that is also run when
29971debfc3dSmrg# autoupdate runs m4.  It simply calls m4_warning, but
29981debfc3dSmrg# we need a wrapper so that each warning is emitted only
29991debfc3dSmrg# once.  We break the quoting in m4_warning's argument in
30001debfc3dSmrg# order to expand this macro's arguments, not AU_DEFUN's.
30011debfc3dSmrg
30021debfc3dSmrg
30031debfc3dSmrg# Finally, this is the expansion that is picked up by
30041debfc3dSmrg# autoconf.  It tells the user to run autoupdate, and
30051debfc3dSmrg# then outputs the replacement expansion.  We do not care
30061debfc3dSmrg# about autoupdate's warning because that contains
30071debfc3dSmrg# information on what to do *after* running autoupdate.
30081debfc3dSmrg
30091debfc3dSmrg
30101debfc3dSmrg
30111debfc3dSmrg# _LT_COMPILER_NO_RTTI([TAGNAME])
30121debfc3dSmrg# -------------------------------
30131debfc3dSmrg# _LT_COMPILER_NO_RTTI
30141debfc3dSmrg
30151debfc3dSmrg
30161debfc3dSmrg# _LT_CMD_GLOBAL_SYMBOLS
30171debfc3dSmrg# ----------------------
30181debfc3dSmrg # _LT_CMD_GLOBAL_SYMBOLS
30191debfc3dSmrg
30201debfc3dSmrg
30211debfc3dSmrg# _LT_COMPILER_PIC([TAGNAME])
30221debfc3dSmrg# ---------------------------
30231debfc3dSmrg# _LT_COMPILER_PIC
30241debfc3dSmrg
30251debfc3dSmrg
30261debfc3dSmrg# _LT_LINKER_SHLIBS([TAGNAME])
30271debfc3dSmrg# ----------------------------
30281debfc3dSmrg# See if the linker supports building shared libraries.
30291debfc3dSmrg# _LT_LINKER_SHLIBS
30301debfc3dSmrg
30311debfc3dSmrg
30321debfc3dSmrg# _LT_LANG_C_CONFIG([TAG])
30331debfc3dSmrg# ------------------------
30341debfc3dSmrg# Ensure that the configuration variables for a C compiler are suitably
30351debfc3dSmrg# defined.  These variables are subsequently used by _LT_CONFIG to write
30361debfc3dSmrg# the compiler configuration to `libtool'.
30371debfc3dSmrg# _LT_LANG_C_CONFIG
30381debfc3dSmrg
30391debfc3dSmrg
30401debfc3dSmrg# _LT_LANG_CXX_CONFIG([TAG])
30411debfc3dSmrg# --------------------------
30421debfc3dSmrg# Ensure that the configuration variables for a C++ compiler are suitably
30431debfc3dSmrg# defined.  These variables are subsequently used by _LT_CONFIG to write
30441debfc3dSmrg# the compiler configuration to `libtool'.
30451debfc3dSmrg# _LT_LANG_CXX_CONFIG
30461debfc3dSmrg
30471debfc3dSmrg
30481debfc3dSmrg# _LT_SYS_HIDDEN_LIBDEPS([TAGNAME])
30491debfc3dSmrg# ---------------------------------
30501debfc3dSmrg# Figure out "hidden" library dependencies from verbose
30511debfc3dSmrg# compiler output when linking a shared library.
30521debfc3dSmrg# Parse the compiler output and extract the necessary
30531debfc3dSmrg# objects, libraries and library flags.
30541debfc3dSmrg# _LT_SYS_HIDDEN_LIBDEPS
30551debfc3dSmrg
30561debfc3dSmrg
30571debfc3dSmrg# _LT_LANG_F77_CONFIG([TAG])
30581debfc3dSmrg# --------------------------
30591debfc3dSmrg# Ensure that the configuration variables for a Fortran 77 compiler are
30601debfc3dSmrg# suitably defined.  These variables are subsequently used by _LT_CONFIG
30611debfc3dSmrg# to write the compiler configuration to `libtool'.
30621debfc3dSmrg# _LT_LANG_F77_CONFIG
30631debfc3dSmrg
30641debfc3dSmrg
30651debfc3dSmrg# _LT_LANG_FC_CONFIG([TAG])
30661debfc3dSmrg# -------------------------
30671debfc3dSmrg# Ensure that the configuration variables for a Fortran compiler are
30681debfc3dSmrg# suitably defined.  These variables are subsequently used by _LT_CONFIG
30691debfc3dSmrg# to write the compiler configuration to `libtool'.
30701debfc3dSmrg# _LT_LANG_FC_CONFIG
30711debfc3dSmrg
30721debfc3dSmrg
30731debfc3dSmrg# _LT_LANG_GCJ_CONFIG([TAG])
30741debfc3dSmrg# --------------------------
30751debfc3dSmrg# Ensure that the configuration variables for the GNU Java Compiler compiler
30761debfc3dSmrg# are suitably defined.  These variables are subsequently used by _LT_CONFIG
30771debfc3dSmrg# to write the compiler configuration to `libtool'.
30781debfc3dSmrg# _LT_LANG_GCJ_CONFIG
30791debfc3dSmrg
30801debfc3dSmrg
30811debfc3dSmrg# _LT_LANG_RC_CONFIG([TAG])
30821debfc3dSmrg# -------------------------
30831debfc3dSmrg# Ensure that the configuration variables for the Windows resource compiler
30841debfc3dSmrg# are suitably defined.  These variables are subsequently used by _LT_CONFIG
30851debfc3dSmrg# to write the compiler configuration to `libtool'.
30861debfc3dSmrg# _LT_LANG_RC_CONFIG
30871debfc3dSmrg
30881debfc3dSmrg
30891debfc3dSmrg# LT_PROG_GCJ
30901debfc3dSmrg# -----------
30911debfc3dSmrg
30921debfc3dSmrg
30931debfc3dSmrg# Old name:
30941debfc3dSmrg# This is what autoupdate's m4 run will expand.  It fires
30951debfc3dSmrg# the warning (with _au_warn_XXX), outputs it into the
30961debfc3dSmrg# updated configure.ac (with AC_DIAGNOSE), and then outputs
30971debfc3dSmrg# the replacement expansion.
30981debfc3dSmrg
30991debfc3dSmrg
31001debfc3dSmrg# This is an auxiliary macro that is also run when
31011debfc3dSmrg# autoupdate runs m4.  It simply calls m4_warning, but
31021debfc3dSmrg# we need a wrapper so that each warning is emitted only
31031debfc3dSmrg# once.  We break the quoting in m4_warning's argument in
31041debfc3dSmrg# order to expand this macro's arguments, not AU_DEFUN's.
31051debfc3dSmrg
31061debfc3dSmrg
31071debfc3dSmrg# Finally, this is the expansion that is picked up by
31081debfc3dSmrg# autoconf.  It tells the user to run autoupdate, and
31091debfc3dSmrg# then outputs the replacement expansion.  We do not care
31101debfc3dSmrg# about autoupdate's warning because that contains
31111debfc3dSmrg# information on what to do *after* running autoupdate.
31121debfc3dSmrg
31131debfc3dSmrg
31141debfc3dSmrg
31151debfc3dSmrg# LT_PROG_RC
31161debfc3dSmrg# ----------
31171debfc3dSmrg
31181debfc3dSmrg
31191debfc3dSmrg# Old name:
31201debfc3dSmrg# This is what autoupdate's m4 run will expand.  It fires
31211debfc3dSmrg# the warning (with _au_warn_XXX), outputs it into the
31221debfc3dSmrg# updated configure.ac (with AC_DIAGNOSE), and then outputs
31231debfc3dSmrg# the replacement expansion.
31241debfc3dSmrg
31251debfc3dSmrg
31261debfc3dSmrg# This is an auxiliary macro that is also run when
31271debfc3dSmrg# autoupdate runs m4.  It simply calls m4_warning, but
31281debfc3dSmrg# we need a wrapper so that each warning is emitted only
31291debfc3dSmrg# once.  We break the quoting in m4_warning's argument in
31301debfc3dSmrg# order to expand this macro's arguments, not AU_DEFUN's.
31311debfc3dSmrg
31321debfc3dSmrg
31331debfc3dSmrg# Finally, this is the expansion that is picked up by
31341debfc3dSmrg# autoconf.  It tells the user to run autoupdate, and
31351debfc3dSmrg# then outputs the replacement expansion.  We do not care
31361debfc3dSmrg# about autoupdate's warning because that contains
31371debfc3dSmrg# information on what to do *after* running autoupdate.
31381debfc3dSmrg
31391debfc3dSmrg
31401debfc3dSmrg
31411debfc3dSmrg# _LT_DECL_EGREP
31421debfc3dSmrg# --------------
31431debfc3dSmrg# If we don't have a new enough Autoconf to choose the best grep
31441debfc3dSmrg# available, choose the one first in the user's PATH.
31451debfc3dSmrg
31461debfc3dSmrg
31471debfc3dSmrg
31481debfc3dSmrg# _LT_DECL_OBJDUMP
31491debfc3dSmrg# --------------
31501debfc3dSmrg# If we don't have a new enough Autoconf to choose the best objdump
31511debfc3dSmrg# available, choose the one first in the user's PATH.
31521debfc3dSmrg
31531debfc3dSmrg
31541debfc3dSmrg
31551debfc3dSmrg# _LT_DECL_SED
31561debfc3dSmrg# ------------
31571debfc3dSmrg# Check for a fully-functional sed program, that truncates
31581debfc3dSmrg# as few characters as possible.  Prefer GNU sed if found.
31591debfc3dSmrg# _LT_DECL_SED
31601debfc3dSmrg
31611debfc3dSmrg#m4_ifndef
31621debfc3dSmrg
31631debfc3dSmrg# Old name:
31641debfc3dSmrg# This is what autoupdate's m4 run will expand.  It fires
31651debfc3dSmrg# the warning (with _au_warn_XXX), outputs it into the
31661debfc3dSmrg# updated configure.ac (with AC_DIAGNOSE), and then outputs
31671debfc3dSmrg# the replacement expansion.
31681debfc3dSmrg
31691debfc3dSmrg
31701debfc3dSmrg# This is an auxiliary macro that is also run when
31711debfc3dSmrg# autoupdate runs m4.  It simply calls m4_warning, but
31721debfc3dSmrg# we need a wrapper so that each warning is emitted only
31731debfc3dSmrg# once.  We break the quoting in m4_warning's argument in
31741debfc3dSmrg# order to expand this macro's arguments, not AU_DEFUN's.
31751debfc3dSmrg
31761debfc3dSmrg
31771debfc3dSmrg# Finally, this is the expansion that is picked up by
31781debfc3dSmrg# autoconf.  It tells the user to run autoupdate, and
31791debfc3dSmrg# then outputs the replacement expansion.  We do not care
31801debfc3dSmrg# about autoupdate's warning because that contains
31811debfc3dSmrg# information on what to do *after* running autoupdate.
31821debfc3dSmrg
31831debfc3dSmrg
31841debfc3dSmrg
31851debfc3dSmrg# _LT_CHECK_SHELL_FEATURES
31861debfc3dSmrg# ------------------------
31871debfc3dSmrg# Find out whether the shell is Bourne or XSI compatible,
31881debfc3dSmrg# or has some other useful features.
31891debfc3dSmrg# _LT_CHECK_SHELL_FEATURES
31901debfc3dSmrg
31911debfc3dSmrg
31921debfc3dSmrg# _LT_PROG_XSI_SHELLFNS
31931debfc3dSmrg# ---------------------
31941debfc3dSmrg# Bourne and XSI compatible variants of some useful shell functions.
31951debfc3dSmrg
31961debfc3dSmrg
31971debfc3dSmrg# Make sure we can run config.sub.
31981debfc3dSmrg$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3199*c0a68be4Smrg  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
32001debfc3dSmrg
32011debfc3dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
32021debfc3dSmrg$as_echo_n "checking build system type... " >&6; }
3203*c0a68be4Smrgif ${ac_cv_build+:} false; then :
32041debfc3dSmrg  $as_echo_n "(cached) " >&6
32051debfc3dSmrgelse
32061debfc3dSmrg  ac_build_alias=$build_alias
32071debfc3dSmrgtest "x$ac_build_alias" = x &&
32081debfc3dSmrg  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
32091debfc3dSmrgtest "x$ac_build_alias" = x &&
3210*c0a68be4Smrg  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
32111debfc3dSmrgac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3212*c0a68be4Smrg  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
32131debfc3dSmrg
32141debfc3dSmrgfi
32151debfc3dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
32161debfc3dSmrg$as_echo "$ac_cv_build" >&6; }
32171debfc3dSmrgcase $ac_cv_build in
32181debfc3dSmrg*-*-*) ;;
3219*c0a68be4Smrg*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
32201debfc3dSmrgesac
32211debfc3dSmrgbuild=$ac_cv_build
32221debfc3dSmrgac_save_IFS=$IFS; IFS='-'
32231debfc3dSmrgset x $ac_cv_build
32241debfc3dSmrgshift
32251debfc3dSmrgbuild_cpu=$1
32261debfc3dSmrgbuild_vendor=$2
32271debfc3dSmrgshift; shift
32281debfc3dSmrg# Remember, the first character of IFS is used to create $*,
32291debfc3dSmrg# except with old shells:
32301debfc3dSmrgbuild_os=$*
32311debfc3dSmrgIFS=$ac_save_IFS
32321debfc3dSmrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
32331debfc3dSmrg
32341debfc3dSmrg
32351debfc3dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
32361debfc3dSmrg$as_echo_n "checking host system type... " >&6; }
3237*c0a68be4Smrgif ${ac_cv_host+:} false; then :
32381debfc3dSmrg  $as_echo_n "(cached) " >&6
32391debfc3dSmrgelse
32401debfc3dSmrg  if test "x$host_alias" = x; then
32411debfc3dSmrg  ac_cv_host=$ac_cv_build
32421debfc3dSmrgelse
32431debfc3dSmrg  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3244*c0a68be4Smrg    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
32451debfc3dSmrgfi
32461debfc3dSmrg
32471debfc3dSmrgfi
32481debfc3dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
32491debfc3dSmrg$as_echo "$ac_cv_host" >&6; }
32501debfc3dSmrgcase $ac_cv_host in
32511debfc3dSmrg*-*-*) ;;
3252*c0a68be4Smrg*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
32531debfc3dSmrgesac
32541debfc3dSmrghost=$ac_cv_host
32551debfc3dSmrgac_save_IFS=$IFS; IFS='-'
32561debfc3dSmrgset x $ac_cv_host
32571debfc3dSmrgshift
32581debfc3dSmrghost_cpu=$1
32591debfc3dSmrghost_vendor=$2
32601debfc3dSmrgshift; shift
32611debfc3dSmrg# Remember, the first character of IFS is used to create $*,
32621debfc3dSmrg# except with old shells:
32631debfc3dSmrghost_os=$*
32641debfc3dSmrgIFS=$ac_save_IFS
32651debfc3dSmrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
32661debfc3dSmrg
32671debfc3dSmrg
32681debfc3dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
32691debfc3dSmrg$as_echo_n "checking target system type... " >&6; }
3270*c0a68be4Smrgif ${ac_cv_target+:} false; then :
32711debfc3dSmrg  $as_echo_n "(cached) " >&6
32721debfc3dSmrgelse
32731debfc3dSmrg  if test "x$target_alias" = x; then
32741debfc3dSmrg  ac_cv_target=$ac_cv_host
32751debfc3dSmrgelse
32761debfc3dSmrg  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3277*c0a68be4Smrg    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
32781debfc3dSmrgfi
32791debfc3dSmrg
32801debfc3dSmrgfi
32811debfc3dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
32821debfc3dSmrg$as_echo "$ac_cv_target" >&6; }
32831debfc3dSmrgcase $ac_cv_target in
32841debfc3dSmrg*-*-*) ;;
3285*c0a68be4Smrg*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
32861debfc3dSmrgesac
32871debfc3dSmrgtarget=$ac_cv_target
32881debfc3dSmrgac_save_IFS=$IFS; IFS='-'
32891debfc3dSmrgset x $ac_cv_target
32901debfc3dSmrgshift
32911debfc3dSmrgtarget_cpu=$1
32921debfc3dSmrgtarget_vendor=$2
32931debfc3dSmrgshift; shift
32941debfc3dSmrg# Remember, the first character of IFS is used to create $*,
32951debfc3dSmrg# except with old shells:
32961debfc3dSmrgtarget_os=$*
32971debfc3dSmrgIFS=$ac_save_IFS
32981debfc3dSmrgcase $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
32991debfc3dSmrg
33001debfc3dSmrg
33011debfc3dSmrg# The aliases save the names the user supplied, while $host etc.
33021debfc3dSmrg# will get canonicalized.
33031debfc3dSmrgtest -n "$target_alias" &&
33041debfc3dSmrg  test "$program_prefix$program_suffix$program_transform_name" = \
33051debfc3dSmrg    NONENONEs,x,x, &&
33061debfc3dSmrg  program_prefix=${target_alias}-
33071debfc3dSmrg
33081debfc3dSmrgac_ext=c
33091debfc3dSmrgac_cpp='$CPP $CPPFLAGS'
33101debfc3dSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33111debfc3dSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33121debfc3dSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu
33131debfc3dSmrgif test -n "$ac_tool_prefix"; then
33141debfc3dSmrg  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
33151debfc3dSmrgset dummy ${ac_tool_prefix}gcc; ac_word=$2
33161debfc3dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33171debfc3dSmrg$as_echo_n "checking for $ac_word... " >&6; }
3318*c0a68be4Smrgif ${ac_cv_prog_CC+:} false; then :
33191debfc3dSmrg  $as_echo_n "(cached) " >&6
33201debfc3dSmrgelse
33211debfc3dSmrg  if test -n "$CC"; then
33221debfc3dSmrg  ac_cv_prog_CC="$CC" # Let the user override the test.
33231debfc3dSmrgelse
33241debfc3dSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33251debfc3dSmrgfor as_dir in $PATH
33261debfc3dSmrgdo
33271debfc3dSmrg  IFS=$as_save_IFS
33281debfc3dSmrg  test -z "$as_dir" && as_dir=.
33291debfc3dSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
3330*c0a68be4Smrg  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33311debfc3dSmrg    ac_cv_prog_CC="${ac_tool_prefix}gcc"
33321debfc3dSmrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33331debfc3dSmrg    break 2
33341debfc3dSmrg  fi
33351debfc3dSmrgdone
33361debfc3dSmrg  done
33371debfc3dSmrgIFS=$as_save_IFS
33381debfc3dSmrg
33391debfc3dSmrgfi
33401debfc3dSmrgfi
33411debfc3dSmrgCC=$ac_cv_prog_CC
33421debfc3dSmrgif test -n "$CC"; then
33431debfc3dSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
33441debfc3dSmrg$as_echo "$CC" >&6; }
33451debfc3dSmrgelse
33461debfc3dSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33471debfc3dSmrg$as_echo "no" >&6; }
33481debfc3dSmrgfi
33491debfc3dSmrg
33501debfc3dSmrg
33511debfc3dSmrgfi
33521debfc3dSmrgif test -z "$ac_cv_prog_CC"; then
33531debfc3dSmrg  ac_ct_CC=$CC
33541debfc3dSmrg  # Extract the first word of "gcc", so it can be a program name with args.
33551debfc3dSmrgset dummy gcc; ac_word=$2
33561debfc3dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33571debfc3dSmrg$as_echo_n "checking for $ac_word... " >&6; }
3358*c0a68be4Smrgif ${ac_cv_prog_ac_ct_CC+:} false; then :
33591debfc3dSmrg  $as_echo_n "(cached) " >&6
33601debfc3dSmrgelse
33611debfc3dSmrg  if test -n "$ac_ct_CC"; then
33621debfc3dSmrg  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
33631debfc3dSmrgelse
33641debfc3dSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33651debfc3dSmrgfor as_dir in $PATH
33661debfc3dSmrgdo
33671debfc3dSmrg  IFS=$as_save_IFS
33681debfc3dSmrg  test -z "$as_dir" && as_dir=.
33691debfc3dSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
3370*c0a68be4Smrg  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33711debfc3dSmrg    ac_cv_prog_ac_ct_CC="gcc"
33721debfc3dSmrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33731debfc3dSmrg    break 2
33741debfc3dSmrg  fi
33751debfc3dSmrgdone
33761debfc3dSmrg  done
33771debfc3dSmrgIFS=$as_save_IFS
33781debfc3dSmrg
33791debfc3dSmrgfi
33801debfc3dSmrgfi
33811debfc3dSmrgac_ct_CC=$ac_cv_prog_ac_ct_CC
33821debfc3dSmrgif test -n "$ac_ct_CC"; then
33831debfc3dSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
33841debfc3dSmrg$as_echo "$ac_ct_CC" >&6; }
33851debfc3dSmrgelse
33861debfc3dSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33871debfc3dSmrg$as_echo "no" >&6; }
33881debfc3dSmrgfi
33891debfc3dSmrg
33901debfc3dSmrg  if test "x$ac_ct_CC" = x; then
33911debfc3dSmrg    CC=""
33921debfc3dSmrg  else
33931debfc3dSmrg    case $cross_compiling:$ac_tool_warned in
33941debfc3dSmrgyes:)
33951debfc3dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
33961debfc3dSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
33971debfc3dSmrgac_tool_warned=yes ;;
33981debfc3dSmrgesac
33991debfc3dSmrg    CC=$ac_ct_CC
34001debfc3dSmrg  fi
34011debfc3dSmrgelse
34021debfc3dSmrg  CC="$ac_cv_prog_CC"
34031debfc3dSmrgfi
34041debfc3dSmrg
34051debfc3dSmrgif test -z "$CC"; then
34061debfc3dSmrg          if test -n "$ac_tool_prefix"; then
34071debfc3dSmrg    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
34081debfc3dSmrgset dummy ${ac_tool_prefix}cc; ac_word=$2
34091debfc3dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
34101debfc3dSmrg$as_echo_n "checking for $ac_word... " >&6; }
3411*c0a68be4Smrgif ${ac_cv_prog_CC+:} false; then :
34121debfc3dSmrg  $as_echo_n "(cached) " >&6
34131debfc3dSmrgelse
34141debfc3dSmrg  if test -n "$CC"; then
34151debfc3dSmrg  ac_cv_prog_CC="$CC" # Let the user override the test.
34161debfc3dSmrgelse
34171debfc3dSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34181debfc3dSmrgfor as_dir in $PATH
34191debfc3dSmrgdo
34201debfc3dSmrg  IFS=$as_save_IFS
34211debfc3dSmrg  test -z "$as_dir" && as_dir=.
34221debfc3dSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
3423*c0a68be4Smrg  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34241debfc3dSmrg    ac_cv_prog_CC="${ac_tool_prefix}cc"
34251debfc3dSmrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
34261debfc3dSmrg    break 2
34271debfc3dSmrg  fi
34281debfc3dSmrgdone
34291debfc3dSmrg  done
34301debfc3dSmrgIFS=$as_save_IFS
34311debfc3dSmrg
34321debfc3dSmrgfi
34331debfc3dSmrgfi
34341debfc3dSmrgCC=$ac_cv_prog_CC
34351debfc3dSmrgif test -n "$CC"; then
34361debfc3dSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
34371debfc3dSmrg$as_echo "$CC" >&6; }
34381debfc3dSmrgelse
34391debfc3dSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34401debfc3dSmrg$as_echo "no" >&6; }
34411debfc3dSmrgfi
34421debfc3dSmrg
34431debfc3dSmrg
34441debfc3dSmrg  fi
34451debfc3dSmrgfi
34461debfc3dSmrgif test -z "$CC"; then
34471debfc3dSmrg  # Extract the first word of "cc", so it can be a program name with args.
34481debfc3dSmrgset dummy cc; ac_word=$2
34491debfc3dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
34501debfc3dSmrg$as_echo_n "checking for $ac_word... " >&6; }
3451*c0a68be4Smrgif ${ac_cv_prog_CC+:} false; then :
34521debfc3dSmrg  $as_echo_n "(cached) " >&6
34531debfc3dSmrgelse
34541debfc3dSmrg  if test -n "$CC"; then
34551debfc3dSmrg  ac_cv_prog_CC="$CC" # Let the user override the test.
34561debfc3dSmrgelse
34571debfc3dSmrg  ac_prog_rejected=no
34581debfc3dSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34591debfc3dSmrgfor as_dir in $PATH
34601debfc3dSmrgdo
34611debfc3dSmrg  IFS=$as_save_IFS
34621debfc3dSmrg  test -z "$as_dir" && as_dir=.
34631debfc3dSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
3464*c0a68be4Smrg  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34651debfc3dSmrg    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
34661debfc3dSmrg       ac_prog_rejected=yes
34671debfc3dSmrg       continue
34681debfc3dSmrg     fi
34691debfc3dSmrg    ac_cv_prog_CC="cc"
34701debfc3dSmrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
34711debfc3dSmrg    break 2
34721debfc3dSmrg  fi
34731debfc3dSmrgdone
34741debfc3dSmrg  done
34751debfc3dSmrgIFS=$as_save_IFS
34761debfc3dSmrg
34771debfc3dSmrgif test $ac_prog_rejected = yes; then
34781debfc3dSmrg  # We found a bogon in the path, so make sure we never use it.
34791debfc3dSmrg  set dummy $ac_cv_prog_CC
34801debfc3dSmrg  shift
34811debfc3dSmrg  if test $# != 0; then
34821debfc3dSmrg    # We chose a different compiler from the bogus one.
34831debfc3dSmrg    # However, it has the same basename, so the bogon will be chosen
34841debfc3dSmrg    # first if we set CC to just the basename; use the full file name.
34851debfc3dSmrg    shift
34861debfc3dSmrg    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
34871debfc3dSmrg  fi
34881debfc3dSmrgfi
34891debfc3dSmrgfi
34901debfc3dSmrgfi
34911debfc3dSmrgCC=$ac_cv_prog_CC
34921debfc3dSmrgif test -n "$CC"; then
34931debfc3dSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
34941debfc3dSmrg$as_echo "$CC" >&6; }
34951debfc3dSmrgelse
34961debfc3dSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34971debfc3dSmrg$as_echo "no" >&6; }
34981debfc3dSmrgfi
34991debfc3dSmrg
35001debfc3dSmrg
35011debfc3dSmrgfi
35021debfc3dSmrgif test -z "$CC"; then
35031debfc3dSmrg  if test -n "$ac_tool_prefix"; then
35041debfc3dSmrg  for ac_prog in cl.exe
35051debfc3dSmrg  do
35061debfc3dSmrg    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
35071debfc3dSmrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2
35081debfc3dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
35091debfc3dSmrg$as_echo_n "checking for $ac_word... " >&6; }
3510*c0a68be4Smrgif ${ac_cv_prog_CC+:} false; then :
35111debfc3dSmrg  $as_echo_n "(cached) " >&6
35121debfc3dSmrgelse
35131debfc3dSmrg  if test -n "$CC"; then
35141debfc3dSmrg  ac_cv_prog_CC="$CC" # Let the user override the test.
35151debfc3dSmrgelse
35161debfc3dSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35171debfc3dSmrgfor as_dir in $PATH
35181debfc3dSmrgdo
35191debfc3dSmrg  IFS=$as_save_IFS
35201debfc3dSmrg  test -z "$as_dir" && as_dir=.
35211debfc3dSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
3522*c0a68be4Smrg  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35231debfc3dSmrg    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
35241debfc3dSmrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
35251debfc3dSmrg    break 2
35261debfc3dSmrg  fi
35271debfc3dSmrgdone
35281debfc3dSmrg  done
35291debfc3dSmrgIFS=$as_save_IFS
35301debfc3dSmrg
35311debfc3dSmrgfi
35321debfc3dSmrgfi
35331debfc3dSmrgCC=$ac_cv_prog_CC
35341debfc3dSmrgif test -n "$CC"; then
35351debfc3dSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
35361debfc3dSmrg$as_echo "$CC" >&6; }
35371debfc3dSmrgelse
35381debfc3dSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35391debfc3dSmrg$as_echo "no" >&6; }
35401debfc3dSmrgfi
35411debfc3dSmrg
35421debfc3dSmrg
35431debfc3dSmrg    test -n "$CC" && break
35441debfc3dSmrg  done
35451debfc3dSmrgfi
35461debfc3dSmrgif test -z "$CC"; then
35471debfc3dSmrg  ac_ct_CC=$CC
35481debfc3dSmrg  for ac_prog in cl.exe
35491debfc3dSmrgdo
35501debfc3dSmrg  # Extract the first word of "$ac_prog", so it can be a program name with args.
35511debfc3dSmrgset dummy $ac_prog; ac_word=$2
35521debfc3dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
35531debfc3dSmrg$as_echo_n "checking for $ac_word... " >&6; }
3554*c0a68be4Smrgif ${ac_cv_prog_ac_ct_CC+:} false; then :
35551debfc3dSmrg  $as_echo_n "(cached) " >&6
35561debfc3dSmrgelse
35571debfc3dSmrg  if test -n "$ac_ct_CC"; then
35581debfc3dSmrg  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
35591debfc3dSmrgelse
35601debfc3dSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35611debfc3dSmrgfor as_dir in $PATH
35621debfc3dSmrgdo
35631debfc3dSmrg  IFS=$as_save_IFS
35641debfc3dSmrg  test -z "$as_dir" && as_dir=.
35651debfc3dSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
3566*c0a68be4Smrg  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35671debfc3dSmrg    ac_cv_prog_ac_ct_CC="$ac_prog"
35681debfc3dSmrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
35691debfc3dSmrg    break 2
35701debfc3dSmrg  fi
35711debfc3dSmrgdone
35721debfc3dSmrg  done
35731debfc3dSmrgIFS=$as_save_IFS
35741debfc3dSmrg
35751debfc3dSmrgfi
35761debfc3dSmrgfi
35771debfc3dSmrgac_ct_CC=$ac_cv_prog_ac_ct_CC
35781debfc3dSmrgif test -n "$ac_ct_CC"; then
35791debfc3dSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
35801debfc3dSmrg$as_echo "$ac_ct_CC" >&6; }
35811debfc3dSmrgelse
35821debfc3dSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35831debfc3dSmrg$as_echo "no" >&6; }
35841debfc3dSmrgfi
35851debfc3dSmrg
35861debfc3dSmrg
35871debfc3dSmrg  test -n "$ac_ct_CC" && break
35881debfc3dSmrgdone
35891debfc3dSmrg
35901debfc3dSmrg  if test "x$ac_ct_CC" = x; then
35911debfc3dSmrg    CC=""
35921debfc3dSmrg  else
35931debfc3dSmrg    case $cross_compiling:$ac_tool_warned in
35941debfc3dSmrgyes:)
35951debfc3dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
35961debfc3dSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
35971debfc3dSmrgac_tool_warned=yes ;;
35981debfc3dSmrgesac
35991debfc3dSmrg    CC=$ac_ct_CC
36001debfc3dSmrg  fi
36011debfc3dSmrgfi
36021debfc3dSmrg
36031debfc3dSmrgfi
36041debfc3dSmrg
36051debfc3dSmrg
36061debfc3dSmrgtest -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
36071debfc3dSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3608*c0a68be4Smrgas_fn_error $? "no acceptable C compiler found in \$PATH
3609*c0a68be4SmrgSee \`config.log' for more details" "$LINENO" 5; }
36101debfc3dSmrg
36111debfc3dSmrg# Provide some information about the compiler.
36121debfc3dSmrg$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
36131debfc3dSmrgset X $ac_compile
36141debfc3dSmrgac_compiler=$2
36151debfc3dSmrgfor ac_option in --version -v -V -qversion; do
36161debfc3dSmrg  { { ac_try="$ac_compiler $ac_option >&5"
36171debfc3dSmrgcase "(($ac_try" in
36181debfc3dSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36191debfc3dSmrg  *) ac_try_echo=$ac_try;;
36201debfc3dSmrgesac
36211debfc3dSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
36221debfc3dSmrg$as_echo "$ac_try_echo"; } >&5
36231debfc3dSmrg  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
36241debfc3dSmrg  ac_status=$?
36251debfc3dSmrg  if test -s conftest.err; then
36261debfc3dSmrg    sed '10a\
36271debfc3dSmrg... rest of stderr output deleted ...
36281debfc3dSmrg         10q' conftest.err >conftest.er1
36291debfc3dSmrg    cat conftest.er1 >&5
36301debfc3dSmrg  fi
3631*c0a68be4Smrg  rm -f conftest.er1 conftest.err
36321debfc3dSmrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36331debfc3dSmrg  test $ac_status = 0; }
36341debfc3dSmrgdone
36351debfc3dSmrg
36361debfc3dSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext
36371debfc3dSmrg/* end confdefs.h.  */
36381debfc3dSmrg
36391debfc3dSmrgint
36401debfc3dSmrgmain ()
36411debfc3dSmrg{
36421debfc3dSmrg
36431debfc3dSmrg  ;
36441debfc3dSmrg  return 0;
36451debfc3dSmrg}
36461debfc3dSmrg_ACEOF
36471debfc3dSmrgac_clean_files_save=$ac_clean_files
3648*c0a68be4Smrgac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
36491debfc3dSmrg# Try to create an executable without -o first, disregard a.out.
36501debfc3dSmrg# It will help us diagnose broken compilers, and finding out an intuition
36511debfc3dSmrg# of exeext.
3652*c0a68be4Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3653*c0a68be4Smrg$as_echo_n "checking whether the C compiler works... " >&6; }
36541debfc3dSmrgac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
36551debfc3dSmrg
36561debfc3dSmrg# The possible output files:
36571debfc3dSmrgac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
36581debfc3dSmrg
36591debfc3dSmrgac_rmfiles=
36601debfc3dSmrgfor ac_file in $ac_files
36611debfc3dSmrgdo
36621debfc3dSmrg  case $ac_file in
36631debfc3dSmrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
36641debfc3dSmrg    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
36651debfc3dSmrg  esac
36661debfc3dSmrgdone
36671debfc3dSmrgrm -f $ac_rmfiles
36681debfc3dSmrg
36691debfc3dSmrgif { { ac_try="$ac_link_default"
36701debfc3dSmrgcase "(($ac_try" in
36711debfc3dSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36721debfc3dSmrg  *) ac_try_echo=$ac_try;;
36731debfc3dSmrgesac
36741debfc3dSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
36751debfc3dSmrg$as_echo "$ac_try_echo"; } >&5
36761debfc3dSmrg  (eval "$ac_link_default") 2>&5
36771debfc3dSmrg  ac_status=$?
36781debfc3dSmrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36791debfc3dSmrg  test $ac_status = 0; }; then :
36801debfc3dSmrg  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
36811debfc3dSmrg# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
36821debfc3dSmrg# in a Makefile.  We should not override ac_cv_exeext if it was cached,
36831debfc3dSmrg# so that the user can short-circuit this test for compilers unknown to
36841debfc3dSmrg# Autoconf.
36851debfc3dSmrgfor ac_file in $ac_files ''
36861debfc3dSmrgdo
36871debfc3dSmrg  test -f "$ac_file" || continue
36881debfc3dSmrg  case $ac_file in
36891debfc3dSmrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
36901debfc3dSmrg	;;
36911debfc3dSmrg    [ab].out )
36921debfc3dSmrg	# We found the default executable, but exeext='' is most
36931debfc3dSmrg	# certainly right.
36941debfc3dSmrg	break;;
36951debfc3dSmrg    *.* )
36961debfc3dSmrg	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
36971debfc3dSmrg	then :; else
36981debfc3dSmrg	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
36991debfc3dSmrg	fi
37001debfc3dSmrg	# We set ac_cv_exeext here because the later test for it is not
37011debfc3dSmrg	# safe: cross compilers may not add the suffix if given an `-o'
37021debfc3dSmrg	# argument, so we may need to know it at that point already.
37031debfc3dSmrg	# Even if this section looks crufty: it has the advantage of
37041debfc3dSmrg	# actually working.
37051debfc3dSmrg	break;;
37061debfc3dSmrg    * )
37071debfc3dSmrg	break;;
37081debfc3dSmrg  esac
37091debfc3dSmrgdone
37101debfc3dSmrgtest "$ac_cv_exeext" = no && ac_cv_exeext=
37111debfc3dSmrg
37121debfc3dSmrgelse
37131debfc3dSmrg  ac_file=''
37141debfc3dSmrgfi
37151debfc3dSmrgif test -z "$ac_file"; then :
3716*c0a68be4Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3717*c0a68be4Smrg$as_echo "no" >&6; }
37181debfc3dSmrg$as_echo "$as_me: failed program was:" >&5
37191debfc3dSmrgsed 's/^/| /' conftest.$ac_ext >&5
37201debfc3dSmrg
37211debfc3dSmrg{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
37221debfc3dSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3723*c0a68be4Smrgas_fn_error 77 "C compiler cannot create executables
3724*c0a68be4SmrgSee \`config.log' for more details" "$LINENO" 5; }
37251debfc3dSmrgelse
37261debfc3dSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37271debfc3dSmrg$as_echo "yes" >&6; }
3728*c0a68be4Smrgfi
3729*c0a68be4Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3730*c0a68be4Smrg$as_echo_n "checking for C compiler default output file name... " >&6; }
3731*c0a68be4Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3732*c0a68be4Smrg$as_echo "$ac_file" >&6; }
3733*c0a68be4Smrgac_exeext=$ac_cv_exeext
37341debfc3dSmrg
3735*c0a68be4Smrgrm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
37361debfc3dSmrgac_clean_files=$ac_clean_files_save
37371debfc3dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
37381debfc3dSmrg$as_echo_n "checking for suffix of executables... " >&6; }
37391debfc3dSmrgif { { ac_try="$ac_link"
37401debfc3dSmrgcase "(($ac_try" in
37411debfc3dSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37421debfc3dSmrg  *) ac_try_echo=$ac_try;;
37431debfc3dSmrgesac
37441debfc3dSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
37451debfc3dSmrg$as_echo "$ac_try_echo"; } >&5
37461debfc3dSmrg  (eval "$ac_link") 2>&5
37471debfc3dSmrg  ac_status=$?
37481debfc3dSmrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37491debfc3dSmrg  test $ac_status = 0; }; then :
37501debfc3dSmrg  # If both `conftest.exe' and `conftest' are `present' (well, observable)
37511debfc3dSmrg# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
37521debfc3dSmrg# work properly (i.e., refer to `conftest.exe'), while it won't with
37531debfc3dSmrg# `rm'.
37541debfc3dSmrgfor ac_file in conftest.exe conftest conftest.*; do
37551debfc3dSmrg  test -f "$ac_file" || continue
37561debfc3dSmrg  case $ac_file in
37571debfc3dSmrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
37581debfc3dSmrg    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
37591debfc3dSmrg	  break;;
37601debfc3dSmrg    * ) break;;
37611debfc3dSmrg  esac
37621debfc3dSmrgdone
37631debfc3dSmrgelse
37641debfc3dSmrg  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
37651debfc3dSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3766*c0a68be4Smrgas_fn_error $? "cannot compute suffix of executables: cannot compile and link
3767*c0a68be4SmrgSee \`config.log' for more details" "$LINENO" 5; }
37681debfc3dSmrgfi
3769*c0a68be4Smrgrm -f conftest conftest$ac_cv_exeext
37701debfc3dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
37711debfc3dSmrg$as_echo "$ac_cv_exeext" >&6; }
37721debfc3dSmrg
37731debfc3dSmrgrm -f conftest.$ac_ext
37741debfc3dSmrgEXEEXT=$ac_cv_exeext
37751debfc3dSmrgac_exeext=$EXEEXT
3776*c0a68be4Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext
3777*c0a68be4Smrg/* end confdefs.h.  */
3778*c0a68be4Smrg#include <stdio.h>
3779*c0a68be4Smrgint
3780*c0a68be4Smrgmain ()
3781*c0a68be4Smrg{
3782*c0a68be4SmrgFILE *f = fopen ("conftest.out", "w");
3783*c0a68be4Smrg return ferror (f) || fclose (f) != 0;
3784*c0a68be4Smrg
3785*c0a68be4Smrg  ;
3786*c0a68be4Smrg  return 0;
3787*c0a68be4Smrg}
3788*c0a68be4Smrg_ACEOF
3789*c0a68be4Smrgac_clean_files="$ac_clean_files conftest.out"
3790*c0a68be4Smrg# Check that the compiler produces executables we can run.  If not, either
3791*c0a68be4Smrg# the compiler is broken, or we cross compile.
3792*c0a68be4Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3793*c0a68be4Smrg$as_echo_n "checking whether we are cross compiling... " >&6; }
3794*c0a68be4Smrgif test "$cross_compiling" != yes; then
3795*c0a68be4Smrg  { { ac_try="$ac_link"
3796*c0a68be4Smrgcase "(($ac_try" in
3797*c0a68be4Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3798*c0a68be4Smrg  *) ac_try_echo=$ac_try;;
3799*c0a68be4Smrgesac
3800*c0a68be4Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3801*c0a68be4Smrg$as_echo "$ac_try_echo"; } >&5
3802*c0a68be4Smrg  (eval "$ac_link") 2>&5
3803*c0a68be4Smrg  ac_status=$?
3804*c0a68be4Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3805*c0a68be4Smrg  test $ac_status = 0; }
3806*c0a68be4Smrg  if { ac_try='./conftest$ac_cv_exeext'
3807*c0a68be4Smrg  { { case "(($ac_try" in
3808*c0a68be4Smrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3809*c0a68be4Smrg  *) ac_try_echo=$ac_try;;
3810*c0a68be4Smrgesac
3811*c0a68be4Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3812*c0a68be4Smrg$as_echo "$ac_try_echo"; } >&5
3813*c0a68be4Smrg  (eval "$ac_try") 2>&5
3814*c0a68be4Smrg  ac_status=$?
3815*c0a68be4Smrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3816*c0a68be4Smrg  test $ac_status = 0; }; }; then
3817*c0a68be4Smrg    cross_compiling=no
3818*c0a68be4Smrg  else
3819*c0a68be4Smrg    if test "$cross_compiling" = maybe; then
3820*c0a68be4Smrg	cross_compiling=yes
3821*c0a68be4Smrg    else
3822*c0a68be4Smrg	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3823*c0a68be4Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3824*c0a68be4Smrgas_fn_error $? "cannot run C compiled programs.
3825*c0a68be4SmrgIf you meant to cross compile, use \`--host'.
3826*c0a68be4SmrgSee \`config.log' for more details" "$LINENO" 5; }
3827*c0a68be4Smrg    fi
3828*c0a68be4Smrg  fi
3829*c0a68be4Smrgfi
3830*c0a68be4Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3831*c0a68be4Smrg$as_echo "$cross_compiling" >&6; }
3832*c0a68be4Smrg
3833*c0a68be4Smrgrm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3834*c0a68be4Smrgac_clean_files=$ac_clean_files_save
38351debfc3dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
38361debfc3dSmrg$as_echo_n "checking for suffix of object files... " >&6; }
3837*c0a68be4Smrgif ${ac_cv_objext+:} false; then :
38381debfc3dSmrg  $as_echo_n "(cached) " >&6
38391debfc3dSmrgelse
38401debfc3dSmrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38411debfc3dSmrg/* end confdefs.h.  */
38421debfc3dSmrg
38431debfc3dSmrgint
38441debfc3dSmrgmain ()
38451debfc3dSmrg{
38461debfc3dSmrg
38471debfc3dSmrg  ;
38481debfc3dSmrg  return 0;
38491debfc3dSmrg}
38501debfc3dSmrg_ACEOF
38511debfc3dSmrgrm -f conftest.o conftest.obj
38521debfc3dSmrgif { { ac_try="$ac_compile"
38531debfc3dSmrgcase "(($ac_try" in
38541debfc3dSmrg  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38551debfc3dSmrg  *) ac_try_echo=$ac_try;;
38561debfc3dSmrgesac
38571debfc3dSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
38581debfc3dSmrg$as_echo "$ac_try_echo"; } >&5
38591debfc3dSmrg  (eval "$ac_compile") 2>&5
38601debfc3dSmrg  ac_status=$?
38611debfc3dSmrg  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
38621debfc3dSmrg  test $ac_status = 0; }; then :
38631debfc3dSmrg  for ac_file in conftest.o conftest.obj conftest.*; do
38641debfc3dSmrg  test -f "$ac_file" || continue;
38651debfc3dSmrg  case $ac_file in
38661debfc3dSmrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
38671debfc3dSmrg    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
38681debfc3dSmrg       break;;
38691debfc3dSmrg  esac
38701debfc3dSmrgdone
38711debfc3dSmrgelse
38721debfc3dSmrg  $as_echo "$as_me: failed program was:" >&5
38731debfc3dSmrgsed 's/^/| /' conftest.$ac_ext >&5
38741debfc3dSmrg
38751debfc3dSmrg{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
38761debfc3dSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3877*c0a68be4Smrgas_fn_error $? "cannot compute suffix of object files: cannot compile
3878*c0a68be4SmrgSee \`config.log' for more details" "$LINENO" 5; }
38791debfc3dSmrgfi
38801debfc3dSmrgrm -f conftest.$ac_cv_objext conftest.$ac_ext
38811debfc3dSmrgfi
38821debfc3dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
38831debfc3dSmrg$as_echo "$ac_cv_objext" >&6; }
38841debfc3dSmrgOBJEXT=$ac_cv_objext
38851debfc3dSmrgac_objext=$OBJEXT
38861debfc3dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
38871debfc3dSmrg$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3888*c0a68be4Smrgif ${ac_cv_c_compiler_gnu+:} false; then :
38891debfc3dSmrg  $as_echo_n "(cached) " >&6
38901debfc3dSmrgelse
38911debfc3dSmrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38921debfc3dSmrg/* end confdefs.h.  */
38931debfc3dSmrg
38941debfc3dSmrgint
38951debfc3dSmrgmain ()
38961debfc3dSmrg{
38971debfc3dSmrg#ifndef __GNUC__
38981debfc3dSmrg       choke me
38991debfc3dSmrg#endif
39001debfc3dSmrg
39011debfc3dSmrg  ;
39021debfc3dSmrg  return 0;
39031debfc3dSmrg}
39041debfc3dSmrg_ACEOF
39051debfc3dSmrgif ac_fn_c_try_compile "$LINENO"; then :
39061debfc3dSmrg  ac_compiler_gnu=yes
39071debfc3dSmrgelse
39081debfc3dSmrg  ac_compiler_gnu=no
39091debfc3dSmrgfi
39101debfc3dSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39111debfc3dSmrgac_cv_c_compiler_gnu=$ac_compiler_gnu
39121debfc3dSmrg
39131debfc3dSmrgfi
39141debfc3dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
39151debfc3dSmrg$as_echo "$ac_cv_c_compiler_gnu" >&6; }
39161debfc3dSmrgif test $ac_compiler_gnu = yes; then
39171debfc3dSmrg  GCC=yes
39181debfc3dSmrgelse
39191debfc3dSmrg  GCC=
39201debfc3dSmrgfi
39211debfc3dSmrgac_test_CFLAGS=${CFLAGS+set}
39221debfc3dSmrgac_save_CFLAGS=$CFLAGS
39231debfc3dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
39241debfc3dSmrg$as_echo_n "checking whether $CC accepts -g... " >&6; }
3925*c0a68be4Smrgif ${ac_cv_prog_cc_g+:} false; then :
39261debfc3dSmrg  $as_echo_n "(cached) " >&6
39271debfc3dSmrgelse
39281debfc3dSmrg  ac_save_c_werror_flag=$ac_c_werror_flag
39291debfc3dSmrg   ac_c_werror_flag=yes
39301debfc3dSmrg   ac_cv_prog_cc_g=no
39311debfc3dSmrg   CFLAGS="-g"
39321debfc3dSmrg   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39331debfc3dSmrg/* end confdefs.h.  */
39341debfc3dSmrg
39351debfc3dSmrgint
39361debfc3dSmrgmain ()
39371debfc3dSmrg{
39381debfc3dSmrg
39391debfc3dSmrg  ;
39401debfc3dSmrg  return 0;
39411debfc3dSmrg}
39421debfc3dSmrg_ACEOF
39431debfc3dSmrgif ac_fn_c_try_compile "$LINENO"; then :
39441debfc3dSmrg  ac_cv_prog_cc_g=yes
39451debfc3dSmrgelse
39461debfc3dSmrg  CFLAGS=""
39471debfc3dSmrg      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39481debfc3dSmrg/* end confdefs.h.  */
39491debfc3dSmrg
39501debfc3dSmrgint
39511debfc3dSmrgmain ()
39521debfc3dSmrg{
39531debfc3dSmrg
39541debfc3dSmrg  ;
39551debfc3dSmrg  return 0;
39561debfc3dSmrg}
39571debfc3dSmrg_ACEOF
39581debfc3dSmrgif ac_fn_c_try_compile "$LINENO"; then :
39591debfc3dSmrg
39601debfc3dSmrgelse
39611debfc3dSmrg  ac_c_werror_flag=$ac_save_c_werror_flag
39621debfc3dSmrg	 CFLAGS="-g"
39631debfc3dSmrg	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39641debfc3dSmrg/* end confdefs.h.  */
39651debfc3dSmrg
39661debfc3dSmrgint
39671debfc3dSmrgmain ()
39681debfc3dSmrg{
39691debfc3dSmrg
39701debfc3dSmrg  ;
39711debfc3dSmrg  return 0;
39721debfc3dSmrg}
39731debfc3dSmrg_ACEOF
39741debfc3dSmrgif ac_fn_c_try_compile "$LINENO"; then :
39751debfc3dSmrg  ac_cv_prog_cc_g=yes
39761debfc3dSmrgfi
39771debfc3dSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39781debfc3dSmrgfi
39791debfc3dSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39801debfc3dSmrgfi
39811debfc3dSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39821debfc3dSmrg   ac_c_werror_flag=$ac_save_c_werror_flag
39831debfc3dSmrgfi
39841debfc3dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
39851debfc3dSmrg$as_echo "$ac_cv_prog_cc_g" >&6; }
39861debfc3dSmrgif test "$ac_test_CFLAGS" = set; then
39871debfc3dSmrg  CFLAGS=$ac_save_CFLAGS
39881debfc3dSmrgelif test $ac_cv_prog_cc_g = yes; then
39891debfc3dSmrg  if test "$GCC" = yes; then
39901debfc3dSmrg    CFLAGS="-g -O2"
39911debfc3dSmrg  else
39921debfc3dSmrg    CFLAGS="-g"
39931debfc3dSmrg  fi
39941debfc3dSmrgelse
39951debfc3dSmrg  if test "$GCC" = yes; then
39961debfc3dSmrg    CFLAGS="-O2"
39971debfc3dSmrg  else
39981debfc3dSmrg    CFLAGS=
39991debfc3dSmrg  fi
40001debfc3dSmrgfi
40011debfc3dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
40021debfc3dSmrg$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4003*c0a68be4Smrgif ${ac_cv_prog_cc_c89+:} false; then :
40041debfc3dSmrg  $as_echo_n "(cached) " >&6
40051debfc3dSmrgelse
40061debfc3dSmrg  ac_cv_prog_cc_c89=no
40071debfc3dSmrgac_save_CC=$CC
40081debfc3dSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext
40091debfc3dSmrg/* end confdefs.h.  */
40101debfc3dSmrg#include <stdarg.h>
40111debfc3dSmrg#include <stdio.h>
4012*c0a68be4Smrgstruct stat;
40131debfc3dSmrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
40141debfc3dSmrgstruct buf { int x; };
40151debfc3dSmrgFILE * (*rcsopen) (struct buf *, struct stat *, int);
40161debfc3dSmrgstatic char *e (p, i)
40171debfc3dSmrg     char **p;
40181debfc3dSmrg     int i;
40191debfc3dSmrg{
40201debfc3dSmrg  return p[i];
40211debfc3dSmrg}
40221debfc3dSmrgstatic char *f (char * (*g) (char **, int), char **p, ...)
40231debfc3dSmrg{
40241debfc3dSmrg  char *s;
40251debfc3dSmrg  va_list v;
40261debfc3dSmrg  va_start (v,p);
40271debfc3dSmrg  s = g (p, va_arg (v,int));
40281debfc3dSmrg  va_end (v);
40291debfc3dSmrg  return s;
40301debfc3dSmrg}
40311debfc3dSmrg
40321debfc3dSmrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
40331debfc3dSmrg   function prototypes and stuff, but not '\xHH' hex character constants.
40341debfc3dSmrg   These don't provoke an error unfortunately, instead are silently treated
40351debfc3dSmrg   as 'x'.  The following induces an error, until -std is added to get
40361debfc3dSmrg   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
40371debfc3dSmrg   array size at least.  It's necessary to write '\x00'==0 to get something
40381debfc3dSmrg   that's true only with -std.  */
40391debfc3dSmrgint osf4_cc_array ['\x00' == 0 ? 1 : -1];
40401debfc3dSmrg
40411debfc3dSmrg/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
40421debfc3dSmrg   inside strings and character constants.  */
40431debfc3dSmrg#define FOO(x) 'x'
40441debfc3dSmrgint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
40451debfc3dSmrg
40461debfc3dSmrgint test (int i, double x);
40471debfc3dSmrgstruct s1 {int (*f) (int a);};
40481debfc3dSmrgstruct s2 {int (*f) (double a);};
40491debfc3dSmrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
40501debfc3dSmrgint argc;
40511debfc3dSmrgchar **argv;
40521debfc3dSmrgint
40531debfc3dSmrgmain ()
40541debfc3dSmrg{
40551debfc3dSmrgreturn f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
40561debfc3dSmrg  ;
40571debfc3dSmrg  return 0;
40581debfc3dSmrg}
40591debfc3dSmrg_ACEOF
40601debfc3dSmrgfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
40611debfc3dSmrg	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
40621debfc3dSmrgdo
40631debfc3dSmrg  CC="$ac_save_CC $ac_arg"
40641debfc3dSmrg  if ac_fn_c_try_compile "$LINENO"; then :
40651debfc3dSmrg  ac_cv_prog_cc_c89=$ac_arg
40661debfc3dSmrgfi
40671debfc3dSmrgrm -f core conftest.err conftest.$ac_objext
40681debfc3dSmrg  test "x$ac_cv_prog_cc_c89" != "xno" && break
40691debfc3dSmrgdone
40701debfc3dSmrgrm -f conftest.$ac_ext
40711debfc3dSmrgCC=$ac_save_CC
40721debfc3dSmrg
40731debfc3dSmrgfi
40741debfc3dSmrg# AC_CACHE_VAL
40751debfc3dSmrgcase "x$ac_cv_prog_cc_c89" in
40761debfc3dSmrg  x)
40771debfc3dSmrg    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
40781debfc3dSmrg$as_echo "none needed" >&6; } ;;
40791debfc3dSmrg  xno)
40801debfc3dSmrg    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
40811debfc3dSmrg$as_echo "unsupported" >&6; } ;;
40821debfc3dSmrg  *)
40831debfc3dSmrg    CC="$CC $ac_cv_prog_cc_c89"
40841debfc3dSmrg    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
40851debfc3dSmrg$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
40861debfc3dSmrgesac
40871debfc3dSmrgif test "x$ac_cv_prog_cc_c89" != xno; then :
40881debfc3dSmrg
40891debfc3dSmrgfi
40901debfc3dSmrg
40911debfc3dSmrgac_ext=c
40921debfc3dSmrgac_cpp='$CPP $CPPFLAGS'
40931debfc3dSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40941debfc3dSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40951debfc3dSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu
40961debfc3dSmrg
40971debfc3dSmrg
40981debfc3dSmrgac_ext=c
40991debfc3dSmrgac_cpp='$CPP $CPPFLAGS'
41001debfc3dSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41011debfc3dSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41021debfc3dSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu
41031debfc3dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
41041debfc3dSmrg$as_echo_n "checking how to run the C preprocessor... " >&6; }
41051debfc3dSmrg# On Suns, sometimes $CPP names a directory.
41061debfc3dSmrgif test -n "$CPP" && test -d "$CPP"; then
41071debfc3dSmrg  CPP=
41081debfc3dSmrgfi
41091debfc3dSmrgif test -z "$CPP"; then
4110*c0a68be4Smrg  if ${ac_cv_prog_CPP+:} false; then :
41111debfc3dSmrg  $as_echo_n "(cached) " >&6
41121debfc3dSmrgelse
41131debfc3dSmrg      # Double quotes because CPP needs to be expanded
41141debfc3dSmrg    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
41151debfc3dSmrg    do
41161debfc3dSmrg      ac_preproc_ok=false
41171debfc3dSmrgfor ac_c_preproc_warn_flag in '' yes
41181debfc3dSmrgdo
41191debfc3dSmrg  # Use a header file that comes with gcc, so configuring glibc
41201debfc3dSmrg  # with a fresh cross-compiler works.
41211debfc3dSmrg  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41221debfc3dSmrg  # <limits.h> exists even on freestanding compilers.
41231debfc3dSmrg  # On the NeXT, cc -E runs the code through the compiler's parser,
41241debfc3dSmrg  # not just through cpp. "Syntax error" is here to catch this case.
41251debfc3dSmrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41261debfc3dSmrg/* end confdefs.h.  */
41271debfc3dSmrg#ifdef __STDC__
41281debfc3dSmrg# include <limits.h>
41291debfc3dSmrg#else
41301debfc3dSmrg# include <assert.h>
41311debfc3dSmrg#endif
41321debfc3dSmrg		     Syntax error
41331debfc3dSmrg_ACEOF
41341debfc3dSmrgif ac_fn_c_try_cpp "$LINENO"; then :
41351debfc3dSmrg
41361debfc3dSmrgelse
41371debfc3dSmrg  # Broken: fails on valid input.
41381debfc3dSmrgcontinue
41391debfc3dSmrgfi
4140*c0a68be4Smrgrm -f conftest.err conftest.i conftest.$ac_ext
41411debfc3dSmrg
41421debfc3dSmrg  # OK, works on sane cases.  Now check whether nonexistent headers
41431debfc3dSmrg  # can be detected and how.
41441debfc3dSmrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41451debfc3dSmrg/* end confdefs.h.  */
41461debfc3dSmrg#include <ac_nonexistent.h>
41471debfc3dSmrg_ACEOF
41481debfc3dSmrgif ac_fn_c_try_cpp "$LINENO"; then :
41491debfc3dSmrg  # Broken: success on invalid input.
41501debfc3dSmrgcontinue
41511debfc3dSmrgelse
41521debfc3dSmrg  # Passes both tests.
41531debfc3dSmrgac_preproc_ok=:
41541debfc3dSmrgbreak
41551debfc3dSmrgfi
4156*c0a68be4Smrgrm -f conftest.err conftest.i conftest.$ac_ext
41571debfc3dSmrg
41581debfc3dSmrgdone
41591debfc3dSmrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4160*c0a68be4Smrgrm -f conftest.i conftest.err conftest.$ac_ext
41611debfc3dSmrgif $ac_preproc_ok; then :
41621debfc3dSmrg  break
41631debfc3dSmrgfi
41641debfc3dSmrg
41651debfc3dSmrg    done
41661debfc3dSmrg    ac_cv_prog_CPP=$CPP
41671debfc3dSmrg
41681debfc3dSmrgfi
41691debfc3dSmrg  CPP=$ac_cv_prog_CPP
41701debfc3dSmrgelse
41711debfc3dSmrg  ac_cv_prog_CPP=$CPP
41721debfc3dSmrgfi
41731debfc3dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
41741debfc3dSmrg$as_echo "$CPP" >&6; }
41751debfc3dSmrgac_preproc_ok=false
41761debfc3dSmrgfor ac_c_preproc_warn_flag in '' yes
41771debfc3dSmrgdo
41781debfc3dSmrg  # Use a header file that comes with gcc, so configuring glibc
41791debfc3dSmrg  # with a fresh cross-compiler works.
41801debfc3dSmrg  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41811debfc3dSmrg  # <limits.h> exists even on freestanding compilers.
41821debfc3dSmrg  # On the NeXT, cc -E runs the code through the compiler's parser,
41831debfc3dSmrg  # not just through cpp. "Syntax error" is here to catch this case.
41841debfc3dSmrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41851debfc3dSmrg/* end confdefs.h.  */
41861debfc3dSmrg#ifdef __STDC__
41871debfc3dSmrg# include <limits.h>
41881debfc3dSmrg#else
41891debfc3dSmrg# include <assert.h>
41901debfc3dSmrg#endif
41911debfc3dSmrg		     Syntax error
41921debfc3dSmrg_ACEOF
41931debfc3dSmrgif ac_fn_c_try_cpp "$LINENO"; then :
41941debfc3dSmrg
41951debfc3dSmrgelse
41961debfc3dSmrg  # Broken: fails on valid input.
41971debfc3dSmrgcontinue
41981debfc3dSmrgfi
4199*c0a68be4Smrgrm -f conftest.err conftest.i conftest.$ac_ext
42001debfc3dSmrg
42011debfc3dSmrg  # OK, works on sane cases.  Now check whether nonexistent headers
42021debfc3dSmrg  # can be detected and how.
42031debfc3dSmrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42041debfc3dSmrg/* end confdefs.h.  */
42051debfc3dSmrg#include <ac_nonexistent.h>
42061debfc3dSmrg_ACEOF
42071debfc3dSmrgif ac_fn_c_try_cpp "$LINENO"; then :
42081debfc3dSmrg  # Broken: success on invalid input.
42091debfc3dSmrgcontinue
42101debfc3dSmrgelse
42111debfc3dSmrg  # Passes both tests.
42121debfc3dSmrgac_preproc_ok=:
42131debfc3dSmrgbreak
42141debfc3dSmrgfi
4215*c0a68be4Smrgrm -f conftest.err conftest.i conftest.$ac_ext
42161debfc3dSmrg
42171debfc3dSmrgdone
42181debfc3dSmrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4219*c0a68be4Smrgrm -f conftest.i conftest.err conftest.$ac_ext
42201debfc3dSmrgif $ac_preproc_ok; then :
42211debfc3dSmrg
42221debfc3dSmrgelse
42231debfc3dSmrg  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
42241debfc3dSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4225*c0a68be4Smrgas_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4226*c0a68be4SmrgSee \`config.log' for more details" "$LINENO" 5; }
42271debfc3dSmrgfi
42281debfc3dSmrg
42291debfc3dSmrgac_ext=c
42301debfc3dSmrgac_cpp='$CPP $CPPFLAGS'
42311debfc3dSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42321debfc3dSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42331debfc3dSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu
42341debfc3dSmrg
42351debfc3dSmrg
42361debfc3dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
42371debfc3dSmrg$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4238*c0a68be4Smrgif ${ac_cv_path_GREP+:} false; then :
42391debfc3dSmrg  $as_echo_n "(cached) " >&6
42401debfc3dSmrgelse
42411debfc3dSmrg  if test -z "$GREP"; then
42421debfc3dSmrg  ac_path_GREP_found=false
42431debfc3dSmrg  # Loop through the user's path and test for each of PROGNAME-LIST
42441debfc3dSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42451debfc3dSmrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
42461debfc3dSmrgdo
42471debfc3dSmrg  IFS=$as_save_IFS
42481debfc3dSmrg  test -z "$as_dir" && as_dir=.
42491debfc3dSmrg    for ac_prog in grep ggrep; do
42501debfc3dSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
42511debfc3dSmrg      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4252*c0a68be4Smrg      as_fn_executable_p "$ac_path_GREP" || continue
42531debfc3dSmrg# Check for GNU ac_path_GREP and select it if it is found.
42541debfc3dSmrg  # Check for GNU $ac_path_GREP
42551debfc3dSmrgcase `"$ac_path_GREP" --version 2>&1` in
42561debfc3dSmrg*GNU*)
42571debfc3dSmrg  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
42581debfc3dSmrg*)
42591debfc3dSmrg  ac_count=0
42601debfc3dSmrg  $as_echo_n 0123456789 >"conftest.in"
42611debfc3dSmrg  while :
42621debfc3dSmrg  do
42631debfc3dSmrg    cat "conftest.in" "conftest.in" >"conftest.tmp"
42641debfc3dSmrg    mv "conftest.tmp" "conftest.in"
42651debfc3dSmrg    cp "conftest.in" "conftest.nl"
42661debfc3dSmrg    $as_echo 'GREP' >> "conftest.nl"
42671debfc3dSmrg    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
42681debfc3dSmrg    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
42691debfc3dSmrg    as_fn_arith $ac_count + 1 && ac_count=$as_val
42701debfc3dSmrg    if test $ac_count -gt ${ac_path_GREP_max-0}; then
42711debfc3dSmrg      # Best one so far, save it but keep looking for a better one
42721debfc3dSmrg      ac_cv_path_GREP="$ac_path_GREP"
42731debfc3dSmrg      ac_path_GREP_max=$ac_count
42741debfc3dSmrg    fi
42751debfc3dSmrg    # 10*(2^10) chars as input seems more than enough
42761debfc3dSmrg    test $ac_count -gt 10 && break
42771debfc3dSmrg  done
42781debfc3dSmrg  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
42791debfc3dSmrgesac
42801debfc3dSmrg
42811debfc3dSmrg      $ac_path_GREP_found && break 3
42821debfc3dSmrg    done
42831debfc3dSmrg  done
42841debfc3dSmrg  done
42851debfc3dSmrgIFS=$as_save_IFS
42861debfc3dSmrg  if test -z "$ac_cv_path_GREP"; then
4287*c0a68be4Smrg    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
42881debfc3dSmrg  fi
42891debfc3dSmrgelse
42901debfc3dSmrg  ac_cv_path_GREP=$GREP
42911debfc3dSmrgfi
42921debfc3dSmrg
42931debfc3dSmrgfi
42941debfc3dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
42951debfc3dSmrg$as_echo "$ac_cv_path_GREP" >&6; }
42961debfc3dSmrg GREP="$ac_cv_path_GREP"
42971debfc3dSmrg
42981debfc3dSmrg
42991debfc3dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
43001debfc3dSmrg$as_echo_n "checking for egrep... " >&6; }
4301*c0a68be4Smrgif ${ac_cv_path_EGREP+:} false; then :
43021debfc3dSmrg  $as_echo_n "(cached) " >&6
43031debfc3dSmrgelse
43041debfc3dSmrg  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
43051debfc3dSmrg   then ac_cv_path_EGREP="$GREP -E"
43061debfc3dSmrg   else
43071debfc3dSmrg     if test -z "$EGREP"; then
43081debfc3dSmrg  ac_path_EGREP_found=false
43091debfc3dSmrg  # Loop through the user's path and test for each of PROGNAME-LIST
43101debfc3dSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43111debfc3dSmrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
43121debfc3dSmrgdo
43131debfc3dSmrg  IFS=$as_save_IFS
43141debfc3dSmrg  test -z "$as_dir" && as_dir=.
43151debfc3dSmrg    for ac_prog in egrep; do
43161debfc3dSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
43171debfc3dSmrg      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4318*c0a68be4Smrg      as_fn_executable_p "$ac_path_EGREP" || continue
43191debfc3dSmrg# Check for GNU ac_path_EGREP and select it if it is found.
43201debfc3dSmrg  # Check for GNU $ac_path_EGREP
43211debfc3dSmrgcase `"$ac_path_EGREP" --version 2>&1` in
43221debfc3dSmrg*GNU*)
43231debfc3dSmrg  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
43241debfc3dSmrg*)
43251debfc3dSmrg  ac_count=0
43261debfc3dSmrg  $as_echo_n 0123456789 >"conftest.in"
43271debfc3dSmrg  while :
43281debfc3dSmrg  do
43291debfc3dSmrg    cat "conftest.in" "conftest.in" >"conftest.tmp"
43301debfc3dSmrg    mv "conftest.tmp" "conftest.in"
43311debfc3dSmrg    cp "conftest.in" "conftest.nl"
43321debfc3dSmrg    $as_echo 'EGREP' >> "conftest.nl"
43331debfc3dSmrg    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
43341debfc3dSmrg    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
43351debfc3dSmrg    as_fn_arith $ac_count + 1 && ac_count=$as_val
43361debfc3dSmrg    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
43371debfc3dSmrg      # Best one so far, save it but keep looking for a better one
43381debfc3dSmrg      ac_cv_path_EGREP="$ac_path_EGREP"
43391debfc3dSmrg      ac_path_EGREP_max=$ac_count
43401debfc3dSmrg    fi
43411debfc3dSmrg    # 10*(2^10) chars as input seems more than enough
43421debfc3dSmrg    test $ac_count -gt 10 && break
43431debfc3dSmrg  done
43441debfc3dSmrg  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
43451debfc3dSmrgesac
43461debfc3dSmrg
43471debfc3dSmrg      $ac_path_EGREP_found && break 3
43481debfc3dSmrg    done
43491debfc3dSmrg  done
43501debfc3dSmrg  done
43511debfc3dSmrgIFS=$as_save_IFS
43521debfc3dSmrg  if test -z "$ac_cv_path_EGREP"; then
4353*c0a68be4Smrg    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
43541debfc3dSmrg  fi
43551debfc3dSmrgelse
43561debfc3dSmrg  ac_cv_path_EGREP=$EGREP
43571debfc3dSmrgfi
43581debfc3dSmrg
43591debfc3dSmrg   fi
43601debfc3dSmrgfi
43611debfc3dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
43621debfc3dSmrg$as_echo "$ac_cv_path_EGREP" >&6; }
43631debfc3dSmrg EGREP="$ac_cv_path_EGREP"
43641debfc3dSmrg
43651debfc3dSmrg
43661debfc3dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
43671debfc3dSmrg$as_echo_n "checking for ANSI C header files... " >&6; }
4368*c0a68be4Smrgif ${ac_cv_header_stdc+:} false; then :
43691debfc3dSmrg  $as_echo_n "(cached) " >&6
43701debfc3dSmrgelse
43711debfc3dSmrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43721debfc3dSmrg/* end confdefs.h.  */
43731debfc3dSmrg#include <stdlib.h>
43741debfc3dSmrg#include <stdarg.h>
43751debfc3dSmrg#include <string.h>
43761debfc3dSmrg#include <float.h>
43771debfc3dSmrg
43781debfc3dSmrgint
43791debfc3dSmrgmain ()
43801debfc3dSmrg{
43811debfc3dSmrg
43821debfc3dSmrg  ;
43831debfc3dSmrg  return 0;
43841debfc3dSmrg}
43851debfc3dSmrg_ACEOF
43861debfc3dSmrgif ac_fn_c_try_compile "$LINENO"; then :
43871debfc3dSmrg  ac_cv_header_stdc=yes
43881debfc3dSmrgelse
43891debfc3dSmrg  ac_cv_header_stdc=no
43901debfc3dSmrgfi
43911debfc3dSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43921debfc3dSmrg
43931debfc3dSmrgif test $ac_cv_header_stdc = yes; then
43941debfc3dSmrg  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
43951debfc3dSmrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43961debfc3dSmrg/* end confdefs.h.  */
43971debfc3dSmrg#include <string.h>
43981debfc3dSmrg
43991debfc3dSmrg_ACEOF
44001debfc3dSmrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
44011debfc3dSmrg  $EGREP "memchr" >/dev/null 2>&1; then :
44021debfc3dSmrg
44031debfc3dSmrgelse
44041debfc3dSmrg  ac_cv_header_stdc=no
44051debfc3dSmrgfi
44061debfc3dSmrgrm -f conftest*
44071debfc3dSmrg
44081debfc3dSmrgfi
44091debfc3dSmrg
44101debfc3dSmrgif test $ac_cv_header_stdc = yes; then
44111debfc3dSmrg  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
44121debfc3dSmrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44131debfc3dSmrg/* end confdefs.h.  */
44141debfc3dSmrg#include <stdlib.h>
44151debfc3dSmrg
44161debfc3dSmrg_ACEOF
44171debfc3dSmrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
44181debfc3dSmrg  $EGREP "free" >/dev/null 2>&1; then :
44191debfc3dSmrg
44201debfc3dSmrgelse
44211debfc3dSmrg  ac_cv_header_stdc=no
44221debfc3dSmrgfi
44231debfc3dSmrgrm -f conftest*
44241debfc3dSmrg
44251debfc3dSmrgfi
44261debfc3dSmrg
44271debfc3dSmrgif test $ac_cv_header_stdc = yes; then
44281debfc3dSmrg  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
44291debfc3dSmrg  if test "$cross_compiling" = yes; then :
44301debfc3dSmrg  :
44311debfc3dSmrgelse
44321debfc3dSmrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44331debfc3dSmrg/* end confdefs.h.  */
44341debfc3dSmrg#include <ctype.h>
44351debfc3dSmrg#include <stdlib.h>
44361debfc3dSmrg#if ((' ' & 0x0FF) == 0x020)
44371debfc3dSmrg# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
44381debfc3dSmrg# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
44391debfc3dSmrg#else
44401debfc3dSmrg# define ISLOWER(c) \
44411debfc3dSmrg		   (('a' <= (c) && (c) <= 'i') \
44421debfc3dSmrg		     || ('j' <= (c) && (c) <= 'r') \
44431debfc3dSmrg		     || ('s' <= (c) && (c) <= 'z'))
44441debfc3dSmrg# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
44451debfc3dSmrg#endif
44461debfc3dSmrg
44471debfc3dSmrg#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
44481debfc3dSmrgint
44491debfc3dSmrgmain ()
44501debfc3dSmrg{
44511debfc3dSmrg  int i;
44521debfc3dSmrg  for (i = 0; i < 256; i++)
44531debfc3dSmrg    if (XOR (islower (i), ISLOWER (i))
44541debfc3dSmrg	|| toupper (i) != TOUPPER (i))
44551debfc3dSmrg      return 2;
44561debfc3dSmrg  return 0;
44571debfc3dSmrg}
44581debfc3dSmrg_ACEOF
44591debfc3dSmrgif ac_fn_c_try_run "$LINENO"; then :
44601debfc3dSmrg
44611debfc3dSmrgelse
44621debfc3dSmrg  ac_cv_header_stdc=no
44631debfc3dSmrgfi
44641debfc3dSmrgrm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44651debfc3dSmrg  conftest.$ac_objext conftest.beam conftest.$ac_ext
44661debfc3dSmrgfi
44671debfc3dSmrg
44681debfc3dSmrgfi
44691debfc3dSmrgfi
44701debfc3dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
44711debfc3dSmrg$as_echo "$ac_cv_header_stdc" >&6; }
44721debfc3dSmrgif test $ac_cv_header_stdc = yes; then
44731debfc3dSmrg
44741debfc3dSmrg$as_echo "#define STDC_HEADERS 1" >>confdefs.h
44751debfc3dSmrg
44761debfc3dSmrgfi
44771debfc3dSmrg
44781debfc3dSmrg# On IRIX 5.3, sys/types and inttypes.h are conflicting.
44791debfc3dSmrgfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
44801debfc3dSmrg		  inttypes.h stdint.h unistd.h
44811debfc3dSmrgdo :
44821debfc3dSmrg  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
44831debfc3dSmrgac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
44841debfc3dSmrg"
4485*c0a68be4Smrgif eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
44861debfc3dSmrg  cat >>confdefs.h <<_ACEOF
44871debfc3dSmrg#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
44881debfc3dSmrg_ACEOF
44891debfc3dSmrg
44901debfc3dSmrgfi
44911debfc3dSmrg
44921debfc3dSmrgdone
44931debfc3dSmrg
44941debfc3dSmrg
44951debfc3dSmrg
44961debfc3dSmrg  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4497*c0a68be4Smrgif test "x$ac_cv_header_minix_config_h" = xyes; then :
44981debfc3dSmrg  MINIX=yes
44991debfc3dSmrgelse
45001debfc3dSmrg  MINIX=
45011debfc3dSmrgfi
45021debfc3dSmrg
45031debfc3dSmrg
45041debfc3dSmrg  if test "$MINIX" = yes; then
45051debfc3dSmrg
45061debfc3dSmrg$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
45071debfc3dSmrg
45081debfc3dSmrg
45091debfc3dSmrg$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
45101debfc3dSmrg
45111debfc3dSmrg
45121debfc3dSmrg$as_echo "#define _MINIX 1" >>confdefs.h
45131debfc3dSmrg
45141debfc3dSmrg  fi
45151debfc3dSmrg
45161debfc3dSmrg
45171debfc3dSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
45181debfc3dSmrg$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4519*c0a68be4Smrgif ${ac_cv_safe_to_define___extensions__+:} false; then :
45201debfc3dSmrg  $as_echo_n "(cached) " >&6
45211debfc3dSmrgelse
45221debfc3dSmrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45231debfc3dSmrg/* end confdefs.h.  */
45241debfc3dSmrg
45251debfc3dSmrg#         define __EXTENSIONS__ 1
45261debfc3dSmrg          $ac_includes_default
45271debfc3dSmrgint
45281debfc3dSmrgmain ()
45291debfc3dSmrg{
45301debfc3dSmrg
45311debfc3dSmrg  ;
45321debfc3dSmrg  return 0;
45331debfc3dSmrg}
45341debfc3dSmrg_ACEOF
45351debfc3dSmrgif ac_fn_c_try_compile "$LINENO"; then :
45361debfc3dSmrg  ac_cv_safe_to_define___extensions__=yes
45371debfc3dSmrgelse
45381debfc3dSmrg  ac_cv_safe_to_define___extensions__=no
45391debfc3dSmrgfi
45401debfc3dSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45411debfc3dSmrgfi
45421debfc3dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
45431debfc3dSmrg$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
45441debfc3dSmrg  test $ac_cv_safe_to_define___extensions__ = yes &&
45451debfc3dSmrg    $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
45461debfc3dSmrg
45471debfc3dSmrg  $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
45481debfc3dSmrg
45491debfc3dSmrg  $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
45501debfc3dSmrg
45511debfc3dSmrg  $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
45521debfc3dSmrg
45531debfc3dSmrg  $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
45541debfc3dSmrg
45551debfc3dSmrg
45561debfc3dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
45571debfc3dSmrg$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4558*c0a68be4Smrgif ${ac_cv_path_SED+:} false; then :
45591debfc3dSmrg  $as_echo_n "(cached) " >&6
45601debfc3dSmrgelse
45611debfc3dSmrg            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
45621debfc3dSmrg     for ac_i in 1 2 3 4 5 6 7; do
45631debfc3dSmrg       ac_script="$ac_script$as_nl$ac_script"
45641debfc3dSmrg     done
45651debfc3dSmrg     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
45661debfc3dSmrg     { ac_script=; unset ac_script;}
45671debfc3dSmrg     if test -z "$SED"; then
45681debfc3dSmrg  ac_path_SED_found=false
45691debfc3dSmrg  # Loop through the user's path and test for each of PROGNAME-LIST
45701debfc3dSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45711debfc3dSmrgfor as_dir in $PATH
45721debfc3dSmrgdo
45731debfc3dSmrg  IFS=$as_save_IFS
45741debfc3dSmrg  test -z "$as_dir" && as_dir=.
45751debfc3dSmrg    for ac_prog in sed gsed; do
45761debfc3dSmrg    for ac_exec_ext in '' $ac_executable_extensions; do
45771debfc3dSmrg      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4578*c0a68be4Smrg      as_fn_executable_p "$ac_path_SED" || continue
45791debfc3dSmrg# Check for GNU ac_path_SED and select it if it is found.
45801debfc3dSmrg  # Check for GNU $ac_path_SED
45811debfc3dSmrgcase `"$ac_path_SED" --version 2>&1` in
45821debfc3dSmrg*GNU*)
45831debfc3dSmrg  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
45841debfc3dSmrg*)
45851debfc3dSmrg  ac_count=0
45861debfc3dSmrg  $as_echo_n 0123456789 >"conftest.in"
45871debfc3dSmrg  while :
45881debfc3dSmrg  do
45891debfc3dSmrg    cat "conftest.in" "conftest.in" >"conftest.tmp"
45901debfc3dSmrg    mv "conftest.tmp" "conftest.in"
45911debfc3dSmrg    cp "conftest.in" "conftest.nl"
45921debfc3dSmrg    $as_echo '' >> "conftest.nl"
45931debfc3dSmrg    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
45941debfc3dSmrg    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
45951debfc3dSmrg    as_fn_arith $ac_count + 1 && ac_count=$as_val
45961debfc3dSmrg    if test $ac_count -gt ${ac_path_SED_max-0}; then
45971debfc3dSmrg      # Best one so far, save it but keep looking for a better one
45981debfc3dSmrg      ac_cv_path_SED="$ac_path_SED"
45991debfc3dSmrg      ac_path_SED_max=$ac_count
46001debfc3dSmrg    fi
46011debfc3dSmrg    # 10*(2^10) chars as input seems more than enough
46021debfc3dSmrg    test $ac_count -gt 10 && break
46031debfc3dSmrg  done
46041debfc3dSmrg  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
46051debfc3dSmrgesac
46061debfc3dSmrg
46071debfc3dSmrg      $ac_path_SED_found && break 3
46081debfc3dSmrg    done
46091debfc3dSmrg  done
46101debfc3dSmrg  done
46111debfc3dSmrgIFS=$as_save_IFS
46121debfc3dSmrg  if test -z "$ac_cv_path_SED"; then
4613*c0a68be4Smrg    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
46141debfc3dSmrg  fi
46151debfc3dSmrgelse
46161debfc3dSmrg  ac_cv_path_SED=$SED
46171debfc3dSmrgfi
46181debfc3dSmrg
46191debfc3dSmrgfi
46201debfc3dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
46211debfc3dSmrg$as_echo "$ac_cv_path_SED" >&6; }
46221debfc3dSmrg SED="$ac_cv_path_SED"
46231debfc3dSmrg  rm -f conftest.sed
46241debfc3dSmrg
46251debfc3dSmrg
46261debfc3dSmrg# Figure out what compiler warnings we can enable.
46271debfc3dSmrg# See config/warnings.m4 for details.
46281debfc3dSmrg
46291debfc3dSmrgac_ext=c
46301debfc3dSmrgac_cpp='$CPP $CPPFLAGS'
46311debfc3dSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46321debfc3dSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46331debfc3dSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu
46341debfc3dSmrg
46351debfc3dSmrgWARN_CFLAGS=
46361debfc3dSmrgsave_CFLAGS="$CFLAGS"
46371debfc3dSmrgfor real_option in -W -Wall -Wwrite-strings -Wstrict-prototypes \
46381debfc3dSmrg			  -Wmissing-prototypes -Wold-style-definition \
46391debfc3dSmrg			  -Wmissing-format-attribute -Wno-overlength-strings; do
46401debfc3dSmrg  # Do the check with the no- prefix removed since gcc silently
46411debfc3dSmrg  # accepts any -Wno-* option on purpose
46421debfc3dSmrg  case $real_option in
46431debfc3dSmrg    -Wno-*) option=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
46441debfc3dSmrg    *) option=$real_option ;;
46451debfc3dSmrg  esac
46461debfc3dSmrg  as_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
46471debfc3dSmrg
46481debfc3dSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
46491debfc3dSmrg$as_echo_n "checking whether $CC supports $option... " >&6; }
4650*c0a68be4Smrgif eval \${$as_acx_Woption+:} false; then :
46511debfc3dSmrg  $as_echo_n "(cached) " >&6
46521debfc3dSmrgelse
46531debfc3dSmrg  CFLAGS="$option"
46541debfc3dSmrg    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46551debfc3dSmrg/* end confdefs.h.  */
46561debfc3dSmrg
46571debfc3dSmrgint
46581debfc3dSmrgmain ()
46591debfc3dSmrg{
46601debfc3dSmrg
46611debfc3dSmrg  ;
46621debfc3dSmrg  return 0;
46631debfc3dSmrg}
46641debfc3dSmrg_ACEOF
46651debfc3dSmrgif ac_fn_c_try_compile "$LINENO"; then :
46661debfc3dSmrg  eval "$as_acx_Woption=yes"
46671debfc3dSmrgelse
46681debfc3dSmrg  eval "$as_acx_Woption=no"
46691debfc3dSmrgfi
46701debfc3dSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46711debfc3dSmrg
46721debfc3dSmrgfi
46731debfc3dSmrgeval ac_res=\$$as_acx_Woption
46741debfc3dSmrg	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
46751debfc3dSmrg$as_echo "$ac_res" >&6; }
46761debfc3dSmrg  if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
46771debfc3dSmrg  WARN_CFLAGS="$WARN_CFLAGS${WARN_CFLAGS:+ }$real_option"
46781debfc3dSmrgfi
46791debfc3dSmrg  done
46801debfc3dSmrgCFLAGS="$save_CFLAGS"
46811debfc3dSmrgac_ext=c
46821debfc3dSmrgac_cpp='$CPP $CPPFLAGS'
46831debfc3dSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46841debfc3dSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46851debfc3dSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu
46861debfc3dSmrg
46871debfc3dSmrg
46881debfc3dSmrgac_ext=c
46891debfc3dSmrgac_cpp='$CPP $CPPFLAGS'
46901debfc3dSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46911debfc3dSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46921debfc3dSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu
46931debfc3dSmrg
46941debfc3dSmrgWARN_PEDANTIC=
46951debfc3dSmrg# Do the check with the no- prefix removed from the warning options
46961debfc3dSmrg# since gcc silently accepts any -Wno-* option on purpose
46971debfc3dSmrgif test "$GCC" = yes; then :
46981debfc3dSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -pedantic -Wlong-long" >&5
46991debfc3dSmrg$as_echo_n "checking whether $CC supports -pedantic -Wlong-long... " >&6; }
4700*c0a68be4Smrgif ${acx_cv_prog_cc_pedantic__Wlong_long+:} false; then :
47011debfc3dSmrg  $as_echo_n "(cached) " >&6
47021debfc3dSmrgelse
47031debfc3dSmrg  save_CFLAGS="$CFLAGS"
47041debfc3dSmrgCFLAGS="-pedantic -Wlong-long"
47051debfc3dSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext
47061debfc3dSmrg/* end confdefs.h.  */
47071debfc3dSmrg
47081debfc3dSmrgint
47091debfc3dSmrgmain ()
47101debfc3dSmrg{
47111debfc3dSmrg
47121debfc3dSmrg  ;
47131debfc3dSmrg  return 0;
47141debfc3dSmrg}
47151debfc3dSmrg_ACEOF
47161debfc3dSmrgif ac_fn_c_try_compile "$LINENO"; then :
47171debfc3dSmrg  acx_cv_prog_cc_pedantic__Wlong_long=yes
47181debfc3dSmrgelse
47191debfc3dSmrg  acx_cv_prog_cc_pedantic__Wlong_long=no
47201debfc3dSmrgfi
47211debfc3dSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47221debfc3dSmrgCFLAGS="$save_CFLAGS"
47231debfc3dSmrgfi
47241debfc3dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_prog_cc_pedantic__Wlong_long" >&5
47251debfc3dSmrg$as_echo "$acx_cv_prog_cc_pedantic__Wlong_long" >&6; }
47261debfc3dSmrgif test $acx_cv_prog_cc_pedantic__Wlong_long = yes; then :
47271debfc3dSmrg  WARN_PEDANTIC="$WARN_PEDANTIC${WARN_PEDANTIC:+ }-pedantic -Wno-long-long"
47281debfc3dSmrgfi
47291debfc3dSmrg
47301debfc3dSmrgfi
47311debfc3dSmrgac_ext=c
47321debfc3dSmrgac_cpp='$CPP $CPPFLAGS'
47331debfc3dSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47341debfc3dSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47351debfc3dSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu
47361debfc3dSmrg
47371debfc3dSmrg
47381debfc3dSmrg
47391debfc3dSmrg# Only enable with --enable-werror-always until existing warnings are
47401debfc3dSmrg# corrected.
47411debfc3dSmrgac_ext=c
47421debfc3dSmrgac_cpp='$CPP $CPPFLAGS'
47431debfc3dSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47441debfc3dSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47451debfc3dSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu
47461debfc3dSmrg
47471debfc3dSmrgWERROR=
47481debfc3dSmrg# Check whether --enable-werror-always was given.
47491debfc3dSmrgif test "${enable_werror_always+set}" = set; then :
47501debfc3dSmrg  enableval=$enable_werror_always;
47511debfc3dSmrgelse
47521debfc3dSmrg  enable_werror_always=no
47531debfc3dSmrgfi
47541debfc3dSmrg
47551debfc3dSmrgif test $enable_werror_always = yes; then :
47561debfc3dSmrg  WERROR="$WERROR${WERROR:+ }-Werror"
47571debfc3dSmrgfi
47581debfc3dSmrg
47591debfc3dSmrgac_ext=c
47601debfc3dSmrgac_cpp='$CPP $CPPFLAGS'
47611debfc3dSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47621debfc3dSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47631debfc3dSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu
47641debfc3dSmrg
47651debfc3dSmrg
47661debfc3dSmrg
47671debfc3dSmrg# Determine the noncanonical target name, for directory use.
47681debfc3dSmrg case ${build_alias} in
47691debfc3dSmrg  "") build_noncanonical=${build} ;;
47701debfc3dSmrg  *) build_noncanonical=${build_alias} ;;
47711debfc3dSmrgesac
47721debfc3dSmrg
47731debfc3dSmrg case ${host_alias} in
47741debfc3dSmrg  "") host_noncanonical=${build_noncanonical} ;;
47751debfc3dSmrg  *) host_noncanonical=${host_alias} ;;
47761debfc3dSmrgesac
47771debfc3dSmrg
47781debfc3dSmrg case ${target_alias} in
47791debfc3dSmrg  "") target_noncanonical=${host_noncanonical} ;;
47801debfc3dSmrg  *) target_noncanonical=${target_alias} ;;
47811debfc3dSmrgesac
47821debfc3dSmrg
47831debfc3dSmrg
47841debfc3dSmrg
47851debfc3dSmrg
47861debfc3dSmrg# Specify the local prefix
47871debfc3dSmrglocal_prefix=
47881debfc3dSmrg
47891debfc3dSmrg# Check whether --with-local-prefix was given.
47901debfc3dSmrgif test "${with_local_prefix+set}" = set; then :
47911debfc3dSmrg  withval=$with_local_prefix; case "${withval}" in
4792*c0a68be4Smrgyes)	as_fn_error $? "bad value ${withval} given for local include directory prefix" "$LINENO" 5 ;;
47931debfc3dSmrgno)	;;
47941debfc3dSmrg*)	local_prefix=$with_local_prefix ;;
47951debfc3dSmrgesac
47961debfc3dSmrgfi
47971debfc3dSmrg
47981debfc3dSmrg
47991debfc3dSmrg# Default local prefix if it is empty
48001debfc3dSmrgif test x$local_prefix = x; then
48011debfc3dSmrg	local_prefix=/usr/local
48021debfc3dSmrgfi
48031debfc3dSmrg
48041debfc3dSmrg# Choose one or two-process fix methodology.  Systems that cannot handle
48051debfc3dSmrg# bi-directional pipes must use the two process method.
48061debfc3dSmrg#
48071debfc3dSmrg# Check whether --enable-twoprocess was given.
48081debfc3dSmrgif test "${enable_twoprocess+set}" = set; then :
48091debfc3dSmrg  enableval=$enable_twoprocess; if test "x$enable_twoprocess" = xyes; then
48101debfc3dSmrg	TARGET=twoprocess
48111debfc3dSmrgelse
48121debfc3dSmrg	TARGET=oneprocess
48131debfc3dSmrgfi
48141debfc3dSmrgelse
48151debfc3dSmrg  case $host in
48161debfc3dSmrg	i?86-*-msdosdjgpp* | \
48171debfc3dSmrg	i?86-*-mingw32* | \
48181debfc3dSmrg	x86_64-*-mingw32* | \
48191debfc3dSmrg	*-*-beos* | \
48201debfc3dSmrg        *-*-*vms*)
48211debfc3dSmrg		TARGET=twoprocess
48221debfc3dSmrg		;;
48231debfc3dSmrg
48241debfc3dSmrg	* )
48251debfc3dSmrg		TARGET=oneprocess
48261debfc3dSmrg		;;
48271debfc3dSmrgesac
48281debfc3dSmrgfi
48291debfc3dSmrg
48301debfc3dSmrg
48311debfc3dSmrg
48321debfc3dSmrgif test $TARGET = twoprocess; then
48331debfc3dSmrg
48341debfc3dSmrg$as_echo "#define SEPARATE_FIX_PROC 1" >>confdefs.h
48351debfc3dSmrg
48361debfc3dSmrgfi
48371debfc3dSmrg
48381debfc3dSmrgcase $host in
48391debfc3dSmrg	vax-dec-bsd* )
48401debfc3dSmrg
48411debfc3dSmrg$as_echo "#define exit xexit" >>confdefs.h
48421debfc3dSmrg
48431debfc3dSmrg
48441debfc3dSmrg$as_echo "#define atexit xatexit" >>confdefs.h
48451debfc3dSmrg
48461debfc3dSmrg		;;
48471debfc3dSmrgesac
48481debfc3dSmrg
48491debfc3dSmrg
48501debfc3dSmrgcat >>confdefs.h <<_ACEOF
48511debfc3dSmrg#define EXE_EXT "$ac_exeext"
48521debfc3dSmrg_ACEOF
48531debfc3dSmrg
48541debfc3dSmrg
48551debfc3dSmrg# Checks for header files.
48561debfc3dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
48571debfc3dSmrg$as_echo_n "checking for ANSI C header files... " >&6; }
4858*c0a68be4Smrgif ${ac_cv_header_stdc+:} false; then :
48591debfc3dSmrg  $as_echo_n "(cached) " >&6
48601debfc3dSmrgelse
48611debfc3dSmrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48621debfc3dSmrg/* end confdefs.h.  */
48631debfc3dSmrg#include <stdlib.h>
48641debfc3dSmrg#include <stdarg.h>
48651debfc3dSmrg#include <string.h>
48661debfc3dSmrg#include <float.h>
48671debfc3dSmrg
48681debfc3dSmrgint
48691debfc3dSmrgmain ()
48701debfc3dSmrg{
48711debfc3dSmrg
48721debfc3dSmrg  ;
48731debfc3dSmrg  return 0;
48741debfc3dSmrg}
48751debfc3dSmrg_ACEOF
48761debfc3dSmrgif ac_fn_c_try_compile "$LINENO"; then :
48771debfc3dSmrg  ac_cv_header_stdc=yes
48781debfc3dSmrgelse
48791debfc3dSmrg  ac_cv_header_stdc=no
48801debfc3dSmrgfi
48811debfc3dSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48821debfc3dSmrg
48831debfc3dSmrgif test $ac_cv_header_stdc = yes; then
48841debfc3dSmrg  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
48851debfc3dSmrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48861debfc3dSmrg/* end confdefs.h.  */
48871debfc3dSmrg#include <string.h>
48881debfc3dSmrg
48891debfc3dSmrg_ACEOF
48901debfc3dSmrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
48911debfc3dSmrg  $EGREP "memchr" >/dev/null 2>&1; then :
48921debfc3dSmrg
48931debfc3dSmrgelse
48941debfc3dSmrg  ac_cv_header_stdc=no
48951debfc3dSmrgfi
48961debfc3dSmrgrm -f conftest*
48971debfc3dSmrg
48981debfc3dSmrgfi
48991debfc3dSmrg
49001debfc3dSmrgif test $ac_cv_header_stdc = yes; then
49011debfc3dSmrg  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
49021debfc3dSmrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49031debfc3dSmrg/* end confdefs.h.  */
49041debfc3dSmrg#include <stdlib.h>
49051debfc3dSmrg
49061debfc3dSmrg_ACEOF
49071debfc3dSmrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
49081debfc3dSmrg  $EGREP "free" >/dev/null 2>&1; then :
49091debfc3dSmrg
49101debfc3dSmrgelse
49111debfc3dSmrg  ac_cv_header_stdc=no
49121debfc3dSmrgfi
49131debfc3dSmrgrm -f conftest*
49141debfc3dSmrg
49151debfc3dSmrgfi
49161debfc3dSmrg
49171debfc3dSmrgif test $ac_cv_header_stdc = yes; then
49181debfc3dSmrg  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
49191debfc3dSmrg  if test "$cross_compiling" = yes; then :
49201debfc3dSmrg  :
49211debfc3dSmrgelse
49221debfc3dSmrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49231debfc3dSmrg/* end confdefs.h.  */
49241debfc3dSmrg#include <ctype.h>
49251debfc3dSmrg#include <stdlib.h>
49261debfc3dSmrg#if ((' ' & 0x0FF) == 0x020)
49271debfc3dSmrg# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
49281debfc3dSmrg# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
49291debfc3dSmrg#else
49301debfc3dSmrg# define ISLOWER(c) \
49311debfc3dSmrg		   (('a' <= (c) && (c) <= 'i') \
49321debfc3dSmrg		     || ('j' <= (c) && (c) <= 'r') \
49331debfc3dSmrg		     || ('s' <= (c) && (c) <= 'z'))
49341debfc3dSmrg# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
49351debfc3dSmrg#endif
49361debfc3dSmrg
49371debfc3dSmrg#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
49381debfc3dSmrgint
49391debfc3dSmrgmain ()
49401debfc3dSmrg{
49411debfc3dSmrg  int i;
49421debfc3dSmrg  for (i = 0; i < 256; i++)
49431debfc3dSmrg    if (XOR (islower (i), ISLOWER (i))
49441debfc3dSmrg	|| toupper (i) != TOUPPER (i))
49451debfc3dSmrg      return 2;
49461debfc3dSmrg  return 0;
49471debfc3dSmrg}
49481debfc3dSmrg_ACEOF
49491debfc3dSmrgif ac_fn_c_try_run "$LINENO"; then :
49501debfc3dSmrg
49511debfc3dSmrgelse
49521debfc3dSmrg  ac_cv_header_stdc=no
49531debfc3dSmrgfi
49541debfc3dSmrgrm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
49551debfc3dSmrg  conftest.$ac_objext conftest.beam conftest.$ac_ext
49561debfc3dSmrgfi
49571debfc3dSmrg
49581debfc3dSmrgfi
49591debfc3dSmrgfi
49601debfc3dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
49611debfc3dSmrg$as_echo "$ac_cv_header_stdc" >&6; }
49621debfc3dSmrgif test $ac_cv_header_stdc = yes; then
49631debfc3dSmrg
49641debfc3dSmrg$as_echo "#define STDC_HEADERS 1" >>confdefs.h
49651debfc3dSmrg
49661debfc3dSmrgfi
49671debfc3dSmrg
49681debfc3dSmrgfor ac_header in stddef.h stdlib.h strings.h unistd.h fcntl.h sys/file.h \
49691debfc3dSmrg	sys/stat.h
49701debfc3dSmrgdo :
49711debfc3dSmrg  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
49721debfc3dSmrgac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4973*c0a68be4Smrgif eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
49741debfc3dSmrg  cat >>confdefs.h <<_ACEOF
49751debfc3dSmrg#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
49761debfc3dSmrg_ACEOF
49771debfc3dSmrg
49781debfc3dSmrgfi
49791debfc3dSmrg
49801debfc3dSmrgdone
49811debfc3dSmrg
49821debfc3dSmrg
49831debfc3dSmrgfor ac_func in clearerr_unlocked feof_unlocked   ferror_unlocked fflush_unlocked fgetc_unlocked fgets_unlocked   fileno_unlocked fprintf_unlocked fputc_unlocked fputs_unlocked   fread_unlocked fwrite_unlocked getchar_unlocked getc_unlocked   putchar_unlocked putc_unlocked
49841debfc3dSmrgdo :
49851debfc3dSmrg  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49861debfc3dSmrgac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4987*c0a68be4Smrgif eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49881debfc3dSmrg  cat >>confdefs.h <<_ACEOF
49891debfc3dSmrg#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49901debfc3dSmrg_ACEOF
49911debfc3dSmrg
49921debfc3dSmrgfi
49931debfc3dSmrgdone
49941debfc3dSmrg
49951debfc3dSmrgac_fn_c_check_decl "$LINENO" "abort" "ac_cv_have_decl_abort" "$ac_includes_default"
4996*c0a68be4Smrgif test "x$ac_cv_have_decl_abort" = xyes; then :
49971debfc3dSmrg  ac_have_decl=1
49981debfc3dSmrgelse
49991debfc3dSmrg  ac_have_decl=0
50001debfc3dSmrgfi
50011debfc3dSmrg
50021debfc3dSmrgcat >>confdefs.h <<_ACEOF
50031debfc3dSmrg#define HAVE_DECL_ABORT $ac_have_decl
50041debfc3dSmrg_ACEOF
50051debfc3dSmrgac_fn_c_check_decl "$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
5006*c0a68be4Smrgif test "x$ac_cv_have_decl_asprintf" = xyes; then :
50071debfc3dSmrg  ac_have_decl=1
50081debfc3dSmrgelse
50091debfc3dSmrg  ac_have_decl=0
50101debfc3dSmrgfi
50111debfc3dSmrg
50121debfc3dSmrgcat >>confdefs.h <<_ACEOF
50131debfc3dSmrg#define HAVE_DECL_ASPRINTF $ac_have_decl
50141debfc3dSmrg_ACEOF
5015*c0a68be4Smrgas_ac_Symbol=`$as_echo "ac_cv_have_decl_basename(char *)" | $as_tr_sh`
5016*c0a68be4Smrgac_fn_c_check_decl "$LINENO" "basename(char *)" "$as_ac_Symbol" "$ac_includes_default"
5017*c0a68be4Smrgif eval test \"x\$"$as_ac_Symbol"\" = x"yes"; then :
50181debfc3dSmrg  ac_have_decl=1
50191debfc3dSmrgelse
50201debfc3dSmrg  ac_have_decl=0
50211debfc3dSmrgfi
50221debfc3dSmrg
50231debfc3dSmrgcat >>confdefs.h <<_ACEOF
50241debfc3dSmrg#define HAVE_DECL_BASENAME $ac_have_decl
50251debfc3dSmrg_ACEOF
50261debfc3dSmrgac_fn_c_check_decl "$LINENO" "errno" "ac_cv_have_decl_errno" "$ac_includes_default"
5027*c0a68be4Smrgif test "x$ac_cv_have_decl_errno" = xyes; then :
50281debfc3dSmrg  ac_have_decl=1
50291debfc3dSmrgelse
50301debfc3dSmrg  ac_have_decl=0
50311debfc3dSmrgfi
50321debfc3dSmrg
50331debfc3dSmrgcat >>confdefs.h <<_ACEOF
50341debfc3dSmrg#define HAVE_DECL_ERRNO $ac_have_decl
50351debfc3dSmrg_ACEOF
50361debfc3dSmrgac_fn_c_check_decl "$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "$ac_includes_default"
5037*c0a68be4Smrgif test "x$ac_cv_have_decl_vasprintf" = xyes; then :
50381debfc3dSmrg  ac_have_decl=1
50391debfc3dSmrgelse
50401debfc3dSmrg  ac_have_decl=0
50411debfc3dSmrgfi
50421debfc3dSmrg
50431debfc3dSmrgcat >>confdefs.h <<_ACEOF
50441debfc3dSmrg#define HAVE_DECL_VASPRINTF $ac_have_decl
50451debfc3dSmrg_ACEOF
50461debfc3dSmrg
50471debfc3dSmrgac_fn_c_check_decl "$LINENO" "clearerr_unlocked" "ac_cv_have_decl_clearerr_unlocked" "$ac_includes_default"
5048*c0a68be4Smrgif test "x$ac_cv_have_decl_clearerr_unlocked" = xyes; then :
50491debfc3dSmrg  ac_have_decl=1
50501debfc3dSmrgelse
50511debfc3dSmrg  ac_have_decl=0
50521debfc3dSmrgfi
50531debfc3dSmrg
50541debfc3dSmrgcat >>confdefs.h <<_ACEOF
50551debfc3dSmrg#define HAVE_DECL_CLEARERR_UNLOCKED $ac_have_decl
50561debfc3dSmrg_ACEOF
50571debfc3dSmrgac_fn_c_check_decl "$LINENO" "feof_unlocked" "ac_cv_have_decl_feof_unlocked" "$ac_includes_default"
5058*c0a68be4Smrgif test "x$ac_cv_have_decl_feof_unlocked" = xyes; then :
50591debfc3dSmrg  ac_have_decl=1
50601debfc3dSmrgelse
50611debfc3dSmrg  ac_have_decl=0
50621debfc3dSmrgfi
50631debfc3dSmrg
50641debfc3dSmrgcat >>confdefs.h <<_ACEOF
50651debfc3dSmrg#define HAVE_DECL_FEOF_UNLOCKED $ac_have_decl
50661debfc3dSmrg_ACEOF
50671debfc3dSmrgac_fn_c_check_decl "$LINENO" "ferror_unlocked" "ac_cv_have_decl_ferror_unlocked" "$ac_includes_default"
5068*c0a68be4Smrgif test "x$ac_cv_have_decl_ferror_unlocked" = xyes; then :
50691debfc3dSmrg  ac_have_decl=1
50701debfc3dSmrgelse
50711debfc3dSmrg  ac_have_decl=0
50721debfc3dSmrgfi
50731debfc3dSmrg
50741debfc3dSmrgcat >>confdefs.h <<_ACEOF
50751debfc3dSmrg#define HAVE_DECL_FERROR_UNLOCKED $ac_have_decl
50761debfc3dSmrg_ACEOF
50771debfc3dSmrgac_fn_c_check_decl "$LINENO" "fflush_unlocked" "ac_cv_have_decl_fflush_unlocked" "$ac_includes_default"
5078*c0a68be4Smrgif test "x$ac_cv_have_decl_fflush_unlocked" = xyes; then :
50791debfc3dSmrg  ac_have_decl=1
50801debfc3dSmrgelse
50811debfc3dSmrg  ac_have_decl=0
50821debfc3dSmrgfi
50831debfc3dSmrg
50841debfc3dSmrgcat >>confdefs.h <<_ACEOF
50851debfc3dSmrg#define HAVE_DECL_FFLUSH_UNLOCKED $ac_have_decl
50861debfc3dSmrg_ACEOF
50871debfc3dSmrgac_fn_c_check_decl "$LINENO" "fgetc_unlocked" "ac_cv_have_decl_fgetc_unlocked" "$ac_includes_default"
5088*c0a68be4Smrgif test "x$ac_cv_have_decl_fgetc_unlocked" = xyes; then :
50891debfc3dSmrg  ac_have_decl=1
50901debfc3dSmrgelse
50911debfc3dSmrg  ac_have_decl=0
50921debfc3dSmrgfi
50931debfc3dSmrg
50941debfc3dSmrgcat >>confdefs.h <<_ACEOF
50951debfc3dSmrg#define HAVE_DECL_FGETC_UNLOCKED $ac_have_decl
50961debfc3dSmrg_ACEOF
50971debfc3dSmrgac_fn_c_check_decl "$LINENO" "fgets_unlocked" "ac_cv_have_decl_fgets_unlocked" "$ac_includes_default"
5098*c0a68be4Smrgif test "x$ac_cv_have_decl_fgets_unlocked" = xyes; then :
50991debfc3dSmrg  ac_have_decl=1
51001debfc3dSmrgelse
51011debfc3dSmrg  ac_have_decl=0
51021debfc3dSmrgfi
51031debfc3dSmrg
51041debfc3dSmrgcat >>confdefs.h <<_ACEOF
51051debfc3dSmrg#define HAVE_DECL_FGETS_UNLOCKED $ac_have_decl
51061debfc3dSmrg_ACEOF
51071debfc3dSmrgac_fn_c_check_decl "$LINENO" "fileno_unlocked" "ac_cv_have_decl_fileno_unlocked" "$ac_includes_default"
5108*c0a68be4Smrgif test "x$ac_cv_have_decl_fileno_unlocked" = xyes; then :
51091debfc3dSmrg  ac_have_decl=1
51101debfc3dSmrgelse
51111debfc3dSmrg  ac_have_decl=0
51121debfc3dSmrgfi
51131debfc3dSmrg
51141debfc3dSmrgcat >>confdefs.h <<_ACEOF
51151debfc3dSmrg#define HAVE_DECL_FILENO_UNLOCKED $ac_have_decl
51161debfc3dSmrg_ACEOF
51171debfc3dSmrgac_fn_c_check_decl "$LINENO" "fprintf_unlocked" "ac_cv_have_decl_fprintf_unlocked" "$ac_includes_default"
5118*c0a68be4Smrgif test "x$ac_cv_have_decl_fprintf_unlocked" = xyes; then :
51191debfc3dSmrg  ac_have_decl=1
51201debfc3dSmrgelse
51211debfc3dSmrg  ac_have_decl=0
51221debfc3dSmrgfi
51231debfc3dSmrg
51241debfc3dSmrgcat >>confdefs.h <<_ACEOF
51251debfc3dSmrg#define HAVE_DECL_FPRINTF_UNLOCKED $ac_have_decl
51261debfc3dSmrg_ACEOF
51271debfc3dSmrgac_fn_c_check_decl "$LINENO" "fputc_unlocked" "ac_cv_have_decl_fputc_unlocked" "$ac_includes_default"
5128*c0a68be4Smrgif test "x$ac_cv_have_decl_fputc_unlocked" = xyes; then :
51291debfc3dSmrg  ac_have_decl=1
51301debfc3dSmrgelse
51311debfc3dSmrg  ac_have_decl=0
51321debfc3dSmrgfi
51331debfc3dSmrg
51341debfc3dSmrgcat >>confdefs.h <<_ACEOF
51351debfc3dSmrg#define HAVE_DECL_FPUTC_UNLOCKED $ac_have_decl
51361debfc3dSmrg_ACEOF
51371debfc3dSmrgac_fn_c_check_decl "$LINENO" "fputs_unlocked" "ac_cv_have_decl_fputs_unlocked" "$ac_includes_default"
5138*c0a68be4Smrgif test "x$ac_cv_have_decl_fputs_unlocked" = xyes; then :
51391debfc3dSmrg  ac_have_decl=1
51401debfc3dSmrgelse
51411debfc3dSmrg  ac_have_decl=0
51421debfc3dSmrgfi
51431debfc3dSmrg
51441debfc3dSmrgcat >>confdefs.h <<_ACEOF
51451debfc3dSmrg#define HAVE_DECL_FPUTS_UNLOCKED $ac_have_decl
51461debfc3dSmrg_ACEOF
51471debfc3dSmrgac_fn_c_check_decl "$LINENO" "fread_unlocked" "ac_cv_have_decl_fread_unlocked" "$ac_includes_default"
5148*c0a68be4Smrgif test "x$ac_cv_have_decl_fread_unlocked" = xyes; then :
51491debfc3dSmrg  ac_have_decl=1
51501debfc3dSmrgelse
51511debfc3dSmrg  ac_have_decl=0
51521debfc3dSmrgfi
51531debfc3dSmrg
51541debfc3dSmrgcat >>confdefs.h <<_ACEOF
51551debfc3dSmrg#define HAVE_DECL_FREAD_UNLOCKED $ac_have_decl
51561debfc3dSmrg_ACEOF
51571debfc3dSmrgac_fn_c_check_decl "$LINENO" "fwrite_unlocked" "ac_cv_have_decl_fwrite_unlocked" "$ac_includes_default"
5158*c0a68be4Smrgif test "x$ac_cv_have_decl_fwrite_unlocked" = xyes; then :
51591debfc3dSmrg  ac_have_decl=1
51601debfc3dSmrgelse
51611debfc3dSmrg  ac_have_decl=0
51621debfc3dSmrgfi
51631debfc3dSmrg
51641debfc3dSmrgcat >>confdefs.h <<_ACEOF
51651debfc3dSmrg#define HAVE_DECL_FWRITE_UNLOCKED $ac_have_decl
51661debfc3dSmrg_ACEOF
51671debfc3dSmrgac_fn_c_check_decl "$LINENO" "getchar_unlocked" "ac_cv_have_decl_getchar_unlocked" "$ac_includes_default"
5168*c0a68be4Smrgif test "x$ac_cv_have_decl_getchar_unlocked" = xyes; then :
51691debfc3dSmrg  ac_have_decl=1
51701debfc3dSmrgelse
51711debfc3dSmrg  ac_have_decl=0
51721debfc3dSmrgfi
51731debfc3dSmrg
51741debfc3dSmrgcat >>confdefs.h <<_ACEOF
51751debfc3dSmrg#define HAVE_DECL_GETCHAR_UNLOCKED $ac_have_decl
51761debfc3dSmrg_ACEOF
51771debfc3dSmrgac_fn_c_check_decl "$LINENO" "getc_unlocked" "ac_cv_have_decl_getc_unlocked" "$ac_includes_default"
5178*c0a68be4Smrgif test "x$ac_cv_have_decl_getc_unlocked" = xyes; then :
51791debfc3dSmrg  ac_have_decl=1
51801debfc3dSmrgelse
51811debfc3dSmrg  ac_have_decl=0
51821debfc3dSmrgfi
51831debfc3dSmrg
51841debfc3dSmrgcat >>confdefs.h <<_ACEOF
51851debfc3dSmrg#define HAVE_DECL_GETC_UNLOCKED $ac_have_decl
51861debfc3dSmrg_ACEOF
51871debfc3dSmrgac_fn_c_check_decl "$LINENO" "putchar_unlocked" "ac_cv_have_decl_putchar_unlocked" "$ac_includes_default"
5188*c0a68be4Smrgif test "x$ac_cv_have_decl_putchar_unlocked" = xyes; then :
51891debfc3dSmrg  ac_have_decl=1
51901debfc3dSmrgelse
51911debfc3dSmrg  ac_have_decl=0
51921debfc3dSmrgfi
51931debfc3dSmrg
51941debfc3dSmrgcat >>confdefs.h <<_ACEOF
51951debfc3dSmrg#define HAVE_DECL_PUTCHAR_UNLOCKED $ac_have_decl
51961debfc3dSmrg_ACEOF
51971debfc3dSmrgac_fn_c_check_decl "$LINENO" "putc_unlocked" "ac_cv_have_decl_putc_unlocked" "$ac_includes_default"
5198*c0a68be4Smrgif test "x$ac_cv_have_decl_putc_unlocked" = xyes; then :
51991debfc3dSmrg  ac_have_decl=1
52001debfc3dSmrgelse
52011debfc3dSmrg  ac_have_decl=0
52021debfc3dSmrgfi
52031debfc3dSmrg
52041debfc3dSmrgcat >>confdefs.h <<_ACEOF
52051debfc3dSmrg#define HAVE_DECL_PUTC_UNLOCKED $ac_have_decl
52061debfc3dSmrg_ACEOF
52071debfc3dSmrg
52081debfc3dSmrg
52091debfc3dSmrg# Checks for typedefs, structures, and compiler characteristics.
52101debfc3dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
52111debfc3dSmrg$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5212*c0a68be4Smrgif ${ac_cv_c_const+:} false; then :
52131debfc3dSmrg  $as_echo_n "(cached) " >&6
52141debfc3dSmrgelse
52151debfc3dSmrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52161debfc3dSmrg/* end confdefs.h.  */
52171debfc3dSmrg
52181debfc3dSmrgint
52191debfc3dSmrgmain ()
52201debfc3dSmrg{
5221*c0a68be4Smrg
52221debfc3dSmrg#ifndef __cplusplus
5223*c0a68be4Smrg  /* Ultrix mips cc rejects this sort of thing.  */
52241debfc3dSmrg  typedef int charset[2];
5225*c0a68be4Smrg  const charset cs = { 0, 0 };
52261debfc3dSmrg  /* SunOS 4.1.1 cc rejects this.  */
52271debfc3dSmrg  char const *const *pcpcc;
52281debfc3dSmrg  char **ppc;
52291debfc3dSmrg  /* NEC SVR4.0.2 mips cc rejects this.  */
52301debfc3dSmrg  struct point {int x, y;};
52311debfc3dSmrg  static struct point const zero = {0,0};
52321debfc3dSmrg  /* AIX XL C 1.02.0.0 rejects this.
52331debfc3dSmrg     It does not let you subtract one const X* pointer from another in
52341debfc3dSmrg     an arm of an if-expression whose if-part is not a constant
52351debfc3dSmrg     expression */
52361debfc3dSmrg  const char *g = "string";
52371debfc3dSmrg  pcpcc = &g + (g ? g-g : 0);
52381debfc3dSmrg  /* HPUX 7.0 cc rejects these. */
52391debfc3dSmrg  ++pcpcc;
52401debfc3dSmrg  ppc = (char**) pcpcc;
52411debfc3dSmrg  pcpcc = (char const *const *) ppc;
5242*c0a68be4Smrg  { /* SCO 3.2v4 cc rejects this sort of thing.  */
5243*c0a68be4Smrg    char tx;
5244*c0a68be4Smrg    char *t = &tx;
52451debfc3dSmrg    char const *s = 0 ? (char *) 0 : (char const *) 0;
52461debfc3dSmrg
52471debfc3dSmrg    *t++ = 0;
52481debfc3dSmrg    if (s) return 0;
52491debfc3dSmrg  }
52501debfc3dSmrg  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
52511debfc3dSmrg    int x[] = {25, 17};
52521debfc3dSmrg    const int *foo = &x[0];
52531debfc3dSmrg    ++foo;
52541debfc3dSmrg  }
52551debfc3dSmrg  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
52561debfc3dSmrg    typedef const int *iptr;
52571debfc3dSmrg    iptr p = 0;
52581debfc3dSmrg    ++p;
52591debfc3dSmrg  }
5260*c0a68be4Smrg  { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
52611debfc3dSmrg       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5262*c0a68be4Smrg    struct s { int j; const int *ap[3]; } bx;
5263*c0a68be4Smrg    struct s *b = &bx; b->j = 5;
52641debfc3dSmrg  }
52651debfc3dSmrg  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
52661debfc3dSmrg    const int foo = 10;
52671debfc3dSmrg    if (!foo) return 0;
52681debfc3dSmrg  }
52691debfc3dSmrg  return !cs[0] && !zero.x;
52701debfc3dSmrg#endif
52711debfc3dSmrg
52721debfc3dSmrg  ;
52731debfc3dSmrg  return 0;
52741debfc3dSmrg}
52751debfc3dSmrg_ACEOF
52761debfc3dSmrgif ac_fn_c_try_compile "$LINENO"; then :
52771debfc3dSmrg  ac_cv_c_const=yes
52781debfc3dSmrgelse
52791debfc3dSmrg  ac_cv_c_const=no
52801debfc3dSmrgfi
52811debfc3dSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52821debfc3dSmrgfi
52831debfc3dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
52841debfc3dSmrg$as_echo "$ac_cv_c_const" >&6; }
52851debfc3dSmrgif test $ac_cv_c_const = no; then
52861debfc3dSmrg
52871debfc3dSmrg$as_echo "#define const /**/" >>confdefs.h
52881debfc3dSmrg
52891debfc3dSmrgfi
52901debfc3dSmrg
52911debfc3dSmrg
52921debfc3dSmrg# Checks for library functions.
52931debfc3dSmrg
52941debfc3dSmrgac_fn_c_check_header_mongrel "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
5295*c0a68be4Smrgif test "x$ac_cv_header_sys_mman_h" = xyes; then :
52961debfc3dSmrg  gcc_header_sys_mman_h=yes
52971debfc3dSmrgelse
52981debfc3dSmrg  gcc_header_sys_mman_h=no
52991debfc3dSmrgfi
53001debfc3dSmrg
53011debfc3dSmrg
53021debfc3dSmrgac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
5303*c0a68be4Smrgif test "x$ac_cv_func_mmap" = xyes; then :
53041debfc3dSmrg  gcc_func_mmap=yes
53051debfc3dSmrgelse
53061debfc3dSmrg  gcc_func_mmap=no
53071debfc3dSmrgfi
53081debfc3dSmrg
53091debfc3dSmrgif test "$gcc_header_sys_mman_h" != yes \
53101debfc3dSmrg || test "$gcc_func_mmap" != yes; then
53111debfc3dSmrg   gcc_cv_func_mmap_file=no
53121debfc3dSmrg   gcc_cv_func_mmap_dev_zero=no
53131debfc3dSmrg   gcc_cv_func_mmap_anon=no
53141debfc3dSmrgelse
53151debfc3dSmrg   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether read-only mmap of a plain file works" >&5
53161debfc3dSmrg$as_echo_n "checking whether read-only mmap of a plain file works... " >&6; }
5317*c0a68be4Smrgif ${gcc_cv_func_mmap_file+:} false; then :
53181debfc3dSmrg  $as_echo_n "(cached) " >&6
53191debfc3dSmrgelse
53201debfc3dSmrg  # Add a system to this blacklist if
53211debfc3dSmrg   # mmap(0, stat_size, PROT_READ, MAP_PRIVATE, fd, 0) doesn't return a
53221debfc3dSmrg   # memory area containing the same data that you'd get if you applied
53231debfc3dSmrg   # read() to the same fd.  The only system known to have a problem here
53241debfc3dSmrg   # is VMS, where text files have record structure.
53251debfc3dSmrg   case "$host_os" in
53261debfc3dSmrg     *vms* | ultrix*)
53271debfc3dSmrg        gcc_cv_func_mmap_file=no ;;
53281debfc3dSmrg     *)
53291debfc3dSmrg        gcc_cv_func_mmap_file=yes;;
53301debfc3dSmrg   esac
53311debfc3dSmrgfi
53321debfc3dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_func_mmap_file" >&5
53331debfc3dSmrg$as_echo "$gcc_cv_func_mmap_file" >&6; }
53341debfc3dSmrg   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mmap from /dev/zero works" >&5
53351debfc3dSmrg$as_echo_n "checking whether mmap from /dev/zero works... " >&6; }
5336*c0a68be4Smrgif ${gcc_cv_func_mmap_dev_zero+:} false; then :
53371debfc3dSmrg  $as_echo_n "(cached) " >&6
53381debfc3dSmrgelse
53391debfc3dSmrg  # Add a system to this blacklist if it has mmap() but /dev/zero
53401debfc3dSmrg   # does not exist, or if mmapping /dev/zero does not give anonymous
53411debfc3dSmrg   # zeroed pages with both the following properties:
53421debfc3dSmrg   # 1. If you map N consecutive pages in with one call, and then
53431debfc3dSmrg   #    unmap any subset of those pages, the pages that were not
53441debfc3dSmrg   #    explicitly unmapped remain accessible.
53451debfc3dSmrg   # 2. If you map two adjacent blocks of memory and then unmap them
53461debfc3dSmrg   #    both at once, they must both go away.
53471debfc3dSmrg   # Systems known to be in this category are Windows (all variants),
53481debfc3dSmrg   # VMS, and Darwin.
53491debfc3dSmrg   case "$host_os" in
53501debfc3dSmrg     *vms* | cygwin* | pe | mingw* | darwin* | ultrix* | hpux10* | hpux11.00)
53511debfc3dSmrg        gcc_cv_func_mmap_dev_zero=no ;;
53521debfc3dSmrg     *)
53531debfc3dSmrg        gcc_cv_func_mmap_dev_zero=yes;;
53541debfc3dSmrg   esac
53551debfc3dSmrgfi
53561debfc3dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_func_mmap_dev_zero" >&5
53571debfc3dSmrg$as_echo "$gcc_cv_func_mmap_dev_zero" >&6; }
53581debfc3dSmrg
53591debfc3dSmrg   # Unlike /dev/zero, the MAP_ANON(YMOUS) defines can be probed for.
53601debfc3dSmrg   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANON(YMOUS)" >&5
53611debfc3dSmrg$as_echo_n "checking for MAP_ANON(YMOUS)... " >&6; }
5362*c0a68be4Smrgif ${gcc_cv_decl_map_anon+:} false; then :
53631debfc3dSmrg  $as_echo_n "(cached) " >&6
53641debfc3dSmrgelse
53651debfc3dSmrg  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53661debfc3dSmrg/* end confdefs.h.  */
53671debfc3dSmrg#include <sys/types.h>
53681debfc3dSmrg#include <sys/mman.h>
53691debfc3dSmrg#include <unistd.h>
53701debfc3dSmrg
53711debfc3dSmrg#ifndef MAP_ANONYMOUS
53721debfc3dSmrg#define MAP_ANONYMOUS MAP_ANON
53731debfc3dSmrg#endif
53741debfc3dSmrg
53751debfc3dSmrgint
53761debfc3dSmrgmain ()
53771debfc3dSmrg{
53781debfc3dSmrgint n = MAP_ANONYMOUS;
53791debfc3dSmrg  ;
53801debfc3dSmrg  return 0;
53811debfc3dSmrg}
53821debfc3dSmrg_ACEOF
53831debfc3dSmrgif ac_fn_c_try_compile "$LINENO"; then :
53841debfc3dSmrg  gcc_cv_decl_map_anon=yes
53851debfc3dSmrgelse
53861debfc3dSmrg  gcc_cv_decl_map_anon=no
53871debfc3dSmrgfi
53881debfc3dSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53891debfc3dSmrgfi
53901debfc3dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_decl_map_anon" >&5
53911debfc3dSmrg$as_echo "$gcc_cv_decl_map_anon" >&6; }
53921debfc3dSmrg
53931debfc3dSmrg   if test $gcc_cv_decl_map_anon = no; then
53941debfc3dSmrg     gcc_cv_func_mmap_anon=no
53951debfc3dSmrg   else
53961debfc3dSmrg     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mmap with MAP_ANON(YMOUS) works" >&5
53971debfc3dSmrg$as_echo_n "checking whether mmap with MAP_ANON(YMOUS) works... " >&6; }
5398*c0a68be4Smrgif ${gcc_cv_func_mmap_anon+:} false; then :
53991debfc3dSmrg  $as_echo_n "(cached) " >&6
54001debfc3dSmrgelse
54011debfc3dSmrg  # Add a system to this blacklist if it has mmap() and MAP_ANON or
54021debfc3dSmrg   # MAP_ANONYMOUS, but using mmap(..., MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
54031debfc3dSmrg   # doesn't give anonymous zeroed pages with the same properties listed
54041debfc3dSmrg   # above for use of /dev/zero.
54051debfc3dSmrg   # Systems known to be in this category are Windows, VMS, and SCO Unix.
54061debfc3dSmrg   case "$host_os" in
54071debfc3dSmrg     *vms* | cygwin* | pe | mingw* | sco* | udk* )
54081debfc3dSmrg        gcc_cv_func_mmap_anon=no ;;
54091debfc3dSmrg     *)
54101debfc3dSmrg        gcc_cv_func_mmap_anon=yes;;
54111debfc3dSmrg   esac
54121debfc3dSmrgfi
54131debfc3dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_func_mmap_anon" >&5
54141debfc3dSmrg$as_echo "$gcc_cv_func_mmap_anon" >&6; }
54151debfc3dSmrg   fi
54161debfc3dSmrgfi
54171debfc3dSmrg
54181debfc3dSmrgif test $gcc_cv_func_mmap_file = yes; then
54191debfc3dSmrg
54201debfc3dSmrg$as_echo "#define HAVE_MMAP_FILE 1" >>confdefs.h
54211debfc3dSmrg
54221debfc3dSmrgfi
54231debfc3dSmrgif test $gcc_cv_func_mmap_dev_zero = yes; then
54241debfc3dSmrg
54251debfc3dSmrg$as_echo "#define HAVE_MMAP_DEV_ZERO 1" >>confdefs.h
54261debfc3dSmrg
54271debfc3dSmrgfi
54281debfc3dSmrgif test $gcc_cv_func_mmap_anon = yes; then
54291debfc3dSmrg
54301debfc3dSmrg$as_echo "#define HAVE_MMAP_ANON 1" >>confdefs.h
54311debfc3dSmrg
54321debfc3dSmrgfi
54331debfc3dSmrg
54341debfc3dSmrg
54351debfc3dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
54361debfc3dSmrg$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
54371debfc3dSmrg# Check whether --enable-maintainer-mode was given.
54381debfc3dSmrgif test "${enable_maintainer_mode+set}" = set; then :
54391debfc3dSmrg  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
54401debfc3dSmrgelse
54411debfc3dSmrg  USE_MAINTAINER_MODE=no
54421debfc3dSmrgfi
54431debfc3dSmrg
54441debfc3dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
54451debfc3dSmrg$as_echo "$USE_MAINTAINER_MODE" >&6; }
54461debfc3dSmrgif test "$USE_MAINTAINER_MODE" = yes; then
54471debfc3dSmrg  MAINT=
54481debfc3dSmrgelse
54491debfc3dSmrg  MAINT='#'
54501debfc3dSmrgfi
54511debfc3dSmrg
54521debfc3dSmrg
54531debfc3dSmrgcat >>confdefs.h <<_ACEOF
54541debfc3dSmrg#define SED_PROGRAM "${SED}"
54551debfc3dSmrg_ACEOF
54561debfc3dSmrg
54571debfc3dSmrg
54581debfc3dSmrg# Determine what GCC version number to use in filesystem paths.
54591debfc3dSmrg
54601debfc3dSmrg  get_gcc_base_ver="cat"
54611debfc3dSmrg
54621debfc3dSmrg# Check whether --with-gcc-major-version-only was given.
54631debfc3dSmrgif test "${with_gcc_major_version_only+set}" = set; then :
54641debfc3dSmrg  withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
54651debfc3dSmrg        get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
54661debfc3dSmrg      fi
54671debfc3dSmrg
54681debfc3dSmrgfi
54691debfc3dSmrg
54701debfc3dSmrg
54711debfc3dSmrg
54721debfc3dSmrg
54731debfc3dSmrgac_config_headers="$ac_config_headers config.h"
54741debfc3dSmrg
54751debfc3dSmrgac_config_files="$ac_config_files Makefile mkheaders.almost:mkheaders.in"
54761debfc3dSmrg
54771debfc3dSmrgcat >confcache <<\_ACEOF
54781debfc3dSmrg# This file is a shell script that caches the results of configure
54791debfc3dSmrg# tests run on this system so they can be shared between configure
54801debfc3dSmrg# scripts and configure runs, see configure's option --config-cache.
54811debfc3dSmrg# It is not useful on other systems.  If it contains results you don't
54821debfc3dSmrg# want to keep, you may remove or edit it.
54831debfc3dSmrg#
54841debfc3dSmrg# config.status only pays attention to the cache file if you give it
54851debfc3dSmrg# the --recheck option to rerun configure.
54861debfc3dSmrg#
54871debfc3dSmrg# `ac_cv_env_foo' variables (set or unset) will be overridden when
54881debfc3dSmrg# loading this file, other *unset* `ac_cv_foo' will be assigned the
54891debfc3dSmrg# following values.
54901debfc3dSmrg
54911debfc3dSmrg_ACEOF
54921debfc3dSmrg
54931debfc3dSmrg# The following way of writing the cache mishandles newlines in values,
54941debfc3dSmrg# but we know of no workaround that is simple, portable, and efficient.
54951debfc3dSmrg# So, we kill variables containing newlines.
54961debfc3dSmrg# Ultrix sh set writes to stderr and can't be redirected directly,
54971debfc3dSmrg# and sets the high bit in the cache file unless we assign to the vars.
54981debfc3dSmrg(
54991debfc3dSmrg  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
55001debfc3dSmrg    eval ac_val=\$$ac_var
55011debfc3dSmrg    case $ac_val in #(
55021debfc3dSmrg    *${as_nl}*)
55031debfc3dSmrg      case $ac_var in #(
55041debfc3dSmrg      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
55051debfc3dSmrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
55061debfc3dSmrg      esac
55071debfc3dSmrg      case $ac_var in #(
55081debfc3dSmrg      _ | IFS | as_nl) ;; #(
55091debfc3dSmrg      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
55101debfc3dSmrg      *) { eval $ac_var=; unset $ac_var;} ;;
55111debfc3dSmrg      esac ;;
55121debfc3dSmrg    esac
55131debfc3dSmrg  done
55141debfc3dSmrg
55151debfc3dSmrg  (set) 2>&1 |
55161debfc3dSmrg    case $as_nl`(ac_space=' '; set) 2>&1` in #(
55171debfc3dSmrg    *${as_nl}ac_space=\ *)
55181debfc3dSmrg      # `set' does not quote correctly, so add quotes: double-quote
55191debfc3dSmrg      # substitution turns \\\\ into \\, and sed turns \\ into \.
55201debfc3dSmrg      sed -n \
55211debfc3dSmrg	"s/'/'\\\\''/g;
55221debfc3dSmrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
55231debfc3dSmrg      ;; #(
55241debfc3dSmrg    *)
55251debfc3dSmrg      # `set' quotes correctly as required by POSIX, so do not add quotes.
55261debfc3dSmrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
55271debfc3dSmrg      ;;
55281debfc3dSmrg    esac |
55291debfc3dSmrg    sort
55301debfc3dSmrg) |
55311debfc3dSmrg  sed '
55321debfc3dSmrg     /^ac_cv_env_/b end
55331debfc3dSmrg     t clear
55341debfc3dSmrg     :clear
55351debfc3dSmrg     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
55361debfc3dSmrg     t end
55371debfc3dSmrg     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
55381debfc3dSmrg     :end' >>confcache
55391debfc3dSmrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else
55401debfc3dSmrg  if test -w "$cache_file"; then
5541*c0a68be4Smrg    if test "x$cache_file" != "x/dev/null"; then
55421debfc3dSmrg      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
55431debfc3dSmrg$as_echo "$as_me: updating cache $cache_file" >&6;}
5544*c0a68be4Smrg      if test ! -f "$cache_file" || test -h "$cache_file"; then
5545*c0a68be4Smrg	cat confcache >"$cache_file"
5546*c0a68be4Smrg      else
5547*c0a68be4Smrg        case $cache_file in #(
5548*c0a68be4Smrg        */* | ?:*)
5549*c0a68be4Smrg	  mv -f confcache "$cache_file"$$ &&
5550*c0a68be4Smrg	  mv -f "$cache_file"$$ "$cache_file" ;; #(
5551*c0a68be4Smrg        *)
5552*c0a68be4Smrg	  mv -f confcache "$cache_file" ;;
5553*c0a68be4Smrg	esac
5554*c0a68be4Smrg      fi
5555*c0a68be4Smrg    fi
55561debfc3dSmrg  else
55571debfc3dSmrg    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
55581debfc3dSmrg$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
55591debfc3dSmrg  fi
55601debfc3dSmrgfi
55611debfc3dSmrgrm -f confcache
55621debfc3dSmrg
55631debfc3dSmrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix
55641debfc3dSmrg# Let make expand exec_prefix.
55651debfc3dSmrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
55661debfc3dSmrg
55671debfc3dSmrgDEFS=-DHAVE_CONFIG_H
55681debfc3dSmrg
55691debfc3dSmrgac_libobjs=
55701debfc3dSmrgac_ltlibobjs=
5571*c0a68be4SmrgU=
55721debfc3dSmrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
55731debfc3dSmrg  # 1. Remove the extension, and $U if already installed.
55741debfc3dSmrg  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
55751debfc3dSmrg  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
55761debfc3dSmrg  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
55771debfc3dSmrg  #    will be set to the directory where LIBOBJS objects are built.
55781debfc3dSmrg  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
55791debfc3dSmrg  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
55801debfc3dSmrgdone
55811debfc3dSmrgLIBOBJS=$ac_libobjs
55821debfc3dSmrg
55831debfc3dSmrgLTLIBOBJS=$ac_ltlibobjs
55841debfc3dSmrg
55851debfc3dSmrg
55861debfc3dSmrg
5587*c0a68be4Smrg: "${CONFIG_STATUS=./config.status}"
55881debfc3dSmrgac_write_fail=0
55891debfc3dSmrgac_clean_files_save=$ac_clean_files
55901debfc3dSmrgac_clean_files="$ac_clean_files $CONFIG_STATUS"
55911debfc3dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
55921debfc3dSmrg$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
55931debfc3dSmrgas_write_fail=0
55941debfc3dSmrgcat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
55951debfc3dSmrg#! $SHELL
55961debfc3dSmrg# Generated by $as_me.
55971debfc3dSmrg# Run this file to recreate the current configuration.
55981debfc3dSmrg# Compiler output produced by configure, useful for debugging
55991debfc3dSmrg# configure, is in config.log if it exists.
56001debfc3dSmrg
56011debfc3dSmrgdebug=false
56021debfc3dSmrgac_cs_recheck=false
56031debfc3dSmrgac_cs_silent=false
56041debfc3dSmrg
56051debfc3dSmrgSHELL=\${CONFIG_SHELL-$SHELL}
56061debfc3dSmrgexport SHELL
56071debfc3dSmrg_ASEOF
56081debfc3dSmrgcat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
56091debfc3dSmrg## -------------------- ##
56101debfc3dSmrg## M4sh Initialization. ##
56111debfc3dSmrg## -------------------- ##
56121debfc3dSmrg
56131debfc3dSmrg# Be more Bourne compatible
56141debfc3dSmrgDUALCASE=1; export DUALCASE # for MKS sh
56151debfc3dSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
56161debfc3dSmrg  emulate sh
56171debfc3dSmrg  NULLCMD=:
56181debfc3dSmrg  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
56191debfc3dSmrg  # is contrary to our usage.  Disable this feature.
56201debfc3dSmrg  alias -g '${1+"$@"}'='"$@"'
56211debfc3dSmrg  setopt NO_GLOB_SUBST
56221debfc3dSmrgelse
56231debfc3dSmrg  case `(set -o) 2>/dev/null` in #(
56241debfc3dSmrg  *posix*) :
56251debfc3dSmrg    set -o posix ;; #(
56261debfc3dSmrg  *) :
56271debfc3dSmrg     ;;
56281debfc3dSmrgesac
56291debfc3dSmrgfi
56301debfc3dSmrg
56311debfc3dSmrg
56321debfc3dSmrgas_nl='
56331debfc3dSmrg'
56341debfc3dSmrgexport as_nl
56351debfc3dSmrg# Printing a long string crashes Solaris 7 /usr/bin/printf.
56361debfc3dSmrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
56371debfc3dSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
56381debfc3dSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
56391debfc3dSmrg# Prefer a ksh shell builtin over an external printf program on Solaris,
56401debfc3dSmrg# but without wasting forks for bash or zsh.
56411debfc3dSmrgif test -z "$BASH_VERSION$ZSH_VERSION" \
56421debfc3dSmrg    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
56431debfc3dSmrg  as_echo='print -r --'
56441debfc3dSmrg  as_echo_n='print -rn --'
56451debfc3dSmrgelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
56461debfc3dSmrg  as_echo='printf %s\n'
56471debfc3dSmrg  as_echo_n='printf %s'
56481debfc3dSmrgelse
56491debfc3dSmrg  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56501debfc3dSmrg    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
56511debfc3dSmrg    as_echo_n='/usr/ucb/echo -n'
56521debfc3dSmrg  else
56531debfc3dSmrg    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56541debfc3dSmrg    as_echo_n_body='eval
56551debfc3dSmrg      arg=$1;
56561debfc3dSmrg      case $arg in #(
56571debfc3dSmrg      *"$as_nl"*)
56581debfc3dSmrg	expr "X$arg" : "X\\(.*\\)$as_nl";
56591debfc3dSmrg	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
56601debfc3dSmrg      esac;
56611debfc3dSmrg      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
56621debfc3dSmrg    '
56631debfc3dSmrg    export as_echo_n_body
56641debfc3dSmrg    as_echo_n='sh -c $as_echo_n_body as_echo'
56651debfc3dSmrg  fi
56661debfc3dSmrg  export as_echo_body
56671debfc3dSmrg  as_echo='sh -c $as_echo_body as_echo'
56681debfc3dSmrgfi
56691debfc3dSmrg
56701debfc3dSmrg# The user is always right.
56711debfc3dSmrgif test "${PATH_SEPARATOR+set}" != set; then
56721debfc3dSmrg  PATH_SEPARATOR=:
56731debfc3dSmrg  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
56741debfc3dSmrg    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
56751debfc3dSmrg      PATH_SEPARATOR=';'
56761debfc3dSmrg  }
56771debfc3dSmrgfi
56781debfc3dSmrg
56791debfc3dSmrg
56801debfc3dSmrg# IFS
56811debfc3dSmrg# We need space, tab and new line, in precisely that order.  Quoting is
56821debfc3dSmrg# there to prevent editors from complaining about space-tab.
56831debfc3dSmrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word
56841debfc3dSmrg# splitting by setting IFS to empty value.)
56851debfc3dSmrgIFS=" ""	$as_nl"
56861debfc3dSmrg
56871debfc3dSmrg# Find who we are.  Look in the path if we contain no directory separator.
5688*c0a68be4Smrgas_myself=
56891debfc3dSmrgcase $0 in #((
56901debfc3dSmrg  *[\\/]* ) as_myself=$0 ;;
56911debfc3dSmrg  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
56921debfc3dSmrgfor as_dir in $PATH
56931debfc3dSmrgdo
56941debfc3dSmrg  IFS=$as_save_IFS
56951debfc3dSmrg  test -z "$as_dir" && as_dir=.
56961debfc3dSmrg    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
56971debfc3dSmrg  done
56981debfc3dSmrgIFS=$as_save_IFS
56991debfc3dSmrg
57001debfc3dSmrg     ;;
57011debfc3dSmrgesac
57021debfc3dSmrg# We did not find ourselves, most probably we were run as `sh COMMAND'
57031debfc3dSmrg# in which case we are not to be found in the path.
57041debfc3dSmrgif test "x$as_myself" = x; then
57051debfc3dSmrg  as_myself=$0
57061debfc3dSmrgfi
57071debfc3dSmrgif test ! -f "$as_myself"; then
57081debfc3dSmrg  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
57091debfc3dSmrg  exit 1
57101debfc3dSmrgfi
57111debfc3dSmrg
57121debfc3dSmrg# Unset variables that we do not need and which cause bugs (e.g. in
57131debfc3dSmrg# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
57141debfc3dSmrg# suppresses any "Segmentation fault" message there.  '((' could
57151debfc3dSmrg# trigger a bug in pdksh 5.2.14.
57161debfc3dSmrgfor as_var in BASH_ENV ENV MAIL MAILPATH
57171debfc3dSmrgdo eval test x\${$as_var+set} = xset \
57181debfc3dSmrg  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
57191debfc3dSmrgdone
57201debfc3dSmrgPS1='$ '
57211debfc3dSmrgPS2='> '
57221debfc3dSmrgPS4='+ '
57231debfc3dSmrg
57241debfc3dSmrg# NLS nuisances.
57251debfc3dSmrgLC_ALL=C
57261debfc3dSmrgexport LC_ALL
57271debfc3dSmrgLANGUAGE=C
57281debfc3dSmrgexport LANGUAGE
57291debfc3dSmrg
57301debfc3dSmrg# CDPATH.
57311debfc3dSmrg(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
57321debfc3dSmrg
57331debfc3dSmrg
5734*c0a68be4Smrg# as_fn_error STATUS ERROR [LINENO LOG_FD]
5735*c0a68be4Smrg# ----------------------------------------
57361debfc3dSmrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
57371debfc3dSmrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5738*c0a68be4Smrg# script with STATUS, using 1 if that was 0.
57391debfc3dSmrgas_fn_error ()
57401debfc3dSmrg{
5741*c0a68be4Smrg  as_status=$1; test $as_status -eq 0 && as_status=1
5742*c0a68be4Smrg  if test "$4"; then
5743*c0a68be4Smrg    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5744*c0a68be4Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
57451debfc3dSmrg  fi
5746*c0a68be4Smrg  $as_echo "$as_me: error: $2" >&2
57471debfc3dSmrg  as_fn_exit $as_status
57481debfc3dSmrg} # as_fn_error
57491debfc3dSmrg
57501debfc3dSmrg
57511debfc3dSmrg# as_fn_set_status STATUS
57521debfc3dSmrg# -----------------------
57531debfc3dSmrg# Set $? to STATUS, without forking.
57541debfc3dSmrgas_fn_set_status ()
57551debfc3dSmrg{
57561debfc3dSmrg  return $1
57571debfc3dSmrg} # as_fn_set_status
57581debfc3dSmrg
57591debfc3dSmrg# as_fn_exit STATUS
57601debfc3dSmrg# -----------------
57611debfc3dSmrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
57621debfc3dSmrgas_fn_exit ()
57631debfc3dSmrg{
57641debfc3dSmrg  set +e
57651debfc3dSmrg  as_fn_set_status $1
57661debfc3dSmrg  exit $1
57671debfc3dSmrg} # as_fn_exit
57681debfc3dSmrg
57691debfc3dSmrg# as_fn_unset VAR
57701debfc3dSmrg# ---------------
57711debfc3dSmrg# Portably unset VAR.
57721debfc3dSmrgas_fn_unset ()
57731debfc3dSmrg{
57741debfc3dSmrg  { eval $1=; unset $1;}
57751debfc3dSmrg}
57761debfc3dSmrgas_unset=as_fn_unset
57771debfc3dSmrg# as_fn_append VAR VALUE
57781debfc3dSmrg# ----------------------
57791debfc3dSmrg# Append the text in VALUE to the end of the definition contained in VAR. Take
57801debfc3dSmrg# advantage of any shell optimizations that allow amortized linear growth over
57811debfc3dSmrg# repeated appends, instead of the typical quadratic growth present in naive
57821debfc3dSmrg# implementations.
57831debfc3dSmrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
57841debfc3dSmrg  eval 'as_fn_append ()
57851debfc3dSmrg  {
57861debfc3dSmrg    eval $1+=\$2
57871debfc3dSmrg  }'
57881debfc3dSmrgelse
57891debfc3dSmrg  as_fn_append ()
57901debfc3dSmrg  {
57911debfc3dSmrg    eval $1=\$$1\$2
57921debfc3dSmrg  }
57931debfc3dSmrgfi # as_fn_append
57941debfc3dSmrg
57951debfc3dSmrg# as_fn_arith ARG...
57961debfc3dSmrg# ------------------
57971debfc3dSmrg# Perform arithmetic evaluation on the ARGs, and store the result in the
57981debfc3dSmrg# global $as_val. Take advantage of shells that can avoid forks. The arguments
57991debfc3dSmrg# must be portable across $(()) and expr.
58001debfc3dSmrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
58011debfc3dSmrg  eval 'as_fn_arith ()
58021debfc3dSmrg  {
58031debfc3dSmrg    as_val=$(( $* ))
58041debfc3dSmrg  }'
58051debfc3dSmrgelse
58061debfc3dSmrg  as_fn_arith ()
58071debfc3dSmrg  {
58081debfc3dSmrg    as_val=`expr "$@" || test $? -eq 1`
58091debfc3dSmrg  }
58101debfc3dSmrgfi # as_fn_arith
58111debfc3dSmrg
58121debfc3dSmrg
58131debfc3dSmrgif expr a : '\(a\)' >/dev/null 2>&1 &&
58141debfc3dSmrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
58151debfc3dSmrg  as_expr=expr
58161debfc3dSmrgelse
58171debfc3dSmrg  as_expr=false
58181debfc3dSmrgfi
58191debfc3dSmrg
58201debfc3dSmrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
58211debfc3dSmrg  as_basename=basename
58221debfc3dSmrgelse
58231debfc3dSmrg  as_basename=false
58241debfc3dSmrgfi
58251debfc3dSmrg
58261debfc3dSmrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
58271debfc3dSmrg  as_dirname=dirname
58281debfc3dSmrgelse
58291debfc3dSmrg  as_dirname=false
58301debfc3dSmrgfi
58311debfc3dSmrg
58321debfc3dSmrgas_me=`$as_basename -- "$0" ||
58331debfc3dSmrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
58341debfc3dSmrg	 X"$0" : 'X\(//\)$' \| \
58351debfc3dSmrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
58361debfc3dSmrg$as_echo X/"$0" |
58371debfc3dSmrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
58381debfc3dSmrg	    s//\1/
58391debfc3dSmrg	    q
58401debfc3dSmrg	  }
58411debfc3dSmrg	  /^X\/\(\/\/\)$/{
58421debfc3dSmrg	    s//\1/
58431debfc3dSmrg	    q
58441debfc3dSmrg	  }
58451debfc3dSmrg	  /^X\/\(\/\).*/{
58461debfc3dSmrg	    s//\1/
58471debfc3dSmrg	    q
58481debfc3dSmrg	  }
58491debfc3dSmrg	  s/.*/./; q'`
58501debfc3dSmrg
58511debfc3dSmrg# Avoid depending upon Character Ranges.
58521debfc3dSmrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
58531debfc3dSmrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
58541debfc3dSmrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
58551debfc3dSmrgas_cr_digits='0123456789'
58561debfc3dSmrgas_cr_alnum=$as_cr_Letters$as_cr_digits
58571debfc3dSmrg
58581debfc3dSmrgECHO_C= ECHO_N= ECHO_T=
58591debfc3dSmrgcase `echo -n x` in #(((((
58601debfc3dSmrg-n*)
58611debfc3dSmrg  case `echo 'xy\c'` in
58621debfc3dSmrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
58631debfc3dSmrg  xy)  ECHO_C='\c';;
58641debfc3dSmrg  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
58651debfc3dSmrg       ECHO_T='	';;
58661debfc3dSmrg  esac;;
58671debfc3dSmrg*)
58681debfc3dSmrg  ECHO_N='-n';;
58691debfc3dSmrgesac
58701debfc3dSmrg
58711debfc3dSmrgrm -f conf$$ conf$$.exe conf$$.file
58721debfc3dSmrgif test -d conf$$.dir; then
58731debfc3dSmrg  rm -f conf$$.dir/conf$$.file
58741debfc3dSmrgelse
58751debfc3dSmrg  rm -f conf$$.dir
58761debfc3dSmrg  mkdir conf$$.dir 2>/dev/null
58771debfc3dSmrgfi
58781debfc3dSmrgif (echo >conf$$.file) 2>/dev/null; then
58791debfc3dSmrg  if ln -s conf$$.file conf$$ 2>/dev/null; then
58801debfc3dSmrg    as_ln_s='ln -s'
58811debfc3dSmrg    # ... but there are two gotchas:
58821debfc3dSmrg    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
58831debfc3dSmrg    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5884*c0a68be4Smrg    # In both cases, we have to default to `cp -pR'.
58851debfc3dSmrg    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5886*c0a68be4Smrg      as_ln_s='cp -pR'
58871debfc3dSmrg  elif ln conf$$.file conf$$ 2>/dev/null; then
58881debfc3dSmrg    as_ln_s=ln
58891debfc3dSmrg  else
5890*c0a68be4Smrg    as_ln_s='cp -pR'
58911debfc3dSmrg  fi
58921debfc3dSmrgelse
5893*c0a68be4Smrg  as_ln_s='cp -pR'
58941debfc3dSmrgfi
58951debfc3dSmrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
58961debfc3dSmrgrmdir conf$$.dir 2>/dev/null
58971debfc3dSmrg
58981debfc3dSmrg
58991debfc3dSmrg# as_fn_mkdir_p
59001debfc3dSmrg# -------------
59011debfc3dSmrg# Create "$as_dir" as a directory, including parents if necessary.
59021debfc3dSmrgas_fn_mkdir_p ()
59031debfc3dSmrg{
59041debfc3dSmrg
59051debfc3dSmrg  case $as_dir in #(
59061debfc3dSmrg  -*) as_dir=./$as_dir;;
59071debfc3dSmrg  esac
59081debfc3dSmrg  test -d "$as_dir" || eval $as_mkdir_p || {
59091debfc3dSmrg    as_dirs=
59101debfc3dSmrg    while :; do
59111debfc3dSmrg      case $as_dir in #(
59121debfc3dSmrg      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
59131debfc3dSmrg      *) as_qdir=$as_dir;;
59141debfc3dSmrg      esac
59151debfc3dSmrg      as_dirs="'$as_qdir' $as_dirs"
59161debfc3dSmrg      as_dir=`$as_dirname -- "$as_dir" ||
59171debfc3dSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
59181debfc3dSmrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
59191debfc3dSmrg	 X"$as_dir" : 'X\(//\)$' \| \
59201debfc3dSmrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
59211debfc3dSmrg$as_echo X"$as_dir" |
59221debfc3dSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
59231debfc3dSmrg	    s//\1/
59241debfc3dSmrg	    q
59251debfc3dSmrg	  }
59261debfc3dSmrg	  /^X\(\/\/\)[^/].*/{
59271debfc3dSmrg	    s//\1/
59281debfc3dSmrg	    q
59291debfc3dSmrg	  }
59301debfc3dSmrg	  /^X\(\/\/\)$/{
59311debfc3dSmrg	    s//\1/
59321debfc3dSmrg	    q
59331debfc3dSmrg	  }
59341debfc3dSmrg	  /^X\(\/\).*/{
59351debfc3dSmrg	    s//\1/
59361debfc3dSmrg	    q
59371debfc3dSmrg	  }
59381debfc3dSmrg	  s/.*/./; q'`
59391debfc3dSmrg      test -d "$as_dir" && break
59401debfc3dSmrg    done
59411debfc3dSmrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
5942*c0a68be4Smrg  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
59431debfc3dSmrg
59441debfc3dSmrg
59451debfc3dSmrg} # as_fn_mkdir_p
59461debfc3dSmrgif mkdir -p . 2>/dev/null; then
59471debfc3dSmrg  as_mkdir_p='mkdir -p "$as_dir"'
59481debfc3dSmrgelse
59491debfc3dSmrg  test -d ./-p && rmdir ./-p
59501debfc3dSmrg  as_mkdir_p=false
59511debfc3dSmrgfi
59521debfc3dSmrg
5953*c0a68be4Smrg
5954*c0a68be4Smrg# as_fn_executable_p FILE
5955*c0a68be4Smrg# -----------------------
5956*c0a68be4Smrg# Test if FILE is an executable regular file.
5957*c0a68be4Smrgas_fn_executable_p ()
5958*c0a68be4Smrg{
5959*c0a68be4Smrg  test -f "$1" && test -x "$1"
5960*c0a68be4Smrg} # as_fn_executable_p
59611debfc3dSmrgas_test_x='test -x'
5962*c0a68be4Smrgas_executable_p=as_fn_executable_p
59631debfc3dSmrg
59641debfc3dSmrg# Sed expression to map a string onto a valid CPP name.
59651debfc3dSmrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
59661debfc3dSmrg
59671debfc3dSmrg# Sed expression to map a string onto a valid variable name.
59681debfc3dSmrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
59691debfc3dSmrg
59701debfc3dSmrg
59711debfc3dSmrgexec 6>&1
59721debfc3dSmrg## ----------------------------------- ##
59731debfc3dSmrg## Main body of $CONFIG_STATUS script. ##
59741debfc3dSmrg## ----------------------------------- ##
59751debfc3dSmrg_ASEOF
59761debfc3dSmrgtest $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
59771debfc3dSmrg
59781debfc3dSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59791debfc3dSmrg# Save the log message, to keep $0 and so on meaningful, and to
59801debfc3dSmrg# report actual input values of CONFIG_FILES etc. instead of their
59811debfc3dSmrg# values after options handling.
59821debfc3dSmrgac_log="
59831debfc3dSmrgThis file was extended by fixincludes $as_me  , which was
5984*c0a68be4Smrggenerated by GNU Autoconf 2.69.  Invocation command line was
59851debfc3dSmrg
59861debfc3dSmrg  CONFIG_FILES    = $CONFIG_FILES
59871debfc3dSmrg  CONFIG_HEADERS  = $CONFIG_HEADERS
59881debfc3dSmrg  CONFIG_LINKS    = $CONFIG_LINKS
59891debfc3dSmrg  CONFIG_COMMANDS = $CONFIG_COMMANDS
59901debfc3dSmrg  $ $0 $@
59911debfc3dSmrg
59921debfc3dSmrgon `(hostname || uname -n) 2>/dev/null | sed 1q`
59931debfc3dSmrg"
59941debfc3dSmrg
59951debfc3dSmrg_ACEOF
59961debfc3dSmrg
59971debfc3dSmrgcase $ac_config_files in *"
59981debfc3dSmrg"*) set x $ac_config_files; shift; ac_config_files=$*;;
59991debfc3dSmrgesac
60001debfc3dSmrg
60011debfc3dSmrgcase $ac_config_headers in *"
60021debfc3dSmrg"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
60031debfc3dSmrgesac
60041debfc3dSmrg
60051debfc3dSmrg
60061debfc3dSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60071debfc3dSmrg# Files that config.status was made for.
60081debfc3dSmrgconfig_files="$ac_config_files"
60091debfc3dSmrgconfig_headers="$ac_config_headers"
60101debfc3dSmrg
60111debfc3dSmrg_ACEOF
60121debfc3dSmrg
60131debfc3dSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60141debfc3dSmrgac_cs_usage="\
60151debfc3dSmrg\`$as_me' instantiates files and other configuration actions
60161debfc3dSmrgfrom templates according to the current configuration.  Unless the files
60171debfc3dSmrgand actions are specified as TAGs, all are instantiated by default.
60181debfc3dSmrg
60191debfc3dSmrgUsage: $0 [OPTION]... [TAG]...
60201debfc3dSmrg
60211debfc3dSmrg  -h, --help       print this help, then exit
60221debfc3dSmrg  -V, --version    print version number and configuration settings, then exit
6023*c0a68be4Smrg      --config     print configuration, then exit
60241debfc3dSmrg  -q, --quiet, --silent
60251debfc3dSmrg                   do not print progress messages
60261debfc3dSmrg  -d, --debug      don't remove temporary files
60271debfc3dSmrg      --recheck    update $as_me by reconfiguring in the same conditions
60281debfc3dSmrg      --file=FILE[:TEMPLATE]
60291debfc3dSmrg                   instantiate the configuration file FILE
60301debfc3dSmrg      --header=FILE[:TEMPLATE]
60311debfc3dSmrg                   instantiate the configuration header FILE
60321debfc3dSmrg
60331debfc3dSmrgConfiguration files:
60341debfc3dSmrg$config_files
60351debfc3dSmrg
60361debfc3dSmrgConfiguration headers:
60371debfc3dSmrg$config_headers
60381debfc3dSmrg
60391debfc3dSmrgReport bugs to the package provider."
60401debfc3dSmrg
60411debfc3dSmrg_ACEOF
60421debfc3dSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6043*c0a68be4Smrgac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
60441debfc3dSmrgac_cs_version="\\
60451debfc3dSmrgfixincludes config.status
6046*c0a68be4Smrgconfigured by $0, generated by GNU Autoconf 2.69,
6047*c0a68be4Smrg  with options \\"\$ac_cs_config\\"
60481debfc3dSmrg
6049*c0a68be4SmrgCopyright (C) 2012 Free Software Foundation, Inc.
60501debfc3dSmrgThis config.status script is free software; the Free Software Foundation
60511debfc3dSmrggives unlimited permission to copy, distribute and modify it."
60521debfc3dSmrg
60531debfc3dSmrgac_pwd='$ac_pwd'
60541debfc3dSmrgsrcdir='$srcdir'
60551debfc3dSmrgtest -n "\$AWK" || AWK=awk
60561debfc3dSmrg_ACEOF
60571debfc3dSmrg
60581debfc3dSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60591debfc3dSmrg# The default lists apply if the user does not specify any file.
60601debfc3dSmrgac_need_defaults=:
60611debfc3dSmrgwhile test $# != 0
60621debfc3dSmrgdo
60631debfc3dSmrg  case $1 in
6064*c0a68be4Smrg  --*=?*)
60651debfc3dSmrg    ac_option=`expr "X$1" : 'X\([^=]*\)='`
60661debfc3dSmrg    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
60671debfc3dSmrg    ac_shift=:
60681debfc3dSmrg    ;;
6069*c0a68be4Smrg  --*=)
6070*c0a68be4Smrg    ac_option=`expr "X$1" : 'X\([^=]*\)='`
6071*c0a68be4Smrg    ac_optarg=
6072*c0a68be4Smrg    ac_shift=:
6073*c0a68be4Smrg    ;;
60741debfc3dSmrg  *)
60751debfc3dSmrg    ac_option=$1
60761debfc3dSmrg    ac_optarg=$2
60771debfc3dSmrg    ac_shift=shift
60781debfc3dSmrg    ;;
60791debfc3dSmrg  esac
60801debfc3dSmrg
60811debfc3dSmrg  case $ac_option in
60821debfc3dSmrg  # Handling of the options.
60831debfc3dSmrg  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
60841debfc3dSmrg    ac_cs_recheck=: ;;
60851debfc3dSmrg  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
60861debfc3dSmrg    $as_echo "$ac_cs_version"; exit ;;
6087*c0a68be4Smrg  --config | --confi | --conf | --con | --co | --c )
6088*c0a68be4Smrg    $as_echo "$ac_cs_config"; exit ;;
60891debfc3dSmrg  --debug | --debu | --deb | --de | --d | -d )
60901debfc3dSmrg    debug=: ;;
60911debfc3dSmrg  --file | --fil | --fi | --f )
60921debfc3dSmrg    $ac_shift
60931debfc3dSmrg    case $ac_optarg in
60941debfc3dSmrg    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6095*c0a68be4Smrg    '') as_fn_error $? "missing file argument" ;;
60961debfc3dSmrg    esac
60971debfc3dSmrg    as_fn_append CONFIG_FILES " '$ac_optarg'"
60981debfc3dSmrg    ac_need_defaults=false;;
60991debfc3dSmrg  --header | --heade | --head | --hea )
61001debfc3dSmrg    $ac_shift
61011debfc3dSmrg    case $ac_optarg in
61021debfc3dSmrg    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
61031debfc3dSmrg    esac
61041debfc3dSmrg    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
61051debfc3dSmrg    ac_need_defaults=false;;
61061debfc3dSmrg  --he | --h)
61071debfc3dSmrg    # Conflict between --help and --header
6108*c0a68be4Smrg    as_fn_error $? "ambiguous option: \`$1'
61091debfc3dSmrgTry \`$0 --help' for more information.";;
61101debfc3dSmrg  --help | --hel | -h )
61111debfc3dSmrg    $as_echo "$ac_cs_usage"; exit ;;
61121debfc3dSmrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
61131debfc3dSmrg  | -silent | --silent | --silen | --sile | --sil | --si | --s)
61141debfc3dSmrg    ac_cs_silent=: ;;
61151debfc3dSmrg
61161debfc3dSmrg  # This is an error.
6117*c0a68be4Smrg  -*) as_fn_error $? "unrecognized option: \`$1'
61181debfc3dSmrgTry \`$0 --help' for more information." ;;
61191debfc3dSmrg
61201debfc3dSmrg  *) as_fn_append ac_config_targets " $1"
61211debfc3dSmrg     ac_need_defaults=false ;;
61221debfc3dSmrg
61231debfc3dSmrg  esac
61241debfc3dSmrg  shift
61251debfc3dSmrgdone
61261debfc3dSmrg
61271debfc3dSmrgac_configure_extra_args=
61281debfc3dSmrg
61291debfc3dSmrgif $ac_cs_silent; then
61301debfc3dSmrg  exec 6>/dev/null
61311debfc3dSmrg  ac_configure_extra_args="$ac_configure_extra_args --silent"
61321debfc3dSmrgfi
61331debfc3dSmrg
61341debfc3dSmrg_ACEOF
61351debfc3dSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
61361debfc3dSmrgif \$ac_cs_recheck; then
6137*c0a68be4Smrg  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
61381debfc3dSmrg  shift
61391debfc3dSmrg  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
61401debfc3dSmrg  CONFIG_SHELL='$SHELL'
61411debfc3dSmrg  export CONFIG_SHELL
61421debfc3dSmrg  exec "\$@"
61431debfc3dSmrgfi
61441debfc3dSmrg
61451debfc3dSmrg_ACEOF
61461debfc3dSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
61471debfc3dSmrgexec 5>>config.log
61481debfc3dSmrg{
61491debfc3dSmrg  echo
61501debfc3dSmrg  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
61511debfc3dSmrg## Running $as_me. ##
61521debfc3dSmrg_ASBOX
61531debfc3dSmrg  $as_echo "$ac_log"
61541debfc3dSmrg} >&5
61551debfc3dSmrg
61561debfc3dSmrg_ACEOF
61571debfc3dSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
61581debfc3dSmrg_ACEOF
61591debfc3dSmrg
61601debfc3dSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
61611debfc3dSmrg
61621debfc3dSmrg# Handling of arguments.
61631debfc3dSmrgfor ac_config_target in $ac_config_targets
61641debfc3dSmrgdo
61651debfc3dSmrg  case $ac_config_target in
61661debfc3dSmrg    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
61671debfc3dSmrg    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
61681debfc3dSmrg    "mkheaders.almost") CONFIG_FILES="$CONFIG_FILES mkheaders.almost:mkheaders.in" ;;
61691debfc3dSmrg
6170*c0a68be4Smrg  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
61711debfc3dSmrg  esac
61721debfc3dSmrgdone
61731debfc3dSmrg
61741debfc3dSmrg
61751debfc3dSmrg# If the user did not use the arguments to specify the items to instantiate,
61761debfc3dSmrg# then the envvar interface is used.  Set only those that are not.
61771debfc3dSmrg# We use the long form for the default assignment because of an extremely
61781debfc3dSmrg# bizarre bug on SunOS 4.1.3.
61791debfc3dSmrgif $ac_need_defaults; then
61801debfc3dSmrg  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
61811debfc3dSmrg  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
61821debfc3dSmrgfi
61831debfc3dSmrg
61841debfc3dSmrg# Have a temporary directory for convenience.  Make it in the build tree
61851debfc3dSmrg# simply because there is no reason against having it here, and in addition,
61861debfc3dSmrg# creating and moving files from /tmp can sometimes cause problems.
61871debfc3dSmrg# Hook for its removal unless debugging.
61881debfc3dSmrg# Note that there is a small window in which the directory will not be cleaned:
61891debfc3dSmrg# after its creation but before its name has been assigned to `$tmp'.
61901debfc3dSmrg$debug ||
61911debfc3dSmrg{
6192*c0a68be4Smrg  tmp= ac_tmp=
61931debfc3dSmrg  trap 'exit_status=$?
6194*c0a68be4Smrg  : "${ac_tmp:=$tmp}"
6195*c0a68be4Smrg  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
61961debfc3dSmrg' 0
61971debfc3dSmrg  trap 'as_fn_exit 1' 1 2 13 15
61981debfc3dSmrg}
61991debfc3dSmrg# Create a (secure) tmp directory for tmp files.
62001debfc3dSmrg
62011debfc3dSmrg{
62021debfc3dSmrg  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6203*c0a68be4Smrg  test -d "$tmp"
62041debfc3dSmrg}  ||
62051debfc3dSmrg{
62061debfc3dSmrg  tmp=./conf$$-$RANDOM
62071debfc3dSmrg  (umask 077 && mkdir "$tmp")
6208*c0a68be4Smrg} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6209*c0a68be4Smrgac_tmp=$tmp
62101debfc3dSmrg
62111debfc3dSmrg# Set up the scripts for CONFIG_FILES section.
62121debfc3dSmrg# No need to generate them if there are no CONFIG_FILES.
62131debfc3dSmrg# This happens for instance with `./config.status config.h'.
62141debfc3dSmrgif test -n "$CONFIG_FILES"; then
62151debfc3dSmrg
62161debfc3dSmrg
62171debfc3dSmrgac_cr=`echo X | tr X '\015'`
62181debfc3dSmrg# On cygwin, bash can eat \r inside `` if the user requested igncr.
62191debfc3dSmrg# But we know of no other shell where ac_cr would be empty at this
62201debfc3dSmrg# point, so we can use a bashism as a fallback.
62211debfc3dSmrgif test "x$ac_cr" = x; then
62221debfc3dSmrg  eval ac_cr=\$\'\\r\'
62231debfc3dSmrgfi
62241debfc3dSmrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
62251debfc3dSmrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6226*c0a68be4Smrg  ac_cs_awk_cr='\\r'
62271debfc3dSmrgelse
62281debfc3dSmrg  ac_cs_awk_cr=$ac_cr
62291debfc3dSmrgfi
62301debfc3dSmrg
6231*c0a68be4Smrgecho 'BEGIN {' >"$ac_tmp/subs1.awk" &&
62321debfc3dSmrg_ACEOF
62331debfc3dSmrg
62341debfc3dSmrg
62351debfc3dSmrg{
62361debfc3dSmrg  echo "cat >conf$$subs.awk <<_ACEOF" &&
62371debfc3dSmrg  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
62381debfc3dSmrg  echo "_ACEOF"
62391debfc3dSmrg} >conf$$subs.sh ||
6240*c0a68be4Smrg  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6241*c0a68be4Smrgac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
62421debfc3dSmrgac_delim='%!_!# '
62431debfc3dSmrgfor ac_last_try in false false false false false :; do
62441debfc3dSmrg  . ./conf$$subs.sh ||
6245*c0a68be4Smrg    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
62461debfc3dSmrg
62471debfc3dSmrg  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
62481debfc3dSmrg  if test $ac_delim_n = $ac_delim_num; then
62491debfc3dSmrg    break
62501debfc3dSmrg  elif $ac_last_try; then
6251*c0a68be4Smrg    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
62521debfc3dSmrg  else
62531debfc3dSmrg    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
62541debfc3dSmrg  fi
62551debfc3dSmrgdone
62561debfc3dSmrgrm -f conf$$subs.sh
62571debfc3dSmrg
62581debfc3dSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6259*c0a68be4Smrgcat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
62601debfc3dSmrg_ACEOF
62611debfc3dSmrgsed -n '
62621debfc3dSmrgh
62631debfc3dSmrgs/^/S["/; s/!.*/"]=/
62641debfc3dSmrgp
62651debfc3dSmrgg
62661debfc3dSmrgs/^[^!]*!//
62671debfc3dSmrg:repl
62681debfc3dSmrgt repl
62691debfc3dSmrgs/'"$ac_delim"'$//
62701debfc3dSmrgt delim
62711debfc3dSmrg:nl
62721debfc3dSmrgh
6273*c0a68be4Smrgs/\(.\{148\}\)..*/\1/
62741debfc3dSmrgt more1
62751debfc3dSmrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
62761debfc3dSmrgp
62771debfc3dSmrgn
62781debfc3dSmrgb repl
62791debfc3dSmrg:more1
62801debfc3dSmrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/
62811debfc3dSmrgp
62821debfc3dSmrgg
62831debfc3dSmrgs/.\{148\}//
62841debfc3dSmrgt nl
62851debfc3dSmrg:delim
62861debfc3dSmrgh
6287*c0a68be4Smrgs/\(.\{148\}\)..*/\1/
62881debfc3dSmrgt more2
62891debfc3dSmrgs/["\\]/\\&/g; s/^/"/; s/$/"/
62901debfc3dSmrgp
62911debfc3dSmrgb
62921debfc3dSmrg:more2
62931debfc3dSmrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/
62941debfc3dSmrgp
62951debfc3dSmrgg
62961debfc3dSmrgs/.\{148\}//
62971debfc3dSmrgt delim
62981debfc3dSmrg' <conf$$subs.awk | sed '
62991debfc3dSmrg/^[^""]/{
63001debfc3dSmrg  N
63011debfc3dSmrg  s/\n//
63021debfc3dSmrg}
63031debfc3dSmrg' >>$CONFIG_STATUS || ac_write_fail=1
63041debfc3dSmrgrm -f conf$$subs.awk
63051debfc3dSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
63061debfc3dSmrg_ACAWK
6307*c0a68be4Smrgcat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
63081debfc3dSmrg  for (key in S) S_is_set[key] = 1
63091debfc3dSmrg  FS = ""
63101debfc3dSmrg
63111debfc3dSmrg}
63121debfc3dSmrg{
63131debfc3dSmrg  line = $ 0
63141debfc3dSmrg  nfields = split(line, field, "@")
63151debfc3dSmrg  substed = 0
63161debfc3dSmrg  len = length(field[1])
63171debfc3dSmrg  for (i = 2; i < nfields; i++) {
63181debfc3dSmrg    key = field[i]
63191debfc3dSmrg    keylen = length(key)
63201debfc3dSmrg    if (S_is_set[key]) {
63211debfc3dSmrg      value = S[key]
63221debfc3dSmrg      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
63231debfc3dSmrg      len += length(value) + length(field[++i])
63241debfc3dSmrg      substed = 1
63251debfc3dSmrg    } else
63261debfc3dSmrg      len += 1 + keylen
63271debfc3dSmrg  }
63281debfc3dSmrg
63291debfc3dSmrg  print line
63301debfc3dSmrg}
63311debfc3dSmrg
63321debfc3dSmrg_ACAWK
63331debfc3dSmrg_ACEOF
63341debfc3dSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
63351debfc3dSmrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
63361debfc3dSmrg  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
63371debfc3dSmrgelse
63381debfc3dSmrg  cat
6339*c0a68be4Smrgfi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6340*c0a68be4Smrg  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
63411debfc3dSmrg_ACEOF
63421debfc3dSmrg
6343*c0a68be4Smrg# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6344*c0a68be4Smrg# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
63451debfc3dSmrg# trailing colons and then remove the whole line if VPATH becomes empty
63461debfc3dSmrg# (actually we leave an empty line to preserve line numbers).
63471debfc3dSmrgif test "x$srcdir" = x.; then
6348*c0a68be4Smrg  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
6349*c0a68be4Smrgh
6350*c0a68be4Smrgs///
6351*c0a68be4Smrgs/^/:/
6352*c0a68be4Smrgs/[	 ]*$/:/
6353*c0a68be4Smrgs/:\$(srcdir):/:/g
6354*c0a68be4Smrgs/:\${srcdir}:/:/g
6355*c0a68be4Smrgs/:@srcdir@:/:/g
6356*c0a68be4Smrgs/^:*//
63571debfc3dSmrgs/:*$//
6358*c0a68be4Smrgx
6359*c0a68be4Smrgs/\(=[	 ]*\).*/\1/
6360*c0a68be4SmrgG
6361*c0a68be4Smrgs/\n//
63621debfc3dSmrgs/^[^=]*=[	 ]*$//
63631debfc3dSmrg}'
63641debfc3dSmrgfi
63651debfc3dSmrg
63661debfc3dSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
63671debfc3dSmrgfi # test -n "$CONFIG_FILES"
63681debfc3dSmrg
63691debfc3dSmrg# Set up the scripts for CONFIG_HEADERS section.
63701debfc3dSmrg# No need to generate them if there are no CONFIG_HEADERS.
63711debfc3dSmrg# This happens for instance with `./config.status Makefile'.
63721debfc3dSmrgif test -n "$CONFIG_HEADERS"; then
6373*c0a68be4Smrgcat >"$ac_tmp/defines.awk" <<\_ACAWK ||
63741debfc3dSmrgBEGIN {
63751debfc3dSmrg_ACEOF
63761debfc3dSmrg
63771debfc3dSmrg# Transform confdefs.h into an awk script `defines.awk', embedded as
63781debfc3dSmrg# here-document in config.status, that substitutes the proper values into
63791debfc3dSmrg# config.h.in to produce config.h.
63801debfc3dSmrg
63811debfc3dSmrg# Create a delimiter string that does not exist in confdefs.h, to ease
63821debfc3dSmrg# handling of long lines.
63831debfc3dSmrgac_delim='%!_!# '
63841debfc3dSmrgfor ac_last_try in false false :; do
6385*c0a68be4Smrg  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
6386*c0a68be4Smrg  if test -z "$ac_tt"; then
63871debfc3dSmrg    break
63881debfc3dSmrg  elif $ac_last_try; then
6389*c0a68be4Smrg    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
63901debfc3dSmrg  else
63911debfc3dSmrg    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
63921debfc3dSmrg  fi
63931debfc3dSmrgdone
63941debfc3dSmrg
63951debfc3dSmrg# For the awk script, D is an array of macro values keyed by name,
63961debfc3dSmrg# likewise P contains macro parameters if any.  Preserve backslash
63971debfc3dSmrg# newline sequences.
63981debfc3dSmrg
63991debfc3dSmrgac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
64001debfc3dSmrgsed -n '
64011debfc3dSmrgs/.\{148\}/&'"$ac_delim"'/g
64021debfc3dSmrgt rset
64031debfc3dSmrg:rset
64041debfc3dSmrgs/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
64051debfc3dSmrgt def
64061debfc3dSmrgd
64071debfc3dSmrg:def
64081debfc3dSmrgs/\\$//
64091debfc3dSmrgt bsnl
64101debfc3dSmrgs/["\\]/\\&/g
64111debfc3dSmrgs/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
64121debfc3dSmrgD["\1"]=" \3"/p
64131debfc3dSmrgs/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
64141debfc3dSmrgd
64151debfc3dSmrg:bsnl
64161debfc3dSmrgs/["\\]/\\&/g
64171debfc3dSmrgs/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
64181debfc3dSmrgD["\1"]=" \3\\\\\\n"\\/p
64191debfc3dSmrgt cont
64201debfc3dSmrgs/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
64211debfc3dSmrgt cont
64221debfc3dSmrgd
64231debfc3dSmrg:cont
64241debfc3dSmrgn
64251debfc3dSmrgs/.\{148\}/&'"$ac_delim"'/g
64261debfc3dSmrgt clear
64271debfc3dSmrg:clear
64281debfc3dSmrgs/\\$//
64291debfc3dSmrgt bsnlc
64301debfc3dSmrgs/["\\]/\\&/g; s/^/"/; s/$/"/p
64311debfc3dSmrgd
64321debfc3dSmrg:bsnlc
64331debfc3dSmrgs/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
64341debfc3dSmrgb cont
64351debfc3dSmrg' <confdefs.h | sed '
64361debfc3dSmrgs/'"$ac_delim"'/"\\\
64371debfc3dSmrg"/g' >>$CONFIG_STATUS || ac_write_fail=1
64381debfc3dSmrg
64391debfc3dSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
64401debfc3dSmrg  for (key in D) D_is_set[key] = 1
64411debfc3dSmrg  FS = ""
64421debfc3dSmrg}
64431debfc3dSmrg/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
64441debfc3dSmrg  line = \$ 0
64451debfc3dSmrg  split(line, arg, " ")
64461debfc3dSmrg  if (arg[1] == "#") {
64471debfc3dSmrg    defundef = arg[2]
64481debfc3dSmrg    mac1 = arg[3]
64491debfc3dSmrg  } else {
64501debfc3dSmrg    defundef = substr(arg[1], 2)
64511debfc3dSmrg    mac1 = arg[2]
64521debfc3dSmrg  }
64531debfc3dSmrg  split(mac1, mac2, "(") #)
64541debfc3dSmrg  macro = mac2[1]
64551debfc3dSmrg  prefix = substr(line, 1, index(line, defundef) - 1)
64561debfc3dSmrg  if (D_is_set[macro]) {
64571debfc3dSmrg    # Preserve the white space surrounding the "#".
64581debfc3dSmrg    print prefix "define", macro P[macro] D[macro]
64591debfc3dSmrg    next
64601debfc3dSmrg  } else {
64611debfc3dSmrg    # Replace #undef with comments.  This is necessary, for example,
64621debfc3dSmrg    # in the case of _POSIX_SOURCE, which is predefined and required
64631debfc3dSmrg    # on some systems where configure will not decide to define it.
64641debfc3dSmrg    if (defundef == "undef") {
64651debfc3dSmrg      print "/*", prefix defundef, macro, "*/"
64661debfc3dSmrg      next
64671debfc3dSmrg    }
64681debfc3dSmrg  }
64691debfc3dSmrg}
64701debfc3dSmrg{ print }
64711debfc3dSmrg_ACAWK
64721debfc3dSmrg_ACEOF
64731debfc3dSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6474*c0a68be4Smrg  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
64751debfc3dSmrgfi # test -n "$CONFIG_HEADERS"
64761debfc3dSmrg
64771debfc3dSmrg
64781debfc3dSmrgeval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
64791debfc3dSmrgshift
64801debfc3dSmrgfor ac_tag
64811debfc3dSmrgdo
64821debfc3dSmrg  case $ac_tag in
64831debfc3dSmrg  :[FHLC]) ac_mode=$ac_tag; continue;;
64841debfc3dSmrg  esac
64851debfc3dSmrg  case $ac_mode$ac_tag in
64861debfc3dSmrg  :[FHL]*:*);;
6487*c0a68be4Smrg  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
64881debfc3dSmrg  :[FH]-) ac_tag=-:-;;
64891debfc3dSmrg  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
64901debfc3dSmrg  esac
64911debfc3dSmrg  ac_save_IFS=$IFS
64921debfc3dSmrg  IFS=:
64931debfc3dSmrg  set x $ac_tag
64941debfc3dSmrg  IFS=$ac_save_IFS
64951debfc3dSmrg  shift
64961debfc3dSmrg  ac_file=$1
64971debfc3dSmrg  shift
64981debfc3dSmrg
64991debfc3dSmrg  case $ac_mode in
65001debfc3dSmrg  :L) ac_source=$1;;
65011debfc3dSmrg  :[FH])
65021debfc3dSmrg    ac_file_inputs=
65031debfc3dSmrg    for ac_f
65041debfc3dSmrg    do
65051debfc3dSmrg      case $ac_f in
6506*c0a68be4Smrg      -) ac_f="$ac_tmp/stdin";;
65071debfc3dSmrg      *) # Look for the file first in the build tree, then in the source tree
65081debfc3dSmrg	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
65091debfc3dSmrg	 # because $ac_f cannot contain `:'.
65101debfc3dSmrg	 test -f "$ac_f" ||
65111debfc3dSmrg	   case $ac_f in
65121debfc3dSmrg	   [\\/$]*) false;;
65131debfc3dSmrg	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
65141debfc3dSmrg	   esac ||
6515*c0a68be4Smrg	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
65161debfc3dSmrg      esac
65171debfc3dSmrg      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
65181debfc3dSmrg      as_fn_append ac_file_inputs " '$ac_f'"
65191debfc3dSmrg    done
65201debfc3dSmrg
65211debfc3dSmrg    # Let's still pretend it is `configure' which instantiates (i.e., don't
65221debfc3dSmrg    # use $as_me), people would be surprised to read:
65231debfc3dSmrg    #    /* config.h.  Generated by config.status.  */
65241debfc3dSmrg    configure_input='Generated from '`
65251debfc3dSmrg	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
65261debfc3dSmrg	`' by configure.'
65271debfc3dSmrg    if test x"$ac_file" != x-; then
65281debfc3dSmrg      configure_input="$ac_file.  $configure_input"
65291debfc3dSmrg      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
65301debfc3dSmrg$as_echo "$as_me: creating $ac_file" >&6;}
65311debfc3dSmrg    fi
65321debfc3dSmrg    # Neutralize special characters interpreted by sed in replacement strings.
65331debfc3dSmrg    case $configure_input in #(
65341debfc3dSmrg    *\&* | *\|* | *\\* )
65351debfc3dSmrg       ac_sed_conf_input=`$as_echo "$configure_input" |
65361debfc3dSmrg       sed 's/[\\\\&|]/\\\\&/g'`;; #(
65371debfc3dSmrg    *) ac_sed_conf_input=$configure_input;;
65381debfc3dSmrg    esac
65391debfc3dSmrg
65401debfc3dSmrg    case $ac_tag in
6541*c0a68be4Smrg    *:-:* | *:-) cat >"$ac_tmp/stdin" \
6542*c0a68be4Smrg      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
65431debfc3dSmrg    esac
65441debfc3dSmrg    ;;
65451debfc3dSmrg  esac
65461debfc3dSmrg
65471debfc3dSmrg  ac_dir=`$as_dirname -- "$ac_file" ||
65481debfc3dSmrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
65491debfc3dSmrg	 X"$ac_file" : 'X\(//\)[^/]' \| \
65501debfc3dSmrg	 X"$ac_file" : 'X\(//\)$' \| \
65511debfc3dSmrg	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
65521debfc3dSmrg$as_echo X"$ac_file" |
65531debfc3dSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
65541debfc3dSmrg	    s//\1/
65551debfc3dSmrg	    q
65561debfc3dSmrg	  }
65571debfc3dSmrg	  /^X\(\/\/\)[^/].*/{
65581debfc3dSmrg	    s//\1/
65591debfc3dSmrg	    q
65601debfc3dSmrg	  }
65611debfc3dSmrg	  /^X\(\/\/\)$/{
65621debfc3dSmrg	    s//\1/
65631debfc3dSmrg	    q
65641debfc3dSmrg	  }
65651debfc3dSmrg	  /^X\(\/\).*/{
65661debfc3dSmrg	    s//\1/
65671debfc3dSmrg	    q
65681debfc3dSmrg	  }
65691debfc3dSmrg	  s/.*/./; q'`
65701debfc3dSmrg  as_dir="$ac_dir"; as_fn_mkdir_p
65711debfc3dSmrg  ac_builddir=.
65721debfc3dSmrg
65731debfc3dSmrgcase "$ac_dir" in
65741debfc3dSmrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
65751debfc3dSmrg*)
65761debfc3dSmrg  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
65771debfc3dSmrg  # A ".." for each directory in $ac_dir_suffix.
65781debfc3dSmrg  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
65791debfc3dSmrg  case $ac_top_builddir_sub in
65801debfc3dSmrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
65811debfc3dSmrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
65821debfc3dSmrg  esac ;;
65831debfc3dSmrgesac
65841debfc3dSmrgac_abs_top_builddir=$ac_pwd
65851debfc3dSmrgac_abs_builddir=$ac_pwd$ac_dir_suffix
65861debfc3dSmrg# for backward compatibility:
65871debfc3dSmrgac_top_builddir=$ac_top_build_prefix
65881debfc3dSmrg
65891debfc3dSmrgcase $srcdir in
65901debfc3dSmrg  .)  # We are building in place.
65911debfc3dSmrg    ac_srcdir=.
65921debfc3dSmrg    ac_top_srcdir=$ac_top_builddir_sub
65931debfc3dSmrg    ac_abs_top_srcdir=$ac_pwd ;;
65941debfc3dSmrg  [\\/]* | ?:[\\/]* )  # Absolute name.
65951debfc3dSmrg    ac_srcdir=$srcdir$ac_dir_suffix;
65961debfc3dSmrg    ac_top_srcdir=$srcdir
65971debfc3dSmrg    ac_abs_top_srcdir=$srcdir ;;
65981debfc3dSmrg  *) # Relative name.
65991debfc3dSmrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
66001debfc3dSmrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
66011debfc3dSmrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
66021debfc3dSmrgesac
66031debfc3dSmrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
66041debfc3dSmrg
66051debfc3dSmrg
66061debfc3dSmrg  case $ac_mode in
66071debfc3dSmrg  :F)
66081debfc3dSmrg  #
66091debfc3dSmrg  # CONFIG_FILE
66101debfc3dSmrg  #
66111debfc3dSmrg
66121debfc3dSmrg_ACEOF
66131debfc3dSmrg
66141debfc3dSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66151debfc3dSmrg# If the template does not know about datarootdir, expand it.
66161debfc3dSmrg# FIXME: This hack should be removed a few years after 2.60.
66171debfc3dSmrgac_datarootdir_hack=; ac_datarootdir_seen=
66181debfc3dSmrgac_sed_dataroot='
66191debfc3dSmrg/datarootdir/ {
66201debfc3dSmrg  p
66211debfc3dSmrg  q
66221debfc3dSmrg}
66231debfc3dSmrg/@datadir@/p
66241debfc3dSmrg/@docdir@/p
66251debfc3dSmrg/@infodir@/p
66261debfc3dSmrg/@localedir@/p
66271debfc3dSmrg/@mandir@/p'
66281debfc3dSmrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
66291debfc3dSmrg*datarootdir*) ac_datarootdir_seen=yes;;
66301debfc3dSmrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
66311debfc3dSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
66321debfc3dSmrg$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
66331debfc3dSmrg_ACEOF
66341debfc3dSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66351debfc3dSmrg  ac_datarootdir_hack='
66361debfc3dSmrg  s&@datadir@&$datadir&g
66371debfc3dSmrg  s&@docdir@&$docdir&g
66381debfc3dSmrg  s&@infodir@&$infodir&g
66391debfc3dSmrg  s&@localedir@&$localedir&g
66401debfc3dSmrg  s&@mandir@&$mandir&g
66411debfc3dSmrg  s&\\\${datarootdir}&$datarootdir&g' ;;
66421debfc3dSmrgesac
66431debfc3dSmrg_ACEOF
66441debfc3dSmrg
66451debfc3dSmrg# Neutralize VPATH when `$srcdir' = `.'.
66461debfc3dSmrg# Shell code in configure.ac might set extrasub.
66471debfc3dSmrg# FIXME: do we really want to maintain this feature?
66481debfc3dSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66491debfc3dSmrgac_sed_extra="$ac_vpsub
66501debfc3dSmrg$extrasub
66511debfc3dSmrg_ACEOF
66521debfc3dSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66531debfc3dSmrg:t
66541debfc3dSmrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
66551debfc3dSmrgs|@configure_input@|$ac_sed_conf_input|;t t
66561debfc3dSmrgs&@top_builddir@&$ac_top_builddir_sub&;t t
66571debfc3dSmrgs&@top_build_prefix@&$ac_top_build_prefix&;t t
66581debfc3dSmrgs&@srcdir@&$ac_srcdir&;t t
66591debfc3dSmrgs&@abs_srcdir@&$ac_abs_srcdir&;t t
66601debfc3dSmrgs&@top_srcdir@&$ac_top_srcdir&;t t
66611debfc3dSmrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
66621debfc3dSmrgs&@builddir@&$ac_builddir&;t t
66631debfc3dSmrgs&@abs_builddir@&$ac_abs_builddir&;t t
66641debfc3dSmrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t
66651debfc3dSmrg$ac_datarootdir_hack
66661debfc3dSmrg"
6667*c0a68be4Smrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6668*c0a68be4Smrg  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
66691debfc3dSmrg
66701debfc3dSmrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6671*c0a68be4Smrg  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6672*c0a68be4Smrg  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
6673*c0a68be4Smrg      "$ac_tmp/out"`; test -z "$ac_out"; } &&
66741debfc3dSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6675*c0a68be4Smrgwhich seems to be undefined.  Please make sure it is defined" >&5
66761debfc3dSmrg$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6677*c0a68be4Smrgwhich seems to be undefined.  Please make sure it is defined" >&2;}
66781debfc3dSmrg
6679*c0a68be4Smrg  rm -f "$ac_tmp/stdin"
66801debfc3dSmrg  case $ac_file in
6681*c0a68be4Smrg  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6682*c0a68be4Smrg  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
66831debfc3dSmrg  esac \
6684*c0a68be4Smrg  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
66851debfc3dSmrg ;;
66861debfc3dSmrg  :H)
66871debfc3dSmrg  #
66881debfc3dSmrg  # CONFIG_HEADER
66891debfc3dSmrg  #
66901debfc3dSmrg  if test x"$ac_file" != x-; then
66911debfc3dSmrg    {
66921debfc3dSmrg      $as_echo "/* $configure_input  */" \
6693*c0a68be4Smrg      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6694*c0a68be4Smrg    } >"$ac_tmp/config.h" \
6695*c0a68be4Smrg      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6696*c0a68be4Smrg    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
66971debfc3dSmrg      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
66981debfc3dSmrg$as_echo "$as_me: $ac_file is unchanged" >&6;}
66991debfc3dSmrg    else
67001debfc3dSmrg      rm -f "$ac_file"
6701*c0a68be4Smrg      mv "$ac_tmp/config.h" "$ac_file" \
6702*c0a68be4Smrg	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
67031debfc3dSmrg    fi
67041debfc3dSmrg  else
67051debfc3dSmrg    $as_echo "/* $configure_input  */" \
6706*c0a68be4Smrg      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6707*c0a68be4Smrg      || as_fn_error $? "could not create -" "$LINENO" 5
67081debfc3dSmrg  fi
67091debfc3dSmrg ;;
67101debfc3dSmrg
67111debfc3dSmrg
67121debfc3dSmrg  esac
67131debfc3dSmrg
67141debfc3dSmrg
67151debfc3dSmrg  case $ac_file$ac_mode in
67161debfc3dSmrg    "config.h":H) echo timestamp > stamp-h ;;
67171debfc3dSmrg
67181debfc3dSmrg  esac
67191debfc3dSmrgdone # for ac_tag
67201debfc3dSmrg
67211debfc3dSmrg
67221debfc3dSmrgas_fn_exit 0
67231debfc3dSmrg_ACEOF
67241debfc3dSmrgac_clean_files=$ac_clean_files_save
67251debfc3dSmrg
67261debfc3dSmrgtest $ac_write_fail = 0 ||
6727*c0a68be4Smrg  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
67281debfc3dSmrg
67291debfc3dSmrg
67301debfc3dSmrg# configure is writing to config.log, and then calls config.status.
67311debfc3dSmrg# config.status does its own redirection, appending to config.log.
67321debfc3dSmrg# Unfortunately, on DOS this fails, as config.log is still kept open
67331debfc3dSmrg# by configure, so config.status won't be able to write to it; its
67341debfc3dSmrg# output is simply discarded.  So we exec the FD to /dev/null,
67351debfc3dSmrg# effectively closing config.log, so it can be properly (re)opened and
67361debfc3dSmrg# appended to by config.status.  When coming back to configure, we
67371debfc3dSmrg# need to make the FD available again.
67381debfc3dSmrgif test "$no_create" != yes; then
67391debfc3dSmrg  ac_cs_success=:
67401debfc3dSmrg  ac_config_status_args=
67411debfc3dSmrg  test "$silent" = yes &&
67421debfc3dSmrg    ac_config_status_args="$ac_config_status_args --quiet"
67431debfc3dSmrg  exec 5>/dev/null
67441debfc3dSmrg  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
67451debfc3dSmrg  exec 5>>config.log
67461debfc3dSmrg  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
67471debfc3dSmrg  # would make configure fail if this is the last instruction.
6748*c0a68be4Smrg  $ac_cs_success || as_fn_exit 1
67491debfc3dSmrgfi
67501debfc3dSmrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
67511debfc3dSmrg  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
67521debfc3dSmrg$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
67531debfc3dSmrgfi
67541debfc3dSmrg
6755