1ffab5952Smrg#! /bin/sh
2ffab5952Smrg# Guess values for system-dependent variables and create Makefiles.
3ea972ba2Smrg# Generated by GNU Autoconf 2.71 for util-macros 1.20.2.
4ffab5952Smrg#
5ea972ba2Smrg# Report bugs to <https://gitlab.freedesktop.org/xorg/util/macros/-/issues>.
6ffab5952Smrg#
7ffab5952Smrg#
86781a5f7Smrg# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
96781a5f7Smrg# Inc.
10ffab5952Smrg#
11ffab5952Smrg#
12ffab5952Smrg# This configure script is free software; the Free Software Foundation
13ffab5952Smrg# gives unlimited permission to copy, distribute and modify it.
14ffab5952Smrg## -------------------- ##
15ffab5952Smrg## M4sh Initialization. ##
16ffab5952Smrg## -------------------- ##
17ffab5952Smrg
18ffab5952Smrg# Be more Bourne compatible
19ffab5952SmrgDUALCASE=1; export DUALCASE # for MKS sh
206781a5f7Smrgas_nop=:
216781a5f7Smrgif test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
226781a5f7Smrgthen :
23ffab5952Smrg  emulate sh
24ffab5952Smrg  NULLCMD=:
25ffab5952Smrg  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26ffab5952Smrg  # is contrary to our usage.  Disable this feature.
27ffab5952Smrg  alias -g '${1+"$@"}'='"$@"'
28ffab5952Smrg  setopt NO_GLOB_SUBST
296781a5f7Smrgelse $as_nop
30ffab5952Smrg  case `(set -o) 2>/dev/null` in #(
31ffab5952Smrg  *posix*) :
32ffab5952Smrg    set -o posix ;; #(
33ffab5952Smrg  *) :
34ffab5952Smrg     ;;
35ffab5952Smrgesac
36ffab5952Smrgfi
37ffab5952Smrg
38ffab5952Smrg
396781a5f7Smrg
406781a5f7Smrg# Reset variables that may have inherited troublesome values from
416781a5f7Smrg# the environment.
426781a5f7Smrg
436781a5f7Smrg# IFS needs to be set, to space, tab, and newline, in precisely that order.
446781a5f7Smrg# (If _AS_PATH_WALK were called with IFS unset, it would have the
456781a5f7Smrg# side effect of setting IFS to empty, thus disabling word splitting.)
466781a5f7Smrg# Quoting is to prevent editors from complaining about space-tab.
47ffab5952Smrgas_nl='
48ffab5952Smrg'
49ffab5952Smrgexport as_nl
506781a5f7SmrgIFS=" ""	$as_nl"
516781a5f7Smrg
526781a5f7SmrgPS1='$ '
536781a5f7SmrgPS2='> '
546781a5f7SmrgPS4='+ '
556781a5f7Smrg
566781a5f7Smrg# Ensure predictable behavior from utilities with locale-dependent output.
576781a5f7SmrgLC_ALL=C
586781a5f7Smrgexport LC_ALL
596781a5f7SmrgLANGUAGE=C
606781a5f7Smrgexport LANGUAGE
616781a5f7Smrg
626781a5f7Smrg# We cannot yet rely on "unset" to work, but we need these variables
636781a5f7Smrg# to be unset--not just set to an empty or harmless value--now, to
646781a5f7Smrg# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
656781a5f7Smrg# also avoids known problems related to "unset" and subshell syntax
666781a5f7Smrg# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
676781a5f7Smrgfor as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
686781a5f7Smrgdo eval test \${$as_var+y} \
696781a5f7Smrg  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
706781a5f7Smrgdone
716781a5f7Smrg
726781a5f7Smrg# Ensure that fds 0, 1, and 2 are open.
736781a5f7Smrgif (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
746781a5f7Smrgif (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
756781a5f7Smrgif (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
76ffab5952Smrg
77ffab5952Smrg# The user is always right.
786781a5f7Smrgif ${PATH_SEPARATOR+false} :; then
79ffab5952Smrg  PATH_SEPARATOR=:
80ffab5952Smrg  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81ffab5952Smrg    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82ffab5952Smrg      PATH_SEPARATOR=';'
83ffab5952Smrg  }
84ffab5952Smrgfi
85ffab5952Smrg
86ffab5952Smrg
87ffab5952Smrg# Find who we are.  Look in the path if we contain no directory separator.
88ffab5952Smrgas_myself=
89ffab5952Smrgcase $0 in #((
90ffab5952Smrg  *[\\/]* ) as_myself=$0 ;;
91ffab5952Smrg  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
92ffab5952Smrgfor as_dir in $PATH
93ffab5952Smrgdo
94ffab5952Smrg  IFS=$as_save_IFS
956781a5f7Smrg  case $as_dir in #(((
966781a5f7Smrg    '') as_dir=./ ;;
976781a5f7Smrg    */) ;;
986781a5f7Smrg    *) as_dir=$as_dir/ ;;
996781a5f7Smrg  esac
1006781a5f7Smrg    test -r "$as_dir$0" && as_myself=$as_dir$0 && break
101ffab5952Smrg  done
102ffab5952SmrgIFS=$as_save_IFS
103ffab5952Smrg
104ffab5952Smrg     ;;
105ffab5952Smrgesac
106ffab5952Smrg# We did not find ourselves, most probably we were run as `sh COMMAND'
107ffab5952Smrg# in which case we are not to be found in the path.
108ffab5952Smrgif test "x$as_myself" = x; then
109ffab5952Smrg  as_myself=$0
110ffab5952Smrgfi
111ffab5952Smrgif test ! -f "$as_myself"; then
1126781a5f7Smrg  printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113ffab5952Smrg  exit 1
114ffab5952Smrgfi
115ffab5952Smrg
116ffab5952Smrg
11767e4e4deSmrg# Use a proper internal environment variable to ensure we don't fall
11867e4e4deSmrg  # into an infinite loop, continuously re-executing ourselves.
11967e4e4deSmrg  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
12067e4e4deSmrg    _as_can_reexec=no; export _as_can_reexec;
12167e4e4deSmrg    # We cannot yet assume a decent shell, so we have to provide a
12267e4e4deSmrg# neutralization value for shells without unset; and this also
12367e4e4deSmrg# works around shells that cannot unset nonexistent variables.
12467e4e4deSmrg# Preserve -v and -x to the replacement shell.
12567e4e4deSmrgBASH_ENV=/dev/null
12667e4e4deSmrgENV=/dev/null
12767e4e4deSmrg(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
12867e4e4deSmrgcase $- in # ((((
12967e4e4deSmrg  *v*x* | *x*v* ) as_opts=-vx ;;
13067e4e4deSmrg  *v* ) as_opts=-v ;;
13167e4e4deSmrg  *x* ) as_opts=-x ;;
13267e4e4deSmrg  * ) as_opts= ;;
13367e4e4deSmrgesac
13467e4e4deSmrgexec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
13567e4e4deSmrg# Admittedly, this is quite paranoid, since all the known shells bail
13667e4e4deSmrg# out after a failed `exec'.
1376781a5f7Smrgprintf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
1386781a5f7Smrgexit 255
13967e4e4deSmrg  fi
14067e4e4deSmrg  # We don't want this to propagate to other subprocesses.
14167e4e4deSmrg          { _as_can_reexec=; unset _as_can_reexec;}
142ffab5952Smrgif test "x$CONFIG_SHELL" = x; then
1436781a5f7Smrg  as_bourne_compatible="as_nop=:
1446781a5f7Smrgif test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
1456781a5f7Smrgthen :
146ffab5952Smrg  emulate sh
147ffab5952Smrg  NULLCMD=:
148ffab5952Smrg  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
149ffab5952Smrg  # is contrary to our usage.  Disable this feature.
150ffab5952Smrg  alias -g '\${1+\"\$@\"}'='\"\$@\"'
151ffab5952Smrg  setopt NO_GLOB_SUBST
1526781a5f7Smrgelse \$as_nop
153ffab5952Smrg  case \`(set -o) 2>/dev/null\` in #(
154ffab5952Smrg  *posix*) :
155ffab5952Smrg    set -o posix ;; #(
156ffab5952Smrg  *) :
157ffab5952Smrg     ;;
158ffab5952Smrgesac
159ffab5952Smrgfi
160ffab5952Smrg"
161ffab5952Smrg  as_required="as_fn_return () { (exit \$1); }
162ffab5952Smrgas_fn_success () { as_fn_return 0; }
163ffab5952Smrgas_fn_failure () { as_fn_return 1; }
164ffab5952Smrgas_fn_ret_success () { return 0; }
165ffab5952Smrgas_fn_ret_failure () { return 1; }
166ffab5952Smrg
167ffab5952Smrgexitcode=0
168ffab5952Smrgas_fn_success || { exitcode=1; echo as_fn_success failed.; }
169ffab5952Smrgas_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170ffab5952Smrgas_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171ffab5952Smrgas_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
1726781a5f7Smrgif ( set x; as_fn_ret_success y && test x = \"\$1\" )
1736781a5f7Smrgthen :
174ffab5952Smrg
1756781a5f7Smrgelse \$as_nop
176ffab5952Smrg  exitcode=1; echo positional parameters were not saved.
177ffab5952Smrgfi
17867e4e4deSmrgtest x\$exitcode = x0 || exit 1
1796781a5f7Smrgblah=\$(echo \$(echo blah))
1806781a5f7Smrgtest x\"\$blah\" = xblah || exit 1
18167e4e4deSmrgtest -x / || exit 1"
182ffab5952Smrg  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
183ffab5952Smrg  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
184ffab5952Smrg  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
185ffab5952Smrg  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
1866781a5f7Smrg  if (eval "$as_required") 2>/dev/null
1876781a5f7Smrgthen :
188ffab5952Smrg  as_have_required=yes
1896781a5f7Smrgelse $as_nop
190ffab5952Smrg  as_have_required=no
191ffab5952Smrgfi
1926781a5f7Smrg  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
1936781a5f7Smrgthen :
194ffab5952Smrg
1956781a5f7Smrgelse $as_nop
196ffab5952Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
197ffab5952Smrgas_found=false
198ffab5952Smrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
199ffab5952Smrgdo
200ffab5952Smrg  IFS=$as_save_IFS
2016781a5f7Smrg  case $as_dir in #(((
2026781a5f7Smrg    '') as_dir=./ ;;
2036781a5f7Smrg    */) ;;
2046781a5f7Smrg    *) as_dir=$as_dir/ ;;
2056781a5f7Smrg  esac
206ffab5952Smrg  as_found=:
207ffab5952Smrg  case $as_dir in #(
208ffab5952Smrg	 /*)
209ffab5952Smrg	   for as_base in sh bash ksh sh5; do
210ffab5952Smrg	     # Try only shells that exist, to save several forks.
2116781a5f7Smrg	     as_shell=$as_dir$as_base
212ffab5952Smrg	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
2136781a5f7Smrg		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
2146781a5f7Smrgthen :
215ffab5952Smrg  CONFIG_SHELL=$as_shell as_have_required=yes
2166781a5f7Smrg		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
2176781a5f7Smrgthen :
218ffab5952Smrg  break 2
219ffab5952Smrgfi
220ffab5952Smrgfi
221ffab5952Smrg	   done;;
222ffab5952Smrg       esac
223ffab5952Smrg  as_found=false
224ffab5952Smrgdone
225ffab5952SmrgIFS=$as_save_IFS
2266781a5f7Smrgif $as_found
2276781a5f7Smrgthen :
2286781a5f7Smrg
2296781a5f7Smrgelse $as_nop
2306781a5f7Smrg  if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
2316781a5f7Smrg	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
2326781a5f7Smrgthen :
2336781a5f7Smrg  CONFIG_SHELL=$SHELL as_have_required=yes
2346781a5f7Smrgfi
2356781a5f7Smrgfi
236ffab5952Smrg
237ffab5952Smrg
2386781a5f7Smrg      if test "x$CONFIG_SHELL" != x
2396781a5f7Smrgthen :
24067e4e4deSmrg  export CONFIG_SHELL
24167e4e4deSmrg             # We cannot yet assume a decent shell, so we have to provide a
24267e4e4deSmrg# neutralization value for shells without unset; and this also
24367e4e4deSmrg# works around shells that cannot unset nonexistent variables.
24467e4e4deSmrg# Preserve -v and -x to the replacement shell.
24567e4e4deSmrgBASH_ENV=/dev/null
24667e4e4deSmrgENV=/dev/null
24767e4e4deSmrg(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
24867e4e4deSmrgcase $- in # ((((
24967e4e4deSmrg  *v*x* | *x*v* ) as_opts=-vx ;;
25067e4e4deSmrg  *v* ) as_opts=-v ;;
25167e4e4deSmrg  *x* ) as_opts=-x ;;
25267e4e4deSmrg  * ) as_opts= ;;
25367e4e4deSmrgesac
25467e4e4deSmrgexec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
25567e4e4deSmrg# Admittedly, this is quite paranoid, since all the known shells bail
25667e4e4deSmrg# out after a failed `exec'.
2576781a5f7Smrgprintf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
25867e4e4deSmrgexit 255
259ffab5952Smrgfi
260ffab5952Smrg
2616781a5f7Smrg    if test x$as_have_required = xno
2626781a5f7Smrgthen :
2636781a5f7Smrg  printf "%s\n" "$0: This script requires a shell more modern than all"
2646781a5f7Smrg  printf "%s\n" "$0: the shells that I found on your system."
2656781a5f7Smrg  if test ${ZSH_VERSION+y} ; then
2666781a5f7Smrg    printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
2676781a5f7Smrg    printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
268ffab5952Smrg  else
2696781a5f7Smrg    printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
270ea972ba2Smrg$0: https://gitlab.freedesktop.org/xorg/util/macros/-/issues
271ffab5952Smrg$0: about your system, including any error possibly output
272ffab5952Smrg$0: before this message. Then install a modern shell, or
273ffab5952Smrg$0: manually run the script under such a shell if you do
274ffab5952Smrg$0: have one."
275ffab5952Smrg  fi
276ffab5952Smrg  exit 1
277ffab5952Smrgfi
278ffab5952Smrgfi
279ffab5952Smrgfi
280ffab5952SmrgSHELL=${CONFIG_SHELL-/bin/sh}
281ffab5952Smrgexport SHELL
282ffab5952Smrg# Unset more variables known to interfere with behavior of common tools.
283ffab5952SmrgCLICOLOR_FORCE= GREP_OPTIONS=
284ffab5952Smrgunset CLICOLOR_FORCE GREP_OPTIONS
285ffab5952Smrg
286ffab5952Smrg## --------------------- ##
287ffab5952Smrg## M4sh Shell Functions. ##
288ffab5952Smrg## --------------------- ##
289ffab5952Smrg# as_fn_unset VAR
290ffab5952Smrg# ---------------
291ffab5952Smrg# Portably unset VAR.
292ffab5952Smrgas_fn_unset ()
293ffab5952Smrg{
294ffab5952Smrg  { eval $1=; unset $1;}
295ffab5952Smrg}
296ffab5952Smrgas_unset=as_fn_unset
297ffab5952Smrg
2986781a5f7Smrg
299ffab5952Smrg# as_fn_set_status STATUS
300ffab5952Smrg# -----------------------
301ffab5952Smrg# Set $? to STATUS, without forking.
302ffab5952Smrgas_fn_set_status ()
303ffab5952Smrg{
304ffab5952Smrg  return $1
305ffab5952Smrg} # as_fn_set_status
306ffab5952Smrg
307ffab5952Smrg# as_fn_exit STATUS
308ffab5952Smrg# -----------------
309ffab5952Smrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
310ffab5952Smrgas_fn_exit ()
311ffab5952Smrg{
312ffab5952Smrg  set +e
313ffab5952Smrg  as_fn_set_status $1
314ffab5952Smrg  exit $1
315ffab5952Smrg} # as_fn_exit
3166781a5f7Smrg# as_fn_nop
3176781a5f7Smrg# ---------
3186781a5f7Smrg# Do nothing but, unlike ":", preserve the value of $?.
3196781a5f7Smrgas_fn_nop ()
3206781a5f7Smrg{
3216781a5f7Smrg  return $?
3226781a5f7Smrg}
3236781a5f7Smrgas_nop=as_fn_nop
324ffab5952Smrg
325ffab5952Smrg# as_fn_mkdir_p
326ffab5952Smrg# -------------
327ffab5952Smrg# Create "$as_dir" as a directory, including parents if necessary.
328ffab5952Smrgas_fn_mkdir_p ()
329ffab5952Smrg{
330ffab5952Smrg
331ffab5952Smrg  case $as_dir in #(
332ffab5952Smrg  -*) as_dir=./$as_dir;;
333ffab5952Smrg  esac
334ffab5952Smrg  test -d "$as_dir" || eval $as_mkdir_p || {
335ffab5952Smrg    as_dirs=
336ffab5952Smrg    while :; do
337ffab5952Smrg      case $as_dir in #(
3386781a5f7Smrg      *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339ffab5952Smrg      *) as_qdir=$as_dir;;
340ffab5952Smrg      esac
341ffab5952Smrg      as_dirs="'$as_qdir' $as_dirs"
342ffab5952Smrg      as_dir=`$as_dirname -- "$as_dir" ||
343ffab5952Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
344ffab5952Smrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
345ffab5952Smrg	 X"$as_dir" : 'X\(//\)$' \| \
346ffab5952Smrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3476781a5f7Smrgprintf "%s\n" X"$as_dir" |
348ffab5952Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
349ffab5952Smrg	    s//\1/
350ffab5952Smrg	    q
351ffab5952Smrg	  }
352ffab5952Smrg	  /^X\(\/\/\)[^/].*/{
353ffab5952Smrg	    s//\1/
354ffab5952Smrg	    q
355ffab5952Smrg	  }
356ffab5952Smrg	  /^X\(\/\/\)$/{
357ffab5952Smrg	    s//\1/
358ffab5952Smrg	    q
359ffab5952Smrg	  }
360ffab5952Smrg	  /^X\(\/\).*/{
361ffab5952Smrg	    s//\1/
362ffab5952Smrg	    q
363ffab5952Smrg	  }
364ffab5952Smrg	  s/.*/./; q'`
365ffab5952Smrg      test -d "$as_dir" && break
366ffab5952Smrg    done
367ffab5952Smrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
368ffab5952Smrg  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
369ffab5952Smrg
370ffab5952Smrg
371ffab5952Smrg} # as_fn_mkdir_p
37267e4e4deSmrg
37367e4e4deSmrg# as_fn_executable_p FILE
37467e4e4deSmrg# -----------------------
37567e4e4deSmrg# Test if FILE is an executable regular file.
37667e4e4deSmrgas_fn_executable_p ()
37767e4e4deSmrg{
37867e4e4deSmrg  test -f "$1" && test -x "$1"
37967e4e4deSmrg} # as_fn_executable_p
380ffab5952Smrg# as_fn_append VAR VALUE
381ffab5952Smrg# ----------------------
382ffab5952Smrg# Append the text in VALUE to the end of the definition contained in VAR. Take
383ffab5952Smrg# advantage of any shell optimizations that allow amortized linear growth over
384ffab5952Smrg# repeated appends, instead of the typical quadratic growth present in naive
385ffab5952Smrg# implementations.
3866781a5f7Smrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
3876781a5f7Smrgthen :
388ffab5952Smrg  eval 'as_fn_append ()
389ffab5952Smrg  {
390ffab5952Smrg    eval $1+=\$2
391ffab5952Smrg  }'
3926781a5f7Smrgelse $as_nop
393ffab5952Smrg  as_fn_append ()
394ffab5952Smrg  {
395ffab5952Smrg    eval $1=\$$1\$2
396ffab5952Smrg  }
397ffab5952Smrgfi # as_fn_append
398ffab5952Smrg
399ffab5952Smrg# as_fn_arith ARG...
400ffab5952Smrg# ------------------
401ffab5952Smrg# Perform arithmetic evaluation on the ARGs, and store the result in the
402ffab5952Smrg# global $as_val. Take advantage of shells that can avoid forks. The arguments
403ffab5952Smrg# must be portable across $(()) and expr.
4046781a5f7Smrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
4056781a5f7Smrgthen :
406ffab5952Smrg  eval 'as_fn_arith ()
407ffab5952Smrg  {
408ffab5952Smrg    as_val=$(( $* ))
409ffab5952Smrg  }'
4106781a5f7Smrgelse $as_nop
411ffab5952Smrg  as_fn_arith ()
412ffab5952Smrg  {
413ffab5952Smrg    as_val=`expr "$@" || test $? -eq 1`
414ffab5952Smrg  }
415ffab5952Smrgfi # as_fn_arith
416ffab5952Smrg
4176781a5f7Smrg# as_fn_nop
4186781a5f7Smrg# ---------
4196781a5f7Smrg# Do nothing but, unlike ":", preserve the value of $?.
4206781a5f7Smrgas_fn_nop ()
4216781a5f7Smrg{
4226781a5f7Smrg  return $?
4236781a5f7Smrg}
4246781a5f7Smrgas_nop=as_fn_nop
425ffab5952Smrg
426ffab5952Smrg# as_fn_error STATUS ERROR [LINENO LOG_FD]
427ffab5952Smrg# ----------------------------------------
428ffab5952Smrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
429ffab5952Smrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
430ffab5952Smrg# script with STATUS, using 1 if that was 0.
431ffab5952Smrgas_fn_error ()
432ffab5952Smrg{
433ffab5952Smrg  as_status=$1; test $as_status -eq 0 && as_status=1
434ffab5952Smrg  if test "$4"; then
435ffab5952Smrg    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4366781a5f7Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
437ffab5952Smrg  fi
4386781a5f7Smrg  printf "%s\n" "$as_me: error: $2" >&2
439ffab5952Smrg  as_fn_exit $as_status
440ffab5952Smrg} # as_fn_error
441ffab5952Smrg
442ffab5952Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
443ffab5952Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
444ffab5952Smrg  as_expr=expr
445ffab5952Smrgelse
446ffab5952Smrg  as_expr=false
447ffab5952Smrgfi
448ffab5952Smrg
449ffab5952Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
450ffab5952Smrg  as_basename=basename
451ffab5952Smrgelse
452ffab5952Smrg  as_basename=false
453ffab5952Smrgfi
454ffab5952Smrg
455ffab5952Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
456ffab5952Smrg  as_dirname=dirname
457ffab5952Smrgelse
458ffab5952Smrg  as_dirname=false
459ffab5952Smrgfi
460ffab5952Smrg
461ffab5952Smrgas_me=`$as_basename -- "$0" ||
462ffab5952Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
463ffab5952Smrg	 X"$0" : 'X\(//\)$' \| \
464ffab5952Smrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4656781a5f7Smrgprintf "%s\n" X/"$0" |
466ffab5952Smrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
467ffab5952Smrg	    s//\1/
468ffab5952Smrg	    q
469ffab5952Smrg	  }
470ffab5952Smrg	  /^X\/\(\/\/\)$/{
471ffab5952Smrg	    s//\1/
472ffab5952Smrg	    q
473ffab5952Smrg	  }
474ffab5952Smrg	  /^X\/\(\/\).*/{
475ffab5952Smrg	    s//\1/
476ffab5952Smrg	    q
477ffab5952Smrg	  }
478ffab5952Smrg	  s/.*/./; q'`
479ffab5952Smrg
480ffab5952Smrg# Avoid depending upon Character Ranges.
481ffab5952Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
482ffab5952Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
483ffab5952Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
484ffab5952Smrgas_cr_digits='0123456789'
485ffab5952Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits
486ffab5952Smrg
487ffab5952Smrg
488ffab5952Smrg  as_lineno_1=$LINENO as_lineno_1a=$LINENO
489ffab5952Smrg  as_lineno_2=$LINENO as_lineno_2a=$LINENO
490ffab5952Smrg  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
491ffab5952Smrg  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
492ffab5952Smrg  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
493ffab5952Smrg  sed -n '
494ffab5952Smrg    p
495ffab5952Smrg    /[$]LINENO/=
496ffab5952Smrg  ' <$as_myself |
497ffab5952Smrg    sed '
498ffab5952Smrg      s/[$]LINENO.*/&-/
499ffab5952Smrg      t lineno
500ffab5952Smrg      b
501ffab5952Smrg      :lineno
502ffab5952Smrg      N
503ffab5952Smrg      :loop
504ffab5952Smrg      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
505ffab5952Smrg      t loop
506ffab5952Smrg      s/-\n.*//
507ffab5952Smrg    ' >$as_me.lineno &&
508ffab5952Smrg  chmod +x "$as_me.lineno" ||
5096781a5f7Smrg    { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
510ffab5952Smrg
51167e4e4deSmrg  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
51267e4e4deSmrg  # already done that, so ensure we don't try to do so again and fall
51367e4e4deSmrg  # in an infinite loop.  This has already happened in practice.
51467e4e4deSmrg  _as_can_reexec=no; export _as_can_reexec
515ffab5952Smrg  # Don't try to exec as it changes $[0], causing all sort of problems
516ffab5952Smrg  # (the dirname of $[0] is not the place where we might find the
517ffab5952Smrg  # original and so on.  Autoconf is especially sensitive to this).
518ffab5952Smrg  . "./$as_me.lineno"
519ffab5952Smrg  # Exit status is that of the last command.
520ffab5952Smrg  exit
521ffab5952Smrg}
522ffab5952Smrg
5236781a5f7Smrg
5246781a5f7Smrg# Determine whether it's possible to make 'echo' print without a newline.
5256781a5f7Smrg# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
5266781a5f7Smrg# for compatibility with existing Makefiles.
527ffab5952SmrgECHO_C= ECHO_N= ECHO_T=
528ffab5952Smrgcase `echo -n x` in #(((((
529ffab5952Smrg-n*)
530ffab5952Smrg  case `echo 'xy\c'` in
531ffab5952Smrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
532ffab5952Smrg  xy)  ECHO_C='\c';;
533ffab5952Smrg  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
534ffab5952Smrg       ECHO_T='	';;
535ffab5952Smrg  esac;;
536ffab5952Smrg*)
537ffab5952Smrg  ECHO_N='-n';;
538ffab5952Smrgesac
539ffab5952Smrg
5406781a5f7Smrg# For backward compatibility with old third-party macros, we provide
5416781a5f7Smrg# the shell variables $as_echo and $as_echo_n.  New code should use
5426781a5f7Smrg# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
5436781a5f7Smrgas_echo='printf %s\n'
5446781a5f7Smrgas_echo_n='printf %s'
5456781a5f7Smrg
5466781a5f7Smrg
547ffab5952Smrgrm -f conf$$ conf$$.exe conf$$.file
548ffab5952Smrgif test -d conf$$.dir; then
549ffab5952Smrg  rm -f conf$$.dir/conf$$.file
550ffab5952Smrgelse
551ffab5952Smrg  rm -f conf$$.dir
552ffab5952Smrg  mkdir conf$$.dir 2>/dev/null
553ffab5952Smrgfi
554ffab5952Smrgif (echo >conf$$.file) 2>/dev/null; then
555ffab5952Smrg  if ln -s conf$$.file conf$$ 2>/dev/null; then
556ffab5952Smrg    as_ln_s='ln -s'
557ffab5952Smrg    # ... but there are two gotchas:
558ffab5952Smrg    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
559ffab5952Smrg    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
56067e4e4deSmrg    # In both cases, we have to default to `cp -pR'.
561ffab5952Smrg    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
56267e4e4deSmrg      as_ln_s='cp -pR'
563ffab5952Smrg  elif ln conf$$.file conf$$ 2>/dev/null; then
564ffab5952Smrg    as_ln_s=ln
565ffab5952Smrg  else
56667e4e4deSmrg    as_ln_s='cp -pR'
567ffab5952Smrg  fi
568ffab5952Smrgelse
56967e4e4deSmrg  as_ln_s='cp -pR'
570ffab5952Smrgfi
571ffab5952Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
572ffab5952Smrgrmdir conf$$.dir 2>/dev/null
573ffab5952Smrg
574ffab5952Smrgif mkdir -p . 2>/dev/null; then
575ffab5952Smrg  as_mkdir_p='mkdir -p "$as_dir"'
576ffab5952Smrgelse
577ffab5952Smrg  test -d ./-p && rmdir ./-p
578ffab5952Smrg  as_mkdir_p=false
579ffab5952Smrgfi
580ffab5952Smrg
58167e4e4deSmrgas_test_x='test -x'
58267e4e4deSmrgas_executable_p=as_fn_executable_p
583ffab5952Smrg
584ffab5952Smrg# Sed expression to map a string onto a valid CPP name.
585ffab5952Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
586ffab5952Smrg
587ffab5952Smrg# Sed expression to map a string onto a valid variable name.
588ffab5952Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
589ffab5952Smrg
590ffab5952Smrg
591ffab5952Smrgtest -n "$DJDIR" || exec 7<&0 </dev/null
592ffab5952Smrgexec 6>&1
593ffab5952Smrg
594ffab5952Smrg# Name of the host.
595ffab5952Smrg# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
596ffab5952Smrg# so uname gets run too.
597ffab5952Smrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
598ffab5952Smrg
599ffab5952Smrg#
600ffab5952Smrg# Initializations.
601ffab5952Smrg#
602ffab5952Smrgac_default_prefix=/usr/local
603ffab5952Smrgac_clean_files=
604ffab5952Smrgac_config_libobj_dir=.
605ffab5952SmrgLIBOBJS=
606ffab5952Smrgcross_compiling=no
607ffab5952Smrgsubdirs=
608ffab5952SmrgMFLAGS=
609ffab5952SmrgMAKEFLAGS=
610ffab5952Smrg
611ffab5952Smrg# Identity of this package.
612ffab5952SmrgPACKAGE_NAME='util-macros'
613ffab5952SmrgPACKAGE_TARNAME='util-macros'
614ea972ba2SmrgPACKAGE_VERSION='1.20.2'
615ea972ba2SmrgPACKAGE_STRING='util-macros 1.20.2'
616ea972ba2SmrgPACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/util/macros/-/issues'
617ffab5952SmrgPACKAGE_URL=''
618ffab5952Smrg
619ffab5952Smrgac_unique_file="Makefile.am"
620ffab5952Smrgac_subst_vars='LTLIBOBJS
621ffab5952SmrgLIBOBJS
622ffab5952SmrgCHANGELOG_CMD
62367e4e4deSmrgAM_BACKSLASH
62467e4e4deSmrgAM_DEFAULT_VERBOSITY
62567e4e4deSmrgAM_DEFAULT_V
62667e4e4deSmrgAM_V
627ffab5952Smrgam__untar
628ffab5952Smrgam__tar
629ffab5952SmrgAMTAR
630ffab5952Smrgam__leading_dot
631ffab5952SmrgSET_MAKE
632ffab5952SmrgAWK
633ffab5952Smrgmkdir_p
634ffab5952SmrgMKDIR_P
635ffab5952SmrgINSTALL_STRIP_PROGRAM
636ffab5952SmrgSTRIP
637ffab5952Smrginstall_sh
638ffab5952SmrgMAKEINFO
639ffab5952SmrgAUTOHEADER
640ffab5952SmrgAUTOMAKE
641ffab5952SmrgAUTOCONF
642ffab5952SmrgACLOCAL
643ffab5952SmrgVERSION
644ffab5952SmrgPACKAGE
645ffab5952SmrgCYGPATH_W
646ffab5952Smrgam__isrc
647ffab5952SmrgINSTALL_DATA
648ffab5952SmrgINSTALL_SCRIPT
649ffab5952SmrgINSTALL_PROGRAM
650ffab5952Smrgtarget_alias
651ffab5952Smrghost_alias
652ffab5952Smrgbuild_alias
653ffab5952SmrgLIBS
654ffab5952SmrgECHO_T
655ffab5952SmrgECHO_N
656ffab5952SmrgECHO_C
657ffab5952SmrgDEFS
658ffab5952Smrgmandir
659ffab5952Smrglocaledir
660ffab5952Smrglibdir
661ffab5952Smrgpsdir
662ffab5952Smrgpdfdir
663ffab5952Smrgdvidir
664ffab5952Smrghtmldir
665ffab5952Smrginfodir
666ffab5952Smrgdocdir
667ffab5952Smrgoldincludedir
668ffab5952Smrgincludedir
66945aa2fbfSmrgrunstatedir
670ffab5952Smrglocalstatedir
671ffab5952Smrgsharedstatedir
672ffab5952Smrgsysconfdir
673ffab5952Smrgdatadir
674ffab5952Smrgdatarootdir
675ffab5952Smrglibexecdir
676ffab5952Smrgsbindir
677ffab5952Smrgbindir
678ffab5952Smrgprogram_transform_name
679ffab5952Smrgprefix
680ffab5952Smrgexec_prefix
681ffab5952SmrgPACKAGE_URL
682ffab5952SmrgPACKAGE_BUGREPORT
683ffab5952SmrgPACKAGE_STRING
684ffab5952SmrgPACKAGE_VERSION
685ffab5952SmrgPACKAGE_TARNAME
686ffab5952SmrgPACKAGE_NAME
687ffab5952SmrgPATH_SEPARATOR
688ffab5952SmrgSHELL'
689ffab5952Smrgac_subst_files=''
690ffab5952Smrgac_user_opts='
691ffab5952Smrgenable_option_checking
69267e4e4deSmrgenable_silent_rules
693ffab5952Smrg'
694ffab5952Smrg      ac_precious_vars='build_alias
695ffab5952Smrghost_alias
696ffab5952Smrgtarget_alias'
697ffab5952Smrg
698ffab5952Smrg
699ffab5952Smrg# Initialize some variables set by options.
700ffab5952Smrgac_init_help=
701ffab5952Smrgac_init_version=false
702ffab5952Smrgac_unrecognized_opts=
703ffab5952Smrgac_unrecognized_sep=
704ffab5952Smrg# The variables have the same names as the options, with
705ffab5952Smrg# dashes changed to underlines.
706ffab5952Smrgcache_file=/dev/null
707ffab5952Smrgexec_prefix=NONE
708ffab5952Smrgno_create=
709ffab5952Smrgno_recursion=
710ffab5952Smrgprefix=NONE
711ffab5952Smrgprogram_prefix=NONE
712ffab5952Smrgprogram_suffix=NONE
713ffab5952Smrgprogram_transform_name=s,x,x,
714ffab5952Smrgsilent=
715ffab5952Smrgsite=
716ffab5952Smrgsrcdir=
717ffab5952Smrgverbose=
718ffab5952Smrgx_includes=NONE
719ffab5952Smrgx_libraries=NONE
720ffab5952Smrg
721ffab5952Smrg# Installation directory options.
722ffab5952Smrg# These are left unexpanded so users can "make install exec_prefix=/foo"
723ffab5952Smrg# and all the variables that are supposed to be based on exec_prefix
724ffab5952Smrg# by default will actually change.
725ffab5952Smrg# Use braces instead of parens because sh, perl, etc. also accept them.
726ffab5952Smrg# (The list follows the same order as the GNU Coding Standards.)
727ffab5952Smrgbindir='${exec_prefix}/bin'
728ffab5952Smrgsbindir='${exec_prefix}/sbin'
729ffab5952Smrglibexecdir='${exec_prefix}/libexec'
730ffab5952Smrgdatarootdir='${prefix}/share'
731ffab5952Smrgdatadir='${datarootdir}'
732ffab5952Smrgsysconfdir='${prefix}/etc'
733ffab5952Smrgsharedstatedir='${prefix}/com'
734ffab5952Smrglocalstatedir='${prefix}/var'
73545aa2fbfSmrgrunstatedir='${localstatedir}/run'
736ffab5952Smrgincludedir='${prefix}/include'
737ffab5952Smrgoldincludedir='/usr/include'
738ffab5952Smrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
739ffab5952Smrginfodir='${datarootdir}/info'
740ffab5952Smrghtmldir='${docdir}'
741ffab5952Smrgdvidir='${docdir}'
742ffab5952Smrgpdfdir='${docdir}'
743ffab5952Smrgpsdir='${docdir}'
744ffab5952Smrglibdir='${exec_prefix}/lib'
745ffab5952Smrglocaledir='${datarootdir}/locale'
746ffab5952Smrgmandir='${datarootdir}/man'
747ffab5952Smrg
748ffab5952Smrgac_prev=
749ffab5952Smrgac_dashdash=
750ffab5952Smrgfor ac_option
751ffab5952Smrgdo
752ffab5952Smrg  # If the previous option needs an argument, assign it.
753ffab5952Smrg  if test -n "$ac_prev"; then
754ffab5952Smrg    eval $ac_prev=\$ac_option
755ffab5952Smrg    ac_prev=
756ffab5952Smrg    continue
757ffab5952Smrg  fi
758ffab5952Smrg
759ffab5952Smrg  case $ac_option in
760ffab5952Smrg  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
761ffab5952Smrg  *=)   ac_optarg= ;;
762ffab5952Smrg  *)    ac_optarg=yes ;;
763ffab5952Smrg  esac
764ffab5952Smrg
765ffab5952Smrg  case $ac_dashdash$ac_option in
766ffab5952Smrg  --)
767ffab5952Smrg    ac_dashdash=yes ;;
768ffab5952Smrg
769ffab5952Smrg  -bindir | --bindir | --bindi | --bind | --bin | --bi)
770ffab5952Smrg    ac_prev=bindir ;;
771ffab5952Smrg  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
772ffab5952Smrg    bindir=$ac_optarg ;;
773ffab5952Smrg
774ffab5952Smrg  -build | --build | --buil | --bui | --bu)
775ffab5952Smrg    ac_prev=build_alias ;;
776ffab5952Smrg  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
777ffab5952Smrg    build_alias=$ac_optarg ;;
778ffab5952Smrg
779ffab5952Smrg  -cache-file | --cache-file | --cache-fil | --cache-fi \
780ffab5952Smrg  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
781ffab5952Smrg    ac_prev=cache_file ;;
782ffab5952Smrg  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
783ffab5952Smrg  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
784ffab5952Smrg    cache_file=$ac_optarg ;;
785ffab5952Smrg
786ffab5952Smrg  --config-cache | -C)
787ffab5952Smrg    cache_file=config.cache ;;
788ffab5952Smrg
789ffab5952Smrg  -datadir | --datadir | --datadi | --datad)
790ffab5952Smrg    ac_prev=datadir ;;
791ffab5952Smrg  -datadir=* | --datadir=* | --datadi=* | --datad=*)
792ffab5952Smrg    datadir=$ac_optarg ;;
793ffab5952Smrg
794ffab5952Smrg  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
795ffab5952Smrg  | --dataroo | --dataro | --datar)
796ffab5952Smrg    ac_prev=datarootdir ;;
797ffab5952Smrg  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
798ffab5952Smrg  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
799ffab5952Smrg    datarootdir=$ac_optarg ;;
800ffab5952Smrg
801ffab5952Smrg  -disable-* | --disable-*)
802ffab5952Smrg    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
803ffab5952Smrg    # Reject names that are not valid shell variable names.
804ffab5952Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
8056781a5f7Smrg      as_fn_error $? "invalid feature name: \`$ac_useropt'"
806ffab5952Smrg    ac_useropt_orig=$ac_useropt
8076781a5f7Smrg    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
808ffab5952Smrg    case $ac_user_opts in
809ffab5952Smrg      *"
810ffab5952Smrg"enable_$ac_useropt"
811ffab5952Smrg"*) ;;
812ffab5952Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
813ffab5952Smrg	 ac_unrecognized_sep=', ';;
814ffab5952Smrg    esac
815ffab5952Smrg    eval enable_$ac_useropt=no ;;
816ffab5952Smrg
817ffab5952Smrg  -docdir | --docdir | --docdi | --doc | --do)
818ffab5952Smrg    ac_prev=docdir ;;
819ffab5952Smrg  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
820ffab5952Smrg    docdir=$ac_optarg ;;
821ffab5952Smrg
822ffab5952Smrg  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
823ffab5952Smrg    ac_prev=dvidir ;;
824ffab5952Smrg  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
825ffab5952Smrg    dvidir=$ac_optarg ;;
826ffab5952Smrg
827ffab5952Smrg  -enable-* | --enable-*)
828ffab5952Smrg    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
829ffab5952Smrg    # Reject names that are not valid shell variable names.
830ffab5952Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
8316781a5f7Smrg      as_fn_error $? "invalid feature name: \`$ac_useropt'"
832ffab5952Smrg    ac_useropt_orig=$ac_useropt
8336781a5f7Smrg    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
834ffab5952Smrg    case $ac_user_opts in
835ffab5952Smrg      *"
836ffab5952Smrg"enable_$ac_useropt"
837ffab5952Smrg"*) ;;
838ffab5952Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
839ffab5952Smrg	 ac_unrecognized_sep=', ';;
840ffab5952Smrg    esac
841ffab5952Smrg    eval enable_$ac_useropt=\$ac_optarg ;;
842ffab5952Smrg
843ffab5952Smrg  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
844ffab5952Smrg  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
845ffab5952Smrg  | --exec | --exe | --ex)
846ffab5952Smrg    ac_prev=exec_prefix ;;
847ffab5952Smrg  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
848ffab5952Smrg  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
849ffab5952Smrg  | --exec=* | --exe=* | --ex=*)
850ffab5952Smrg    exec_prefix=$ac_optarg ;;
851ffab5952Smrg
852ffab5952Smrg  -gas | --gas | --ga | --g)
853ffab5952Smrg    # Obsolete; use --with-gas.
854ffab5952Smrg    with_gas=yes ;;
855ffab5952Smrg
856ffab5952Smrg  -help | --help | --hel | --he | -h)
857ffab5952Smrg    ac_init_help=long ;;
858ffab5952Smrg  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
859ffab5952Smrg    ac_init_help=recursive ;;
860ffab5952Smrg  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
861ffab5952Smrg    ac_init_help=short ;;
862ffab5952Smrg
863ffab5952Smrg  -host | --host | --hos | --ho)
864ffab5952Smrg    ac_prev=host_alias ;;
865ffab5952Smrg  -host=* | --host=* | --hos=* | --ho=*)
866ffab5952Smrg    host_alias=$ac_optarg ;;
867ffab5952Smrg
868ffab5952Smrg  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
869ffab5952Smrg    ac_prev=htmldir ;;
870ffab5952Smrg  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
871ffab5952Smrg  | --ht=*)
872ffab5952Smrg    htmldir=$ac_optarg ;;
873ffab5952Smrg
874ffab5952Smrg  -includedir | --includedir | --includedi | --included | --include \
875ffab5952Smrg  | --includ | --inclu | --incl | --inc)
876ffab5952Smrg    ac_prev=includedir ;;
877ffab5952Smrg  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
878ffab5952Smrg  | --includ=* | --inclu=* | --incl=* | --inc=*)
879ffab5952Smrg    includedir=$ac_optarg ;;
880ffab5952Smrg
881ffab5952Smrg  -infodir | --infodir | --infodi | --infod | --info | --inf)
882ffab5952Smrg    ac_prev=infodir ;;
883ffab5952Smrg  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
884ffab5952Smrg    infodir=$ac_optarg ;;
885ffab5952Smrg
886ffab5952Smrg  -libdir | --libdir | --libdi | --libd)
887ffab5952Smrg    ac_prev=libdir ;;
888ffab5952Smrg  -libdir=* | --libdir=* | --libdi=* | --libd=*)
889ffab5952Smrg    libdir=$ac_optarg ;;
890ffab5952Smrg
891ffab5952Smrg  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
892ffab5952Smrg  | --libexe | --libex | --libe)
893ffab5952Smrg    ac_prev=libexecdir ;;
894ffab5952Smrg  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
895ffab5952Smrg  | --libexe=* | --libex=* | --libe=*)
896ffab5952Smrg    libexecdir=$ac_optarg ;;
897ffab5952Smrg
898ffab5952Smrg  -localedir | --localedir | --localedi | --localed | --locale)
899ffab5952Smrg    ac_prev=localedir ;;
900ffab5952Smrg  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
901ffab5952Smrg    localedir=$ac_optarg ;;
902ffab5952Smrg
903ffab5952Smrg  -localstatedir | --localstatedir | --localstatedi | --localstated \
904ffab5952Smrg  | --localstate | --localstat | --localsta | --localst | --locals)
905ffab5952Smrg    ac_prev=localstatedir ;;
906ffab5952Smrg  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
907ffab5952Smrg  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
908ffab5952Smrg    localstatedir=$ac_optarg ;;
909ffab5952Smrg
910ffab5952Smrg  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
911ffab5952Smrg    ac_prev=mandir ;;
912ffab5952Smrg  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
913ffab5952Smrg    mandir=$ac_optarg ;;
914ffab5952Smrg
915ffab5952Smrg  -nfp | --nfp | --nf)
916ffab5952Smrg    # Obsolete; use --without-fp.
917ffab5952Smrg    with_fp=no ;;
918ffab5952Smrg
919ffab5952Smrg  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
920ffab5952Smrg  | --no-cr | --no-c | -n)
921ffab5952Smrg    no_create=yes ;;
922ffab5952Smrg
923ffab5952Smrg  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
924ffab5952Smrg  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
925ffab5952Smrg    no_recursion=yes ;;
926ffab5952Smrg
927ffab5952Smrg  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
928ffab5952Smrg  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
929ffab5952Smrg  | --oldin | --oldi | --old | --ol | --o)
930ffab5952Smrg    ac_prev=oldincludedir ;;
931ffab5952Smrg  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
932ffab5952Smrg  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
933ffab5952Smrg  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
934ffab5952Smrg    oldincludedir=$ac_optarg ;;
935ffab5952Smrg
936ffab5952Smrg  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
937ffab5952Smrg    ac_prev=prefix ;;
938ffab5952Smrg  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
939ffab5952Smrg    prefix=$ac_optarg ;;
940ffab5952Smrg
941ffab5952Smrg  -program-prefix | --program-prefix | --program-prefi | --program-pref \
942ffab5952Smrg  | --program-pre | --program-pr | --program-p)
943ffab5952Smrg    ac_prev=program_prefix ;;
944ffab5952Smrg  -program-prefix=* | --program-prefix=* | --program-prefi=* \
945ffab5952Smrg  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
946ffab5952Smrg    program_prefix=$ac_optarg ;;
947ffab5952Smrg
948ffab5952Smrg  -program-suffix | --program-suffix | --program-suffi | --program-suff \
949ffab5952Smrg  | --program-suf | --program-su | --program-s)
950ffab5952Smrg    ac_prev=program_suffix ;;
951ffab5952Smrg  -program-suffix=* | --program-suffix=* | --program-suffi=* \
952ffab5952Smrg  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
953ffab5952Smrg    program_suffix=$ac_optarg ;;
954ffab5952Smrg
955ffab5952Smrg  -program-transform-name | --program-transform-name \
956ffab5952Smrg  | --program-transform-nam | --program-transform-na \
957ffab5952Smrg  | --program-transform-n | --program-transform- \
958ffab5952Smrg  | --program-transform | --program-transfor \
959ffab5952Smrg  | --program-transfo | --program-transf \
960ffab5952Smrg  | --program-trans | --program-tran \
961ffab5952Smrg  | --progr-tra | --program-tr | --program-t)
962ffab5952Smrg    ac_prev=program_transform_name ;;
963ffab5952Smrg  -program-transform-name=* | --program-transform-name=* \
964ffab5952Smrg  | --program-transform-nam=* | --program-transform-na=* \
965ffab5952Smrg  | --program-transform-n=* | --program-transform-=* \
966ffab5952Smrg  | --program-transform=* | --program-transfor=* \
967ffab5952Smrg  | --program-transfo=* | --program-transf=* \
968ffab5952Smrg  | --program-trans=* | --program-tran=* \
969ffab5952Smrg  | --progr-tra=* | --program-tr=* | --program-t=*)
970ffab5952Smrg    program_transform_name=$ac_optarg ;;
971ffab5952Smrg
972ffab5952Smrg  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
973ffab5952Smrg    ac_prev=pdfdir ;;
974ffab5952Smrg  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
975ffab5952Smrg    pdfdir=$ac_optarg ;;
976ffab5952Smrg
977ffab5952Smrg  -psdir | --psdir | --psdi | --psd | --ps)
978ffab5952Smrg    ac_prev=psdir ;;
979ffab5952Smrg  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
980ffab5952Smrg    psdir=$ac_optarg ;;
981ffab5952Smrg
982ffab5952Smrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
983ffab5952Smrg  | -silent | --silent | --silen | --sile | --sil)
984ffab5952Smrg    silent=yes ;;
985ffab5952Smrg
98645aa2fbfSmrg  -runstatedir | --runstatedir | --runstatedi | --runstated \
98745aa2fbfSmrg  | --runstate | --runstat | --runsta | --runst | --runs \
98845aa2fbfSmrg  | --run | --ru | --r)
98945aa2fbfSmrg    ac_prev=runstatedir ;;
99045aa2fbfSmrg  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
99145aa2fbfSmrg  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
99245aa2fbfSmrg  | --run=* | --ru=* | --r=*)
99345aa2fbfSmrg    runstatedir=$ac_optarg ;;
99445aa2fbfSmrg
995ffab5952Smrg  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
996ffab5952Smrg    ac_prev=sbindir ;;
997ffab5952Smrg  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
998ffab5952Smrg  | --sbi=* | --sb=*)
999ffab5952Smrg    sbindir=$ac_optarg ;;
1000ffab5952Smrg
1001ffab5952Smrg  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1002ffab5952Smrg  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1003ffab5952Smrg  | --sharedst | --shareds | --shared | --share | --shar \
1004ffab5952Smrg  | --sha | --sh)
1005ffab5952Smrg    ac_prev=sharedstatedir ;;
1006ffab5952Smrg  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1007ffab5952Smrg  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1008ffab5952Smrg  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1009ffab5952Smrg  | --sha=* | --sh=*)
1010ffab5952Smrg    sharedstatedir=$ac_optarg ;;
1011ffab5952Smrg
1012ffab5952Smrg  -site | --site | --sit)
1013ffab5952Smrg    ac_prev=site ;;
1014ffab5952Smrg  -site=* | --site=* | --sit=*)
1015ffab5952Smrg    site=$ac_optarg ;;
1016ffab5952Smrg
1017ffab5952Smrg  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1018ffab5952Smrg    ac_prev=srcdir ;;
1019ffab5952Smrg  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1020ffab5952Smrg    srcdir=$ac_optarg ;;
1021ffab5952Smrg
1022ffab5952Smrg  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1023ffab5952Smrg  | --syscon | --sysco | --sysc | --sys | --sy)
1024ffab5952Smrg    ac_prev=sysconfdir ;;
1025ffab5952Smrg  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1026ffab5952Smrg  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1027ffab5952Smrg    sysconfdir=$ac_optarg ;;
1028ffab5952Smrg
1029ffab5952Smrg  -target | --target | --targe | --targ | --tar | --ta | --t)
1030ffab5952Smrg    ac_prev=target_alias ;;
1031ffab5952Smrg  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1032ffab5952Smrg    target_alias=$ac_optarg ;;
1033ffab5952Smrg
1034ffab5952Smrg  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1035ffab5952Smrg    verbose=yes ;;
1036ffab5952Smrg
1037ffab5952Smrg  -version | --version | --versio | --versi | --vers | -V)
1038ffab5952Smrg    ac_init_version=: ;;
1039ffab5952Smrg
1040ffab5952Smrg  -with-* | --with-*)
1041ffab5952Smrg    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1042ffab5952Smrg    # Reject names that are not valid shell variable names.
1043ffab5952Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
10446781a5f7Smrg      as_fn_error $? "invalid package name: \`$ac_useropt'"
1045ffab5952Smrg    ac_useropt_orig=$ac_useropt
10466781a5f7Smrg    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1047ffab5952Smrg    case $ac_user_opts in
1048ffab5952Smrg      *"
1049ffab5952Smrg"with_$ac_useropt"
1050ffab5952Smrg"*) ;;
1051ffab5952Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1052ffab5952Smrg	 ac_unrecognized_sep=', ';;
1053ffab5952Smrg    esac
1054ffab5952Smrg    eval with_$ac_useropt=\$ac_optarg ;;
1055ffab5952Smrg
1056ffab5952Smrg  -without-* | --without-*)
1057ffab5952Smrg    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1058ffab5952Smrg    # Reject names that are not valid shell variable names.
1059ffab5952Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
10606781a5f7Smrg      as_fn_error $? "invalid package name: \`$ac_useropt'"
1061ffab5952Smrg    ac_useropt_orig=$ac_useropt
10626781a5f7Smrg    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1063ffab5952Smrg    case $ac_user_opts in
1064ffab5952Smrg      *"
1065ffab5952Smrg"with_$ac_useropt"
1066ffab5952Smrg"*) ;;
1067ffab5952Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1068ffab5952Smrg	 ac_unrecognized_sep=', ';;
1069ffab5952Smrg    esac
1070ffab5952Smrg    eval with_$ac_useropt=no ;;
1071ffab5952Smrg
1072ffab5952Smrg  --x)
1073ffab5952Smrg    # Obsolete; use --with-x.
1074ffab5952Smrg    with_x=yes ;;
1075ffab5952Smrg
1076ffab5952Smrg  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1077ffab5952Smrg  | --x-incl | --x-inc | --x-in | --x-i)
1078ffab5952Smrg    ac_prev=x_includes ;;
1079ffab5952Smrg  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1080ffab5952Smrg  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1081ffab5952Smrg    x_includes=$ac_optarg ;;
1082ffab5952Smrg
1083ffab5952Smrg  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1084ffab5952Smrg  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1085ffab5952Smrg    ac_prev=x_libraries ;;
1086ffab5952Smrg  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1087ffab5952Smrg  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1088ffab5952Smrg    x_libraries=$ac_optarg ;;
1089ffab5952Smrg
1090ffab5952Smrg  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1091ffab5952SmrgTry \`$0 --help' for more information"
1092ffab5952Smrg    ;;
1093ffab5952Smrg
1094ffab5952Smrg  *=*)
1095ffab5952Smrg    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1096ffab5952Smrg    # Reject names that are not valid shell variable names.
1097ffab5952Smrg    case $ac_envvar in #(
1098ffab5952Smrg      '' | [0-9]* | *[!_$as_cr_alnum]* )
1099ffab5952Smrg      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1100ffab5952Smrg    esac
1101ffab5952Smrg    eval $ac_envvar=\$ac_optarg
1102ffab5952Smrg    export $ac_envvar ;;
1103ffab5952Smrg
1104ffab5952Smrg  *)
1105ffab5952Smrg    # FIXME: should be removed in autoconf 3.0.
11066781a5f7Smrg    printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1107ffab5952Smrg    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
11086781a5f7Smrg      printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1109ffab5952Smrg    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1110ffab5952Smrg    ;;
1111ffab5952Smrg
1112ffab5952Smrg  esac
1113ffab5952Smrgdone
1114ffab5952Smrg
1115ffab5952Smrgif test -n "$ac_prev"; then
1116ffab5952Smrg  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1117ffab5952Smrg  as_fn_error $? "missing argument to $ac_option"
1118ffab5952Smrgfi
1119ffab5952Smrg
1120ffab5952Smrgif test -n "$ac_unrecognized_opts"; then
1121ffab5952Smrg  case $enable_option_checking in
1122ffab5952Smrg    no) ;;
1123ffab5952Smrg    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
11246781a5f7Smrg    *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1125ffab5952Smrg  esac
1126ffab5952Smrgfi
1127ffab5952Smrg
1128ffab5952Smrg# Check all directory arguments for consistency.
1129ffab5952Smrgfor ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1130ffab5952Smrg		datadir sysconfdir sharedstatedir localstatedir includedir \
1131ffab5952Smrg		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
113245aa2fbfSmrg		libdir localedir mandir runstatedir
1133ffab5952Smrgdo
1134ffab5952Smrg  eval ac_val=\$$ac_var
1135ffab5952Smrg  # Remove trailing slashes.
1136ffab5952Smrg  case $ac_val in
1137ffab5952Smrg    */ )
1138ffab5952Smrg      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1139ffab5952Smrg      eval $ac_var=\$ac_val;;
1140ffab5952Smrg  esac
1141ffab5952Smrg  # Be sure to have absolute directory names.
1142ffab5952Smrg  case $ac_val in
1143ffab5952Smrg    [\\/$]* | ?:[\\/]* )  continue;;
1144ffab5952Smrg    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1145ffab5952Smrg  esac
1146ffab5952Smrg  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1147ffab5952Smrgdone
1148ffab5952Smrg
1149ffab5952Smrg# There might be people who depend on the old broken behavior: `$host'
1150ffab5952Smrg# used to hold the argument of --host etc.
1151ffab5952Smrg# FIXME: To remove some day.
1152ffab5952Smrgbuild=$build_alias
1153ffab5952Smrghost=$host_alias
1154ffab5952Smrgtarget=$target_alias
1155ffab5952Smrg
1156ffab5952Smrg# FIXME: To remove some day.
1157ffab5952Smrgif test "x$host_alias" != x; then
1158ffab5952Smrg  if test "x$build_alias" = x; then
1159ffab5952Smrg    cross_compiling=maybe
1160ffab5952Smrg  elif test "x$build_alias" != "x$host_alias"; then
1161ffab5952Smrg    cross_compiling=yes
1162ffab5952Smrg  fi
1163ffab5952Smrgfi
1164ffab5952Smrg
1165ffab5952Smrgac_tool_prefix=
1166ffab5952Smrgtest -n "$host_alias" && ac_tool_prefix=$host_alias-
1167ffab5952Smrg
1168ffab5952Smrgtest "$silent" = yes && exec 6>/dev/null
1169ffab5952Smrg
1170ffab5952Smrg
1171ffab5952Smrgac_pwd=`pwd` && test -n "$ac_pwd" &&
1172ffab5952Smrgac_ls_di=`ls -di .` &&
1173ffab5952Smrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1174ffab5952Smrg  as_fn_error $? "working directory cannot be determined"
1175ffab5952Smrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1176ffab5952Smrg  as_fn_error $? "pwd does not report name of working directory"
1177ffab5952Smrg
1178ffab5952Smrg
1179ffab5952Smrg# Find the source files, if location was not specified.
1180ffab5952Smrgif test -z "$srcdir"; then
1181ffab5952Smrg  ac_srcdir_defaulted=yes
1182ffab5952Smrg  # Try the directory containing this script, then the parent directory.
1183ffab5952Smrg  ac_confdir=`$as_dirname -- "$as_myself" ||
1184ffab5952Smrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1185ffab5952Smrg	 X"$as_myself" : 'X\(//\)[^/]' \| \
1186ffab5952Smrg	 X"$as_myself" : 'X\(//\)$' \| \
1187ffab5952Smrg	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
11886781a5f7Smrgprintf "%s\n" X"$as_myself" |
1189ffab5952Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1190ffab5952Smrg	    s//\1/
1191ffab5952Smrg	    q
1192ffab5952Smrg	  }
1193ffab5952Smrg	  /^X\(\/\/\)[^/].*/{
1194ffab5952Smrg	    s//\1/
1195ffab5952Smrg	    q
1196ffab5952Smrg	  }
1197ffab5952Smrg	  /^X\(\/\/\)$/{
1198ffab5952Smrg	    s//\1/
1199ffab5952Smrg	    q
1200ffab5952Smrg	  }
1201ffab5952Smrg	  /^X\(\/\).*/{
1202ffab5952Smrg	    s//\1/
1203ffab5952Smrg	    q
1204ffab5952Smrg	  }
1205ffab5952Smrg	  s/.*/./; q'`
1206ffab5952Smrg  srcdir=$ac_confdir
1207ffab5952Smrg  if test ! -r "$srcdir/$ac_unique_file"; then
1208ffab5952Smrg    srcdir=..
1209ffab5952Smrg  fi
1210ffab5952Smrgelse
1211ffab5952Smrg  ac_srcdir_defaulted=no
1212ffab5952Smrgfi
1213ffab5952Smrgif test ! -r "$srcdir/$ac_unique_file"; then
1214ffab5952Smrg  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1215ffab5952Smrg  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1216ffab5952Smrgfi
1217ffab5952Smrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1218ffab5952Smrgac_abs_confdir=`(
1219ffab5952Smrg	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1220ffab5952Smrg	pwd)`
1221ffab5952Smrg# When building in place, set srcdir=.
1222ffab5952Smrgif test "$ac_abs_confdir" = "$ac_pwd"; then
1223ffab5952Smrg  srcdir=.
1224ffab5952Smrgfi
1225ffab5952Smrg# Remove unnecessary trailing slashes from srcdir.
1226ffab5952Smrg# Double slashes in file names in object file debugging info
1227ffab5952Smrg# mess up M-x gdb in Emacs.
1228ffab5952Smrgcase $srcdir in
1229ffab5952Smrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1230ffab5952Smrgesac
1231ffab5952Smrgfor ac_var in $ac_precious_vars; do
1232ffab5952Smrg  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1233ffab5952Smrg  eval ac_env_${ac_var}_value=\$${ac_var}
1234ffab5952Smrg  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1235ffab5952Smrg  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1236ffab5952Smrgdone
1237ffab5952Smrg
1238ffab5952Smrg#
1239ffab5952Smrg# Report the --help message.
1240ffab5952Smrg#
1241ffab5952Smrgif test "$ac_init_help" = "long"; then
1242ffab5952Smrg  # Omit some internal or obsolete options to make the list less imposing.
1243ffab5952Smrg  # This message is too long to be a string in the A/UX 3.1 sh.
1244ffab5952Smrg  cat <<_ACEOF
1245ea972ba2Smrg\`configure' configures util-macros 1.20.2 to adapt to many kinds of systems.
1246ffab5952Smrg
1247ffab5952SmrgUsage: $0 [OPTION]... [VAR=VALUE]...
1248ffab5952Smrg
1249ffab5952SmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as
1250ffab5952SmrgVAR=VALUE.  See below for descriptions of some of the useful variables.
1251ffab5952Smrg
1252ffab5952SmrgDefaults for the options are specified in brackets.
1253ffab5952Smrg
1254ffab5952SmrgConfiguration:
1255ffab5952Smrg  -h, --help              display this help and exit
1256ffab5952Smrg      --help=short        display options specific to this package
1257ffab5952Smrg      --help=recursive    display the short help of all the included packages
1258ffab5952Smrg  -V, --version           display version information and exit
1259ffab5952Smrg  -q, --quiet, --silent   do not print \`checking ...' messages
1260ffab5952Smrg      --cache-file=FILE   cache test results in FILE [disabled]
1261ffab5952Smrg  -C, --config-cache      alias for \`--cache-file=config.cache'
1262ffab5952Smrg  -n, --no-create         do not create output files
1263ffab5952Smrg      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1264ffab5952Smrg
1265ffab5952SmrgInstallation directories:
1266ffab5952Smrg  --prefix=PREFIX         install architecture-independent files in PREFIX
1267ffab5952Smrg                          [$ac_default_prefix]
1268ffab5952Smrg  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1269ffab5952Smrg                          [PREFIX]
1270ffab5952Smrg
1271ffab5952SmrgBy default, \`make install' will install all the files in
1272ffab5952Smrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1273ffab5952Smrgan installation prefix other than \`$ac_default_prefix' using \`--prefix',
1274ffab5952Smrgfor instance \`--prefix=\$HOME'.
1275ffab5952Smrg
1276ffab5952SmrgFor better control, use the options below.
1277ffab5952Smrg
1278ffab5952SmrgFine tuning of the installation directories:
1279ffab5952Smrg  --bindir=DIR            user executables [EPREFIX/bin]
1280ffab5952Smrg  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1281ffab5952Smrg  --libexecdir=DIR        program executables [EPREFIX/libexec]
1282ffab5952Smrg  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1283ffab5952Smrg  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1284ffab5952Smrg  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
128545aa2fbfSmrg  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1286ffab5952Smrg  --libdir=DIR            object code libraries [EPREFIX/lib]
1287ffab5952Smrg  --includedir=DIR        C header files [PREFIX/include]
1288ffab5952Smrg  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1289ffab5952Smrg  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1290ffab5952Smrg  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1291ffab5952Smrg  --infodir=DIR           info documentation [DATAROOTDIR/info]
1292ffab5952Smrg  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1293ffab5952Smrg  --mandir=DIR            man documentation [DATAROOTDIR/man]
1294ffab5952Smrg  --docdir=DIR            documentation root [DATAROOTDIR/doc/util-macros]
1295ffab5952Smrg  --htmldir=DIR           html documentation [DOCDIR]
1296ffab5952Smrg  --dvidir=DIR            dvi documentation [DOCDIR]
1297ffab5952Smrg  --pdfdir=DIR            pdf documentation [DOCDIR]
1298ffab5952Smrg  --psdir=DIR             ps documentation [DOCDIR]
1299ffab5952Smrg_ACEOF
1300ffab5952Smrg
1301ffab5952Smrg  cat <<\_ACEOF
1302ffab5952Smrg
1303ffab5952SmrgProgram names:
1304ffab5952Smrg  --program-prefix=PREFIX            prepend PREFIX to installed program names
1305ffab5952Smrg  --program-suffix=SUFFIX            append SUFFIX to installed program names
1306ffab5952Smrg  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1307ffab5952Smrg_ACEOF
1308ffab5952Smrgfi
1309ffab5952Smrg
1310ffab5952Smrgif test -n "$ac_init_help"; then
1311ffab5952Smrg  case $ac_init_help in
1312ea972ba2Smrg     short | recursive ) echo "Configuration of util-macros 1.20.2:";;
1313ffab5952Smrg   esac
1314ffab5952Smrg  cat <<\_ACEOF
1315ffab5952Smrg
131667e4e4deSmrgOptional Features:
131767e4e4deSmrg  --disable-option-checking  ignore unrecognized --enable/--with options
131867e4e4deSmrg  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
131967e4e4deSmrg  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
132067e4e4deSmrg  --enable-silent-rules   less verbose build output (undo: "make V=1")
132167e4e4deSmrg  --disable-silent-rules  verbose build output (undo: "make V=0")
132267e4e4deSmrg
1323ea972ba2SmrgReport bugs to <https://gitlab.freedesktop.org/xorg/util/macros/-/issues>.
1324ffab5952Smrg_ACEOF
1325ffab5952Smrgac_status=$?
1326ffab5952Smrgfi
1327ffab5952Smrg
1328ffab5952Smrgif test "$ac_init_help" = "recursive"; then
1329ffab5952Smrg  # If there are subdirs, report their specific --help.
1330ffab5952Smrg  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1331ffab5952Smrg    test -d "$ac_dir" ||
1332ffab5952Smrg      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1333ffab5952Smrg      continue
1334ffab5952Smrg    ac_builddir=.
1335ffab5952Smrg
1336ffab5952Smrgcase "$ac_dir" in
1337ffab5952Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1338ffab5952Smrg*)
13396781a5f7Smrg  ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1340ffab5952Smrg  # A ".." for each directory in $ac_dir_suffix.
13416781a5f7Smrg  ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1342ffab5952Smrg  case $ac_top_builddir_sub in
1343ffab5952Smrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1344ffab5952Smrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1345ffab5952Smrg  esac ;;
1346ffab5952Smrgesac
1347ffab5952Smrgac_abs_top_builddir=$ac_pwd
1348ffab5952Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix
1349ffab5952Smrg# for backward compatibility:
1350ffab5952Smrgac_top_builddir=$ac_top_build_prefix
1351ffab5952Smrg
1352ffab5952Smrgcase $srcdir in
1353ffab5952Smrg  .)  # We are building in place.
1354ffab5952Smrg    ac_srcdir=.
1355ffab5952Smrg    ac_top_srcdir=$ac_top_builddir_sub
1356ffab5952Smrg    ac_abs_top_srcdir=$ac_pwd ;;
1357ffab5952Smrg  [\\/]* | ?:[\\/]* )  # Absolute name.
1358ffab5952Smrg    ac_srcdir=$srcdir$ac_dir_suffix;
1359ffab5952Smrg    ac_top_srcdir=$srcdir
1360ffab5952Smrg    ac_abs_top_srcdir=$srcdir ;;
1361ffab5952Smrg  *) # Relative name.
1362ffab5952Smrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1363ffab5952Smrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
1364ffab5952Smrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1365ffab5952Smrgesac
1366ffab5952Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1367ffab5952Smrg
1368ffab5952Smrg    cd "$ac_dir" || { ac_status=$?; continue; }
13696781a5f7Smrg    # Check for configure.gnu first; this name is used for a wrapper for
13706781a5f7Smrg    # Metaconfig's "Configure" on case-insensitive file systems.
1371ffab5952Smrg    if test -f "$ac_srcdir/configure.gnu"; then
1372ffab5952Smrg      echo &&
1373ffab5952Smrg      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1374ffab5952Smrg    elif test -f "$ac_srcdir/configure"; then
1375ffab5952Smrg      echo &&
1376ffab5952Smrg      $SHELL "$ac_srcdir/configure" --help=recursive
1377ffab5952Smrg    else
13786781a5f7Smrg      printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1379ffab5952Smrg    fi || ac_status=$?
1380ffab5952Smrg    cd "$ac_pwd" || { ac_status=$?; break; }
1381ffab5952Smrg  done
1382ffab5952Smrgfi
1383ffab5952Smrg
1384ffab5952Smrgtest -n "$ac_init_help" && exit $ac_status
1385ffab5952Smrgif $ac_init_version; then
1386ffab5952Smrg  cat <<\_ACEOF
1387ea972ba2Smrgutil-macros configure 1.20.2
13886781a5f7Smrggenerated by GNU Autoconf 2.71
1389ffab5952Smrg
13906781a5f7SmrgCopyright (C) 2021 Free Software Foundation, Inc.
1391ffab5952SmrgThis configure script is free software; the Free Software Foundation
1392ffab5952Smrggives unlimited permission to copy, distribute and modify it.
1393ffab5952Smrg_ACEOF
1394ffab5952Smrg  exit
1395ffab5952Smrgfi
1396ffab5952Smrg
1397ffab5952Smrg## ------------------------ ##
1398ffab5952Smrg## Autoconf initialization. ##
1399ffab5952Smrg## ------------------------ ##
14006781a5f7Smrgac_configure_args_raw=
14016781a5f7Smrgfor ac_arg
14026781a5f7Smrgdo
14036781a5f7Smrg  case $ac_arg in
14046781a5f7Smrg  *\'*)
14056781a5f7Smrg    ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
14066781a5f7Smrg  esac
14076781a5f7Smrg  as_fn_append ac_configure_args_raw " '$ac_arg'"
14086781a5f7Smrgdone
14096781a5f7Smrg
14106781a5f7Smrgcase $ac_configure_args_raw in
14116781a5f7Smrg  *$as_nl*)
14126781a5f7Smrg    ac_safe_unquote= ;;
14136781a5f7Smrg  *)
14146781a5f7Smrg    ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
14156781a5f7Smrg    ac_unsafe_a="$ac_unsafe_z#~"
14166781a5f7Smrg    ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
14176781a5f7Smrg    ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
14186781a5f7Smrgesac
14196781a5f7Smrg
1420ffab5952Smrgcat >config.log <<_ACEOF
1421ffab5952SmrgThis file contains any messages produced by compilers while
1422ffab5952Smrgrunning configure, to aid debugging if configure makes a mistake.
1423ffab5952Smrg
1424ea972ba2SmrgIt was created by util-macros $as_me 1.20.2, which was
14256781a5f7Smrggenerated by GNU Autoconf 2.71.  Invocation command line was
1426ffab5952Smrg
14276781a5f7Smrg  $ $0$ac_configure_args_raw
1428ffab5952Smrg
1429ffab5952Smrg_ACEOF
1430ffab5952Smrgexec 5>>config.log
1431ffab5952Smrg{
1432ffab5952Smrgcat <<_ASUNAME
1433ffab5952Smrg## --------- ##
1434ffab5952Smrg## Platform. ##
1435ffab5952Smrg## --------- ##
1436ffab5952Smrg
1437ffab5952Smrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1438ffab5952Smrguname -m = `(uname -m) 2>/dev/null || echo unknown`
1439ffab5952Smrguname -r = `(uname -r) 2>/dev/null || echo unknown`
1440ffab5952Smrguname -s = `(uname -s) 2>/dev/null || echo unknown`
1441ffab5952Smrguname -v = `(uname -v) 2>/dev/null || echo unknown`
1442ffab5952Smrg
1443ffab5952Smrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1444ffab5952Smrg/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1445ffab5952Smrg
1446ffab5952Smrg/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1447ffab5952Smrg/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1448ffab5952Smrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1449ffab5952Smrg/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1450ffab5952Smrg/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1451ffab5952Smrg/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1452ffab5952Smrg/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1453ffab5952Smrg
1454ffab5952Smrg_ASUNAME
1455ffab5952Smrg
1456ffab5952Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1457ffab5952Smrgfor as_dir in $PATH
1458ffab5952Smrgdo
1459ffab5952Smrg  IFS=$as_save_IFS
14606781a5f7Smrg  case $as_dir in #(((
14616781a5f7Smrg    '') as_dir=./ ;;
14626781a5f7Smrg    */) ;;
14636781a5f7Smrg    *) as_dir=$as_dir/ ;;
14646781a5f7Smrg  esac
14656781a5f7Smrg    printf "%s\n" "PATH: $as_dir"
1466ffab5952Smrg  done
1467ffab5952SmrgIFS=$as_save_IFS
1468ffab5952Smrg
1469ffab5952Smrg} >&5
1470ffab5952Smrg
1471ffab5952Smrgcat >&5 <<_ACEOF
1472ffab5952Smrg
1473ffab5952Smrg
1474ffab5952Smrg## ----------- ##
1475ffab5952Smrg## Core tests. ##
1476ffab5952Smrg## ----------- ##
1477ffab5952Smrg
1478ffab5952Smrg_ACEOF
1479ffab5952Smrg
1480ffab5952Smrg
1481ffab5952Smrg# Keep a trace of the command line.
1482ffab5952Smrg# Strip out --no-create and --no-recursion so they do not pile up.
1483ffab5952Smrg# Strip out --silent because we don't want to record it for future runs.
1484ffab5952Smrg# Also quote any args containing shell meta-characters.
1485ffab5952Smrg# Make two passes to allow for proper duplicate-argument suppression.
1486ffab5952Smrgac_configure_args=
1487ffab5952Smrgac_configure_args0=
1488ffab5952Smrgac_configure_args1=
1489ffab5952Smrgac_must_keep_next=false
1490ffab5952Smrgfor ac_pass in 1 2
1491ffab5952Smrgdo
1492ffab5952Smrg  for ac_arg
1493ffab5952Smrg  do
1494ffab5952Smrg    case $ac_arg in
1495ffab5952Smrg    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1496ffab5952Smrg    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1497ffab5952Smrg    | -silent | --silent | --silen | --sile | --sil)
1498ffab5952Smrg      continue ;;
1499ffab5952Smrg    *\'*)
15006781a5f7Smrg      ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1501ffab5952Smrg    esac
1502ffab5952Smrg    case $ac_pass in
1503ffab5952Smrg    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1504ffab5952Smrg    2)
1505ffab5952Smrg      as_fn_append ac_configure_args1 " '$ac_arg'"
1506ffab5952Smrg      if test $ac_must_keep_next = true; then
1507ffab5952Smrg	ac_must_keep_next=false # Got value, back to normal.
1508ffab5952Smrg      else
1509ffab5952Smrg	case $ac_arg in
1510ffab5952Smrg	  *=* | --config-cache | -C | -disable-* | --disable-* \
1511ffab5952Smrg	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1512ffab5952Smrg	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1513ffab5952Smrg	  | -with-* | --with-* | -without-* | --without-* | --x)
1514ffab5952Smrg	    case "$ac_configure_args0 " in
1515ffab5952Smrg	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1516ffab5952Smrg	    esac
1517ffab5952Smrg	    ;;
1518ffab5952Smrg	  -* ) ac_must_keep_next=true ;;
1519ffab5952Smrg	esac
1520ffab5952Smrg      fi
1521ffab5952Smrg      as_fn_append ac_configure_args " '$ac_arg'"
1522ffab5952Smrg      ;;
1523ffab5952Smrg    esac
1524ffab5952Smrg  done
1525ffab5952Smrgdone
1526ffab5952Smrg{ ac_configure_args0=; unset ac_configure_args0;}
1527ffab5952Smrg{ ac_configure_args1=; unset ac_configure_args1;}
1528ffab5952Smrg
1529ffab5952Smrg# When interrupted or exit'd, cleanup temporary files, and complete
1530ffab5952Smrg# config.log.  We remove comments because anyway the quotes in there
1531ffab5952Smrg# would cause problems or look ugly.
1532ffab5952Smrg# WARNING: Use '\'' to represent an apostrophe within the trap.
1533ffab5952Smrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1534ffab5952Smrgtrap 'exit_status=$?
15356781a5f7Smrg  # Sanitize IFS.
15366781a5f7Smrg  IFS=" ""	$as_nl"
1537ffab5952Smrg  # Save into config.log some information that might help in debugging.
1538ffab5952Smrg  {
1539ffab5952Smrg    echo
1540ffab5952Smrg
15416781a5f7Smrg    printf "%s\n" "## ---------------- ##
1542ffab5952Smrg## Cache variables. ##
1543ffab5952Smrg## ---------------- ##"
1544ffab5952Smrg    echo
1545ffab5952Smrg    # The following way of writing the cache mishandles newlines in values,
1546ffab5952Smrg(
1547ffab5952Smrg  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1548ffab5952Smrg    eval ac_val=\$$ac_var
1549ffab5952Smrg    case $ac_val in #(
1550ffab5952Smrg    *${as_nl}*)
1551ffab5952Smrg      case $ac_var in #(
15526781a5f7Smrg      *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15536781a5f7Smrgprintf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1554ffab5952Smrg      esac
1555ffab5952Smrg      case $ac_var in #(
1556ffab5952Smrg      _ | IFS | as_nl) ;; #(
1557ffab5952Smrg      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1558ffab5952Smrg      *) { eval $ac_var=; unset $ac_var;} ;;
1559ffab5952Smrg      esac ;;
1560ffab5952Smrg    esac
1561ffab5952Smrg  done
1562ffab5952Smrg  (set) 2>&1 |
1563ffab5952Smrg    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1564ffab5952Smrg    *${as_nl}ac_space=\ *)
1565ffab5952Smrg      sed -n \
1566ffab5952Smrg	"s/'\''/'\''\\\\'\'''\''/g;
1567ffab5952Smrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1568ffab5952Smrg      ;; #(
1569ffab5952Smrg    *)
1570ffab5952Smrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1571ffab5952Smrg      ;;
1572ffab5952Smrg    esac |
1573ffab5952Smrg    sort
1574ffab5952Smrg)
1575ffab5952Smrg    echo
1576ffab5952Smrg
15776781a5f7Smrg    printf "%s\n" "## ----------------- ##
1578ffab5952Smrg## Output variables. ##
1579ffab5952Smrg## ----------------- ##"
1580ffab5952Smrg    echo
1581ffab5952Smrg    for ac_var in $ac_subst_vars
1582ffab5952Smrg    do
1583ffab5952Smrg      eval ac_val=\$$ac_var
1584ffab5952Smrg      case $ac_val in
15856781a5f7Smrg      *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1586ffab5952Smrg      esac
15876781a5f7Smrg      printf "%s\n" "$ac_var='\''$ac_val'\''"
1588ffab5952Smrg    done | sort
1589ffab5952Smrg    echo
1590ffab5952Smrg
1591ffab5952Smrg    if test -n "$ac_subst_files"; then
15926781a5f7Smrg      printf "%s\n" "## ------------------- ##
1593ffab5952Smrg## File substitutions. ##
1594ffab5952Smrg## ------------------- ##"
1595ffab5952Smrg      echo
1596ffab5952Smrg      for ac_var in $ac_subst_files
1597ffab5952Smrg      do
1598ffab5952Smrg	eval ac_val=\$$ac_var
1599ffab5952Smrg	case $ac_val in
16006781a5f7Smrg	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1601ffab5952Smrg	esac
16026781a5f7Smrg	printf "%s\n" "$ac_var='\''$ac_val'\''"
1603ffab5952Smrg      done | sort
1604ffab5952Smrg      echo
1605ffab5952Smrg    fi
1606ffab5952Smrg
1607ffab5952Smrg    if test -s confdefs.h; then
16086781a5f7Smrg      printf "%s\n" "## ----------- ##
1609ffab5952Smrg## confdefs.h. ##
1610ffab5952Smrg## ----------- ##"
1611ffab5952Smrg      echo
1612ffab5952Smrg      cat confdefs.h
1613ffab5952Smrg      echo
1614ffab5952Smrg    fi
1615ffab5952Smrg    test "$ac_signal" != 0 &&
16166781a5f7Smrg      printf "%s\n" "$as_me: caught signal $ac_signal"
16176781a5f7Smrg    printf "%s\n" "$as_me: exit $exit_status"
1618ffab5952Smrg  } >&5
1619ffab5952Smrg  rm -f core *.core core.conftest.* &&
1620ffab5952Smrg    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1621ffab5952Smrg    exit $exit_status
1622ffab5952Smrg' 0
1623ffab5952Smrgfor ac_signal in 1 2 13 15; do
1624ffab5952Smrg  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1625ffab5952Smrgdone
1626ffab5952Smrgac_signal=0
1627ffab5952Smrg
1628ffab5952Smrg# confdefs.h avoids OS command line length limits that DEFS can exceed.
1629ffab5952Smrgrm -f -r conftest* confdefs.h
1630ffab5952Smrg
16316781a5f7Smrgprintf "%s\n" "/* confdefs.h */" > confdefs.h
1632ffab5952Smrg
1633ffab5952Smrg# Predefined preprocessor variables.
1634ffab5952Smrg
16356781a5f7Smrgprintf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
1636ffab5952Smrg
16376781a5f7Smrgprintf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
1638ffab5952Smrg
16396781a5f7Smrgprintf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
1640ffab5952Smrg
16416781a5f7Smrgprintf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
1642ffab5952Smrg
16436781a5f7Smrgprintf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
1644ffab5952Smrg
16456781a5f7Smrgprintf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
1646ffab5952Smrg
1647ffab5952Smrg
1648ffab5952Smrg# Let the site file select an alternate cache file if it wants to.
1649ffab5952Smrg# Prefer an explicitly selected file to automatically selected ones.
1650ffab5952Smrgif test -n "$CONFIG_SITE"; then
16516781a5f7Smrg  ac_site_files="$CONFIG_SITE"
1652ffab5952Smrgelif test "x$prefix" != xNONE; then
16536781a5f7Smrg  ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
1654ffab5952Smrgelse
16556781a5f7Smrg  ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1656ffab5952Smrgfi
16576781a5f7Smrg
16586781a5f7Smrgfor ac_site_file in $ac_site_files
1659ffab5952Smrgdo
16606781a5f7Smrg  case $ac_site_file in #(
16616781a5f7Smrg  */*) :
16626781a5f7Smrg     ;; #(
16636781a5f7Smrg  *) :
16646781a5f7Smrg    ac_site_file=./$ac_site_file ;;
16656781a5f7Smrgesac
16666781a5f7Smrg  if test -f "$ac_site_file" && test -r "$ac_site_file"; then
16676781a5f7Smrg    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
16686781a5f7Smrgprintf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
1669ffab5952Smrg    sed 's/^/| /' "$ac_site_file" >&5
1670ffab5952Smrg    . "$ac_site_file" \
16716781a5f7Smrg      || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16726781a5f7Smrgprintf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1673ffab5952Smrgas_fn_error $? "failed to load site script $ac_site_file
1674ffab5952SmrgSee \`config.log' for more details" "$LINENO" 5; }
1675ffab5952Smrg  fi
1676ffab5952Smrgdone
1677ffab5952Smrg
1678ffab5952Smrgif test -r "$cache_file"; then
1679ffab5952Smrg  # Some versions of bash will fail to source /dev/null (special files
1680ffab5952Smrg  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1681ffab5952Smrg  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
16826781a5f7Smrg    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
16836781a5f7Smrgprintf "%s\n" "$as_me: loading cache $cache_file" >&6;}
1684ffab5952Smrg    case $cache_file in
1685ffab5952Smrg      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1686ffab5952Smrg      *)                      . "./$cache_file";;
1687ffab5952Smrg    esac
1688ffab5952Smrg  fi
1689ffab5952Smrgelse
16906781a5f7Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
16916781a5f7Smrgprintf "%s\n" "$as_me: creating cache $cache_file" >&6;}
1692ffab5952Smrg  >$cache_file
1693ffab5952Smrgfi
1694ffab5952Smrg
16956781a5f7Smrg
16966781a5f7Smrg# Auxiliary files required by this configure script.
16976781a5f7Smrgac_aux_files="missing install-sh"
16986781a5f7Smrg
16996781a5f7Smrg# Locations in which to look for auxiliary files.
17006781a5f7Smrgac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
17016781a5f7Smrg
17026781a5f7Smrg# Search for a directory containing all of the required auxiliary files,
17036781a5f7Smrg# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
17046781a5f7Smrg# If we don't find one directory that contains all the files we need,
17056781a5f7Smrg# we report the set of missing files from the *first* directory in
17066781a5f7Smrg# $ac_aux_dir_candidates and give up.
17076781a5f7Smrgac_missing_aux_files=""
17086781a5f7Smrgac_first_candidate=:
17096781a5f7Smrgprintf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
17106781a5f7Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17116781a5f7Smrgas_found=false
17126781a5f7Smrgfor as_dir in $ac_aux_dir_candidates
17136781a5f7Smrgdo
17146781a5f7Smrg  IFS=$as_save_IFS
17156781a5f7Smrg  case $as_dir in #(((
17166781a5f7Smrg    '') as_dir=./ ;;
17176781a5f7Smrg    */) ;;
17186781a5f7Smrg    *) as_dir=$as_dir/ ;;
17196781a5f7Smrg  esac
17206781a5f7Smrg  as_found=:
17216781a5f7Smrg
17226781a5f7Smrg  printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
17236781a5f7Smrg  ac_aux_dir_found=yes
17246781a5f7Smrg  ac_install_sh=
17256781a5f7Smrg  for ac_aux in $ac_aux_files
17266781a5f7Smrg  do
17276781a5f7Smrg    # As a special case, if "install-sh" is required, that requirement
17286781a5f7Smrg    # can be satisfied by any of "install-sh", "install.sh", or "shtool",
17296781a5f7Smrg    # and $ac_install_sh is set appropriately for whichever one is found.
17306781a5f7Smrg    if test x"$ac_aux" = x"install-sh"
17316781a5f7Smrg    then
17326781a5f7Smrg      if test -f "${as_dir}install-sh"; then
17336781a5f7Smrg        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
17346781a5f7Smrg        ac_install_sh="${as_dir}install-sh -c"
17356781a5f7Smrg      elif test -f "${as_dir}install.sh"; then
17366781a5f7Smrg        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
17376781a5f7Smrg        ac_install_sh="${as_dir}install.sh -c"
17386781a5f7Smrg      elif test -f "${as_dir}shtool"; then
17396781a5f7Smrg        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
17406781a5f7Smrg        ac_install_sh="${as_dir}shtool install -c"
17416781a5f7Smrg      else
17426781a5f7Smrg        ac_aux_dir_found=no
17436781a5f7Smrg        if $ac_first_candidate; then
17446781a5f7Smrg          ac_missing_aux_files="${ac_missing_aux_files} install-sh"
17456781a5f7Smrg        else
17466781a5f7Smrg          break
17476781a5f7Smrg        fi
17486781a5f7Smrg      fi
17496781a5f7Smrg    else
17506781a5f7Smrg      if test -f "${as_dir}${ac_aux}"; then
17516781a5f7Smrg        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
17526781a5f7Smrg      else
17536781a5f7Smrg        ac_aux_dir_found=no
17546781a5f7Smrg        if $ac_first_candidate; then
17556781a5f7Smrg          ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
17566781a5f7Smrg        else
17576781a5f7Smrg          break
17586781a5f7Smrg        fi
17596781a5f7Smrg      fi
17606781a5f7Smrg    fi
17616781a5f7Smrg  done
17626781a5f7Smrg  if test "$ac_aux_dir_found" = yes; then
17636781a5f7Smrg    ac_aux_dir="$as_dir"
17646781a5f7Smrg    break
17656781a5f7Smrg  fi
17666781a5f7Smrg  ac_first_candidate=false
17676781a5f7Smrg
17686781a5f7Smrg  as_found=false
17696781a5f7Smrgdone
17706781a5f7SmrgIFS=$as_save_IFS
17716781a5f7Smrgif $as_found
17726781a5f7Smrgthen :
17736781a5f7Smrg
17746781a5f7Smrgelse $as_nop
17756781a5f7Smrg  as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
17766781a5f7Smrgfi
17776781a5f7Smrg
17786781a5f7Smrg
17796781a5f7Smrg# These three variables are undocumented and unsupported,
17806781a5f7Smrg# and are intended to be withdrawn in a future Autoconf release.
17816781a5f7Smrg# They can cause serious problems if a builder's source tree is in a directory
17826781a5f7Smrg# whose full name contains unusual characters.
17836781a5f7Smrgif test -f "${ac_aux_dir}config.guess"; then
17846781a5f7Smrg  ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
17856781a5f7Smrgfi
17866781a5f7Smrgif test -f "${ac_aux_dir}config.sub"; then
17876781a5f7Smrg  ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
17886781a5f7Smrgfi
17896781a5f7Smrgif test -f "$ac_aux_dir/configure"; then
17906781a5f7Smrg  ac_configure="$SHELL ${ac_aux_dir}configure"
17916781a5f7Smrgfi
17926781a5f7Smrg
1793ffab5952Smrg# Check that the precious variables saved in the cache have kept the same
1794ffab5952Smrg# value.
1795ffab5952Smrgac_cache_corrupted=false
1796ffab5952Smrgfor ac_var in $ac_precious_vars; do
1797ffab5952Smrg  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1798ffab5952Smrg  eval ac_new_set=\$ac_env_${ac_var}_set
1799ffab5952Smrg  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1800ffab5952Smrg  eval ac_new_val=\$ac_env_${ac_var}_value
1801ffab5952Smrg  case $ac_old_set,$ac_new_set in
1802ffab5952Smrg    set,)
18036781a5f7Smrg      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
18046781a5f7Smrgprintf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1805ffab5952Smrg      ac_cache_corrupted=: ;;
1806ffab5952Smrg    ,set)
18076781a5f7Smrg      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
18086781a5f7Smrgprintf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1809ffab5952Smrg      ac_cache_corrupted=: ;;
1810ffab5952Smrg    ,);;
1811ffab5952Smrg    *)
1812ffab5952Smrg      if test "x$ac_old_val" != "x$ac_new_val"; then
1813ffab5952Smrg	# differences in whitespace do not lead to failure.
1814ffab5952Smrg	ac_old_val_w=`echo x $ac_old_val`
1815ffab5952Smrg	ac_new_val_w=`echo x $ac_new_val`
1816ffab5952Smrg	if test "$ac_old_val_w" != "$ac_new_val_w"; then
18176781a5f7Smrg	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
18186781a5f7Smrgprintf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1819ffab5952Smrg	  ac_cache_corrupted=:
1820ffab5952Smrg	else
18216781a5f7Smrg	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
18226781a5f7Smrgprintf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1823ffab5952Smrg	  eval $ac_var=\$ac_old_val
1824ffab5952Smrg	fi
18256781a5f7Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
18266781a5f7Smrgprintf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
18276781a5f7Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
18286781a5f7Smrgprintf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
1829ffab5952Smrg      fi;;
1830ffab5952Smrg  esac
1831ffab5952Smrg  # Pass precious variables to config.status.
1832ffab5952Smrg  if test "$ac_new_set" = set; then
1833ffab5952Smrg    case $ac_new_val in
18346781a5f7Smrg    *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1835ffab5952Smrg    *) ac_arg=$ac_var=$ac_new_val ;;
1836ffab5952Smrg    esac
1837ffab5952Smrg    case " $ac_configure_args " in
1838ffab5952Smrg      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1839ffab5952Smrg      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1840ffab5952Smrg    esac
1841ffab5952Smrg  fi
1842ffab5952Smrgdone
1843ffab5952Smrgif $ac_cache_corrupted; then
18446781a5f7Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18456781a5f7Smrgprintf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
18466781a5f7Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
18476781a5f7Smrgprintf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
18486781a5f7Smrg  as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
18496781a5f7Smrg	    and start over" "$LINENO" 5
1850ffab5952Smrgfi
1851ffab5952Smrg## -------------------- ##
1852ffab5952Smrg## Main body of script. ##
1853ffab5952Smrg## -------------------- ##
1854ffab5952Smrg
1855ffab5952Smrgac_ext=c
1856ffab5952Smrgac_cpp='$CPP $CPPFLAGS'
1857ffab5952Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1858ffab5952Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1859ffab5952Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
1860ffab5952Smrg
1861ffab5952Smrg
1862ffab5952Smrg
186345aa2fbfSmrgam__api_version='1.16'
1864ffab5952Smrg
1865ffab5952Smrg
1866ffab5952Smrg
18676781a5f7Smrg  # Find a good install program.  We prefer a C program (faster),
1868ffab5952Smrg# so one script is as good as another.  But avoid the broken or
1869ffab5952Smrg# incompatible versions:
1870ffab5952Smrg# SysV /etc/install, /usr/sbin/install
1871ffab5952Smrg# SunOS /usr/etc/install
1872ffab5952Smrg# IRIX /sbin/install
1873ffab5952Smrg# AIX /bin/install
1874ffab5952Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs
1875ffab5952Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1876ffab5952Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1877ffab5952Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1878ffab5952Smrg# OS/2's system install, which has a completely different semantic
1879ffab5952Smrg# ./install, which can be erroneously created by make from ./install.sh.
1880ffab5952Smrg# Reject install programs that cannot install multiple files.
18816781a5f7Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
18826781a5f7Smrgprintf %s "checking for a BSD-compatible install... " >&6; }
1883ffab5952Smrgif test -z "$INSTALL"; then
18846781a5f7Smrgif test ${ac_cv_path_install+y}
18856781a5f7Smrgthen :
18866781a5f7Smrg  printf %s "(cached) " >&6
18876781a5f7Smrgelse $as_nop
1888ffab5952Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1889ffab5952Smrgfor as_dir in $PATH
1890ffab5952Smrgdo
1891ffab5952Smrg  IFS=$as_save_IFS
18926781a5f7Smrg  case $as_dir in #(((
18936781a5f7Smrg    '') as_dir=./ ;;
18946781a5f7Smrg    */) ;;
18956781a5f7Smrg    *) as_dir=$as_dir/ ;;
18966781a5f7Smrg  esac
18976781a5f7Smrg    # Account for fact that we put trailing slashes in our PATH walk.
18986781a5f7Smrgcase $as_dir in #((
18996781a5f7Smrg  ./ | /[cC]/* | \
1900ffab5952Smrg  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1901ffab5952Smrg  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1902ffab5952Smrg  /usr/ucb/* ) ;;
1903ffab5952Smrg  *)
1904ffab5952Smrg    # OSF1 and SCO ODT 3.0 have their own names for install.
1905ffab5952Smrg    # Don't use installbsd from OSF since it installs stuff as root
1906ffab5952Smrg    # by default.
1907ffab5952Smrg    for ac_prog in ginstall scoinst install; do
1908ffab5952Smrg      for ac_exec_ext in '' $ac_executable_extensions; do
19096781a5f7Smrg	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
1910ffab5952Smrg	  if test $ac_prog = install &&
19116781a5f7Smrg	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1912ffab5952Smrg	    # AIX install.  It has an incompatible calling convention.
1913ffab5952Smrg	    :
1914ffab5952Smrg	  elif test $ac_prog = install &&
19156781a5f7Smrg	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1916ffab5952Smrg	    # program-specific install script used by HP pwplus--don't use.
1917ffab5952Smrg	    :
1918ffab5952Smrg	  else
1919ffab5952Smrg	    rm -rf conftest.one conftest.two conftest.dir
1920ffab5952Smrg	    echo one > conftest.one
1921ffab5952Smrg	    echo two > conftest.two
1922ffab5952Smrg	    mkdir conftest.dir
19236781a5f7Smrg	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
1924ffab5952Smrg	      test -s conftest.one && test -s conftest.two &&
1925ffab5952Smrg	      test -s conftest.dir/conftest.one &&
1926ffab5952Smrg	      test -s conftest.dir/conftest.two
1927ffab5952Smrg	    then
19286781a5f7Smrg	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
1929ffab5952Smrg	      break 3
1930ffab5952Smrg	    fi
1931ffab5952Smrg	  fi
1932ffab5952Smrg	fi
1933ffab5952Smrg      done
1934ffab5952Smrg    done
1935ffab5952Smrg    ;;
1936ffab5952Smrgesac
1937ffab5952Smrg
1938ffab5952Smrg  done
1939ffab5952SmrgIFS=$as_save_IFS
1940ffab5952Smrg
1941ffab5952Smrgrm -rf conftest.one conftest.two conftest.dir
1942ffab5952Smrg
1943ffab5952Smrgfi
19446781a5f7Smrg  if test ${ac_cv_path_install+y}; then
1945ffab5952Smrg    INSTALL=$ac_cv_path_install
1946ffab5952Smrg  else
1947ffab5952Smrg    # As a last resort, use the slow shell script.  Don't cache a
1948ffab5952Smrg    # value for INSTALL within a source directory, because that will
1949ffab5952Smrg    # break other packages using the cache if that directory is
1950ffab5952Smrg    # removed, or if the value is a relative name.
1951ffab5952Smrg    INSTALL=$ac_install_sh
1952ffab5952Smrg  fi
1953ffab5952Smrgfi
19546781a5f7Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
19556781a5f7Smrgprintf "%s\n" "$INSTALL" >&6; }
1956ffab5952Smrg
1957ffab5952Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1958ffab5952Smrg# It thinks the first close brace ends the variable substitution.
1959ffab5952Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1960ffab5952Smrg
1961ffab5952Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1962ffab5952Smrg
1963ffab5952Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1964ffab5952Smrg
19656781a5f7Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
19666781a5f7Smrgprintf %s "checking whether build environment is sane... " >&6; }
1967ffab5952Smrg# Reject unsafe characters in $srcdir or the absolute working directory
1968ffab5952Smrg# name.  Accept space and tab only in the latter.
1969ffab5952Smrgam_lf='
1970ffab5952Smrg'
1971ffab5952Smrgcase `pwd` in
1972ffab5952Smrg  *[\\\"\#\$\&\'\`$am_lf]*)
1973ffab5952Smrg    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
1974ffab5952Smrgesac
1975ffab5952Smrgcase $srcdir in
1976ffab5952Smrg  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
197767e4e4deSmrg    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
1978ffab5952Smrgesac
1979ffab5952Smrg
198067e4e4deSmrg# Do 'set' in a subshell so we don't clobber the current shell's
1981ffab5952Smrg# arguments.  Must try -L first in case configure is actually a
1982ffab5952Smrg# symlink; some systems play weird games with the mod time of symlinks
1983ffab5952Smrg# (eg FreeBSD returns the mod time of the symlink's containing
1984ffab5952Smrg# directory).
1985ffab5952Smrgif (
198667e4e4deSmrg   am_has_slept=no
198767e4e4deSmrg   for am_try in 1 2; do
198867e4e4deSmrg     echo "timestamp, slept: $am_has_slept" > conftest.file
198967e4e4deSmrg     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
199067e4e4deSmrg     if test "$*" = "X"; then
199167e4e4deSmrg	# -L didn't work.
199267e4e4deSmrg	set X `ls -t "$srcdir/configure" conftest.file`
199367e4e4deSmrg     fi
199467e4e4deSmrg     if test "$*" != "X $srcdir/configure conftest.file" \
199567e4e4deSmrg	&& test "$*" != "X conftest.file $srcdir/configure"; then
199667e4e4deSmrg
199767e4e4deSmrg	# If neither matched, then we have a broken ls.  This can happen
199867e4e4deSmrg	# if, for instance, CONFIG_SHELL is bash and it inherits a
199967e4e4deSmrg	# broken ls alias from the environment.  This has actually
200067e4e4deSmrg	# happened.  Such a system could not be considered "sane".
200167e4e4deSmrg	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
200267e4e4deSmrg  alias in your environment" "$LINENO" 5
200367e4e4deSmrg     fi
200467e4e4deSmrg     if test "$2" = conftest.file || test $am_try -eq 2; then
200567e4e4deSmrg       break
200667e4e4deSmrg     fi
200767e4e4deSmrg     # Just in case.
200867e4e4deSmrg     sleep 1
200967e4e4deSmrg     am_has_slept=yes
201067e4e4deSmrg   done
2011ffab5952Smrg   test "$2" = conftest.file
2012ffab5952Smrg   )
2013ffab5952Smrgthen
2014ffab5952Smrg   # Ok.
2015ffab5952Smrg   :
2016ffab5952Smrgelse
2017ffab5952Smrg   as_fn_error $? "newly created file is older than distributed files!
2018ffab5952SmrgCheck your system clock" "$LINENO" 5
2019ffab5952Smrgfi
20206781a5f7Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20216781a5f7Smrgprintf "%s\n" "yes" >&6; }
202267e4e4deSmrg# If we didn't sleep, we still need to ensure time stamps of config.status and
202367e4e4deSmrg# generated files are strictly newer.
202467e4e4deSmrgam_sleep_pid=
202567e4e4deSmrgif grep 'slept: no' conftest.file >/dev/null 2>&1; then
202667e4e4deSmrg  ( sleep 1 ) &
202767e4e4deSmrg  am_sleep_pid=$!
202867e4e4deSmrgfi
202967e4e4deSmrg
203067e4e4deSmrgrm -f conftest.file
203167e4e4deSmrg
2032ffab5952Smrgtest "$program_prefix" != NONE &&
2033ffab5952Smrg  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2034ffab5952Smrg# Use a double $ so make ignores it.
2035ffab5952Smrgtest "$program_suffix" != NONE &&
2036ffab5952Smrg  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2037ffab5952Smrg# Double any \ or $.
2038ffab5952Smrg# By default was `s,x,x', remove it if useless.
2039ffab5952Smrgac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
20406781a5f7Smrgprogram_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
20416781a5f7Smrg
2042ffab5952Smrg
204367e4e4deSmrg# Expand $ac_aux_dir to an absolute path.
204467e4e4deSmrgam_aux_dir=`cd "$ac_aux_dir" && pwd`
2045ffab5952Smrg
20466781a5f7Smrg
20476781a5f7Smrg  if test x"${MISSING+set}" != xset; then
20486781a5f7Smrg  MISSING="\${SHELL} '$am_aux_dir/missing'"
2049ffab5952Smrgfi
2050ffab5952Smrg# Use eval to expand $SHELL
205167e4e4deSmrgif eval "$MISSING --is-lightweight"; then
205267e4e4deSmrg  am_missing_run="$MISSING "
2053ffab5952Smrgelse
2054ffab5952Smrg  am_missing_run=
20556781a5f7Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
20566781a5f7Smrgprintf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2057ffab5952Smrgfi
2058ffab5952Smrg
205967e4e4deSmrgif test x"${install_sh+set}" != xset; then
2060ffab5952Smrg  case $am_aux_dir in
2061ffab5952Smrg  *\ * | *\	*)
2062ffab5952Smrg    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2063ffab5952Smrg  *)
2064ffab5952Smrg    install_sh="\${SHELL} $am_aux_dir/install-sh"
2065ffab5952Smrg  esac
2066ffab5952Smrgfi
2067ffab5952Smrg
206867e4e4deSmrg# Installed binaries are usually stripped using 'strip' when the user
206967e4e4deSmrg# run "make install-strip".  However 'strip' might not be the right
2070ffab5952Smrg# tool to use in cross-compilation environments, therefore Automake
207167e4e4deSmrg# will honor the 'STRIP' environment variable to overrule this program.
2072ffab5952Smrgif test "$cross_compiling" != no; then
2073ffab5952Smrg  if test -n "$ac_tool_prefix"; then
2074ffab5952Smrg  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2075ffab5952Smrgset dummy ${ac_tool_prefix}strip; ac_word=$2
20766781a5f7Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20776781a5f7Smrgprintf %s "checking for $ac_word... " >&6; }
20786781a5f7Smrgif test ${ac_cv_prog_STRIP+y}
20796781a5f7Smrgthen :
20806781a5f7Smrg  printf %s "(cached) " >&6
20816781a5f7Smrgelse $as_nop
2082ffab5952Smrg  if test -n "$STRIP"; then
2083ffab5952Smrg  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2084ffab5952Smrgelse
2085ffab5952Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2086ffab5952Smrgfor as_dir in $PATH
2087ffab5952Smrgdo
2088ffab5952Smrg  IFS=$as_save_IFS
20896781a5f7Smrg  case $as_dir in #(((
20906781a5f7Smrg    '') as_dir=./ ;;
20916781a5f7Smrg    */) ;;
20926781a5f7Smrg    *) as_dir=$as_dir/ ;;
20936781a5f7Smrg  esac
2094ffab5952Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
20956781a5f7Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2096ffab5952Smrg    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
20976781a5f7Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2098ffab5952Smrg    break 2
2099ffab5952Smrg  fi
2100ffab5952Smrgdone
2101ffab5952Smrg  done
2102ffab5952SmrgIFS=$as_save_IFS
2103ffab5952Smrg
2104ffab5952Smrgfi
2105ffab5952Smrgfi
2106ffab5952SmrgSTRIP=$ac_cv_prog_STRIP
2107ffab5952Smrgif test -n "$STRIP"; then
21086781a5f7Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
21096781a5f7Smrgprintf "%s\n" "$STRIP" >&6; }
2110ffab5952Smrgelse
21116781a5f7Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21126781a5f7Smrgprintf "%s\n" "no" >&6; }
2113ffab5952Smrgfi
2114ffab5952Smrg
2115ffab5952Smrg
2116ffab5952Smrgfi
2117ffab5952Smrgif test -z "$ac_cv_prog_STRIP"; then
2118ffab5952Smrg  ac_ct_STRIP=$STRIP
2119ffab5952Smrg  # Extract the first word of "strip", so it can be a program name with args.
2120ffab5952Smrgset dummy strip; ac_word=$2
21216781a5f7Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21226781a5f7Smrgprintf %s "checking for $ac_word... " >&6; }
21236781a5f7Smrgif test ${ac_cv_prog_ac_ct_STRIP+y}
21246781a5f7Smrgthen :
21256781a5f7Smrg  printf %s "(cached) " >&6
21266781a5f7Smrgelse $as_nop
2127ffab5952Smrg  if test -n "$ac_ct_STRIP"; then
2128ffab5952Smrg  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2129ffab5952Smrgelse
2130ffab5952Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2131ffab5952Smrgfor as_dir in $PATH
2132ffab5952Smrgdo
2133ffab5952Smrg  IFS=$as_save_IFS
21346781a5f7Smrg  case $as_dir in #(((
21356781a5f7Smrg    '') as_dir=./ ;;
21366781a5f7Smrg    */) ;;
21376781a5f7Smrg    *) as_dir=$as_dir/ ;;
21386781a5f7Smrg  esac
2139ffab5952Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
21406781a5f7Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2141ffab5952Smrg    ac_cv_prog_ac_ct_STRIP="strip"
21426781a5f7Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2143ffab5952Smrg    break 2
2144ffab5952Smrg  fi
2145ffab5952Smrgdone
2146ffab5952Smrg  done
2147ffab5952SmrgIFS=$as_save_IFS
2148ffab5952Smrg
2149ffab5952Smrgfi
2150ffab5952Smrgfi
2151ffab5952Smrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2152ffab5952Smrgif test -n "$ac_ct_STRIP"; then
21536781a5f7Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
21546781a5f7Smrgprintf "%s\n" "$ac_ct_STRIP" >&6; }
2155ffab5952Smrgelse
21566781a5f7Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21576781a5f7Smrgprintf "%s\n" "no" >&6; }
2158ffab5952Smrgfi
2159ffab5952Smrg
2160ffab5952Smrg  if test "x$ac_ct_STRIP" = x; then
2161ffab5952Smrg    STRIP=":"
2162ffab5952Smrg  else
2163ffab5952Smrg    case $cross_compiling:$ac_tool_warned in
2164ffab5952Smrgyes:)
21656781a5f7Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21666781a5f7Smrgprintf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2167ffab5952Smrgac_tool_warned=yes ;;
2168ffab5952Smrgesac
2169ffab5952Smrg    STRIP=$ac_ct_STRIP
2170ffab5952Smrg  fi
2171ffab5952Smrgelse
2172ffab5952Smrg  STRIP="$ac_cv_prog_STRIP"
2173ffab5952Smrgfi
2174ffab5952Smrg
2175ffab5952Smrgfi
2176ffab5952SmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2177ffab5952Smrg
21786781a5f7Smrg
21796781a5f7Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
21806781a5f7Smrgprintf %s "checking for a race-free mkdir -p... " >&6; }
2181ffab5952Smrgif test -z "$MKDIR_P"; then
21826781a5f7Smrg  if test ${ac_cv_path_mkdir+y}
21836781a5f7Smrgthen :
21846781a5f7Smrg  printf %s "(cached) " >&6
21856781a5f7Smrgelse $as_nop
2186ffab5952Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2187ffab5952Smrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2188ffab5952Smrgdo
2189ffab5952Smrg  IFS=$as_save_IFS
21906781a5f7Smrg  case $as_dir in #(((
21916781a5f7Smrg    '') as_dir=./ ;;
21926781a5f7Smrg    */) ;;
21936781a5f7Smrg    *) as_dir=$as_dir/ ;;
21946781a5f7Smrg  esac
2195ffab5952Smrg    for ac_prog in mkdir gmkdir; do
2196ffab5952Smrg	 for ac_exec_ext in '' $ac_executable_extensions; do
21976781a5f7Smrg	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
21986781a5f7Smrg	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
21996781a5f7Smrg	     'mkdir ('*'coreutils) '* | \
22006781a5f7Smrg	     'BusyBox '* | \
2201ffab5952Smrg	     'mkdir (fileutils) '4.1*)
22026781a5f7Smrg	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
2203ffab5952Smrg	       break 3;;
2204ffab5952Smrg	   esac
2205ffab5952Smrg	 done
2206ffab5952Smrg       done
2207ffab5952Smrg  done
2208ffab5952SmrgIFS=$as_save_IFS
2209ffab5952Smrg
2210ffab5952Smrgfi
2211ffab5952Smrg
2212ffab5952Smrg  test -d ./--version && rmdir ./--version
22136781a5f7Smrg  if test ${ac_cv_path_mkdir+y}; then
2214ffab5952Smrg    MKDIR_P="$ac_cv_path_mkdir -p"
2215ffab5952Smrg  else
2216ffab5952Smrg    # As a last resort, use the slow shell script.  Don't cache a
2217ffab5952Smrg    # value for MKDIR_P within a source directory, because that will
2218ffab5952Smrg    # break other packages using the cache if that directory is
2219ffab5952Smrg    # removed, or if the value is a relative name.
2220ffab5952Smrg    MKDIR_P="$ac_install_sh -d"
2221ffab5952Smrg  fi
2222ffab5952Smrgfi
22236781a5f7Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
22246781a5f7Smrgprintf "%s\n" "$MKDIR_P" >&6; }
2225ffab5952Smrg
2226ffab5952Smrgfor ac_prog in gawk mawk nawk awk
2227ffab5952Smrgdo
2228ffab5952Smrg  # Extract the first word of "$ac_prog", so it can be a program name with args.
2229ffab5952Smrgset dummy $ac_prog; ac_word=$2
22306781a5f7Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22316781a5f7Smrgprintf %s "checking for $ac_word... " >&6; }
22326781a5f7Smrgif test ${ac_cv_prog_AWK+y}
22336781a5f7Smrgthen :
22346781a5f7Smrg  printf %s "(cached) " >&6
22356781a5f7Smrgelse $as_nop
2236ffab5952Smrg  if test -n "$AWK"; then
2237ffab5952Smrg  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2238ffab5952Smrgelse
2239ffab5952Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2240ffab5952Smrgfor as_dir in $PATH
2241ffab5952Smrgdo
2242ffab5952Smrg  IFS=$as_save_IFS
22436781a5f7Smrg  case $as_dir in #(((
22446781a5f7Smrg    '') as_dir=./ ;;
22456781a5f7Smrg    */) ;;
22466781a5f7Smrg    *) as_dir=$as_dir/ ;;
22476781a5f7Smrg  esac
2248ffab5952Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
22496781a5f7Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2250ffab5952Smrg    ac_cv_prog_AWK="$ac_prog"
22516781a5f7Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2252ffab5952Smrg    break 2
2253ffab5952Smrg  fi
2254ffab5952Smrgdone
2255ffab5952Smrg  done
2256ffab5952SmrgIFS=$as_save_IFS
2257ffab5952Smrg
2258ffab5952Smrgfi
2259ffab5952Smrgfi
2260ffab5952SmrgAWK=$ac_cv_prog_AWK
2261ffab5952Smrgif test -n "$AWK"; then
22626781a5f7Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
22636781a5f7Smrgprintf "%s\n" "$AWK" >&6; }
2264ffab5952Smrgelse
22656781a5f7Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22666781a5f7Smrgprintf "%s\n" "no" >&6; }
2267ffab5952Smrgfi
2268ffab5952Smrg
2269ffab5952Smrg
2270ffab5952Smrg  test -n "$AWK" && break
2271ffab5952Smrgdone
2272ffab5952Smrg
22736781a5f7Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
22746781a5f7Smrgprintf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2275ffab5952Smrgset x ${MAKE-make}
22766781a5f7Smrgac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
22776781a5f7Smrgif eval test \${ac_cv_prog_make_${ac_make}_set+y}
22786781a5f7Smrgthen :
22796781a5f7Smrg  printf %s "(cached) " >&6
22806781a5f7Smrgelse $as_nop
2281ffab5952Smrg  cat >conftest.make <<\_ACEOF
2282ffab5952SmrgSHELL = /bin/sh
2283ffab5952Smrgall:
2284ffab5952Smrg	@echo '@@@%%%=$(MAKE)=@@@%%%'
2285ffab5952Smrg_ACEOF
2286ffab5952Smrg# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2287ffab5952Smrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in
2288ffab5952Smrg  *@@@%%%=?*=@@@%%%*)
2289ffab5952Smrg    eval ac_cv_prog_make_${ac_make}_set=yes;;
2290ffab5952Smrg  *)
2291ffab5952Smrg    eval ac_cv_prog_make_${ac_make}_set=no;;
2292ffab5952Smrgesac
2293ffab5952Smrgrm -f conftest.make
2294ffab5952Smrgfi
2295ffab5952Smrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
22966781a5f7Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22976781a5f7Smrgprintf "%s\n" "yes" >&6; }
2298ffab5952Smrg  SET_MAKE=
2299ffab5952Smrgelse
23006781a5f7Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23016781a5f7Smrgprintf "%s\n" "no" >&6; }
2302ffab5952Smrg  SET_MAKE="MAKE=${MAKE-make}"
2303ffab5952Smrgfi
2304ffab5952Smrg
2305ffab5952Smrgrm -rf .tst 2>/dev/null
2306ffab5952Smrgmkdir .tst 2>/dev/null
2307ffab5952Smrgif test -d .tst; then
2308ffab5952Smrg  am__leading_dot=.
2309ffab5952Smrgelse
2310ffab5952Smrg  am__leading_dot=_
2311ffab5952Smrgfi
2312ffab5952Smrgrmdir .tst 2>/dev/null
2313ffab5952Smrg
231467e4e4deSmrg# Check whether --enable-silent-rules was given.
23156781a5f7Smrgif test ${enable_silent_rules+y}
23166781a5f7Smrgthen :
231767e4e4deSmrg  enableval=$enable_silent_rules;
231867e4e4deSmrgfi
231967e4e4deSmrg
232067e4e4deSmrgcase $enable_silent_rules in # (((
232167e4e4deSmrg  yes) AM_DEFAULT_VERBOSITY=0;;
232267e4e4deSmrg   no) AM_DEFAULT_VERBOSITY=1;;
232367e4e4deSmrg    *) AM_DEFAULT_VERBOSITY=1;;
232467e4e4deSmrgesac
232567e4e4deSmrgam_make=${MAKE-make}
23266781a5f7Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
23276781a5f7Smrgprintf %s "checking whether $am_make supports nested variables... " >&6; }
23286781a5f7Smrgif test ${am_cv_make_support_nested_variables+y}
23296781a5f7Smrgthen :
23306781a5f7Smrg  printf %s "(cached) " >&6
23316781a5f7Smrgelse $as_nop
23326781a5f7Smrg  if printf "%s\n" 'TRUE=$(BAR$(V))
233367e4e4deSmrgBAR0=false
233467e4e4deSmrgBAR1=true
233567e4e4deSmrgV=1
233667e4e4deSmrgam__doit:
233767e4e4deSmrg	@$(TRUE)
233867e4e4deSmrg.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
233967e4e4deSmrg  am_cv_make_support_nested_variables=yes
234067e4e4deSmrgelse
234167e4e4deSmrg  am_cv_make_support_nested_variables=no
234267e4e4deSmrgfi
234367e4e4deSmrgfi
23446781a5f7Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
23456781a5f7Smrgprintf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
234667e4e4deSmrgif test $am_cv_make_support_nested_variables = yes; then
234767e4e4deSmrg    AM_V='$(V)'
234867e4e4deSmrg  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
234967e4e4deSmrgelse
235067e4e4deSmrg  AM_V=$AM_DEFAULT_VERBOSITY
235167e4e4deSmrg  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
235267e4e4deSmrgfi
235367e4e4deSmrgAM_BACKSLASH='\'
235467e4e4deSmrg
2355ffab5952Smrgif test "`cd $srcdir && pwd`" != "`pwd`"; then
2356ffab5952Smrg  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2357ffab5952Smrg  # is not polluted with repeated "-I."
2358ffab5952Smrg  am__isrc=' -I$(srcdir)'
2359ffab5952Smrg  # test to see if srcdir already configured
2360ffab5952Smrg  if test -f $srcdir/config.status; then
2361ffab5952Smrg    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2362ffab5952Smrg  fi
2363ffab5952Smrgfi
2364ffab5952Smrg
2365ffab5952Smrg# test whether we have cygpath
2366ffab5952Smrgif test -z "$CYGPATH_W"; then
2367ffab5952Smrg  if (cygpath --version) >/dev/null 2>/dev/null; then
2368ffab5952Smrg    CYGPATH_W='cygpath -w'
2369ffab5952Smrg  else
2370ffab5952Smrg    CYGPATH_W=echo
2371ffab5952Smrg  fi
2372ffab5952Smrgfi
2373ffab5952Smrg
2374ffab5952Smrg
2375ffab5952Smrg# Define the identity of the package.
2376ffab5952Smrg PACKAGE='util-macros'
2377ea972ba2Smrg VERSION='1.20.2'
2378ffab5952Smrg
2379ffab5952Smrg
23806781a5f7Smrgprintf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
2381ffab5952Smrg
2382ffab5952Smrg
23836781a5f7Smrgprintf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
2384ffab5952Smrg
2385ffab5952Smrg# Some tools Automake needs.
2386ffab5952Smrg
2387ffab5952SmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2388ffab5952Smrg
2389ffab5952Smrg
2390ffab5952SmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2391ffab5952Smrg
2392ffab5952Smrg
2393ffab5952SmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2394ffab5952Smrg
2395ffab5952Smrg
2396ffab5952SmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2397ffab5952Smrg
2398ffab5952Smrg
2399ffab5952SmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2400ffab5952Smrg
240167e4e4deSmrg# For better backward compatibility.  To be removed once Automake 1.9.x
240267e4e4deSmrg# dies out for good.  For more background, see:
240345aa2fbfSmrg# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
240445aa2fbfSmrg# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
240567e4e4deSmrgmkdir_p='$(MKDIR_P)'
240667e4e4deSmrg
240767e4e4deSmrg# We need awk for the "check" target (and possibly the TAP driver).  The
240867e4e4deSmrg# system "awk" is bad on some platforms.
240943c16309Smrg# Always define AMTAR for backward compatibility.  Yes, it's still used
241043c16309Smrg# in the wild :-(  We should find a proper way to deprecate it ...
241143c16309SmrgAMTAR='$${TAR-tar}'
2412ffab5952Smrg
241367e4e4deSmrg
241467e4e4deSmrg# We'll loop over all known methods to create a tar archive until one works.
241567e4e4deSmrg_am_tools='gnutar  pax cpio none'
241667e4e4deSmrg
241743c16309Smrgam__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2418ffab5952Smrg
2419ffab5952Smrg
2420ffab5952Smrg
2421ffab5952Smrg
2422ffab5952Smrg
2423ffab5952Smrg
242467e4e4deSmrg# POSIX will say in a future version that running "rm -f" with no argument
242567e4e4deSmrg# is OK; and we want to be able to make that assumption in our Makefile
242667e4e4deSmrg# recipes.  So use an aggressive probe to check that the usage we want is
242767e4e4deSmrg# actually supported "in the wild" to an acceptable degree.
242867e4e4deSmrg# See automake bug#10828.
242967e4e4deSmrg# To make any issue more visible, cause the running configure to be aborted
243067e4e4deSmrg# by default if the 'rm' program in use doesn't match our expectations; the
243167e4e4deSmrg# user can still override this though.
243267e4e4deSmrgif rm -f && rm -fr && rm -rf; then : OK; else
243367e4e4deSmrg  cat >&2 <<'END'
243467e4e4deSmrgOops!
243567e4e4deSmrg
243667e4e4deSmrgYour 'rm' program seems unable to run without file operands specified
243767e4e4deSmrgon the command line, even when the '-f' option is present.  This is contrary
243867e4e4deSmrgto the behaviour of most rm programs out there, and not conforming with
243967e4e4deSmrgthe upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
244067e4e4deSmrg
244167e4e4deSmrgPlease tell bug-automake@gnu.org about your system, including the value
244267e4e4deSmrgof your $PATH and any error possibly output before this message.  This
244367e4e4deSmrgcan help us improve future automake versions.
244467e4e4deSmrg
244567e4e4deSmrgEND
244667e4e4deSmrg  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
244767e4e4deSmrg    echo 'Configuration will proceed anyway, since you have set the' >&2
244867e4e4deSmrg    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
244967e4e4deSmrg    echo >&2
245067e4e4deSmrg  else
245167e4e4deSmrg    cat >&2 <<'END'
245267e4e4deSmrgAborting the configuration process, to ensure you take notice of the issue.
245367e4e4deSmrg
245467e4e4deSmrgYou can download and install GNU coreutils to get an 'rm' implementation
245545aa2fbfSmrgthat behaves properly: <https://www.gnu.org/software/coreutils/>.
245667e4e4deSmrg
245767e4e4deSmrgIf you want to complete the configuration process using your problematic
245867e4e4deSmrg'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
245967e4e4deSmrgto "yes", and re-run configure.
246067e4e4deSmrg
246167e4e4deSmrgEND
246267e4e4deSmrg    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
246367e4e4deSmrg  fi
246467e4e4deSmrgfi
246567e4e4deSmrg
246667e4e4deSmrg
2467ffab5952Smrg# Checks for programs.
2468ffab5952Smrg
2469ffab5952Smrg
2470ffab5952Smrg# This is the package that installs xorgversion.m4 as part of xorg-macros.m4.
2471ffab5952Smrg# In order to use xorgversion.m4 here, we include it explicitly.
2472ffab5952Smrg
2473ffab5952Smrg# XORG_RELEASE_VERSION
2474ffab5952Smrg# --------------------
2475ffab5952Smrg# Defines PACKAGE_VERSION_{MAJOR,MINOR,PATCHLEVEL} for modules to use.
2476ffab5952Smrg
2477ffab5952Smrg
2478ffab5952Smrg
2479ffab5952Smrg# XORG_CHANGELOG()
2480ffab5952Smrg# ----------------
2481ffab5952Smrg# Minimum version: 1.2.0
2482ffab5952Smrg#
2483ffab5952Smrg# Defines the variable CHANGELOG_CMD as the command to generate
2484ffab5952Smrg# ChangeLog from git.
2485ffab5952Smrg#
2486ffab5952Smrg#
2487ffab5952Smrg # XORG_CHANGELOG
2488ffab5952Smrg
2489ffab5952Smrg
2490ffab5952Smrg
2491ffab5952Smrg
2492ffab5952Smrgcat >>confdefs.h <<_ACEOF
2493ffab5952Smrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
2494ffab5952Smrg_ACEOF
2495ffab5952Smrg
2496ffab5952Smrg	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
2497ffab5952Smrg	if test "x$PVM" = "x"; then
2498ffab5952Smrg		PVM="0"
2499ffab5952Smrg	fi
2500ffab5952Smrg
25016781a5f7Smrgprintf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
2502ffab5952Smrg
2503ffab5952Smrg	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
2504ffab5952Smrg	if test "x$PVP" = "x"; then
2505ffab5952Smrg		PVP="0"
2506ffab5952Smrg	fi
2507ffab5952Smrg
25086781a5f7Smrgprintf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
2509ffab5952Smrg
2510ffab5952Smrg
2511ffab5952Smrg
25129fa8ffe7SmrgCHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
2513ffab5952Smrgmv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
25149fa8ffe7Smrg|| (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
25159fa8ffe7Smrgtouch \$(top_srcdir)/ChangeLog; \
25169fa8ffe7Smrgecho 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
2517ffab5952Smrg
2518ffab5952Smrg
2519ffab5952Smrg
2520ffab5952Smrgac_config_files="$ac_config_files xorg-macros.pc Makefile xorg-macros.m4:xorg-macros.m4.in:xorgversion.m4"
2521ffab5952Smrg
2522ffab5952Smrgcat >confcache <<\_ACEOF
2523ffab5952Smrg# This file is a shell script that caches the results of configure
2524ffab5952Smrg# tests run on this system so they can be shared between configure
2525ffab5952Smrg# scripts and configure runs, see configure's option --config-cache.
2526ffab5952Smrg# It is not useful on other systems.  If it contains results you don't
2527ffab5952Smrg# want to keep, you may remove or edit it.
2528ffab5952Smrg#
2529ffab5952Smrg# config.status only pays attention to the cache file if you give it
2530ffab5952Smrg# the --recheck option to rerun configure.
2531ffab5952Smrg#
2532ffab5952Smrg# `ac_cv_env_foo' variables (set or unset) will be overridden when
2533ffab5952Smrg# loading this file, other *unset* `ac_cv_foo' will be assigned the
2534ffab5952Smrg# following values.
2535ffab5952Smrg
2536ffab5952Smrg_ACEOF
2537ffab5952Smrg
2538ffab5952Smrg# The following way of writing the cache mishandles newlines in values,
2539ffab5952Smrg# but we know of no workaround that is simple, portable, and efficient.
2540ffab5952Smrg# So, we kill variables containing newlines.
2541ffab5952Smrg# Ultrix sh set writes to stderr and can't be redirected directly,
2542ffab5952Smrg# and sets the high bit in the cache file unless we assign to the vars.
2543ffab5952Smrg(
2544ffab5952Smrg  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2545ffab5952Smrg    eval ac_val=\$$ac_var
2546ffab5952Smrg    case $ac_val in #(
2547ffab5952Smrg    *${as_nl}*)
2548ffab5952Smrg      case $ac_var in #(
25496781a5f7Smrg      *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
25506781a5f7Smrgprintf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2551ffab5952Smrg      esac
2552ffab5952Smrg      case $ac_var in #(
2553ffab5952Smrg      _ | IFS | as_nl) ;; #(
2554ffab5952Smrg      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2555ffab5952Smrg      *) { eval $ac_var=; unset $ac_var;} ;;
2556ffab5952Smrg      esac ;;
2557ffab5952Smrg    esac
2558ffab5952Smrg  done
2559ffab5952Smrg
2560ffab5952Smrg  (set) 2>&1 |
2561ffab5952Smrg    case $as_nl`(ac_space=' '; set) 2>&1` in #(
2562ffab5952Smrg    *${as_nl}ac_space=\ *)
2563ffab5952Smrg      # `set' does not quote correctly, so add quotes: double-quote
2564ffab5952Smrg      # substitution turns \\\\ into \\, and sed turns \\ into \.
2565ffab5952Smrg      sed -n \
2566ffab5952Smrg	"s/'/'\\\\''/g;
2567ffab5952Smrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2568ffab5952Smrg      ;; #(
2569ffab5952Smrg    *)
2570ffab5952Smrg      # `set' quotes correctly as required by POSIX, so do not add quotes.
2571ffab5952Smrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2572ffab5952Smrg      ;;
2573ffab5952Smrg    esac |
2574ffab5952Smrg    sort
2575ffab5952Smrg) |
2576ffab5952Smrg  sed '
2577ffab5952Smrg     /^ac_cv_env_/b end
2578ffab5952Smrg     t clear
2579ffab5952Smrg     :clear
25806781a5f7Smrg     s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
2581ffab5952Smrg     t end
2582ffab5952Smrg     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2583ffab5952Smrg     :end' >>confcache
2584ffab5952Smrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2585ffab5952Smrg  if test -w "$cache_file"; then
2586ffab5952Smrg    if test "x$cache_file" != "x/dev/null"; then
25876781a5f7Smrg      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
25886781a5f7Smrgprintf "%s\n" "$as_me: updating cache $cache_file" >&6;}
2589ffab5952Smrg      if test ! -f "$cache_file" || test -h "$cache_file"; then
2590ffab5952Smrg	cat confcache >"$cache_file"
2591ffab5952Smrg      else
2592ffab5952Smrg        case $cache_file in #(
2593ffab5952Smrg        */* | ?:*)
2594ffab5952Smrg	  mv -f confcache "$cache_file"$$ &&
2595ffab5952Smrg	  mv -f "$cache_file"$$ "$cache_file" ;; #(
2596ffab5952Smrg        *)
2597ffab5952Smrg	  mv -f confcache "$cache_file" ;;
2598ffab5952Smrg	esac
2599ffab5952Smrg      fi
2600ffab5952Smrg    fi
2601ffab5952Smrg  else
26026781a5f7Smrg    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26036781a5f7Smrgprintf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
2604ffab5952Smrg  fi
2605ffab5952Smrgfi
2606ffab5952Smrgrm -f confcache
2607ffab5952Smrg
2608ffab5952Smrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix
2609ffab5952Smrg# Let make expand exec_prefix.
2610ffab5952Smrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2611ffab5952Smrg
2612ffab5952Smrg# Transform confdefs.h into DEFS.
2613ffab5952Smrg# Protect against shell expansion while executing Makefile rules.
2614ffab5952Smrg# Protect against Makefile macro expansion.
2615ffab5952Smrg#
2616ffab5952Smrg# If the first sed substitution is executed (which looks for macros that
2617ffab5952Smrg# take arguments), then branch to the quote section.  Otherwise,
2618ffab5952Smrg# look for a macro that doesn't take arguments.
2619ffab5952Smrgac_script='
2620ffab5952Smrg:mline
2621ffab5952Smrg/\\$/{
2622ffab5952Smrg N
2623ffab5952Smrg s,\\\n,,
2624ffab5952Smrg b mline
2625ffab5952Smrg}
2626ffab5952Smrgt clear
2627ffab5952Smrg:clear
2628ffab5952Smrgs/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
2629ffab5952Smrgt quote
2630ffab5952Smrgs/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
2631ffab5952Smrgt quote
2632ffab5952Smrgb any
2633ffab5952Smrg:quote
2634ffab5952Smrgs/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2635ffab5952Smrgs/\[/\\&/g
2636ffab5952Smrgs/\]/\\&/g
2637ffab5952Smrgs/\$/$$/g
2638ffab5952SmrgH
2639ffab5952Smrg:any
2640ffab5952Smrg${
2641ffab5952Smrg	g
2642ffab5952Smrg	s/^\n//
2643ffab5952Smrg	s/\n/ /g
2644ffab5952Smrg	p
2645ffab5952Smrg}
2646ffab5952Smrg'
2647ffab5952SmrgDEFS=`sed -n "$ac_script" confdefs.h`
2648ffab5952Smrg
2649ffab5952Smrg
2650ffab5952Smrgac_libobjs=
2651ffab5952Smrgac_ltlibobjs=
2652ffab5952SmrgU=
2653ffab5952Smrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2654ffab5952Smrg  # 1. Remove the extension, and $U if already installed.
2655ffab5952Smrg  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
26566781a5f7Smrg  ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
2657ffab5952Smrg  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
2658ffab5952Smrg  #    will be set to the directory where LIBOBJS objects are built.
2659ffab5952Smrg  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2660ffab5952Smrg  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2661ffab5952Smrgdone
2662ffab5952SmrgLIBOBJS=$ac_libobjs
2663ffab5952Smrg
2664ffab5952SmrgLTLIBOBJS=$ac_ltlibobjs
2665ffab5952Smrg
2666ffab5952Smrg
26676781a5f7Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
26686781a5f7Smrgprintf %s "checking that generated files are newer than configure... " >&6; }
266967e4e4deSmrg   if test -n "$am_sleep_pid"; then
267067e4e4deSmrg     # Hide warnings about reused PIDs.
267167e4e4deSmrg     wait $am_sleep_pid 2>/dev/null
267267e4e4deSmrg   fi
26736781a5f7Smrg   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
26746781a5f7Smrgprintf "%s\n" "done" >&6; }
2675ffab5952Smrg
2676ffab5952Smrg
2677ffab5952Smrg: "${CONFIG_STATUS=./config.status}"
2678ffab5952Smrgac_write_fail=0
2679ffab5952Smrgac_clean_files_save=$ac_clean_files
2680ffab5952Smrgac_clean_files="$ac_clean_files $CONFIG_STATUS"
26816781a5f7Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
26826781a5f7Smrgprintf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
2683ffab5952Smrgas_write_fail=0
2684ffab5952Smrgcat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2685ffab5952Smrg#! $SHELL
2686ffab5952Smrg# Generated by $as_me.
2687ffab5952Smrg# Run this file to recreate the current configuration.
2688ffab5952Smrg# Compiler output produced by configure, useful for debugging
2689ffab5952Smrg# configure, is in config.log if it exists.
2690ffab5952Smrg
2691ffab5952Smrgdebug=false
2692ffab5952Smrgac_cs_recheck=false
2693ffab5952Smrgac_cs_silent=false
2694ffab5952Smrg
2695ffab5952SmrgSHELL=\${CONFIG_SHELL-$SHELL}
2696ffab5952Smrgexport SHELL
2697ffab5952Smrg_ASEOF
2698ffab5952Smrgcat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2699ffab5952Smrg## -------------------- ##
2700ffab5952Smrg## M4sh Initialization. ##
2701ffab5952Smrg## -------------------- ##
2702ffab5952Smrg
2703ffab5952Smrg# Be more Bourne compatible
2704ffab5952SmrgDUALCASE=1; export DUALCASE # for MKS sh
27056781a5f7Smrgas_nop=:
27066781a5f7Smrgif test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
27076781a5f7Smrgthen :
2708ffab5952Smrg  emulate sh
2709ffab5952Smrg  NULLCMD=:
2710ffab5952Smrg  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2711ffab5952Smrg  # is contrary to our usage.  Disable this feature.
2712ffab5952Smrg  alias -g '${1+"$@"}'='"$@"'
2713ffab5952Smrg  setopt NO_GLOB_SUBST
27146781a5f7Smrgelse $as_nop
2715ffab5952Smrg  case `(set -o) 2>/dev/null` in #(
2716ffab5952Smrg  *posix*) :
2717ffab5952Smrg    set -o posix ;; #(
2718ffab5952Smrg  *) :
2719ffab5952Smrg     ;;
2720ffab5952Smrgesac
2721ffab5952Smrgfi
2722ffab5952Smrg
2723ffab5952Smrg
27246781a5f7Smrg
27256781a5f7Smrg# Reset variables that may have inherited troublesome values from
27266781a5f7Smrg# the environment.
27276781a5f7Smrg
27286781a5f7Smrg# IFS needs to be set, to space, tab, and newline, in precisely that order.
27296781a5f7Smrg# (If _AS_PATH_WALK were called with IFS unset, it would have the
27306781a5f7Smrg# side effect of setting IFS to empty, thus disabling word splitting.)
27316781a5f7Smrg# Quoting is to prevent editors from complaining about space-tab.
2732ffab5952Smrgas_nl='
2733ffab5952Smrg'
2734ffab5952Smrgexport as_nl
27356781a5f7SmrgIFS=" ""	$as_nl"
27366781a5f7Smrg
27376781a5f7SmrgPS1='$ '
27386781a5f7SmrgPS2='> '
27396781a5f7SmrgPS4='+ '
27406781a5f7Smrg
27416781a5f7Smrg# Ensure predictable behavior from utilities with locale-dependent output.
27426781a5f7SmrgLC_ALL=C
27436781a5f7Smrgexport LC_ALL
27446781a5f7SmrgLANGUAGE=C
27456781a5f7Smrgexport LANGUAGE
27466781a5f7Smrg
27476781a5f7Smrg# We cannot yet rely on "unset" to work, but we need these variables
27486781a5f7Smrg# to be unset--not just set to an empty or harmless value--now, to
27496781a5f7Smrg# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
27506781a5f7Smrg# also avoids known problems related to "unset" and subshell syntax
27516781a5f7Smrg# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
27526781a5f7Smrgfor as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
27536781a5f7Smrgdo eval test \${$as_var+y} \
27546781a5f7Smrg  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
27556781a5f7Smrgdone
27566781a5f7Smrg
27576781a5f7Smrg# Ensure that fds 0, 1, and 2 are open.
27586781a5f7Smrgif (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
27596781a5f7Smrgif (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
27606781a5f7Smrgif (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
2761ffab5952Smrg
2762ffab5952Smrg# The user is always right.
27636781a5f7Smrgif ${PATH_SEPARATOR+false} :; then
2764ffab5952Smrg  PATH_SEPARATOR=:
2765ffab5952Smrg  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2766ffab5952Smrg    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2767ffab5952Smrg      PATH_SEPARATOR=';'
2768ffab5952Smrg  }
2769ffab5952Smrgfi
2770ffab5952Smrg
2771ffab5952Smrg
2772ffab5952Smrg# Find who we are.  Look in the path if we contain no directory separator.
2773ffab5952Smrgas_myself=
2774ffab5952Smrgcase $0 in #((
2775ffab5952Smrg  *[\\/]* ) as_myself=$0 ;;
2776ffab5952Smrg  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2777ffab5952Smrgfor as_dir in $PATH
2778ffab5952Smrgdo
2779ffab5952Smrg  IFS=$as_save_IFS
27806781a5f7Smrg  case $as_dir in #(((
27816781a5f7Smrg    '') as_dir=./ ;;
27826781a5f7Smrg    */) ;;
27836781a5f7Smrg    *) as_dir=$as_dir/ ;;
27846781a5f7Smrg  esac
27856781a5f7Smrg    test -r "$as_dir$0" && as_myself=$as_dir$0 && break
2786ffab5952Smrg  done
2787ffab5952SmrgIFS=$as_save_IFS
2788ffab5952Smrg
2789ffab5952Smrg     ;;
2790ffab5952Smrgesac
2791ffab5952Smrg# We did not find ourselves, most probably we were run as `sh COMMAND'
2792ffab5952Smrg# in which case we are not to be found in the path.
2793ffab5952Smrgif test "x$as_myself" = x; then
2794ffab5952Smrg  as_myself=$0
2795ffab5952Smrgfi
2796ffab5952Smrgif test ! -f "$as_myself"; then
27976781a5f7Smrg  printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2798ffab5952Smrg  exit 1
2799ffab5952Smrgfi
2800ffab5952Smrg
2801ffab5952Smrg
2802ffab5952Smrg
2803ffab5952Smrg# as_fn_error STATUS ERROR [LINENO LOG_FD]
2804ffab5952Smrg# ----------------------------------------
2805ffab5952Smrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2806ffab5952Smrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2807ffab5952Smrg# script with STATUS, using 1 if that was 0.
2808ffab5952Smrgas_fn_error ()
2809ffab5952Smrg{
2810ffab5952Smrg  as_status=$1; test $as_status -eq 0 && as_status=1
2811ffab5952Smrg  if test "$4"; then
2812ffab5952Smrg    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
28136781a5f7Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
2814ffab5952Smrg  fi
28156781a5f7Smrg  printf "%s\n" "$as_me: error: $2" >&2
2816ffab5952Smrg  as_fn_exit $as_status
2817ffab5952Smrg} # as_fn_error
2818ffab5952Smrg
2819ffab5952Smrg
28206781a5f7Smrg
2821ffab5952Smrg# as_fn_set_status STATUS
2822ffab5952Smrg# -----------------------
2823ffab5952Smrg# Set $? to STATUS, without forking.
2824ffab5952Smrgas_fn_set_status ()
2825ffab5952Smrg{
2826ffab5952Smrg  return $1
2827ffab5952Smrg} # as_fn_set_status
2828ffab5952Smrg
2829ffab5952Smrg# as_fn_exit STATUS
2830ffab5952Smrg# -----------------
2831ffab5952Smrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2832ffab5952Smrgas_fn_exit ()
2833ffab5952Smrg{
2834ffab5952Smrg  set +e
2835ffab5952Smrg  as_fn_set_status $1
2836ffab5952Smrg  exit $1
2837ffab5952Smrg} # as_fn_exit
2838ffab5952Smrg
2839ffab5952Smrg# as_fn_unset VAR
2840ffab5952Smrg# ---------------
2841ffab5952Smrg# Portably unset VAR.
2842ffab5952Smrgas_fn_unset ()
2843ffab5952Smrg{
2844ffab5952Smrg  { eval $1=; unset $1;}
2845ffab5952Smrg}
2846ffab5952Smrgas_unset=as_fn_unset
28476781a5f7Smrg
2848ffab5952Smrg# as_fn_append VAR VALUE
2849ffab5952Smrg# ----------------------
2850ffab5952Smrg# Append the text in VALUE to the end of the definition contained in VAR. Take
2851ffab5952Smrg# advantage of any shell optimizations that allow amortized linear growth over
2852ffab5952Smrg# repeated appends, instead of the typical quadratic growth present in naive
2853ffab5952Smrg# implementations.
28546781a5f7Smrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
28556781a5f7Smrgthen :
2856ffab5952Smrg  eval 'as_fn_append ()
2857ffab5952Smrg  {
2858ffab5952Smrg    eval $1+=\$2
2859ffab5952Smrg  }'
28606781a5f7Smrgelse $as_nop
2861ffab5952Smrg  as_fn_append ()
2862ffab5952Smrg  {
2863ffab5952Smrg    eval $1=\$$1\$2
2864ffab5952Smrg  }
2865ffab5952Smrgfi # as_fn_append
2866ffab5952Smrg
2867ffab5952Smrg# as_fn_arith ARG...
2868ffab5952Smrg# ------------------
2869ffab5952Smrg# Perform arithmetic evaluation on the ARGs, and store the result in the
2870ffab5952Smrg# global $as_val. Take advantage of shells that can avoid forks. The arguments
2871ffab5952Smrg# must be portable across $(()) and expr.
28726781a5f7Smrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
28736781a5f7Smrgthen :
2874ffab5952Smrg  eval 'as_fn_arith ()
2875ffab5952Smrg  {
2876ffab5952Smrg    as_val=$(( $* ))
2877ffab5952Smrg  }'
28786781a5f7Smrgelse $as_nop
2879ffab5952Smrg  as_fn_arith ()
2880ffab5952Smrg  {
2881ffab5952Smrg    as_val=`expr "$@" || test $? -eq 1`
2882ffab5952Smrg  }
2883ffab5952Smrgfi # as_fn_arith
2884ffab5952Smrg
2885ffab5952Smrg
2886ffab5952Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
2887ffab5952Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
2888ffab5952Smrg  as_expr=expr
2889ffab5952Smrgelse
2890ffab5952Smrg  as_expr=false
2891ffab5952Smrgfi
2892ffab5952Smrg
2893ffab5952Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2894ffab5952Smrg  as_basename=basename
2895ffab5952Smrgelse
2896ffab5952Smrg  as_basename=false
2897ffab5952Smrgfi
2898ffab5952Smrg
2899ffab5952Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2900ffab5952Smrg  as_dirname=dirname
2901ffab5952Smrgelse
2902ffab5952Smrg  as_dirname=false
2903ffab5952Smrgfi
2904ffab5952Smrg
2905ffab5952Smrgas_me=`$as_basename -- "$0" ||
2906ffab5952Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2907ffab5952Smrg	 X"$0" : 'X\(//\)$' \| \
2908ffab5952Smrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
29096781a5f7Smrgprintf "%s\n" X/"$0" |
2910ffab5952Smrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
2911ffab5952Smrg	    s//\1/
2912ffab5952Smrg	    q
2913ffab5952Smrg	  }
2914ffab5952Smrg	  /^X\/\(\/\/\)$/{
2915ffab5952Smrg	    s//\1/
2916ffab5952Smrg	    q
2917ffab5952Smrg	  }
2918ffab5952Smrg	  /^X\/\(\/\).*/{
2919ffab5952Smrg	    s//\1/
2920ffab5952Smrg	    q
2921ffab5952Smrg	  }
2922ffab5952Smrg	  s/.*/./; q'`
2923ffab5952Smrg
2924ffab5952Smrg# Avoid depending upon Character Ranges.
2925ffab5952Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
2926ffab5952Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2927ffab5952Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
2928ffab5952Smrgas_cr_digits='0123456789'
2929ffab5952Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits
2930ffab5952Smrg
29316781a5f7Smrg
29326781a5f7Smrg# Determine whether it's possible to make 'echo' print without a newline.
29336781a5f7Smrg# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
29346781a5f7Smrg# for compatibility with existing Makefiles.
2935ffab5952SmrgECHO_C= ECHO_N= ECHO_T=
2936ffab5952Smrgcase `echo -n x` in #(((((
2937ffab5952Smrg-n*)
2938ffab5952Smrg  case `echo 'xy\c'` in
2939ffab5952Smrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
2940ffab5952Smrg  xy)  ECHO_C='\c';;
2941ffab5952Smrg  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
2942ffab5952Smrg       ECHO_T='	';;
2943ffab5952Smrg  esac;;
2944ffab5952Smrg*)
2945ffab5952Smrg  ECHO_N='-n';;
2946ffab5952Smrgesac
2947ffab5952Smrg
29486781a5f7Smrg# For backward compatibility with old third-party macros, we provide
29496781a5f7Smrg# the shell variables $as_echo and $as_echo_n.  New code should use
29506781a5f7Smrg# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
29516781a5f7Smrgas_echo='printf %s\n'
29526781a5f7Smrgas_echo_n='printf %s'
29536781a5f7Smrg
2954ffab5952Smrgrm -f conf$$ conf$$.exe conf$$.file
2955ffab5952Smrgif test -d conf$$.dir; then
2956ffab5952Smrg  rm -f conf$$.dir/conf$$.file
2957ffab5952Smrgelse
2958ffab5952Smrg  rm -f conf$$.dir
2959ffab5952Smrg  mkdir conf$$.dir 2>/dev/null
2960ffab5952Smrgfi
2961ffab5952Smrgif (echo >conf$$.file) 2>/dev/null; then
2962ffab5952Smrg  if ln -s conf$$.file conf$$ 2>/dev/null; then
2963ffab5952Smrg    as_ln_s='ln -s'
2964ffab5952Smrg    # ... but there are two gotchas:
2965ffab5952Smrg    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2966ffab5952Smrg    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
296767e4e4deSmrg    # In both cases, we have to default to `cp -pR'.
2968ffab5952Smrg    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
296967e4e4deSmrg      as_ln_s='cp -pR'
2970ffab5952Smrg  elif ln conf$$.file conf$$ 2>/dev/null; then
2971ffab5952Smrg    as_ln_s=ln
2972ffab5952Smrg  else
297367e4e4deSmrg    as_ln_s='cp -pR'
2974ffab5952Smrg  fi
2975ffab5952Smrgelse
297667e4e4deSmrg  as_ln_s='cp -pR'
2977ffab5952Smrgfi
2978ffab5952Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2979ffab5952Smrgrmdir conf$$.dir 2>/dev/null
2980ffab5952Smrg
2981ffab5952Smrg
2982ffab5952Smrg# as_fn_mkdir_p
2983ffab5952Smrg# -------------
2984ffab5952Smrg# Create "$as_dir" as a directory, including parents if necessary.
2985ffab5952Smrgas_fn_mkdir_p ()
2986ffab5952Smrg{
2987ffab5952Smrg
2988ffab5952Smrg  case $as_dir in #(
2989ffab5952Smrg  -*) as_dir=./$as_dir;;
2990ffab5952Smrg  esac
2991ffab5952Smrg  test -d "$as_dir" || eval $as_mkdir_p || {
2992ffab5952Smrg    as_dirs=
2993ffab5952Smrg    while :; do
2994ffab5952Smrg      case $as_dir in #(
29956781a5f7Smrg      *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2996ffab5952Smrg      *) as_qdir=$as_dir;;
2997ffab5952Smrg      esac
2998ffab5952Smrg      as_dirs="'$as_qdir' $as_dirs"
2999ffab5952Smrg      as_dir=`$as_dirname -- "$as_dir" ||
3000ffab5952Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3001ffab5952Smrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
3002ffab5952Smrg	 X"$as_dir" : 'X\(//\)$' \| \
3003ffab5952Smrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
30046781a5f7Smrgprintf "%s\n" X"$as_dir" |
3005ffab5952Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3006ffab5952Smrg	    s//\1/
3007ffab5952Smrg	    q
3008ffab5952Smrg	  }
3009ffab5952Smrg	  /^X\(\/\/\)[^/].*/{
3010ffab5952Smrg	    s//\1/
3011ffab5952Smrg	    q
3012ffab5952Smrg	  }
3013ffab5952Smrg	  /^X\(\/\/\)$/{
3014ffab5952Smrg	    s//\1/
3015ffab5952Smrg	    q
3016ffab5952Smrg	  }
3017ffab5952Smrg	  /^X\(\/\).*/{
3018ffab5952Smrg	    s//\1/
3019ffab5952Smrg	    q
3020ffab5952Smrg	  }
3021ffab5952Smrg	  s/.*/./; q'`
3022ffab5952Smrg      test -d "$as_dir" && break
3023ffab5952Smrg    done
3024ffab5952Smrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
3025ffab5952Smrg  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3026ffab5952Smrg
3027ffab5952Smrg
3028ffab5952Smrg} # as_fn_mkdir_p
3029ffab5952Smrgif mkdir -p . 2>/dev/null; then
3030ffab5952Smrg  as_mkdir_p='mkdir -p "$as_dir"'
3031ffab5952Smrgelse
3032ffab5952Smrg  test -d ./-p && rmdir ./-p
3033ffab5952Smrg  as_mkdir_p=false
3034ffab5952Smrgfi
3035ffab5952Smrg
303667e4e4deSmrg
303767e4e4deSmrg# as_fn_executable_p FILE
303867e4e4deSmrg# -----------------------
303967e4e4deSmrg# Test if FILE is an executable regular file.
304067e4e4deSmrgas_fn_executable_p ()
304167e4e4deSmrg{
304267e4e4deSmrg  test -f "$1" && test -x "$1"
304367e4e4deSmrg} # as_fn_executable_p
304467e4e4deSmrgas_test_x='test -x'
304567e4e4deSmrgas_executable_p=as_fn_executable_p
3046ffab5952Smrg
3047ffab5952Smrg# Sed expression to map a string onto a valid CPP name.
3048ffab5952Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3049ffab5952Smrg
3050ffab5952Smrg# Sed expression to map a string onto a valid variable name.
3051ffab5952Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3052ffab5952Smrg
3053ffab5952Smrg
3054ffab5952Smrgexec 6>&1
3055ffab5952Smrg## ----------------------------------- ##
3056ffab5952Smrg## Main body of $CONFIG_STATUS script. ##
3057ffab5952Smrg## ----------------------------------- ##
3058ffab5952Smrg_ASEOF
3059ffab5952Smrgtest $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3060ffab5952Smrg
3061ffab5952Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3062ffab5952Smrg# Save the log message, to keep $0 and so on meaningful, and to
3063ffab5952Smrg# report actual input values of CONFIG_FILES etc. instead of their
3064ffab5952Smrg# values after options handling.
3065ffab5952Smrgac_log="
3066ea972ba2SmrgThis file was extended by util-macros $as_me 1.20.2, which was
30676781a5f7Smrggenerated by GNU Autoconf 2.71.  Invocation command line was
3068ffab5952Smrg
3069ffab5952Smrg  CONFIG_FILES    = $CONFIG_FILES
3070ffab5952Smrg  CONFIG_HEADERS  = $CONFIG_HEADERS
3071ffab5952Smrg  CONFIG_LINKS    = $CONFIG_LINKS
3072ffab5952Smrg  CONFIG_COMMANDS = $CONFIG_COMMANDS
3073ffab5952Smrg  $ $0 $@
3074ffab5952Smrg
3075ffab5952Smrgon `(hostname || uname -n) 2>/dev/null | sed 1q`
3076ffab5952Smrg"
3077ffab5952Smrg
3078ffab5952Smrg_ACEOF
3079ffab5952Smrg
3080ffab5952Smrgcase $ac_config_files in *"
3081ffab5952Smrg"*) set x $ac_config_files; shift; ac_config_files=$*;;
3082ffab5952Smrgesac
3083ffab5952Smrg
3084ffab5952Smrg
3085ffab5952Smrg
3086ffab5952Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3087ffab5952Smrg# Files that config.status was made for.
3088ffab5952Smrgconfig_files="$ac_config_files"
3089ffab5952Smrg
3090ffab5952Smrg_ACEOF
3091ffab5952Smrg
3092ffab5952Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3093ffab5952Smrgac_cs_usage="\
3094ffab5952Smrg\`$as_me' instantiates files and other configuration actions
3095ffab5952Smrgfrom templates according to the current configuration.  Unless the files
3096ffab5952Smrgand actions are specified as TAGs, all are instantiated by default.
3097ffab5952Smrg
3098ffab5952SmrgUsage: $0 [OPTION]... [TAG]...
3099ffab5952Smrg
3100ffab5952Smrg  -h, --help       print this help, then exit
3101ffab5952Smrg  -V, --version    print version number and configuration settings, then exit
3102ffab5952Smrg      --config     print configuration, then exit
3103ffab5952Smrg  -q, --quiet, --silent
3104ffab5952Smrg                   do not print progress messages
3105ffab5952Smrg  -d, --debug      don't remove temporary files
3106ffab5952Smrg      --recheck    update $as_me by reconfiguring in the same conditions
3107ffab5952Smrg      --file=FILE[:TEMPLATE]
3108ffab5952Smrg                   instantiate the configuration file FILE
3109ffab5952Smrg
3110ffab5952SmrgConfiguration files:
3111ffab5952Smrg$config_files
3112ffab5952Smrg
3113ea972ba2SmrgReport bugs to <https://gitlab.freedesktop.org/xorg/util/macros/-/issues>."
3114ffab5952Smrg
3115ffab5952Smrg_ACEOF
31166781a5f7Smrgac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
31176781a5f7Smrgac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
3118ffab5952Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31196781a5f7Smrgac_cs_config='$ac_cs_config_escaped'
3120ffab5952Smrgac_cs_version="\\
3121ea972ba2Smrgutil-macros config.status 1.20.2
31226781a5f7Smrgconfigured by $0, generated by GNU Autoconf 2.71,
3123ffab5952Smrg  with options \\"\$ac_cs_config\\"
3124ffab5952Smrg
31256781a5f7SmrgCopyright (C) 2021 Free Software Foundation, Inc.
3126ffab5952SmrgThis config.status script is free software; the Free Software Foundation
3127ffab5952Smrggives unlimited permission to copy, distribute and modify it."
3128ffab5952Smrg
3129ffab5952Smrgac_pwd='$ac_pwd'
3130ffab5952Smrgsrcdir='$srcdir'
3131ffab5952SmrgINSTALL='$INSTALL'
3132ffab5952SmrgMKDIR_P='$MKDIR_P'
3133ffab5952SmrgAWK='$AWK'
3134ffab5952Smrgtest -n "\$AWK" || AWK=awk
3135ffab5952Smrg_ACEOF
3136ffab5952Smrg
3137ffab5952Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3138ffab5952Smrg# The default lists apply if the user does not specify any file.
3139ffab5952Smrgac_need_defaults=:
3140ffab5952Smrgwhile test $# != 0
3141ffab5952Smrgdo
3142ffab5952Smrg  case $1 in
3143ffab5952Smrg  --*=?*)
3144ffab5952Smrg    ac_option=`expr "X$1" : 'X\([^=]*\)='`
3145ffab5952Smrg    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3146ffab5952Smrg    ac_shift=:
3147ffab5952Smrg    ;;
3148ffab5952Smrg  --*=)
3149ffab5952Smrg    ac_option=`expr "X$1" : 'X\([^=]*\)='`
3150ffab5952Smrg    ac_optarg=
3151ffab5952Smrg    ac_shift=:
3152ffab5952Smrg    ;;
3153ffab5952Smrg  *)
3154ffab5952Smrg    ac_option=$1
3155ffab5952Smrg    ac_optarg=$2
3156ffab5952Smrg    ac_shift=shift
3157ffab5952Smrg    ;;
3158ffab5952Smrg  esac
3159ffab5952Smrg
3160ffab5952Smrg  case $ac_option in
3161ffab5952Smrg  # Handling of the options.
3162ffab5952Smrg  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3163ffab5952Smrg    ac_cs_recheck=: ;;
3164ffab5952Smrg  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
31656781a5f7Smrg    printf "%s\n" "$ac_cs_version"; exit ;;
3166ffab5952Smrg  --config | --confi | --conf | --con | --co | --c )
31676781a5f7Smrg    printf "%s\n" "$ac_cs_config"; exit ;;
3168ffab5952Smrg  --debug | --debu | --deb | --de | --d | -d )
3169ffab5952Smrg    debug=: ;;
3170ffab5952Smrg  --file | --fil | --fi | --f )
3171ffab5952Smrg    $ac_shift
3172ffab5952Smrg    case $ac_optarg in
31736781a5f7Smrg    *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3174ffab5952Smrg    '') as_fn_error $? "missing file argument" ;;
3175ffab5952Smrg    esac
3176ffab5952Smrg    as_fn_append CONFIG_FILES " '$ac_optarg'"
3177ffab5952Smrg    ac_need_defaults=false;;
3178ffab5952Smrg  --he | --h |  --help | --hel | -h )
31796781a5f7Smrg    printf "%s\n" "$ac_cs_usage"; exit ;;
3180ffab5952Smrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3181ffab5952Smrg  | -silent | --silent | --silen | --sile | --sil | --si | --s)
3182ffab5952Smrg    ac_cs_silent=: ;;
3183ffab5952Smrg
3184ffab5952Smrg  # This is an error.
3185ffab5952Smrg  -*) as_fn_error $? "unrecognized option: \`$1'
3186ffab5952SmrgTry \`$0 --help' for more information." ;;
3187ffab5952Smrg
3188ffab5952Smrg  *) as_fn_append ac_config_targets " $1"
3189ffab5952Smrg     ac_need_defaults=false ;;
3190ffab5952Smrg
3191ffab5952Smrg  esac
3192ffab5952Smrg  shift
3193ffab5952Smrgdone
3194ffab5952Smrg
3195ffab5952Smrgac_configure_extra_args=
3196ffab5952Smrg
3197ffab5952Smrgif $ac_cs_silent; then
3198ffab5952Smrg  exec 6>/dev/null
3199ffab5952Smrg  ac_configure_extra_args="$ac_configure_extra_args --silent"
3200ffab5952Smrgfi
3201ffab5952Smrg
3202ffab5952Smrg_ACEOF
3203ffab5952Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3204ffab5952Smrgif \$ac_cs_recheck; then
320567e4e4deSmrg  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3206ffab5952Smrg  shift
32076781a5f7Smrg  \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
3208ffab5952Smrg  CONFIG_SHELL='$SHELL'
3209ffab5952Smrg  export CONFIG_SHELL
3210ffab5952Smrg  exec "\$@"
3211ffab5952Smrgfi
3212ffab5952Smrg
3213ffab5952Smrg_ACEOF
3214ffab5952Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3215ffab5952Smrgexec 5>>config.log
3216ffab5952Smrg{
3217ffab5952Smrg  echo
3218ffab5952Smrg  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3219ffab5952Smrg## Running $as_me. ##
3220ffab5952Smrg_ASBOX
32216781a5f7Smrg  printf "%s\n" "$ac_log"
3222ffab5952Smrg} >&5
3223ffab5952Smrg
3224ffab5952Smrg_ACEOF
3225ffab5952Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3226ffab5952Smrg_ACEOF
3227ffab5952Smrg
3228ffab5952Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3229ffab5952Smrg
3230ffab5952Smrg# Handling of arguments.
3231ffab5952Smrgfor ac_config_target in $ac_config_targets
3232ffab5952Smrgdo
3233ffab5952Smrg  case $ac_config_target in
3234ffab5952Smrg    "xorg-macros.pc") CONFIG_FILES="$CONFIG_FILES xorg-macros.pc" ;;
3235ffab5952Smrg    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3236ffab5952Smrg    "xorg-macros.m4") CONFIG_FILES="$CONFIG_FILES xorg-macros.m4:xorg-macros.m4.in:xorgversion.m4" ;;
3237ffab5952Smrg
3238ffab5952Smrg  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3239ffab5952Smrg  esac
3240ffab5952Smrgdone
3241ffab5952Smrg
3242ffab5952Smrg
3243ffab5952Smrg# If the user did not use the arguments to specify the items to instantiate,
3244ffab5952Smrg# then the envvar interface is used.  Set only those that are not.
3245ffab5952Smrg# We use the long form for the default assignment because of an extremely
3246ffab5952Smrg# bizarre bug on SunOS 4.1.3.
3247ffab5952Smrgif $ac_need_defaults; then
32486781a5f7Smrg  test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
3249ffab5952Smrgfi
3250ffab5952Smrg
3251ffab5952Smrg# Have a temporary directory for convenience.  Make it in the build tree
3252ffab5952Smrg# simply because there is no reason against having it here, and in addition,
3253ffab5952Smrg# creating and moving files from /tmp can sometimes cause problems.
3254ffab5952Smrg# Hook for its removal unless debugging.
3255ffab5952Smrg# Note that there is a small window in which the directory will not be cleaned:
3256ffab5952Smrg# after its creation but before its name has been assigned to `$tmp'.
3257ffab5952Smrg$debug ||
3258ffab5952Smrg{
3259ffab5952Smrg  tmp= ac_tmp=
3260ffab5952Smrg  trap 'exit_status=$?
3261ffab5952Smrg  : "${ac_tmp:=$tmp}"
3262ffab5952Smrg  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3263ffab5952Smrg' 0
3264ffab5952Smrg  trap 'as_fn_exit 1' 1 2 13 15
3265ffab5952Smrg}
3266ffab5952Smrg# Create a (secure) tmp directory for tmp files.
3267ffab5952Smrg
3268ffab5952Smrg{
3269ffab5952Smrg  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3270ffab5952Smrg  test -d "$tmp"
3271ffab5952Smrg}  ||
3272ffab5952Smrg{
3273ffab5952Smrg  tmp=./conf$$-$RANDOM
3274ffab5952Smrg  (umask 077 && mkdir "$tmp")
3275ffab5952Smrg} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3276ffab5952Smrgac_tmp=$tmp
3277ffab5952Smrg
3278ffab5952Smrg# Set up the scripts for CONFIG_FILES section.
3279ffab5952Smrg# No need to generate them if there are no CONFIG_FILES.
3280ffab5952Smrg# This happens for instance with `./config.status config.h'.
3281ffab5952Smrgif test -n "$CONFIG_FILES"; then
3282ffab5952Smrg
3283ffab5952Smrg
3284ffab5952Smrgac_cr=`echo X | tr X '\015'`
3285ffab5952Smrg# On cygwin, bash can eat \r inside `` if the user requested igncr.
3286ffab5952Smrg# But we know of no other shell where ac_cr would be empty at this
3287ffab5952Smrg# point, so we can use a bashism as a fallback.
3288ffab5952Smrgif test "x$ac_cr" = x; then
3289ffab5952Smrg  eval ac_cr=\$\'\\r\'
3290ffab5952Smrgfi
3291ffab5952Smrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3292ffab5952Smrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3293ffab5952Smrg  ac_cs_awk_cr='\\r'
3294ffab5952Smrgelse
3295ffab5952Smrg  ac_cs_awk_cr=$ac_cr
3296ffab5952Smrgfi
3297ffab5952Smrg
3298ffab5952Smrgecho 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3299ffab5952Smrg_ACEOF
3300ffab5952Smrg
3301ffab5952Smrg
3302ffab5952Smrg{
3303ffab5952Smrg  echo "cat >conf$$subs.awk <<_ACEOF" &&
3304ffab5952Smrg  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3305ffab5952Smrg  echo "_ACEOF"
3306ffab5952Smrg} >conf$$subs.sh ||
3307ffab5952Smrg  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3308ffab5952Smrgac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3309ffab5952Smrgac_delim='%!_!# '
3310ffab5952Smrgfor ac_last_try in false false false false false :; do
3311ffab5952Smrg  . ./conf$$subs.sh ||
3312ffab5952Smrg    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3313ffab5952Smrg
3314ffab5952Smrg  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3315ffab5952Smrg  if test $ac_delim_n = $ac_delim_num; then
3316ffab5952Smrg    break
3317ffab5952Smrg  elif $ac_last_try; then
3318ffab5952Smrg    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3319ffab5952Smrg  else
3320ffab5952Smrg    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3321ffab5952Smrg  fi
3322ffab5952Smrgdone
3323ffab5952Smrgrm -f conf$$subs.sh
3324ffab5952Smrg
3325ffab5952Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3326ffab5952Smrgcat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3327ffab5952Smrg_ACEOF
3328ffab5952Smrgsed -n '
3329ffab5952Smrgh
3330ffab5952Smrgs/^/S["/; s/!.*/"]=/
3331ffab5952Smrgp
3332ffab5952Smrgg
3333ffab5952Smrgs/^[^!]*!//
3334ffab5952Smrg:repl
3335ffab5952Smrgt repl
3336ffab5952Smrgs/'"$ac_delim"'$//
3337ffab5952Smrgt delim
3338ffab5952Smrg:nl
3339ffab5952Smrgh
3340ffab5952Smrgs/\(.\{148\}\)..*/\1/
3341ffab5952Smrgt more1
3342ffab5952Smrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3343ffab5952Smrgp
3344ffab5952Smrgn
3345ffab5952Smrgb repl
3346ffab5952Smrg:more1
3347ffab5952Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/
3348ffab5952Smrgp
3349ffab5952Smrgg
3350ffab5952Smrgs/.\{148\}//
3351ffab5952Smrgt nl
3352ffab5952Smrg:delim
3353ffab5952Smrgh
3354ffab5952Smrgs/\(.\{148\}\)..*/\1/
3355ffab5952Smrgt more2
3356ffab5952Smrgs/["\\]/\\&/g; s/^/"/; s/$/"/
3357ffab5952Smrgp
3358ffab5952Smrgb
3359ffab5952Smrg:more2
3360ffab5952Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/
3361ffab5952Smrgp
3362ffab5952Smrgg
3363ffab5952Smrgs/.\{148\}//
3364ffab5952Smrgt delim
3365ffab5952Smrg' <conf$$subs.awk | sed '
3366ffab5952Smrg/^[^""]/{
3367ffab5952Smrg  N
3368ffab5952Smrg  s/\n//
3369ffab5952Smrg}
3370ffab5952Smrg' >>$CONFIG_STATUS || ac_write_fail=1
3371ffab5952Smrgrm -f conf$$subs.awk
3372ffab5952Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3373ffab5952Smrg_ACAWK
3374ffab5952Smrgcat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3375ffab5952Smrg  for (key in S) S_is_set[key] = 1
3376ffab5952Smrg  FS = ""
3377ffab5952Smrg
3378ffab5952Smrg}
3379ffab5952Smrg{
3380ffab5952Smrg  line = $ 0
3381ffab5952Smrg  nfields = split(line, field, "@")
3382ffab5952Smrg  substed = 0
3383ffab5952Smrg  len = length(field[1])
3384ffab5952Smrg  for (i = 2; i < nfields; i++) {
3385ffab5952Smrg    key = field[i]
3386ffab5952Smrg    keylen = length(key)
3387ffab5952Smrg    if (S_is_set[key]) {
3388ffab5952Smrg      value = S[key]
3389ffab5952Smrg      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3390ffab5952Smrg      len += length(value) + length(field[++i])
3391ffab5952Smrg      substed = 1
3392ffab5952Smrg    } else
3393ffab5952Smrg      len += 1 + keylen
3394ffab5952Smrg  }
3395ffab5952Smrg
3396ffab5952Smrg  print line
3397ffab5952Smrg}
3398ffab5952Smrg
3399ffab5952Smrg_ACAWK
3400ffab5952Smrg_ACEOF
3401ffab5952Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3402ffab5952Smrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3403ffab5952Smrg  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3404ffab5952Smrgelse
3405ffab5952Smrg  cat
3406ffab5952Smrgfi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3407ffab5952Smrg  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3408ffab5952Smrg_ACEOF
3409ffab5952Smrg
3410ffab5952Smrg# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3411ffab5952Smrg# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3412ffab5952Smrg# trailing colons and then remove the whole line if VPATH becomes empty
3413ffab5952Smrg# (actually we leave an empty line to preserve line numbers).
3414ffab5952Smrgif test "x$srcdir" = x.; then
3415ffab5952Smrg  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
3416ffab5952Smrgh
3417ffab5952Smrgs///
3418ffab5952Smrgs/^/:/
3419ffab5952Smrgs/[	 ]*$/:/
3420ffab5952Smrgs/:\$(srcdir):/:/g
3421ffab5952Smrgs/:\${srcdir}:/:/g
3422ffab5952Smrgs/:@srcdir@:/:/g
3423ffab5952Smrgs/^:*//
3424ffab5952Smrgs/:*$//
3425ffab5952Smrgx
3426ffab5952Smrgs/\(=[	 ]*\).*/\1/
3427ffab5952SmrgG
3428ffab5952Smrgs/\n//
3429ffab5952Smrgs/^[^=]*=[	 ]*$//
3430ffab5952Smrg}'
3431ffab5952Smrgfi
3432ffab5952Smrg
3433ffab5952Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3434ffab5952Smrgfi # test -n "$CONFIG_FILES"
3435ffab5952Smrg
3436ffab5952Smrg
3437ffab5952Smrgeval set X "  :F $CONFIG_FILES      "
3438ffab5952Smrgshift
3439ffab5952Smrgfor ac_tag
3440ffab5952Smrgdo
3441ffab5952Smrg  case $ac_tag in
3442ffab5952Smrg  :[FHLC]) ac_mode=$ac_tag; continue;;
3443ffab5952Smrg  esac
3444ffab5952Smrg  case $ac_mode$ac_tag in
3445ffab5952Smrg  :[FHL]*:*);;
3446ffab5952Smrg  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3447ffab5952Smrg  :[FH]-) ac_tag=-:-;;
3448ffab5952Smrg  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3449ffab5952Smrg  esac
3450ffab5952Smrg  ac_save_IFS=$IFS
3451ffab5952Smrg  IFS=:
3452ffab5952Smrg  set x $ac_tag
3453ffab5952Smrg  IFS=$ac_save_IFS
3454ffab5952Smrg  shift
3455ffab5952Smrg  ac_file=$1
3456ffab5952Smrg  shift
3457ffab5952Smrg
3458ffab5952Smrg  case $ac_mode in
3459ffab5952Smrg  :L) ac_source=$1;;
3460ffab5952Smrg  :[FH])
3461ffab5952Smrg    ac_file_inputs=
3462ffab5952Smrg    for ac_f
3463ffab5952Smrg    do
3464ffab5952Smrg      case $ac_f in
3465ffab5952Smrg      -) ac_f="$ac_tmp/stdin";;
3466ffab5952Smrg      *) # Look for the file first in the build tree, then in the source tree
3467ffab5952Smrg	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
3468ffab5952Smrg	 # because $ac_f cannot contain `:'.
3469ffab5952Smrg	 test -f "$ac_f" ||
3470ffab5952Smrg	   case $ac_f in
3471ffab5952Smrg	   [\\/$]*) false;;
3472ffab5952Smrg	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3473ffab5952Smrg	   esac ||
3474ffab5952Smrg	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3475ffab5952Smrg      esac
34766781a5f7Smrg      case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3477ffab5952Smrg      as_fn_append ac_file_inputs " '$ac_f'"
3478ffab5952Smrg    done
3479ffab5952Smrg
3480ffab5952Smrg    # Let's still pretend it is `configure' which instantiates (i.e., don't
3481ffab5952Smrg    # use $as_me), people would be surprised to read:
3482ffab5952Smrg    #    /* config.h.  Generated by config.status.  */
3483ffab5952Smrg    configure_input='Generated from '`
34846781a5f7Smrg	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3485ffab5952Smrg	`' by configure.'
3486ffab5952Smrg    if test x"$ac_file" != x-; then
3487ffab5952Smrg      configure_input="$ac_file.  $configure_input"
34886781a5f7Smrg      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
34896781a5f7Smrgprintf "%s\n" "$as_me: creating $ac_file" >&6;}
3490ffab5952Smrg    fi
3491ffab5952Smrg    # Neutralize special characters interpreted by sed in replacement strings.
3492ffab5952Smrg    case $configure_input in #(
3493ffab5952Smrg    *\&* | *\|* | *\\* )
34946781a5f7Smrg       ac_sed_conf_input=`printf "%s\n" "$configure_input" |
3495ffab5952Smrg       sed 's/[\\\\&|]/\\\\&/g'`;; #(
3496ffab5952Smrg    *) ac_sed_conf_input=$configure_input;;
3497ffab5952Smrg    esac
3498ffab5952Smrg
3499ffab5952Smrg    case $ac_tag in
3500ffab5952Smrg    *:-:* | *:-) cat >"$ac_tmp/stdin" \
3501ffab5952Smrg      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3502ffab5952Smrg    esac
3503ffab5952Smrg    ;;
3504ffab5952Smrg  esac
3505ffab5952Smrg
3506ffab5952Smrg  ac_dir=`$as_dirname -- "$ac_file" ||
3507ffab5952Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3508ffab5952Smrg	 X"$ac_file" : 'X\(//\)[^/]' \| \
3509ffab5952Smrg	 X"$ac_file" : 'X\(//\)$' \| \
3510ffab5952Smrg	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
35116781a5f7Smrgprintf "%s\n" X"$ac_file" |
3512ffab5952Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3513ffab5952Smrg	    s//\1/
3514ffab5952Smrg	    q
3515ffab5952Smrg	  }
3516ffab5952Smrg	  /^X\(\/\/\)[^/].*/{
3517ffab5952Smrg	    s//\1/
3518ffab5952Smrg	    q
3519ffab5952Smrg	  }
3520ffab5952Smrg	  /^X\(\/\/\)$/{
3521ffab5952Smrg	    s//\1/
3522ffab5952Smrg	    q
3523ffab5952Smrg	  }
3524ffab5952Smrg	  /^X\(\/\).*/{
3525ffab5952Smrg	    s//\1/
3526ffab5952Smrg	    q
3527ffab5952Smrg	  }
3528ffab5952Smrg	  s/.*/./; q'`
3529ffab5952Smrg  as_dir="$ac_dir"; as_fn_mkdir_p
3530ffab5952Smrg  ac_builddir=.
3531ffab5952Smrg
3532ffab5952Smrgcase "$ac_dir" in
3533ffab5952Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3534ffab5952Smrg*)
35356781a5f7Smrg  ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
3536ffab5952Smrg  # A ".." for each directory in $ac_dir_suffix.
35376781a5f7Smrg  ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3538ffab5952Smrg  case $ac_top_builddir_sub in
3539ffab5952Smrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3540ffab5952Smrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3541ffab5952Smrg  esac ;;
3542ffab5952Smrgesac
3543ffab5952Smrgac_abs_top_builddir=$ac_pwd
3544ffab5952Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix
3545ffab5952Smrg# for backward compatibility:
3546ffab5952Smrgac_top_builddir=$ac_top_build_prefix
3547ffab5952Smrg
3548ffab5952Smrgcase $srcdir in
3549ffab5952Smrg  .)  # We are building in place.
3550ffab5952Smrg    ac_srcdir=.
3551ffab5952Smrg    ac_top_srcdir=$ac_top_builddir_sub
3552ffab5952Smrg    ac_abs_top_srcdir=$ac_pwd ;;
3553ffab5952Smrg  [\\/]* | ?:[\\/]* )  # Absolute name.
3554ffab5952Smrg    ac_srcdir=$srcdir$ac_dir_suffix;
3555ffab5952Smrg    ac_top_srcdir=$srcdir
3556ffab5952Smrg    ac_abs_top_srcdir=$srcdir ;;
3557ffab5952Smrg  *) # Relative name.
3558ffab5952Smrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3559ffab5952Smrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
3560ffab5952Smrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3561ffab5952Smrgesac
3562ffab5952Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3563ffab5952Smrg
3564ffab5952Smrg
3565ffab5952Smrg  case $ac_mode in
3566ffab5952Smrg  :F)
3567ffab5952Smrg  #
3568ffab5952Smrg  # CONFIG_FILE
3569ffab5952Smrg  #
3570ffab5952Smrg
3571ffab5952Smrg  case $INSTALL in
3572ffab5952Smrg  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3573ffab5952Smrg  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3574ffab5952Smrg  esac
3575ffab5952Smrg  ac_MKDIR_P=$MKDIR_P
3576ffab5952Smrg  case $MKDIR_P in
3577ffab5952Smrg  [\\/$]* | ?:[\\/]* ) ;;
3578ffab5952Smrg  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3579ffab5952Smrg  esac
3580ffab5952Smrg_ACEOF
3581ffab5952Smrg
3582ffab5952Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3583ffab5952Smrg# If the template does not know about datarootdir, expand it.
3584ffab5952Smrg# FIXME: This hack should be removed a few years after 2.60.
3585ffab5952Smrgac_datarootdir_hack=; ac_datarootdir_seen=
3586ffab5952Smrgac_sed_dataroot='
3587ffab5952Smrg/datarootdir/ {
3588ffab5952Smrg  p
3589ffab5952Smrg  q
3590ffab5952Smrg}
3591ffab5952Smrg/@datadir@/p
3592ffab5952Smrg/@docdir@/p
3593ffab5952Smrg/@infodir@/p
3594ffab5952Smrg/@localedir@/p
3595ffab5952Smrg/@mandir@/p'
3596ffab5952Smrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3597ffab5952Smrg*datarootdir*) ac_datarootdir_seen=yes;;
3598ffab5952Smrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
35996781a5f7Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
36006781a5f7Smrgprintf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3601ffab5952Smrg_ACEOF
3602ffab5952Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3603ffab5952Smrg  ac_datarootdir_hack='
3604ffab5952Smrg  s&@datadir@&$datadir&g
3605ffab5952Smrg  s&@docdir@&$docdir&g
3606ffab5952Smrg  s&@infodir@&$infodir&g
3607ffab5952Smrg  s&@localedir@&$localedir&g
3608ffab5952Smrg  s&@mandir@&$mandir&g
3609ffab5952Smrg  s&\\\${datarootdir}&$datarootdir&g' ;;
3610ffab5952Smrgesac
3611ffab5952Smrg_ACEOF
3612ffab5952Smrg
3613ffab5952Smrg# Neutralize VPATH when `$srcdir' = `.'.
3614ffab5952Smrg# Shell code in configure.ac might set extrasub.
3615ffab5952Smrg# FIXME: do we really want to maintain this feature?
3616ffab5952Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3617ffab5952Smrgac_sed_extra="$ac_vpsub
3618ffab5952Smrg$extrasub
3619ffab5952Smrg_ACEOF
3620ffab5952Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3621ffab5952Smrg:t
3622ffab5952Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3623ffab5952Smrgs|@configure_input@|$ac_sed_conf_input|;t t
3624ffab5952Smrgs&@top_builddir@&$ac_top_builddir_sub&;t t
3625ffab5952Smrgs&@top_build_prefix@&$ac_top_build_prefix&;t t
3626ffab5952Smrgs&@srcdir@&$ac_srcdir&;t t
3627ffab5952Smrgs&@abs_srcdir@&$ac_abs_srcdir&;t t
3628ffab5952Smrgs&@top_srcdir@&$ac_top_srcdir&;t t
3629ffab5952Smrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3630ffab5952Smrgs&@builddir@&$ac_builddir&;t t
3631ffab5952Smrgs&@abs_builddir@&$ac_abs_builddir&;t t
3632ffab5952Smrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3633ffab5952Smrgs&@INSTALL@&$ac_INSTALL&;t t
3634ffab5952Smrgs&@MKDIR_P@&$ac_MKDIR_P&;t t
3635ffab5952Smrg$ac_datarootdir_hack
3636ffab5952Smrg"
3637ffab5952Smrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
3638ffab5952Smrg  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3639ffab5952Smrg
3640ffab5952Smrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3641ffab5952Smrg  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
3642ffab5952Smrg  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
3643ffab5952Smrg      "$ac_tmp/out"`; test -z "$ac_out"; } &&
36446781a5f7Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3645ffab5952Smrgwhich seems to be undefined.  Please make sure it is defined" >&5
36466781a5f7Smrgprintf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3647ffab5952Smrgwhich seems to be undefined.  Please make sure it is defined" >&2;}
3648ffab5952Smrg
3649ffab5952Smrg  rm -f "$ac_tmp/stdin"
3650ffab5952Smrg  case $ac_file in
3651ffab5952Smrg  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3652ffab5952Smrg  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
3653ffab5952Smrg  esac \
3654ffab5952Smrg  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3655ffab5952Smrg ;;
3656ffab5952Smrg
3657ffab5952Smrg
3658ffab5952Smrg
3659ffab5952Smrg  esac
3660ffab5952Smrg
3661ffab5952Smrgdone # for ac_tag
3662ffab5952Smrg
3663ffab5952Smrg
3664ffab5952Smrgas_fn_exit 0
3665ffab5952Smrg_ACEOF
3666ffab5952Smrgac_clean_files=$ac_clean_files_save
3667ffab5952Smrg
3668ffab5952Smrgtest $ac_write_fail = 0 ||
3669ffab5952Smrg  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3670ffab5952Smrg
3671ffab5952Smrg
3672ffab5952Smrg# configure is writing to config.log, and then calls config.status.
3673ffab5952Smrg# config.status does its own redirection, appending to config.log.
3674ffab5952Smrg# Unfortunately, on DOS this fails, as config.log is still kept open
3675ffab5952Smrg# by configure, so config.status won't be able to write to it; its
3676ffab5952Smrg# output is simply discarded.  So we exec the FD to /dev/null,
3677ffab5952Smrg# effectively closing config.log, so it can be properly (re)opened and
3678ffab5952Smrg# appended to by config.status.  When coming back to configure, we
3679ffab5952Smrg# need to make the FD available again.
3680ffab5952Smrgif test "$no_create" != yes; then
3681ffab5952Smrg  ac_cs_success=:
3682ffab5952Smrg  ac_config_status_args=
3683ffab5952Smrg  test "$silent" = yes &&
3684ffab5952Smrg    ac_config_status_args="$ac_config_status_args --quiet"
3685ffab5952Smrg  exec 5>/dev/null
3686ffab5952Smrg  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3687ffab5952Smrg  exec 5>>config.log
3688ffab5952Smrg  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3689ffab5952Smrg  # would make configure fail if this is the last instruction.
3690ffab5952Smrg  $ac_cs_success || as_fn_exit 1
3691ffab5952Smrgfi
3692ffab5952Smrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
36936781a5f7Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
36946781a5f7Smrgprintf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3695ffab5952Smrgfi
3696ffab5952Smrg
36976781a5f7Smrg
3698