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