configure revision 43c16309
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.68 for util-macros 1.18.0.
4#
5# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
6#
7#
8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10# Foundation, Inc.
11#
12#
13# This configure script is free software; the Free Software Foundation
14# gives unlimited permission to copy, distribute and modify it.
15## -------------------- ##
16## M4sh Initialization. ##
17## -------------------- ##
18
19# Be more Bourne compatible
20DUALCASE=1; export DUALCASE # for MKS sh
21if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
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
29  case `(set -o) 2>/dev/null` in #(
30  *posix*) :
31    set -o posix ;; #(
32  *) :
33     ;;
34esac
35fi
36
37
38as_nl='
39'
40export as_nl
41# Printing a long string crashes Solaris 7 /usr/bin/printf.
42as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45# Prefer a ksh shell builtin over an external printf program on Solaris,
46# but without wasting forks for bash or zsh.
47if test -z "$BASH_VERSION$ZSH_VERSION" \
48    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49  as_echo='print -r --'
50  as_echo_n='print -rn --'
51elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52  as_echo='printf %s\n'
53  as_echo_n='printf %s'
54else
55  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57    as_echo_n='/usr/ucb/echo -n'
58  else
59    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60    as_echo_n_body='eval
61      arg=$1;
62      case $arg in #(
63      *"$as_nl"*)
64	expr "X$arg" : "X\\(.*\\)$as_nl";
65	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66      esac;
67      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68    '
69    export as_echo_n_body
70    as_echo_n='sh -c $as_echo_n_body as_echo'
71  fi
72  export as_echo_body
73  as_echo='sh -c $as_echo_body as_echo'
74fi
75
76# The user is always right.
77if test "${PATH_SEPARATOR+set}" != set; then
78  PATH_SEPARATOR=:
79  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81      PATH_SEPARATOR=';'
82  }
83fi
84
85
86# IFS
87# We need space, tab and new line, in precisely that order.  Quoting is
88# there to prevent editors from complaining about space-tab.
89# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90# splitting by setting IFS to empty value.)
91IFS=" ""	$as_nl"
92
93# Find who we are.  Look in the path if we contain no directory separator.
94as_myself=
95case $0 in #((
96  *[\\/]* ) as_myself=$0 ;;
97  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98for as_dir in $PATH
99do
100  IFS=$as_save_IFS
101  test -z "$as_dir" && as_dir=.
102    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103  done
104IFS=$as_save_IFS
105
106     ;;
107esac
108# We did not find ourselves, most probably we were run as `sh COMMAND'
109# in which case we are not to be found in the path.
110if test "x$as_myself" = x; then
111  as_myself=$0
112fi
113if test ! -f "$as_myself"; then
114  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115  exit 1
116fi
117
118# Unset variables that we do not need and which cause bugs (e.g. in
119# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
120# suppresses any "Segmentation fault" message there.  '((' could
121# trigger a bug in pdksh 5.2.14.
122for as_var in BASH_ENV ENV MAIL MAILPATH
123do eval test x\${$as_var+set} = xset \
124  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125done
126PS1='$ '
127PS2='> '
128PS4='+ '
129
130# NLS nuisances.
131LC_ALL=C
132export LC_ALL
133LANGUAGE=C
134export LANGUAGE
135
136# CDPATH.
137(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139if test "x$CONFIG_SHELL" = x; then
140  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141  emulate sh
142  NULLCMD=:
143  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144  # is contrary to our usage.  Disable this feature.
145  alias -g '\${1+\"\$@\"}'='\"\$@\"'
146  setopt NO_GLOB_SUBST
147else
148  case \`(set -o) 2>/dev/null\` in #(
149  *posix*) :
150    set -o posix ;; #(
151  *) :
152     ;;
153esac
154fi
155"
156  as_required="as_fn_return () { (exit \$1); }
157as_fn_success () { as_fn_return 0; }
158as_fn_failure () { as_fn_return 1; }
159as_fn_ret_success () { return 0; }
160as_fn_ret_failure () { return 1; }
161
162exitcode=0
163as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
169else
170  exitcode=1; echo positional parameters were not saved.
171fi
172test x\$exitcode = x0 || exit 1"
173  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
177  if (eval "$as_required") 2>/dev/null; then :
178  as_have_required=yes
179else
180  as_have_required=no
181fi
182  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183
184else
185  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
186as_found=false
187for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188do
189  IFS=$as_save_IFS
190  test -z "$as_dir" && as_dir=.
191  as_found=:
192  case $as_dir in #(
193	 /*)
194	   for as_base in sh bash ksh sh5; do
195	     # Try only shells that exist, to save several forks.
196	     as_shell=$as_dir/$as_base
197	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199  CONFIG_SHELL=$as_shell as_have_required=yes
200		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
201  break 2
202fi
203fi
204	   done;;
205       esac
206  as_found=false
207done
208$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210  CONFIG_SHELL=$SHELL as_have_required=yes
211fi; }
212IFS=$as_save_IFS
213
214
215      if test "x$CONFIG_SHELL" != x; then :
216  # We cannot yet assume a decent shell, so we have to provide a
217	# neutralization value for shells without unset; and this also
218	# works around shells that cannot unset nonexistent variables.
219	# Preserve -v and -x to the replacement shell.
220	BASH_ENV=/dev/null
221	ENV=/dev/null
222	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
223	export CONFIG_SHELL
224	case $- in # ((((
225	  *v*x* | *x*v* ) as_opts=-vx ;;
226	  *v* ) as_opts=-v ;;
227	  *x* ) as_opts=-x ;;
228	  * ) as_opts= ;;
229	esac
230	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
231fi
232
233    if test x$as_have_required = xno; then :
234  $as_echo "$0: This script requires a shell more modern than all"
235  $as_echo "$0: the shells that I found on your system."
236  if test x${ZSH_VERSION+set} = xset ; then
237    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
238    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
239  else
240    $as_echo "$0: Please tell bug-autoconf@gnu.org and
241$0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
242$0: about your system, including any error possibly output
243$0: before this message. Then install a modern shell, or
244$0: manually run the script under such a shell if you do
245$0: have one."
246  fi
247  exit 1
248fi
249fi
250fi
251SHELL=${CONFIG_SHELL-/bin/sh}
252export SHELL
253# Unset more variables known to interfere with behavior of common tools.
254CLICOLOR_FORCE= GREP_OPTIONS=
255unset CLICOLOR_FORCE GREP_OPTIONS
256
257## --------------------- ##
258## M4sh Shell Functions. ##
259## --------------------- ##
260# as_fn_unset VAR
261# ---------------
262# Portably unset VAR.
263as_fn_unset ()
264{
265  { eval $1=; unset $1;}
266}
267as_unset=as_fn_unset
268
269# as_fn_set_status STATUS
270# -----------------------
271# Set $? to STATUS, without forking.
272as_fn_set_status ()
273{
274  return $1
275} # as_fn_set_status
276
277# as_fn_exit STATUS
278# -----------------
279# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
280as_fn_exit ()
281{
282  set +e
283  as_fn_set_status $1
284  exit $1
285} # as_fn_exit
286
287# as_fn_mkdir_p
288# -------------
289# Create "$as_dir" as a directory, including parents if necessary.
290as_fn_mkdir_p ()
291{
292
293  case $as_dir in #(
294  -*) as_dir=./$as_dir;;
295  esac
296  test -d "$as_dir" || eval $as_mkdir_p || {
297    as_dirs=
298    while :; do
299      case $as_dir in #(
300      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
301      *) as_qdir=$as_dir;;
302      esac
303      as_dirs="'$as_qdir' $as_dirs"
304      as_dir=`$as_dirname -- "$as_dir" ||
305$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
306	 X"$as_dir" : 'X\(//\)[^/]' \| \
307	 X"$as_dir" : 'X\(//\)$' \| \
308	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
309$as_echo X"$as_dir" |
310    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
311	    s//\1/
312	    q
313	  }
314	  /^X\(\/\/\)[^/].*/{
315	    s//\1/
316	    q
317	  }
318	  /^X\(\/\/\)$/{
319	    s//\1/
320	    q
321	  }
322	  /^X\(\/\).*/{
323	    s//\1/
324	    q
325	  }
326	  s/.*/./; q'`
327      test -d "$as_dir" && break
328    done
329    test -z "$as_dirs" || eval "mkdir $as_dirs"
330  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
331
332
333} # as_fn_mkdir_p
334# as_fn_append VAR VALUE
335# ----------------------
336# Append the text in VALUE to the end of the definition contained in VAR. Take
337# advantage of any shell optimizations that allow amortized linear growth over
338# repeated appends, instead of the typical quadratic growth present in naive
339# implementations.
340if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
341  eval 'as_fn_append ()
342  {
343    eval $1+=\$2
344  }'
345else
346  as_fn_append ()
347  {
348    eval $1=\$$1\$2
349  }
350fi # as_fn_append
351
352# as_fn_arith ARG...
353# ------------------
354# Perform arithmetic evaluation on the ARGs, and store the result in the
355# global $as_val. Take advantage of shells that can avoid forks. The arguments
356# must be portable across $(()) and expr.
357if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
358  eval 'as_fn_arith ()
359  {
360    as_val=$(( $* ))
361  }'
362else
363  as_fn_arith ()
364  {
365    as_val=`expr "$@" || test $? -eq 1`
366  }
367fi # as_fn_arith
368
369
370# as_fn_error STATUS ERROR [LINENO LOG_FD]
371# ----------------------------------------
372# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
373# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
374# script with STATUS, using 1 if that was 0.
375as_fn_error ()
376{
377  as_status=$1; test $as_status -eq 0 && as_status=1
378  if test "$4"; then
379    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
380    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
381  fi
382  $as_echo "$as_me: error: $2" >&2
383  as_fn_exit $as_status
384} # as_fn_error
385
386if expr a : '\(a\)' >/dev/null 2>&1 &&
387   test "X`expr 00001 : '.*\(...\)'`" = X001; then
388  as_expr=expr
389else
390  as_expr=false
391fi
392
393if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
394  as_basename=basename
395else
396  as_basename=false
397fi
398
399if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
400  as_dirname=dirname
401else
402  as_dirname=false
403fi
404
405as_me=`$as_basename -- "$0" ||
406$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
407	 X"$0" : 'X\(//\)$' \| \
408	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
409$as_echo X/"$0" |
410    sed '/^.*\/\([^/][^/]*\)\/*$/{
411	    s//\1/
412	    q
413	  }
414	  /^X\/\(\/\/\)$/{
415	    s//\1/
416	    q
417	  }
418	  /^X\/\(\/\).*/{
419	    s//\1/
420	    q
421	  }
422	  s/.*/./; q'`
423
424# Avoid depending upon Character Ranges.
425as_cr_letters='abcdefghijklmnopqrstuvwxyz'
426as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
427as_cr_Letters=$as_cr_letters$as_cr_LETTERS
428as_cr_digits='0123456789'
429as_cr_alnum=$as_cr_Letters$as_cr_digits
430
431
432  as_lineno_1=$LINENO as_lineno_1a=$LINENO
433  as_lineno_2=$LINENO as_lineno_2a=$LINENO
434  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
435  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
436  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
437  sed -n '
438    p
439    /[$]LINENO/=
440  ' <$as_myself |
441    sed '
442      s/[$]LINENO.*/&-/
443      t lineno
444      b
445      :lineno
446      N
447      :loop
448      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
449      t loop
450      s/-\n.*//
451    ' >$as_me.lineno &&
452  chmod +x "$as_me.lineno" ||
453    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
454
455  # Don't try to exec as it changes $[0], causing all sort of problems
456  # (the dirname of $[0] is not the place where we might find the
457  # original and so on.  Autoconf is especially sensitive to this).
458  . "./$as_me.lineno"
459  # Exit status is that of the last command.
460  exit
461}
462
463ECHO_C= ECHO_N= ECHO_T=
464case `echo -n x` in #(((((
465-n*)
466  case `echo 'xy\c'` in
467  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
468  xy)  ECHO_C='\c';;
469  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
470       ECHO_T='	';;
471  esac;;
472*)
473  ECHO_N='-n';;
474esac
475
476rm -f conf$$ conf$$.exe conf$$.file
477if test -d conf$$.dir; then
478  rm -f conf$$.dir/conf$$.file
479else
480  rm -f conf$$.dir
481  mkdir conf$$.dir 2>/dev/null
482fi
483if (echo >conf$$.file) 2>/dev/null; then
484  if ln -s conf$$.file conf$$ 2>/dev/null; then
485    as_ln_s='ln -s'
486    # ... but there are two gotchas:
487    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
488    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
489    # In both cases, we have to default to `cp -p'.
490    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
491      as_ln_s='cp -p'
492  elif ln conf$$.file conf$$ 2>/dev/null; then
493    as_ln_s=ln
494  else
495    as_ln_s='cp -p'
496  fi
497else
498  as_ln_s='cp -p'
499fi
500rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
501rmdir conf$$.dir 2>/dev/null
502
503if mkdir -p . 2>/dev/null; then
504  as_mkdir_p='mkdir -p "$as_dir"'
505else
506  test -d ./-p && rmdir ./-p
507  as_mkdir_p=false
508fi
509
510if test -x / >/dev/null 2>&1; then
511  as_test_x='test -x'
512else
513  if ls -dL / >/dev/null 2>&1; then
514    as_ls_L_option=L
515  else
516    as_ls_L_option=
517  fi
518  as_test_x='
519    eval sh -c '\''
520      if test -d "$1"; then
521	test -d "$1/.";
522      else
523	case $1 in #(
524	-*)set "./$1";;
525	esac;
526	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
527	???[sx]*):;;*)false;;esac;fi
528    '\'' sh
529  '
530fi
531as_executable_p=$as_test_x
532
533# Sed expression to map a string onto a valid CPP name.
534as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
535
536# Sed expression to map a string onto a valid variable name.
537as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
538
539
540test -n "$DJDIR" || exec 7<&0 </dev/null
541exec 6>&1
542
543# Name of the host.
544# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
545# so uname gets run too.
546ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
547
548#
549# Initializations.
550#
551ac_default_prefix=/usr/local
552ac_clean_files=
553ac_config_libobj_dir=.
554LIBOBJS=
555cross_compiling=no
556subdirs=
557MFLAGS=
558MAKEFLAGS=
559
560# Identity of this package.
561PACKAGE_NAME='util-macros'
562PACKAGE_TARNAME='util-macros'
563PACKAGE_VERSION='1.18.0'
564PACKAGE_STRING='util-macros 1.18.0'
565PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
566PACKAGE_URL=''
567
568ac_unique_file="Makefile.am"
569ac_subst_vars='LTLIBOBJS
570LIBOBJS
571CHANGELOG_CMD
572am__untar
573am__tar
574AMTAR
575am__leading_dot
576SET_MAKE
577AWK
578mkdir_p
579MKDIR_P
580INSTALL_STRIP_PROGRAM
581STRIP
582install_sh
583MAKEINFO
584AUTOHEADER
585AUTOMAKE
586AUTOCONF
587ACLOCAL
588VERSION
589PACKAGE
590CYGPATH_W
591am__isrc
592INSTALL_DATA
593INSTALL_SCRIPT
594INSTALL_PROGRAM
595target_alias
596host_alias
597build_alias
598LIBS
599ECHO_T
600ECHO_N
601ECHO_C
602DEFS
603mandir
604localedir
605libdir
606psdir
607pdfdir
608dvidir
609htmldir
610infodir
611docdir
612oldincludedir
613includedir
614localstatedir
615sharedstatedir
616sysconfdir
617datadir
618datarootdir
619libexecdir
620sbindir
621bindir
622program_transform_name
623prefix
624exec_prefix
625PACKAGE_URL
626PACKAGE_BUGREPORT
627PACKAGE_STRING
628PACKAGE_VERSION
629PACKAGE_TARNAME
630PACKAGE_NAME
631PATH_SEPARATOR
632SHELL'
633ac_subst_files=''
634ac_user_opts='
635enable_option_checking
636'
637      ac_precious_vars='build_alias
638host_alias
639target_alias'
640
641
642# Initialize some variables set by options.
643ac_init_help=
644ac_init_version=false
645ac_unrecognized_opts=
646ac_unrecognized_sep=
647# The variables have the same names as the options, with
648# dashes changed to underlines.
649cache_file=/dev/null
650exec_prefix=NONE
651no_create=
652no_recursion=
653prefix=NONE
654program_prefix=NONE
655program_suffix=NONE
656program_transform_name=s,x,x,
657silent=
658site=
659srcdir=
660verbose=
661x_includes=NONE
662x_libraries=NONE
663
664# Installation directory options.
665# These are left unexpanded so users can "make install exec_prefix=/foo"
666# and all the variables that are supposed to be based on exec_prefix
667# by default will actually change.
668# Use braces instead of parens because sh, perl, etc. also accept them.
669# (The list follows the same order as the GNU Coding Standards.)
670bindir='${exec_prefix}/bin'
671sbindir='${exec_prefix}/sbin'
672libexecdir='${exec_prefix}/libexec'
673datarootdir='${prefix}/share'
674datadir='${datarootdir}'
675sysconfdir='${prefix}/etc'
676sharedstatedir='${prefix}/com'
677localstatedir='${prefix}/var'
678includedir='${prefix}/include'
679oldincludedir='/usr/include'
680docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
681infodir='${datarootdir}/info'
682htmldir='${docdir}'
683dvidir='${docdir}'
684pdfdir='${docdir}'
685psdir='${docdir}'
686libdir='${exec_prefix}/lib'
687localedir='${datarootdir}/locale'
688mandir='${datarootdir}/man'
689
690ac_prev=
691ac_dashdash=
692for ac_option
693do
694  # If the previous option needs an argument, assign it.
695  if test -n "$ac_prev"; then
696    eval $ac_prev=\$ac_option
697    ac_prev=
698    continue
699  fi
700
701  case $ac_option in
702  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
703  *=)   ac_optarg= ;;
704  *)    ac_optarg=yes ;;
705  esac
706
707  # Accept the important Cygnus configure options, so we can diagnose typos.
708
709  case $ac_dashdash$ac_option in
710  --)
711    ac_dashdash=yes ;;
712
713  -bindir | --bindir | --bindi | --bind | --bin | --bi)
714    ac_prev=bindir ;;
715  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
716    bindir=$ac_optarg ;;
717
718  -build | --build | --buil | --bui | --bu)
719    ac_prev=build_alias ;;
720  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
721    build_alias=$ac_optarg ;;
722
723  -cache-file | --cache-file | --cache-fil | --cache-fi \
724  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
725    ac_prev=cache_file ;;
726  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
727  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
728    cache_file=$ac_optarg ;;
729
730  --config-cache | -C)
731    cache_file=config.cache ;;
732
733  -datadir | --datadir | --datadi | --datad)
734    ac_prev=datadir ;;
735  -datadir=* | --datadir=* | --datadi=* | --datad=*)
736    datadir=$ac_optarg ;;
737
738  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
739  | --dataroo | --dataro | --datar)
740    ac_prev=datarootdir ;;
741  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
742  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
743    datarootdir=$ac_optarg ;;
744
745  -disable-* | --disable-*)
746    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
747    # Reject names that are not valid shell variable names.
748    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
749      as_fn_error $? "invalid feature name: $ac_useropt"
750    ac_useropt_orig=$ac_useropt
751    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
752    case $ac_user_opts in
753      *"
754"enable_$ac_useropt"
755"*) ;;
756      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
757	 ac_unrecognized_sep=', ';;
758    esac
759    eval enable_$ac_useropt=no ;;
760
761  -docdir | --docdir | --docdi | --doc | --do)
762    ac_prev=docdir ;;
763  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
764    docdir=$ac_optarg ;;
765
766  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
767    ac_prev=dvidir ;;
768  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
769    dvidir=$ac_optarg ;;
770
771  -enable-* | --enable-*)
772    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
773    # Reject names that are not valid shell variable names.
774    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
775      as_fn_error $? "invalid feature name: $ac_useropt"
776    ac_useropt_orig=$ac_useropt
777    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
778    case $ac_user_opts in
779      *"
780"enable_$ac_useropt"
781"*) ;;
782      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
783	 ac_unrecognized_sep=', ';;
784    esac
785    eval enable_$ac_useropt=\$ac_optarg ;;
786
787  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
788  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
789  | --exec | --exe | --ex)
790    ac_prev=exec_prefix ;;
791  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
792  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
793  | --exec=* | --exe=* | --ex=*)
794    exec_prefix=$ac_optarg ;;
795
796  -gas | --gas | --ga | --g)
797    # Obsolete; use --with-gas.
798    with_gas=yes ;;
799
800  -help | --help | --hel | --he | -h)
801    ac_init_help=long ;;
802  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
803    ac_init_help=recursive ;;
804  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
805    ac_init_help=short ;;
806
807  -host | --host | --hos | --ho)
808    ac_prev=host_alias ;;
809  -host=* | --host=* | --hos=* | --ho=*)
810    host_alias=$ac_optarg ;;
811
812  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
813    ac_prev=htmldir ;;
814  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
815  | --ht=*)
816    htmldir=$ac_optarg ;;
817
818  -includedir | --includedir | --includedi | --included | --include \
819  | --includ | --inclu | --incl | --inc)
820    ac_prev=includedir ;;
821  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
822  | --includ=* | --inclu=* | --incl=* | --inc=*)
823    includedir=$ac_optarg ;;
824
825  -infodir | --infodir | --infodi | --infod | --info | --inf)
826    ac_prev=infodir ;;
827  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
828    infodir=$ac_optarg ;;
829
830  -libdir | --libdir | --libdi | --libd)
831    ac_prev=libdir ;;
832  -libdir=* | --libdir=* | --libdi=* | --libd=*)
833    libdir=$ac_optarg ;;
834
835  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
836  | --libexe | --libex | --libe)
837    ac_prev=libexecdir ;;
838  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
839  | --libexe=* | --libex=* | --libe=*)
840    libexecdir=$ac_optarg ;;
841
842  -localedir | --localedir | --localedi | --localed | --locale)
843    ac_prev=localedir ;;
844  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
845    localedir=$ac_optarg ;;
846
847  -localstatedir | --localstatedir | --localstatedi | --localstated \
848  | --localstate | --localstat | --localsta | --localst | --locals)
849    ac_prev=localstatedir ;;
850  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
851  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
852    localstatedir=$ac_optarg ;;
853
854  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
855    ac_prev=mandir ;;
856  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
857    mandir=$ac_optarg ;;
858
859  -nfp | --nfp | --nf)
860    # Obsolete; use --without-fp.
861    with_fp=no ;;
862
863  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
864  | --no-cr | --no-c | -n)
865    no_create=yes ;;
866
867  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
868  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
869    no_recursion=yes ;;
870
871  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
872  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
873  | --oldin | --oldi | --old | --ol | --o)
874    ac_prev=oldincludedir ;;
875  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
876  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
877  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
878    oldincludedir=$ac_optarg ;;
879
880  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
881    ac_prev=prefix ;;
882  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
883    prefix=$ac_optarg ;;
884
885  -program-prefix | --program-prefix | --program-prefi | --program-pref \
886  | --program-pre | --program-pr | --program-p)
887    ac_prev=program_prefix ;;
888  -program-prefix=* | --program-prefix=* | --program-prefi=* \
889  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
890    program_prefix=$ac_optarg ;;
891
892  -program-suffix | --program-suffix | --program-suffi | --program-suff \
893  | --program-suf | --program-su | --program-s)
894    ac_prev=program_suffix ;;
895  -program-suffix=* | --program-suffix=* | --program-suffi=* \
896  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
897    program_suffix=$ac_optarg ;;
898
899  -program-transform-name | --program-transform-name \
900  | --program-transform-nam | --program-transform-na \
901  | --program-transform-n | --program-transform- \
902  | --program-transform | --program-transfor \
903  | --program-transfo | --program-transf \
904  | --program-trans | --program-tran \
905  | --progr-tra | --program-tr | --program-t)
906    ac_prev=program_transform_name ;;
907  -program-transform-name=* | --program-transform-name=* \
908  | --program-transform-nam=* | --program-transform-na=* \
909  | --program-transform-n=* | --program-transform-=* \
910  | --program-transform=* | --program-transfor=* \
911  | --program-transfo=* | --program-transf=* \
912  | --program-trans=* | --program-tran=* \
913  | --progr-tra=* | --program-tr=* | --program-t=*)
914    program_transform_name=$ac_optarg ;;
915
916  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
917    ac_prev=pdfdir ;;
918  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
919    pdfdir=$ac_optarg ;;
920
921  -psdir | --psdir | --psdi | --psd | --ps)
922    ac_prev=psdir ;;
923  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
924    psdir=$ac_optarg ;;
925
926  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
927  | -silent | --silent | --silen | --sile | --sil)
928    silent=yes ;;
929
930  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
931    ac_prev=sbindir ;;
932  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
933  | --sbi=* | --sb=*)
934    sbindir=$ac_optarg ;;
935
936  -sharedstatedir | --sharedstatedir | --sharedstatedi \
937  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
938  | --sharedst | --shareds | --shared | --share | --shar \
939  | --sha | --sh)
940    ac_prev=sharedstatedir ;;
941  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
942  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
943  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
944  | --sha=* | --sh=*)
945    sharedstatedir=$ac_optarg ;;
946
947  -site | --site | --sit)
948    ac_prev=site ;;
949  -site=* | --site=* | --sit=*)
950    site=$ac_optarg ;;
951
952  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
953    ac_prev=srcdir ;;
954  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
955    srcdir=$ac_optarg ;;
956
957  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
958  | --syscon | --sysco | --sysc | --sys | --sy)
959    ac_prev=sysconfdir ;;
960  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
961  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
962    sysconfdir=$ac_optarg ;;
963
964  -target | --target | --targe | --targ | --tar | --ta | --t)
965    ac_prev=target_alias ;;
966  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
967    target_alias=$ac_optarg ;;
968
969  -v | -verbose | --verbose | --verbos | --verbo | --verb)
970    verbose=yes ;;
971
972  -version | --version | --versio | --versi | --vers | -V)
973    ac_init_version=: ;;
974
975  -with-* | --with-*)
976    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
977    # Reject names that are not valid shell variable names.
978    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
979      as_fn_error $? "invalid package name: $ac_useropt"
980    ac_useropt_orig=$ac_useropt
981    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
982    case $ac_user_opts in
983      *"
984"with_$ac_useropt"
985"*) ;;
986      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
987	 ac_unrecognized_sep=', ';;
988    esac
989    eval with_$ac_useropt=\$ac_optarg ;;
990
991  -without-* | --without-*)
992    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
993    # Reject names that are not valid shell variable names.
994    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
995      as_fn_error $? "invalid package name: $ac_useropt"
996    ac_useropt_orig=$ac_useropt
997    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
998    case $ac_user_opts in
999      *"
1000"with_$ac_useropt"
1001"*) ;;
1002      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1003	 ac_unrecognized_sep=', ';;
1004    esac
1005    eval with_$ac_useropt=no ;;
1006
1007  --x)
1008    # Obsolete; use --with-x.
1009    with_x=yes ;;
1010
1011  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1012  | --x-incl | --x-inc | --x-in | --x-i)
1013    ac_prev=x_includes ;;
1014  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1015  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1016    x_includes=$ac_optarg ;;
1017
1018  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1019  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1020    ac_prev=x_libraries ;;
1021  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1022  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1023    x_libraries=$ac_optarg ;;
1024
1025  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1026Try \`$0 --help' for more information"
1027    ;;
1028
1029  *=*)
1030    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1031    # Reject names that are not valid shell variable names.
1032    case $ac_envvar in #(
1033      '' | [0-9]* | *[!_$as_cr_alnum]* )
1034      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1035    esac
1036    eval $ac_envvar=\$ac_optarg
1037    export $ac_envvar ;;
1038
1039  *)
1040    # FIXME: should be removed in autoconf 3.0.
1041    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1042    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1043      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1044    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1045    ;;
1046
1047  esac
1048done
1049
1050if test -n "$ac_prev"; then
1051  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1052  as_fn_error $? "missing argument to $ac_option"
1053fi
1054
1055if test -n "$ac_unrecognized_opts"; then
1056  case $enable_option_checking in
1057    no) ;;
1058    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1059    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1060  esac
1061fi
1062
1063# Check all directory arguments for consistency.
1064for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1065		datadir sysconfdir sharedstatedir localstatedir includedir \
1066		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1067		libdir localedir mandir
1068do
1069  eval ac_val=\$$ac_var
1070  # Remove trailing slashes.
1071  case $ac_val in
1072    */ )
1073      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1074      eval $ac_var=\$ac_val;;
1075  esac
1076  # Be sure to have absolute directory names.
1077  case $ac_val in
1078    [\\/$]* | ?:[\\/]* )  continue;;
1079    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1080  esac
1081  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1082done
1083
1084# There might be people who depend on the old broken behavior: `$host'
1085# used to hold the argument of --host etc.
1086# FIXME: To remove some day.
1087build=$build_alias
1088host=$host_alias
1089target=$target_alias
1090
1091# FIXME: To remove some day.
1092if test "x$host_alias" != x; then
1093  if test "x$build_alias" = x; then
1094    cross_compiling=maybe
1095    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1096    If a cross compiler is detected then cross compile mode will be used" >&2
1097  elif test "x$build_alias" != "x$host_alias"; then
1098    cross_compiling=yes
1099  fi
1100fi
1101
1102ac_tool_prefix=
1103test -n "$host_alias" && ac_tool_prefix=$host_alias-
1104
1105test "$silent" = yes && exec 6>/dev/null
1106
1107
1108ac_pwd=`pwd` && test -n "$ac_pwd" &&
1109ac_ls_di=`ls -di .` &&
1110ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1111  as_fn_error $? "working directory cannot be determined"
1112test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1113  as_fn_error $? "pwd does not report name of working directory"
1114
1115
1116# Find the source files, if location was not specified.
1117if test -z "$srcdir"; then
1118  ac_srcdir_defaulted=yes
1119  # Try the directory containing this script, then the parent directory.
1120  ac_confdir=`$as_dirname -- "$as_myself" ||
1121$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1122	 X"$as_myself" : 'X\(//\)[^/]' \| \
1123	 X"$as_myself" : 'X\(//\)$' \| \
1124	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1125$as_echo X"$as_myself" |
1126    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1127	    s//\1/
1128	    q
1129	  }
1130	  /^X\(\/\/\)[^/].*/{
1131	    s//\1/
1132	    q
1133	  }
1134	  /^X\(\/\/\)$/{
1135	    s//\1/
1136	    q
1137	  }
1138	  /^X\(\/\).*/{
1139	    s//\1/
1140	    q
1141	  }
1142	  s/.*/./; q'`
1143  srcdir=$ac_confdir
1144  if test ! -r "$srcdir/$ac_unique_file"; then
1145    srcdir=..
1146  fi
1147else
1148  ac_srcdir_defaulted=no
1149fi
1150if test ! -r "$srcdir/$ac_unique_file"; then
1151  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1152  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1153fi
1154ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1155ac_abs_confdir=`(
1156	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1157	pwd)`
1158# When building in place, set srcdir=.
1159if test "$ac_abs_confdir" = "$ac_pwd"; then
1160  srcdir=.
1161fi
1162# Remove unnecessary trailing slashes from srcdir.
1163# Double slashes in file names in object file debugging info
1164# mess up M-x gdb in Emacs.
1165case $srcdir in
1166*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1167esac
1168for ac_var in $ac_precious_vars; do
1169  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1170  eval ac_env_${ac_var}_value=\$${ac_var}
1171  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1172  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1173done
1174
1175#
1176# Report the --help message.
1177#
1178if test "$ac_init_help" = "long"; then
1179  # Omit some internal or obsolete options to make the list less imposing.
1180  # This message is too long to be a string in the A/UX 3.1 sh.
1181  cat <<_ACEOF
1182\`configure' configures util-macros 1.18.0 to adapt to many kinds of systems.
1183
1184Usage: $0 [OPTION]... [VAR=VALUE]...
1185
1186To assign environment variables (e.g., CC, CFLAGS...), specify them as
1187VAR=VALUE.  See below for descriptions of some of the useful variables.
1188
1189Defaults for the options are specified in brackets.
1190
1191Configuration:
1192  -h, --help              display this help and exit
1193      --help=short        display options specific to this package
1194      --help=recursive    display the short help of all the included packages
1195  -V, --version           display version information and exit
1196  -q, --quiet, --silent   do not print \`checking ...' messages
1197      --cache-file=FILE   cache test results in FILE [disabled]
1198  -C, --config-cache      alias for \`--cache-file=config.cache'
1199  -n, --no-create         do not create output files
1200      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1201
1202Installation directories:
1203  --prefix=PREFIX         install architecture-independent files in PREFIX
1204                          [$ac_default_prefix]
1205  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1206                          [PREFIX]
1207
1208By default, \`make install' will install all the files in
1209\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1210an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1211for instance \`--prefix=\$HOME'.
1212
1213For better control, use the options below.
1214
1215Fine tuning of the installation directories:
1216  --bindir=DIR            user executables [EPREFIX/bin]
1217  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1218  --libexecdir=DIR        program executables [EPREFIX/libexec]
1219  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1220  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1221  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1222  --libdir=DIR            object code libraries [EPREFIX/lib]
1223  --includedir=DIR        C header files [PREFIX/include]
1224  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1225  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1226  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1227  --infodir=DIR           info documentation [DATAROOTDIR/info]
1228  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1229  --mandir=DIR            man documentation [DATAROOTDIR/man]
1230  --docdir=DIR            documentation root [DATAROOTDIR/doc/util-macros]
1231  --htmldir=DIR           html documentation [DOCDIR]
1232  --dvidir=DIR            dvi documentation [DOCDIR]
1233  --pdfdir=DIR            pdf documentation [DOCDIR]
1234  --psdir=DIR             ps documentation [DOCDIR]
1235_ACEOF
1236
1237  cat <<\_ACEOF
1238
1239Program names:
1240  --program-prefix=PREFIX            prepend PREFIX to installed program names
1241  --program-suffix=SUFFIX            append SUFFIX to installed program names
1242  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1243_ACEOF
1244fi
1245
1246if test -n "$ac_init_help"; then
1247  case $ac_init_help in
1248     short | recursive ) echo "Configuration of util-macros 1.18.0:";;
1249   esac
1250  cat <<\_ACEOF
1251
1252Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
1253_ACEOF
1254ac_status=$?
1255fi
1256
1257if test "$ac_init_help" = "recursive"; then
1258  # If there are subdirs, report their specific --help.
1259  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1260    test -d "$ac_dir" ||
1261      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1262      continue
1263    ac_builddir=.
1264
1265case "$ac_dir" in
1266.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1267*)
1268  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1269  # A ".." for each directory in $ac_dir_suffix.
1270  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1271  case $ac_top_builddir_sub in
1272  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1273  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1274  esac ;;
1275esac
1276ac_abs_top_builddir=$ac_pwd
1277ac_abs_builddir=$ac_pwd$ac_dir_suffix
1278# for backward compatibility:
1279ac_top_builddir=$ac_top_build_prefix
1280
1281case $srcdir in
1282  .)  # We are building in place.
1283    ac_srcdir=.
1284    ac_top_srcdir=$ac_top_builddir_sub
1285    ac_abs_top_srcdir=$ac_pwd ;;
1286  [\\/]* | ?:[\\/]* )  # Absolute name.
1287    ac_srcdir=$srcdir$ac_dir_suffix;
1288    ac_top_srcdir=$srcdir
1289    ac_abs_top_srcdir=$srcdir ;;
1290  *) # Relative name.
1291    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1292    ac_top_srcdir=$ac_top_build_prefix$srcdir
1293    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1294esac
1295ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1296
1297    cd "$ac_dir" || { ac_status=$?; continue; }
1298    # Check for guested configure.
1299    if test -f "$ac_srcdir/configure.gnu"; then
1300      echo &&
1301      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1302    elif test -f "$ac_srcdir/configure"; then
1303      echo &&
1304      $SHELL "$ac_srcdir/configure" --help=recursive
1305    else
1306      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1307    fi || ac_status=$?
1308    cd "$ac_pwd" || { ac_status=$?; break; }
1309  done
1310fi
1311
1312test -n "$ac_init_help" && exit $ac_status
1313if $ac_init_version; then
1314  cat <<\_ACEOF
1315util-macros configure 1.18.0
1316generated by GNU Autoconf 2.68
1317
1318Copyright (C) 2010 Free Software Foundation, Inc.
1319This configure script is free software; the Free Software Foundation
1320gives unlimited permission to copy, distribute and modify it.
1321_ACEOF
1322  exit
1323fi
1324
1325## ------------------------ ##
1326## Autoconf initialization. ##
1327## ------------------------ ##
1328cat >config.log <<_ACEOF
1329This file contains any messages produced by compilers while
1330running configure, to aid debugging if configure makes a mistake.
1331
1332It was created by util-macros $as_me 1.18.0, which was
1333generated by GNU Autoconf 2.68.  Invocation command line was
1334
1335  $ $0 $@
1336
1337_ACEOF
1338exec 5>>config.log
1339{
1340cat <<_ASUNAME
1341## --------- ##
1342## Platform. ##
1343## --------- ##
1344
1345hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1346uname -m = `(uname -m) 2>/dev/null || echo unknown`
1347uname -r = `(uname -r) 2>/dev/null || echo unknown`
1348uname -s = `(uname -s) 2>/dev/null || echo unknown`
1349uname -v = `(uname -v) 2>/dev/null || echo unknown`
1350
1351/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1352/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1353
1354/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1355/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1356/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1357/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1358/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1359/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1360/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1361
1362_ASUNAME
1363
1364as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1365for as_dir in $PATH
1366do
1367  IFS=$as_save_IFS
1368  test -z "$as_dir" && as_dir=.
1369    $as_echo "PATH: $as_dir"
1370  done
1371IFS=$as_save_IFS
1372
1373} >&5
1374
1375cat >&5 <<_ACEOF
1376
1377
1378## ----------- ##
1379## Core tests. ##
1380## ----------- ##
1381
1382_ACEOF
1383
1384
1385# Keep a trace of the command line.
1386# Strip out --no-create and --no-recursion so they do not pile up.
1387# Strip out --silent because we don't want to record it for future runs.
1388# Also quote any args containing shell meta-characters.
1389# Make two passes to allow for proper duplicate-argument suppression.
1390ac_configure_args=
1391ac_configure_args0=
1392ac_configure_args1=
1393ac_must_keep_next=false
1394for ac_pass in 1 2
1395do
1396  for ac_arg
1397  do
1398    case $ac_arg in
1399    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1400    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1401    | -silent | --silent | --silen | --sile | --sil)
1402      continue ;;
1403    *\'*)
1404      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1405    esac
1406    case $ac_pass in
1407    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1408    2)
1409      as_fn_append ac_configure_args1 " '$ac_arg'"
1410      if test $ac_must_keep_next = true; then
1411	ac_must_keep_next=false # Got value, back to normal.
1412      else
1413	case $ac_arg in
1414	  *=* | --config-cache | -C | -disable-* | --disable-* \
1415	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1416	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1417	  | -with-* | --with-* | -without-* | --without-* | --x)
1418	    case "$ac_configure_args0 " in
1419	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1420	    esac
1421	    ;;
1422	  -* ) ac_must_keep_next=true ;;
1423	esac
1424      fi
1425      as_fn_append ac_configure_args " '$ac_arg'"
1426      ;;
1427    esac
1428  done
1429done
1430{ ac_configure_args0=; unset ac_configure_args0;}
1431{ ac_configure_args1=; unset ac_configure_args1;}
1432
1433# When interrupted or exit'd, cleanup temporary files, and complete
1434# config.log.  We remove comments because anyway the quotes in there
1435# would cause problems or look ugly.
1436# WARNING: Use '\'' to represent an apostrophe within the trap.
1437# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1438trap 'exit_status=$?
1439  # Save into config.log some information that might help in debugging.
1440  {
1441    echo
1442
1443    $as_echo "## ---------------- ##
1444## Cache variables. ##
1445## ---------------- ##"
1446    echo
1447    # The following way of writing the cache mishandles newlines in values,
1448(
1449  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1450    eval ac_val=\$$ac_var
1451    case $ac_val in #(
1452    *${as_nl}*)
1453      case $ac_var in #(
1454      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1455$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1456      esac
1457      case $ac_var in #(
1458      _ | IFS | as_nl) ;; #(
1459      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1460      *) { eval $ac_var=; unset $ac_var;} ;;
1461      esac ;;
1462    esac
1463  done
1464  (set) 2>&1 |
1465    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1466    *${as_nl}ac_space=\ *)
1467      sed -n \
1468	"s/'\''/'\''\\\\'\'''\''/g;
1469	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1470      ;; #(
1471    *)
1472      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1473      ;;
1474    esac |
1475    sort
1476)
1477    echo
1478
1479    $as_echo "## ----------------- ##
1480## Output variables. ##
1481## ----------------- ##"
1482    echo
1483    for ac_var in $ac_subst_vars
1484    do
1485      eval ac_val=\$$ac_var
1486      case $ac_val in
1487      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1488      esac
1489      $as_echo "$ac_var='\''$ac_val'\''"
1490    done | sort
1491    echo
1492
1493    if test -n "$ac_subst_files"; then
1494      $as_echo "## ------------------- ##
1495## File substitutions. ##
1496## ------------------- ##"
1497      echo
1498      for ac_var in $ac_subst_files
1499      do
1500	eval ac_val=\$$ac_var
1501	case $ac_val in
1502	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1503	esac
1504	$as_echo "$ac_var='\''$ac_val'\''"
1505      done | sort
1506      echo
1507    fi
1508
1509    if test -s confdefs.h; then
1510      $as_echo "## ----------- ##
1511## confdefs.h. ##
1512## ----------- ##"
1513      echo
1514      cat confdefs.h
1515      echo
1516    fi
1517    test "$ac_signal" != 0 &&
1518      $as_echo "$as_me: caught signal $ac_signal"
1519    $as_echo "$as_me: exit $exit_status"
1520  } >&5
1521  rm -f core *.core core.conftest.* &&
1522    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1523    exit $exit_status
1524' 0
1525for ac_signal in 1 2 13 15; do
1526  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1527done
1528ac_signal=0
1529
1530# confdefs.h avoids OS command line length limits that DEFS can exceed.
1531rm -f -r conftest* confdefs.h
1532
1533$as_echo "/* confdefs.h */" > confdefs.h
1534
1535# Predefined preprocessor variables.
1536
1537cat >>confdefs.h <<_ACEOF
1538#define PACKAGE_NAME "$PACKAGE_NAME"
1539_ACEOF
1540
1541cat >>confdefs.h <<_ACEOF
1542#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1543_ACEOF
1544
1545cat >>confdefs.h <<_ACEOF
1546#define PACKAGE_VERSION "$PACKAGE_VERSION"
1547_ACEOF
1548
1549cat >>confdefs.h <<_ACEOF
1550#define PACKAGE_STRING "$PACKAGE_STRING"
1551_ACEOF
1552
1553cat >>confdefs.h <<_ACEOF
1554#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1555_ACEOF
1556
1557cat >>confdefs.h <<_ACEOF
1558#define PACKAGE_URL "$PACKAGE_URL"
1559_ACEOF
1560
1561
1562# Let the site file select an alternate cache file if it wants to.
1563# Prefer an explicitly selected file to automatically selected ones.
1564ac_site_file1=NONE
1565ac_site_file2=NONE
1566if test -n "$CONFIG_SITE"; then
1567  # We do not want a PATH search for config.site.
1568  case $CONFIG_SITE in #((
1569    -*)  ac_site_file1=./$CONFIG_SITE;;
1570    */*) ac_site_file1=$CONFIG_SITE;;
1571    *)   ac_site_file1=./$CONFIG_SITE;;
1572  esac
1573elif test "x$prefix" != xNONE; then
1574  ac_site_file1=$prefix/share/config.site
1575  ac_site_file2=$prefix/etc/config.site
1576else
1577  ac_site_file1=$ac_default_prefix/share/config.site
1578  ac_site_file2=$ac_default_prefix/etc/config.site
1579fi
1580for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1581do
1582  test "x$ac_site_file" = xNONE && continue
1583  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1584    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1585$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1586    sed 's/^/| /' "$ac_site_file" >&5
1587    . "$ac_site_file" \
1588      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1589$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1590as_fn_error $? "failed to load site script $ac_site_file
1591See \`config.log' for more details" "$LINENO" 5; }
1592  fi
1593done
1594
1595if test -r "$cache_file"; then
1596  # Some versions of bash will fail to source /dev/null (special files
1597  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1598  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1599    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1600$as_echo "$as_me: loading cache $cache_file" >&6;}
1601    case $cache_file in
1602      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1603      *)                      . "./$cache_file";;
1604    esac
1605  fi
1606else
1607  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1608$as_echo "$as_me: creating cache $cache_file" >&6;}
1609  >$cache_file
1610fi
1611
1612# Check that the precious variables saved in the cache have kept the same
1613# value.
1614ac_cache_corrupted=false
1615for ac_var in $ac_precious_vars; do
1616  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1617  eval ac_new_set=\$ac_env_${ac_var}_set
1618  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1619  eval ac_new_val=\$ac_env_${ac_var}_value
1620  case $ac_old_set,$ac_new_set in
1621    set,)
1622      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1623$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1624      ac_cache_corrupted=: ;;
1625    ,set)
1626      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1627$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1628      ac_cache_corrupted=: ;;
1629    ,);;
1630    *)
1631      if test "x$ac_old_val" != "x$ac_new_val"; then
1632	# differences in whitespace do not lead to failure.
1633	ac_old_val_w=`echo x $ac_old_val`
1634	ac_new_val_w=`echo x $ac_new_val`
1635	if test "$ac_old_val_w" != "$ac_new_val_w"; then
1636	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1637$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1638	  ac_cache_corrupted=:
1639	else
1640	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1641$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1642	  eval $ac_var=\$ac_old_val
1643	fi
1644	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1645$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1646	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1647$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1648      fi;;
1649  esac
1650  # Pass precious variables to config.status.
1651  if test "$ac_new_set" = set; then
1652    case $ac_new_val in
1653    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1654    *) ac_arg=$ac_var=$ac_new_val ;;
1655    esac
1656    case " $ac_configure_args " in
1657      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1658      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1659    esac
1660  fi
1661done
1662if $ac_cache_corrupted; then
1663  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1664$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1665  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1666$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1667  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1668fi
1669## -------------------- ##
1670## Main body of script. ##
1671## -------------------- ##
1672
1673ac_ext=c
1674ac_cpp='$CPP $CPPFLAGS'
1675ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1676ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1677ac_compiler_gnu=$ac_cv_c_compiler_gnu
1678
1679
1680
1681am__api_version='1.11'
1682
1683ac_aux_dir=
1684for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1685  if test -f "$ac_dir/install-sh"; then
1686    ac_aux_dir=$ac_dir
1687    ac_install_sh="$ac_aux_dir/install-sh -c"
1688    break
1689  elif test -f "$ac_dir/install.sh"; then
1690    ac_aux_dir=$ac_dir
1691    ac_install_sh="$ac_aux_dir/install.sh -c"
1692    break
1693  elif test -f "$ac_dir/shtool"; then
1694    ac_aux_dir=$ac_dir
1695    ac_install_sh="$ac_aux_dir/shtool install -c"
1696    break
1697  fi
1698done
1699if test -z "$ac_aux_dir"; then
1700  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1701fi
1702
1703# These three variables are undocumented and unsupported,
1704# and are intended to be withdrawn in a future Autoconf release.
1705# They can cause serious problems if a builder's source tree is in a directory
1706# whose full name contains unusual characters.
1707ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1708ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1709ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1710
1711
1712# Find a good install program.  We prefer a C program (faster),
1713# so one script is as good as another.  But avoid the broken or
1714# incompatible versions:
1715# SysV /etc/install, /usr/sbin/install
1716# SunOS /usr/etc/install
1717# IRIX /sbin/install
1718# AIX /bin/install
1719# AmigaOS /C/install, which installs bootblocks on floppy discs
1720# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1721# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1722# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1723# OS/2's system install, which has a completely different semantic
1724# ./install, which can be erroneously created by make from ./install.sh.
1725# Reject install programs that cannot install multiple files.
1726{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1727$as_echo_n "checking for a BSD-compatible install... " >&6; }
1728if test -z "$INSTALL"; then
1729if ${ac_cv_path_install+:} false; then :
1730  $as_echo_n "(cached) " >&6
1731else
1732  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1733for as_dir in $PATH
1734do
1735  IFS=$as_save_IFS
1736  test -z "$as_dir" && as_dir=.
1737    # Account for people who put trailing slashes in PATH elements.
1738case $as_dir/ in #((
1739  ./ | .// | /[cC]/* | \
1740  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1741  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1742  /usr/ucb/* ) ;;
1743  *)
1744    # OSF1 and SCO ODT 3.0 have their own names for install.
1745    # Don't use installbsd from OSF since it installs stuff as root
1746    # by default.
1747    for ac_prog in ginstall scoinst install; do
1748      for ac_exec_ext in '' $ac_executable_extensions; do
1749	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1750	  if test $ac_prog = install &&
1751	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1752	    # AIX install.  It has an incompatible calling convention.
1753	    :
1754	  elif test $ac_prog = install &&
1755	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1756	    # program-specific install script used by HP pwplus--don't use.
1757	    :
1758	  else
1759	    rm -rf conftest.one conftest.two conftest.dir
1760	    echo one > conftest.one
1761	    echo two > conftest.two
1762	    mkdir conftest.dir
1763	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1764	      test -s conftest.one && test -s conftest.two &&
1765	      test -s conftest.dir/conftest.one &&
1766	      test -s conftest.dir/conftest.two
1767	    then
1768	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1769	      break 3
1770	    fi
1771	  fi
1772	fi
1773      done
1774    done
1775    ;;
1776esac
1777
1778  done
1779IFS=$as_save_IFS
1780
1781rm -rf conftest.one conftest.two conftest.dir
1782
1783fi
1784  if test "${ac_cv_path_install+set}" = set; then
1785    INSTALL=$ac_cv_path_install
1786  else
1787    # As a last resort, use the slow shell script.  Don't cache a
1788    # value for INSTALL within a source directory, because that will
1789    # break other packages using the cache if that directory is
1790    # removed, or if the value is a relative name.
1791    INSTALL=$ac_install_sh
1792  fi
1793fi
1794{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1795$as_echo "$INSTALL" >&6; }
1796
1797# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1798# It thinks the first close brace ends the variable substitution.
1799test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1800
1801test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1802
1803test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1804
1805{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1806$as_echo_n "checking whether build environment is sane... " >&6; }
1807# Just in case
1808sleep 1
1809echo timestamp > conftest.file
1810# Reject unsafe characters in $srcdir or the absolute working directory
1811# name.  Accept space and tab only in the latter.
1812am_lf='
1813'
1814case `pwd` in
1815  *[\\\"\#\$\&\'\`$am_lf]*)
1816    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
1817esac
1818case $srcdir in
1819  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
1820    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
1821esac
1822
1823# Do `set' in a subshell so we don't clobber the current shell's
1824# arguments.  Must try -L first in case configure is actually a
1825# symlink; some systems play weird games with the mod time of symlinks
1826# (eg FreeBSD returns the mod time of the symlink's containing
1827# directory).
1828if (
1829   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1830   if test "$*" = "X"; then
1831      # -L didn't work.
1832      set X `ls -t "$srcdir/configure" conftest.file`
1833   fi
1834   rm -f conftest.file
1835   if test "$*" != "X $srcdir/configure conftest.file" \
1836      && test "$*" != "X conftest.file $srcdir/configure"; then
1837
1838      # If neither matched, then we have a broken ls.  This can happen
1839      # if, for instance, CONFIG_SHELL is bash and it inherits a
1840      # broken ls alias from the environment.  This has actually
1841      # happened.  Such a system could not be considered "sane".
1842      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
1843alias in your environment" "$LINENO" 5
1844   fi
1845
1846   test "$2" = conftest.file
1847   )
1848then
1849   # Ok.
1850   :
1851else
1852   as_fn_error $? "newly created file is older than distributed files!
1853Check your system clock" "$LINENO" 5
1854fi
1855{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1856$as_echo "yes" >&6; }
1857test "$program_prefix" != NONE &&
1858  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1859# Use a double $ so make ignores it.
1860test "$program_suffix" != NONE &&
1861  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1862# Double any \ or $.
1863# By default was `s,x,x', remove it if useless.
1864ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1865program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1866
1867# expand $ac_aux_dir to an absolute path
1868am_aux_dir=`cd $ac_aux_dir && pwd`
1869
1870if test x"${MISSING+set}" != xset; then
1871  case $am_aux_dir in
1872  *\ * | *\	*)
1873    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1874  *)
1875    MISSING="\${SHELL} $am_aux_dir/missing" ;;
1876  esac
1877fi
1878# Use eval to expand $SHELL
1879if eval "$MISSING --run true"; then
1880  am_missing_run="$MISSING --run "
1881else
1882  am_missing_run=
1883  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
1884$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1885fi
1886
1887if test x"${install_sh}" != xset; then
1888  case $am_aux_dir in
1889  *\ * | *\	*)
1890    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
1891  *)
1892    install_sh="\${SHELL} $am_aux_dir/install-sh"
1893  esac
1894fi
1895
1896# Installed binaries are usually stripped using `strip' when the user
1897# run `make install-strip'.  However `strip' might not be the right
1898# tool to use in cross-compilation environments, therefore Automake
1899# will honor the `STRIP' environment variable to overrule this program.
1900if test "$cross_compiling" != no; then
1901  if test -n "$ac_tool_prefix"; then
1902  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1903set dummy ${ac_tool_prefix}strip; ac_word=$2
1904{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1905$as_echo_n "checking for $ac_word... " >&6; }
1906if ${ac_cv_prog_STRIP+:} false; then :
1907  $as_echo_n "(cached) " >&6
1908else
1909  if test -n "$STRIP"; then
1910  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1911else
1912as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1913for as_dir in $PATH
1914do
1915  IFS=$as_save_IFS
1916  test -z "$as_dir" && as_dir=.
1917    for ac_exec_ext in '' $ac_executable_extensions; do
1918  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1919    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1920    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1921    break 2
1922  fi
1923done
1924  done
1925IFS=$as_save_IFS
1926
1927fi
1928fi
1929STRIP=$ac_cv_prog_STRIP
1930if test -n "$STRIP"; then
1931  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
1932$as_echo "$STRIP" >&6; }
1933else
1934  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1935$as_echo "no" >&6; }
1936fi
1937
1938
1939fi
1940if test -z "$ac_cv_prog_STRIP"; then
1941  ac_ct_STRIP=$STRIP
1942  # Extract the first word of "strip", so it can be a program name with args.
1943set dummy strip; ac_word=$2
1944{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1945$as_echo_n "checking for $ac_word... " >&6; }
1946if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
1947  $as_echo_n "(cached) " >&6
1948else
1949  if test -n "$ac_ct_STRIP"; then
1950  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1951else
1952as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1953for as_dir in $PATH
1954do
1955  IFS=$as_save_IFS
1956  test -z "$as_dir" && as_dir=.
1957    for ac_exec_ext in '' $ac_executable_extensions; do
1958  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1959    ac_cv_prog_ac_ct_STRIP="strip"
1960    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1961    break 2
1962  fi
1963done
1964  done
1965IFS=$as_save_IFS
1966
1967fi
1968fi
1969ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1970if test -n "$ac_ct_STRIP"; then
1971  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
1972$as_echo "$ac_ct_STRIP" >&6; }
1973else
1974  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1975$as_echo "no" >&6; }
1976fi
1977
1978  if test "x$ac_ct_STRIP" = x; then
1979    STRIP=":"
1980  else
1981    case $cross_compiling:$ac_tool_warned in
1982yes:)
1983{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1984$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1985ac_tool_warned=yes ;;
1986esac
1987    STRIP=$ac_ct_STRIP
1988  fi
1989else
1990  STRIP="$ac_cv_prog_STRIP"
1991fi
1992
1993fi
1994INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1995
1996{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
1997$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
1998if test -z "$MKDIR_P"; then
1999  if ${ac_cv_path_mkdir+:} false; then :
2000  $as_echo_n "(cached) " >&6
2001else
2002  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2003for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2004do
2005  IFS=$as_save_IFS
2006  test -z "$as_dir" && as_dir=.
2007    for ac_prog in mkdir gmkdir; do
2008	 for ac_exec_ext in '' $ac_executable_extensions; do
2009	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2010	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2011	     'mkdir (GNU coreutils) '* | \
2012	     'mkdir (coreutils) '* | \
2013	     'mkdir (fileutils) '4.1*)
2014	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2015	       break 3;;
2016	   esac
2017	 done
2018       done
2019  done
2020IFS=$as_save_IFS
2021
2022fi
2023
2024  test -d ./--version && rmdir ./--version
2025  if test "${ac_cv_path_mkdir+set}" = set; then
2026    MKDIR_P="$ac_cv_path_mkdir -p"
2027  else
2028    # As a last resort, use the slow shell script.  Don't cache a
2029    # value for MKDIR_P within a source directory, because that will
2030    # break other packages using the cache if that directory is
2031    # removed, or if the value is a relative name.
2032    MKDIR_P="$ac_install_sh -d"
2033  fi
2034fi
2035{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2036$as_echo "$MKDIR_P" >&6; }
2037
2038mkdir_p="$MKDIR_P"
2039case $mkdir_p in
2040  [\\/$]* | ?:[\\/]*) ;;
2041  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2042esac
2043
2044for ac_prog in gawk mawk nawk awk
2045do
2046  # Extract the first word of "$ac_prog", so it can be a program name with args.
2047set dummy $ac_prog; ac_word=$2
2048{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2049$as_echo_n "checking for $ac_word... " >&6; }
2050if ${ac_cv_prog_AWK+:} false; then :
2051  $as_echo_n "(cached) " >&6
2052else
2053  if test -n "$AWK"; then
2054  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2055else
2056as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2057for as_dir in $PATH
2058do
2059  IFS=$as_save_IFS
2060  test -z "$as_dir" && as_dir=.
2061    for ac_exec_ext in '' $ac_executable_extensions; do
2062  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2063    ac_cv_prog_AWK="$ac_prog"
2064    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2065    break 2
2066  fi
2067done
2068  done
2069IFS=$as_save_IFS
2070
2071fi
2072fi
2073AWK=$ac_cv_prog_AWK
2074if test -n "$AWK"; then
2075  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2076$as_echo "$AWK" >&6; }
2077else
2078  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2079$as_echo "no" >&6; }
2080fi
2081
2082
2083  test -n "$AWK" && break
2084done
2085
2086{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2087$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2088set x ${MAKE-make}
2089ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2090if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2091  $as_echo_n "(cached) " >&6
2092else
2093  cat >conftest.make <<\_ACEOF
2094SHELL = /bin/sh
2095all:
2096	@echo '@@@%%%=$(MAKE)=@@@%%%'
2097_ACEOF
2098# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2099case `${MAKE-make} -f conftest.make 2>/dev/null` in
2100  *@@@%%%=?*=@@@%%%*)
2101    eval ac_cv_prog_make_${ac_make}_set=yes;;
2102  *)
2103    eval ac_cv_prog_make_${ac_make}_set=no;;
2104esac
2105rm -f conftest.make
2106fi
2107if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2108  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2109$as_echo "yes" >&6; }
2110  SET_MAKE=
2111else
2112  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2113$as_echo "no" >&6; }
2114  SET_MAKE="MAKE=${MAKE-make}"
2115fi
2116
2117rm -rf .tst 2>/dev/null
2118mkdir .tst 2>/dev/null
2119if test -d .tst; then
2120  am__leading_dot=.
2121else
2122  am__leading_dot=_
2123fi
2124rmdir .tst 2>/dev/null
2125
2126if test "`cd $srcdir && pwd`" != "`pwd`"; then
2127  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2128  # is not polluted with repeated "-I."
2129  am__isrc=' -I$(srcdir)'
2130  # test to see if srcdir already configured
2131  if test -f $srcdir/config.status; then
2132    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2133  fi
2134fi
2135
2136# test whether we have cygpath
2137if test -z "$CYGPATH_W"; then
2138  if (cygpath --version) >/dev/null 2>/dev/null; then
2139    CYGPATH_W='cygpath -w'
2140  else
2141    CYGPATH_W=echo
2142  fi
2143fi
2144
2145
2146# Define the identity of the package.
2147 PACKAGE='util-macros'
2148 VERSION='1.18.0'
2149
2150
2151cat >>confdefs.h <<_ACEOF
2152#define PACKAGE "$PACKAGE"
2153_ACEOF
2154
2155
2156cat >>confdefs.h <<_ACEOF
2157#define VERSION "$VERSION"
2158_ACEOF
2159
2160# Some tools Automake needs.
2161
2162ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2163
2164
2165AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2166
2167
2168AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2169
2170
2171AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2172
2173
2174MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2175
2176# We need awk for the "check" target.  The system "awk" is bad on
2177# some platforms.
2178# Always define AMTAR for backward compatibility.  Yes, it's still used
2179# in the wild :-(  We should find a proper way to deprecate it ...
2180AMTAR='$${TAR-tar}'
2181
2182am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2183
2184
2185
2186
2187
2188
2189# Checks for programs.
2190
2191
2192# This is the package that installs xorgversion.m4 as part of xorg-macros.m4.
2193# In order to use xorgversion.m4 here, we include it explicitly.
2194
2195# XORG_RELEASE_VERSION
2196# --------------------
2197# Defines PACKAGE_VERSION_{MAJOR,MINOR,PATCHLEVEL} for modules to use.
2198
2199
2200
2201# XORG_CHANGELOG()
2202# ----------------
2203# Minimum version: 1.2.0
2204#
2205# Defines the variable CHANGELOG_CMD as the command to generate
2206# ChangeLog from git.
2207#
2208#
2209 # XORG_CHANGELOG
2210
2211
2212
2213
2214cat >>confdefs.h <<_ACEOF
2215#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
2216_ACEOF
2217
2218	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
2219	if test "x$PVM" = "x"; then
2220		PVM="0"
2221	fi
2222
2223cat >>confdefs.h <<_ACEOF
2224#define PACKAGE_VERSION_MINOR $PVM
2225_ACEOF
2226
2227	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
2228	if test "x$PVP" = "x"; then
2229		PVP="0"
2230	fi
2231
2232cat >>confdefs.h <<_ACEOF
2233#define PACKAGE_VERSION_PATCHLEVEL $PVP
2234_ACEOF
2235
2236
2237
2238CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
2239mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
2240|| (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
2241echo 'git directory not found: installing possibly empty changelog.' >&2)"
2242
2243
2244
2245ac_config_files="$ac_config_files xorg-macros.pc Makefile xorg-macros.m4:xorg-macros.m4.in:xorgversion.m4"
2246
2247cat >confcache <<\_ACEOF
2248# This file is a shell script that caches the results of configure
2249# tests run on this system so they can be shared between configure
2250# scripts and configure runs, see configure's option --config-cache.
2251# It is not useful on other systems.  If it contains results you don't
2252# want to keep, you may remove or edit it.
2253#
2254# config.status only pays attention to the cache file if you give it
2255# the --recheck option to rerun configure.
2256#
2257# `ac_cv_env_foo' variables (set or unset) will be overridden when
2258# loading this file, other *unset* `ac_cv_foo' will be assigned the
2259# following values.
2260
2261_ACEOF
2262
2263# The following way of writing the cache mishandles newlines in values,
2264# but we know of no workaround that is simple, portable, and efficient.
2265# So, we kill variables containing newlines.
2266# Ultrix sh set writes to stderr and can't be redirected directly,
2267# and sets the high bit in the cache file unless we assign to the vars.
2268(
2269  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2270    eval ac_val=\$$ac_var
2271    case $ac_val in #(
2272    *${as_nl}*)
2273      case $ac_var in #(
2274      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2275$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2276      esac
2277      case $ac_var in #(
2278      _ | IFS | as_nl) ;; #(
2279      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2280      *) { eval $ac_var=; unset $ac_var;} ;;
2281      esac ;;
2282    esac
2283  done
2284
2285  (set) 2>&1 |
2286    case $as_nl`(ac_space=' '; set) 2>&1` in #(
2287    *${as_nl}ac_space=\ *)
2288      # `set' does not quote correctly, so add quotes: double-quote
2289      # substitution turns \\\\ into \\, and sed turns \\ into \.
2290      sed -n \
2291	"s/'/'\\\\''/g;
2292	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2293      ;; #(
2294    *)
2295      # `set' quotes correctly as required by POSIX, so do not add quotes.
2296      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2297      ;;
2298    esac |
2299    sort
2300) |
2301  sed '
2302     /^ac_cv_env_/b end
2303     t clear
2304     :clear
2305     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2306     t end
2307     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2308     :end' >>confcache
2309if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2310  if test -w "$cache_file"; then
2311    if test "x$cache_file" != "x/dev/null"; then
2312      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2313$as_echo "$as_me: updating cache $cache_file" >&6;}
2314      if test ! -f "$cache_file" || test -h "$cache_file"; then
2315	cat confcache >"$cache_file"
2316      else
2317        case $cache_file in #(
2318        */* | ?:*)
2319	  mv -f confcache "$cache_file"$$ &&
2320	  mv -f "$cache_file"$$ "$cache_file" ;; #(
2321        *)
2322	  mv -f confcache "$cache_file" ;;
2323	esac
2324      fi
2325    fi
2326  else
2327    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2328$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2329  fi
2330fi
2331rm -f confcache
2332
2333test "x$prefix" = xNONE && prefix=$ac_default_prefix
2334# Let make expand exec_prefix.
2335test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2336
2337# Transform confdefs.h into DEFS.
2338# Protect against shell expansion while executing Makefile rules.
2339# Protect against Makefile macro expansion.
2340#
2341# If the first sed substitution is executed (which looks for macros that
2342# take arguments), then branch to the quote section.  Otherwise,
2343# look for a macro that doesn't take arguments.
2344ac_script='
2345:mline
2346/\\$/{
2347 N
2348 s,\\\n,,
2349 b mline
2350}
2351t clear
2352:clear
2353s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
2354t quote
2355s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
2356t quote
2357b any
2358:quote
2359s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2360s/\[/\\&/g
2361s/\]/\\&/g
2362s/\$/$$/g
2363H
2364:any
2365${
2366	g
2367	s/^\n//
2368	s/\n/ /g
2369	p
2370}
2371'
2372DEFS=`sed -n "$ac_script" confdefs.h`
2373
2374
2375ac_libobjs=
2376ac_ltlibobjs=
2377U=
2378for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2379  # 1. Remove the extension, and $U if already installed.
2380  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2381  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2382  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
2383  #    will be set to the directory where LIBOBJS objects are built.
2384  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2385  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2386done
2387LIBOBJS=$ac_libobjs
2388
2389LTLIBOBJS=$ac_ltlibobjs
2390
2391
2392
2393
2394: "${CONFIG_STATUS=./config.status}"
2395ac_write_fail=0
2396ac_clean_files_save=$ac_clean_files
2397ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2398{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2399$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2400as_write_fail=0
2401cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2402#! $SHELL
2403# Generated by $as_me.
2404# Run this file to recreate the current configuration.
2405# Compiler output produced by configure, useful for debugging
2406# configure, is in config.log if it exists.
2407
2408debug=false
2409ac_cs_recheck=false
2410ac_cs_silent=false
2411
2412SHELL=\${CONFIG_SHELL-$SHELL}
2413export SHELL
2414_ASEOF
2415cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2416## -------------------- ##
2417## M4sh Initialization. ##
2418## -------------------- ##
2419
2420# Be more Bourne compatible
2421DUALCASE=1; export DUALCASE # for MKS sh
2422if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2423  emulate sh
2424  NULLCMD=:
2425  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2426  # is contrary to our usage.  Disable this feature.
2427  alias -g '${1+"$@"}'='"$@"'
2428  setopt NO_GLOB_SUBST
2429else
2430  case `(set -o) 2>/dev/null` in #(
2431  *posix*) :
2432    set -o posix ;; #(
2433  *) :
2434     ;;
2435esac
2436fi
2437
2438
2439as_nl='
2440'
2441export as_nl
2442# Printing a long string crashes Solaris 7 /usr/bin/printf.
2443as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2444as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2445as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2446# Prefer a ksh shell builtin over an external printf program on Solaris,
2447# but without wasting forks for bash or zsh.
2448if test -z "$BASH_VERSION$ZSH_VERSION" \
2449    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2450  as_echo='print -r --'
2451  as_echo_n='print -rn --'
2452elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2453  as_echo='printf %s\n'
2454  as_echo_n='printf %s'
2455else
2456  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2457    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2458    as_echo_n='/usr/ucb/echo -n'
2459  else
2460    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2461    as_echo_n_body='eval
2462      arg=$1;
2463      case $arg in #(
2464      *"$as_nl"*)
2465	expr "X$arg" : "X\\(.*\\)$as_nl";
2466	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2467      esac;
2468      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2469    '
2470    export as_echo_n_body
2471    as_echo_n='sh -c $as_echo_n_body as_echo'
2472  fi
2473  export as_echo_body
2474  as_echo='sh -c $as_echo_body as_echo'
2475fi
2476
2477# The user is always right.
2478if test "${PATH_SEPARATOR+set}" != set; then
2479  PATH_SEPARATOR=:
2480  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2481    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2482      PATH_SEPARATOR=';'
2483  }
2484fi
2485
2486
2487# IFS
2488# We need space, tab and new line, in precisely that order.  Quoting is
2489# there to prevent editors from complaining about space-tab.
2490# (If _AS_PATH_WALK were called with IFS unset, it would disable word
2491# splitting by setting IFS to empty value.)
2492IFS=" ""	$as_nl"
2493
2494# Find who we are.  Look in the path if we contain no directory separator.
2495as_myself=
2496case $0 in #((
2497  *[\\/]* ) as_myself=$0 ;;
2498  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2499for as_dir in $PATH
2500do
2501  IFS=$as_save_IFS
2502  test -z "$as_dir" && as_dir=.
2503    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2504  done
2505IFS=$as_save_IFS
2506
2507     ;;
2508esac
2509# We did not find ourselves, most probably we were run as `sh COMMAND'
2510# in which case we are not to be found in the path.
2511if test "x$as_myself" = x; then
2512  as_myself=$0
2513fi
2514if test ! -f "$as_myself"; then
2515  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2516  exit 1
2517fi
2518
2519# Unset variables that we do not need and which cause bugs (e.g. in
2520# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
2521# suppresses any "Segmentation fault" message there.  '((' could
2522# trigger a bug in pdksh 5.2.14.
2523for as_var in BASH_ENV ENV MAIL MAILPATH
2524do eval test x\${$as_var+set} = xset \
2525  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2526done
2527PS1='$ '
2528PS2='> '
2529PS4='+ '
2530
2531# NLS nuisances.
2532LC_ALL=C
2533export LC_ALL
2534LANGUAGE=C
2535export LANGUAGE
2536
2537# CDPATH.
2538(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2539
2540
2541# as_fn_error STATUS ERROR [LINENO LOG_FD]
2542# ----------------------------------------
2543# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2544# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2545# script with STATUS, using 1 if that was 0.
2546as_fn_error ()
2547{
2548  as_status=$1; test $as_status -eq 0 && as_status=1
2549  if test "$4"; then
2550    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2551    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
2552  fi
2553  $as_echo "$as_me: error: $2" >&2
2554  as_fn_exit $as_status
2555} # as_fn_error
2556
2557
2558# as_fn_set_status STATUS
2559# -----------------------
2560# Set $? to STATUS, without forking.
2561as_fn_set_status ()
2562{
2563  return $1
2564} # as_fn_set_status
2565
2566# as_fn_exit STATUS
2567# -----------------
2568# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2569as_fn_exit ()
2570{
2571  set +e
2572  as_fn_set_status $1
2573  exit $1
2574} # as_fn_exit
2575
2576# as_fn_unset VAR
2577# ---------------
2578# Portably unset VAR.
2579as_fn_unset ()
2580{
2581  { eval $1=; unset $1;}
2582}
2583as_unset=as_fn_unset
2584# as_fn_append VAR VALUE
2585# ----------------------
2586# Append the text in VALUE to the end of the definition contained in VAR. Take
2587# advantage of any shell optimizations that allow amortized linear growth over
2588# repeated appends, instead of the typical quadratic growth present in naive
2589# implementations.
2590if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2591  eval 'as_fn_append ()
2592  {
2593    eval $1+=\$2
2594  }'
2595else
2596  as_fn_append ()
2597  {
2598    eval $1=\$$1\$2
2599  }
2600fi # as_fn_append
2601
2602# as_fn_arith ARG...
2603# ------------------
2604# Perform arithmetic evaluation on the ARGs, and store the result in the
2605# global $as_val. Take advantage of shells that can avoid forks. The arguments
2606# must be portable across $(()) and expr.
2607if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
2608  eval 'as_fn_arith ()
2609  {
2610    as_val=$(( $* ))
2611  }'
2612else
2613  as_fn_arith ()
2614  {
2615    as_val=`expr "$@" || test $? -eq 1`
2616  }
2617fi # as_fn_arith
2618
2619
2620if expr a : '\(a\)' >/dev/null 2>&1 &&
2621   test "X`expr 00001 : '.*\(...\)'`" = X001; then
2622  as_expr=expr
2623else
2624  as_expr=false
2625fi
2626
2627if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2628  as_basename=basename
2629else
2630  as_basename=false
2631fi
2632
2633if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2634  as_dirname=dirname
2635else
2636  as_dirname=false
2637fi
2638
2639as_me=`$as_basename -- "$0" ||
2640$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2641	 X"$0" : 'X\(//\)$' \| \
2642	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2643$as_echo X/"$0" |
2644    sed '/^.*\/\([^/][^/]*\)\/*$/{
2645	    s//\1/
2646	    q
2647	  }
2648	  /^X\/\(\/\/\)$/{
2649	    s//\1/
2650	    q
2651	  }
2652	  /^X\/\(\/\).*/{
2653	    s//\1/
2654	    q
2655	  }
2656	  s/.*/./; q'`
2657
2658# Avoid depending upon Character Ranges.
2659as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2660as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2661as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2662as_cr_digits='0123456789'
2663as_cr_alnum=$as_cr_Letters$as_cr_digits
2664
2665ECHO_C= ECHO_N= ECHO_T=
2666case `echo -n x` in #(((((
2667-n*)
2668  case `echo 'xy\c'` in
2669  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
2670  xy)  ECHO_C='\c';;
2671  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
2672       ECHO_T='	';;
2673  esac;;
2674*)
2675  ECHO_N='-n';;
2676esac
2677
2678rm -f conf$$ conf$$.exe conf$$.file
2679if test -d conf$$.dir; then
2680  rm -f conf$$.dir/conf$$.file
2681else
2682  rm -f conf$$.dir
2683  mkdir conf$$.dir 2>/dev/null
2684fi
2685if (echo >conf$$.file) 2>/dev/null; then
2686  if ln -s conf$$.file conf$$ 2>/dev/null; then
2687    as_ln_s='ln -s'
2688    # ... but there are two gotchas:
2689    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2690    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2691    # In both cases, we have to default to `cp -p'.
2692    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2693      as_ln_s='cp -p'
2694  elif ln conf$$.file conf$$ 2>/dev/null; then
2695    as_ln_s=ln
2696  else
2697    as_ln_s='cp -p'
2698  fi
2699else
2700  as_ln_s='cp -p'
2701fi
2702rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2703rmdir conf$$.dir 2>/dev/null
2704
2705
2706# as_fn_mkdir_p
2707# -------------
2708# Create "$as_dir" as a directory, including parents if necessary.
2709as_fn_mkdir_p ()
2710{
2711
2712  case $as_dir in #(
2713  -*) as_dir=./$as_dir;;
2714  esac
2715  test -d "$as_dir" || eval $as_mkdir_p || {
2716    as_dirs=
2717    while :; do
2718      case $as_dir in #(
2719      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2720      *) as_qdir=$as_dir;;
2721      esac
2722      as_dirs="'$as_qdir' $as_dirs"
2723      as_dir=`$as_dirname -- "$as_dir" ||
2724$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2725	 X"$as_dir" : 'X\(//\)[^/]' \| \
2726	 X"$as_dir" : 'X\(//\)$' \| \
2727	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2728$as_echo X"$as_dir" |
2729    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2730	    s//\1/
2731	    q
2732	  }
2733	  /^X\(\/\/\)[^/].*/{
2734	    s//\1/
2735	    q
2736	  }
2737	  /^X\(\/\/\)$/{
2738	    s//\1/
2739	    q
2740	  }
2741	  /^X\(\/\).*/{
2742	    s//\1/
2743	    q
2744	  }
2745	  s/.*/./; q'`
2746      test -d "$as_dir" && break
2747    done
2748    test -z "$as_dirs" || eval "mkdir $as_dirs"
2749  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
2750
2751
2752} # as_fn_mkdir_p
2753if mkdir -p . 2>/dev/null; then
2754  as_mkdir_p='mkdir -p "$as_dir"'
2755else
2756  test -d ./-p && rmdir ./-p
2757  as_mkdir_p=false
2758fi
2759
2760if test -x / >/dev/null 2>&1; then
2761  as_test_x='test -x'
2762else
2763  if ls -dL / >/dev/null 2>&1; then
2764    as_ls_L_option=L
2765  else
2766    as_ls_L_option=
2767  fi
2768  as_test_x='
2769    eval sh -c '\''
2770      if test -d "$1"; then
2771	test -d "$1/.";
2772      else
2773	case $1 in #(
2774	-*)set "./$1";;
2775	esac;
2776	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
2777	???[sx]*):;;*)false;;esac;fi
2778    '\'' sh
2779  '
2780fi
2781as_executable_p=$as_test_x
2782
2783# Sed expression to map a string onto a valid CPP name.
2784as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2785
2786# Sed expression to map a string onto a valid variable name.
2787as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2788
2789
2790exec 6>&1
2791## ----------------------------------- ##
2792## Main body of $CONFIG_STATUS script. ##
2793## ----------------------------------- ##
2794_ASEOF
2795test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
2796
2797cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2798# Save the log message, to keep $0 and so on meaningful, and to
2799# report actual input values of CONFIG_FILES etc. instead of their
2800# values after options handling.
2801ac_log="
2802This file was extended by util-macros $as_me 1.18.0, which was
2803generated by GNU Autoconf 2.68.  Invocation command line was
2804
2805  CONFIG_FILES    = $CONFIG_FILES
2806  CONFIG_HEADERS  = $CONFIG_HEADERS
2807  CONFIG_LINKS    = $CONFIG_LINKS
2808  CONFIG_COMMANDS = $CONFIG_COMMANDS
2809  $ $0 $@
2810
2811on `(hostname || uname -n) 2>/dev/null | sed 1q`
2812"
2813
2814_ACEOF
2815
2816case $ac_config_files in *"
2817"*) set x $ac_config_files; shift; ac_config_files=$*;;
2818esac
2819
2820
2821
2822cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2823# Files that config.status was made for.
2824config_files="$ac_config_files"
2825
2826_ACEOF
2827
2828cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2829ac_cs_usage="\
2830\`$as_me' instantiates files and other configuration actions
2831from templates according to the current configuration.  Unless the files
2832and actions are specified as TAGs, all are instantiated by default.
2833
2834Usage: $0 [OPTION]... [TAG]...
2835
2836  -h, --help       print this help, then exit
2837  -V, --version    print version number and configuration settings, then exit
2838      --config     print configuration, then exit
2839  -q, --quiet, --silent
2840                   do not print progress messages
2841  -d, --debug      don't remove temporary files
2842      --recheck    update $as_me by reconfiguring in the same conditions
2843      --file=FILE[:TEMPLATE]
2844                   instantiate the configuration file FILE
2845
2846Configuration files:
2847$config_files
2848
2849Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
2850
2851_ACEOF
2852cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2853ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
2854ac_cs_version="\\
2855util-macros config.status 1.18.0
2856configured by $0, generated by GNU Autoconf 2.68,
2857  with options \\"\$ac_cs_config\\"
2858
2859Copyright (C) 2010 Free Software Foundation, Inc.
2860This config.status script is free software; the Free Software Foundation
2861gives unlimited permission to copy, distribute and modify it."
2862
2863ac_pwd='$ac_pwd'
2864srcdir='$srcdir'
2865INSTALL='$INSTALL'
2866MKDIR_P='$MKDIR_P'
2867AWK='$AWK'
2868test -n "\$AWK" || AWK=awk
2869_ACEOF
2870
2871cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2872# The default lists apply if the user does not specify any file.
2873ac_need_defaults=:
2874while test $# != 0
2875do
2876  case $1 in
2877  --*=?*)
2878    ac_option=`expr "X$1" : 'X\([^=]*\)='`
2879    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2880    ac_shift=:
2881    ;;
2882  --*=)
2883    ac_option=`expr "X$1" : 'X\([^=]*\)='`
2884    ac_optarg=
2885    ac_shift=:
2886    ;;
2887  *)
2888    ac_option=$1
2889    ac_optarg=$2
2890    ac_shift=shift
2891    ;;
2892  esac
2893
2894  case $ac_option in
2895  # Handling of the options.
2896  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2897    ac_cs_recheck=: ;;
2898  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2899    $as_echo "$ac_cs_version"; exit ;;
2900  --config | --confi | --conf | --con | --co | --c )
2901    $as_echo "$ac_cs_config"; exit ;;
2902  --debug | --debu | --deb | --de | --d | -d )
2903    debug=: ;;
2904  --file | --fil | --fi | --f )
2905    $ac_shift
2906    case $ac_optarg in
2907    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
2908    '') as_fn_error $? "missing file argument" ;;
2909    esac
2910    as_fn_append CONFIG_FILES " '$ac_optarg'"
2911    ac_need_defaults=false;;
2912  --he | --h |  --help | --hel | -h )
2913    $as_echo "$ac_cs_usage"; exit ;;
2914  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2915  | -silent | --silent | --silen | --sile | --sil | --si | --s)
2916    ac_cs_silent=: ;;
2917
2918  # This is an error.
2919  -*) as_fn_error $? "unrecognized option: \`$1'
2920Try \`$0 --help' for more information." ;;
2921
2922  *) as_fn_append ac_config_targets " $1"
2923     ac_need_defaults=false ;;
2924
2925  esac
2926  shift
2927done
2928
2929ac_configure_extra_args=
2930
2931if $ac_cs_silent; then
2932  exec 6>/dev/null
2933  ac_configure_extra_args="$ac_configure_extra_args --silent"
2934fi
2935
2936_ACEOF
2937cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2938if \$ac_cs_recheck; then
2939  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2940  shift
2941  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
2942  CONFIG_SHELL='$SHELL'
2943  export CONFIG_SHELL
2944  exec "\$@"
2945fi
2946
2947_ACEOF
2948cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2949exec 5>>config.log
2950{
2951  echo
2952  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2953## Running $as_me. ##
2954_ASBOX
2955  $as_echo "$ac_log"
2956} >&5
2957
2958_ACEOF
2959cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2960_ACEOF
2961
2962cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2963
2964# Handling of arguments.
2965for ac_config_target in $ac_config_targets
2966do
2967  case $ac_config_target in
2968    "xorg-macros.pc") CONFIG_FILES="$CONFIG_FILES xorg-macros.pc" ;;
2969    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2970    "xorg-macros.m4") CONFIG_FILES="$CONFIG_FILES xorg-macros.m4:xorg-macros.m4.in:xorgversion.m4" ;;
2971
2972  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
2973  esac
2974done
2975
2976
2977# If the user did not use the arguments to specify the items to instantiate,
2978# then the envvar interface is used.  Set only those that are not.
2979# We use the long form for the default assignment because of an extremely
2980# bizarre bug on SunOS 4.1.3.
2981if $ac_need_defaults; then
2982  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2983fi
2984
2985# Have a temporary directory for convenience.  Make it in the build tree
2986# simply because there is no reason against having it here, and in addition,
2987# creating and moving files from /tmp can sometimes cause problems.
2988# Hook for its removal unless debugging.
2989# Note that there is a small window in which the directory will not be cleaned:
2990# after its creation but before its name has been assigned to `$tmp'.
2991$debug ||
2992{
2993  tmp= ac_tmp=
2994  trap 'exit_status=$?
2995  : "${ac_tmp:=$tmp}"
2996  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
2997' 0
2998  trap 'as_fn_exit 1' 1 2 13 15
2999}
3000# Create a (secure) tmp directory for tmp files.
3001
3002{
3003  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3004  test -d "$tmp"
3005}  ||
3006{
3007  tmp=./conf$$-$RANDOM
3008  (umask 077 && mkdir "$tmp")
3009} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3010ac_tmp=$tmp
3011
3012# Set up the scripts for CONFIG_FILES section.
3013# No need to generate them if there are no CONFIG_FILES.
3014# This happens for instance with `./config.status config.h'.
3015if test -n "$CONFIG_FILES"; then
3016
3017
3018ac_cr=`echo X | tr X '\015'`
3019# On cygwin, bash can eat \r inside `` if the user requested igncr.
3020# But we know of no other shell where ac_cr would be empty at this
3021# point, so we can use a bashism as a fallback.
3022if test "x$ac_cr" = x; then
3023  eval ac_cr=\$\'\\r\'
3024fi
3025ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3026if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3027  ac_cs_awk_cr='\\r'
3028else
3029  ac_cs_awk_cr=$ac_cr
3030fi
3031
3032echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3033_ACEOF
3034
3035
3036{
3037  echo "cat >conf$$subs.awk <<_ACEOF" &&
3038  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3039  echo "_ACEOF"
3040} >conf$$subs.sh ||
3041  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3042ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3043ac_delim='%!_!# '
3044for ac_last_try in false false false false false :; do
3045  . ./conf$$subs.sh ||
3046    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3047
3048  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3049  if test $ac_delim_n = $ac_delim_num; then
3050    break
3051  elif $ac_last_try; then
3052    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3053  else
3054    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3055  fi
3056done
3057rm -f conf$$subs.sh
3058
3059cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3060cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3061_ACEOF
3062sed -n '
3063h
3064s/^/S["/; s/!.*/"]=/
3065p
3066g
3067s/^[^!]*!//
3068:repl
3069t repl
3070s/'"$ac_delim"'$//
3071t delim
3072:nl
3073h
3074s/\(.\{148\}\)..*/\1/
3075t more1
3076s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3077p
3078n
3079b repl
3080:more1
3081s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3082p
3083g
3084s/.\{148\}//
3085t nl
3086:delim
3087h
3088s/\(.\{148\}\)..*/\1/
3089t more2
3090s/["\\]/\\&/g; s/^/"/; s/$/"/
3091p
3092b
3093:more2
3094s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3095p
3096g
3097s/.\{148\}//
3098t delim
3099' <conf$$subs.awk | sed '
3100/^[^""]/{
3101  N
3102  s/\n//
3103}
3104' >>$CONFIG_STATUS || ac_write_fail=1
3105rm -f conf$$subs.awk
3106cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3107_ACAWK
3108cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3109  for (key in S) S_is_set[key] = 1
3110  FS = ""
3111
3112}
3113{
3114  line = $ 0
3115  nfields = split(line, field, "@")
3116  substed = 0
3117  len = length(field[1])
3118  for (i = 2; i < nfields; i++) {
3119    key = field[i]
3120    keylen = length(key)
3121    if (S_is_set[key]) {
3122      value = S[key]
3123      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3124      len += length(value) + length(field[++i])
3125      substed = 1
3126    } else
3127      len += 1 + keylen
3128  }
3129
3130  print line
3131}
3132
3133_ACAWK
3134_ACEOF
3135cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3136if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3137  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3138else
3139  cat
3140fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3141  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3142_ACEOF
3143
3144# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3145# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3146# trailing colons and then remove the whole line if VPATH becomes empty
3147# (actually we leave an empty line to preserve line numbers).
3148if test "x$srcdir" = x.; then
3149  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
3150h
3151s///
3152s/^/:/
3153s/[	 ]*$/:/
3154s/:\$(srcdir):/:/g
3155s/:\${srcdir}:/:/g
3156s/:@srcdir@:/:/g
3157s/^:*//
3158s/:*$//
3159x
3160s/\(=[	 ]*\).*/\1/
3161G
3162s/\n//
3163s/^[^=]*=[	 ]*$//
3164}'
3165fi
3166
3167cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3168fi # test -n "$CONFIG_FILES"
3169
3170
3171eval set X "  :F $CONFIG_FILES      "
3172shift
3173for ac_tag
3174do
3175  case $ac_tag in
3176  :[FHLC]) ac_mode=$ac_tag; continue;;
3177  esac
3178  case $ac_mode$ac_tag in
3179  :[FHL]*:*);;
3180  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3181  :[FH]-) ac_tag=-:-;;
3182  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3183  esac
3184  ac_save_IFS=$IFS
3185  IFS=:
3186  set x $ac_tag
3187  IFS=$ac_save_IFS
3188  shift
3189  ac_file=$1
3190  shift
3191
3192  case $ac_mode in
3193  :L) ac_source=$1;;
3194  :[FH])
3195    ac_file_inputs=
3196    for ac_f
3197    do
3198      case $ac_f in
3199      -) ac_f="$ac_tmp/stdin";;
3200      *) # Look for the file first in the build tree, then in the source tree
3201	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
3202	 # because $ac_f cannot contain `:'.
3203	 test -f "$ac_f" ||
3204	   case $ac_f in
3205	   [\\/$]*) false;;
3206	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3207	   esac ||
3208	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3209      esac
3210      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3211      as_fn_append ac_file_inputs " '$ac_f'"
3212    done
3213
3214    # Let's still pretend it is `configure' which instantiates (i.e., don't
3215    # use $as_me), people would be surprised to read:
3216    #    /* config.h.  Generated by config.status.  */
3217    configure_input='Generated from '`
3218	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3219	`' by configure.'
3220    if test x"$ac_file" != x-; then
3221      configure_input="$ac_file.  $configure_input"
3222      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3223$as_echo "$as_me: creating $ac_file" >&6;}
3224    fi
3225    # Neutralize special characters interpreted by sed in replacement strings.
3226    case $configure_input in #(
3227    *\&* | *\|* | *\\* )
3228       ac_sed_conf_input=`$as_echo "$configure_input" |
3229       sed 's/[\\\\&|]/\\\\&/g'`;; #(
3230    *) ac_sed_conf_input=$configure_input;;
3231    esac
3232
3233    case $ac_tag in
3234    *:-:* | *:-) cat >"$ac_tmp/stdin" \
3235      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3236    esac
3237    ;;
3238  esac
3239
3240  ac_dir=`$as_dirname -- "$ac_file" ||
3241$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3242	 X"$ac_file" : 'X\(//\)[^/]' \| \
3243	 X"$ac_file" : 'X\(//\)$' \| \
3244	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3245$as_echo X"$ac_file" |
3246    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3247	    s//\1/
3248	    q
3249	  }
3250	  /^X\(\/\/\)[^/].*/{
3251	    s//\1/
3252	    q
3253	  }
3254	  /^X\(\/\/\)$/{
3255	    s//\1/
3256	    q
3257	  }
3258	  /^X\(\/\).*/{
3259	    s//\1/
3260	    q
3261	  }
3262	  s/.*/./; q'`
3263  as_dir="$ac_dir"; as_fn_mkdir_p
3264  ac_builddir=.
3265
3266case "$ac_dir" in
3267.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3268*)
3269  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3270  # A ".." for each directory in $ac_dir_suffix.
3271  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3272  case $ac_top_builddir_sub in
3273  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3274  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3275  esac ;;
3276esac
3277ac_abs_top_builddir=$ac_pwd
3278ac_abs_builddir=$ac_pwd$ac_dir_suffix
3279# for backward compatibility:
3280ac_top_builddir=$ac_top_build_prefix
3281
3282case $srcdir in
3283  .)  # We are building in place.
3284    ac_srcdir=.
3285    ac_top_srcdir=$ac_top_builddir_sub
3286    ac_abs_top_srcdir=$ac_pwd ;;
3287  [\\/]* | ?:[\\/]* )  # Absolute name.
3288    ac_srcdir=$srcdir$ac_dir_suffix;
3289    ac_top_srcdir=$srcdir
3290    ac_abs_top_srcdir=$srcdir ;;
3291  *) # Relative name.
3292    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3293    ac_top_srcdir=$ac_top_build_prefix$srcdir
3294    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3295esac
3296ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3297
3298
3299  case $ac_mode in
3300  :F)
3301  #
3302  # CONFIG_FILE
3303  #
3304
3305  case $INSTALL in
3306  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3307  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3308  esac
3309  ac_MKDIR_P=$MKDIR_P
3310  case $MKDIR_P in
3311  [\\/$]* | ?:[\\/]* ) ;;
3312  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3313  esac
3314_ACEOF
3315
3316cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3317# If the template does not know about datarootdir, expand it.
3318# FIXME: This hack should be removed a few years after 2.60.
3319ac_datarootdir_hack=; ac_datarootdir_seen=
3320ac_sed_dataroot='
3321/datarootdir/ {
3322  p
3323  q
3324}
3325/@datadir@/p
3326/@docdir@/p
3327/@infodir@/p
3328/@localedir@/p
3329/@mandir@/p'
3330case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3331*datarootdir*) ac_datarootdir_seen=yes;;
3332*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3333  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3334$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3335_ACEOF
3336cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3337  ac_datarootdir_hack='
3338  s&@datadir@&$datadir&g
3339  s&@docdir@&$docdir&g
3340  s&@infodir@&$infodir&g
3341  s&@localedir@&$localedir&g
3342  s&@mandir@&$mandir&g
3343  s&\\\${datarootdir}&$datarootdir&g' ;;
3344esac
3345_ACEOF
3346
3347# Neutralize VPATH when `$srcdir' = `.'.
3348# Shell code in configure.ac might set extrasub.
3349# FIXME: do we really want to maintain this feature?
3350cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3351ac_sed_extra="$ac_vpsub
3352$extrasub
3353_ACEOF
3354cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3355:t
3356/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3357s|@configure_input@|$ac_sed_conf_input|;t t
3358s&@top_builddir@&$ac_top_builddir_sub&;t t
3359s&@top_build_prefix@&$ac_top_build_prefix&;t t
3360s&@srcdir@&$ac_srcdir&;t t
3361s&@abs_srcdir@&$ac_abs_srcdir&;t t
3362s&@top_srcdir@&$ac_top_srcdir&;t t
3363s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3364s&@builddir@&$ac_builddir&;t t
3365s&@abs_builddir@&$ac_abs_builddir&;t t
3366s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3367s&@INSTALL@&$ac_INSTALL&;t t
3368s&@MKDIR_P@&$ac_MKDIR_P&;t t
3369$ac_datarootdir_hack
3370"
3371eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
3372  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3373
3374test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3375  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
3376  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
3377      "$ac_tmp/out"`; test -z "$ac_out"; } &&
3378  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3379which seems to be undefined.  Please make sure it is defined" >&5
3380$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3381which seems to be undefined.  Please make sure it is defined" >&2;}
3382
3383  rm -f "$ac_tmp/stdin"
3384  case $ac_file in
3385  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3386  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
3387  esac \
3388  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3389 ;;
3390
3391
3392
3393  esac
3394
3395done # for ac_tag
3396
3397
3398as_fn_exit 0
3399_ACEOF
3400ac_clean_files=$ac_clean_files_save
3401
3402test $ac_write_fail = 0 ||
3403  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3404
3405
3406# configure is writing to config.log, and then calls config.status.
3407# config.status does its own redirection, appending to config.log.
3408# Unfortunately, on DOS this fails, as config.log is still kept open
3409# by configure, so config.status won't be able to write to it; its
3410# output is simply discarded.  So we exec the FD to /dev/null,
3411# effectively closing config.log, so it can be properly (re)opened and
3412# appended to by config.status.  When coming back to configure, we
3413# need to make the FD available again.
3414if test "$no_create" != yes; then
3415  ac_cs_success=:
3416  ac_config_status_args=
3417  test "$silent" = yes &&
3418    ac_config_status_args="$ac_config_status_args --quiet"
3419  exec 5>/dev/null
3420  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3421  exec 5>>config.log
3422  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3423  # would make configure fail if this is the last instruction.
3424  $ac_cs_success || as_fn_exit 1
3425fi
3426if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3427  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3428$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3429fi
3430
3431