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