configure revision 6781a5f7
1ffab5952Smrg#! /bin/sh
2ffab5952Smrg# Guess values for system-dependent variables and create Makefiles.
36781a5f7Smrg# Generated by GNU Autoconf 2.71 for util-macros 1.20.0.
4ffab5952Smrg#
545aa2fbfSmrg# 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
27045aa2fbfSmrg$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'
6146781a5f7SmrgPACKAGE_VERSION='1.20.0'
6156781a5f7SmrgPACKAGE_STRING='util-macros 1.20.0'
61645aa2fbfSmrgPACKAGE_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
6276781a5f7SmrgCSCOPE
6286781a5f7SmrgETAGS
6296781a5f7SmrgCTAGS
630ffab5952Smrgam__untar
631ffab5952Smrgam__tar
632ffab5952SmrgAMTAR
633ffab5952Smrgam__leading_dot
634ffab5952SmrgSET_MAKE
635ffab5952SmrgAWK
636ffab5952Smrgmkdir_p
637ffab5952SmrgMKDIR_P
638ffab5952SmrgINSTALL_STRIP_PROGRAM
639ffab5952SmrgSTRIP
640ffab5952Smrginstall_sh
641ffab5952SmrgMAKEINFO
642ffab5952SmrgAUTOHEADER
643ffab5952SmrgAUTOMAKE
644ffab5952SmrgAUTOCONF
645ffab5952SmrgACLOCAL
646ffab5952SmrgVERSION
647ffab5952SmrgPACKAGE
648ffab5952SmrgCYGPATH_W
649ffab5952Smrgam__isrc
650ffab5952SmrgINSTALL_DATA
651ffab5952SmrgINSTALL_SCRIPT
652ffab5952SmrgINSTALL_PROGRAM
653ffab5952Smrgtarget_alias
654ffab5952Smrghost_alias
655ffab5952Smrgbuild_alias
656ffab5952SmrgLIBS
657ffab5952SmrgECHO_T
658ffab5952SmrgECHO_N
659ffab5952SmrgECHO_C
660ffab5952SmrgDEFS
661ffab5952Smrgmandir
662ffab5952Smrglocaledir
663ffab5952Smrglibdir
664ffab5952Smrgpsdir
665ffab5952Smrgpdfdir
666ffab5952Smrgdvidir
667ffab5952Smrghtmldir
668ffab5952Smrginfodir
669ffab5952Smrgdocdir
670ffab5952Smrgoldincludedir
671ffab5952Smrgincludedir
67245aa2fbfSmrgrunstatedir
673ffab5952Smrglocalstatedir
674ffab5952Smrgsharedstatedir
675ffab5952Smrgsysconfdir
676ffab5952Smrgdatadir
677ffab5952Smrgdatarootdir
678ffab5952Smrglibexecdir
679ffab5952Smrgsbindir
680ffab5952Smrgbindir
681ffab5952Smrgprogram_transform_name
682ffab5952Smrgprefix
683ffab5952Smrgexec_prefix
684ffab5952SmrgPACKAGE_URL
685ffab5952SmrgPACKAGE_BUGREPORT
686ffab5952SmrgPACKAGE_STRING
687ffab5952SmrgPACKAGE_VERSION
688ffab5952SmrgPACKAGE_TARNAME
689ffab5952SmrgPACKAGE_NAME
690ffab5952SmrgPATH_SEPARATOR
691ffab5952SmrgSHELL'
692ffab5952Smrgac_subst_files=''
693ffab5952Smrgac_user_opts='
694ffab5952Smrgenable_option_checking
69567e4e4deSmrgenable_silent_rules
696ffab5952Smrg'
697ffab5952Smrg      ac_precious_vars='build_alias
698ffab5952Smrghost_alias
699ffab5952Smrgtarget_alias'
700ffab5952Smrg
701ffab5952Smrg
702ffab5952Smrg# Initialize some variables set by options.
703ffab5952Smrgac_init_help=
704ffab5952Smrgac_init_version=false
705ffab5952Smrgac_unrecognized_opts=
706ffab5952Smrgac_unrecognized_sep=
707ffab5952Smrg# The variables have the same names as the options, with
708ffab5952Smrg# dashes changed to underlines.
709ffab5952Smrgcache_file=/dev/null
710ffab5952Smrgexec_prefix=NONE
711ffab5952Smrgno_create=
712ffab5952Smrgno_recursion=
713ffab5952Smrgprefix=NONE
714ffab5952Smrgprogram_prefix=NONE
715ffab5952Smrgprogram_suffix=NONE
716ffab5952Smrgprogram_transform_name=s,x,x,
717ffab5952Smrgsilent=
718ffab5952Smrgsite=
719ffab5952Smrgsrcdir=
720ffab5952Smrgverbose=
721ffab5952Smrgx_includes=NONE
722ffab5952Smrgx_libraries=NONE
723ffab5952Smrg
724ffab5952Smrg# Installation directory options.
725ffab5952Smrg# These are left unexpanded so users can "make install exec_prefix=/foo"
726ffab5952Smrg# and all the variables that are supposed to be based on exec_prefix
727ffab5952Smrg# by default will actually change.
728ffab5952Smrg# Use braces instead of parens because sh, perl, etc. also accept them.
729ffab5952Smrg# (The list follows the same order as the GNU Coding Standards.)
730ffab5952Smrgbindir='${exec_prefix}/bin'
731ffab5952Smrgsbindir='${exec_prefix}/sbin'
732ffab5952Smrglibexecdir='${exec_prefix}/libexec'
733ffab5952Smrgdatarootdir='${prefix}/share'
734ffab5952Smrgdatadir='${datarootdir}'
735ffab5952Smrgsysconfdir='${prefix}/etc'
736ffab5952Smrgsharedstatedir='${prefix}/com'
737ffab5952Smrglocalstatedir='${prefix}/var'
73845aa2fbfSmrgrunstatedir='${localstatedir}/run'
739ffab5952Smrgincludedir='${prefix}/include'
740ffab5952Smrgoldincludedir='/usr/include'
741ffab5952Smrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
742ffab5952Smrginfodir='${datarootdir}/info'
743ffab5952Smrghtmldir='${docdir}'
744ffab5952Smrgdvidir='${docdir}'
745ffab5952Smrgpdfdir='${docdir}'
746ffab5952Smrgpsdir='${docdir}'
747ffab5952Smrglibdir='${exec_prefix}/lib'
748ffab5952Smrglocaledir='${datarootdir}/locale'
749ffab5952Smrgmandir='${datarootdir}/man'
750ffab5952Smrg
751ffab5952Smrgac_prev=
752ffab5952Smrgac_dashdash=
753ffab5952Smrgfor ac_option
754ffab5952Smrgdo
755ffab5952Smrg  # If the previous option needs an argument, assign it.
756ffab5952Smrg  if test -n "$ac_prev"; then
757ffab5952Smrg    eval $ac_prev=\$ac_option
758ffab5952Smrg    ac_prev=
759ffab5952Smrg    continue
760ffab5952Smrg  fi
761ffab5952Smrg
762ffab5952Smrg  case $ac_option in
763ffab5952Smrg  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
764ffab5952Smrg  *=)   ac_optarg= ;;
765ffab5952Smrg  *)    ac_optarg=yes ;;
766ffab5952Smrg  esac
767ffab5952Smrg
768ffab5952Smrg  case $ac_dashdash$ac_option in
769ffab5952Smrg  --)
770ffab5952Smrg    ac_dashdash=yes ;;
771ffab5952Smrg
772ffab5952Smrg  -bindir | --bindir | --bindi | --bind | --bin | --bi)
773ffab5952Smrg    ac_prev=bindir ;;
774ffab5952Smrg  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
775ffab5952Smrg    bindir=$ac_optarg ;;
776ffab5952Smrg
777ffab5952Smrg  -build | --build | --buil | --bui | --bu)
778ffab5952Smrg    ac_prev=build_alias ;;
779ffab5952Smrg  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
780ffab5952Smrg    build_alias=$ac_optarg ;;
781ffab5952Smrg
782ffab5952Smrg  -cache-file | --cache-file | --cache-fil | --cache-fi \
783ffab5952Smrg  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
784ffab5952Smrg    ac_prev=cache_file ;;
785ffab5952Smrg  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
786ffab5952Smrg  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
787ffab5952Smrg    cache_file=$ac_optarg ;;
788ffab5952Smrg
789ffab5952Smrg  --config-cache | -C)
790ffab5952Smrg    cache_file=config.cache ;;
791ffab5952Smrg
792ffab5952Smrg  -datadir | --datadir | --datadi | --datad)
793ffab5952Smrg    ac_prev=datadir ;;
794ffab5952Smrg  -datadir=* | --datadir=* | --datadi=* | --datad=*)
795ffab5952Smrg    datadir=$ac_optarg ;;
796ffab5952Smrg
797ffab5952Smrg  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
798ffab5952Smrg  | --dataroo | --dataro | --datar)
799ffab5952Smrg    ac_prev=datarootdir ;;
800ffab5952Smrg  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
801ffab5952Smrg  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
802ffab5952Smrg    datarootdir=$ac_optarg ;;
803ffab5952Smrg
804ffab5952Smrg  -disable-* | --disable-*)
805ffab5952Smrg    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
806ffab5952Smrg    # Reject names that are not valid shell variable names.
807ffab5952Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
8086781a5f7Smrg      as_fn_error $? "invalid feature name: \`$ac_useropt'"
809ffab5952Smrg    ac_useropt_orig=$ac_useropt
8106781a5f7Smrg    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
811ffab5952Smrg    case $ac_user_opts in
812ffab5952Smrg      *"
813ffab5952Smrg"enable_$ac_useropt"
814ffab5952Smrg"*) ;;
815ffab5952Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
816ffab5952Smrg	 ac_unrecognized_sep=', ';;
817ffab5952Smrg    esac
818ffab5952Smrg    eval enable_$ac_useropt=no ;;
819ffab5952Smrg
820ffab5952Smrg  -docdir | --docdir | --docdi | --doc | --do)
821ffab5952Smrg    ac_prev=docdir ;;
822ffab5952Smrg  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
823ffab5952Smrg    docdir=$ac_optarg ;;
824ffab5952Smrg
825ffab5952Smrg  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
826ffab5952Smrg    ac_prev=dvidir ;;
827ffab5952Smrg  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
828ffab5952Smrg    dvidir=$ac_optarg ;;
829ffab5952Smrg
830ffab5952Smrg  -enable-* | --enable-*)
831ffab5952Smrg    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
832ffab5952Smrg    # Reject names that are not valid shell variable names.
833ffab5952Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
8346781a5f7Smrg      as_fn_error $? "invalid feature name: \`$ac_useropt'"
835ffab5952Smrg    ac_useropt_orig=$ac_useropt
8366781a5f7Smrg    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
837ffab5952Smrg    case $ac_user_opts in
838ffab5952Smrg      *"
839ffab5952Smrg"enable_$ac_useropt"
840ffab5952Smrg"*) ;;
841ffab5952Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
842ffab5952Smrg	 ac_unrecognized_sep=', ';;
843ffab5952Smrg    esac
844ffab5952Smrg    eval enable_$ac_useropt=\$ac_optarg ;;
845ffab5952Smrg
846ffab5952Smrg  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
847ffab5952Smrg  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
848ffab5952Smrg  | --exec | --exe | --ex)
849ffab5952Smrg    ac_prev=exec_prefix ;;
850ffab5952Smrg  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
851ffab5952Smrg  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
852ffab5952Smrg  | --exec=* | --exe=* | --ex=*)
853ffab5952Smrg    exec_prefix=$ac_optarg ;;
854ffab5952Smrg
855ffab5952Smrg  -gas | --gas | --ga | --g)
856ffab5952Smrg    # Obsolete; use --with-gas.
857ffab5952Smrg    with_gas=yes ;;
858ffab5952Smrg
859ffab5952Smrg  -help | --help | --hel | --he | -h)
860ffab5952Smrg    ac_init_help=long ;;
861ffab5952Smrg  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
862ffab5952Smrg    ac_init_help=recursive ;;
863ffab5952Smrg  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
864ffab5952Smrg    ac_init_help=short ;;
865ffab5952Smrg
866ffab5952Smrg  -host | --host | --hos | --ho)
867ffab5952Smrg    ac_prev=host_alias ;;
868ffab5952Smrg  -host=* | --host=* | --hos=* | --ho=*)
869ffab5952Smrg    host_alias=$ac_optarg ;;
870ffab5952Smrg
871ffab5952Smrg  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
872ffab5952Smrg    ac_prev=htmldir ;;
873ffab5952Smrg  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
874ffab5952Smrg  | --ht=*)
875ffab5952Smrg    htmldir=$ac_optarg ;;
876ffab5952Smrg
877ffab5952Smrg  -includedir | --includedir | --includedi | --included | --include \
878ffab5952Smrg  | --includ | --inclu | --incl | --inc)
879ffab5952Smrg    ac_prev=includedir ;;
880ffab5952Smrg  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
881ffab5952Smrg  | --includ=* | --inclu=* | --incl=* | --inc=*)
882ffab5952Smrg    includedir=$ac_optarg ;;
883ffab5952Smrg
884ffab5952Smrg  -infodir | --infodir | --infodi | --infod | --info | --inf)
885ffab5952Smrg    ac_prev=infodir ;;
886ffab5952Smrg  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
887ffab5952Smrg    infodir=$ac_optarg ;;
888ffab5952Smrg
889ffab5952Smrg  -libdir | --libdir | --libdi | --libd)
890ffab5952Smrg    ac_prev=libdir ;;
891ffab5952Smrg  -libdir=* | --libdir=* | --libdi=* | --libd=*)
892ffab5952Smrg    libdir=$ac_optarg ;;
893ffab5952Smrg
894ffab5952Smrg  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
895ffab5952Smrg  | --libexe | --libex | --libe)
896ffab5952Smrg    ac_prev=libexecdir ;;
897ffab5952Smrg  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
898ffab5952Smrg  | --libexe=* | --libex=* | --libe=*)
899ffab5952Smrg    libexecdir=$ac_optarg ;;
900ffab5952Smrg
901ffab5952Smrg  -localedir | --localedir | --localedi | --localed | --locale)
902ffab5952Smrg    ac_prev=localedir ;;
903ffab5952Smrg  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
904ffab5952Smrg    localedir=$ac_optarg ;;
905ffab5952Smrg
906ffab5952Smrg  -localstatedir | --localstatedir | --localstatedi | --localstated \
907ffab5952Smrg  | --localstate | --localstat | --localsta | --localst | --locals)
908ffab5952Smrg    ac_prev=localstatedir ;;
909ffab5952Smrg  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
910ffab5952Smrg  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
911ffab5952Smrg    localstatedir=$ac_optarg ;;
912ffab5952Smrg
913ffab5952Smrg  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
914ffab5952Smrg    ac_prev=mandir ;;
915ffab5952Smrg  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
916ffab5952Smrg    mandir=$ac_optarg ;;
917ffab5952Smrg
918ffab5952Smrg  -nfp | --nfp | --nf)
919ffab5952Smrg    # Obsolete; use --without-fp.
920ffab5952Smrg    with_fp=no ;;
921ffab5952Smrg
922ffab5952Smrg  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
923ffab5952Smrg  | --no-cr | --no-c | -n)
924ffab5952Smrg    no_create=yes ;;
925ffab5952Smrg
926ffab5952Smrg  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
927ffab5952Smrg  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
928ffab5952Smrg    no_recursion=yes ;;
929ffab5952Smrg
930ffab5952Smrg  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
931ffab5952Smrg  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
932ffab5952Smrg  | --oldin | --oldi | --old | --ol | --o)
933ffab5952Smrg    ac_prev=oldincludedir ;;
934ffab5952Smrg  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
935ffab5952Smrg  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
936ffab5952Smrg  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
937ffab5952Smrg    oldincludedir=$ac_optarg ;;
938ffab5952Smrg
939ffab5952Smrg  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
940ffab5952Smrg    ac_prev=prefix ;;
941ffab5952Smrg  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
942ffab5952Smrg    prefix=$ac_optarg ;;
943ffab5952Smrg
944ffab5952Smrg  -program-prefix | --program-prefix | --program-prefi | --program-pref \
945ffab5952Smrg  | --program-pre | --program-pr | --program-p)
946ffab5952Smrg    ac_prev=program_prefix ;;
947ffab5952Smrg  -program-prefix=* | --program-prefix=* | --program-prefi=* \
948ffab5952Smrg  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
949ffab5952Smrg    program_prefix=$ac_optarg ;;
950ffab5952Smrg
951ffab5952Smrg  -program-suffix | --program-suffix | --program-suffi | --program-suff \
952ffab5952Smrg  | --program-suf | --program-su | --program-s)
953ffab5952Smrg    ac_prev=program_suffix ;;
954ffab5952Smrg  -program-suffix=* | --program-suffix=* | --program-suffi=* \
955ffab5952Smrg  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
956ffab5952Smrg    program_suffix=$ac_optarg ;;
957ffab5952Smrg
958ffab5952Smrg  -program-transform-name | --program-transform-name \
959ffab5952Smrg  | --program-transform-nam | --program-transform-na \
960ffab5952Smrg  | --program-transform-n | --program-transform- \
961ffab5952Smrg  | --program-transform | --program-transfor \
962ffab5952Smrg  | --program-transfo | --program-transf \
963ffab5952Smrg  | --program-trans | --program-tran \
964ffab5952Smrg  | --progr-tra | --program-tr | --program-t)
965ffab5952Smrg    ac_prev=program_transform_name ;;
966ffab5952Smrg  -program-transform-name=* | --program-transform-name=* \
967ffab5952Smrg  | --program-transform-nam=* | --program-transform-na=* \
968ffab5952Smrg  | --program-transform-n=* | --program-transform-=* \
969ffab5952Smrg  | --program-transform=* | --program-transfor=* \
970ffab5952Smrg  | --program-transfo=* | --program-transf=* \
971ffab5952Smrg  | --program-trans=* | --program-tran=* \
972ffab5952Smrg  | --progr-tra=* | --program-tr=* | --program-t=*)
973ffab5952Smrg    program_transform_name=$ac_optarg ;;
974ffab5952Smrg
975ffab5952Smrg  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
976ffab5952Smrg    ac_prev=pdfdir ;;
977ffab5952Smrg  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
978ffab5952Smrg    pdfdir=$ac_optarg ;;
979ffab5952Smrg
980ffab5952Smrg  -psdir | --psdir | --psdi | --psd | --ps)
981ffab5952Smrg    ac_prev=psdir ;;
982ffab5952Smrg  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
983ffab5952Smrg    psdir=$ac_optarg ;;
984ffab5952Smrg
985ffab5952Smrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
986ffab5952Smrg  | -silent | --silent | --silen | --sile | --sil)
987ffab5952Smrg    silent=yes ;;
988ffab5952Smrg
98945aa2fbfSmrg  -runstatedir | --runstatedir | --runstatedi | --runstated \
99045aa2fbfSmrg  | --runstate | --runstat | --runsta | --runst | --runs \
99145aa2fbfSmrg  | --run | --ru | --r)
99245aa2fbfSmrg    ac_prev=runstatedir ;;
99345aa2fbfSmrg  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
99445aa2fbfSmrg  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
99545aa2fbfSmrg  | --run=* | --ru=* | --r=*)
99645aa2fbfSmrg    runstatedir=$ac_optarg ;;
99745aa2fbfSmrg
998ffab5952Smrg  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
999ffab5952Smrg    ac_prev=sbindir ;;
1000ffab5952Smrg  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1001ffab5952Smrg  | --sbi=* | --sb=*)
1002ffab5952Smrg    sbindir=$ac_optarg ;;
1003ffab5952Smrg
1004ffab5952Smrg  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1005ffab5952Smrg  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1006ffab5952Smrg  | --sharedst | --shareds | --shared | --share | --shar \
1007ffab5952Smrg  | --sha | --sh)
1008ffab5952Smrg    ac_prev=sharedstatedir ;;
1009ffab5952Smrg  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1010ffab5952Smrg  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1011ffab5952Smrg  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1012ffab5952Smrg  | --sha=* | --sh=*)
1013ffab5952Smrg    sharedstatedir=$ac_optarg ;;
1014ffab5952Smrg
1015ffab5952Smrg  -site | --site | --sit)
1016ffab5952Smrg    ac_prev=site ;;
1017ffab5952Smrg  -site=* | --site=* | --sit=*)
1018ffab5952Smrg    site=$ac_optarg ;;
1019ffab5952Smrg
1020ffab5952Smrg  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1021ffab5952Smrg    ac_prev=srcdir ;;
1022ffab5952Smrg  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1023ffab5952Smrg    srcdir=$ac_optarg ;;
1024ffab5952Smrg
1025ffab5952Smrg  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1026ffab5952Smrg  | --syscon | --sysco | --sysc | --sys | --sy)
1027ffab5952Smrg    ac_prev=sysconfdir ;;
1028ffab5952Smrg  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1029ffab5952Smrg  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1030ffab5952Smrg    sysconfdir=$ac_optarg ;;
1031ffab5952Smrg
1032ffab5952Smrg  -target | --target | --targe | --targ | --tar | --ta | --t)
1033ffab5952Smrg    ac_prev=target_alias ;;
1034ffab5952Smrg  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1035ffab5952Smrg    target_alias=$ac_optarg ;;
1036ffab5952Smrg
1037ffab5952Smrg  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1038ffab5952Smrg    verbose=yes ;;
1039ffab5952Smrg
1040ffab5952Smrg  -version | --version | --versio | --versi | --vers | -V)
1041ffab5952Smrg    ac_init_version=: ;;
1042ffab5952Smrg
1043ffab5952Smrg  -with-* | --with-*)
1044ffab5952Smrg    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1045ffab5952Smrg    # Reject names that are not valid shell variable names.
1046ffab5952Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
10476781a5f7Smrg      as_fn_error $? "invalid package name: \`$ac_useropt'"
1048ffab5952Smrg    ac_useropt_orig=$ac_useropt
10496781a5f7Smrg    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1050ffab5952Smrg    case $ac_user_opts in
1051ffab5952Smrg      *"
1052ffab5952Smrg"with_$ac_useropt"
1053ffab5952Smrg"*) ;;
1054ffab5952Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1055ffab5952Smrg	 ac_unrecognized_sep=', ';;
1056ffab5952Smrg    esac
1057ffab5952Smrg    eval with_$ac_useropt=\$ac_optarg ;;
1058ffab5952Smrg
1059ffab5952Smrg  -without-* | --without-*)
1060ffab5952Smrg    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1061ffab5952Smrg    # Reject names that are not valid shell variable names.
1062ffab5952Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
10636781a5f7Smrg      as_fn_error $? "invalid package name: \`$ac_useropt'"
1064ffab5952Smrg    ac_useropt_orig=$ac_useropt
10656781a5f7Smrg    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1066ffab5952Smrg    case $ac_user_opts in
1067ffab5952Smrg      *"
1068ffab5952Smrg"with_$ac_useropt"
1069ffab5952Smrg"*) ;;
1070ffab5952Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1071ffab5952Smrg	 ac_unrecognized_sep=', ';;
1072ffab5952Smrg    esac
1073ffab5952Smrg    eval with_$ac_useropt=no ;;
1074ffab5952Smrg
1075ffab5952Smrg  --x)
1076ffab5952Smrg    # Obsolete; use --with-x.
1077ffab5952Smrg    with_x=yes ;;
1078ffab5952Smrg
1079ffab5952Smrg  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1080ffab5952Smrg  | --x-incl | --x-inc | --x-in | --x-i)
1081ffab5952Smrg    ac_prev=x_includes ;;
1082ffab5952Smrg  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1083ffab5952Smrg  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1084ffab5952Smrg    x_includes=$ac_optarg ;;
1085ffab5952Smrg
1086ffab5952Smrg  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1087ffab5952Smrg  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1088ffab5952Smrg    ac_prev=x_libraries ;;
1089ffab5952Smrg  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1090ffab5952Smrg  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1091ffab5952Smrg    x_libraries=$ac_optarg ;;
1092ffab5952Smrg
1093ffab5952Smrg  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1094ffab5952SmrgTry \`$0 --help' for more information"
1095ffab5952Smrg    ;;
1096ffab5952Smrg
1097ffab5952Smrg  *=*)
1098ffab5952Smrg    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1099ffab5952Smrg    # Reject names that are not valid shell variable names.
1100ffab5952Smrg    case $ac_envvar in #(
1101ffab5952Smrg      '' | [0-9]* | *[!_$as_cr_alnum]* )
1102ffab5952Smrg      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1103ffab5952Smrg    esac
1104ffab5952Smrg    eval $ac_envvar=\$ac_optarg
1105ffab5952Smrg    export $ac_envvar ;;
1106ffab5952Smrg
1107ffab5952Smrg  *)
1108ffab5952Smrg    # FIXME: should be removed in autoconf 3.0.
11096781a5f7Smrg    printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1110ffab5952Smrg    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
11116781a5f7Smrg      printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1112ffab5952Smrg    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1113ffab5952Smrg    ;;
1114ffab5952Smrg
1115ffab5952Smrg  esac
1116ffab5952Smrgdone
1117ffab5952Smrg
1118ffab5952Smrgif test -n "$ac_prev"; then
1119ffab5952Smrg  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1120ffab5952Smrg  as_fn_error $? "missing argument to $ac_option"
1121ffab5952Smrgfi
1122ffab5952Smrg
1123ffab5952Smrgif test -n "$ac_unrecognized_opts"; then
1124ffab5952Smrg  case $enable_option_checking in
1125ffab5952Smrg    no) ;;
1126ffab5952Smrg    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
11276781a5f7Smrg    *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1128ffab5952Smrg  esac
1129ffab5952Smrgfi
1130ffab5952Smrg
1131ffab5952Smrg# Check all directory arguments for consistency.
1132ffab5952Smrgfor ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1133ffab5952Smrg		datadir sysconfdir sharedstatedir localstatedir includedir \
1134ffab5952Smrg		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
113545aa2fbfSmrg		libdir localedir mandir runstatedir
1136ffab5952Smrgdo
1137ffab5952Smrg  eval ac_val=\$$ac_var
1138ffab5952Smrg  # Remove trailing slashes.
1139ffab5952Smrg  case $ac_val in
1140ffab5952Smrg    */ )
1141ffab5952Smrg      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1142ffab5952Smrg      eval $ac_var=\$ac_val;;
1143ffab5952Smrg  esac
1144ffab5952Smrg  # Be sure to have absolute directory names.
1145ffab5952Smrg  case $ac_val in
1146ffab5952Smrg    [\\/$]* | ?:[\\/]* )  continue;;
1147ffab5952Smrg    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1148ffab5952Smrg  esac
1149ffab5952Smrg  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1150ffab5952Smrgdone
1151ffab5952Smrg
1152ffab5952Smrg# There might be people who depend on the old broken behavior: `$host'
1153ffab5952Smrg# used to hold the argument of --host etc.
1154ffab5952Smrg# FIXME: To remove some day.
1155ffab5952Smrgbuild=$build_alias
1156ffab5952Smrghost=$host_alias
1157ffab5952Smrgtarget=$target_alias
1158ffab5952Smrg
1159ffab5952Smrg# FIXME: To remove some day.
1160ffab5952Smrgif test "x$host_alias" != x; then
1161ffab5952Smrg  if test "x$build_alias" = x; then
1162ffab5952Smrg    cross_compiling=maybe
1163ffab5952Smrg  elif test "x$build_alias" != "x$host_alias"; then
1164ffab5952Smrg    cross_compiling=yes
1165ffab5952Smrg  fi
1166ffab5952Smrgfi
1167ffab5952Smrg
1168ffab5952Smrgac_tool_prefix=
1169ffab5952Smrgtest -n "$host_alias" && ac_tool_prefix=$host_alias-
1170ffab5952Smrg
1171ffab5952Smrgtest "$silent" = yes && exec 6>/dev/null
1172ffab5952Smrg
1173ffab5952Smrg
1174ffab5952Smrgac_pwd=`pwd` && test -n "$ac_pwd" &&
1175ffab5952Smrgac_ls_di=`ls -di .` &&
1176ffab5952Smrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1177ffab5952Smrg  as_fn_error $? "working directory cannot be determined"
1178ffab5952Smrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1179ffab5952Smrg  as_fn_error $? "pwd does not report name of working directory"
1180ffab5952Smrg
1181ffab5952Smrg
1182ffab5952Smrg# Find the source files, if location was not specified.
1183ffab5952Smrgif test -z "$srcdir"; then
1184ffab5952Smrg  ac_srcdir_defaulted=yes
1185ffab5952Smrg  # Try the directory containing this script, then the parent directory.
1186ffab5952Smrg  ac_confdir=`$as_dirname -- "$as_myself" ||
1187ffab5952Smrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1188ffab5952Smrg	 X"$as_myself" : 'X\(//\)[^/]' \| \
1189ffab5952Smrg	 X"$as_myself" : 'X\(//\)$' \| \
1190ffab5952Smrg	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
11916781a5f7Smrgprintf "%s\n" X"$as_myself" |
1192ffab5952Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1193ffab5952Smrg	    s//\1/
1194ffab5952Smrg	    q
1195ffab5952Smrg	  }
1196ffab5952Smrg	  /^X\(\/\/\)[^/].*/{
1197ffab5952Smrg	    s//\1/
1198ffab5952Smrg	    q
1199ffab5952Smrg	  }
1200ffab5952Smrg	  /^X\(\/\/\)$/{
1201ffab5952Smrg	    s//\1/
1202ffab5952Smrg	    q
1203ffab5952Smrg	  }
1204ffab5952Smrg	  /^X\(\/\).*/{
1205ffab5952Smrg	    s//\1/
1206ffab5952Smrg	    q
1207ffab5952Smrg	  }
1208ffab5952Smrg	  s/.*/./; q'`
1209ffab5952Smrg  srcdir=$ac_confdir
1210ffab5952Smrg  if test ! -r "$srcdir/$ac_unique_file"; then
1211ffab5952Smrg    srcdir=..
1212ffab5952Smrg  fi
1213ffab5952Smrgelse
1214ffab5952Smrg  ac_srcdir_defaulted=no
1215ffab5952Smrgfi
1216ffab5952Smrgif test ! -r "$srcdir/$ac_unique_file"; then
1217ffab5952Smrg  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1218ffab5952Smrg  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1219ffab5952Smrgfi
1220ffab5952Smrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1221ffab5952Smrgac_abs_confdir=`(
1222ffab5952Smrg	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1223ffab5952Smrg	pwd)`
1224ffab5952Smrg# When building in place, set srcdir=.
1225ffab5952Smrgif test "$ac_abs_confdir" = "$ac_pwd"; then
1226ffab5952Smrg  srcdir=.
1227ffab5952Smrgfi
1228ffab5952Smrg# Remove unnecessary trailing slashes from srcdir.
1229ffab5952Smrg# Double slashes in file names in object file debugging info
1230ffab5952Smrg# mess up M-x gdb in Emacs.
1231ffab5952Smrgcase $srcdir in
1232ffab5952Smrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1233ffab5952Smrgesac
1234ffab5952Smrgfor ac_var in $ac_precious_vars; do
1235ffab5952Smrg  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1236ffab5952Smrg  eval ac_env_${ac_var}_value=\$${ac_var}
1237ffab5952Smrg  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1238ffab5952Smrg  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1239ffab5952Smrgdone
1240ffab5952Smrg
1241ffab5952Smrg#
1242ffab5952Smrg# Report the --help message.
1243ffab5952Smrg#
1244ffab5952Smrgif test "$ac_init_help" = "long"; then
1245ffab5952Smrg  # Omit some internal or obsolete options to make the list less imposing.
1246ffab5952Smrg  # This message is too long to be a string in the A/UX 3.1 sh.
1247ffab5952Smrg  cat <<_ACEOF
12486781a5f7Smrg\`configure' configures util-macros 1.20.0 to adapt to many kinds of systems.
1249ffab5952Smrg
1250ffab5952SmrgUsage: $0 [OPTION]... [VAR=VALUE]...
1251ffab5952Smrg
1252ffab5952SmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as
1253ffab5952SmrgVAR=VALUE.  See below for descriptions of some of the useful variables.
1254ffab5952Smrg
1255ffab5952SmrgDefaults for the options are specified in brackets.
1256ffab5952Smrg
1257ffab5952SmrgConfiguration:
1258ffab5952Smrg  -h, --help              display this help and exit
1259ffab5952Smrg      --help=short        display options specific to this package
1260ffab5952Smrg      --help=recursive    display the short help of all the included packages
1261ffab5952Smrg  -V, --version           display version information and exit
1262ffab5952Smrg  -q, --quiet, --silent   do not print \`checking ...' messages
1263ffab5952Smrg      --cache-file=FILE   cache test results in FILE [disabled]
1264ffab5952Smrg  -C, --config-cache      alias for \`--cache-file=config.cache'
1265ffab5952Smrg  -n, --no-create         do not create output files
1266ffab5952Smrg      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1267ffab5952Smrg
1268ffab5952SmrgInstallation directories:
1269ffab5952Smrg  --prefix=PREFIX         install architecture-independent files in PREFIX
1270ffab5952Smrg                          [$ac_default_prefix]
1271ffab5952Smrg  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1272ffab5952Smrg                          [PREFIX]
1273ffab5952Smrg
1274ffab5952SmrgBy default, \`make install' will install all the files in
1275ffab5952Smrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1276ffab5952Smrgan installation prefix other than \`$ac_default_prefix' using \`--prefix',
1277ffab5952Smrgfor instance \`--prefix=\$HOME'.
1278ffab5952Smrg
1279ffab5952SmrgFor better control, use the options below.
1280ffab5952Smrg
1281ffab5952SmrgFine tuning of the installation directories:
1282ffab5952Smrg  --bindir=DIR            user executables [EPREFIX/bin]
1283ffab5952Smrg  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1284ffab5952Smrg  --libexecdir=DIR        program executables [EPREFIX/libexec]
1285ffab5952Smrg  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1286ffab5952Smrg  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1287ffab5952Smrg  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
128845aa2fbfSmrg  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1289ffab5952Smrg  --libdir=DIR            object code libraries [EPREFIX/lib]
1290ffab5952Smrg  --includedir=DIR        C header files [PREFIX/include]
1291ffab5952Smrg  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1292ffab5952Smrg  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1293ffab5952Smrg  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1294ffab5952Smrg  --infodir=DIR           info documentation [DATAROOTDIR/info]
1295ffab5952Smrg  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1296ffab5952Smrg  --mandir=DIR            man documentation [DATAROOTDIR/man]
1297ffab5952Smrg  --docdir=DIR            documentation root [DATAROOTDIR/doc/util-macros]
1298ffab5952Smrg  --htmldir=DIR           html documentation [DOCDIR]
1299ffab5952Smrg  --dvidir=DIR            dvi documentation [DOCDIR]
1300ffab5952Smrg  --pdfdir=DIR            pdf documentation [DOCDIR]
1301ffab5952Smrg  --psdir=DIR             ps documentation [DOCDIR]
1302ffab5952Smrg_ACEOF
1303ffab5952Smrg
1304ffab5952Smrg  cat <<\_ACEOF
1305ffab5952Smrg
1306ffab5952SmrgProgram names:
1307ffab5952Smrg  --program-prefix=PREFIX            prepend PREFIX to installed program names
1308ffab5952Smrg  --program-suffix=SUFFIX            append SUFFIX to installed program names
1309ffab5952Smrg  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1310ffab5952Smrg_ACEOF
1311ffab5952Smrgfi
1312ffab5952Smrg
1313ffab5952Smrgif test -n "$ac_init_help"; then
1314ffab5952Smrg  case $ac_init_help in
13156781a5f7Smrg     short | recursive ) echo "Configuration of util-macros 1.20.0:";;
1316ffab5952Smrg   esac
1317ffab5952Smrg  cat <<\_ACEOF
1318ffab5952Smrg
131967e4e4deSmrgOptional Features:
132067e4e4deSmrg  --disable-option-checking  ignore unrecognized --enable/--with options
132167e4e4deSmrg  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
132267e4e4deSmrg  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
132367e4e4deSmrg  --enable-silent-rules   less verbose build output (undo: "make V=1")
132467e4e4deSmrg  --disable-silent-rules  verbose build output (undo: "make V=0")
132567e4e4deSmrg
132645aa2fbfSmrgReport bugs to <https://gitlab.freedesktop.org/xorg/util/macros/issues>.
1327ffab5952Smrg_ACEOF
1328ffab5952Smrgac_status=$?
1329ffab5952Smrgfi
1330ffab5952Smrg
1331ffab5952Smrgif test "$ac_init_help" = "recursive"; then
1332ffab5952Smrg  # If there are subdirs, report their specific --help.
1333ffab5952Smrg  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1334ffab5952Smrg    test -d "$ac_dir" ||
1335ffab5952Smrg      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1336ffab5952Smrg      continue
1337ffab5952Smrg    ac_builddir=.
1338ffab5952Smrg
1339ffab5952Smrgcase "$ac_dir" in
1340ffab5952Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1341ffab5952Smrg*)
13426781a5f7Smrg  ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1343ffab5952Smrg  # A ".." for each directory in $ac_dir_suffix.
13446781a5f7Smrg  ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1345ffab5952Smrg  case $ac_top_builddir_sub in
1346ffab5952Smrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1347ffab5952Smrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1348ffab5952Smrg  esac ;;
1349ffab5952Smrgesac
1350ffab5952Smrgac_abs_top_builddir=$ac_pwd
1351ffab5952Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix
1352ffab5952Smrg# for backward compatibility:
1353ffab5952Smrgac_top_builddir=$ac_top_build_prefix
1354ffab5952Smrg
1355ffab5952Smrgcase $srcdir in
1356ffab5952Smrg  .)  # We are building in place.
1357ffab5952Smrg    ac_srcdir=.
1358ffab5952Smrg    ac_top_srcdir=$ac_top_builddir_sub
1359ffab5952Smrg    ac_abs_top_srcdir=$ac_pwd ;;
1360ffab5952Smrg  [\\/]* | ?:[\\/]* )  # Absolute name.
1361ffab5952Smrg    ac_srcdir=$srcdir$ac_dir_suffix;
1362ffab5952Smrg    ac_top_srcdir=$srcdir
1363ffab5952Smrg    ac_abs_top_srcdir=$srcdir ;;
1364ffab5952Smrg  *) # Relative name.
1365ffab5952Smrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1366ffab5952Smrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
1367ffab5952Smrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1368ffab5952Smrgesac
1369ffab5952Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1370ffab5952Smrg
1371ffab5952Smrg    cd "$ac_dir" || { ac_status=$?; continue; }
13726781a5f7Smrg    # Check for configure.gnu first; this name is used for a wrapper for
13736781a5f7Smrg    # Metaconfig's "Configure" on case-insensitive file systems.
1374ffab5952Smrg    if test -f "$ac_srcdir/configure.gnu"; then
1375ffab5952Smrg      echo &&
1376ffab5952Smrg      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1377ffab5952Smrg    elif test -f "$ac_srcdir/configure"; then
1378ffab5952Smrg      echo &&
1379ffab5952Smrg      $SHELL "$ac_srcdir/configure" --help=recursive
1380ffab5952Smrg    else
13816781a5f7Smrg      printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1382ffab5952Smrg    fi || ac_status=$?
1383ffab5952Smrg    cd "$ac_pwd" || { ac_status=$?; break; }
1384ffab5952Smrg  done
1385ffab5952Smrgfi
1386ffab5952Smrg
1387ffab5952Smrgtest -n "$ac_init_help" && exit $ac_status
1388ffab5952Smrgif $ac_init_version; then
1389ffab5952Smrg  cat <<\_ACEOF
13906781a5f7Smrgutil-macros configure 1.20.0
13916781a5f7Smrggenerated by GNU Autoconf 2.71
1392ffab5952Smrg
13936781a5f7SmrgCopyright (C) 2021 Free Software Foundation, Inc.
1394ffab5952SmrgThis configure script is free software; the Free Software Foundation
1395ffab5952Smrggives unlimited permission to copy, distribute and modify it.
1396ffab5952Smrg_ACEOF
1397ffab5952Smrg  exit
1398ffab5952Smrgfi
1399ffab5952Smrg
1400ffab5952Smrg## ------------------------ ##
1401ffab5952Smrg## Autoconf initialization. ##
1402ffab5952Smrg## ------------------------ ##
14036781a5f7Smrgac_configure_args_raw=
14046781a5f7Smrgfor ac_arg
14056781a5f7Smrgdo
14066781a5f7Smrg  case $ac_arg in
14076781a5f7Smrg  *\'*)
14086781a5f7Smrg    ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
14096781a5f7Smrg  esac
14106781a5f7Smrg  as_fn_append ac_configure_args_raw " '$ac_arg'"
14116781a5f7Smrgdone
14126781a5f7Smrg
14136781a5f7Smrgcase $ac_configure_args_raw in
14146781a5f7Smrg  *$as_nl*)
14156781a5f7Smrg    ac_safe_unquote= ;;
14166781a5f7Smrg  *)
14176781a5f7Smrg    ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
14186781a5f7Smrg    ac_unsafe_a="$ac_unsafe_z#~"
14196781a5f7Smrg    ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
14206781a5f7Smrg    ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
14216781a5f7Smrgesac
14226781a5f7Smrg
1423ffab5952Smrgcat >config.log <<_ACEOF
1424ffab5952SmrgThis file contains any messages produced by compilers while
1425ffab5952Smrgrunning configure, to aid debugging if configure makes a mistake.
1426ffab5952Smrg
14276781a5f7SmrgIt was created by util-macros $as_me 1.20.0, which was
14286781a5f7Smrggenerated by GNU Autoconf 2.71.  Invocation command line was
1429ffab5952Smrg
14306781a5f7Smrg  $ $0$ac_configure_args_raw
1431ffab5952Smrg
1432ffab5952Smrg_ACEOF
1433ffab5952Smrgexec 5>>config.log
1434ffab5952Smrg{
1435ffab5952Smrgcat <<_ASUNAME
1436ffab5952Smrg## --------- ##
1437ffab5952Smrg## Platform. ##
1438ffab5952Smrg## --------- ##
1439ffab5952Smrg
1440ffab5952Smrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1441ffab5952Smrguname -m = `(uname -m) 2>/dev/null || echo unknown`
1442ffab5952Smrguname -r = `(uname -r) 2>/dev/null || echo unknown`
1443ffab5952Smrguname -s = `(uname -s) 2>/dev/null || echo unknown`
1444ffab5952Smrguname -v = `(uname -v) 2>/dev/null || echo unknown`
1445ffab5952Smrg
1446ffab5952Smrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1447ffab5952Smrg/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1448ffab5952Smrg
1449ffab5952Smrg/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1450ffab5952Smrg/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1451ffab5952Smrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1452ffab5952Smrg/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1453ffab5952Smrg/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1454ffab5952Smrg/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1455ffab5952Smrg/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1456ffab5952Smrg
1457ffab5952Smrg_ASUNAME
1458ffab5952Smrg
1459ffab5952Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1460ffab5952Smrgfor as_dir in $PATH
1461ffab5952Smrgdo
1462ffab5952Smrg  IFS=$as_save_IFS
14636781a5f7Smrg  case $as_dir in #(((
14646781a5f7Smrg    '') as_dir=./ ;;
14656781a5f7Smrg    */) ;;
14666781a5f7Smrg    *) as_dir=$as_dir/ ;;
14676781a5f7Smrg  esac
14686781a5f7Smrg    printf "%s\n" "PATH: $as_dir"
1469ffab5952Smrg  done
1470ffab5952SmrgIFS=$as_save_IFS
1471ffab5952Smrg
1472ffab5952Smrg} >&5
1473ffab5952Smrg
1474ffab5952Smrgcat >&5 <<_ACEOF
1475ffab5952Smrg
1476ffab5952Smrg
1477ffab5952Smrg## ----------- ##
1478ffab5952Smrg## Core tests. ##
1479ffab5952Smrg## ----------- ##
1480ffab5952Smrg
1481ffab5952Smrg_ACEOF
1482ffab5952Smrg
1483ffab5952Smrg
1484ffab5952Smrg# Keep a trace of the command line.
1485ffab5952Smrg# Strip out --no-create and --no-recursion so they do not pile up.
1486ffab5952Smrg# Strip out --silent because we don't want to record it for future runs.
1487ffab5952Smrg# Also quote any args containing shell meta-characters.
1488ffab5952Smrg# Make two passes to allow for proper duplicate-argument suppression.
1489ffab5952Smrgac_configure_args=
1490ffab5952Smrgac_configure_args0=
1491ffab5952Smrgac_configure_args1=
1492ffab5952Smrgac_must_keep_next=false
1493ffab5952Smrgfor ac_pass in 1 2
1494ffab5952Smrgdo
1495ffab5952Smrg  for ac_arg
1496ffab5952Smrg  do
1497ffab5952Smrg    case $ac_arg in
1498ffab5952Smrg    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1499ffab5952Smrg    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1500ffab5952Smrg    | -silent | --silent | --silen | --sile | --sil)
1501ffab5952Smrg      continue ;;
1502ffab5952Smrg    *\'*)
15036781a5f7Smrg      ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1504ffab5952Smrg    esac
1505ffab5952Smrg    case $ac_pass in
1506ffab5952Smrg    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1507ffab5952Smrg    2)
1508ffab5952Smrg      as_fn_append ac_configure_args1 " '$ac_arg'"
1509ffab5952Smrg      if test $ac_must_keep_next = true; then
1510ffab5952Smrg	ac_must_keep_next=false # Got value, back to normal.
1511ffab5952Smrg      else
1512ffab5952Smrg	case $ac_arg in
1513ffab5952Smrg	  *=* | --config-cache | -C | -disable-* | --disable-* \
1514ffab5952Smrg	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1515ffab5952Smrg	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1516ffab5952Smrg	  | -with-* | --with-* | -without-* | --without-* | --x)
1517ffab5952Smrg	    case "$ac_configure_args0 " in
1518ffab5952Smrg	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1519ffab5952Smrg	    esac
1520ffab5952Smrg	    ;;
1521ffab5952Smrg	  -* ) ac_must_keep_next=true ;;
1522ffab5952Smrg	esac
1523ffab5952Smrg      fi
1524ffab5952Smrg      as_fn_append ac_configure_args " '$ac_arg'"
1525ffab5952Smrg      ;;
1526ffab5952Smrg    esac
1527ffab5952Smrg  done
1528ffab5952Smrgdone
1529ffab5952Smrg{ ac_configure_args0=; unset ac_configure_args0;}
1530ffab5952Smrg{ ac_configure_args1=; unset ac_configure_args1;}
1531ffab5952Smrg
1532ffab5952Smrg# When interrupted or exit'd, cleanup temporary files, and complete
1533ffab5952Smrg# config.log.  We remove comments because anyway the quotes in there
1534ffab5952Smrg# would cause problems or look ugly.
1535ffab5952Smrg# WARNING: Use '\'' to represent an apostrophe within the trap.
1536ffab5952Smrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1537ffab5952Smrgtrap 'exit_status=$?
15386781a5f7Smrg  # Sanitize IFS.
15396781a5f7Smrg  IFS=" ""	$as_nl"
1540ffab5952Smrg  # Save into config.log some information that might help in debugging.
1541ffab5952Smrg  {
1542ffab5952Smrg    echo
1543ffab5952Smrg
15446781a5f7Smrg    printf "%s\n" "## ---------------- ##
1545ffab5952Smrg## Cache variables. ##
1546ffab5952Smrg## ---------------- ##"
1547ffab5952Smrg    echo
1548ffab5952Smrg    # The following way of writing the cache mishandles newlines in values,
1549ffab5952Smrg(
1550ffab5952Smrg  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1551ffab5952Smrg    eval ac_val=\$$ac_var
1552ffab5952Smrg    case $ac_val in #(
1553ffab5952Smrg    *${as_nl}*)
1554ffab5952Smrg      case $ac_var in #(
15556781a5f7Smrg      *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15566781a5f7Smrgprintf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1557ffab5952Smrg      esac
1558ffab5952Smrg      case $ac_var in #(
1559ffab5952Smrg      _ | IFS | as_nl) ;; #(
1560ffab5952Smrg      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1561ffab5952Smrg      *) { eval $ac_var=; unset $ac_var;} ;;
1562ffab5952Smrg      esac ;;
1563ffab5952Smrg    esac
1564ffab5952Smrg  done
1565ffab5952Smrg  (set) 2>&1 |
1566ffab5952Smrg    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1567ffab5952Smrg    *${as_nl}ac_space=\ *)
1568ffab5952Smrg      sed -n \
1569ffab5952Smrg	"s/'\''/'\''\\\\'\'''\''/g;
1570ffab5952Smrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1571ffab5952Smrg      ;; #(
1572ffab5952Smrg    *)
1573ffab5952Smrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1574ffab5952Smrg      ;;
1575ffab5952Smrg    esac |
1576ffab5952Smrg    sort
1577ffab5952Smrg)
1578ffab5952Smrg    echo
1579ffab5952Smrg
15806781a5f7Smrg    printf "%s\n" "## ----------------- ##
1581ffab5952Smrg## Output variables. ##
1582ffab5952Smrg## ----------------- ##"
1583ffab5952Smrg    echo
1584ffab5952Smrg    for ac_var in $ac_subst_vars
1585ffab5952Smrg    do
1586ffab5952Smrg      eval ac_val=\$$ac_var
1587ffab5952Smrg      case $ac_val in
15886781a5f7Smrg      *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1589ffab5952Smrg      esac
15906781a5f7Smrg      printf "%s\n" "$ac_var='\''$ac_val'\''"
1591ffab5952Smrg    done | sort
1592ffab5952Smrg    echo
1593ffab5952Smrg
1594ffab5952Smrg    if test -n "$ac_subst_files"; then
15956781a5f7Smrg      printf "%s\n" "## ------------------- ##
1596ffab5952Smrg## File substitutions. ##
1597ffab5952Smrg## ------------------- ##"
1598ffab5952Smrg      echo
1599ffab5952Smrg      for ac_var in $ac_subst_files
1600ffab5952Smrg      do
1601ffab5952Smrg	eval ac_val=\$$ac_var
1602ffab5952Smrg	case $ac_val in
16036781a5f7Smrg	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1604ffab5952Smrg	esac
16056781a5f7Smrg	printf "%s\n" "$ac_var='\''$ac_val'\''"
1606ffab5952Smrg      done | sort
1607ffab5952Smrg      echo
1608ffab5952Smrg    fi
1609ffab5952Smrg
1610ffab5952Smrg    if test -s confdefs.h; then
16116781a5f7Smrg      printf "%s\n" "## ----------- ##
1612ffab5952Smrg## confdefs.h. ##
1613ffab5952Smrg## ----------- ##"
1614ffab5952Smrg      echo
1615ffab5952Smrg      cat confdefs.h
1616ffab5952Smrg      echo
1617ffab5952Smrg    fi
1618ffab5952Smrg    test "$ac_signal" != 0 &&
16196781a5f7Smrg      printf "%s\n" "$as_me: caught signal $ac_signal"
16206781a5f7Smrg    printf "%s\n" "$as_me: exit $exit_status"
1621ffab5952Smrg  } >&5
1622ffab5952Smrg  rm -f core *.core core.conftest.* &&
1623ffab5952Smrg    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1624ffab5952Smrg    exit $exit_status
1625ffab5952Smrg' 0
1626ffab5952Smrgfor ac_signal in 1 2 13 15; do
1627ffab5952Smrg  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1628ffab5952Smrgdone
1629ffab5952Smrgac_signal=0
1630ffab5952Smrg
1631ffab5952Smrg# confdefs.h avoids OS command line length limits that DEFS can exceed.
1632ffab5952Smrgrm -f -r conftest* confdefs.h
1633ffab5952Smrg
16346781a5f7Smrgprintf "%s\n" "/* confdefs.h */" > confdefs.h
1635ffab5952Smrg
1636ffab5952Smrg# Predefined preprocessor variables.
1637ffab5952Smrg
16386781a5f7Smrgprintf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
1639ffab5952Smrg
16406781a5f7Smrgprintf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
1641ffab5952Smrg
16426781a5f7Smrgprintf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
1643ffab5952Smrg
16446781a5f7Smrgprintf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
1645ffab5952Smrg
16466781a5f7Smrgprintf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
1647ffab5952Smrg
16486781a5f7Smrgprintf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
1649ffab5952Smrg
1650ffab5952Smrg
1651ffab5952Smrg# Let the site file select an alternate cache file if it wants to.
1652ffab5952Smrg# Prefer an explicitly selected file to automatically selected ones.
1653ffab5952Smrgif test -n "$CONFIG_SITE"; then
16546781a5f7Smrg  ac_site_files="$CONFIG_SITE"
1655ffab5952Smrgelif test "x$prefix" != xNONE; then
16566781a5f7Smrg  ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
1657ffab5952Smrgelse
16586781a5f7Smrg  ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1659ffab5952Smrgfi
16606781a5f7Smrg
16616781a5f7Smrgfor ac_site_file in $ac_site_files
1662ffab5952Smrgdo
16636781a5f7Smrg  case $ac_site_file in #(
16646781a5f7Smrg  */*) :
16656781a5f7Smrg     ;; #(
16666781a5f7Smrg  *) :
16676781a5f7Smrg    ac_site_file=./$ac_site_file ;;
16686781a5f7Smrgesac
16696781a5f7Smrg  if test -f "$ac_site_file" && test -r "$ac_site_file"; then
16706781a5f7Smrg    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
16716781a5f7Smrgprintf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
1672ffab5952Smrg    sed 's/^/| /' "$ac_site_file" >&5
1673ffab5952Smrg    . "$ac_site_file" \
16746781a5f7Smrg      || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16756781a5f7Smrgprintf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1676ffab5952Smrgas_fn_error $? "failed to load site script $ac_site_file
1677ffab5952SmrgSee \`config.log' for more details" "$LINENO" 5; }
1678ffab5952Smrg  fi
1679ffab5952Smrgdone
1680ffab5952Smrg
1681ffab5952Smrgif test -r "$cache_file"; then
1682ffab5952Smrg  # Some versions of bash will fail to source /dev/null (special files
1683ffab5952Smrg  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1684ffab5952Smrg  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
16856781a5f7Smrg    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
16866781a5f7Smrgprintf "%s\n" "$as_me: loading cache $cache_file" >&6;}
1687ffab5952Smrg    case $cache_file in
1688ffab5952Smrg      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1689ffab5952Smrg      *)                      . "./$cache_file";;
1690ffab5952Smrg    esac
1691ffab5952Smrg  fi
1692ffab5952Smrgelse
16936781a5f7Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
16946781a5f7Smrgprintf "%s\n" "$as_me: creating cache $cache_file" >&6;}
1695ffab5952Smrg  >$cache_file
1696ffab5952Smrgfi
1697ffab5952Smrg
16986781a5f7Smrg
16996781a5f7Smrg# Auxiliary files required by this configure script.
17006781a5f7Smrgac_aux_files="missing install-sh"
17016781a5f7Smrg
17026781a5f7Smrg# Locations in which to look for auxiliary files.
17036781a5f7Smrgac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
17046781a5f7Smrg
17056781a5f7Smrg# Search for a directory containing all of the required auxiliary files,
17066781a5f7Smrg# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
17076781a5f7Smrg# If we don't find one directory that contains all the files we need,
17086781a5f7Smrg# we report the set of missing files from the *first* directory in
17096781a5f7Smrg# $ac_aux_dir_candidates and give up.
17106781a5f7Smrgac_missing_aux_files=""
17116781a5f7Smrgac_first_candidate=:
17126781a5f7Smrgprintf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
17136781a5f7Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17146781a5f7Smrgas_found=false
17156781a5f7Smrgfor as_dir in $ac_aux_dir_candidates
17166781a5f7Smrgdo
17176781a5f7Smrg  IFS=$as_save_IFS
17186781a5f7Smrg  case $as_dir in #(((
17196781a5f7Smrg    '') as_dir=./ ;;
17206781a5f7Smrg    */) ;;
17216781a5f7Smrg    *) as_dir=$as_dir/ ;;
17226781a5f7Smrg  esac
17236781a5f7Smrg  as_found=:
17246781a5f7Smrg
17256781a5f7Smrg  printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
17266781a5f7Smrg  ac_aux_dir_found=yes
17276781a5f7Smrg  ac_install_sh=
17286781a5f7Smrg  for ac_aux in $ac_aux_files
17296781a5f7Smrg  do
17306781a5f7Smrg    # As a special case, if "install-sh" is required, that requirement
17316781a5f7Smrg    # can be satisfied by any of "install-sh", "install.sh", or "shtool",
17326781a5f7Smrg    # and $ac_install_sh is set appropriately for whichever one is found.
17336781a5f7Smrg    if test x"$ac_aux" = x"install-sh"
17346781a5f7Smrg    then
17356781a5f7Smrg      if 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}install.sh"; then
17396781a5f7Smrg        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
17406781a5f7Smrg        ac_install_sh="${as_dir}install.sh -c"
17416781a5f7Smrg      elif test -f "${as_dir}shtool"; then
17426781a5f7Smrg        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
17436781a5f7Smrg        ac_install_sh="${as_dir}shtool install -c"
17446781a5f7Smrg      else
17456781a5f7Smrg        ac_aux_dir_found=no
17466781a5f7Smrg        if $ac_first_candidate; then
17476781a5f7Smrg          ac_missing_aux_files="${ac_missing_aux_files} install-sh"
17486781a5f7Smrg        else
17496781a5f7Smrg          break
17506781a5f7Smrg        fi
17516781a5f7Smrg      fi
17526781a5f7Smrg    else
17536781a5f7Smrg      if test -f "${as_dir}${ac_aux}"; then
17546781a5f7Smrg        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
17556781a5f7Smrg      else
17566781a5f7Smrg        ac_aux_dir_found=no
17576781a5f7Smrg        if $ac_first_candidate; then
17586781a5f7Smrg          ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
17596781a5f7Smrg        else
17606781a5f7Smrg          break
17616781a5f7Smrg        fi
17626781a5f7Smrg      fi
17636781a5f7Smrg    fi
17646781a5f7Smrg  done
17656781a5f7Smrg  if test "$ac_aux_dir_found" = yes; then
17666781a5f7Smrg    ac_aux_dir="$as_dir"
17676781a5f7Smrg    break
17686781a5f7Smrg  fi
17696781a5f7Smrg  ac_first_candidate=false
17706781a5f7Smrg
17716781a5f7Smrg  as_found=false
17726781a5f7Smrgdone
17736781a5f7SmrgIFS=$as_save_IFS
17746781a5f7Smrgif $as_found
17756781a5f7Smrgthen :
17766781a5f7Smrg
17776781a5f7Smrgelse $as_nop
17786781a5f7Smrg  as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
17796781a5f7Smrgfi
17806781a5f7Smrg
17816781a5f7Smrg
17826781a5f7Smrg# These three variables are undocumented and unsupported,
17836781a5f7Smrg# and are intended to be withdrawn in a future Autoconf release.
17846781a5f7Smrg# They can cause serious problems if a builder's source tree is in a directory
17856781a5f7Smrg# whose full name contains unusual characters.
17866781a5f7Smrgif test -f "${ac_aux_dir}config.guess"; then
17876781a5f7Smrg  ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
17886781a5f7Smrgfi
17896781a5f7Smrgif test -f "${ac_aux_dir}config.sub"; then
17906781a5f7Smrg  ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
17916781a5f7Smrgfi
17926781a5f7Smrgif test -f "$ac_aux_dir/configure"; then
17936781a5f7Smrg  ac_configure="$SHELL ${ac_aux_dir}configure"
17946781a5f7Smrgfi
17956781a5f7Smrg
1796ffab5952Smrg# Check that the precious variables saved in the cache have kept the same
1797ffab5952Smrg# value.
1798ffab5952Smrgac_cache_corrupted=false
1799ffab5952Smrgfor ac_var in $ac_precious_vars; do
1800ffab5952Smrg  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1801ffab5952Smrg  eval ac_new_set=\$ac_env_${ac_var}_set
1802ffab5952Smrg  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1803ffab5952Smrg  eval ac_new_val=\$ac_env_${ac_var}_value
1804ffab5952Smrg  case $ac_old_set,$ac_new_set in
1805ffab5952Smrg    set,)
18066781a5f7Smrg      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
18076781a5f7Smrgprintf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1808ffab5952Smrg      ac_cache_corrupted=: ;;
1809ffab5952Smrg    ,set)
18106781a5f7Smrg      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
18116781a5f7Smrgprintf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1812ffab5952Smrg      ac_cache_corrupted=: ;;
1813ffab5952Smrg    ,);;
1814ffab5952Smrg    *)
1815ffab5952Smrg      if test "x$ac_old_val" != "x$ac_new_val"; then
1816ffab5952Smrg	# differences in whitespace do not lead to failure.
1817ffab5952Smrg	ac_old_val_w=`echo x $ac_old_val`
1818ffab5952Smrg	ac_new_val_w=`echo x $ac_new_val`
1819ffab5952Smrg	if test "$ac_old_val_w" != "$ac_new_val_w"; then
18206781a5f7Smrg	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
18216781a5f7Smrgprintf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1822ffab5952Smrg	  ac_cache_corrupted=:
1823ffab5952Smrg	else
18246781a5f7Smrg	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
18256781a5f7Smrgprintf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1826ffab5952Smrg	  eval $ac_var=\$ac_old_val
1827ffab5952Smrg	fi
18286781a5f7Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
18296781a5f7Smrgprintf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
18306781a5f7Smrg	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
18316781a5f7Smrgprintf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
1832ffab5952Smrg      fi;;
1833ffab5952Smrg  esac
1834ffab5952Smrg  # Pass precious variables to config.status.
1835ffab5952Smrg  if test "$ac_new_set" = set; then
1836ffab5952Smrg    case $ac_new_val in
18376781a5f7Smrg    *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1838ffab5952Smrg    *) ac_arg=$ac_var=$ac_new_val ;;
1839ffab5952Smrg    esac
1840ffab5952Smrg    case " $ac_configure_args " in
1841ffab5952Smrg      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1842ffab5952Smrg      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1843ffab5952Smrg    esac
1844ffab5952Smrg  fi
1845ffab5952Smrgdone
1846ffab5952Smrgif $ac_cache_corrupted; then
18476781a5f7Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18486781a5f7Smrgprintf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
18496781a5f7Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
18506781a5f7Smrgprintf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
18516781a5f7Smrg  as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
18526781a5f7Smrg	    and start over" "$LINENO" 5
1853ffab5952Smrgfi
1854ffab5952Smrg## -------------------- ##
1855ffab5952Smrg## Main body of script. ##
1856ffab5952Smrg## -------------------- ##
1857ffab5952Smrg
1858ffab5952Smrgac_ext=c
1859ffab5952Smrgac_cpp='$CPP $CPPFLAGS'
1860ffab5952Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1861ffab5952Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1862ffab5952Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
1863ffab5952Smrg
1864ffab5952Smrg
1865ffab5952Smrg
186645aa2fbfSmrgam__api_version='1.16'
1867ffab5952Smrg
1868ffab5952Smrg
1869ffab5952Smrg
18706781a5f7Smrg  # Find a good install program.  We prefer a C program (faster),
1871ffab5952Smrg# so one script is as good as another.  But avoid the broken or
1872ffab5952Smrg# incompatible versions:
1873ffab5952Smrg# SysV /etc/install, /usr/sbin/install
1874ffab5952Smrg# SunOS /usr/etc/install
1875ffab5952Smrg# IRIX /sbin/install
1876ffab5952Smrg# AIX /bin/install
1877ffab5952Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs
1878ffab5952Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1879ffab5952Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1880ffab5952Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1881ffab5952Smrg# OS/2's system install, which has a completely different semantic
1882ffab5952Smrg# ./install, which can be erroneously created by make from ./install.sh.
1883ffab5952Smrg# Reject install programs that cannot install multiple files.
18846781a5f7Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
18856781a5f7Smrgprintf %s "checking for a BSD-compatible install... " >&6; }
1886ffab5952Smrgif test -z "$INSTALL"; then
18876781a5f7Smrgif test ${ac_cv_path_install+y}
18886781a5f7Smrgthen :
18896781a5f7Smrg  printf %s "(cached) " >&6
18906781a5f7Smrgelse $as_nop
1891ffab5952Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1892ffab5952Smrgfor as_dir in $PATH
1893ffab5952Smrgdo
1894ffab5952Smrg  IFS=$as_save_IFS
18956781a5f7Smrg  case $as_dir in #(((
18966781a5f7Smrg    '') as_dir=./ ;;
18976781a5f7Smrg    */) ;;
18986781a5f7Smrg    *) as_dir=$as_dir/ ;;
18996781a5f7Smrg  esac
19006781a5f7Smrg    # Account for fact that we put trailing slashes in our PATH walk.
19016781a5f7Smrgcase $as_dir in #((
19026781a5f7Smrg  ./ | /[cC]/* | \
1903ffab5952Smrg  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1904ffab5952Smrg  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1905ffab5952Smrg  /usr/ucb/* ) ;;
1906ffab5952Smrg  *)
1907ffab5952Smrg    # OSF1 and SCO ODT 3.0 have their own names for install.
1908ffab5952Smrg    # Don't use installbsd from OSF since it installs stuff as root
1909ffab5952Smrg    # by default.
1910ffab5952Smrg    for ac_prog in ginstall scoinst install; do
1911ffab5952Smrg      for ac_exec_ext in '' $ac_executable_extensions; do
19126781a5f7Smrg	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
1913ffab5952Smrg	  if test $ac_prog = install &&
19146781a5f7Smrg	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1915ffab5952Smrg	    # AIX install.  It has an incompatible calling convention.
1916ffab5952Smrg	    :
1917ffab5952Smrg	  elif test $ac_prog = install &&
19186781a5f7Smrg	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1919ffab5952Smrg	    # program-specific install script used by HP pwplus--don't use.
1920ffab5952Smrg	    :
1921ffab5952Smrg	  else
1922ffab5952Smrg	    rm -rf conftest.one conftest.two conftest.dir
1923ffab5952Smrg	    echo one > conftest.one
1924ffab5952Smrg	    echo two > conftest.two
1925ffab5952Smrg	    mkdir conftest.dir
19266781a5f7Smrg	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
1927ffab5952Smrg	      test -s conftest.one && test -s conftest.two &&
1928ffab5952Smrg	      test -s conftest.dir/conftest.one &&
1929ffab5952Smrg	      test -s conftest.dir/conftest.two
1930ffab5952Smrg	    then
19316781a5f7Smrg	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
1932ffab5952Smrg	      break 3
1933ffab5952Smrg	    fi
1934ffab5952Smrg	  fi
1935ffab5952Smrg	fi
1936ffab5952Smrg      done
1937ffab5952Smrg    done
1938ffab5952Smrg    ;;
1939ffab5952Smrgesac
1940ffab5952Smrg
1941ffab5952Smrg  done
1942ffab5952SmrgIFS=$as_save_IFS
1943ffab5952Smrg
1944ffab5952Smrgrm -rf conftest.one conftest.two conftest.dir
1945ffab5952Smrg
1946ffab5952Smrgfi
19476781a5f7Smrg  if test ${ac_cv_path_install+y}; then
1948ffab5952Smrg    INSTALL=$ac_cv_path_install
1949ffab5952Smrg  else
1950ffab5952Smrg    # As a last resort, use the slow shell script.  Don't cache a
1951ffab5952Smrg    # value for INSTALL within a source directory, because that will
1952ffab5952Smrg    # break other packages using the cache if that directory is
1953ffab5952Smrg    # removed, or if the value is a relative name.
1954ffab5952Smrg    INSTALL=$ac_install_sh
1955ffab5952Smrg  fi
1956ffab5952Smrgfi
19576781a5f7Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
19586781a5f7Smrgprintf "%s\n" "$INSTALL" >&6; }
1959ffab5952Smrg
1960ffab5952Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1961ffab5952Smrg# It thinks the first close brace ends the variable substitution.
1962ffab5952Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1963ffab5952Smrg
1964ffab5952Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1965ffab5952Smrg
1966ffab5952Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1967ffab5952Smrg
19686781a5f7Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
19696781a5f7Smrgprintf %s "checking whether build environment is sane... " >&6; }
1970ffab5952Smrg# Reject unsafe characters in $srcdir or the absolute working directory
1971ffab5952Smrg# name.  Accept space and tab only in the latter.
1972ffab5952Smrgam_lf='
1973ffab5952Smrg'
1974ffab5952Smrgcase `pwd` in
1975ffab5952Smrg  *[\\\"\#\$\&\'\`$am_lf]*)
1976ffab5952Smrg    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
1977ffab5952Smrgesac
1978ffab5952Smrgcase $srcdir in
1979ffab5952Smrg  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
198067e4e4deSmrg    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
1981ffab5952Smrgesac
1982ffab5952Smrg
198367e4e4deSmrg# Do 'set' in a subshell so we don't clobber the current shell's
1984ffab5952Smrg# arguments.  Must try -L first in case configure is actually a
1985ffab5952Smrg# symlink; some systems play weird games with the mod time of symlinks
1986ffab5952Smrg# (eg FreeBSD returns the mod time of the symlink's containing
1987ffab5952Smrg# directory).
1988ffab5952Smrgif (
198967e4e4deSmrg   am_has_slept=no
199067e4e4deSmrg   for am_try in 1 2; do
199167e4e4deSmrg     echo "timestamp, slept: $am_has_slept" > conftest.file
199267e4e4deSmrg     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
199367e4e4deSmrg     if test "$*" = "X"; then
199467e4e4deSmrg	# -L didn't work.
199567e4e4deSmrg	set X `ls -t "$srcdir/configure" conftest.file`
199667e4e4deSmrg     fi
199767e4e4deSmrg     if test "$*" != "X $srcdir/configure conftest.file" \
199867e4e4deSmrg	&& test "$*" != "X conftest.file $srcdir/configure"; then
199967e4e4deSmrg
200067e4e4deSmrg	# If neither matched, then we have a broken ls.  This can happen
200167e4e4deSmrg	# if, for instance, CONFIG_SHELL is bash and it inherits a
200267e4e4deSmrg	# broken ls alias from the environment.  This has actually
200367e4e4deSmrg	# happened.  Such a system could not be considered "sane".
200467e4e4deSmrg	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
200567e4e4deSmrg  alias in your environment" "$LINENO" 5
200667e4e4deSmrg     fi
200767e4e4deSmrg     if test "$2" = conftest.file || test $am_try -eq 2; then
200867e4e4deSmrg       break
200967e4e4deSmrg     fi
201067e4e4deSmrg     # Just in case.
201167e4e4deSmrg     sleep 1
201267e4e4deSmrg     am_has_slept=yes
201367e4e4deSmrg   done
2014ffab5952Smrg   test "$2" = conftest.file
2015ffab5952Smrg   )
2016ffab5952Smrgthen
2017ffab5952Smrg   # Ok.
2018ffab5952Smrg   :
2019ffab5952Smrgelse
2020ffab5952Smrg   as_fn_error $? "newly created file is older than distributed files!
2021ffab5952SmrgCheck your system clock" "$LINENO" 5
2022ffab5952Smrgfi
20236781a5f7Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20246781a5f7Smrgprintf "%s\n" "yes" >&6; }
202567e4e4deSmrg# If we didn't sleep, we still need to ensure time stamps of config.status and
202667e4e4deSmrg# generated files are strictly newer.
202767e4e4deSmrgam_sleep_pid=
202867e4e4deSmrgif grep 'slept: no' conftest.file >/dev/null 2>&1; then
202967e4e4deSmrg  ( sleep 1 ) &
203067e4e4deSmrg  am_sleep_pid=$!
203167e4e4deSmrgfi
203267e4e4deSmrg
203367e4e4deSmrgrm -f conftest.file
203467e4e4deSmrg
2035ffab5952Smrgtest "$program_prefix" != NONE &&
2036ffab5952Smrg  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2037ffab5952Smrg# Use a double $ so make ignores it.
2038ffab5952Smrgtest "$program_suffix" != NONE &&
2039ffab5952Smrg  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2040ffab5952Smrg# Double any \ or $.
2041ffab5952Smrg# By default was `s,x,x', remove it if useless.
2042ffab5952Smrgac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
20436781a5f7Smrgprogram_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
20446781a5f7Smrg
2045ffab5952Smrg
204667e4e4deSmrg# Expand $ac_aux_dir to an absolute path.
204767e4e4deSmrgam_aux_dir=`cd "$ac_aux_dir" && pwd`
2048ffab5952Smrg
20496781a5f7Smrg
20506781a5f7Smrg  if test x"${MISSING+set}" != xset; then
20516781a5f7Smrg  MISSING="\${SHELL} '$am_aux_dir/missing'"
2052ffab5952Smrgfi
2053ffab5952Smrg# Use eval to expand $SHELL
205467e4e4deSmrgif eval "$MISSING --is-lightweight"; then
205567e4e4deSmrg  am_missing_run="$MISSING "
2056ffab5952Smrgelse
2057ffab5952Smrg  am_missing_run=
20586781a5f7Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
20596781a5f7Smrgprintf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2060ffab5952Smrgfi
2061ffab5952Smrg
206267e4e4deSmrgif test x"${install_sh+set}" != xset; then
2063ffab5952Smrg  case $am_aux_dir in
2064ffab5952Smrg  *\ * | *\	*)
2065ffab5952Smrg    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2066ffab5952Smrg  *)
2067ffab5952Smrg    install_sh="\${SHELL} $am_aux_dir/install-sh"
2068ffab5952Smrg  esac
2069ffab5952Smrgfi
2070ffab5952Smrg
207167e4e4deSmrg# Installed binaries are usually stripped using 'strip' when the user
207267e4e4deSmrg# run "make install-strip".  However 'strip' might not be the right
2073ffab5952Smrg# tool to use in cross-compilation environments, therefore Automake
207467e4e4deSmrg# will honor the 'STRIP' environment variable to overrule this program.
2075ffab5952Smrgif test "$cross_compiling" != no; then
2076ffab5952Smrg  if test -n "$ac_tool_prefix"; then
2077ffab5952Smrg  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2078ffab5952Smrgset dummy ${ac_tool_prefix}strip; ac_word=$2
20796781a5f7Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20806781a5f7Smrgprintf %s "checking for $ac_word... " >&6; }
20816781a5f7Smrgif test ${ac_cv_prog_STRIP+y}
20826781a5f7Smrgthen :
20836781a5f7Smrg  printf %s "(cached) " >&6
20846781a5f7Smrgelse $as_nop
2085ffab5952Smrg  if test -n "$STRIP"; then
2086ffab5952Smrg  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2087ffab5952Smrgelse
2088ffab5952Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2089ffab5952Smrgfor as_dir in $PATH
2090ffab5952Smrgdo
2091ffab5952Smrg  IFS=$as_save_IFS
20926781a5f7Smrg  case $as_dir in #(((
20936781a5f7Smrg    '') as_dir=./ ;;
20946781a5f7Smrg    */) ;;
20956781a5f7Smrg    *) as_dir=$as_dir/ ;;
20966781a5f7Smrg  esac
2097ffab5952Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
20986781a5f7Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2099ffab5952Smrg    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
21006781a5f7Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2101ffab5952Smrg    break 2
2102ffab5952Smrg  fi
2103ffab5952Smrgdone
2104ffab5952Smrg  done
2105ffab5952SmrgIFS=$as_save_IFS
2106ffab5952Smrg
2107ffab5952Smrgfi
2108ffab5952Smrgfi
2109ffab5952SmrgSTRIP=$ac_cv_prog_STRIP
2110ffab5952Smrgif test -n "$STRIP"; then
21116781a5f7Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
21126781a5f7Smrgprintf "%s\n" "$STRIP" >&6; }
2113ffab5952Smrgelse
21146781a5f7Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21156781a5f7Smrgprintf "%s\n" "no" >&6; }
2116ffab5952Smrgfi
2117ffab5952Smrg
2118ffab5952Smrg
2119ffab5952Smrgfi
2120ffab5952Smrgif test -z "$ac_cv_prog_STRIP"; then
2121ffab5952Smrg  ac_ct_STRIP=$STRIP
2122ffab5952Smrg  # Extract the first word of "strip", so it can be a program name with args.
2123ffab5952Smrgset dummy strip; ac_word=$2
21246781a5f7Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21256781a5f7Smrgprintf %s "checking for $ac_word... " >&6; }
21266781a5f7Smrgif test ${ac_cv_prog_ac_ct_STRIP+y}
21276781a5f7Smrgthen :
21286781a5f7Smrg  printf %s "(cached) " >&6
21296781a5f7Smrgelse $as_nop
2130ffab5952Smrg  if test -n "$ac_ct_STRIP"; then
2131ffab5952Smrg  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2132ffab5952Smrgelse
2133ffab5952Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2134ffab5952Smrgfor as_dir in $PATH
2135ffab5952Smrgdo
2136ffab5952Smrg  IFS=$as_save_IFS
21376781a5f7Smrg  case $as_dir in #(((
21386781a5f7Smrg    '') as_dir=./ ;;
21396781a5f7Smrg    */) ;;
21406781a5f7Smrg    *) as_dir=$as_dir/ ;;
21416781a5f7Smrg  esac
2142ffab5952Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
21436781a5f7Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2144ffab5952Smrg    ac_cv_prog_ac_ct_STRIP="strip"
21456781a5f7Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2146ffab5952Smrg    break 2
2147ffab5952Smrg  fi
2148ffab5952Smrgdone
2149ffab5952Smrg  done
2150ffab5952SmrgIFS=$as_save_IFS
2151ffab5952Smrg
2152ffab5952Smrgfi
2153ffab5952Smrgfi
2154ffab5952Smrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2155ffab5952Smrgif test -n "$ac_ct_STRIP"; then
21566781a5f7Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
21576781a5f7Smrgprintf "%s\n" "$ac_ct_STRIP" >&6; }
2158ffab5952Smrgelse
21596781a5f7Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21606781a5f7Smrgprintf "%s\n" "no" >&6; }
2161ffab5952Smrgfi
2162ffab5952Smrg
2163ffab5952Smrg  if test "x$ac_ct_STRIP" = x; then
2164ffab5952Smrg    STRIP=":"
2165ffab5952Smrg  else
2166ffab5952Smrg    case $cross_compiling:$ac_tool_warned in
2167ffab5952Smrgyes:)
21686781a5f7Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21696781a5f7Smrgprintf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2170ffab5952Smrgac_tool_warned=yes ;;
2171ffab5952Smrgesac
2172ffab5952Smrg    STRIP=$ac_ct_STRIP
2173ffab5952Smrg  fi
2174ffab5952Smrgelse
2175ffab5952Smrg  STRIP="$ac_cv_prog_STRIP"
2176ffab5952Smrgfi
2177ffab5952Smrg
2178ffab5952Smrgfi
2179ffab5952SmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2180ffab5952Smrg
21816781a5f7Smrg
21826781a5f7Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
21836781a5f7Smrgprintf %s "checking for a race-free mkdir -p... " >&6; }
2184ffab5952Smrgif test -z "$MKDIR_P"; then
21856781a5f7Smrg  if test ${ac_cv_path_mkdir+y}
21866781a5f7Smrgthen :
21876781a5f7Smrg  printf %s "(cached) " >&6
21886781a5f7Smrgelse $as_nop
2189ffab5952Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2190ffab5952Smrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2191ffab5952Smrgdo
2192ffab5952Smrg  IFS=$as_save_IFS
21936781a5f7Smrg  case $as_dir in #(((
21946781a5f7Smrg    '') as_dir=./ ;;
21956781a5f7Smrg    */) ;;
21966781a5f7Smrg    *) as_dir=$as_dir/ ;;
21976781a5f7Smrg  esac
2198ffab5952Smrg    for ac_prog in mkdir gmkdir; do
2199ffab5952Smrg	 for ac_exec_ext in '' $ac_executable_extensions; do
22006781a5f7Smrg	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
22016781a5f7Smrg	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
22026781a5f7Smrg	     'mkdir ('*'coreutils) '* | \
22036781a5f7Smrg	     'BusyBox '* | \
2204ffab5952Smrg	     'mkdir (fileutils) '4.1*)
22056781a5f7Smrg	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
2206ffab5952Smrg	       break 3;;
2207ffab5952Smrg	   esac
2208ffab5952Smrg	 done
2209ffab5952Smrg       done
2210ffab5952Smrg  done
2211ffab5952SmrgIFS=$as_save_IFS
2212ffab5952Smrg
2213ffab5952Smrgfi
2214ffab5952Smrg
2215ffab5952Smrg  test -d ./--version && rmdir ./--version
22166781a5f7Smrg  if test ${ac_cv_path_mkdir+y}; then
2217ffab5952Smrg    MKDIR_P="$ac_cv_path_mkdir -p"
2218ffab5952Smrg  else
2219ffab5952Smrg    # As a last resort, use the slow shell script.  Don't cache a
2220ffab5952Smrg    # value for MKDIR_P within a source directory, because that will
2221ffab5952Smrg    # break other packages using the cache if that directory is
2222ffab5952Smrg    # removed, or if the value is a relative name.
2223ffab5952Smrg    MKDIR_P="$ac_install_sh -d"
2224ffab5952Smrg  fi
2225ffab5952Smrgfi
22266781a5f7Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
22276781a5f7Smrgprintf "%s\n" "$MKDIR_P" >&6; }
2228ffab5952Smrg
2229ffab5952Smrgfor ac_prog in gawk mawk nawk awk
2230ffab5952Smrgdo
2231ffab5952Smrg  # Extract the first word of "$ac_prog", so it can be a program name with args.
2232ffab5952Smrgset dummy $ac_prog; ac_word=$2
22336781a5f7Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22346781a5f7Smrgprintf %s "checking for $ac_word... " >&6; }
22356781a5f7Smrgif test ${ac_cv_prog_AWK+y}
22366781a5f7Smrgthen :
22376781a5f7Smrg  printf %s "(cached) " >&6
22386781a5f7Smrgelse $as_nop
2239ffab5952Smrg  if test -n "$AWK"; then
2240ffab5952Smrg  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2241ffab5952Smrgelse
2242ffab5952Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2243ffab5952Smrgfor as_dir in $PATH
2244ffab5952Smrgdo
2245ffab5952Smrg  IFS=$as_save_IFS
22466781a5f7Smrg  case $as_dir in #(((
22476781a5f7Smrg    '') as_dir=./ ;;
22486781a5f7Smrg    */) ;;
22496781a5f7Smrg    *) as_dir=$as_dir/ ;;
22506781a5f7Smrg  esac
2251ffab5952Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
22526781a5f7Smrg  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2253ffab5952Smrg    ac_cv_prog_AWK="$ac_prog"
22546781a5f7Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2255ffab5952Smrg    break 2
2256ffab5952Smrg  fi
2257ffab5952Smrgdone
2258ffab5952Smrg  done
2259ffab5952SmrgIFS=$as_save_IFS
2260ffab5952Smrg
2261ffab5952Smrgfi
2262ffab5952Smrgfi
2263ffab5952SmrgAWK=$ac_cv_prog_AWK
2264ffab5952Smrgif test -n "$AWK"; then
22656781a5f7Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
22666781a5f7Smrgprintf "%s\n" "$AWK" >&6; }
2267ffab5952Smrgelse
22686781a5f7Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22696781a5f7Smrgprintf "%s\n" "no" >&6; }
2270ffab5952Smrgfi
2271ffab5952Smrg
2272ffab5952Smrg
2273ffab5952Smrg  test -n "$AWK" && break
2274ffab5952Smrgdone
2275ffab5952Smrg
22766781a5f7Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
22776781a5f7Smrgprintf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2278ffab5952Smrgset x ${MAKE-make}
22796781a5f7Smrgac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
22806781a5f7Smrgif eval test \${ac_cv_prog_make_${ac_make}_set+y}
22816781a5f7Smrgthen :
22826781a5f7Smrg  printf %s "(cached) " >&6
22836781a5f7Smrgelse $as_nop
2284ffab5952Smrg  cat >conftest.make <<\_ACEOF
2285ffab5952SmrgSHELL = /bin/sh
2286ffab5952Smrgall:
2287ffab5952Smrg	@echo '@@@%%%=$(MAKE)=@@@%%%'
2288ffab5952Smrg_ACEOF
2289ffab5952Smrg# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2290ffab5952Smrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in
2291ffab5952Smrg  *@@@%%%=?*=@@@%%%*)
2292ffab5952Smrg    eval ac_cv_prog_make_${ac_make}_set=yes;;
2293ffab5952Smrg  *)
2294ffab5952Smrg    eval ac_cv_prog_make_${ac_make}_set=no;;
2295ffab5952Smrgesac
2296ffab5952Smrgrm -f conftest.make
2297ffab5952Smrgfi
2298ffab5952Smrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
22996781a5f7Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23006781a5f7Smrgprintf "%s\n" "yes" >&6; }
2301ffab5952Smrg  SET_MAKE=
2302ffab5952Smrgelse
23036781a5f7Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23046781a5f7Smrgprintf "%s\n" "no" >&6; }
2305ffab5952Smrg  SET_MAKE="MAKE=${MAKE-make}"
2306ffab5952Smrgfi
2307ffab5952Smrg
2308ffab5952Smrgrm -rf .tst 2>/dev/null
2309ffab5952Smrgmkdir .tst 2>/dev/null
2310ffab5952Smrgif test -d .tst; then
2311ffab5952Smrg  am__leading_dot=.
2312ffab5952Smrgelse
2313ffab5952Smrg  am__leading_dot=_
2314ffab5952Smrgfi
2315ffab5952Smrgrmdir .tst 2>/dev/null
2316ffab5952Smrg
231767e4e4deSmrg# Check whether --enable-silent-rules was given.
23186781a5f7Smrgif test ${enable_silent_rules+y}
23196781a5f7Smrgthen :
232067e4e4deSmrg  enableval=$enable_silent_rules;
232167e4e4deSmrgfi
232267e4e4deSmrg
232367e4e4deSmrgcase $enable_silent_rules in # (((
232467e4e4deSmrg  yes) AM_DEFAULT_VERBOSITY=0;;
232567e4e4deSmrg   no) AM_DEFAULT_VERBOSITY=1;;
232667e4e4deSmrg    *) AM_DEFAULT_VERBOSITY=1;;
232767e4e4deSmrgesac
232867e4e4deSmrgam_make=${MAKE-make}
23296781a5f7Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
23306781a5f7Smrgprintf %s "checking whether $am_make supports nested variables... " >&6; }
23316781a5f7Smrgif test ${am_cv_make_support_nested_variables+y}
23326781a5f7Smrgthen :
23336781a5f7Smrg  printf %s "(cached) " >&6
23346781a5f7Smrgelse $as_nop
23356781a5f7Smrg  if printf "%s\n" 'TRUE=$(BAR$(V))
233667e4e4deSmrgBAR0=false
233767e4e4deSmrgBAR1=true
233867e4e4deSmrgV=1
233967e4e4deSmrgam__doit:
234067e4e4deSmrg	@$(TRUE)
234167e4e4deSmrg.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
234267e4e4deSmrg  am_cv_make_support_nested_variables=yes
234367e4e4deSmrgelse
234467e4e4deSmrg  am_cv_make_support_nested_variables=no
234567e4e4deSmrgfi
234667e4e4deSmrgfi
23476781a5f7Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
23486781a5f7Smrgprintf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
234967e4e4deSmrgif test $am_cv_make_support_nested_variables = yes; then
235067e4e4deSmrg    AM_V='$(V)'
235167e4e4deSmrg  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
235267e4e4deSmrgelse
235367e4e4deSmrg  AM_V=$AM_DEFAULT_VERBOSITY
235467e4e4deSmrg  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
235567e4e4deSmrgfi
235667e4e4deSmrgAM_BACKSLASH='\'
235767e4e4deSmrg
2358ffab5952Smrgif test "`cd $srcdir && pwd`" != "`pwd`"; then
2359ffab5952Smrg  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2360ffab5952Smrg  # is not polluted with repeated "-I."
2361ffab5952Smrg  am__isrc=' -I$(srcdir)'
2362ffab5952Smrg  # test to see if srcdir already configured
2363ffab5952Smrg  if test -f $srcdir/config.status; then
2364ffab5952Smrg    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2365ffab5952Smrg  fi
2366ffab5952Smrgfi
2367ffab5952Smrg
2368ffab5952Smrg# test whether we have cygpath
2369ffab5952Smrgif test -z "$CYGPATH_W"; then
2370ffab5952Smrg  if (cygpath --version) >/dev/null 2>/dev/null; then
2371ffab5952Smrg    CYGPATH_W='cygpath -w'
2372ffab5952Smrg  else
2373ffab5952Smrg    CYGPATH_W=echo
2374ffab5952Smrg  fi
2375ffab5952Smrgfi
2376ffab5952Smrg
2377ffab5952Smrg
2378ffab5952Smrg# Define the identity of the package.
2379ffab5952Smrg PACKAGE='util-macros'
23806781a5f7Smrg VERSION='1.20.0'
2381ffab5952Smrg
2382ffab5952Smrg
23836781a5f7Smrgprintf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
2384ffab5952Smrg
2385ffab5952Smrg
23866781a5f7Smrgprintf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
2387ffab5952Smrg
2388ffab5952Smrg# Some tools Automake needs.
2389ffab5952Smrg
2390ffab5952SmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2391ffab5952Smrg
2392ffab5952Smrg
2393ffab5952SmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2394ffab5952Smrg
2395ffab5952Smrg
2396ffab5952SmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2397ffab5952Smrg
2398ffab5952Smrg
2399ffab5952SmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2400ffab5952Smrg
2401ffab5952Smrg
2402ffab5952SmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2403ffab5952Smrg
240467e4e4deSmrg# For better backward compatibility.  To be removed once Automake 1.9.x
240567e4e4deSmrg# dies out for good.  For more background, see:
240645aa2fbfSmrg# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
240745aa2fbfSmrg# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
240867e4e4deSmrgmkdir_p='$(MKDIR_P)'
240967e4e4deSmrg
241067e4e4deSmrg# We need awk for the "check" target (and possibly the TAP driver).  The
241167e4e4deSmrg# system "awk" is bad on some platforms.
241243c16309Smrg# Always define AMTAR for backward compatibility.  Yes, it's still used
241343c16309Smrg# in the wild :-(  We should find a proper way to deprecate it ...
241443c16309SmrgAMTAR='$${TAR-tar}'
2415ffab5952Smrg
241667e4e4deSmrg
241767e4e4deSmrg# We'll loop over all known methods to create a tar archive until one works.
241867e4e4deSmrg_am_tools='gnutar  pax cpio none'
241967e4e4deSmrg
242043c16309Smrgam__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2421ffab5952Smrg
2422ffab5952Smrg
2423ffab5952Smrg
2424ffab5952Smrg
2425ffab5952Smrg
24266781a5f7Smrg# Variables for tags utilities; see am/tags.am
24276781a5f7Smrgif test -z "$CTAGS"; then
24286781a5f7Smrg  CTAGS=ctags
24296781a5f7Smrgfi
24306781a5f7Smrg
24316781a5f7Smrgif test -z "$ETAGS"; then
24326781a5f7Smrg  ETAGS=etags
24336781a5f7Smrgfi
24346781a5f7Smrg
24356781a5f7Smrgif test -z "$CSCOPE"; then
24366781a5f7Smrg  CSCOPE=cscope
24376781a5f7Smrgfi
24386781a5f7Smrg
24396781a5f7Smrg
2440ffab5952Smrg
244167e4e4deSmrg# POSIX will say in a future version that running "rm -f" with no argument
244267e4e4deSmrg# is OK; and we want to be able to make that assumption in our Makefile
244367e4e4deSmrg# recipes.  So use an aggressive probe to check that the usage we want is
244467e4e4deSmrg# actually supported "in the wild" to an acceptable degree.
244567e4e4deSmrg# See automake bug#10828.
244667e4e4deSmrg# To make any issue more visible, cause the running configure to be aborted
244767e4e4deSmrg# by default if the 'rm' program in use doesn't match our expectations; the
244867e4e4deSmrg# user can still override this though.
244967e4e4deSmrgif rm -f && rm -fr && rm -rf; then : OK; else
245067e4e4deSmrg  cat >&2 <<'END'
245167e4e4deSmrgOops!
245267e4e4deSmrg
245367e4e4deSmrgYour 'rm' program seems unable to run without file operands specified
245467e4e4deSmrgon the command line, even when the '-f' option is present.  This is contrary
245567e4e4deSmrgto the behaviour of most rm programs out there, and not conforming with
245667e4e4deSmrgthe upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
245767e4e4deSmrg
245867e4e4deSmrgPlease tell bug-automake@gnu.org about your system, including the value
245967e4e4deSmrgof your $PATH and any error possibly output before this message.  This
246067e4e4deSmrgcan help us improve future automake versions.
246167e4e4deSmrg
246267e4e4deSmrgEND
246367e4e4deSmrg  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
246467e4e4deSmrg    echo 'Configuration will proceed anyway, since you have set the' >&2
246567e4e4deSmrg    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
246667e4e4deSmrg    echo >&2
246767e4e4deSmrg  else
246867e4e4deSmrg    cat >&2 <<'END'
246967e4e4deSmrgAborting the configuration process, to ensure you take notice of the issue.
247067e4e4deSmrg
247167e4e4deSmrgYou can download and install GNU coreutils to get an 'rm' implementation
247245aa2fbfSmrgthat behaves properly: <https://www.gnu.org/software/coreutils/>.
247367e4e4deSmrg
247467e4e4deSmrgIf you want to complete the configuration process using your problematic
247567e4e4deSmrg'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
247667e4e4deSmrgto "yes", and re-run configure.
247767e4e4deSmrg
247867e4e4deSmrgEND
247967e4e4deSmrg    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
248067e4e4deSmrg  fi
248167e4e4deSmrgfi
248267e4e4deSmrg
248367e4e4deSmrg
2484ffab5952Smrg# Checks for programs.
2485ffab5952Smrg
2486ffab5952Smrg
2487ffab5952Smrg# This is the package that installs xorgversion.m4 as part of xorg-macros.m4.
2488ffab5952Smrg# In order to use xorgversion.m4 here, we include it explicitly.
2489ffab5952Smrg
2490ffab5952Smrg# XORG_RELEASE_VERSION
2491ffab5952Smrg# --------------------
2492ffab5952Smrg# Defines PACKAGE_VERSION_{MAJOR,MINOR,PATCHLEVEL} for modules to use.
2493ffab5952Smrg
2494ffab5952Smrg
2495ffab5952Smrg
2496ffab5952Smrg# XORG_CHANGELOG()
2497ffab5952Smrg# ----------------
2498ffab5952Smrg# Minimum version: 1.2.0
2499ffab5952Smrg#
2500ffab5952Smrg# Defines the variable CHANGELOG_CMD as the command to generate
2501ffab5952Smrg# ChangeLog from git.
2502ffab5952Smrg#
2503ffab5952Smrg#
2504ffab5952Smrg # XORG_CHANGELOG
2505ffab5952Smrg
2506ffab5952Smrg
2507ffab5952Smrg
2508ffab5952Smrg
2509ffab5952Smrgcat >>confdefs.h <<_ACEOF
2510ffab5952Smrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
2511ffab5952Smrg_ACEOF
2512ffab5952Smrg
2513ffab5952Smrg	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
2514ffab5952Smrg	if test "x$PVM" = "x"; then
2515ffab5952Smrg		PVM="0"
2516ffab5952Smrg	fi
2517ffab5952Smrg
25186781a5f7Smrgprintf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
2519ffab5952Smrg
2520ffab5952Smrg	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
2521ffab5952Smrg	if test "x$PVP" = "x"; then
2522ffab5952Smrg		PVP="0"
2523ffab5952Smrg	fi
2524ffab5952Smrg
25256781a5f7Smrgprintf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
2526ffab5952Smrg
2527ffab5952Smrg
2528ffab5952Smrg
25299fa8ffe7SmrgCHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
2530ffab5952Smrgmv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
25319fa8ffe7Smrg|| (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
25329fa8ffe7Smrgtouch \$(top_srcdir)/ChangeLog; \
25339fa8ffe7Smrgecho 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
2534ffab5952Smrg
2535ffab5952Smrg
2536ffab5952Smrg
2537ffab5952Smrgac_config_files="$ac_config_files xorg-macros.pc Makefile xorg-macros.m4:xorg-macros.m4.in:xorgversion.m4"
2538ffab5952Smrg
2539ffab5952Smrgcat >confcache <<\_ACEOF
2540ffab5952Smrg# This file is a shell script that caches the results of configure
2541ffab5952Smrg# tests run on this system so they can be shared between configure
2542ffab5952Smrg# scripts and configure runs, see configure's option --config-cache.
2543ffab5952Smrg# It is not useful on other systems.  If it contains results you don't
2544ffab5952Smrg# want to keep, you may remove or edit it.
2545ffab5952Smrg#
2546ffab5952Smrg# config.status only pays attention to the cache file if you give it
2547ffab5952Smrg# the --recheck option to rerun configure.
2548ffab5952Smrg#
2549ffab5952Smrg# `ac_cv_env_foo' variables (set or unset) will be overridden when
2550ffab5952Smrg# loading this file, other *unset* `ac_cv_foo' will be assigned the
2551ffab5952Smrg# following values.
2552ffab5952Smrg
2553ffab5952Smrg_ACEOF
2554ffab5952Smrg
2555ffab5952Smrg# The following way of writing the cache mishandles newlines in values,
2556ffab5952Smrg# but we know of no workaround that is simple, portable, and efficient.
2557ffab5952Smrg# So, we kill variables containing newlines.
2558ffab5952Smrg# Ultrix sh set writes to stderr and can't be redirected directly,
2559ffab5952Smrg# and sets the high bit in the cache file unless we assign to the vars.
2560ffab5952Smrg(
2561ffab5952Smrg  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2562ffab5952Smrg    eval ac_val=\$$ac_var
2563ffab5952Smrg    case $ac_val in #(
2564ffab5952Smrg    *${as_nl}*)
2565ffab5952Smrg      case $ac_var in #(
25666781a5f7Smrg      *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
25676781a5f7Smrgprintf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2568ffab5952Smrg      esac
2569ffab5952Smrg      case $ac_var in #(
2570ffab5952Smrg      _ | IFS | as_nl) ;; #(
2571ffab5952Smrg      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2572ffab5952Smrg      *) { eval $ac_var=; unset $ac_var;} ;;
2573ffab5952Smrg      esac ;;
2574ffab5952Smrg    esac
2575ffab5952Smrg  done
2576ffab5952Smrg
2577ffab5952Smrg  (set) 2>&1 |
2578ffab5952Smrg    case $as_nl`(ac_space=' '; set) 2>&1` in #(
2579ffab5952Smrg    *${as_nl}ac_space=\ *)
2580ffab5952Smrg      # `set' does not quote correctly, so add quotes: double-quote
2581ffab5952Smrg      # substitution turns \\\\ into \\, and sed turns \\ into \.
2582ffab5952Smrg      sed -n \
2583ffab5952Smrg	"s/'/'\\\\''/g;
2584ffab5952Smrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2585ffab5952Smrg      ;; #(
2586ffab5952Smrg    *)
2587ffab5952Smrg      # `set' quotes correctly as required by POSIX, so do not add quotes.
2588ffab5952Smrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2589ffab5952Smrg      ;;
2590ffab5952Smrg    esac |
2591ffab5952Smrg    sort
2592ffab5952Smrg) |
2593ffab5952Smrg  sed '
2594ffab5952Smrg     /^ac_cv_env_/b end
2595ffab5952Smrg     t clear
2596ffab5952Smrg     :clear
25976781a5f7Smrg     s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
2598ffab5952Smrg     t end
2599ffab5952Smrg     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2600ffab5952Smrg     :end' >>confcache
2601ffab5952Smrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2602ffab5952Smrg  if test -w "$cache_file"; then
2603ffab5952Smrg    if test "x$cache_file" != "x/dev/null"; then
26046781a5f7Smrg      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26056781a5f7Smrgprintf "%s\n" "$as_me: updating cache $cache_file" >&6;}
2606ffab5952Smrg      if test ! -f "$cache_file" || test -h "$cache_file"; then
2607ffab5952Smrg	cat confcache >"$cache_file"
2608ffab5952Smrg      else
2609ffab5952Smrg        case $cache_file in #(
2610ffab5952Smrg        */* | ?:*)
2611ffab5952Smrg	  mv -f confcache "$cache_file"$$ &&
2612ffab5952Smrg	  mv -f "$cache_file"$$ "$cache_file" ;; #(
2613ffab5952Smrg        *)
2614ffab5952Smrg	  mv -f confcache "$cache_file" ;;
2615ffab5952Smrg	esac
2616ffab5952Smrg      fi
2617ffab5952Smrg    fi
2618ffab5952Smrg  else
26196781a5f7Smrg    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26206781a5f7Smrgprintf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
2621ffab5952Smrg  fi
2622ffab5952Smrgfi
2623ffab5952Smrgrm -f confcache
2624ffab5952Smrg
2625ffab5952Smrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix
2626ffab5952Smrg# Let make expand exec_prefix.
2627ffab5952Smrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2628ffab5952Smrg
2629ffab5952Smrg# Transform confdefs.h into DEFS.
2630ffab5952Smrg# Protect against shell expansion while executing Makefile rules.
2631ffab5952Smrg# Protect against Makefile macro expansion.
2632ffab5952Smrg#
2633ffab5952Smrg# If the first sed substitution is executed (which looks for macros that
2634ffab5952Smrg# take arguments), then branch to the quote section.  Otherwise,
2635ffab5952Smrg# look for a macro that doesn't take arguments.
2636ffab5952Smrgac_script='
2637ffab5952Smrg:mline
2638ffab5952Smrg/\\$/{
2639ffab5952Smrg N
2640ffab5952Smrg s,\\\n,,
2641ffab5952Smrg b mline
2642ffab5952Smrg}
2643ffab5952Smrgt clear
2644ffab5952Smrg:clear
2645ffab5952Smrgs/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
2646ffab5952Smrgt quote
2647ffab5952Smrgs/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
2648ffab5952Smrgt quote
2649ffab5952Smrgb any
2650ffab5952Smrg:quote
2651ffab5952Smrgs/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2652ffab5952Smrgs/\[/\\&/g
2653ffab5952Smrgs/\]/\\&/g
2654ffab5952Smrgs/\$/$$/g
2655ffab5952SmrgH
2656ffab5952Smrg:any
2657ffab5952Smrg${
2658ffab5952Smrg	g
2659ffab5952Smrg	s/^\n//
2660ffab5952Smrg	s/\n/ /g
2661ffab5952Smrg	p
2662ffab5952Smrg}
2663ffab5952Smrg'
2664ffab5952SmrgDEFS=`sed -n "$ac_script" confdefs.h`
2665ffab5952Smrg
2666ffab5952Smrg
2667ffab5952Smrgac_libobjs=
2668ffab5952Smrgac_ltlibobjs=
2669ffab5952SmrgU=
2670ffab5952Smrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2671ffab5952Smrg  # 1. Remove the extension, and $U if already installed.
2672ffab5952Smrg  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
26736781a5f7Smrg  ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
2674ffab5952Smrg  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
2675ffab5952Smrg  #    will be set to the directory where LIBOBJS objects are built.
2676ffab5952Smrg  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2677ffab5952Smrg  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2678ffab5952Smrgdone
2679ffab5952SmrgLIBOBJS=$ac_libobjs
2680ffab5952Smrg
2681ffab5952SmrgLTLIBOBJS=$ac_ltlibobjs
2682ffab5952Smrg
2683ffab5952Smrg
26846781a5f7Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
26856781a5f7Smrgprintf %s "checking that generated files are newer than configure... " >&6; }
268667e4e4deSmrg   if test -n "$am_sleep_pid"; then
268767e4e4deSmrg     # Hide warnings about reused PIDs.
268867e4e4deSmrg     wait $am_sleep_pid 2>/dev/null
268967e4e4deSmrg   fi
26906781a5f7Smrg   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
26916781a5f7Smrgprintf "%s\n" "done" >&6; }
2692ffab5952Smrg
2693ffab5952Smrg
2694ffab5952Smrg: "${CONFIG_STATUS=./config.status}"
2695ffab5952Smrgac_write_fail=0
2696ffab5952Smrgac_clean_files_save=$ac_clean_files
2697ffab5952Smrgac_clean_files="$ac_clean_files $CONFIG_STATUS"
26986781a5f7Smrg{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
26996781a5f7Smrgprintf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
2700ffab5952Smrgas_write_fail=0
2701ffab5952Smrgcat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2702ffab5952Smrg#! $SHELL
2703ffab5952Smrg# Generated by $as_me.
2704ffab5952Smrg# Run this file to recreate the current configuration.
2705ffab5952Smrg# Compiler output produced by configure, useful for debugging
2706ffab5952Smrg# configure, is in config.log if it exists.
2707ffab5952Smrg
2708ffab5952Smrgdebug=false
2709ffab5952Smrgac_cs_recheck=false
2710ffab5952Smrgac_cs_silent=false
2711ffab5952Smrg
2712ffab5952SmrgSHELL=\${CONFIG_SHELL-$SHELL}
2713ffab5952Smrgexport SHELL
2714ffab5952Smrg_ASEOF
2715ffab5952Smrgcat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2716ffab5952Smrg## -------------------- ##
2717ffab5952Smrg## M4sh Initialization. ##
2718ffab5952Smrg## -------------------- ##
2719ffab5952Smrg
2720ffab5952Smrg# Be more Bourne compatible
2721ffab5952SmrgDUALCASE=1; export DUALCASE # for MKS sh
27226781a5f7Smrgas_nop=:
27236781a5f7Smrgif test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
27246781a5f7Smrgthen :
2725ffab5952Smrg  emulate sh
2726ffab5952Smrg  NULLCMD=:
2727ffab5952Smrg  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2728ffab5952Smrg  # is contrary to our usage.  Disable this feature.
2729ffab5952Smrg  alias -g '${1+"$@"}'='"$@"'
2730ffab5952Smrg  setopt NO_GLOB_SUBST
27316781a5f7Smrgelse $as_nop
2732ffab5952Smrg  case `(set -o) 2>/dev/null` in #(
2733ffab5952Smrg  *posix*) :
2734ffab5952Smrg    set -o posix ;; #(
2735ffab5952Smrg  *) :
2736ffab5952Smrg     ;;
2737ffab5952Smrgesac
2738ffab5952Smrgfi
2739ffab5952Smrg
2740ffab5952Smrg
27416781a5f7Smrg
27426781a5f7Smrg# Reset variables that may have inherited troublesome values from
27436781a5f7Smrg# the environment.
27446781a5f7Smrg
27456781a5f7Smrg# IFS needs to be set, to space, tab, and newline, in precisely that order.
27466781a5f7Smrg# (If _AS_PATH_WALK were called with IFS unset, it would have the
27476781a5f7Smrg# side effect of setting IFS to empty, thus disabling word splitting.)
27486781a5f7Smrg# Quoting is to prevent editors from complaining about space-tab.
2749ffab5952Smrgas_nl='
2750ffab5952Smrg'
2751ffab5952Smrgexport as_nl
27526781a5f7SmrgIFS=" ""	$as_nl"
27536781a5f7Smrg
27546781a5f7SmrgPS1='$ '
27556781a5f7SmrgPS2='> '
27566781a5f7SmrgPS4='+ '
27576781a5f7Smrg
27586781a5f7Smrg# Ensure predictable behavior from utilities with locale-dependent output.
27596781a5f7SmrgLC_ALL=C
27606781a5f7Smrgexport LC_ALL
27616781a5f7SmrgLANGUAGE=C
27626781a5f7Smrgexport LANGUAGE
27636781a5f7Smrg
27646781a5f7Smrg# We cannot yet rely on "unset" to work, but we need these variables
27656781a5f7Smrg# to be unset--not just set to an empty or harmless value--now, to
27666781a5f7Smrg# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
27676781a5f7Smrg# also avoids known problems related to "unset" and subshell syntax
27686781a5f7Smrg# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
27696781a5f7Smrgfor as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
27706781a5f7Smrgdo eval test \${$as_var+y} \
27716781a5f7Smrg  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
27726781a5f7Smrgdone
27736781a5f7Smrg
27746781a5f7Smrg# Ensure that fds 0, 1, and 2 are open.
27756781a5f7Smrgif (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
27766781a5f7Smrgif (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
27776781a5f7Smrgif (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
2778ffab5952Smrg
2779ffab5952Smrg# The user is always right.
27806781a5f7Smrgif ${PATH_SEPARATOR+false} :; then
2781ffab5952Smrg  PATH_SEPARATOR=:
2782ffab5952Smrg  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2783ffab5952Smrg    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2784ffab5952Smrg      PATH_SEPARATOR=';'
2785ffab5952Smrg  }
2786ffab5952Smrgfi
2787ffab5952Smrg
2788ffab5952Smrg
2789ffab5952Smrg# Find who we are.  Look in the path if we contain no directory separator.
2790ffab5952Smrgas_myself=
2791ffab5952Smrgcase $0 in #((
2792ffab5952Smrg  *[\\/]* ) as_myself=$0 ;;
2793ffab5952Smrg  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2794ffab5952Smrgfor as_dir in $PATH
2795ffab5952Smrgdo
2796ffab5952Smrg  IFS=$as_save_IFS
27976781a5f7Smrg  case $as_dir in #(((
27986781a5f7Smrg    '') as_dir=./ ;;
27996781a5f7Smrg    */) ;;
28006781a5f7Smrg    *) as_dir=$as_dir/ ;;
28016781a5f7Smrg  esac
28026781a5f7Smrg    test -r "$as_dir$0" && as_myself=$as_dir$0 && break
2803ffab5952Smrg  done
2804ffab5952SmrgIFS=$as_save_IFS
2805ffab5952Smrg
2806ffab5952Smrg     ;;
2807ffab5952Smrgesac
2808ffab5952Smrg# We did not find ourselves, most probably we were run as `sh COMMAND'
2809ffab5952Smrg# in which case we are not to be found in the path.
2810ffab5952Smrgif test "x$as_myself" = x; then
2811ffab5952Smrg  as_myself=$0
2812ffab5952Smrgfi
2813ffab5952Smrgif test ! -f "$as_myself"; then
28146781a5f7Smrg  printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2815ffab5952Smrg  exit 1
2816ffab5952Smrgfi
2817ffab5952Smrg
2818ffab5952Smrg
2819ffab5952Smrg
2820ffab5952Smrg# as_fn_error STATUS ERROR [LINENO LOG_FD]
2821ffab5952Smrg# ----------------------------------------
2822ffab5952Smrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2823ffab5952Smrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2824ffab5952Smrg# script with STATUS, using 1 if that was 0.
2825ffab5952Smrgas_fn_error ()
2826ffab5952Smrg{
2827ffab5952Smrg  as_status=$1; test $as_status -eq 0 && as_status=1
2828ffab5952Smrg  if test "$4"; then
2829ffab5952Smrg    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
28306781a5f7Smrg    printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
2831ffab5952Smrg  fi
28326781a5f7Smrg  printf "%s\n" "$as_me: error: $2" >&2
2833ffab5952Smrg  as_fn_exit $as_status
2834ffab5952Smrg} # as_fn_error
2835ffab5952Smrg
2836ffab5952Smrg
28376781a5f7Smrg
2838ffab5952Smrg# as_fn_set_status STATUS
2839ffab5952Smrg# -----------------------
2840ffab5952Smrg# Set $? to STATUS, without forking.
2841ffab5952Smrgas_fn_set_status ()
2842ffab5952Smrg{
2843ffab5952Smrg  return $1
2844ffab5952Smrg} # as_fn_set_status
2845ffab5952Smrg
2846ffab5952Smrg# as_fn_exit STATUS
2847ffab5952Smrg# -----------------
2848ffab5952Smrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2849ffab5952Smrgas_fn_exit ()
2850ffab5952Smrg{
2851ffab5952Smrg  set +e
2852ffab5952Smrg  as_fn_set_status $1
2853ffab5952Smrg  exit $1
2854ffab5952Smrg} # as_fn_exit
2855ffab5952Smrg
2856ffab5952Smrg# as_fn_unset VAR
2857ffab5952Smrg# ---------------
2858ffab5952Smrg# Portably unset VAR.
2859ffab5952Smrgas_fn_unset ()
2860ffab5952Smrg{
2861ffab5952Smrg  { eval $1=; unset $1;}
2862ffab5952Smrg}
2863ffab5952Smrgas_unset=as_fn_unset
28646781a5f7Smrg
2865ffab5952Smrg# as_fn_append VAR VALUE
2866ffab5952Smrg# ----------------------
2867ffab5952Smrg# Append the text in VALUE to the end of the definition contained in VAR. Take
2868ffab5952Smrg# advantage of any shell optimizations that allow amortized linear growth over
2869ffab5952Smrg# repeated appends, instead of the typical quadratic growth present in naive
2870ffab5952Smrg# implementations.
28716781a5f7Smrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
28726781a5f7Smrgthen :
2873ffab5952Smrg  eval 'as_fn_append ()
2874ffab5952Smrg  {
2875ffab5952Smrg    eval $1+=\$2
2876ffab5952Smrg  }'
28776781a5f7Smrgelse $as_nop
2878ffab5952Smrg  as_fn_append ()
2879ffab5952Smrg  {
2880ffab5952Smrg    eval $1=\$$1\$2
2881ffab5952Smrg  }
2882ffab5952Smrgfi # as_fn_append
2883ffab5952Smrg
2884ffab5952Smrg# as_fn_arith ARG...
2885ffab5952Smrg# ------------------
2886ffab5952Smrg# Perform arithmetic evaluation on the ARGs, and store the result in the
2887ffab5952Smrg# global $as_val. Take advantage of shells that can avoid forks. The arguments
2888ffab5952Smrg# must be portable across $(()) and expr.
28896781a5f7Smrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
28906781a5f7Smrgthen :
2891ffab5952Smrg  eval 'as_fn_arith ()
2892ffab5952Smrg  {
2893ffab5952Smrg    as_val=$(( $* ))
2894ffab5952Smrg  }'
28956781a5f7Smrgelse $as_nop
2896ffab5952Smrg  as_fn_arith ()
2897ffab5952Smrg  {
2898ffab5952Smrg    as_val=`expr "$@" || test $? -eq 1`
2899ffab5952Smrg  }
2900ffab5952Smrgfi # as_fn_arith
2901ffab5952Smrg
2902ffab5952Smrg
2903ffab5952Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
2904ffab5952Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
2905ffab5952Smrg  as_expr=expr
2906ffab5952Smrgelse
2907ffab5952Smrg  as_expr=false
2908ffab5952Smrgfi
2909ffab5952Smrg
2910ffab5952Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2911ffab5952Smrg  as_basename=basename
2912ffab5952Smrgelse
2913ffab5952Smrg  as_basename=false
2914ffab5952Smrgfi
2915ffab5952Smrg
2916ffab5952Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2917ffab5952Smrg  as_dirname=dirname
2918ffab5952Smrgelse
2919ffab5952Smrg  as_dirname=false
2920ffab5952Smrgfi
2921ffab5952Smrg
2922ffab5952Smrgas_me=`$as_basename -- "$0" ||
2923ffab5952Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2924ffab5952Smrg	 X"$0" : 'X\(//\)$' \| \
2925ffab5952Smrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
29266781a5f7Smrgprintf "%s\n" X/"$0" |
2927ffab5952Smrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
2928ffab5952Smrg	    s//\1/
2929ffab5952Smrg	    q
2930ffab5952Smrg	  }
2931ffab5952Smrg	  /^X\/\(\/\/\)$/{
2932ffab5952Smrg	    s//\1/
2933ffab5952Smrg	    q
2934ffab5952Smrg	  }
2935ffab5952Smrg	  /^X\/\(\/\).*/{
2936ffab5952Smrg	    s//\1/
2937ffab5952Smrg	    q
2938ffab5952Smrg	  }
2939ffab5952Smrg	  s/.*/./; q'`
2940ffab5952Smrg
2941ffab5952Smrg# Avoid depending upon Character Ranges.
2942ffab5952Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
2943ffab5952Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2944ffab5952Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
2945ffab5952Smrgas_cr_digits='0123456789'
2946ffab5952Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits
2947ffab5952Smrg
29486781a5f7Smrg
29496781a5f7Smrg# Determine whether it's possible to make 'echo' print without a newline.
29506781a5f7Smrg# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
29516781a5f7Smrg# for compatibility with existing Makefiles.
2952ffab5952SmrgECHO_C= ECHO_N= ECHO_T=
2953ffab5952Smrgcase `echo -n x` in #(((((
2954ffab5952Smrg-n*)
2955ffab5952Smrg  case `echo 'xy\c'` in
2956ffab5952Smrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
2957ffab5952Smrg  xy)  ECHO_C='\c';;
2958ffab5952Smrg  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
2959ffab5952Smrg       ECHO_T='	';;
2960ffab5952Smrg  esac;;
2961ffab5952Smrg*)
2962ffab5952Smrg  ECHO_N='-n';;
2963ffab5952Smrgesac
2964ffab5952Smrg
29656781a5f7Smrg# For backward compatibility with old third-party macros, we provide
29666781a5f7Smrg# the shell variables $as_echo and $as_echo_n.  New code should use
29676781a5f7Smrg# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
29686781a5f7Smrgas_echo='printf %s\n'
29696781a5f7Smrgas_echo_n='printf %s'
29706781a5f7Smrg
2971ffab5952Smrgrm -f conf$$ conf$$.exe conf$$.file
2972ffab5952Smrgif test -d conf$$.dir; then
2973ffab5952Smrg  rm -f conf$$.dir/conf$$.file
2974ffab5952Smrgelse
2975ffab5952Smrg  rm -f conf$$.dir
2976ffab5952Smrg  mkdir conf$$.dir 2>/dev/null
2977ffab5952Smrgfi
2978ffab5952Smrgif (echo >conf$$.file) 2>/dev/null; then
2979ffab5952Smrg  if ln -s conf$$.file conf$$ 2>/dev/null; then
2980ffab5952Smrg    as_ln_s='ln -s'
2981ffab5952Smrg    # ... but there are two gotchas:
2982ffab5952Smrg    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2983ffab5952Smrg    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
298467e4e4deSmrg    # In both cases, we have to default to `cp -pR'.
2985ffab5952Smrg    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
298667e4e4deSmrg      as_ln_s='cp -pR'
2987ffab5952Smrg  elif ln conf$$.file conf$$ 2>/dev/null; then
2988ffab5952Smrg    as_ln_s=ln
2989ffab5952Smrg  else
299067e4e4deSmrg    as_ln_s='cp -pR'
2991ffab5952Smrg  fi
2992ffab5952Smrgelse
299367e4e4deSmrg  as_ln_s='cp -pR'
2994ffab5952Smrgfi
2995ffab5952Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2996ffab5952Smrgrmdir conf$$.dir 2>/dev/null
2997ffab5952Smrg
2998ffab5952Smrg
2999ffab5952Smrg# as_fn_mkdir_p
3000ffab5952Smrg# -------------
3001ffab5952Smrg# Create "$as_dir" as a directory, including parents if necessary.
3002ffab5952Smrgas_fn_mkdir_p ()
3003ffab5952Smrg{
3004ffab5952Smrg
3005ffab5952Smrg  case $as_dir in #(
3006ffab5952Smrg  -*) as_dir=./$as_dir;;
3007ffab5952Smrg  esac
3008ffab5952Smrg  test -d "$as_dir" || eval $as_mkdir_p || {
3009ffab5952Smrg    as_dirs=
3010ffab5952Smrg    while :; do
3011ffab5952Smrg      case $as_dir in #(
30126781a5f7Smrg      *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3013ffab5952Smrg      *) as_qdir=$as_dir;;
3014ffab5952Smrg      esac
3015ffab5952Smrg      as_dirs="'$as_qdir' $as_dirs"
3016ffab5952Smrg      as_dir=`$as_dirname -- "$as_dir" ||
3017ffab5952Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3018ffab5952Smrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
3019ffab5952Smrg	 X"$as_dir" : 'X\(//\)$' \| \
3020ffab5952Smrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
30216781a5f7Smrgprintf "%s\n" X"$as_dir" |
3022ffab5952Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3023ffab5952Smrg	    s//\1/
3024ffab5952Smrg	    q
3025ffab5952Smrg	  }
3026ffab5952Smrg	  /^X\(\/\/\)[^/].*/{
3027ffab5952Smrg	    s//\1/
3028ffab5952Smrg	    q
3029ffab5952Smrg	  }
3030ffab5952Smrg	  /^X\(\/\/\)$/{
3031ffab5952Smrg	    s//\1/
3032ffab5952Smrg	    q
3033ffab5952Smrg	  }
3034ffab5952Smrg	  /^X\(\/\).*/{
3035ffab5952Smrg	    s//\1/
3036ffab5952Smrg	    q
3037ffab5952Smrg	  }
3038ffab5952Smrg	  s/.*/./; q'`
3039ffab5952Smrg      test -d "$as_dir" && break
3040ffab5952Smrg    done
3041ffab5952Smrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
3042ffab5952Smrg  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3043ffab5952Smrg
3044ffab5952Smrg
3045ffab5952Smrg} # as_fn_mkdir_p
3046ffab5952Smrgif mkdir -p . 2>/dev/null; then
3047ffab5952Smrg  as_mkdir_p='mkdir -p "$as_dir"'
3048ffab5952Smrgelse
3049ffab5952Smrg  test -d ./-p && rmdir ./-p
3050ffab5952Smrg  as_mkdir_p=false
3051ffab5952Smrgfi
3052ffab5952Smrg
305367e4e4deSmrg
305467e4e4deSmrg# as_fn_executable_p FILE
305567e4e4deSmrg# -----------------------
305667e4e4deSmrg# Test if FILE is an executable regular file.
305767e4e4deSmrgas_fn_executable_p ()
305867e4e4deSmrg{
305967e4e4deSmrg  test -f "$1" && test -x "$1"
306067e4e4deSmrg} # as_fn_executable_p
306167e4e4deSmrgas_test_x='test -x'
306267e4e4deSmrgas_executable_p=as_fn_executable_p
3063ffab5952Smrg
3064ffab5952Smrg# Sed expression to map a string onto a valid CPP name.
3065ffab5952Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3066ffab5952Smrg
3067ffab5952Smrg# Sed expression to map a string onto a valid variable name.
3068ffab5952Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3069ffab5952Smrg
3070ffab5952Smrg
3071ffab5952Smrgexec 6>&1
3072ffab5952Smrg## ----------------------------------- ##
3073ffab5952Smrg## Main body of $CONFIG_STATUS script. ##
3074ffab5952Smrg## ----------------------------------- ##
3075ffab5952Smrg_ASEOF
3076ffab5952Smrgtest $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3077ffab5952Smrg
3078ffab5952Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3079ffab5952Smrg# Save the log message, to keep $0 and so on meaningful, and to
3080ffab5952Smrg# report actual input values of CONFIG_FILES etc. instead of their
3081ffab5952Smrg# values after options handling.
3082ffab5952Smrgac_log="
30836781a5f7SmrgThis file was extended by util-macros $as_me 1.20.0, which was
30846781a5f7Smrggenerated by GNU Autoconf 2.71.  Invocation command line was
3085ffab5952Smrg
3086ffab5952Smrg  CONFIG_FILES    = $CONFIG_FILES
3087ffab5952Smrg  CONFIG_HEADERS  = $CONFIG_HEADERS
3088ffab5952Smrg  CONFIG_LINKS    = $CONFIG_LINKS
3089ffab5952Smrg  CONFIG_COMMANDS = $CONFIG_COMMANDS
3090ffab5952Smrg  $ $0 $@
3091ffab5952Smrg
3092ffab5952Smrgon `(hostname || uname -n) 2>/dev/null | sed 1q`
3093ffab5952Smrg"
3094ffab5952Smrg
3095ffab5952Smrg_ACEOF
3096ffab5952Smrg
3097ffab5952Smrgcase $ac_config_files in *"
3098ffab5952Smrg"*) set x $ac_config_files; shift; ac_config_files=$*;;
3099ffab5952Smrgesac
3100ffab5952Smrg
3101ffab5952Smrg
3102ffab5952Smrg
3103ffab5952Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3104ffab5952Smrg# Files that config.status was made for.
3105ffab5952Smrgconfig_files="$ac_config_files"
3106ffab5952Smrg
3107ffab5952Smrg_ACEOF
3108ffab5952Smrg
3109ffab5952Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3110ffab5952Smrgac_cs_usage="\
3111ffab5952Smrg\`$as_me' instantiates files and other configuration actions
3112ffab5952Smrgfrom templates according to the current configuration.  Unless the files
3113ffab5952Smrgand actions are specified as TAGs, all are instantiated by default.
3114ffab5952Smrg
3115ffab5952SmrgUsage: $0 [OPTION]... [TAG]...
3116ffab5952Smrg
3117ffab5952Smrg  -h, --help       print this help, then exit
3118ffab5952Smrg  -V, --version    print version number and configuration settings, then exit
3119ffab5952Smrg      --config     print configuration, then exit
3120ffab5952Smrg  -q, --quiet, --silent
3121ffab5952Smrg                   do not print progress messages
3122ffab5952Smrg  -d, --debug      don't remove temporary files
3123ffab5952Smrg      --recheck    update $as_me by reconfiguring in the same conditions
3124ffab5952Smrg      --file=FILE[:TEMPLATE]
3125ffab5952Smrg                   instantiate the configuration file FILE
3126ffab5952Smrg
3127ffab5952SmrgConfiguration files:
3128ffab5952Smrg$config_files
3129ffab5952Smrg
313045aa2fbfSmrgReport bugs to <https://gitlab.freedesktop.org/xorg/util/macros/issues>."
3131ffab5952Smrg
3132ffab5952Smrg_ACEOF
31336781a5f7Smrgac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
31346781a5f7Smrgac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
3135ffab5952Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31366781a5f7Smrgac_cs_config='$ac_cs_config_escaped'
3137ffab5952Smrgac_cs_version="\\
31386781a5f7Smrgutil-macros config.status 1.20.0
31396781a5f7Smrgconfigured by $0, generated by GNU Autoconf 2.71,
3140ffab5952Smrg  with options \\"\$ac_cs_config\\"
3141ffab5952Smrg
31426781a5f7SmrgCopyright (C) 2021 Free Software Foundation, Inc.
3143ffab5952SmrgThis config.status script is free software; the Free Software Foundation
3144ffab5952Smrggives unlimited permission to copy, distribute and modify it."
3145ffab5952Smrg
3146ffab5952Smrgac_pwd='$ac_pwd'
3147ffab5952Smrgsrcdir='$srcdir'
3148ffab5952SmrgINSTALL='$INSTALL'
3149ffab5952SmrgMKDIR_P='$MKDIR_P'
3150ffab5952SmrgAWK='$AWK'
3151ffab5952Smrgtest -n "\$AWK" || AWK=awk
3152ffab5952Smrg_ACEOF
3153ffab5952Smrg
3154ffab5952Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3155ffab5952Smrg# The default lists apply if the user does not specify any file.
3156ffab5952Smrgac_need_defaults=:
3157ffab5952Smrgwhile test $# != 0
3158ffab5952Smrgdo
3159ffab5952Smrg  case $1 in
3160ffab5952Smrg  --*=?*)
3161ffab5952Smrg    ac_option=`expr "X$1" : 'X\([^=]*\)='`
3162ffab5952Smrg    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3163ffab5952Smrg    ac_shift=:
3164ffab5952Smrg    ;;
3165ffab5952Smrg  --*=)
3166ffab5952Smrg    ac_option=`expr "X$1" : 'X\([^=]*\)='`
3167ffab5952Smrg    ac_optarg=
3168ffab5952Smrg    ac_shift=:
3169ffab5952Smrg    ;;
3170ffab5952Smrg  *)
3171ffab5952Smrg    ac_option=$1
3172ffab5952Smrg    ac_optarg=$2
3173ffab5952Smrg    ac_shift=shift
3174ffab5952Smrg    ;;
3175ffab5952Smrg  esac
3176ffab5952Smrg
3177ffab5952Smrg  case $ac_option in
3178ffab5952Smrg  # Handling of the options.
3179ffab5952Smrg  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3180ffab5952Smrg    ac_cs_recheck=: ;;
3181ffab5952Smrg  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
31826781a5f7Smrg    printf "%s\n" "$ac_cs_version"; exit ;;
3183ffab5952Smrg  --config | --confi | --conf | --con | --co | --c )
31846781a5f7Smrg    printf "%s\n" "$ac_cs_config"; exit ;;
3185ffab5952Smrg  --debug | --debu | --deb | --de | --d | -d )
3186ffab5952Smrg    debug=: ;;
3187ffab5952Smrg  --file | --fil | --fi | --f )
3188ffab5952Smrg    $ac_shift
3189ffab5952Smrg    case $ac_optarg in
31906781a5f7Smrg    *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3191ffab5952Smrg    '') as_fn_error $? "missing file argument" ;;
3192ffab5952Smrg    esac
3193ffab5952Smrg    as_fn_append CONFIG_FILES " '$ac_optarg'"
3194ffab5952Smrg    ac_need_defaults=false;;
3195ffab5952Smrg  --he | --h |  --help | --hel | -h )
31966781a5f7Smrg    printf "%s\n" "$ac_cs_usage"; exit ;;
3197ffab5952Smrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3198ffab5952Smrg  | -silent | --silent | --silen | --sile | --sil | --si | --s)
3199ffab5952Smrg    ac_cs_silent=: ;;
3200ffab5952Smrg
3201ffab5952Smrg  # This is an error.
3202ffab5952Smrg  -*) as_fn_error $? "unrecognized option: \`$1'
3203ffab5952SmrgTry \`$0 --help' for more information." ;;
3204ffab5952Smrg
3205ffab5952Smrg  *) as_fn_append ac_config_targets " $1"
3206ffab5952Smrg     ac_need_defaults=false ;;
3207ffab5952Smrg
3208ffab5952Smrg  esac
3209ffab5952Smrg  shift
3210ffab5952Smrgdone
3211ffab5952Smrg
3212ffab5952Smrgac_configure_extra_args=
3213ffab5952Smrg
3214ffab5952Smrgif $ac_cs_silent; then
3215ffab5952Smrg  exec 6>/dev/null
3216ffab5952Smrg  ac_configure_extra_args="$ac_configure_extra_args --silent"
3217ffab5952Smrgfi
3218ffab5952Smrg
3219ffab5952Smrg_ACEOF
3220ffab5952Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3221ffab5952Smrgif \$ac_cs_recheck; then
322267e4e4deSmrg  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3223ffab5952Smrg  shift
32246781a5f7Smrg  \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
3225ffab5952Smrg  CONFIG_SHELL='$SHELL'
3226ffab5952Smrg  export CONFIG_SHELL
3227ffab5952Smrg  exec "\$@"
3228ffab5952Smrgfi
3229ffab5952Smrg
3230ffab5952Smrg_ACEOF
3231ffab5952Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3232ffab5952Smrgexec 5>>config.log
3233ffab5952Smrg{
3234ffab5952Smrg  echo
3235ffab5952Smrg  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3236ffab5952Smrg## Running $as_me. ##
3237ffab5952Smrg_ASBOX
32386781a5f7Smrg  printf "%s\n" "$ac_log"
3239ffab5952Smrg} >&5
3240ffab5952Smrg
3241ffab5952Smrg_ACEOF
3242ffab5952Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3243ffab5952Smrg_ACEOF
3244ffab5952Smrg
3245ffab5952Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3246ffab5952Smrg
3247ffab5952Smrg# Handling of arguments.
3248ffab5952Smrgfor ac_config_target in $ac_config_targets
3249ffab5952Smrgdo
3250ffab5952Smrg  case $ac_config_target in
3251ffab5952Smrg    "xorg-macros.pc") CONFIG_FILES="$CONFIG_FILES xorg-macros.pc" ;;
3252ffab5952Smrg    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3253ffab5952Smrg    "xorg-macros.m4") CONFIG_FILES="$CONFIG_FILES xorg-macros.m4:xorg-macros.m4.in:xorgversion.m4" ;;
3254ffab5952Smrg
3255ffab5952Smrg  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3256ffab5952Smrg  esac
3257ffab5952Smrgdone
3258ffab5952Smrg
3259ffab5952Smrg
3260ffab5952Smrg# If the user did not use the arguments to specify the items to instantiate,
3261ffab5952Smrg# then the envvar interface is used.  Set only those that are not.
3262ffab5952Smrg# We use the long form for the default assignment because of an extremely
3263ffab5952Smrg# bizarre bug on SunOS 4.1.3.
3264ffab5952Smrgif $ac_need_defaults; then
32656781a5f7Smrg  test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
3266ffab5952Smrgfi
3267ffab5952Smrg
3268ffab5952Smrg# Have a temporary directory for convenience.  Make it in the build tree
3269ffab5952Smrg# simply because there is no reason against having it here, and in addition,
3270ffab5952Smrg# creating and moving files from /tmp can sometimes cause problems.
3271ffab5952Smrg# Hook for its removal unless debugging.
3272ffab5952Smrg# Note that there is a small window in which the directory will not be cleaned:
3273ffab5952Smrg# after its creation but before its name has been assigned to `$tmp'.
3274ffab5952Smrg$debug ||
3275ffab5952Smrg{
3276ffab5952Smrg  tmp= ac_tmp=
3277ffab5952Smrg  trap 'exit_status=$?
3278ffab5952Smrg  : "${ac_tmp:=$tmp}"
3279ffab5952Smrg  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3280ffab5952Smrg' 0
3281ffab5952Smrg  trap 'as_fn_exit 1' 1 2 13 15
3282ffab5952Smrg}
3283ffab5952Smrg# Create a (secure) tmp directory for tmp files.
3284ffab5952Smrg
3285ffab5952Smrg{
3286ffab5952Smrg  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3287ffab5952Smrg  test -d "$tmp"
3288ffab5952Smrg}  ||
3289ffab5952Smrg{
3290ffab5952Smrg  tmp=./conf$$-$RANDOM
3291ffab5952Smrg  (umask 077 && mkdir "$tmp")
3292ffab5952Smrg} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3293ffab5952Smrgac_tmp=$tmp
3294ffab5952Smrg
3295ffab5952Smrg# Set up the scripts for CONFIG_FILES section.
3296ffab5952Smrg# No need to generate them if there are no CONFIG_FILES.
3297ffab5952Smrg# This happens for instance with `./config.status config.h'.
3298ffab5952Smrgif test -n "$CONFIG_FILES"; then
3299ffab5952Smrg
3300ffab5952Smrg
3301ffab5952Smrgac_cr=`echo X | tr X '\015'`
3302ffab5952Smrg# On cygwin, bash can eat \r inside `` if the user requested igncr.
3303ffab5952Smrg# But we know of no other shell where ac_cr would be empty at this
3304ffab5952Smrg# point, so we can use a bashism as a fallback.
3305ffab5952Smrgif test "x$ac_cr" = x; then
3306ffab5952Smrg  eval ac_cr=\$\'\\r\'
3307ffab5952Smrgfi
3308ffab5952Smrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3309ffab5952Smrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3310ffab5952Smrg  ac_cs_awk_cr='\\r'
3311ffab5952Smrgelse
3312ffab5952Smrg  ac_cs_awk_cr=$ac_cr
3313ffab5952Smrgfi
3314ffab5952Smrg
3315ffab5952Smrgecho 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3316ffab5952Smrg_ACEOF
3317ffab5952Smrg
3318ffab5952Smrg
3319ffab5952Smrg{
3320ffab5952Smrg  echo "cat >conf$$subs.awk <<_ACEOF" &&
3321ffab5952Smrg  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3322ffab5952Smrg  echo "_ACEOF"
3323ffab5952Smrg} >conf$$subs.sh ||
3324ffab5952Smrg  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3325ffab5952Smrgac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3326ffab5952Smrgac_delim='%!_!# '
3327ffab5952Smrgfor ac_last_try in false false false false false :; do
3328ffab5952Smrg  . ./conf$$subs.sh ||
3329ffab5952Smrg    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3330ffab5952Smrg
3331ffab5952Smrg  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3332ffab5952Smrg  if test $ac_delim_n = $ac_delim_num; then
3333ffab5952Smrg    break
3334ffab5952Smrg  elif $ac_last_try; then
3335ffab5952Smrg    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3336ffab5952Smrg  else
3337ffab5952Smrg    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3338ffab5952Smrg  fi
3339ffab5952Smrgdone
3340ffab5952Smrgrm -f conf$$subs.sh
3341ffab5952Smrg
3342ffab5952Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3343ffab5952Smrgcat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3344ffab5952Smrg_ACEOF
3345ffab5952Smrgsed -n '
3346ffab5952Smrgh
3347ffab5952Smrgs/^/S["/; s/!.*/"]=/
3348ffab5952Smrgp
3349ffab5952Smrgg
3350ffab5952Smrgs/^[^!]*!//
3351ffab5952Smrg:repl
3352ffab5952Smrgt repl
3353ffab5952Smrgs/'"$ac_delim"'$//
3354ffab5952Smrgt delim
3355ffab5952Smrg:nl
3356ffab5952Smrgh
3357ffab5952Smrgs/\(.\{148\}\)..*/\1/
3358ffab5952Smrgt more1
3359ffab5952Smrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3360ffab5952Smrgp
3361ffab5952Smrgn
3362ffab5952Smrgb repl
3363ffab5952Smrg:more1
3364ffab5952Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/
3365ffab5952Smrgp
3366ffab5952Smrgg
3367ffab5952Smrgs/.\{148\}//
3368ffab5952Smrgt nl
3369ffab5952Smrg:delim
3370ffab5952Smrgh
3371ffab5952Smrgs/\(.\{148\}\)..*/\1/
3372ffab5952Smrgt more2
3373ffab5952Smrgs/["\\]/\\&/g; s/^/"/; s/$/"/
3374ffab5952Smrgp
3375ffab5952Smrgb
3376ffab5952Smrg:more2
3377ffab5952Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/
3378ffab5952Smrgp
3379ffab5952Smrgg
3380ffab5952Smrgs/.\{148\}//
3381ffab5952Smrgt delim
3382ffab5952Smrg' <conf$$subs.awk | sed '
3383ffab5952Smrg/^[^""]/{
3384ffab5952Smrg  N
3385ffab5952Smrg  s/\n//
3386ffab5952Smrg}
3387ffab5952Smrg' >>$CONFIG_STATUS || ac_write_fail=1
3388ffab5952Smrgrm -f conf$$subs.awk
3389ffab5952Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3390ffab5952Smrg_ACAWK
3391ffab5952Smrgcat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3392ffab5952Smrg  for (key in S) S_is_set[key] = 1
3393ffab5952Smrg  FS = ""
3394ffab5952Smrg
3395ffab5952Smrg}
3396ffab5952Smrg{
3397ffab5952Smrg  line = $ 0
3398ffab5952Smrg  nfields = split(line, field, "@")
3399ffab5952Smrg  substed = 0
3400ffab5952Smrg  len = length(field[1])
3401ffab5952Smrg  for (i = 2; i < nfields; i++) {
3402ffab5952Smrg    key = field[i]
3403ffab5952Smrg    keylen = length(key)
3404ffab5952Smrg    if (S_is_set[key]) {
3405ffab5952Smrg      value = S[key]
3406ffab5952Smrg      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3407ffab5952Smrg      len += length(value) + length(field[++i])
3408ffab5952Smrg      substed = 1
3409ffab5952Smrg    } else
3410ffab5952Smrg      len += 1 + keylen
3411ffab5952Smrg  }
3412ffab5952Smrg
3413ffab5952Smrg  print line
3414ffab5952Smrg}
3415ffab5952Smrg
3416ffab5952Smrg_ACAWK
3417ffab5952Smrg_ACEOF
3418ffab5952Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3419ffab5952Smrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3420ffab5952Smrg  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3421ffab5952Smrgelse
3422ffab5952Smrg  cat
3423ffab5952Smrgfi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3424ffab5952Smrg  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3425ffab5952Smrg_ACEOF
3426ffab5952Smrg
3427ffab5952Smrg# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3428ffab5952Smrg# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3429ffab5952Smrg# trailing colons and then remove the whole line if VPATH becomes empty
3430ffab5952Smrg# (actually we leave an empty line to preserve line numbers).
3431ffab5952Smrgif test "x$srcdir" = x.; then
3432ffab5952Smrg  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
3433ffab5952Smrgh
3434ffab5952Smrgs///
3435ffab5952Smrgs/^/:/
3436ffab5952Smrgs/[	 ]*$/:/
3437ffab5952Smrgs/:\$(srcdir):/:/g
3438ffab5952Smrgs/:\${srcdir}:/:/g
3439ffab5952Smrgs/:@srcdir@:/:/g
3440ffab5952Smrgs/^:*//
3441ffab5952Smrgs/:*$//
3442ffab5952Smrgx
3443ffab5952Smrgs/\(=[	 ]*\).*/\1/
3444ffab5952SmrgG
3445ffab5952Smrgs/\n//
3446ffab5952Smrgs/^[^=]*=[	 ]*$//
3447ffab5952Smrg}'
3448ffab5952Smrgfi
3449ffab5952Smrg
3450ffab5952Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3451ffab5952Smrgfi # test -n "$CONFIG_FILES"
3452ffab5952Smrg
3453ffab5952Smrg
3454ffab5952Smrgeval set X "  :F $CONFIG_FILES      "
3455ffab5952Smrgshift
3456ffab5952Smrgfor ac_tag
3457ffab5952Smrgdo
3458ffab5952Smrg  case $ac_tag in
3459ffab5952Smrg  :[FHLC]) ac_mode=$ac_tag; continue;;
3460ffab5952Smrg  esac
3461ffab5952Smrg  case $ac_mode$ac_tag in
3462ffab5952Smrg  :[FHL]*:*);;
3463ffab5952Smrg  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3464ffab5952Smrg  :[FH]-) ac_tag=-:-;;
3465ffab5952Smrg  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3466ffab5952Smrg  esac
3467ffab5952Smrg  ac_save_IFS=$IFS
3468ffab5952Smrg  IFS=:
3469ffab5952Smrg  set x $ac_tag
3470ffab5952Smrg  IFS=$ac_save_IFS
3471ffab5952Smrg  shift
3472ffab5952Smrg  ac_file=$1
3473ffab5952Smrg  shift
3474ffab5952Smrg
3475ffab5952Smrg  case $ac_mode in
3476ffab5952Smrg  :L) ac_source=$1;;
3477ffab5952Smrg  :[FH])
3478ffab5952Smrg    ac_file_inputs=
3479ffab5952Smrg    for ac_f
3480ffab5952Smrg    do
3481ffab5952Smrg      case $ac_f in
3482ffab5952Smrg      -) ac_f="$ac_tmp/stdin";;
3483ffab5952Smrg      *) # Look for the file first in the build tree, then in the source tree
3484ffab5952Smrg	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
3485ffab5952Smrg	 # because $ac_f cannot contain `:'.
3486ffab5952Smrg	 test -f "$ac_f" ||
3487ffab5952Smrg	   case $ac_f in
3488ffab5952Smrg	   [\\/$]*) false;;
3489ffab5952Smrg	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3490ffab5952Smrg	   esac ||
3491ffab5952Smrg	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3492ffab5952Smrg      esac
34936781a5f7Smrg      case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3494ffab5952Smrg      as_fn_append ac_file_inputs " '$ac_f'"
3495ffab5952Smrg    done
3496ffab5952Smrg
3497ffab5952Smrg    # Let's still pretend it is `configure' which instantiates (i.e., don't
3498ffab5952Smrg    # use $as_me), people would be surprised to read:
3499ffab5952Smrg    #    /* config.h.  Generated by config.status.  */
3500ffab5952Smrg    configure_input='Generated from '`
35016781a5f7Smrg	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3502ffab5952Smrg	`' by configure.'
3503ffab5952Smrg    if test x"$ac_file" != x-; then
3504ffab5952Smrg      configure_input="$ac_file.  $configure_input"
35056781a5f7Smrg      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
35066781a5f7Smrgprintf "%s\n" "$as_me: creating $ac_file" >&6;}
3507ffab5952Smrg    fi
3508ffab5952Smrg    # Neutralize special characters interpreted by sed in replacement strings.
3509ffab5952Smrg    case $configure_input in #(
3510ffab5952Smrg    *\&* | *\|* | *\\* )
35116781a5f7Smrg       ac_sed_conf_input=`printf "%s\n" "$configure_input" |
3512ffab5952Smrg       sed 's/[\\\\&|]/\\\\&/g'`;; #(
3513ffab5952Smrg    *) ac_sed_conf_input=$configure_input;;
3514ffab5952Smrg    esac
3515ffab5952Smrg
3516ffab5952Smrg    case $ac_tag in
3517ffab5952Smrg    *:-:* | *:-) cat >"$ac_tmp/stdin" \
3518ffab5952Smrg      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3519ffab5952Smrg    esac
3520ffab5952Smrg    ;;
3521ffab5952Smrg  esac
3522ffab5952Smrg
3523ffab5952Smrg  ac_dir=`$as_dirname -- "$ac_file" ||
3524ffab5952Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3525ffab5952Smrg	 X"$ac_file" : 'X\(//\)[^/]' \| \
3526ffab5952Smrg	 X"$ac_file" : 'X\(//\)$' \| \
3527ffab5952Smrg	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
35286781a5f7Smrgprintf "%s\n" X"$ac_file" |
3529ffab5952Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3530ffab5952Smrg	    s//\1/
3531ffab5952Smrg	    q
3532ffab5952Smrg	  }
3533ffab5952Smrg	  /^X\(\/\/\)[^/].*/{
3534ffab5952Smrg	    s//\1/
3535ffab5952Smrg	    q
3536ffab5952Smrg	  }
3537ffab5952Smrg	  /^X\(\/\/\)$/{
3538ffab5952Smrg	    s//\1/
3539ffab5952Smrg	    q
3540ffab5952Smrg	  }
3541ffab5952Smrg	  /^X\(\/\).*/{
3542ffab5952Smrg	    s//\1/
3543ffab5952Smrg	    q
3544ffab5952Smrg	  }
3545ffab5952Smrg	  s/.*/./; q'`
3546ffab5952Smrg  as_dir="$ac_dir"; as_fn_mkdir_p
3547ffab5952Smrg  ac_builddir=.
3548ffab5952Smrg
3549ffab5952Smrgcase "$ac_dir" in
3550ffab5952Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3551ffab5952Smrg*)
35526781a5f7Smrg  ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
3553ffab5952Smrg  # A ".." for each directory in $ac_dir_suffix.
35546781a5f7Smrg  ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3555ffab5952Smrg  case $ac_top_builddir_sub in
3556ffab5952Smrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3557ffab5952Smrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3558ffab5952Smrg  esac ;;
3559ffab5952Smrgesac
3560ffab5952Smrgac_abs_top_builddir=$ac_pwd
3561ffab5952Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix
3562ffab5952Smrg# for backward compatibility:
3563ffab5952Smrgac_top_builddir=$ac_top_build_prefix
3564ffab5952Smrg
3565ffab5952Smrgcase $srcdir in
3566ffab5952Smrg  .)  # We are building in place.
3567ffab5952Smrg    ac_srcdir=.
3568ffab5952Smrg    ac_top_srcdir=$ac_top_builddir_sub
3569ffab5952Smrg    ac_abs_top_srcdir=$ac_pwd ;;
3570ffab5952Smrg  [\\/]* | ?:[\\/]* )  # Absolute name.
3571ffab5952Smrg    ac_srcdir=$srcdir$ac_dir_suffix;
3572ffab5952Smrg    ac_top_srcdir=$srcdir
3573ffab5952Smrg    ac_abs_top_srcdir=$srcdir ;;
3574ffab5952Smrg  *) # Relative name.
3575ffab5952Smrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3576ffab5952Smrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
3577ffab5952Smrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3578ffab5952Smrgesac
3579ffab5952Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3580ffab5952Smrg
3581ffab5952Smrg
3582ffab5952Smrg  case $ac_mode in
3583ffab5952Smrg  :F)
3584ffab5952Smrg  #
3585ffab5952Smrg  # CONFIG_FILE
3586ffab5952Smrg  #
3587ffab5952Smrg
3588ffab5952Smrg  case $INSTALL in
3589ffab5952Smrg  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3590ffab5952Smrg  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3591ffab5952Smrg  esac
3592ffab5952Smrg  ac_MKDIR_P=$MKDIR_P
3593ffab5952Smrg  case $MKDIR_P in
3594ffab5952Smrg  [\\/$]* | ?:[\\/]* ) ;;
3595ffab5952Smrg  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3596ffab5952Smrg  esac
3597ffab5952Smrg_ACEOF
3598ffab5952Smrg
3599ffab5952Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3600ffab5952Smrg# If the template does not know about datarootdir, expand it.
3601ffab5952Smrg# FIXME: This hack should be removed a few years after 2.60.
3602ffab5952Smrgac_datarootdir_hack=; ac_datarootdir_seen=
3603ffab5952Smrgac_sed_dataroot='
3604ffab5952Smrg/datarootdir/ {
3605ffab5952Smrg  p
3606ffab5952Smrg  q
3607ffab5952Smrg}
3608ffab5952Smrg/@datadir@/p
3609ffab5952Smrg/@docdir@/p
3610ffab5952Smrg/@infodir@/p
3611ffab5952Smrg/@localedir@/p
3612ffab5952Smrg/@mandir@/p'
3613ffab5952Smrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3614ffab5952Smrg*datarootdir*) ac_datarootdir_seen=yes;;
3615ffab5952Smrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
36166781a5f7Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
36176781a5f7Smrgprintf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3618ffab5952Smrg_ACEOF
3619ffab5952Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3620ffab5952Smrg  ac_datarootdir_hack='
3621ffab5952Smrg  s&@datadir@&$datadir&g
3622ffab5952Smrg  s&@docdir@&$docdir&g
3623ffab5952Smrg  s&@infodir@&$infodir&g
3624ffab5952Smrg  s&@localedir@&$localedir&g
3625ffab5952Smrg  s&@mandir@&$mandir&g
3626ffab5952Smrg  s&\\\${datarootdir}&$datarootdir&g' ;;
3627ffab5952Smrgesac
3628ffab5952Smrg_ACEOF
3629ffab5952Smrg
3630ffab5952Smrg# Neutralize VPATH when `$srcdir' = `.'.
3631ffab5952Smrg# Shell code in configure.ac might set extrasub.
3632ffab5952Smrg# FIXME: do we really want to maintain this feature?
3633ffab5952Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3634ffab5952Smrgac_sed_extra="$ac_vpsub
3635ffab5952Smrg$extrasub
3636ffab5952Smrg_ACEOF
3637ffab5952Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3638ffab5952Smrg:t
3639ffab5952Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3640ffab5952Smrgs|@configure_input@|$ac_sed_conf_input|;t t
3641ffab5952Smrgs&@top_builddir@&$ac_top_builddir_sub&;t t
3642ffab5952Smrgs&@top_build_prefix@&$ac_top_build_prefix&;t t
3643ffab5952Smrgs&@srcdir@&$ac_srcdir&;t t
3644ffab5952Smrgs&@abs_srcdir@&$ac_abs_srcdir&;t t
3645ffab5952Smrgs&@top_srcdir@&$ac_top_srcdir&;t t
3646ffab5952Smrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3647ffab5952Smrgs&@builddir@&$ac_builddir&;t t
3648ffab5952Smrgs&@abs_builddir@&$ac_abs_builddir&;t t
3649ffab5952Smrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3650ffab5952Smrgs&@INSTALL@&$ac_INSTALL&;t t
3651ffab5952Smrgs&@MKDIR_P@&$ac_MKDIR_P&;t t
3652ffab5952Smrg$ac_datarootdir_hack
3653ffab5952Smrg"
3654ffab5952Smrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
3655ffab5952Smrg  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3656ffab5952Smrg
3657ffab5952Smrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3658ffab5952Smrg  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
3659ffab5952Smrg  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
3660ffab5952Smrg      "$ac_tmp/out"`; test -z "$ac_out"; } &&
36616781a5f7Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3662ffab5952Smrgwhich seems to be undefined.  Please make sure it is defined" >&5
36636781a5f7Smrgprintf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3664ffab5952Smrgwhich seems to be undefined.  Please make sure it is defined" >&2;}
3665ffab5952Smrg
3666ffab5952Smrg  rm -f "$ac_tmp/stdin"
3667ffab5952Smrg  case $ac_file in
3668ffab5952Smrg  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3669ffab5952Smrg  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
3670ffab5952Smrg  esac \
3671ffab5952Smrg  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3672ffab5952Smrg ;;
3673ffab5952Smrg
3674ffab5952Smrg
3675ffab5952Smrg
3676ffab5952Smrg  esac
3677ffab5952Smrg
3678ffab5952Smrgdone # for ac_tag
3679ffab5952Smrg
3680ffab5952Smrg
3681ffab5952Smrgas_fn_exit 0
3682ffab5952Smrg_ACEOF
3683ffab5952Smrgac_clean_files=$ac_clean_files_save
3684ffab5952Smrg
3685ffab5952Smrgtest $ac_write_fail = 0 ||
3686ffab5952Smrg  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3687ffab5952Smrg
3688ffab5952Smrg
3689ffab5952Smrg# configure is writing to config.log, and then calls config.status.
3690ffab5952Smrg# config.status does its own redirection, appending to config.log.
3691ffab5952Smrg# Unfortunately, on DOS this fails, as config.log is still kept open
3692ffab5952Smrg# by configure, so config.status won't be able to write to it; its
3693ffab5952Smrg# output is simply discarded.  So we exec the FD to /dev/null,
3694ffab5952Smrg# effectively closing config.log, so it can be properly (re)opened and
3695ffab5952Smrg# appended to by config.status.  When coming back to configure, we
3696ffab5952Smrg# need to make the FD available again.
3697ffab5952Smrgif test "$no_create" != yes; then
3698ffab5952Smrg  ac_cs_success=:
3699ffab5952Smrg  ac_config_status_args=
3700ffab5952Smrg  test "$silent" = yes &&
3701ffab5952Smrg    ac_config_status_args="$ac_config_status_args --quiet"
3702ffab5952Smrg  exec 5>/dev/null
3703ffab5952Smrg  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3704ffab5952Smrg  exec 5>>config.log
3705ffab5952Smrg  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3706ffab5952Smrg  # would make configure fail if this is the last instruction.
3707ffab5952Smrg  $ac_cs_success || as_fn_exit 1
3708ffab5952Smrgfi
3709ffab5952Smrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
37106781a5f7Smrg  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
37116781a5f7Smrgprintf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3712ffab5952Smrgfi
3713ffab5952Smrg
37146781a5f7Smrg
3715