configure revision 29004570
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.68 for xinit 1.3.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
177test \$(( 1 + 1 )) = 2 || exit 1"
178  if (eval "$as_required") 2>/dev/null; then :
179  as_have_required=yes
180else
181  as_have_required=no
182fi
183  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
184
185else
186  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187as_found=false
188for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
189do
190  IFS=$as_save_IFS
191  test -z "$as_dir" && as_dir=.
192  as_found=:
193  case $as_dir in #(
194	 /*)
195	   for as_base in sh bash ksh sh5; do
196	     # Try only shells that exist, to save several forks.
197	     as_shell=$as_dir/$as_base
198	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
199		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
200  CONFIG_SHELL=$as_shell as_have_required=yes
201		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
202  break 2
203fi
204fi
205	   done;;
206       esac
207  as_found=false
208done
209$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
210	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
211  CONFIG_SHELL=$SHELL as_have_required=yes
212fi; }
213IFS=$as_save_IFS
214
215
216      if test "x$CONFIG_SHELL" != x; then :
217  # We cannot yet assume a decent shell, so we have to provide a
218	# neutralization value for shells without unset; and this also
219	# works around shells that cannot unset nonexistent variables.
220	# Preserve -v and -x to the replacement shell.
221	BASH_ENV=/dev/null
222	ENV=/dev/null
223	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
224	export CONFIG_SHELL
225	case $- in # ((((
226	  *v*x* | *x*v* ) as_opts=-vx ;;
227	  *v* ) as_opts=-v ;;
228	  *x* ) as_opts=-x ;;
229	  * ) as_opts= ;;
230	esac
231	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
232fi
233
234    if test x$as_have_required = xno; then :
235  $as_echo "$0: This script requires a shell more modern than all"
236  $as_echo "$0: the shells that I found on your system."
237  if test x${ZSH_VERSION+set} = xset ; then
238    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
239    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
240  else
241    $as_echo "$0: Please tell bug-autoconf@gnu.org and
242$0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
243$0: about your system, including any error possibly output
244$0: before this message. Then install a modern shell, or
245$0: manually run the script under such a shell if you do
246$0: have one."
247  fi
248  exit 1
249fi
250fi
251fi
252SHELL=${CONFIG_SHELL-/bin/sh}
253export SHELL
254# Unset more variables known to interfere with behavior of common tools.
255CLICOLOR_FORCE= GREP_OPTIONS=
256unset CLICOLOR_FORCE GREP_OPTIONS
257
258## --------------------- ##
259## M4sh Shell Functions. ##
260## --------------------- ##
261# as_fn_unset VAR
262# ---------------
263# Portably unset VAR.
264as_fn_unset ()
265{
266  { eval $1=; unset $1;}
267}
268as_unset=as_fn_unset
269
270# as_fn_set_status STATUS
271# -----------------------
272# Set $? to STATUS, without forking.
273as_fn_set_status ()
274{
275  return $1
276} # as_fn_set_status
277
278# as_fn_exit STATUS
279# -----------------
280# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281as_fn_exit ()
282{
283  set +e
284  as_fn_set_status $1
285  exit $1
286} # as_fn_exit
287
288# as_fn_mkdir_p
289# -------------
290# Create "$as_dir" as a directory, including parents if necessary.
291as_fn_mkdir_p ()
292{
293
294  case $as_dir in #(
295  -*) as_dir=./$as_dir;;
296  esac
297  test -d "$as_dir" || eval $as_mkdir_p || {
298    as_dirs=
299    while :; do
300      case $as_dir in #(
301      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
302      *) as_qdir=$as_dir;;
303      esac
304      as_dirs="'$as_qdir' $as_dirs"
305      as_dir=`$as_dirname -- "$as_dir" ||
306$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
307	 X"$as_dir" : 'X\(//\)[^/]' \| \
308	 X"$as_dir" : 'X\(//\)$' \| \
309	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
310$as_echo X"$as_dir" |
311    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
312	    s//\1/
313	    q
314	  }
315	  /^X\(\/\/\)[^/].*/{
316	    s//\1/
317	    q
318	  }
319	  /^X\(\/\/\)$/{
320	    s//\1/
321	    q
322	  }
323	  /^X\(\/\).*/{
324	    s//\1/
325	    q
326	  }
327	  s/.*/./; q'`
328      test -d "$as_dir" && break
329    done
330    test -z "$as_dirs" || eval "mkdir $as_dirs"
331  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
332
333
334} # as_fn_mkdir_p
335# as_fn_append VAR VALUE
336# ----------------------
337# Append the text in VALUE to the end of the definition contained in VAR. Take
338# advantage of any shell optimizations that allow amortized linear growth over
339# repeated appends, instead of the typical quadratic growth present in naive
340# implementations.
341if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
342  eval 'as_fn_append ()
343  {
344    eval $1+=\$2
345  }'
346else
347  as_fn_append ()
348  {
349    eval $1=\$$1\$2
350  }
351fi # as_fn_append
352
353# as_fn_arith ARG...
354# ------------------
355# Perform arithmetic evaluation on the ARGs, and store the result in the
356# global $as_val. Take advantage of shells that can avoid forks. The arguments
357# must be portable across $(()) and expr.
358if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
359  eval 'as_fn_arith ()
360  {
361    as_val=$(( $* ))
362  }'
363else
364  as_fn_arith ()
365  {
366    as_val=`expr "$@" || test $? -eq 1`
367  }
368fi # as_fn_arith
369
370
371# as_fn_error STATUS ERROR [LINENO LOG_FD]
372# ----------------------------------------
373# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
374# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
375# script with STATUS, using 1 if that was 0.
376as_fn_error ()
377{
378  as_status=$1; test $as_status -eq 0 && as_status=1
379  if test "$4"; then
380    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
381    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
382  fi
383  $as_echo "$as_me: error: $2" >&2
384  as_fn_exit $as_status
385} # as_fn_error
386
387if expr a : '\(a\)' >/dev/null 2>&1 &&
388   test "X`expr 00001 : '.*\(...\)'`" = X001; then
389  as_expr=expr
390else
391  as_expr=false
392fi
393
394if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
395  as_basename=basename
396else
397  as_basename=false
398fi
399
400if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
401  as_dirname=dirname
402else
403  as_dirname=false
404fi
405
406as_me=`$as_basename -- "$0" ||
407$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
408	 X"$0" : 'X\(//\)$' \| \
409	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
410$as_echo X/"$0" |
411    sed '/^.*\/\([^/][^/]*\)\/*$/{
412	    s//\1/
413	    q
414	  }
415	  /^X\/\(\/\/\)$/{
416	    s//\1/
417	    q
418	  }
419	  /^X\/\(\/\).*/{
420	    s//\1/
421	    q
422	  }
423	  s/.*/./; q'`
424
425# Avoid depending upon Character Ranges.
426as_cr_letters='abcdefghijklmnopqrstuvwxyz'
427as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
428as_cr_Letters=$as_cr_letters$as_cr_LETTERS
429as_cr_digits='0123456789'
430as_cr_alnum=$as_cr_Letters$as_cr_digits
431
432
433  as_lineno_1=$LINENO as_lineno_1a=$LINENO
434  as_lineno_2=$LINENO as_lineno_2a=$LINENO
435  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
436  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
437  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
438  sed -n '
439    p
440    /[$]LINENO/=
441  ' <$as_myself |
442    sed '
443      s/[$]LINENO.*/&-/
444      t lineno
445      b
446      :lineno
447      N
448      :loop
449      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450      t loop
451      s/-\n.*//
452    ' >$as_me.lineno &&
453  chmod +x "$as_me.lineno" ||
454    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
455
456  # Don't try to exec as it changes $[0], causing all sort of problems
457  # (the dirname of $[0] is not the place where we might find the
458  # original and so on.  Autoconf is especially sensitive to this).
459  . "./$as_me.lineno"
460  # Exit status is that of the last command.
461  exit
462}
463
464ECHO_C= ECHO_N= ECHO_T=
465case `echo -n x` in #(((((
466-n*)
467  case `echo 'xy\c'` in
468  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
469  xy)  ECHO_C='\c';;
470  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
471       ECHO_T='	';;
472  esac;;
473*)
474  ECHO_N='-n';;
475esac
476
477rm -f conf$$ conf$$.exe conf$$.file
478if test -d conf$$.dir; then
479  rm -f conf$$.dir/conf$$.file
480else
481  rm -f conf$$.dir
482  mkdir conf$$.dir 2>/dev/null
483fi
484if (echo >conf$$.file) 2>/dev/null; then
485  if ln -s conf$$.file conf$$ 2>/dev/null; then
486    as_ln_s='ln -s'
487    # ... but there are two gotchas:
488    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
489    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
490    # In both cases, we have to default to `cp -p'.
491    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
492      as_ln_s='cp -p'
493  elif ln conf$$.file conf$$ 2>/dev/null; then
494    as_ln_s=ln
495  else
496    as_ln_s='cp -p'
497  fi
498else
499  as_ln_s='cp -p'
500fi
501rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
502rmdir conf$$.dir 2>/dev/null
503
504if mkdir -p . 2>/dev/null; then
505  as_mkdir_p='mkdir -p "$as_dir"'
506else
507  test -d ./-p && rmdir ./-p
508  as_mkdir_p=false
509fi
510
511if test -x / >/dev/null 2>&1; then
512  as_test_x='test -x'
513else
514  if ls -dL / >/dev/null 2>&1; then
515    as_ls_L_option=L
516  else
517    as_ls_L_option=
518  fi
519  as_test_x='
520    eval sh -c '\''
521      if test -d "$1"; then
522	test -d "$1/.";
523      else
524	case $1 in #(
525	-*)set "./$1";;
526	esac;
527	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
528	???[sx]*):;;*)false;;esac;fi
529    '\'' sh
530  '
531fi
532as_executable_p=$as_test_x
533
534# Sed expression to map a string onto a valid CPP name.
535as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
536
537# Sed expression to map a string onto a valid variable name.
538as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
539
540
541test -n "$DJDIR" || exec 7<&0 </dev/null
542exec 6>&1
543
544# Name of the host.
545# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
546# so uname gets run too.
547ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
548
549#
550# Initializations.
551#
552ac_default_prefix=/usr/local
553ac_clean_files=
554ac_config_libobj_dir=.
555LIBOBJS=
556cross_compiling=no
557subdirs=
558MFLAGS=
559MAKEFLAGS=
560
561# Identity of this package.
562PACKAGE_NAME='xinit'
563PACKAGE_TARNAME='xinit'
564PACKAGE_VERSION='1.3.0'
565PACKAGE_STRING='xinit 1.3.0'
566PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
567PACKAGE_URL=''
568
569# Factoring default headers for most tests.
570ac_includes_default="\
571#include <stdio.h>
572#ifdef HAVE_SYS_TYPES_H
573# include <sys/types.h>
574#endif
575#ifdef HAVE_SYS_STAT_H
576# include <sys/stat.h>
577#endif
578#ifdef STDC_HEADERS
579# include <stdlib.h>
580# include <stddef.h>
581#else
582# ifdef HAVE_STDLIB_H
583#  include <stdlib.h>
584# endif
585#endif
586#ifdef HAVE_STRING_H
587# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
588#  include <memory.h>
589# endif
590# include <string.h>
591#endif
592#ifdef HAVE_STRINGS_H
593# include <strings.h>
594#endif
595#ifdef HAVE_INTTYPES_H
596# include <inttypes.h>
597#endif
598#ifdef HAVE_STDINT_H
599# include <stdint.h>
600#endif
601#ifdef HAVE_UNISTD_H
602# include <unistd.h>
603#endif"
604
605ac_subst_vars='am__EXEEXT_FALSE
606am__EXEEXT_TRUE
607LTLIBOBJS
608LIBOBJS
609XINITDIR
610XINIT
611XAUTH
612XSERVER
613XTERM
614XCLOCK
615TWM
616XMODMAP
617XRDB
618XCONFIGFILEMAN
619XCONFIGFILE
620XSERVERNAME
621ARCHMANDEFS
622SHELL_CMD
623STARTX_COOKIE_FLAGS
624MCOOKIE
625XINIT_LIBS
626XINIT_CFLAGS
627TIGER_LAUNCHD_FALSE
628TIGER_LAUNCHD_TRUE
629LAUNCHD_FALSE
630LAUNCHD_TRUE
631launchdidprefix
632launchdaemonsdir
633launchagentsdir
634LAUNCHD
635RAWCPPFLAGS
636RAWCPP
637AM_BACKSLASH
638AM_DEFAULT_VERBOSITY
639MAN_SUBSTS
640XORG_MAN_PAGE
641ADMIN_MAN_DIR
642DRIVER_MAN_DIR
643MISC_MAN_DIR
644FILE_MAN_DIR
645LIB_MAN_DIR
646APP_MAN_DIR
647ADMIN_MAN_SUFFIX
648DRIVER_MAN_SUFFIX
649MISC_MAN_SUFFIX
650FILE_MAN_SUFFIX
651LIB_MAN_SUFFIX
652APP_MAN_SUFFIX
653SED
654host_os
655host_vendor
656host_cpu
657host
658build_os
659build_vendor
660build_cpu
661build
662INSTALL_CMD
663PKG_CONFIG
664CHANGELOG_CMD
665CWARNFLAGS
666EGREP
667GREP
668CPP
669am__fastdepCC_FALSE
670am__fastdepCC_TRUE
671CCDEPMODE
672AMDEPBACKSLASH
673AMDEP_FALSE
674AMDEP_TRUE
675am__quote
676am__include
677DEPDIR
678OBJEXT
679EXEEXT
680ac_ct_CC
681CPPFLAGS
682LDFLAGS
683CFLAGS
684CC
685MAINT
686MAINTAINER_MODE_FALSE
687MAINTAINER_MODE_TRUE
688am__untar
689am__tar
690AMTAR
691am__leading_dot
692SET_MAKE
693AWK
694mkdir_p
695MKDIR_P
696INSTALL_STRIP_PROGRAM
697STRIP
698install_sh
699MAKEINFO
700AUTOHEADER
701AUTOMAKE
702AUTOCONF
703ACLOCAL
704VERSION
705PACKAGE
706CYGPATH_W
707am__isrc
708INSTALL_DATA
709INSTALL_SCRIPT
710INSTALL_PROGRAM
711target_alias
712host_alias
713build_alias
714LIBS
715ECHO_T
716ECHO_N
717ECHO_C
718DEFS
719mandir
720localedir
721libdir
722psdir
723pdfdir
724dvidir
725htmldir
726infodir
727docdir
728oldincludedir
729includedir
730localstatedir
731sharedstatedir
732sysconfdir
733datadir
734datarootdir
735libexecdir
736sbindir
737bindir
738program_transform_name
739prefix
740exec_prefix
741PACKAGE_URL
742PACKAGE_BUGREPORT
743PACKAGE_STRING
744PACKAGE_VERSION
745PACKAGE_TARNAME
746PACKAGE_NAME
747PATH_SEPARATOR
748SHELL'
749ac_subst_files=''
750ac_user_opts='
751enable_option_checking
752enable_maintainer_mode
753enable_dependency_tracking
754enable_strict_compilation
755enable_silent_rules
756with_xrdb
757with_xmodmap
758with_twm
759with_xclock
760with_xterm
761with_xserver
762with_xauth
763with_xinit
764with_xinitdir
765with_launchd
766with_launchagents_dir
767with_launchdaemons_dir
768with_launchd_id_prefix
769'
770      ac_precious_vars='build_alias
771host_alias
772target_alias
773CC
774CFLAGS
775LDFLAGS
776LIBS
777CPPFLAGS
778CPP
779PKG_CONFIG
780XINIT_CFLAGS
781XINIT_LIBS'
782
783
784# Initialize some variables set by options.
785ac_init_help=
786ac_init_version=false
787ac_unrecognized_opts=
788ac_unrecognized_sep=
789# The variables have the same names as the options, with
790# dashes changed to underlines.
791cache_file=/dev/null
792exec_prefix=NONE
793no_create=
794no_recursion=
795prefix=NONE
796program_prefix=NONE
797program_suffix=NONE
798program_transform_name=s,x,x,
799silent=
800site=
801srcdir=
802verbose=
803x_includes=NONE
804x_libraries=NONE
805
806# Installation directory options.
807# These are left unexpanded so users can "make install exec_prefix=/foo"
808# and all the variables that are supposed to be based on exec_prefix
809# by default will actually change.
810# Use braces instead of parens because sh, perl, etc. also accept them.
811# (The list follows the same order as the GNU Coding Standards.)
812bindir='${exec_prefix}/bin'
813sbindir='${exec_prefix}/sbin'
814libexecdir='${exec_prefix}/libexec'
815datarootdir='${prefix}/share'
816datadir='${datarootdir}'
817sysconfdir='${prefix}/etc'
818sharedstatedir='${prefix}/com'
819localstatedir='${prefix}/var'
820includedir='${prefix}/include'
821oldincludedir='/usr/include'
822docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
823infodir='${datarootdir}/info'
824htmldir='${docdir}'
825dvidir='${docdir}'
826pdfdir='${docdir}'
827psdir='${docdir}'
828libdir='${exec_prefix}/lib'
829localedir='${datarootdir}/locale'
830mandir='${datarootdir}/man'
831
832ac_prev=
833ac_dashdash=
834for ac_option
835do
836  # If the previous option needs an argument, assign it.
837  if test -n "$ac_prev"; then
838    eval $ac_prev=\$ac_option
839    ac_prev=
840    continue
841  fi
842
843  case $ac_option in
844  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
845  *=)   ac_optarg= ;;
846  *)    ac_optarg=yes ;;
847  esac
848
849  # Accept the important Cygnus configure options, so we can diagnose typos.
850
851  case $ac_dashdash$ac_option in
852  --)
853    ac_dashdash=yes ;;
854
855  -bindir | --bindir | --bindi | --bind | --bin | --bi)
856    ac_prev=bindir ;;
857  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
858    bindir=$ac_optarg ;;
859
860  -build | --build | --buil | --bui | --bu)
861    ac_prev=build_alias ;;
862  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
863    build_alias=$ac_optarg ;;
864
865  -cache-file | --cache-file | --cache-fil | --cache-fi \
866  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
867    ac_prev=cache_file ;;
868  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
869  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
870    cache_file=$ac_optarg ;;
871
872  --config-cache | -C)
873    cache_file=config.cache ;;
874
875  -datadir | --datadir | --datadi | --datad)
876    ac_prev=datadir ;;
877  -datadir=* | --datadir=* | --datadi=* | --datad=*)
878    datadir=$ac_optarg ;;
879
880  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
881  | --dataroo | --dataro | --datar)
882    ac_prev=datarootdir ;;
883  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
884  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
885    datarootdir=$ac_optarg ;;
886
887  -disable-* | --disable-*)
888    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
889    # Reject names that are not valid shell variable names.
890    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
891      as_fn_error $? "invalid feature name: $ac_useropt"
892    ac_useropt_orig=$ac_useropt
893    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
894    case $ac_user_opts in
895      *"
896"enable_$ac_useropt"
897"*) ;;
898      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
899	 ac_unrecognized_sep=', ';;
900    esac
901    eval enable_$ac_useropt=no ;;
902
903  -docdir | --docdir | --docdi | --doc | --do)
904    ac_prev=docdir ;;
905  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
906    docdir=$ac_optarg ;;
907
908  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
909    ac_prev=dvidir ;;
910  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
911    dvidir=$ac_optarg ;;
912
913  -enable-* | --enable-*)
914    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
915    # Reject names that are not valid shell variable names.
916    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
917      as_fn_error $? "invalid feature name: $ac_useropt"
918    ac_useropt_orig=$ac_useropt
919    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
920    case $ac_user_opts in
921      *"
922"enable_$ac_useropt"
923"*) ;;
924      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
925	 ac_unrecognized_sep=', ';;
926    esac
927    eval enable_$ac_useropt=\$ac_optarg ;;
928
929  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
930  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
931  | --exec | --exe | --ex)
932    ac_prev=exec_prefix ;;
933  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
934  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
935  | --exec=* | --exe=* | --ex=*)
936    exec_prefix=$ac_optarg ;;
937
938  -gas | --gas | --ga | --g)
939    # Obsolete; use --with-gas.
940    with_gas=yes ;;
941
942  -help | --help | --hel | --he | -h)
943    ac_init_help=long ;;
944  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
945    ac_init_help=recursive ;;
946  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
947    ac_init_help=short ;;
948
949  -host | --host | --hos | --ho)
950    ac_prev=host_alias ;;
951  -host=* | --host=* | --hos=* | --ho=*)
952    host_alias=$ac_optarg ;;
953
954  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
955    ac_prev=htmldir ;;
956  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
957  | --ht=*)
958    htmldir=$ac_optarg ;;
959
960  -includedir | --includedir | --includedi | --included | --include \
961  | --includ | --inclu | --incl | --inc)
962    ac_prev=includedir ;;
963  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
964  | --includ=* | --inclu=* | --incl=* | --inc=*)
965    includedir=$ac_optarg ;;
966
967  -infodir | --infodir | --infodi | --infod | --info | --inf)
968    ac_prev=infodir ;;
969  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
970    infodir=$ac_optarg ;;
971
972  -libdir | --libdir | --libdi | --libd)
973    ac_prev=libdir ;;
974  -libdir=* | --libdir=* | --libdi=* | --libd=*)
975    libdir=$ac_optarg ;;
976
977  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
978  | --libexe | --libex | --libe)
979    ac_prev=libexecdir ;;
980  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
981  | --libexe=* | --libex=* | --libe=*)
982    libexecdir=$ac_optarg ;;
983
984  -localedir | --localedir | --localedi | --localed | --locale)
985    ac_prev=localedir ;;
986  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
987    localedir=$ac_optarg ;;
988
989  -localstatedir | --localstatedir | --localstatedi | --localstated \
990  | --localstate | --localstat | --localsta | --localst | --locals)
991    ac_prev=localstatedir ;;
992  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
993  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
994    localstatedir=$ac_optarg ;;
995
996  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
997    ac_prev=mandir ;;
998  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
999    mandir=$ac_optarg ;;
1000
1001  -nfp | --nfp | --nf)
1002    # Obsolete; use --without-fp.
1003    with_fp=no ;;
1004
1005  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1006  | --no-cr | --no-c | -n)
1007    no_create=yes ;;
1008
1009  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1010  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1011    no_recursion=yes ;;
1012
1013  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1014  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1015  | --oldin | --oldi | --old | --ol | --o)
1016    ac_prev=oldincludedir ;;
1017  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1018  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1019  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1020    oldincludedir=$ac_optarg ;;
1021
1022  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1023    ac_prev=prefix ;;
1024  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1025    prefix=$ac_optarg ;;
1026
1027  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1028  | --program-pre | --program-pr | --program-p)
1029    ac_prev=program_prefix ;;
1030  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1031  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1032    program_prefix=$ac_optarg ;;
1033
1034  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1035  | --program-suf | --program-su | --program-s)
1036    ac_prev=program_suffix ;;
1037  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1038  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1039    program_suffix=$ac_optarg ;;
1040
1041  -program-transform-name | --program-transform-name \
1042  | --program-transform-nam | --program-transform-na \
1043  | --program-transform-n | --program-transform- \
1044  | --program-transform | --program-transfor \
1045  | --program-transfo | --program-transf \
1046  | --program-trans | --program-tran \
1047  | --progr-tra | --program-tr | --program-t)
1048    ac_prev=program_transform_name ;;
1049  -program-transform-name=* | --program-transform-name=* \
1050  | --program-transform-nam=* | --program-transform-na=* \
1051  | --program-transform-n=* | --program-transform-=* \
1052  | --program-transform=* | --program-transfor=* \
1053  | --program-transfo=* | --program-transf=* \
1054  | --program-trans=* | --program-tran=* \
1055  | --progr-tra=* | --program-tr=* | --program-t=*)
1056    program_transform_name=$ac_optarg ;;
1057
1058  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1059    ac_prev=pdfdir ;;
1060  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1061    pdfdir=$ac_optarg ;;
1062
1063  -psdir | --psdir | --psdi | --psd | --ps)
1064    ac_prev=psdir ;;
1065  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1066    psdir=$ac_optarg ;;
1067
1068  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1069  | -silent | --silent | --silen | --sile | --sil)
1070    silent=yes ;;
1071
1072  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1073    ac_prev=sbindir ;;
1074  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1075  | --sbi=* | --sb=*)
1076    sbindir=$ac_optarg ;;
1077
1078  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1079  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1080  | --sharedst | --shareds | --shared | --share | --shar \
1081  | --sha | --sh)
1082    ac_prev=sharedstatedir ;;
1083  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1084  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1085  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1086  | --sha=* | --sh=*)
1087    sharedstatedir=$ac_optarg ;;
1088
1089  -site | --site | --sit)
1090    ac_prev=site ;;
1091  -site=* | --site=* | --sit=*)
1092    site=$ac_optarg ;;
1093
1094  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1095    ac_prev=srcdir ;;
1096  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1097    srcdir=$ac_optarg ;;
1098
1099  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1100  | --syscon | --sysco | --sysc | --sys | --sy)
1101    ac_prev=sysconfdir ;;
1102  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1103  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1104    sysconfdir=$ac_optarg ;;
1105
1106  -target | --target | --targe | --targ | --tar | --ta | --t)
1107    ac_prev=target_alias ;;
1108  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1109    target_alias=$ac_optarg ;;
1110
1111  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1112    verbose=yes ;;
1113
1114  -version | --version | --versio | --versi | --vers | -V)
1115    ac_init_version=: ;;
1116
1117  -with-* | --with-*)
1118    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1119    # Reject names that are not valid shell variable names.
1120    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1121      as_fn_error $? "invalid package name: $ac_useropt"
1122    ac_useropt_orig=$ac_useropt
1123    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1124    case $ac_user_opts in
1125      *"
1126"with_$ac_useropt"
1127"*) ;;
1128      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1129	 ac_unrecognized_sep=', ';;
1130    esac
1131    eval with_$ac_useropt=\$ac_optarg ;;
1132
1133  -without-* | --without-*)
1134    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1135    # Reject names that are not valid shell variable names.
1136    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1137      as_fn_error $? "invalid package name: $ac_useropt"
1138    ac_useropt_orig=$ac_useropt
1139    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1140    case $ac_user_opts in
1141      *"
1142"with_$ac_useropt"
1143"*) ;;
1144      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1145	 ac_unrecognized_sep=', ';;
1146    esac
1147    eval with_$ac_useropt=no ;;
1148
1149  --x)
1150    # Obsolete; use --with-x.
1151    with_x=yes ;;
1152
1153  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1154  | --x-incl | --x-inc | --x-in | --x-i)
1155    ac_prev=x_includes ;;
1156  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1157  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1158    x_includes=$ac_optarg ;;
1159
1160  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1161  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1162    ac_prev=x_libraries ;;
1163  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1164  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1165    x_libraries=$ac_optarg ;;
1166
1167  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1168Try \`$0 --help' for more information"
1169    ;;
1170
1171  *=*)
1172    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1173    # Reject names that are not valid shell variable names.
1174    case $ac_envvar in #(
1175      '' | [0-9]* | *[!_$as_cr_alnum]* )
1176      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1177    esac
1178    eval $ac_envvar=\$ac_optarg
1179    export $ac_envvar ;;
1180
1181  *)
1182    # FIXME: should be removed in autoconf 3.0.
1183    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1184    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1185      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1186    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1187    ;;
1188
1189  esac
1190done
1191
1192if test -n "$ac_prev"; then
1193  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1194  as_fn_error $? "missing argument to $ac_option"
1195fi
1196
1197if test -n "$ac_unrecognized_opts"; then
1198  case $enable_option_checking in
1199    no) ;;
1200    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1201    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1202  esac
1203fi
1204
1205# Check all directory arguments for consistency.
1206for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1207		datadir sysconfdir sharedstatedir localstatedir includedir \
1208		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1209		libdir localedir mandir
1210do
1211  eval ac_val=\$$ac_var
1212  # Remove trailing slashes.
1213  case $ac_val in
1214    */ )
1215      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1216      eval $ac_var=\$ac_val;;
1217  esac
1218  # Be sure to have absolute directory names.
1219  case $ac_val in
1220    [\\/$]* | ?:[\\/]* )  continue;;
1221    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1222  esac
1223  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1224done
1225
1226# There might be people who depend on the old broken behavior: `$host'
1227# used to hold the argument of --host etc.
1228# FIXME: To remove some day.
1229build=$build_alias
1230host=$host_alias
1231target=$target_alias
1232
1233# FIXME: To remove some day.
1234if test "x$host_alias" != x; then
1235  if test "x$build_alias" = x; then
1236    cross_compiling=maybe
1237    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1238    If a cross compiler is detected then cross compile mode will be used" >&2
1239  elif test "x$build_alias" != "x$host_alias"; then
1240    cross_compiling=yes
1241  fi
1242fi
1243
1244ac_tool_prefix=
1245test -n "$host_alias" && ac_tool_prefix=$host_alias-
1246
1247test "$silent" = yes && exec 6>/dev/null
1248
1249
1250ac_pwd=`pwd` && test -n "$ac_pwd" &&
1251ac_ls_di=`ls -di .` &&
1252ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1253  as_fn_error $? "working directory cannot be determined"
1254test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1255  as_fn_error $? "pwd does not report name of working directory"
1256
1257
1258# Find the source files, if location was not specified.
1259if test -z "$srcdir"; then
1260  ac_srcdir_defaulted=yes
1261  # Try the directory containing this script, then the parent directory.
1262  ac_confdir=`$as_dirname -- "$as_myself" ||
1263$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1264	 X"$as_myself" : 'X\(//\)[^/]' \| \
1265	 X"$as_myself" : 'X\(//\)$' \| \
1266	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1267$as_echo X"$as_myself" |
1268    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1269	    s//\1/
1270	    q
1271	  }
1272	  /^X\(\/\/\)[^/].*/{
1273	    s//\1/
1274	    q
1275	  }
1276	  /^X\(\/\/\)$/{
1277	    s//\1/
1278	    q
1279	  }
1280	  /^X\(\/\).*/{
1281	    s//\1/
1282	    q
1283	  }
1284	  s/.*/./; q'`
1285  srcdir=$ac_confdir
1286  if test ! -r "$srcdir/$ac_unique_file"; then
1287    srcdir=..
1288  fi
1289else
1290  ac_srcdir_defaulted=no
1291fi
1292if test ! -r "$srcdir/$ac_unique_file"; then
1293  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1294  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1295fi
1296ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1297ac_abs_confdir=`(
1298	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1299	pwd)`
1300# When building in place, set srcdir=.
1301if test "$ac_abs_confdir" = "$ac_pwd"; then
1302  srcdir=.
1303fi
1304# Remove unnecessary trailing slashes from srcdir.
1305# Double slashes in file names in object file debugging info
1306# mess up M-x gdb in Emacs.
1307case $srcdir in
1308*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1309esac
1310for ac_var in $ac_precious_vars; do
1311  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1312  eval ac_env_${ac_var}_value=\$${ac_var}
1313  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1314  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1315done
1316
1317#
1318# Report the --help message.
1319#
1320if test "$ac_init_help" = "long"; then
1321  # Omit some internal or obsolete options to make the list less imposing.
1322  # This message is too long to be a string in the A/UX 3.1 sh.
1323  cat <<_ACEOF
1324\`configure' configures xinit 1.3.0 to adapt to many kinds of systems.
1325
1326Usage: $0 [OPTION]... [VAR=VALUE]...
1327
1328To assign environment variables (e.g., CC, CFLAGS...), specify them as
1329VAR=VALUE.  See below for descriptions of some of the useful variables.
1330
1331Defaults for the options are specified in brackets.
1332
1333Configuration:
1334  -h, --help              display this help and exit
1335      --help=short        display options specific to this package
1336      --help=recursive    display the short help of all the included packages
1337  -V, --version           display version information and exit
1338  -q, --quiet, --silent   do not print \`checking ...' messages
1339      --cache-file=FILE   cache test results in FILE [disabled]
1340  -C, --config-cache      alias for \`--cache-file=config.cache'
1341  -n, --no-create         do not create output files
1342      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1343
1344Installation directories:
1345  --prefix=PREFIX         install architecture-independent files in PREFIX
1346                          [$ac_default_prefix]
1347  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1348                          [PREFIX]
1349
1350By default, \`make install' will install all the files in
1351\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1352an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1353for instance \`--prefix=\$HOME'.
1354
1355For better control, use the options below.
1356
1357Fine tuning of the installation directories:
1358  --bindir=DIR            user executables [EPREFIX/bin]
1359  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1360  --libexecdir=DIR        program executables [EPREFIX/libexec]
1361  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1362  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1363  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1364  --libdir=DIR            object code libraries [EPREFIX/lib]
1365  --includedir=DIR        C header files [PREFIX/include]
1366  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1367  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1368  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1369  --infodir=DIR           info documentation [DATAROOTDIR/info]
1370  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1371  --mandir=DIR            man documentation [DATAROOTDIR/man]
1372  --docdir=DIR            documentation root [DATAROOTDIR/doc/xinit]
1373  --htmldir=DIR           html documentation [DOCDIR]
1374  --dvidir=DIR            dvi documentation [DOCDIR]
1375  --pdfdir=DIR            pdf documentation [DOCDIR]
1376  --psdir=DIR             ps documentation [DOCDIR]
1377_ACEOF
1378
1379  cat <<\_ACEOF
1380
1381Program names:
1382  --program-prefix=PREFIX            prepend PREFIX to installed program names
1383  --program-suffix=SUFFIX            append SUFFIX to installed program names
1384  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1385
1386System types:
1387  --build=BUILD     configure for building on BUILD [guessed]
1388  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1389_ACEOF
1390fi
1391
1392if test -n "$ac_init_help"; then
1393  case $ac_init_help in
1394     short | recursive ) echo "Configuration of xinit 1.3.0:";;
1395   esac
1396  cat <<\_ACEOF
1397
1398Optional Features:
1399  --disable-option-checking  ignore unrecognized --enable/--with options
1400  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1401  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1402  --enable-maintainer-mode  enable make rules and dependencies not useful
1403			  (and sometimes confusing) to the casual installer
1404  --disable-dependency-tracking  speeds up one-time build
1405  --enable-dependency-tracking   do not reject slow dependency extractors
1406  --enable-strict-compilation
1407                          Enable all warnings from compiler and make them
1408                          errors (default: disabled)
1409  --enable-silent-rules          less verbose build output (undo: `make V=1')
1410  --disable-silent-rules         verbose build output (undo: `make V=0')
1411
1412Optional Packages:
1413  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1414  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1415  --with-xrdb=XRDB        Path to xrdb
1416  --with-xmodmap=XMODMAP  Path to xmodmap
1417  --with-twm=TWM          Path to twm
1418  --with-xclock=XCLOCK    Path to xclock
1419  --with-xterm=XTERM      Path to xterm
1420  --with-xserver=XSERVER  Path to default X server
1421  --with-xauth=XAUTH      Path to xauth
1422  --with-xinit=XINIT      Path to xinit
1423  --with-xinitdir=XINITDIR
1424                          Path to xinitdir
1425  --with-launchd          Build with support for Apple's launchd (default:
1426                          auto)
1427  --with-launchagents-dir=PATH
1428                          Path to launchd's LaunchAgents directory (default:
1429                          /Library/LaunchAgents)
1430  --with-launchdaemons-dir=PATH
1431                          Path to launchd's LaunchDaemonss directory (default:
1432                          /Library/LaunchDaemons)
1433  --with-launchd-id-prefix=PATH
1434                          Prefix to use for launchd identifiers (default:
1435                          org.x)
1436
1437Some influential environment variables:
1438  CC          C compiler command
1439  CFLAGS      C compiler flags
1440  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1441              nonstandard directory <lib dir>
1442  LIBS        libraries to pass to the linker, e.g. -l<library>
1443  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1444              you have headers in a nonstandard directory <include dir>
1445  CPP         C preprocessor
1446  PKG_CONFIG  path to pkg-config utility
1447  XINIT_CFLAGS
1448              C compiler flags for XINIT, overriding pkg-config
1449  XINIT_LIBS  linker flags for XINIT, overriding pkg-config
1450
1451Use these variables to override the choices made by `configure' or to help
1452it to find libraries and programs with nonstandard names/locations.
1453
1454Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
1455_ACEOF
1456ac_status=$?
1457fi
1458
1459if test "$ac_init_help" = "recursive"; then
1460  # If there are subdirs, report their specific --help.
1461  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1462    test -d "$ac_dir" ||
1463      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1464      continue
1465    ac_builddir=.
1466
1467case "$ac_dir" in
1468.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1469*)
1470  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1471  # A ".." for each directory in $ac_dir_suffix.
1472  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1473  case $ac_top_builddir_sub in
1474  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1475  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1476  esac ;;
1477esac
1478ac_abs_top_builddir=$ac_pwd
1479ac_abs_builddir=$ac_pwd$ac_dir_suffix
1480# for backward compatibility:
1481ac_top_builddir=$ac_top_build_prefix
1482
1483case $srcdir in
1484  .)  # We are building in place.
1485    ac_srcdir=.
1486    ac_top_srcdir=$ac_top_builddir_sub
1487    ac_abs_top_srcdir=$ac_pwd ;;
1488  [\\/]* | ?:[\\/]* )  # Absolute name.
1489    ac_srcdir=$srcdir$ac_dir_suffix;
1490    ac_top_srcdir=$srcdir
1491    ac_abs_top_srcdir=$srcdir ;;
1492  *) # Relative name.
1493    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1494    ac_top_srcdir=$ac_top_build_prefix$srcdir
1495    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1496esac
1497ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1498
1499    cd "$ac_dir" || { ac_status=$?; continue; }
1500    # Check for guested configure.
1501    if test -f "$ac_srcdir/configure.gnu"; then
1502      echo &&
1503      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1504    elif test -f "$ac_srcdir/configure"; then
1505      echo &&
1506      $SHELL "$ac_srcdir/configure" --help=recursive
1507    else
1508      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1509    fi || ac_status=$?
1510    cd "$ac_pwd" || { ac_status=$?; break; }
1511  done
1512fi
1513
1514test -n "$ac_init_help" && exit $ac_status
1515if $ac_init_version; then
1516  cat <<\_ACEOF
1517xinit configure 1.3.0
1518generated by GNU Autoconf 2.68
1519
1520Copyright (C) 2010 Free Software Foundation, Inc.
1521This configure script is free software; the Free Software Foundation
1522gives unlimited permission to copy, distribute and modify it.
1523_ACEOF
1524  exit
1525fi
1526
1527## ------------------------ ##
1528## Autoconf initialization. ##
1529## ------------------------ ##
1530
1531# ac_fn_c_try_compile LINENO
1532# --------------------------
1533# Try to compile conftest.$ac_ext, and return whether this succeeded.
1534ac_fn_c_try_compile ()
1535{
1536  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1537  rm -f conftest.$ac_objext
1538  if { { ac_try="$ac_compile"
1539case "(($ac_try" in
1540  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1541  *) ac_try_echo=$ac_try;;
1542esac
1543eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1544$as_echo "$ac_try_echo"; } >&5
1545  (eval "$ac_compile") 2>conftest.err
1546  ac_status=$?
1547  if test -s conftest.err; then
1548    grep -v '^ *+' conftest.err >conftest.er1
1549    cat conftest.er1 >&5
1550    mv -f conftest.er1 conftest.err
1551  fi
1552  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1553  test $ac_status = 0; } && {
1554	 test -z "$ac_c_werror_flag" ||
1555	 test ! -s conftest.err
1556       } && test -s conftest.$ac_objext; then :
1557  ac_retval=0
1558else
1559  $as_echo "$as_me: failed program was:" >&5
1560sed 's/^/| /' conftest.$ac_ext >&5
1561
1562	ac_retval=1
1563fi
1564  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1565  as_fn_set_status $ac_retval
1566
1567} # ac_fn_c_try_compile
1568
1569# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1570# ---------------------------------------------
1571# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1572# accordingly.
1573ac_fn_c_check_decl ()
1574{
1575  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1576  as_decl_name=`echo $2|sed 's/ *(.*//'`
1577  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1578  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1579$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1580if eval \${$3+:} false; then :
1581  $as_echo_n "(cached) " >&6
1582else
1583  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1584/* end confdefs.h.  */
1585$4
1586int
1587main ()
1588{
1589#ifndef $as_decl_name
1590#ifdef __cplusplus
1591  (void) $as_decl_use;
1592#else
1593  (void) $as_decl_name;
1594#endif
1595#endif
1596
1597  ;
1598  return 0;
1599}
1600_ACEOF
1601if ac_fn_c_try_compile "$LINENO"; then :
1602  eval "$3=yes"
1603else
1604  eval "$3=no"
1605fi
1606rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1607fi
1608eval ac_res=\$$3
1609	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1610$as_echo "$ac_res" >&6; }
1611  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1612
1613} # ac_fn_c_check_decl
1614
1615# ac_fn_c_try_cpp LINENO
1616# ----------------------
1617# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1618ac_fn_c_try_cpp ()
1619{
1620  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1621  if { { ac_try="$ac_cpp conftest.$ac_ext"
1622case "(($ac_try" in
1623  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1624  *) ac_try_echo=$ac_try;;
1625esac
1626eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1627$as_echo "$ac_try_echo"; } >&5
1628  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1629  ac_status=$?
1630  if test -s conftest.err; then
1631    grep -v '^ *+' conftest.err >conftest.er1
1632    cat conftest.er1 >&5
1633    mv -f conftest.er1 conftest.err
1634  fi
1635  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1636  test $ac_status = 0; } > conftest.i && {
1637	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1638	 test ! -s conftest.err
1639       }; then :
1640  ac_retval=0
1641else
1642  $as_echo "$as_me: failed program was:" >&5
1643sed 's/^/| /' conftest.$ac_ext >&5
1644
1645    ac_retval=1
1646fi
1647  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1648  as_fn_set_status $ac_retval
1649
1650} # ac_fn_c_try_cpp
1651
1652# ac_fn_c_try_run LINENO
1653# ----------------------
1654# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1655# that executables *can* be run.
1656ac_fn_c_try_run ()
1657{
1658  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1659  if { { ac_try="$ac_link"
1660case "(($ac_try" in
1661  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1662  *) ac_try_echo=$ac_try;;
1663esac
1664eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1665$as_echo "$ac_try_echo"; } >&5
1666  (eval "$ac_link") 2>&5
1667  ac_status=$?
1668  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1669  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1670  { { case "(($ac_try" in
1671  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1672  *) ac_try_echo=$ac_try;;
1673esac
1674eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1675$as_echo "$ac_try_echo"; } >&5
1676  (eval "$ac_try") 2>&5
1677  ac_status=$?
1678  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1679  test $ac_status = 0; }; }; then :
1680  ac_retval=0
1681else
1682  $as_echo "$as_me: program exited with status $ac_status" >&5
1683       $as_echo "$as_me: failed program was:" >&5
1684sed 's/^/| /' conftest.$ac_ext >&5
1685
1686       ac_retval=$ac_status
1687fi
1688  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1689  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1690  as_fn_set_status $ac_retval
1691
1692} # ac_fn_c_try_run
1693
1694# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1695# -------------------------------------------------------
1696# Tests whether HEADER exists and can be compiled using the include files in
1697# INCLUDES, setting the cache variable VAR accordingly.
1698ac_fn_c_check_header_compile ()
1699{
1700  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1701  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1702$as_echo_n "checking for $2... " >&6; }
1703if eval \${$3+:} false; then :
1704  $as_echo_n "(cached) " >&6
1705else
1706  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1707/* end confdefs.h.  */
1708$4
1709#include <$2>
1710_ACEOF
1711if ac_fn_c_try_compile "$LINENO"; then :
1712  eval "$3=yes"
1713else
1714  eval "$3=no"
1715fi
1716rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1717fi
1718eval ac_res=\$$3
1719	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1720$as_echo "$ac_res" >&6; }
1721  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1722
1723} # ac_fn_c_check_header_compile
1724cat >config.log <<_ACEOF
1725This file contains any messages produced by compilers while
1726running configure, to aid debugging if configure makes a mistake.
1727
1728It was created by xinit $as_me 1.3.0, which was
1729generated by GNU Autoconf 2.68.  Invocation command line was
1730
1731  $ $0 $@
1732
1733_ACEOF
1734exec 5>>config.log
1735{
1736cat <<_ASUNAME
1737## --------- ##
1738## Platform. ##
1739## --------- ##
1740
1741hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1742uname -m = `(uname -m) 2>/dev/null || echo unknown`
1743uname -r = `(uname -r) 2>/dev/null || echo unknown`
1744uname -s = `(uname -s) 2>/dev/null || echo unknown`
1745uname -v = `(uname -v) 2>/dev/null || echo unknown`
1746
1747/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1748/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1749
1750/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1751/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1752/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1753/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1754/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1755/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1756/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1757
1758_ASUNAME
1759
1760as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1761for as_dir in $PATH
1762do
1763  IFS=$as_save_IFS
1764  test -z "$as_dir" && as_dir=.
1765    $as_echo "PATH: $as_dir"
1766  done
1767IFS=$as_save_IFS
1768
1769} >&5
1770
1771cat >&5 <<_ACEOF
1772
1773
1774## ----------- ##
1775## Core tests. ##
1776## ----------- ##
1777
1778_ACEOF
1779
1780
1781# Keep a trace of the command line.
1782# Strip out --no-create and --no-recursion so they do not pile up.
1783# Strip out --silent because we don't want to record it for future runs.
1784# Also quote any args containing shell meta-characters.
1785# Make two passes to allow for proper duplicate-argument suppression.
1786ac_configure_args=
1787ac_configure_args0=
1788ac_configure_args1=
1789ac_must_keep_next=false
1790for ac_pass in 1 2
1791do
1792  for ac_arg
1793  do
1794    case $ac_arg in
1795    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1796    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1797    | -silent | --silent | --silen | --sile | --sil)
1798      continue ;;
1799    *\'*)
1800      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1801    esac
1802    case $ac_pass in
1803    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1804    2)
1805      as_fn_append ac_configure_args1 " '$ac_arg'"
1806      if test $ac_must_keep_next = true; then
1807	ac_must_keep_next=false # Got value, back to normal.
1808      else
1809	case $ac_arg in
1810	  *=* | --config-cache | -C | -disable-* | --disable-* \
1811	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1812	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1813	  | -with-* | --with-* | -without-* | --without-* | --x)
1814	    case "$ac_configure_args0 " in
1815	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1816	    esac
1817	    ;;
1818	  -* ) ac_must_keep_next=true ;;
1819	esac
1820      fi
1821      as_fn_append ac_configure_args " '$ac_arg'"
1822      ;;
1823    esac
1824  done
1825done
1826{ ac_configure_args0=; unset ac_configure_args0;}
1827{ ac_configure_args1=; unset ac_configure_args1;}
1828
1829# When interrupted or exit'd, cleanup temporary files, and complete
1830# config.log.  We remove comments because anyway the quotes in there
1831# would cause problems or look ugly.
1832# WARNING: Use '\'' to represent an apostrophe within the trap.
1833# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1834trap 'exit_status=$?
1835  # Save into config.log some information that might help in debugging.
1836  {
1837    echo
1838
1839    $as_echo "## ---------------- ##
1840## Cache variables. ##
1841## ---------------- ##"
1842    echo
1843    # The following way of writing the cache mishandles newlines in values,
1844(
1845  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1846    eval ac_val=\$$ac_var
1847    case $ac_val in #(
1848    *${as_nl}*)
1849      case $ac_var in #(
1850      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1851$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1852      esac
1853      case $ac_var in #(
1854      _ | IFS | as_nl) ;; #(
1855      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1856      *) { eval $ac_var=; unset $ac_var;} ;;
1857      esac ;;
1858    esac
1859  done
1860  (set) 2>&1 |
1861    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1862    *${as_nl}ac_space=\ *)
1863      sed -n \
1864	"s/'\''/'\''\\\\'\'''\''/g;
1865	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1866      ;; #(
1867    *)
1868      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1869      ;;
1870    esac |
1871    sort
1872)
1873    echo
1874
1875    $as_echo "## ----------------- ##
1876## Output variables. ##
1877## ----------------- ##"
1878    echo
1879    for ac_var in $ac_subst_vars
1880    do
1881      eval ac_val=\$$ac_var
1882      case $ac_val in
1883      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1884      esac
1885      $as_echo "$ac_var='\''$ac_val'\''"
1886    done | sort
1887    echo
1888
1889    if test -n "$ac_subst_files"; then
1890      $as_echo "## ------------------- ##
1891## File substitutions. ##
1892## ------------------- ##"
1893      echo
1894      for ac_var in $ac_subst_files
1895      do
1896	eval ac_val=\$$ac_var
1897	case $ac_val in
1898	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1899	esac
1900	$as_echo "$ac_var='\''$ac_val'\''"
1901      done | sort
1902      echo
1903    fi
1904
1905    if test -s confdefs.h; then
1906      $as_echo "## ----------- ##
1907## confdefs.h. ##
1908## ----------- ##"
1909      echo
1910      cat confdefs.h
1911      echo
1912    fi
1913    test "$ac_signal" != 0 &&
1914      $as_echo "$as_me: caught signal $ac_signal"
1915    $as_echo "$as_me: exit $exit_status"
1916  } >&5
1917  rm -f core *.core core.conftest.* &&
1918    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1919    exit $exit_status
1920' 0
1921for ac_signal in 1 2 13 15; do
1922  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1923done
1924ac_signal=0
1925
1926# confdefs.h avoids OS command line length limits that DEFS can exceed.
1927rm -f -r conftest* confdefs.h
1928
1929$as_echo "/* confdefs.h */" > confdefs.h
1930
1931# Predefined preprocessor variables.
1932
1933cat >>confdefs.h <<_ACEOF
1934#define PACKAGE_NAME "$PACKAGE_NAME"
1935_ACEOF
1936
1937cat >>confdefs.h <<_ACEOF
1938#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1939_ACEOF
1940
1941cat >>confdefs.h <<_ACEOF
1942#define PACKAGE_VERSION "$PACKAGE_VERSION"
1943_ACEOF
1944
1945cat >>confdefs.h <<_ACEOF
1946#define PACKAGE_STRING "$PACKAGE_STRING"
1947_ACEOF
1948
1949cat >>confdefs.h <<_ACEOF
1950#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1951_ACEOF
1952
1953cat >>confdefs.h <<_ACEOF
1954#define PACKAGE_URL "$PACKAGE_URL"
1955_ACEOF
1956
1957
1958# Let the site file select an alternate cache file if it wants to.
1959# Prefer an explicitly selected file to automatically selected ones.
1960ac_site_file1=NONE
1961ac_site_file2=NONE
1962if test -n "$CONFIG_SITE"; then
1963  # We do not want a PATH search for config.site.
1964  case $CONFIG_SITE in #((
1965    -*)  ac_site_file1=./$CONFIG_SITE;;
1966    */*) ac_site_file1=$CONFIG_SITE;;
1967    *)   ac_site_file1=./$CONFIG_SITE;;
1968  esac
1969elif test "x$prefix" != xNONE; then
1970  ac_site_file1=$prefix/share/config.site
1971  ac_site_file2=$prefix/etc/config.site
1972else
1973  ac_site_file1=$ac_default_prefix/share/config.site
1974  ac_site_file2=$ac_default_prefix/etc/config.site
1975fi
1976for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1977do
1978  test "x$ac_site_file" = xNONE && continue
1979  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1980    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1981$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1982    sed 's/^/| /' "$ac_site_file" >&5
1983    . "$ac_site_file" \
1984      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1985$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1986as_fn_error $? "failed to load site script $ac_site_file
1987See \`config.log' for more details" "$LINENO" 5; }
1988  fi
1989done
1990
1991if test -r "$cache_file"; then
1992  # Some versions of bash will fail to source /dev/null (special files
1993  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1994  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1995    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1996$as_echo "$as_me: loading cache $cache_file" >&6;}
1997    case $cache_file in
1998      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1999      *)                      . "./$cache_file";;
2000    esac
2001  fi
2002else
2003  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2004$as_echo "$as_me: creating cache $cache_file" >&6;}
2005  >$cache_file
2006fi
2007
2008# Check that the precious variables saved in the cache have kept the same
2009# value.
2010ac_cache_corrupted=false
2011for ac_var in $ac_precious_vars; do
2012  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2013  eval ac_new_set=\$ac_env_${ac_var}_set
2014  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2015  eval ac_new_val=\$ac_env_${ac_var}_value
2016  case $ac_old_set,$ac_new_set in
2017    set,)
2018      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2019$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2020      ac_cache_corrupted=: ;;
2021    ,set)
2022      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2023$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2024      ac_cache_corrupted=: ;;
2025    ,);;
2026    *)
2027      if test "x$ac_old_val" != "x$ac_new_val"; then
2028	# differences in whitespace do not lead to failure.
2029	ac_old_val_w=`echo x $ac_old_val`
2030	ac_new_val_w=`echo x $ac_new_val`
2031	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2032	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2033$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2034	  ac_cache_corrupted=:
2035	else
2036	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2037$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2038	  eval $ac_var=\$ac_old_val
2039	fi
2040	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2041$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2042	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2043$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2044      fi;;
2045  esac
2046  # Pass precious variables to config.status.
2047  if test "$ac_new_set" = set; then
2048    case $ac_new_val in
2049    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2050    *) ac_arg=$ac_var=$ac_new_val ;;
2051    esac
2052    case " $ac_configure_args " in
2053      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2054      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2055    esac
2056  fi
2057done
2058if $ac_cache_corrupted; then
2059  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2060$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2061  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2062$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2063  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2064fi
2065## -------------------- ##
2066## Main body of script. ##
2067## -------------------- ##
2068
2069ac_ext=c
2070ac_cpp='$CPP $CPPFLAGS'
2071ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2072ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2073ac_compiler_gnu=$ac_cv_c_compiler_gnu
2074
2075
2076am__api_version='1.11'
2077
2078ac_aux_dir=
2079for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2080  if test -f "$ac_dir/install-sh"; then
2081    ac_aux_dir=$ac_dir
2082    ac_install_sh="$ac_aux_dir/install-sh -c"
2083    break
2084  elif test -f "$ac_dir/install.sh"; then
2085    ac_aux_dir=$ac_dir
2086    ac_install_sh="$ac_aux_dir/install.sh -c"
2087    break
2088  elif test -f "$ac_dir/shtool"; then
2089    ac_aux_dir=$ac_dir
2090    ac_install_sh="$ac_aux_dir/shtool install -c"
2091    break
2092  fi
2093done
2094if test -z "$ac_aux_dir"; then
2095  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2096fi
2097
2098# These three variables are undocumented and unsupported,
2099# and are intended to be withdrawn in a future Autoconf release.
2100# They can cause serious problems if a builder's source tree is in a directory
2101# whose full name contains unusual characters.
2102ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2103ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2104ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2105
2106
2107# Find a good install program.  We prefer a C program (faster),
2108# so one script is as good as another.  But avoid the broken or
2109# incompatible versions:
2110# SysV /etc/install, /usr/sbin/install
2111# SunOS /usr/etc/install
2112# IRIX /sbin/install
2113# AIX /bin/install
2114# AmigaOS /C/install, which installs bootblocks on floppy discs
2115# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2116# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2117# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2118# OS/2's system install, which has a completely different semantic
2119# ./install, which can be erroneously created by make from ./install.sh.
2120# Reject install programs that cannot install multiple files.
2121{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2122$as_echo_n "checking for a BSD-compatible install... " >&6; }
2123if test -z "$INSTALL"; then
2124if ${ac_cv_path_install+:} false; then :
2125  $as_echo_n "(cached) " >&6
2126else
2127  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2128for as_dir in $PATH
2129do
2130  IFS=$as_save_IFS
2131  test -z "$as_dir" && as_dir=.
2132    # Account for people who put trailing slashes in PATH elements.
2133case $as_dir/ in #((
2134  ./ | .// | /[cC]/* | \
2135  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2136  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2137  /usr/ucb/* ) ;;
2138  *)
2139    # OSF1 and SCO ODT 3.0 have their own names for install.
2140    # Don't use installbsd from OSF since it installs stuff as root
2141    # by default.
2142    for ac_prog in ginstall scoinst install; do
2143      for ac_exec_ext in '' $ac_executable_extensions; do
2144	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2145	  if test $ac_prog = install &&
2146	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2147	    # AIX install.  It has an incompatible calling convention.
2148	    :
2149	  elif test $ac_prog = install &&
2150	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2151	    # program-specific install script used by HP pwplus--don't use.
2152	    :
2153	  else
2154	    rm -rf conftest.one conftest.two conftest.dir
2155	    echo one > conftest.one
2156	    echo two > conftest.two
2157	    mkdir conftest.dir
2158	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2159	      test -s conftest.one && test -s conftest.two &&
2160	      test -s conftest.dir/conftest.one &&
2161	      test -s conftest.dir/conftest.two
2162	    then
2163	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2164	      break 3
2165	    fi
2166	  fi
2167	fi
2168      done
2169    done
2170    ;;
2171esac
2172
2173  done
2174IFS=$as_save_IFS
2175
2176rm -rf conftest.one conftest.two conftest.dir
2177
2178fi
2179  if test "${ac_cv_path_install+set}" = set; then
2180    INSTALL=$ac_cv_path_install
2181  else
2182    # As a last resort, use the slow shell script.  Don't cache a
2183    # value for INSTALL within a source directory, because that will
2184    # break other packages using the cache if that directory is
2185    # removed, or if the value is a relative name.
2186    INSTALL=$ac_install_sh
2187  fi
2188fi
2189{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2190$as_echo "$INSTALL" >&6; }
2191
2192# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2193# It thinks the first close brace ends the variable substitution.
2194test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2195
2196test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2197
2198test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2199
2200{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2201$as_echo_n "checking whether build environment is sane... " >&6; }
2202# Just in case
2203sleep 1
2204echo timestamp > conftest.file
2205# Reject unsafe characters in $srcdir or the absolute working directory
2206# name.  Accept space and tab only in the latter.
2207am_lf='
2208'
2209case `pwd` in
2210  *[\\\"\#\$\&\'\`$am_lf]*)
2211    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2212esac
2213case $srcdir in
2214  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2215    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2216esac
2217
2218# Do `set' in a subshell so we don't clobber the current shell's
2219# arguments.  Must try -L first in case configure is actually a
2220# symlink; some systems play weird games with the mod time of symlinks
2221# (eg FreeBSD returns the mod time of the symlink's containing
2222# directory).
2223if (
2224   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2225   if test "$*" = "X"; then
2226      # -L didn't work.
2227      set X `ls -t "$srcdir/configure" conftest.file`
2228   fi
2229   rm -f conftest.file
2230   if test "$*" != "X $srcdir/configure conftest.file" \
2231      && test "$*" != "X conftest.file $srcdir/configure"; then
2232
2233      # If neither matched, then we have a broken ls.  This can happen
2234      # if, for instance, CONFIG_SHELL is bash and it inherits a
2235      # broken ls alias from the environment.  This has actually
2236      # happened.  Such a system could not be considered "sane".
2237      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2238alias in your environment" "$LINENO" 5
2239   fi
2240
2241   test "$2" = conftest.file
2242   )
2243then
2244   # Ok.
2245   :
2246else
2247   as_fn_error $? "newly created file is older than distributed files!
2248Check your system clock" "$LINENO" 5
2249fi
2250{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2251$as_echo "yes" >&6; }
2252test "$program_prefix" != NONE &&
2253  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2254# Use a double $ so make ignores it.
2255test "$program_suffix" != NONE &&
2256  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2257# Double any \ or $.
2258# By default was `s,x,x', remove it if useless.
2259ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2260program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2261
2262# expand $ac_aux_dir to an absolute path
2263am_aux_dir=`cd $ac_aux_dir && pwd`
2264
2265if test x"${MISSING+set}" != xset; then
2266  case $am_aux_dir in
2267  *\ * | *\	*)
2268    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2269  *)
2270    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2271  esac
2272fi
2273# Use eval to expand $SHELL
2274if eval "$MISSING --run true"; then
2275  am_missing_run="$MISSING --run "
2276else
2277  am_missing_run=
2278  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2279$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2280fi
2281
2282if test x"${install_sh}" != xset; then
2283  case $am_aux_dir in
2284  *\ * | *\	*)
2285    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2286  *)
2287    install_sh="\${SHELL} $am_aux_dir/install-sh"
2288  esac
2289fi
2290
2291# Installed binaries are usually stripped using `strip' when the user
2292# run `make install-strip'.  However `strip' might not be the right
2293# tool to use in cross-compilation environments, therefore Automake
2294# will honor the `STRIP' environment variable to overrule this program.
2295if test "$cross_compiling" != no; then
2296  if test -n "$ac_tool_prefix"; then
2297  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2298set dummy ${ac_tool_prefix}strip; ac_word=$2
2299{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2300$as_echo_n "checking for $ac_word... " >&6; }
2301if ${ac_cv_prog_STRIP+:} false; then :
2302  $as_echo_n "(cached) " >&6
2303else
2304  if test -n "$STRIP"; then
2305  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2306else
2307as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2308for as_dir in $PATH
2309do
2310  IFS=$as_save_IFS
2311  test -z "$as_dir" && as_dir=.
2312    for ac_exec_ext in '' $ac_executable_extensions; do
2313  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2314    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2315    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2316    break 2
2317  fi
2318done
2319  done
2320IFS=$as_save_IFS
2321
2322fi
2323fi
2324STRIP=$ac_cv_prog_STRIP
2325if test -n "$STRIP"; then
2326  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2327$as_echo "$STRIP" >&6; }
2328else
2329  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2330$as_echo "no" >&6; }
2331fi
2332
2333
2334fi
2335if test -z "$ac_cv_prog_STRIP"; then
2336  ac_ct_STRIP=$STRIP
2337  # Extract the first word of "strip", so it can be a program name with args.
2338set dummy strip; ac_word=$2
2339{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2340$as_echo_n "checking for $ac_word... " >&6; }
2341if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2342  $as_echo_n "(cached) " >&6
2343else
2344  if test -n "$ac_ct_STRIP"; then
2345  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2346else
2347as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2348for as_dir in $PATH
2349do
2350  IFS=$as_save_IFS
2351  test -z "$as_dir" && as_dir=.
2352    for ac_exec_ext in '' $ac_executable_extensions; do
2353  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2354    ac_cv_prog_ac_ct_STRIP="strip"
2355    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2356    break 2
2357  fi
2358done
2359  done
2360IFS=$as_save_IFS
2361
2362fi
2363fi
2364ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2365if test -n "$ac_ct_STRIP"; then
2366  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2367$as_echo "$ac_ct_STRIP" >&6; }
2368else
2369  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2370$as_echo "no" >&6; }
2371fi
2372
2373  if test "x$ac_ct_STRIP" = x; then
2374    STRIP=":"
2375  else
2376    case $cross_compiling:$ac_tool_warned in
2377yes:)
2378{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2379$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2380ac_tool_warned=yes ;;
2381esac
2382    STRIP=$ac_ct_STRIP
2383  fi
2384else
2385  STRIP="$ac_cv_prog_STRIP"
2386fi
2387
2388fi
2389INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2390
2391{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2392$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2393if test -z "$MKDIR_P"; then
2394  if ${ac_cv_path_mkdir+:} false; then :
2395  $as_echo_n "(cached) " >&6
2396else
2397  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2398for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2399do
2400  IFS=$as_save_IFS
2401  test -z "$as_dir" && as_dir=.
2402    for ac_prog in mkdir gmkdir; do
2403	 for ac_exec_ext in '' $ac_executable_extensions; do
2404	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2405	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2406	     'mkdir (GNU coreutils) '* | \
2407	     'mkdir (coreutils) '* | \
2408	     'mkdir (fileutils) '4.1*)
2409	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2410	       break 3;;
2411	   esac
2412	 done
2413       done
2414  done
2415IFS=$as_save_IFS
2416
2417fi
2418
2419  test -d ./--version && rmdir ./--version
2420  if test "${ac_cv_path_mkdir+set}" = set; then
2421    MKDIR_P="$ac_cv_path_mkdir -p"
2422  else
2423    # As a last resort, use the slow shell script.  Don't cache a
2424    # value for MKDIR_P within a source directory, because that will
2425    # break other packages using the cache if that directory is
2426    # removed, or if the value is a relative name.
2427    MKDIR_P="$ac_install_sh -d"
2428  fi
2429fi
2430{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2431$as_echo "$MKDIR_P" >&6; }
2432
2433mkdir_p="$MKDIR_P"
2434case $mkdir_p in
2435  [\\/$]* | ?:[\\/]*) ;;
2436  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2437esac
2438
2439for ac_prog in gawk mawk nawk awk
2440do
2441  # Extract the first word of "$ac_prog", so it can be a program name with args.
2442set dummy $ac_prog; ac_word=$2
2443{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2444$as_echo_n "checking for $ac_word... " >&6; }
2445if ${ac_cv_prog_AWK+:} false; then :
2446  $as_echo_n "(cached) " >&6
2447else
2448  if test -n "$AWK"; then
2449  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2450else
2451as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2452for as_dir in $PATH
2453do
2454  IFS=$as_save_IFS
2455  test -z "$as_dir" && as_dir=.
2456    for ac_exec_ext in '' $ac_executable_extensions; do
2457  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2458    ac_cv_prog_AWK="$ac_prog"
2459    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2460    break 2
2461  fi
2462done
2463  done
2464IFS=$as_save_IFS
2465
2466fi
2467fi
2468AWK=$ac_cv_prog_AWK
2469if test -n "$AWK"; then
2470  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2471$as_echo "$AWK" >&6; }
2472else
2473  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2474$as_echo "no" >&6; }
2475fi
2476
2477
2478  test -n "$AWK" && break
2479done
2480
2481{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2482$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2483set x ${MAKE-make}
2484ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2485if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2486  $as_echo_n "(cached) " >&6
2487else
2488  cat >conftest.make <<\_ACEOF
2489SHELL = /bin/sh
2490all:
2491	@echo '@@@%%%=$(MAKE)=@@@%%%'
2492_ACEOF
2493# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2494case `${MAKE-make} -f conftest.make 2>/dev/null` in
2495  *@@@%%%=?*=@@@%%%*)
2496    eval ac_cv_prog_make_${ac_make}_set=yes;;
2497  *)
2498    eval ac_cv_prog_make_${ac_make}_set=no;;
2499esac
2500rm -f conftest.make
2501fi
2502if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2503  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2504$as_echo "yes" >&6; }
2505  SET_MAKE=
2506else
2507  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2508$as_echo "no" >&6; }
2509  SET_MAKE="MAKE=${MAKE-make}"
2510fi
2511
2512rm -rf .tst 2>/dev/null
2513mkdir .tst 2>/dev/null
2514if test -d .tst; then
2515  am__leading_dot=.
2516else
2517  am__leading_dot=_
2518fi
2519rmdir .tst 2>/dev/null
2520
2521if test "`cd $srcdir && pwd`" != "`pwd`"; then
2522  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2523  # is not polluted with repeated "-I."
2524  am__isrc=' -I$(srcdir)'
2525  # test to see if srcdir already configured
2526  if test -f $srcdir/config.status; then
2527    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2528  fi
2529fi
2530
2531# test whether we have cygpath
2532if test -z "$CYGPATH_W"; then
2533  if (cygpath --version) >/dev/null 2>/dev/null; then
2534    CYGPATH_W='cygpath -w'
2535  else
2536    CYGPATH_W=echo
2537  fi
2538fi
2539
2540
2541# Define the identity of the package.
2542 PACKAGE='xinit'
2543 VERSION='1.3.0'
2544
2545
2546cat >>confdefs.h <<_ACEOF
2547#define PACKAGE "$PACKAGE"
2548_ACEOF
2549
2550
2551cat >>confdefs.h <<_ACEOF
2552#define VERSION "$VERSION"
2553_ACEOF
2554
2555# Some tools Automake needs.
2556
2557ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2558
2559
2560AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2561
2562
2563AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2564
2565
2566AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2567
2568
2569MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2570
2571# We need awk for the "check" target.  The system "awk" is bad on
2572# some platforms.
2573# Always define AMTAR for backward compatibility.
2574
2575AMTAR=${AMTAR-"${am_missing_run}tar"}
2576
2577am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2578
2579
2580
2581
2582
2583
2584{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2585$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2586    # Check whether --enable-maintainer-mode was given.
2587if test "${enable_maintainer_mode+set}" = set; then :
2588  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2589else
2590  USE_MAINTAINER_MODE=no
2591fi
2592
2593  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2594$as_echo "$USE_MAINTAINER_MODE" >&6; }
2595   if test $USE_MAINTAINER_MODE = yes; then
2596  MAINTAINER_MODE_TRUE=
2597  MAINTAINER_MODE_FALSE='#'
2598else
2599  MAINTAINER_MODE_TRUE='#'
2600  MAINTAINER_MODE_FALSE=
2601fi
2602
2603  MAINT=$MAINTAINER_MODE_TRUE
2604
2605
2606
2607# Require X.Org macros 1.8 or later for AC_PROG_SED in XORG_DEFAULT_OPTIONS
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619DEPDIR="${am__leading_dot}deps"
2620
2621ac_config_commands="$ac_config_commands depfiles"
2622
2623
2624am_make=${MAKE-make}
2625cat > confinc << 'END'
2626am__doit:
2627	@echo this is the am__doit target
2628.PHONY: am__doit
2629END
2630# If we don't find an include directive, just comment out the code.
2631{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2632$as_echo_n "checking for style of include used by $am_make... " >&6; }
2633am__include="#"
2634am__quote=
2635_am_result=none
2636# First try GNU make style include.
2637echo "include confinc" > confmf
2638# Ignore all kinds of additional output from `make'.
2639case `$am_make -s -f confmf 2> /dev/null` in #(
2640*the\ am__doit\ target*)
2641  am__include=include
2642  am__quote=
2643  _am_result=GNU
2644  ;;
2645esac
2646# Now try BSD make style include.
2647if test "$am__include" = "#"; then
2648   echo '.include "confinc"' > confmf
2649   case `$am_make -s -f confmf 2> /dev/null` in #(
2650   *the\ am__doit\ target*)
2651     am__include=.include
2652     am__quote="\""
2653     _am_result=BSD
2654     ;;
2655   esac
2656fi
2657
2658
2659{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2660$as_echo "$_am_result" >&6; }
2661rm -f confinc confmf
2662
2663# Check whether --enable-dependency-tracking was given.
2664if test "${enable_dependency_tracking+set}" = set; then :
2665  enableval=$enable_dependency_tracking;
2666fi
2667
2668if test "x$enable_dependency_tracking" != xno; then
2669  am_depcomp="$ac_aux_dir/depcomp"
2670  AMDEPBACKSLASH='\'
2671fi
2672 if test "x$enable_dependency_tracking" != xno; then
2673  AMDEP_TRUE=
2674  AMDEP_FALSE='#'
2675else
2676  AMDEP_TRUE='#'
2677  AMDEP_FALSE=
2678fi
2679
2680
2681ac_ext=c
2682ac_cpp='$CPP $CPPFLAGS'
2683ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2684ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2685ac_compiler_gnu=$ac_cv_c_compiler_gnu
2686if test -n "$ac_tool_prefix"; then
2687  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2688set dummy ${ac_tool_prefix}gcc; ac_word=$2
2689{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2690$as_echo_n "checking for $ac_word... " >&6; }
2691if ${ac_cv_prog_CC+:} false; then :
2692  $as_echo_n "(cached) " >&6
2693else
2694  if test -n "$CC"; then
2695  ac_cv_prog_CC="$CC" # Let the user override the test.
2696else
2697as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2698for as_dir in $PATH
2699do
2700  IFS=$as_save_IFS
2701  test -z "$as_dir" && as_dir=.
2702    for ac_exec_ext in '' $ac_executable_extensions; do
2703  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2704    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2705    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2706    break 2
2707  fi
2708done
2709  done
2710IFS=$as_save_IFS
2711
2712fi
2713fi
2714CC=$ac_cv_prog_CC
2715if test -n "$CC"; then
2716  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2717$as_echo "$CC" >&6; }
2718else
2719  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2720$as_echo "no" >&6; }
2721fi
2722
2723
2724fi
2725if test -z "$ac_cv_prog_CC"; then
2726  ac_ct_CC=$CC
2727  # Extract the first word of "gcc", so it can be a program name with args.
2728set dummy gcc; ac_word=$2
2729{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2730$as_echo_n "checking for $ac_word... " >&6; }
2731if ${ac_cv_prog_ac_ct_CC+:} false; then :
2732  $as_echo_n "(cached) " >&6
2733else
2734  if test -n "$ac_ct_CC"; then
2735  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2736else
2737as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2738for as_dir in $PATH
2739do
2740  IFS=$as_save_IFS
2741  test -z "$as_dir" && as_dir=.
2742    for ac_exec_ext in '' $ac_executable_extensions; do
2743  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2744    ac_cv_prog_ac_ct_CC="gcc"
2745    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2746    break 2
2747  fi
2748done
2749  done
2750IFS=$as_save_IFS
2751
2752fi
2753fi
2754ac_ct_CC=$ac_cv_prog_ac_ct_CC
2755if test -n "$ac_ct_CC"; then
2756  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2757$as_echo "$ac_ct_CC" >&6; }
2758else
2759  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2760$as_echo "no" >&6; }
2761fi
2762
2763  if test "x$ac_ct_CC" = x; then
2764    CC=""
2765  else
2766    case $cross_compiling:$ac_tool_warned in
2767yes:)
2768{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2769$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2770ac_tool_warned=yes ;;
2771esac
2772    CC=$ac_ct_CC
2773  fi
2774else
2775  CC="$ac_cv_prog_CC"
2776fi
2777
2778if test -z "$CC"; then
2779          if test -n "$ac_tool_prefix"; then
2780    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2781set dummy ${ac_tool_prefix}cc; ac_word=$2
2782{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2783$as_echo_n "checking for $ac_word... " >&6; }
2784if ${ac_cv_prog_CC+:} false; then :
2785  $as_echo_n "(cached) " >&6
2786else
2787  if test -n "$CC"; then
2788  ac_cv_prog_CC="$CC" # Let the user override the test.
2789else
2790as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2791for as_dir in $PATH
2792do
2793  IFS=$as_save_IFS
2794  test -z "$as_dir" && as_dir=.
2795    for ac_exec_ext in '' $ac_executable_extensions; do
2796  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2797    ac_cv_prog_CC="${ac_tool_prefix}cc"
2798    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2799    break 2
2800  fi
2801done
2802  done
2803IFS=$as_save_IFS
2804
2805fi
2806fi
2807CC=$ac_cv_prog_CC
2808if test -n "$CC"; then
2809  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2810$as_echo "$CC" >&6; }
2811else
2812  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2813$as_echo "no" >&6; }
2814fi
2815
2816
2817  fi
2818fi
2819if test -z "$CC"; then
2820  # Extract the first word of "cc", so it can be a program name with args.
2821set dummy cc; ac_word=$2
2822{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2823$as_echo_n "checking for $ac_word... " >&6; }
2824if ${ac_cv_prog_CC+:} false; then :
2825  $as_echo_n "(cached) " >&6
2826else
2827  if test -n "$CC"; then
2828  ac_cv_prog_CC="$CC" # Let the user override the test.
2829else
2830  ac_prog_rejected=no
2831as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2832for as_dir in $PATH
2833do
2834  IFS=$as_save_IFS
2835  test -z "$as_dir" && as_dir=.
2836    for ac_exec_ext in '' $ac_executable_extensions; do
2837  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2838    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2839       ac_prog_rejected=yes
2840       continue
2841     fi
2842    ac_cv_prog_CC="cc"
2843    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2844    break 2
2845  fi
2846done
2847  done
2848IFS=$as_save_IFS
2849
2850if test $ac_prog_rejected = yes; then
2851  # We found a bogon in the path, so make sure we never use it.
2852  set dummy $ac_cv_prog_CC
2853  shift
2854  if test $# != 0; then
2855    # We chose a different compiler from the bogus one.
2856    # However, it has the same basename, so the bogon will be chosen
2857    # first if we set CC to just the basename; use the full file name.
2858    shift
2859    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2860  fi
2861fi
2862fi
2863fi
2864CC=$ac_cv_prog_CC
2865if test -n "$CC"; then
2866  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2867$as_echo "$CC" >&6; }
2868else
2869  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2870$as_echo "no" >&6; }
2871fi
2872
2873
2874fi
2875if test -z "$CC"; then
2876  if test -n "$ac_tool_prefix"; then
2877  for ac_prog in cl.exe
2878  do
2879    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2880set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2881{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2882$as_echo_n "checking for $ac_word... " >&6; }
2883if ${ac_cv_prog_CC+:} false; then :
2884  $as_echo_n "(cached) " >&6
2885else
2886  if test -n "$CC"; then
2887  ac_cv_prog_CC="$CC" # Let the user override the test.
2888else
2889as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2890for as_dir in $PATH
2891do
2892  IFS=$as_save_IFS
2893  test -z "$as_dir" && as_dir=.
2894    for ac_exec_ext in '' $ac_executable_extensions; do
2895  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2896    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2897    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2898    break 2
2899  fi
2900done
2901  done
2902IFS=$as_save_IFS
2903
2904fi
2905fi
2906CC=$ac_cv_prog_CC
2907if test -n "$CC"; then
2908  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2909$as_echo "$CC" >&6; }
2910else
2911  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2912$as_echo "no" >&6; }
2913fi
2914
2915
2916    test -n "$CC" && break
2917  done
2918fi
2919if test -z "$CC"; then
2920  ac_ct_CC=$CC
2921  for ac_prog in cl.exe
2922do
2923  # Extract the first word of "$ac_prog", so it can be a program name with args.
2924set dummy $ac_prog; ac_word=$2
2925{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2926$as_echo_n "checking for $ac_word... " >&6; }
2927if ${ac_cv_prog_ac_ct_CC+:} false; then :
2928  $as_echo_n "(cached) " >&6
2929else
2930  if test -n "$ac_ct_CC"; then
2931  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2932else
2933as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2934for as_dir in $PATH
2935do
2936  IFS=$as_save_IFS
2937  test -z "$as_dir" && as_dir=.
2938    for ac_exec_ext in '' $ac_executable_extensions; do
2939  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2940    ac_cv_prog_ac_ct_CC="$ac_prog"
2941    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2942    break 2
2943  fi
2944done
2945  done
2946IFS=$as_save_IFS
2947
2948fi
2949fi
2950ac_ct_CC=$ac_cv_prog_ac_ct_CC
2951if test -n "$ac_ct_CC"; then
2952  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2953$as_echo "$ac_ct_CC" >&6; }
2954else
2955  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2956$as_echo "no" >&6; }
2957fi
2958
2959
2960  test -n "$ac_ct_CC" && break
2961done
2962
2963  if test "x$ac_ct_CC" = x; then
2964    CC=""
2965  else
2966    case $cross_compiling:$ac_tool_warned in
2967yes:)
2968{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2969$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2970ac_tool_warned=yes ;;
2971esac
2972    CC=$ac_ct_CC
2973  fi
2974fi
2975
2976fi
2977
2978
2979test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2980$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2981as_fn_error $? "no acceptable C compiler found in \$PATH
2982See \`config.log' for more details" "$LINENO" 5; }
2983
2984# Provide some information about the compiler.
2985$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2986set X $ac_compile
2987ac_compiler=$2
2988for ac_option in --version -v -V -qversion; do
2989  { { ac_try="$ac_compiler $ac_option >&5"
2990case "(($ac_try" in
2991  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2992  *) ac_try_echo=$ac_try;;
2993esac
2994eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2995$as_echo "$ac_try_echo"; } >&5
2996  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2997  ac_status=$?
2998  if test -s conftest.err; then
2999    sed '10a\
3000... rest of stderr output deleted ...
3001         10q' conftest.err >conftest.er1
3002    cat conftest.er1 >&5
3003  fi
3004  rm -f conftest.er1 conftest.err
3005  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3006  test $ac_status = 0; }
3007done
3008
3009cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3010/* end confdefs.h.  */
3011
3012int
3013main ()
3014{
3015
3016  ;
3017  return 0;
3018}
3019_ACEOF
3020ac_clean_files_save=$ac_clean_files
3021ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3022# Try to create an executable without -o first, disregard a.out.
3023# It will help us diagnose broken compilers, and finding out an intuition
3024# of exeext.
3025{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3026$as_echo_n "checking whether the C compiler works... " >&6; }
3027ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3028
3029# The possible output files:
3030ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3031
3032ac_rmfiles=
3033for ac_file in $ac_files
3034do
3035  case $ac_file in
3036    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3037    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3038  esac
3039done
3040rm -f $ac_rmfiles
3041
3042if { { ac_try="$ac_link_default"
3043case "(($ac_try" in
3044  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3045  *) ac_try_echo=$ac_try;;
3046esac
3047eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3048$as_echo "$ac_try_echo"; } >&5
3049  (eval "$ac_link_default") 2>&5
3050  ac_status=$?
3051  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3052  test $ac_status = 0; }; then :
3053  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3054# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3055# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3056# so that the user can short-circuit this test for compilers unknown to
3057# Autoconf.
3058for ac_file in $ac_files ''
3059do
3060  test -f "$ac_file" || continue
3061  case $ac_file in
3062    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3063	;;
3064    [ab].out )
3065	# We found the default executable, but exeext='' is most
3066	# certainly right.
3067	break;;
3068    *.* )
3069	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3070	then :; else
3071	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3072	fi
3073	# We set ac_cv_exeext here because the later test for it is not
3074	# safe: cross compilers may not add the suffix if given an `-o'
3075	# argument, so we may need to know it at that point already.
3076	# Even if this section looks crufty: it has the advantage of
3077	# actually working.
3078	break;;
3079    * )
3080	break;;
3081  esac
3082done
3083test "$ac_cv_exeext" = no && ac_cv_exeext=
3084
3085else
3086  ac_file=''
3087fi
3088if test -z "$ac_file"; then :
3089  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3090$as_echo "no" >&6; }
3091$as_echo "$as_me: failed program was:" >&5
3092sed 's/^/| /' conftest.$ac_ext >&5
3093
3094{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3095$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3096as_fn_error 77 "C compiler cannot create executables
3097See \`config.log' for more details" "$LINENO" 5; }
3098else
3099  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3100$as_echo "yes" >&6; }
3101fi
3102{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3103$as_echo_n "checking for C compiler default output file name... " >&6; }
3104{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3105$as_echo "$ac_file" >&6; }
3106ac_exeext=$ac_cv_exeext
3107
3108rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3109ac_clean_files=$ac_clean_files_save
3110{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3111$as_echo_n "checking for suffix of executables... " >&6; }
3112if { { ac_try="$ac_link"
3113case "(($ac_try" in
3114  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3115  *) ac_try_echo=$ac_try;;
3116esac
3117eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3118$as_echo "$ac_try_echo"; } >&5
3119  (eval "$ac_link") 2>&5
3120  ac_status=$?
3121  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3122  test $ac_status = 0; }; then :
3123  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3124# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3125# work properly (i.e., refer to `conftest.exe'), while it won't with
3126# `rm'.
3127for ac_file in conftest.exe conftest conftest.*; do
3128  test -f "$ac_file" || continue
3129  case $ac_file in
3130    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3131    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3132	  break;;
3133    * ) break;;
3134  esac
3135done
3136else
3137  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3138$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3139as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3140See \`config.log' for more details" "$LINENO" 5; }
3141fi
3142rm -f conftest conftest$ac_cv_exeext
3143{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3144$as_echo "$ac_cv_exeext" >&6; }
3145
3146rm -f conftest.$ac_ext
3147EXEEXT=$ac_cv_exeext
3148ac_exeext=$EXEEXT
3149cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3150/* end confdefs.h.  */
3151#include <stdio.h>
3152int
3153main ()
3154{
3155FILE *f = fopen ("conftest.out", "w");
3156 return ferror (f) || fclose (f) != 0;
3157
3158  ;
3159  return 0;
3160}
3161_ACEOF
3162ac_clean_files="$ac_clean_files conftest.out"
3163# Check that the compiler produces executables we can run.  If not, either
3164# the compiler is broken, or we cross compile.
3165{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3166$as_echo_n "checking whether we are cross compiling... " >&6; }
3167if test "$cross_compiling" != yes; then
3168  { { ac_try="$ac_link"
3169case "(($ac_try" in
3170  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3171  *) ac_try_echo=$ac_try;;
3172esac
3173eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3174$as_echo "$ac_try_echo"; } >&5
3175  (eval "$ac_link") 2>&5
3176  ac_status=$?
3177  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3178  test $ac_status = 0; }
3179  if { ac_try='./conftest$ac_cv_exeext'
3180  { { case "(($ac_try" in
3181  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3182  *) ac_try_echo=$ac_try;;
3183esac
3184eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3185$as_echo "$ac_try_echo"; } >&5
3186  (eval "$ac_try") 2>&5
3187  ac_status=$?
3188  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3189  test $ac_status = 0; }; }; then
3190    cross_compiling=no
3191  else
3192    if test "$cross_compiling" = maybe; then
3193	cross_compiling=yes
3194    else
3195	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3196$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3197as_fn_error $? "cannot run C compiled programs.
3198If you meant to cross compile, use \`--host'.
3199See \`config.log' for more details" "$LINENO" 5; }
3200    fi
3201  fi
3202fi
3203{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3204$as_echo "$cross_compiling" >&6; }
3205
3206rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3207ac_clean_files=$ac_clean_files_save
3208{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3209$as_echo_n "checking for suffix of object files... " >&6; }
3210if ${ac_cv_objext+:} false; then :
3211  $as_echo_n "(cached) " >&6
3212else
3213  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3214/* end confdefs.h.  */
3215
3216int
3217main ()
3218{
3219
3220  ;
3221  return 0;
3222}
3223_ACEOF
3224rm -f conftest.o conftest.obj
3225if { { ac_try="$ac_compile"
3226case "(($ac_try" in
3227  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3228  *) ac_try_echo=$ac_try;;
3229esac
3230eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3231$as_echo "$ac_try_echo"; } >&5
3232  (eval "$ac_compile") 2>&5
3233  ac_status=$?
3234  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3235  test $ac_status = 0; }; then :
3236  for ac_file in conftest.o conftest.obj conftest.*; do
3237  test -f "$ac_file" || continue;
3238  case $ac_file in
3239    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3240    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3241       break;;
3242  esac
3243done
3244else
3245  $as_echo "$as_me: failed program was:" >&5
3246sed 's/^/| /' conftest.$ac_ext >&5
3247
3248{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3249$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3250as_fn_error $? "cannot compute suffix of object files: cannot compile
3251See \`config.log' for more details" "$LINENO" 5; }
3252fi
3253rm -f conftest.$ac_cv_objext conftest.$ac_ext
3254fi
3255{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3256$as_echo "$ac_cv_objext" >&6; }
3257OBJEXT=$ac_cv_objext
3258ac_objext=$OBJEXT
3259{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3260$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3261if ${ac_cv_c_compiler_gnu+:} false; then :
3262  $as_echo_n "(cached) " >&6
3263else
3264  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3265/* end confdefs.h.  */
3266
3267int
3268main ()
3269{
3270#ifndef __GNUC__
3271       choke me
3272#endif
3273
3274  ;
3275  return 0;
3276}
3277_ACEOF
3278if ac_fn_c_try_compile "$LINENO"; then :
3279  ac_compiler_gnu=yes
3280else
3281  ac_compiler_gnu=no
3282fi
3283rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3284ac_cv_c_compiler_gnu=$ac_compiler_gnu
3285
3286fi
3287{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3288$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3289if test $ac_compiler_gnu = yes; then
3290  GCC=yes
3291else
3292  GCC=
3293fi
3294ac_test_CFLAGS=${CFLAGS+set}
3295ac_save_CFLAGS=$CFLAGS
3296{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3297$as_echo_n "checking whether $CC accepts -g... " >&6; }
3298if ${ac_cv_prog_cc_g+:} false; then :
3299  $as_echo_n "(cached) " >&6
3300else
3301  ac_save_c_werror_flag=$ac_c_werror_flag
3302   ac_c_werror_flag=yes
3303   ac_cv_prog_cc_g=no
3304   CFLAGS="-g"
3305   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3306/* end confdefs.h.  */
3307
3308int
3309main ()
3310{
3311
3312  ;
3313  return 0;
3314}
3315_ACEOF
3316if ac_fn_c_try_compile "$LINENO"; then :
3317  ac_cv_prog_cc_g=yes
3318else
3319  CFLAGS=""
3320      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3321/* end confdefs.h.  */
3322
3323int
3324main ()
3325{
3326
3327  ;
3328  return 0;
3329}
3330_ACEOF
3331if ac_fn_c_try_compile "$LINENO"; then :
3332
3333else
3334  ac_c_werror_flag=$ac_save_c_werror_flag
3335	 CFLAGS="-g"
3336	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3337/* end confdefs.h.  */
3338
3339int
3340main ()
3341{
3342
3343  ;
3344  return 0;
3345}
3346_ACEOF
3347if ac_fn_c_try_compile "$LINENO"; then :
3348  ac_cv_prog_cc_g=yes
3349fi
3350rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3351fi
3352rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3353fi
3354rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3355   ac_c_werror_flag=$ac_save_c_werror_flag
3356fi
3357{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3358$as_echo "$ac_cv_prog_cc_g" >&6; }
3359if test "$ac_test_CFLAGS" = set; then
3360  CFLAGS=$ac_save_CFLAGS
3361elif test $ac_cv_prog_cc_g = yes; then
3362  if test "$GCC" = yes; then
3363    CFLAGS="-g -O2"
3364  else
3365    CFLAGS="-g"
3366  fi
3367else
3368  if test "$GCC" = yes; then
3369    CFLAGS="-O2"
3370  else
3371    CFLAGS=
3372  fi
3373fi
3374{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3375$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3376if ${ac_cv_prog_cc_c89+:} false; then :
3377  $as_echo_n "(cached) " >&6
3378else
3379  ac_cv_prog_cc_c89=no
3380ac_save_CC=$CC
3381cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3382/* end confdefs.h.  */
3383#include <stdarg.h>
3384#include <stdio.h>
3385#include <sys/types.h>
3386#include <sys/stat.h>
3387/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3388struct buf { int x; };
3389FILE * (*rcsopen) (struct buf *, struct stat *, int);
3390static char *e (p, i)
3391     char **p;
3392     int i;
3393{
3394  return p[i];
3395}
3396static char *f (char * (*g) (char **, int), char **p, ...)
3397{
3398  char *s;
3399  va_list v;
3400  va_start (v,p);
3401  s = g (p, va_arg (v,int));
3402  va_end (v);
3403  return s;
3404}
3405
3406/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3407   function prototypes and stuff, but not '\xHH' hex character constants.
3408   These don't provoke an error unfortunately, instead are silently treated
3409   as 'x'.  The following induces an error, until -std is added to get
3410   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3411   array size at least.  It's necessary to write '\x00'==0 to get something
3412   that's true only with -std.  */
3413int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3414
3415/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3416   inside strings and character constants.  */
3417#define FOO(x) 'x'
3418int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3419
3420int test (int i, double x);
3421struct s1 {int (*f) (int a);};
3422struct s2 {int (*f) (double a);};
3423int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3424int argc;
3425char **argv;
3426int
3427main ()
3428{
3429return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3430  ;
3431  return 0;
3432}
3433_ACEOF
3434for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3435	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3436do
3437  CC="$ac_save_CC $ac_arg"
3438  if ac_fn_c_try_compile "$LINENO"; then :
3439  ac_cv_prog_cc_c89=$ac_arg
3440fi
3441rm -f core conftest.err conftest.$ac_objext
3442  test "x$ac_cv_prog_cc_c89" != "xno" && break
3443done
3444rm -f conftest.$ac_ext
3445CC=$ac_save_CC
3446
3447fi
3448# AC_CACHE_VAL
3449case "x$ac_cv_prog_cc_c89" in
3450  x)
3451    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3452$as_echo "none needed" >&6; } ;;
3453  xno)
3454    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3455$as_echo "unsupported" >&6; } ;;
3456  *)
3457    CC="$CC $ac_cv_prog_cc_c89"
3458    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3459$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3460esac
3461if test "x$ac_cv_prog_cc_c89" != xno; then :
3462
3463fi
3464
3465ac_ext=c
3466ac_cpp='$CPP $CPPFLAGS'
3467ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3468ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3469ac_compiler_gnu=$ac_cv_c_compiler_gnu
3470
3471depcc="$CC"   am_compiler_list=
3472
3473{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3474$as_echo_n "checking dependency style of $depcc... " >&6; }
3475if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3476  $as_echo_n "(cached) " >&6
3477else
3478  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3479  # We make a subdir and do the tests there.  Otherwise we can end up
3480  # making bogus files that we don't know about and never remove.  For
3481  # instance it was reported that on HP-UX the gcc test will end up
3482  # making a dummy file named `D' -- because `-MD' means `put the output
3483  # in D'.
3484  mkdir conftest.dir
3485  # Copy depcomp to subdir because otherwise we won't find it if we're
3486  # using a relative directory.
3487  cp "$am_depcomp" conftest.dir
3488  cd conftest.dir
3489  # We will build objects and dependencies in a subdirectory because
3490  # it helps to detect inapplicable dependency modes.  For instance
3491  # both Tru64's cc and ICC support -MD to output dependencies as a
3492  # side effect of compilation, but ICC will put the dependencies in
3493  # the current directory while Tru64 will put them in the object
3494  # directory.
3495  mkdir sub
3496
3497  am_cv_CC_dependencies_compiler_type=none
3498  if test "$am_compiler_list" = ""; then
3499     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3500  fi
3501  am__universal=false
3502  case " $depcc " in #(
3503     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3504     esac
3505
3506  for depmode in $am_compiler_list; do
3507    # Setup a source with many dependencies, because some compilers
3508    # like to wrap large dependency lists on column 80 (with \), and
3509    # we should not choose a depcomp mode which is confused by this.
3510    #
3511    # We need to recreate these files for each test, as the compiler may
3512    # overwrite some of them when testing with obscure command lines.
3513    # This happens at least with the AIX C compiler.
3514    : > sub/conftest.c
3515    for i in 1 2 3 4 5 6; do
3516      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3517      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3518      # Solaris 8's {/usr,}/bin/sh.
3519      touch sub/conftst$i.h
3520    done
3521    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3522
3523    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3524    # mode.  It turns out that the SunPro C++ compiler does not properly
3525    # handle `-M -o', and we need to detect this.  Also, some Intel
3526    # versions had trouble with output in subdirs
3527    am__obj=sub/conftest.${OBJEXT-o}
3528    am__minus_obj="-o $am__obj"
3529    case $depmode in
3530    gcc)
3531      # This depmode causes a compiler race in universal mode.
3532      test "$am__universal" = false || continue
3533      ;;
3534    nosideeffect)
3535      # after this tag, mechanisms are not by side-effect, so they'll
3536      # only be used when explicitly requested
3537      if test "x$enable_dependency_tracking" = xyes; then
3538	continue
3539      else
3540	break
3541      fi
3542      ;;
3543    msvisualcpp | msvcmsys)
3544      # This compiler won't grok `-c -o', but also, the minuso test has
3545      # not run yet.  These depmodes are late enough in the game, and
3546      # so weak that their functioning should not be impacted.
3547      am__obj=conftest.${OBJEXT-o}
3548      am__minus_obj=
3549      ;;
3550    none) break ;;
3551    esac
3552    if depmode=$depmode \
3553       source=sub/conftest.c object=$am__obj \
3554       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3555       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3556         >/dev/null 2>conftest.err &&
3557       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3558       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3559       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3560       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3561      # icc doesn't choke on unknown options, it will just issue warnings
3562      # or remarks (even with -Werror).  So we grep stderr for any message
3563      # that says an option was ignored or not supported.
3564      # When given -MP, icc 7.0 and 7.1 complain thusly:
3565      #   icc: Command line warning: ignoring option '-M'; no argument required
3566      # The diagnosis changed in icc 8.0:
3567      #   icc: Command line remark: option '-MP' not supported
3568      if (grep 'ignoring option' conftest.err ||
3569          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3570        am_cv_CC_dependencies_compiler_type=$depmode
3571        break
3572      fi
3573    fi
3574  done
3575
3576  cd ..
3577  rm -rf conftest.dir
3578else
3579  am_cv_CC_dependencies_compiler_type=none
3580fi
3581
3582fi
3583{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3584$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3585CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3586
3587 if
3588  test "x$enable_dependency_tracking" != xno \
3589  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3590  am__fastdepCC_TRUE=
3591  am__fastdepCC_FALSE='#'
3592else
3593  am__fastdepCC_TRUE='#'
3594  am__fastdepCC_FALSE=
3595fi
3596
3597
3598   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3599$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3600if ${ac_cv_prog_cc_c99+:} false; then :
3601  $as_echo_n "(cached) " >&6
3602else
3603  ac_cv_prog_cc_c99=no
3604ac_save_CC=$CC
3605cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3606/* end confdefs.h.  */
3607#include <stdarg.h>
3608#include <stdbool.h>
3609#include <stdlib.h>
3610#include <wchar.h>
3611#include <stdio.h>
3612
3613// Check varargs macros.  These examples are taken from C99 6.10.3.5.
3614#define debug(...) fprintf (stderr, __VA_ARGS__)
3615#define showlist(...) puts (#__VA_ARGS__)
3616#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3617static void
3618test_varargs_macros (void)
3619{
3620  int x = 1234;
3621  int y = 5678;
3622  debug ("Flag");
3623  debug ("X = %d\n", x);
3624  showlist (The first, second, and third items.);
3625  report (x>y, "x is %d but y is %d", x, y);
3626}
3627
3628// Check long long types.
3629#define BIG64 18446744073709551615ull
3630#define BIG32 4294967295ul
3631#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3632#if !BIG_OK
3633  your preprocessor is broken;
3634#endif
3635#if BIG_OK
3636#else
3637  your preprocessor is broken;
3638#endif
3639static long long int bignum = -9223372036854775807LL;
3640static unsigned long long int ubignum = BIG64;
3641
3642struct incomplete_array
3643{
3644  int datasize;
3645  double data[];
3646};
3647
3648struct named_init {
3649  int number;
3650  const wchar_t *name;
3651  double average;
3652};
3653
3654typedef const char *ccp;
3655
3656static inline int
3657test_restrict (ccp restrict text)
3658{
3659  // See if C++-style comments work.
3660  // Iterate through items via the restricted pointer.
3661  // Also check for declarations in for loops.
3662  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3663    continue;
3664  return 0;
3665}
3666
3667// Check varargs and va_copy.
3668static void
3669test_varargs (const char *format, ...)
3670{
3671  va_list args;
3672  va_start (args, format);
3673  va_list args_copy;
3674  va_copy (args_copy, args);
3675
3676  const char *str;
3677  int number;
3678  float fnumber;
3679
3680  while (*format)
3681    {
3682      switch (*format++)
3683	{
3684	case 's': // string
3685	  str = va_arg (args_copy, const char *);
3686	  break;
3687	case 'd': // int
3688	  number = va_arg (args_copy, int);
3689	  break;
3690	case 'f': // float
3691	  fnumber = va_arg (args_copy, double);
3692	  break;
3693	default:
3694	  break;
3695	}
3696    }
3697  va_end (args_copy);
3698  va_end (args);
3699}
3700
3701int
3702main ()
3703{
3704
3705  // Check bool.
3706  _Bool success = false;
3707
3708  // Check restrict.
3709  if (test_restrict ("String literal") == 0)
3710    success = true;
3711  char *restrict newvar = "Another string";
3712
3713  // Check varargs.
3714  test_varargs ("s, d' f .", "string", 65, 34.234);
3715  test_varargs_macros ();
3716
3717  // Check flexible array members.
3718  struct incomplete_array *ia =
3719    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3720  ia->datasize = 10;
3721  for (int i = 0; i < ia->datasize; ++i)
3722    ia->data[i] = i * 1.234;
3723
3724  // Check named initializers.
3725  struct named_init ni = {
3726    .number = 34,
3727    .name = L"Test wide string",
3728    .average = 543.34343,
3729  };
3730
3731  ni.number = 58;
3732
3733  int dynamic_array[ni.number];
3734  dynamic_array[ni.number - 1] = 543;
3735
3736  // work around unused variable warnings
3737  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3738	  || dynamic_array[ni.number - 1] != 543);
3739
3740  ;
3741  return 0;
3742}
3743_ACEOF
3744for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
3745do
3746  CC="$ac_save_CC $ac_arg"
3747  if ac_fn_c_try_compile "$LINENO"; then :
3748  ac_cv_prog_cc_c99=$ac_arg
3749fi
3750rm -f core conftest.err conftest.$ac_objext
3751  test "x$ac_cv_prog_cc_c99" != "xno" && break
3752done
3753rm -f conftest.$ac_ext
3754CC=$ac_save_CC
3755
3756fi
3757# AC_CACHE_VAL
3758case "x$ac_cv_prog_cc_c99" in
3759  x)
3760    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3761$as_echo "none needed" >&6; } ;;
3762  xno)
3763    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3764$as_echo "unsupported" >&6; } ;;
3765  *)
3766    CC="$CC $ac_cv_prog_cc_c99"
3767    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3768$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3769esac
3770if test "x$ac_cv_prog_cc_c99" != xno; then :
3771
3772fi
3773
3774
3775
3776ac_ext=c
3777ac_cpp='$CPP $CPPFLAGS'
3778ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3779ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3780ac_compiler_gnu=$ac_cv_c_compiler_gnu
3781{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3782$as_echo_n "checking how to run the C preprocessor... " >&6; }
3783# On Suns, sometimes $CPP names a directory.
3784if test -n "$CPP" && test -d "$CPP"; then
3785  CPP=
3786fi
3787if test -z "$CPP"; then
3788  if ${ac_cv_prog_CPP+:} false; then :
3789  $as_echo_n "(cached) " >&6
3790else
3791      # Double quotes because CPP needs to be expanded
3792    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3793    do
3794      ac_preproc_ok=false
3795for ac_c_preproc_warn_flag in '' yes
3796do
3797  # Use a header file that comes with gcc, so configuring glibc
3798  # with a fresh cross-compiler works.
3799  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3800  # <limits.h> exists even on freestanding compilers.
3801  # On the NeXT, cc -E runs the code through the compiler's parser,
3802  # not just through cpp. "Syntax error" is here to catch this case.
3803  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3804/* end confdefs.h.  */
3805#ifdef __STDC__
3806# include <limits.h>
3807#else
3808# include <assert.h>
3809#endif
3810		     Syntax error
3811_ACEOF
3812if ac_fn_c_try_cpp "$LINENO"; then :
3813
3814else
3815  # Broken: fails on valid input.
3816continue
3817fi
3818rm -f conftest.err conftest.i conftest.$ac_ext
3819
3820  # OK, works on sane cases.  Now check whether nonexistent headers
3821  # can be detected and how.
3822  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3823/* end confdefs.h.  */
3824#include <ac_nonexistent.h>
3825_ACEOF
3826if ac_fn_c_try_cpp "$LINENO"; then :
3827  # Broken: success on invalid input.
3828continue
3829else
3830  # Passes both tests.
3831ac_preproc_ok=:
3832break
3833fi
3834rm -f conftest.err conftest.i conftest.$ac_ext
3835
3836done
3837# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3838rm -f conftest.i conftest.err conftest.$ac_ext
3839if $ac_preproc_ok; then :
3840  break
3841fi
3842
3843    done
3844    ac_cv_prog_CPP=$CPP
3845
3846fi
3847  CPP=$ac_cv_prog_CPP
3848else
3849  ac_cv_prog_CPP=$CPP
3850fi
3851{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3852$as_echo "$CPP" >&6; }
3853ac_preproc_ok=false
3854for ac_c_preproc_warn_flag in '' yes
3855do
3856  # Use a header file that comes with gcc, so configuring glibc
3857  # with a fresh cross-compiler works.
3858  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3859  # <limits.h> exists even on freestanding compilers.
3860  # On the NeXT, cc -E runs the code through the compiler's parser,
3861  # not just through cpp. "Syntax error" is here to catch this case.
3862  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3863/* end confdefs.h.  */
3864#ifdef __STDC__
3865# include <limits.h>
3866#else
3867# include <assert.h>
3868#endif
3869		     Syntax error
3870_ACEOF
3871if ac_fn_c_try_cpp "$LINENO"; then :
3872
3873else
3874  # Broken: fails on valid input.
3875continue
3876fi
3877rm -f conftest.err conftest.i conftest.$ac_ext
3878
3879  # OK, works on sane cases.  Now check whether nonexistent headers
3880  # can be detected and how.
3881  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3882/* end confdefs.h.  */
3883#include <ac_nonexistent.h>
3884_ACEOF
3885if ac_fn_c_try_cpp "$LINENO"; then :
3886  # Broken: success on invalid input.
3887continue
3888else
3889  # Passes both tests.
3890ac_preproc_ok=:
3891break
3892fi
3893rm -f conftest.err conftest.i conftest.$ac_ext
3894
3895done
3896# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3897rm -f conftest.i conftest.err conftest.$ac_ext
3898if $ac_preproc_ok; then :
3899
3900else
3901  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3902$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3903as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3904See \`config.log' for more details" "$LINENO" 5; }
3905fi
3906
3907ac_ext=c
3908ac_cpp='$CPP $CPPFLAGS'
3909ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3910ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3911ac_compiler_gnu=$ac_cv_c_compiler_gnu
3912
3913
3914{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3915$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3916if ${ac_cv_path_GREP+:} false; then :
3917  $as_echo_n "(cached) " >&6
3918else
3919  if test -z "$GREP"; then
3920  ac_path_GREP_found=false
3921  # Loop through the user's path and test for each of PROGNAME-LIST
3922  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3923for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3924do
3925  IFS=$as_save_IFS
3926  test -z "$as_dir" && as_dir=.
3927    for ac_prog in grep ggrep; do
3928    for ac_exec_ext in '' $ac_executable_extensions; do
3929      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3930      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3931# Check for GNU ac_path_GREP and select it if it is found.
3932  # Check for GNU $ac_path_GREP
3933case `"$ac_path_GREP" --version 2>&1` in
3934*GNU*)
3935  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3936*)
3937  ac_count=0
3938  $as_echo_n 0123456789 >"conftest.in"
3939  while :
3940  do
3941    cat "conftest.in" "conftest.in" >"conftest.tmp"
3942    mv "conftest.tmp" "conftest.in"
3943    cp "conftest.in" "conftest.nl"
3944    $as_echo 'GREP' >> "conftest.nl"
3945    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3946    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3947    as_fn_arith $ac_count + 1 && ac_count=$as_val
3948    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3949      # Best one so far, save it but keep looking for a better one
3950      ac_cv_path_GREP="$ac_path_GREP"
3951      ac_path_GREP_max=$ac_count
3952    fi
3953    # 10*(2^10) chars as input seems more than enough
3954    test $ac_count -gt 10 && break
3955  done
3956  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3957esac
3958
3959      $ac_path_GREP_found && break 3
3960    done
3961  done
3962  done
3963IFS=$as_save_IFS
3964  if test -z "$ac_cv_path_GREP"; then
3965    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3966  fi
3967else
3968  ac_cv_path_GREP=$GREP
3969fi
3970
3971fi
3972{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3973$as_echo "$ac_cv_path_GREP" >&6; }
3974 GREP="$ac_cv_path_GREP"
3975
3976
3977{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3978$as_echo_n "checking for egrep... " >&6; }
3979if ${ac_cv_path_EGREP+:} false; then :
3980  $as_echo_n "(cached) " >&6
3981else
3982  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3983   then ac_cv_path_EGREP="$GREP -E"
3984   else
3985     if test -z "$EGREP"; then
3986  ac_path_EGREP_found=false
3987  # Loop through the user's path and test for each of PROGNAME-LIST
3988  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3989for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3990do
3991  IFS=$as_save_IFS
3992  test -z "$as_dir" && as_dir=.
3993    for ac_prog in egrep; do
3994    for ac_exec_ext in '' $ac_executable_extensions; do
3995      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3996      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3997# Check for GNU ac_path_EGREP and select it if it is found.
3998  # Check for GNU $ac_path_EGREP
3999case `"$ac_path_EGREP" --version 2>&1` in
4000*GNU*)
4001  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4002*)
4003  ac_count=0
4004  $as_echo_n 0123456789 >"conftest.in"
4005  while :
4006  do
4007    cat "conftest.in" "conftest.in" >"conftest.tmp"
4008    mv "conftest.tmp" "conftest.in"
4009    cp "conftest.in" "conftest.nl"
4010    $as_echo 'EGREP' >> "conftest.nl"
4011    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4012    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4013    as_fn_arith $ac_count + 1 && ac_count=$as_val
4014    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4015      # Best one so far, save it but keep looking for a better one
4016      ac_cv_path_EGREP="$ac_path_EGREP"
4017      ac_path_EGREP_max=$ac_count
4018    fi
4019    # 10*(2^10) chars as input seems more than enough
4020    test $ac_count -gt 10 && break
4021  done
4022  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4023esac
4024
4025      $ac_path_EGREP_found && break 3
4026    done
4027  done
4028  done
4029IFS=$as_save_IFS
4030  if test -z "$ac_cv_path_EGREP"; then
4031    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4032  fi
4033else
4034  ac_cv_path_EGREP=$EGREP
4035fi
4036
4037   fi
4038fi
4039{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4040$as_echo "$ac_cv_path_EGREP" >&6; }
4041 EGREP="$ac_cv_path_EGREP"
4042
4043
4044{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4045$as_echo_n "checking for ANSI C header files... " >&6; }
4046if ${ac_cv_header_stdc+:} false; then :
4047  $as_echo_n "(cached) " >&6
4048else
4049  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4050/* end confdefs.h.  */
4051#include <stdlib.h>
4052#include <stdarg.h>
4053#include <string.h>
4054#include <float.h>
4055
4056int
4057main ()
4058{
4059
4060  ;
4061  return 0;
4062}
4063_ACEOF
4064if ac_fn_c_try_compile "$LINENO"; then :
4065  ac_cv_header_stdc=yes
4066else
4067  ac_cv_header_stdc=no
4068fi
4069rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4070
4071if test $ac_cv_header_stdc = yes; then
4072  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4073  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4074/* end confdefs.h.  */
4075#include <string.h>
4076
4077_ACEOF
4078if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4079  $EGREP "memchr" >/dev/null 2>&1; then :
4080
4081else
4082  ac_cv_header_stdc=no
4083fi
4084rm -f conftest*
4085
4086fi
4087
4088if test $ac_cv_header_stdc = yes; then
4089  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4090  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4091/* end confdefs.h.  */
4092#include <stdlib.h>
4093
4094_ACEOF
4095if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4096  $EGREP "free" >/dev/null 2>&1; then :
4097
4098else
4099  ac_cv_header_stdc=no
4100fi
4101rm -f conftest*
4102
4103fi
4104
4105if test $ac_cv_header_stdc = yes; then
4106  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4107  if test "$cross_compiling" = yes; then :
4108  :
4109else
4110  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4111/* end confdefs.h.  */
4112#include <ctype.h>
4113#include <stdlib.h>
4114#if ((' ' & 0x0FF) == 0x020)
4115# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4116# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4117#else
4118# define ISLOWER(c) \
4119		   (('a' <= (c) && (c) <= 'i') \
4120		     || ('j' <= (c) && (c) <= 'r') \
4121		     || ('s' <= (c) && (c) <= 'z'))
4122# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4123#endif
4124
4125#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4126int
4127main ()
4128{
4129  int i;
4130  for (i = 0; i < 256; i++)
4131    if (XOR (islower (i), ISLOWER (i))
4132	|| toupper (i) != TOUPPER (i))
4133      return 2;
4134  return 0;
4135}
4136_ACEOF
4137if ac_fn_c_try_run "$LINENO"; then :
4138
4139else
4140  ac_cv_header_stdc=no
4141fi
4142rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4143  conftest.$ac_objext conftest.beam conftest.$ac_ext
4144fi
4145
4146fi
4147fi
4148{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4149$as_echo "$ac_cv_header_stdc" >&6; }
4150if test $ac_cv_header_stdc = yes; then
4151
4152$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4153
4154fi
4155
4156# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4157for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4158		  inttypes.h stdint.h unistd.h
4159do :
4160  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4161ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4162"
4163if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4164  cat >>confdefs.h <<_ACEOF
4165#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4166_ACEOF
4167
4168fi
4169
4170done
4171
4172
4173
4174
4175if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4176	if test -n "$ac_tool_prefix"; then
4177  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4178set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4179{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4180$as_echo_n "checking for $ac_word... " >&6; }
4181if ${ac_cv_path_PKG_CONFIG+:} false; then :
4182  $as_echo_n "(cached) " >&6
4183else
4184  case $PKG_CONFIG in
4185  [\\/]* | ?:[\\/]*)
4186  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4187  ;;
4188  *)
4189  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4190for as_dir in $PATH
4191do
4192  IFS=$as_save_IFS
4193  test -z "$as_dir" && as_dir=.
4194    for ac_exec_ext in '' $ac_executable_extensions; do
4195  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4196    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4197    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4198    break 2
4199  fi
4200done
4201  done
4202IFS=$as_save_IFS
4203
4204  ;;
4205esac
4206fi
4207PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4208if test -n "$PKG_CONFIG"; then
4209  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4210$as_echo "$PKG_CONFIG" >&6; }
4211else
4212  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4213$as_echo "no" >&6; }
4214fi
4215
4216
4217fi
4218if test -z "$ac_cv_path_PKG_CONFIG"; then
4219  ac_pt_PKG_CONFIG=$PKG_CONFIG
4220  # Extract the first word of "pkg-config", so it can be a program name with args.
4221set dummy pkg-config; ac_word=$2
4222{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4223$as_echo_n "checking for $ac_word... " >&6; }
4224if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4225  $as_echo_n "(cached) " >&6
4226else
4227  case $ac_pt_PKG_CONFIG in
4228  [\\/]* | ?:[\\/]*)
4229  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4230  ;;
4231  *)
4232  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4233for as_dir in $PATH
4234do
4235  IFS=$as_save_IFS
4236  test -z "$as_dir" && as_dir=.
4237    for ac_exec_ext in '' $ac_executable_extensions; do
4238  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4239    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4240    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4241    break 2
4242  fi
4243done
4244  done
4245IFS=$as_save_IFS
4246
4247  ;;
4248esac
4249fi
4250ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4251if test -n "$ac_pt_PKG_CONFIG"; then
4252  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4253$as_echo "$ac_pt_PKG_CONFIG" >&6; }
4254else
4255  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4256$as_echo "no" >&6; }
4257fi
4258
4259  if test "x$ac_pt_PKG_CONFIG" = x; then
4260    PKG_CONFIG=""
4261  else
4262    case $cross_compiling:$ac_tool_warned in
4263yes:)
4264{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4265$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4266ac_tool_warned=yes ;;
4267esac
4268    PKG_CONFIG=$ac_pt_PKG_CONFIG
4269  fi
4270else
4271  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4272fi
4273
4274fi
4275if test -n "$PKG_CONFIG"; then
4276	_pkg_min_version=0.9.0
4277	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4278$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4279	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4280		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4281$as_echo "yes" >&6; }
4282	else
4283		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4284$as_echo "no" >&6; }
4285		PKG_CONFIG=""
4286	fi
4287
4288fi
4289# Make sure we can run config.sub.
4290$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4291  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4292
4293{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4294$as_echo_n "checking build system type... " >&6; }
4295if ${ac_cv_build+:} false; then :
4296  $as_echo_n "(cached) " >&6
4297else
4298  ac_build_alias=$build_alias
4299test "x$ac_build_alias" = x &&
4300  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4301test "x$ac_build_alias" = x &&
4302  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4303ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4304  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4305
4306fi
4307{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4308$as_echo "$ac_cv_build" >&6; }
4309case $ac_cv_build in
4310*-*-*) ;;
4311*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4312esac
4313build=$ac_cv_build
4314ac_save_IFS=$IFS; IFS='-'
4315set x $ac_cv_build
4316shift
4317build_cpu=$1
4318build_vendor=$2
4319shift; shift
4320# Remember, the first character of IFS is used to create $*,
4321# except with old shells:
4322build_os=$*
4323IFS=$ac_save_IFS
4324case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4325
4326
4327{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4328$as_echo_n "checking host system type... " >&6; }
4329if ${ac_cv_host+:} false; then :
4330  $as_echo_n "(cached) " >&6
4331else
4332  if test "x$host_alias" = x; then
4333  ac_cv_host=$ac_cv_build
4334else
4335  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4336    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4337fi
4338
4339fi
4340{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4341$as_echo "$ac_cv_host" >&6; }
4342case $ac_cv_host in
4343*-*-*) ;;
4344*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4345esac
4346host=$ac_cv_host
4347ac_save_IFS=$IFS; IFS='-'
4348set x $ac_cv_host
4349shift
4350host_cpu=$1
4351host_vendor=$2
4352shift; shift
4353# Remember, the first character of IFS is used to create $*,
4354# except with old shells:
4355host_os=$*
4356IFS=$ac_save_IFS
4357case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4358
4359
4360{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4361$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4362if ${ac_cv_path_SED+:} false; then :
4363  $as_echo_n "(cached) " >&6
4364else
4365            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4366     for ac_i in 1 2 3 4 5 6 7; do
4367       ac_script="$ac_script$as_nl$ac_script"
4368     done
4369     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4370     { ac_script=; unset ac_script;}
4371     if test -z "$SED"; then
4372  ac_path_SED_found=false
4373  # Loop through the user's path and test for each of PROGNAME-LIST
4374  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4375for as_dir in $PATH
4376do
4377  IFS=$as_save_IFS
4378  test -z "$as_dir" && as_dir=.
4379    for ac_prog in sed gsed; do
4380    for ac_exec_ext in '' $ac_executable_extensions; do
4381      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4382      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4383# Check for GNU ac_path_SED and select it if it is found.
4384  # Check for GNU $ac_path_SED
4385case `"$ac_path_SED" --version 2>&1` in
4386*GNU*)
4387  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4388*)
4389  ac_count=0
4390  $as_echo_n 0123456789 >"conftest.in"
4391  while :
4392  do
4393    cat "conftest.in" "conftest.in" >"conftest.tmp"
4394    mv "conftest.tmp" "conftest.in"
4395    cp "conftest.in" "conftest.nl"
4396    $as_echo '' >> "conftest.nl"
4397    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4398    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4399    as_fn_arith $ac_count + 1 && ac_count=$as_val
4400    if test $ac_count -gt ${ac_path_SED_max-0}; then
4401      # Best one so far, save it but keep looking for a better one
4402      ac_cv_path_SED="$ac_path_SED"
4403      ac_path_SED_max=$ac_count
4404    fi
4405    # 10*(2^10) chars as input seems more than enough
4406    test $ac_count -gt 10 && break
4407  done
4408  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4409esac
4410
4411      $ac_path_SED_found && break 3
4412    done
4413  done
4414  done
4415IFS=$as_save_IFS
4416  if test -z "$ac_cv_path_SED"; then
4417    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4418  fi
4419else
4420  ac_cv_path_SED=$SED
4421fi
4422
4423fi
4424{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4425$as_echo "$ac_cv_path_SED" >&6; }
4426 SED="$ac_cv_path_SED"
4427  rm -f conftest.sed
4428
4429
4430
4431
4432
4433if  test "x$GCC" = xyes ; then
4434    CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
4435-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
4436-Wbad-function-cast -Wformat=2"
4437    case `$CC -dumpversion` in
4438    3.4.* | 4.*)
4439	CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
4440	;;
4441    esac
4442else
4443    ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
4444if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
4445  SUNCC="yes"
4446else
4447  SUNCC="no"
4448fi
4449
4450    if test "x$SUNCC" = "xyes"; then
4451	CWARNFLAGS="-v"
4452    fi
4453fi
4454
4455
4456
4457# If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89
4458
4459
4460
4461# Check whether --enable-strict-compilation was given.
4462if test "${enable_strict_compilation+set}" = set; then :
4463  enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
4464else
4465  STRICT_COMPILE=no
4466fi
4467
4468if test "x$STRICT_COMPILE" = "xyes"; then
4469	ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
4470if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
4471  SUNCC="yes"
4472else
4473  SUNCC="no"
4474fi
4475
4476	ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
4477if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
4478  INTELCC="yes"
4479else
4480  INTELCC="no"
4481fi
4482
4483	if test "x$GCC" = xyes ; then
4484		STRICT_CFLAGS="-pedantic -Werror"
4485	elif test "x$SUNCC" = "xyes"; then
4486		STRICT_CFLAGS="-errwarn"
4487    elif test "x$INTELCC" = "xyes"; then
4488		STRICT_CFLAGS="-Werror"
4489	fi
4490fi
4491CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
4492
4493
4494
4495
4496cat >>confdefs.h <<_ACEOF
4497#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
4498_ACEOF
4499
4500	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
4501	if test "x$PVM" = "x"; then
4502		PVM="0"
4503	fi
4504
4505cat >>confdefs.h <<_ACEOF
4506#define PACKAGE_VERSION_MINOR $PVM
4507_ACEOF
4508
4509	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
4510	if test "x$PVP" = "x"; then
4511		PVP="0"
4512	fi
4513
4514cat >>confdefs.h <<_ACEOF
4515#define PACKAGE_VERSION_PATCHLEVEL $PVP
4516_ACEOF
4517
4518
4519
4520CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
4521mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
4522|| (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
4523echo 'git directory not found: installing possibly empty changelog.' >&2)"
4524
4525
4526
4527
4528macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
4529INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
4530mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
4531|| (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
4532echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
4533
4534
4535
4536
4537
4538
4539if test x$APP_MAN_SUFFIX = x    ; then
4540    APP_MAN_SUFFIX=1
4541fi
4542if test x$APP_MAN_DIR = x    ; then
4543    APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
4544fi
4545
4546if test x$LIB_MAN_SUFFIX = x    ; then
4547    LIB_MAN_SUFFIX=3
4548fi
4549if test x$LIB_MAN_DIR = x    ; then
4550    LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
4551fi
4552
4553if test x$FILE_MAN_SUFFIX = x    ; then
4554    case $host_os in
4555	solaris*)	FILE_MAN_SUFFIX=4  ;;
4556	*)		FILE_MAN_SUFFIX=5  ;;
4557    esac
4558fi
4559if test x$FILE_MAN_DIR = x    ; then
4560    FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
4561fi
4562
4563if test x$MISC_MAN_SUFFIX = x    ; then
4564    case $host_os in
4565	solaris*)	MISC_MAN_SUFFIX=5  ;;
4566	*)		MISC_MAN_SUFFIX=7  ;;
4567    esac
4568fi
4569if test x$MISC_MAN_DIR = x    ; then
4570    MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
4571fi
4572
4573if test x$DRIVER_MAN_SUFFIX = x    ; then
4574    case $host_os in
4575	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
4576	*)		DRIVER_MAN_SUFFIX=4  ;;
4577    esac
4578fi
4579if test x$DRIVER_MAN_DIR = x    ; then
4580    DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
4581fi
4582
4583if test x$ADMIN_MAN_SUFFIX = x    ; then
4584    case $host_os in
4585	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
4586	*)		ADMIN_MAN_SUFFIX=8  ;;
4587    esac
4588fi
4589if test x$ADMIN_MAN_DIR = x    ; then
4590    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
4591fi
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607XORG_MAN_PAGE="X Version 11"
4608
4609MAN_SUBSTS="\
4610	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
4611	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
4612	-e 's|__xservername__|Xorg|g' \
4613	-e 's|__xconfigfile__|xorg.conf|g' \
4614	-e 's|__projectroot__|\$(prefix)|g' \
4615	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
4616	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
4617	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
4618	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
4619	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
4620	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
4621	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
4622
4623
4624
4625# Check whether --enable-silent-rules was given.
4626if test "${enable_silent_rules+set}" = set; then :
4627  enableval=$enable_silent_rules;
4628fi
4629
4630case $enable_silent_rules in
4631yes) AM_DEFAULT_VERBOSITY=0;;
4632no)  AM_DEFAULT_VERBOSITY=1;;
4633*)   AM_DEFAULT_VERBOSITY=0;;
4634esac
4635AM_BACKSLASH='\'
4636
4637
4638
4639ac_config_headers="$ac_config_headers config.h"
4640
4641
4642
4643
4644for ac_prog in cpp
4645do
4646  # Extract the first word of "$ac_prog", so it can be a program name with args.
4647set dummy $ac_prog; ac_word=$2
4648{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4649$as_echo_n "checking for $ac_word... " >&6; }
4650if ${ac_cv_path_RAWCPP+:} false; then :
4651  $as_echo_n "(cached) " >&6
4652else
4653  case $RAWCPP in
4654  [\\/]* | ?:[\\/]*)
4655  ac_cv_path_RAWCPP="$RAWCPP" # Let the user override the test with a path.
4656  ;;
4657  *)
4658  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4659as_dummy="$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib"
4660for as_dir in $as_dummy
4661do
4662  IFS=$as_save_IFS
4663  test -z "$as_dir" && as_dir=.
4664    for ac_exec_ext in '' $ac_executable_extensions; do
4665  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4666    ac_cv_path_RAWCPP="$as_dir/$ac_word$ac_exec_ext"
4667    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4668    break 2
4669  fi
4670done
4671  done
4672IFS=$as_save_IFS
4673
4674  ;;
4675esac
4676fi
4677RAWCPP=$ac_cv_path_RAWCPP
4678if test -n "$RAWCPP"; then
4679  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RAWCPP" >&5
4680$as_echo "$RAWCPP" >&6; }
4681else
4682  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4683$as_echo "no" >&6; }
4684fi
4685
4686
4687  test -n "$RAWCPP" && break
4688done
4689test -n "$RAWCPP" || RAWCPP="${CPP}"
4690
4691
4692# Check for flag to avoid builtin definitions - assumes unix is predefined,
4693# which is not the best choice for supporting other OS'es, but covers most
4694# of the ones we need for now.
4695{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $RAWCPP requires -undef" >&5
4696$as_echo_n "checking if $RAWCPP requires -undef... " >&6; }
4697cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4698/* end confdefs.h.  */
4699Does cpp redefine unix ?
4700_ACEOF
4701if test `${RAWCPP} < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
4702	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4703$as_echo "no" >&6; }
4704else
4705	if test `${RAWCPP} -undef < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
4706		RAWCPPFLAGS=-undef
4707		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4708$as_echo "yes" >&6; }
4709	# under Cygwin unix is still defined even with -undef
4710	elif test `${RAWCPP} -undef -ansi < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
4711		RAWCPPFLAGS="-undef -ansi"
4712		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, with -ansi" >&5
4713$as_echo "yes, with -ansi" >&6; }
4714	else
4715		as_fn_error $? "${RAWCPP} defines unix with or without -undef.  I don't know what to do." "$LINENO" 5
4716	fi
4717fi
4718rm -f conftest.$ac_ext
4719
4720{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $RAWCPP requires -traditional" >&5
4721$as_echo_n "checking if $RAWCPP requires -traditional... " >&6; }
4722cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4723/* end confdefs.h.  */
4724Does cpp preserve   "whitespace"?
4725_ACEOF
4726if test `${RAWCPP} < conftest.$ac_ext | grep -c 'preserve   \"'` -eq 1 ; then
4727	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4728$as_echo "no" >&6; }
4729else
4730	if test `${RAWCPP} -traditional < conftest.$ac_ext | grep -c 'preserve   \"'` -eq 1 ; then
4731		RAWCPPFLAGS="${RAWCPPFLAGS} -traditional"
4732		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4733$as_echo "yes" >&6; }
4734	else
4735		as_fn_error $? "${RAWCPP} does not preserve whitespace with or without -traditional.  I don't know what to do." "$LINENO" 5
4736	fi
4737fi
4738rm -f conftest.$ac_ext
4739
4740
4741
4742
4743
4744
4745
4746# Build options
4747DEFAULT_XRDB=xrdb
4748DEFAULT_XMODMAP=xmodmap
4749DEFAULT_TWM=twm
4750DEFAULT_XCLOCK=xclock
4751DEFAULT_XTERM=xterm
4752# You always want to specify the full path to the X server
4753DEFAULT_XSERVER=${bindir}/X
4754DEFAULT_XAUTH=xauth
4755DEFAULT_XINIT=xinit
4756DEFAULT_XINITDIR=${libdir}/X11/xinit
4757
4758
4759# Check whether --with-xrdb was given.
4760if test "${with_xrdb+set}" = set; then :
4761  withval=$with_xrdb; XRDB="$withval"
4762else
4763  XRDB="$DEFAULT_XRDB"
4764fi
4765
4766
4767
4768# Check whether --with-xmodmap was given.
4769if test "${with_xmodmap+set}" = set; then :
4770  withval=$with_xmodmap; XMODMAP="$withval"
4771else
4772  XMODMAP="$DEFAULT_XMODMAP"
4773fi
4774
4775
4776
4777# Check whether --with-twm was given.
4778if test "${with_twm+set}" = set; then :
4779  withval=$with_twm; TWM="$withval"
4780else
4781  TWM="$DEFAULT_TWM"
4782fi
4783
4784
4785
4786# Check whether --with-xclock was given.
4787if test "${with_xclock+set}" = set; then :
4788  withval=$with_xclock; XCLOCK="$withval"
4789else
4790  XCLOCK="$DEFAULT_XCLOCK"
4791fi
4792
4793
4794
4795# Check whether --with-xterm was given.
4796if test "${with_xterm+set}" = set; then :
4797  withval=$with_xterm; XTERM="$withval"
4798else
4799  XTERM="$DEFAULT_XTERM"
4800fi
4801
4802
4803
4804# Check whether --with-xserver was given.
4805if test "${with_xserver+set}" = set; then :
4806  withval=$with_xserver; XSERVER="$withval"
4807else
4808  XSERVER="$DEFAULT_XSERVER"
4809fi
4810
4811
4812
4813# Check whether --with-xauth was given.
4814if test "${with_xauth+set}" = set; then :
4815  withval=$with_xauth; XAUTH="$withval"
4816else
4817  XAUTH="$DEFAULT_XAUTH"
4818fi
4819
4820
4821
4822# Check whether --with-xinit was given.
4823if test "${with_xinit+set}" = set; then :
4824  withval=$with_xinit; XINIT="$withval"
4825else
4826  XINIT="$DEFAULT_XINIT"
4827fi
4828
4829
4830
4831# Check whether --with-xinitdir was given.
4832if test "${with_xinitdir+set}" = set; then :
4833  withval=$with_xinitdir; XINITDIR="$withval"
4834else
4835  XINITDIR="$DEFAULT_XINITDIR"
4836fi
4837
4838
4839
4840# Check whether --with-launchd was given.
4841if test "${with_launchd+set}" = set; then :
4842  withval=$with_launchd; LAUNCHD=$withval
4843else
4844  LAUNCHD=auto
4845fi
4846
4847
4848# Check whether --with-launchagents-dir was given.
4849if test "${with_launchagents_dir+set}" = set; then :
4850  withval=$with_launchagents_dir;  launchagentsdir="${withval}"
4851else
4852   launchagentsdir="/Library/LaunchAgents"
4853fi
4854
4855
4856# Check whether --with-launchdaemons-dir was given.
4857if test "${with_launchdaemons_dir+set}" = set; then :
4858  withval=$with_launchdaemons_dir;  launchdaemonsdir="${withval}"
4859else
4860   launchdaemonsdir="/Library/LaunchDaemons"
4861fi
4862
4863
4864# Check whether --with-launchd-id-prefix was given.
4865if test "${with_launchd_id_prefix+set}" = set; then :
4866  withval=$with_launchd_id_prefix;  launchdidprefix="${withval}"
4867else
4868   launchdidprefix="org.x"
4869fi
4870
4871
4872if test "x$LAUNCHD" = "xauto"; then
4873	unset LAUNCHD
4874	# Extract the first word of "launchd", so it can be a program name with args.
4875set dummy launchd; ac_word=$2
4876{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4877$as_echo_n "checking for $ac_word... " >&6; }
4878if ${ac_cv_prog_LAUNCHD+:} false; then :
4879  $as_echo_n "(cached) " >&6
4880else
4881  if test -n "$LAUNCHD"; then
4882  ac_cv_prog_LAUNCHD="$LAUNCHD" # Let the user override the test.
4883else
4884as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4885for as_dir in $PATH$PATH_SEPARATOR/sbin
4886do
4887  IFS=$as_save_IFS
4888  test -z "$as_dir" && as_dir=.
4889    for ac_exec_ext in '' $ac_executable_extensions; do
4890  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4891    ac_cv_prog_LAUNCHD="yes"
4892    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4893    break 2
4894  fi
4895done
4896  done
4897IFS=$as_save_IFS
4898
4899  test -z "$ac_cv_prog_LAUNCHD" && ac_cv_prog_LAUNCHD="no"
4900fi
4901fi
4902LAUNCHD=$ac_cv_prog_LAUNCHD
4903if test -n "$LAUNCHD"; then
4904  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LAUNCHD" >&5
4905$as_echo "$LAUNCHD" >&6; }
4906else
4907  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4908$as_echo "no" >&6; }
4909fi
4910
4911
4912fi
4913
4914TIGER_LAUNCHD=no
4915if test "x$LAUNCHD" = "xyes" ; then
4916
4917$as_echo "#define HAVE_LAUNCHD 1" >>confdefs.h
4918
4919	case $host_os in
4920		darwin8*)
4921			TIGER_LAUNCHD=yes
4922		;;
4923	esac
4924else
4925        launchagentsdir=""
4926        launchdaemonsdir=""
4927fi
4928
4929
4930cat >>confdefs.h <<_ACEOF
4931#define LAUNCHD_ID_PREFIX "$launchdidprefix"
4932_ACEOF
4933
4934
4935
4936
4937 if test "x$LAUNCHD" = "xyes"; then
4938  LAUNCHD_TRUE=
4939  LAUNCHD_FALSE='#'
4940else
4941  LAUNCHD_TRUE='#'
4942  LAUNCHD_FALSE=
4943fi
4944
4945 if test "x$TIGER_LAUNCHD" = "xyes"; then
4946  TIGER_LAUNCHD_TRUE=
4947  TIGER_LAUNCHD_FALSE='#'
4948else
4949  TIGER_LAUNCHD_TRUE='#'
4950  TIGER_LAUNCHD_FALSE=
4951fi
4952
4953
4954# Checks for pkg-config packages
4955
4956pkg_failed=no
4957{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XINIT" >&5
4958$as_echo_n "checking for XINIT... " >&6; }
4959
4960if test -n "$XINIT_CFLAGS"; then
4961    pkg_cv_XINIT_CFLAGS="$XINIT_CFLAGS"
4962 elif test -n "$PKG_CONFIG"; then
4963    if test -n "$PKG_CONFIG" && \
4964    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
4965  ($PKG_CONFIG --exists --print-errors "x11") 2>&5
4966  ac_status=$?
4967  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4968  test $ac_status = 0; }; then
4969  pkg_cv_XINIT_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/null`
4970else
4971  pkg_failed=yes
4972fi
4973 else
4974    pkg_failed=untried
4975fi
4976if test -n "$XINIT_LIBS"; then
4977    pkg_cv_XINIT_LIBS="$XINIT_LIBS"
4978 elif test -n "$PKG_CONFIG"; then
4979    if test -n "$PKG_CONFIG" && \
4980    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
4981  ($PKG_CONFIG --exists --print-errors "x11") 2>&5
4982  ac_status=$?
4983  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4984  test $ac_status = 0; }; then
4985  pkg_cv_XINIT_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/null`
4986else
4987  pkg_failed=yes
4988fi
4989 else
4990    pkg_failed=untried
4991fi
4992
4993
4994
4995if test $pkg_failed = yes; then
4996
4997if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4998        _pkg_short_errors_supported=yes
4999else
5000        _pkg_short_errors_supported=no
5001fi
5002        if test $_pkg_short_errors_supported = yes; then
5003	        XINIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11" 2>&1`
5004        else
5005	        XINIT_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11" 2>&1`
5006        fi
5007	# Put the nasty error message in config.log where it belongs
5008	echo "$XINIT_PKG_ERRORS" >&5
5009
5010	as_fn_error $? "Package requirements (x11) were not met:
5011
5012$XINIT_PKG_ERRORS
5013
5014Consider adjusting the PKG_CONFIG_PATH environment variable if you
5015installed software in a non-standard prefix.
5016
5017Alternatively, you may set the environment variables XINIT_CFLAGS
5018and XINIT_LIBS to avoid the need to call pkg-config.
5019See the pkg-config man page for more details.
5020" "$LINENO" 5
5021elif test $pkg_failed = untried; then
5022	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5023$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5024as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
5025is in your PATH or set the PKG_CONFIG environment variable to the full
5026path to pkg-config.
5027
5028Alternatively, you may set the environment variables XINIT_CFLAGS
5029and XINIT_LIBS to avoid the need to call pkg-config.
5030See the pkg-config man page for more details.
5031
5032To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5033See \`config.log' for more details" "$LINENO" 5; }
5034else
5035	XINIT_CFLAGS=$pkg_cv_XINIT_CFLAGS
5036	XINIT_LIBS=$pkg_cv_XINIT_LIBS
5037        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5038$as_echo "yes" >&6; }
5039	:
5040fi
5041
5042case $host_os in
5043    *bsd*)
5044        XINIT_CFLAGS="$XINIT_CFLAGS -DCSRG_BASED"
5045        ;;
5046esac
5047
5048
5049
5050
5051for ac_prog in mcookie
5052do
5053  # Extract the first word of "$ac_prog", so it can be a program name with args.
5054set dummy $ac_prog; ac_word=$2
5055{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5056$as_echo_n "checking for $ac_word... " >&6; }
5057if ${ac_cv_path_MCOOKIE+:} false; then :
5058  $as_echo_n "(cached) " >&6
5059else
5060  case $MCOOKIE in
5061  [\\/]* | ?:[\\/]*)
5062  ac_cv_path_MCOOKIE="$MCOOKIE" # Let the user override the test with a path.
5063  ;;
5064  *)
5065  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5066as_dummy="$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/local/bin"
5067for as_dir in $as_dummy
5068do
5069  IFS=$as_save_IFS
5070  test -z "$as_dir" && as_dir=.
5071    for ac_exec_ext in '' $ac_executable_extensions; do
5072  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5073    ac_cv_path_MCOOKIE="$as_dir/$ac_word$ac_exec_ext"
5074    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5075    break 2
5076  fi
5077done
5078  done
5079IFS=$as_save_IFS
5080
5081  ;;
5082esac
5083fi
5084MCOOKIE=$ac_cv_path_MCOOKIE
5085if test -n "$MCOOKIE"; then
5086  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MCOOKIE" >&5
5087$as_echo "$MCOOKIE" >&6; }
5088else
5089  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5090$as_echo "no" >&6; }
5091fi
5092
5093
5094  test -n "$MCOOKIE" && break
5095done
5096test -n "$MCOOKIE" || MCOOKIE="$MCOOKIE"
5097
5098
5099case $host_os in
5100	*openbsd*)
5101	MCOOKIE='/usr/sbin/openssl rand -hex 16'
5102	;;
5103	*solaris*)
5104	MCOOKIE="/usr/bin/od -X -A n -N 16 /dev/urandom | /usr/bin/tr -d ' '"
5105	;;
5106esac
5107
5108if test "x$MCOOKIE" != x ; then
5109	STARTX_COOKIE_FLAGS='-DHAS_COOKIE_MAKER -DMK_COOKIE="$(MCOOKIE)"'
5110fi
5111
5112
5113# Additional substitutions in startx, xinitrc & man pages
5114ARCHMANDEFS=""
5115SHELL_CMD="/bin/sh"
5116XSERVERNAME="Xorg"
5117XCONFIGFILE="xorg.conf"
5118XCONFIGFILEMAN='${XCONFIGFILE} (__filemansuffix__)'
5119case $host_os in
5120    cygwin*)
5121	XSERVERNAME="XWin"
5122	XCONFIGFILE="XWinrc"
5123	;;
5124    darwin*)
5125	XSERVERNAME="Xquartz"
5126	XCONFIGFILE="defaults"
5127	XCONFIGFILEMAN='defaults (1)'
5128	;;
5129    *solaris*)
5130	SHELL_CMD="/bin/ksh"
5131	;;
5132    *sco*)
5133	SHELL_CMD="/bin/ksh"
5134	ARCHMANDEFS="-D__SCOMAN__"
5135	;;
5136esac
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153ac_config_files="$ac_config_files Makefile"
5154
5155cat >confcache <<\_ACEOF
5156# This file is a shell script that caches the results of configure
5157# tests run on this system so they can be shared between configure
5158# scripts and configure runs, see configure's option --config-cache.
5159# It is not useful on other systems.  If it contains results you don't
5160# want to keep, you may remove or edit it.
5161#
5162# config.status only pays attention to the cache file if you give it
5163# the --recheck option to rerun configure.
5164#
5165# `ac_cv_env_foo' variables (set or unset) will be overridden when
5166# loading this file, other *unset* `ac_cv_foo' will be assigned the
5167# following values.
5168
5169_ACEOF
5170
5171# The following way of writing the cache mishandles newlines in values,
5172# but we know of no workaround that is simple, portable, and efficient.
5173# So, we kill variables containing newlines.
5174# Ultrix sh set writes to stderr and can't be redirected directly,
5175# and sets the high bit in the cache file unless we assign to the vars.
5176(
5177  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5178    eval ac_val=\$$ac_var
5179    case $ac_val in #(
5180    *${as_nl}*)
5181      case $ac_var in #(
5182      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5183$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5184      esac
5185      case $ac_var in #(
5186      _ | IFS | as_nl) ;; #(
5187      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5188      *) { eval $ac_var=; unset $ac_var;} ;;
5189      esac ;;
5190    esac
5191  done
5192
5193  (set) 2>&1 |
5194    case $as_nl`(ac_space=' '; set) 2>&1` in #(
5195    *${as_nl}ac_space=\ *)
5196      # `set' does not quote correctly, so add quotes: double-quote
5197      # substitution turns \\\\ into \\, and sed turns \\ into \.
5198      sed -n \
5199	"s/'/'\\\\''/g;
5200	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5201      ;; #(
5202    *)
5203      # `set' quotes correctly as required by POSIX, so do not add quotes.
5204      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5205      ;;
5206    esac |
5207    sort
5208) |
5209  sed '
5210     /^ac_cv_env_/b end
5211     t clear
5212     :clear
5213     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5214     t end
5215     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5216     :end' >>confcache
5217if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5218  if test -w "$cache_file"; then
5219    if test "x$cache_file" != "x/dev/null"; then
5220      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5221$as_echo "$as_me: updating cache $cache_file" >&6;}
5222      if test ! -f "$cache_file" || test -h "$cache_file"; then
5223	cat confcache >"$cache_file"
5224      else
5225        case $cache_file in #(
5226        */* | ?:*)
5227	  mv -f confcache "$cache_file"$$ &&
5228	  mv -f "$cache_file"$$ "$cache_file" ;; #(
5229        *)
5230	  mv -f confcache "$cache_file" ;;
5231	esac
5232      fi
5233    fi
5234  else
5235    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5236$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5237  fi
5238fi
5239rm -f confcache
5240
5241test "x$prefix" = xNONE && prefix=$ac_default_prefix
5242# Let make expand exec_prefix.
5243test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5244
5245DEFS=-DHAVE_CONFIG_H
5246
5247ac_libobjs=
5248ac_ltlibobjs=
5249U=
5250for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5251  # 1. Remove the extension, and $U if already installed.
5252  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5253  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5254  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
5255  #    will be set to the directory where LIBOBJS objects are built.
5256  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5257  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5258done
5259LIBOBJS=$ac_libobjs
5260
5261LTLIBOBJS=$ac_ltlibobjs
5262
5263
5264 if test -n "$EXEEXT"; then
5265  am__EXEEXT_TRUE=
5266  am__EXEEXT_FALSE='#'
5267else
5268  am__EXEEXT_TRUE='#'
5269  am__EXEEXT_FALSE=
5270fi
5271
5272if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5273  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
5274Usually this means the macro was only invoked conditionally." "$LINENO" 5
5275fi
5276if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5277  as_fn_error $? "conditional \"AMDEP\" was never defined.
5278Usually this means the macro was only invoked conditionally." "$LINENO" 5
5279fi
5280if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5281  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5282Usually this means the macro was only invoked conditionally." "$LINENO" 5
5283fi
5284if test -z "${LAUNCHD_TRUE}" && test -z "${LAUNCHD_FALSE}"; then
5285  as_fn_error $? "conditional \"LAUNCHD\" was never defined.
5286Usually this means the macro was only invoked conditionally." "$LINENO" 5
5287fi
5288if test -z "${TIGER_LAUNCHD_TRUE}" && test -z "${TIGER_LAUNCHD_FALSE}"; then
5289  as_fn_error $? "conditional \"TIGER_LAUNCHD\" was never defined.
5290Usually this means the macro was only invoked conditionally." "$LINENO" 5
5291fi
5292
5293: "${CONFIG_STATUS=./config.status}"
5294ac_write_fail=0
5295ac_clean_files_save=$ac_clean_files
5296ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5297{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5298$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5299as_write_fail=0
5300cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5301#! $SHELL
5302# Generated by $as_me.
5303# Run this file to recreate the current configuration.
5304# Compiler output produced by configure, useful for debugging
5305# configure, is in config.log if it exists.
5306
5307debug=false
5308ac_cs_recheck=false
5309ac_cs_silent=false
5310
5311SHELL=\${CONFIG_SHELL-$SHELL}
5312export SHELL
5313_ASEOF
5314cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5315## -------------------- ##
5316## M4sh Initialization. ##
5317## -------------------- ##
5318
5319# Be more Bourne compatible
5320DUALCASE=1; export DUALCASE # for MKS sh
5321if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5322  emulate sh
5323  NULLCMD=:
5324  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5325  # is contrary to our usage.  Disable this feature.
5326  alias -g '${1+"$@"}'='"$@"'
5327  setopt NO_GLOB_SUBST
5328else
5329  case `(set -o) 2>/dev/null` in #(
5330  *posix*) :
5331    set -o posix ;; #(
5332  *) :
5333     ;;
5334esac
5335fi
5336
5337
5338as_nl='
5339'
5340export as_nl
5341# Printing a long string crashes Solaris 7 /usr/bin/printf.
5342as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5343as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5344as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5345# Prefer a ksh shell builtin over an external printf program on Solaris,
5346# but without wasting forks for bash or zsh.
5347if test -z "$BASH_VERSION$ZSH_VERSION" \
5348    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5349  as_echo='print -r --'
5350  as_echo_n='print -rn --'
5351elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5352  as_echo='printf %s\n'
5353  as_echo_n='printf %s'
5354else
5355  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5356    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5357    as_echo_n='/usr/ucb/echo -n'
5358  else
5359    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5360    as_echo_n_body='eval
5361      arg=$1;
5362      case $arg in #(
5363      *"$as_nl"*)
5364	expr "X$arg" : "X\\(.*\\)$as_nl";
5365	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5366      esac;
5367      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5368    '
5369    export as_echo_n_body
5370    as_echo_n='sh -c $as_echo_n_body as_echo'
5371  fi
5372  export as_echo_body
5373  as_echo='sh -c $as_echo_body as_echo'
5374fi
5375
5376# The user is always right.
5377if test "${PATH_SEPARATOR+set}" != set; then
5378  PATH_SEPARATOR=:
5379  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5380    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5381      PATH_SEPARATOR=';'
5382  }
5383fi
5384
5385
5386# IFS
5387# We need space, tab and new line, in precisely that order.  Quoting is
5388# there to prevent editors from complaining about space-tab.
5389# (If _AS_PATH_WALK were called with IFS unset, it would disable word
5390# splitting by setting IFS to empty value.)
5391IFS=" ""	$as_nl"
5392
5393# Find who we are.  Look in the path if we contain no directory separator.
5394as_myself=
5395case $0 in #((
5396  *[\\/]* ) as_myself=$0 ;;
5397  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5398for as_dir in $PATH
5399do
5400  IFS=$as_save_IFS
5401  test -z "$as_dir" && as_dir=.
5402    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5403  done
5404IFS=$as_save_IFS
5405
5406     ;;
5407esac
5408# We did not find ourselves, most probably we were run as `sh COMMAND'
5409# in which case we are not to be found in the path.
5410if test "x$as_myself" = x; then
5411  as_myself=$0
5412fi
5413if test ! -f "$as_myself"; then
5414  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5415  exit 1
5416fi
5417
5418# Unset variables that we do not need and which cause bugs (e.g. in
5419# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
5420# suppresses any "Segmentation fault" message there.  '((' could
5421# trigger a bug in pdksh 5.2.14.
5422for as_var in BASH_ENV ENV MAIL MAILPATH
5423do eval test x\${$as_var+set} = xset \
5424  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5425done
5426PS1='$ '
5427PS2='> '
5428PS4='+ '
5429
5430# NLS nuisances.
5431LC_ALL=C
5432export LC_ALL
5433LANGUAGE=C
5434export LANGUAGE
5435
5436# CDPATH.
5437(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5438
5439
5440# as_fn_error STATUS ERROR [LINENO LOG_FD]
5441# ----------------------------------------
5442# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5443# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5444# script with STATUS, using 1 if that was 0.
5445as_fn_error ()
5446{
5447  as_status=$1; test $as_status -eq 0 && as_status=1
5448  if test "$4"; then
5449    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5450    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5451  fi
5452  $as_echo "$as_me: error: $2" >&2
5453  as_fn_exit $as_status
5454} # as_fn_error
5455
5456
5457# as_fn_set_status STATUS
5458# -----------------------
5459# Set $? to STATUS, without forking.
5460as_fn_set_status ()
5461{
5462  return $1
5463} # as_fn_set_status
5464
5465# as_fn_exit STATUS
5466# -----------------
5467# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5468as_fn_exit ()
5469{
5470  set +e
5471  as_fn_set_status $1
5472  exit $1
5473} # as_fn_exit
5474
5475# as_fn_unset VAR
5476# ---------------
5477# Portably unset VAR.
5478as_fn_unset ()
5479{
5480  { eval $1=; unset $1;}
5481}
5482as_unset=as_fn_unset
5483# as_fn_append VAR VALUE
5484# ----------------------
5485# Append the text in VALUE to the end of the definition contained in VAR. Take
5486# advantage of any shell optimizations that allow amortized linear growth over
5487# repeated appends, instead of the typical quadratic growth present in naive
5488# implementations.
5489if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5490  eval 'as_fn_append ()
5491  {
5492    eval $1+=\$2
5493  }'
5494else
5495  as_fn_append ()
5496  {
5497    eval $1=\$$1\$2
5498  }
5499fi # as_fn_append
5500
5501# as_fn_arith ARG...
5502# ------------------
5503# Perform arithmetic evaluation on the ARGs, and store the result in the
5504# global $as_val. Take advantage of shells that can avoid forks. The arguments
5505# must be portable across $(()) and expr.
5506if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5507  eval 'as_fn_arith ()
5508  {
5509    as_val=$(( $* ))
5510  }'
5511else
5512  as_fn_arith ()
5513  {
5514    as_val=`expr "$@" || test $? -eq 1`
5515  }
5516fi # as_fn_arith
5517
5518
5519if expr a : '\(a\)' >/dev/null 2>&1 &&
5520   test "X`expr 00001 : '.*\(...\)'`" = X001; then
5521  as_expr=expr
5522else
5523  as_expr=false
5524fi
5525
5526if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5527  as_basename=basename
5528else
5529  as_basename=false
5530fi
5531
5532if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5533  as_dirname=dirname
5534else
5535  as_dirname=false
5536fi
5537
5538as_me=`$as_basename -- "$0" ||
5539$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5540	 X"$0" : 'X\(//\)$' \| \
5541	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5542$as_echo X/"$0" |
5543    sed '/^.*\/\([^/][^/]*\)\/*$/{
5544	    s//\1/
5545	    q
5546	  }
5547	  /^X\/\(\/\/\)$/{
5548	    s//\1/
5549	    q
5550	  }
5551	  /^X\/\(\/\).*/{
5552	    s//\1/
5553	    q
5554	  }
5555	  s/.*/./; q'`
5556
5557# Avoid depending upon Character Ranges.
5558as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5559as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5560as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5561as_cr_digits='0123456789'
5562as_cr_alnum=$as_cr_Letters$as_cr_digits
5563
5564ECHO_C= ECHO_N= ECHO_T=
5565case `echo -n x` in #(((((
5566-n*)
5567  case `echo 'xy\c'` in
5568  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
5569  xy)  ECHO_C='\c';;
5570  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
5571       ECHO_T='	';;
5572  esac;;
5573*)
5574  ECHO_N='-n';;
5575esac
5576
5577rm -f conf$$ conf$$.exe conf$$.file
5578if test -d conf$$.dir; then
5579  rm -f conf$$.dir/conf$$.file
5580else
5581  rm -f conf$$.dir
5582  mkdir conf$$.dir 2>/dev/null
5583fi
5584if (echo >conf$$.file) 2>/dev/null; then
5585  if ln -s conf$$.file conf$$ 2>/dev/null; then
5586    as_ln_s='ln -s'
5587    # ... but there are two gotchas:
5588    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5589    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5590    # In both cases, we have to default to `cp -p'.
5591    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5592      as_ln_s='cp -p'
5593  elif ln conf$$.file conf$$ 2>/dev/null; then
5594    as_ln_s=ln
5595  else
5596    as_ln_s='cp -p'
5597  fi
5598else
5599  as_ln_s='cp -p'
5600fi
5601rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5602rmdir conf$$.dir 2>/dev/null
5603
5604
5605# as_fn_mkdir_p
5606# -------------
5607# Create "$as_dir" as a directory, including parents if necessary.
5608as_fn_mkdir_p ()
5609{
5610
5611  case $as_dir in #(
5612  -*) as_dir=./$as_dir;;
5613  esac
5614  test -d "$as_dir" || eval $as_mkdir_p || {
5615    as_dirs=
5616    while :; do
5617      case $as_dir in #(
5618      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5619      *) as_qdir=$as_dir;;
5620      esac
5621      as_dirs="'$as_qdir' $as_dirs"
5622      as_dir=`$as_dirname -- "$as_dir" ||
5623$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5624	 X"$as_dir" : 'X\(//\)[^/]' \| \
5625	 X"$as_dir" : 'X\(//\)$' \| \
5626	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5627$as_echo X"$as_dir" |
5628    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5629	    s//\1/
5630	    q
5631	  }
5632	  /^X\(\/\/\)[^/].*/{
5633	    s//\1/
5634	    q
5635	  }
5636	  /^X\(\/\/\)$/{
5637	    s//\1/
5638	    q
5639	  }
5640	  /^X\(\/\).*/{
5641	    s//\1/
5642	    q
5643	  }
5644	  s/.*/./; q'`
5645      test -d "$as_dir" && break
5646    done
5647    test -z "$as_dirs" || eval "mkdir $as_dirs"
5648  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5649
5650
5651} # as_fn_mkdir_p
5652if mkdir -p . 2>/dev/null; then
5653  as_mkdir_p='mkdir -p "$as_dir"'
5654else
5655  test -d ./-p && rmdir ./-p
5656  as_mkdir_p=false
5657fi
5658
5659if test -x / >/dev/null 2>&1; then
5660  as_test_x='test -x'
5661else
5662  if ls -dL / >/dev/null 2>&1; then
5663    as_ls_L_option=L
5664  else
5665    as_ls_L_option=
5666  fi
5667  as_test_x='
5668    eval sh -c '\''
5669      if test -d "$1"; then
5670	test -d "$1/.";
5671      else
5672	case $1 in #(
5673	-*)set "./$1";;
5674	esac;
5675	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5676	???[sx]*):;;*)false;;esac;fi
5677    '\'' sh
5678  '
5679fi
5680as_executable_p=$as_test_x
5681
5682# Sed expression to map a string onto a valid CPP name.
5683as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5684
5685# Sed expression to map a string onto a valid variable name.
5686as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5687
5688
5689exec 6>&1
5690## ----------------------------------- ##
5691## Main body of $CONFIG_STATUS script. ##
5692## ----------------------------------- ##
5693_ASEOF
5694test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5695
5696cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5697# Save the log message, to keep $0 and so on meaningful, and to
5698# report actual input values of CONFIG_FILES etc. instead of their
5699# values after options handling.
5700ac_log="
5701This file was extended by xinit $as_me 1.3.0, which was
5702generated by GNU Autoconf 2.68.  Invocation command line was
5703
5704  CONFIG_FILES    = $CONFIG_FILES
5705  CONFIG_HEADERS  = $CONFIG_HEADERS
5706  CONFIG_LINKS    = $CONFIG_LINKS
5707  CONFIG_COMMANDS = $CONFIG_COMMANDS
5708  $ $0 $@
5709
5710on `(hostname || uname -n) 2>/dev/null | sed 1q`
5711"
5712
5713_ACEOF
5714
5715case $ac_config_files in *"
5716"*) set x $ac_config_files; shift; ac_config_files=$*;;
5717esac
5718
5719case $ac_config_headers in *"
5720"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5721esac
5722
5723
5724cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5725# Files that config.status was made for.
5726config_files="$ac_config_files"
5727config_headers="$ac_config_headers"
5728config_commands="$ac_config_commands"
5729
5730_ACEOF
5731
5732cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5733ac_cs_usage="\
5734\`$as_me' instantiates files and other configuration actions
5735from templates according to the current configuration.  Unless the files
5736and actions are specified as TAGs, all are instantiated by default.
5737
5738Usage: $0 [OPTION]... [TAG]...
5739
5740  -h, --help       print this help, then exit
5741  -V, --version    print version number and configuration settings, then exit
5742      --config     print configuration, then exit
5743  -q, --quiet, --silent
5744                   do not print progress messages
5745  -d, --debug      don't remove temporary files
5746      --recheck    update $as_me by reconfiguring in the same conditions
5747      --file=FILE[:TEMPLATE]
5748                   instantiate the configuration file FILE
5749      --header=FILE[:TEMPLATE]
5750                   instantiate the configuration header FILE
5751
5752Configuration files:
5753$config_files
5754
5755Configuration headers:
5756$config_headers
5757
5758Configuration commands:
5759$config_commands
5760
5761Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
5762
5763_ACEOF
5764cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5765ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5766ac_cs_version="\\
5767xinit config.status 1.3.0
5768configured by $0, generated by GNU Autoconf 2.68,
5769  with options \\"\$ac_cs_config\\"
5770
5771Copyright (C) 2010 Free Software Foundation, Inc.
5772This config.status script is free software; the Free Software Foundation
5773gives unlimited permission to copy, distribute and modify it."
5774
5775ac_pwd='$ac_pwd'
5776srcdir='$srcdir'
5777INSTALL='$INSTALL'
5778MKDIR_P='$MKDIR_P'
5779AWK='$AWK'
5780test -n "\$AWK" || AWK=awk
5781_ACEOF
5782
5783cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5784# The default lists apply if the user does not specify any file.
5785ac_need_defaults=:
5786while test $# != 0
5787do
5788  case $1 in
5789  --*=?*)
5790    ac_option=`expr "X$1" : 'X\([^=]*\)='`
5791    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5792    ac_shift=:
5793    ;;
5794  --*=)
5795    ac_option=`expr "X$1" : 'X\([^=]*\)='`
5796    ac_optarg=
5797    ac_shift=:
5798    ;;
5799  *)
5800    ac_option=$1
5801    ac_optarg=$2
5802    ac_shift=shift
5803    ;;
5804  esac
5805
5806  case $ac_option in
5807  # Handling of the options.
5808  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5809    ac_cs_recheck=: ;;
5810  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5811    $as_echo "$ac_cs_version"; exit ;;
5812  --config | --confi | --conf | --con | --co | --c )
5813    $as_echo "$ac_cs_config"; exit ;;
5814  --debug | --debu | --deb | --de | --d | -d )
5815    debug=: ;;
5816  --file | --fil | --fi | --f )
5817    $ac_shift
5818    case $ac_optarg in
5819    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5820    '') as_fn_error $? "missing file argument" ;;
5821    esac
5822    as_fn_append CONFIG_FILES " '$ac_optarg'"
5823    ac_need_defaults=false;;
5824  --header | --heade | --head | --hea )
5825    $ac_shift
5826    case $ac_optarg in
5827    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5828    esac
5829    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5830    ac_need_defaults=false;;
5831  --he | --h)
5832    # Conflict between --help and --header
5833    as_fn_error $? "ambiguous option: \`$1'
5834Try \`$0 --help' for more information.";;
5835  --help | --hel | -h )
5836    $as_echo "$ac_cs_usage"; exit ;;
5837  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5838  | -silent | --silent | --silen | --sile | --sil | --si | --s)
5839    ac_cs_silent=: ;;
5840
5841  # This is an error.
5842  -*) as_fn_error $? "unrecognized option: \`$1'
5843Try \`$0 --help' for more information." ;;
5844
5845  *) as_fn_append ac_config_targets " $1"
5846     ac_need_defaults=false ;;
5847
5848  esac
5849  shift
5850done
5851
5852ac_configure_extra_args=
5853
5854if $ac_cs_silent; then
5855  exec 6>/dev/null
5856  ac_configure_extra_args="$ac_configure_extra_args --silent"
5857fi
5858
5859_ACEOF
5860cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5861if \$ac_cs_recheck; then
5862  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5863  shift
5864  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5865  CONFIG_SHELL='$SHELL'
5866  export CONFIG_SHELL
5867  exec "\$@"
5868fi
5869
5870_ACEOF
5871cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5872exec 5>>config.log
5873{
5874  echo
5875  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5876## Running $as_me. ##
5877_ASBOX
5878  $as_echo "$ac_log"
5879} >&5
5880
5881_ACEOF
5882cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5883#
5884# INIT-COMMANDS
5885#
5886AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5887
5888_ACEOF
5889
5890cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5891
5892# Handling of arguments.
5893for ac_config_target in $ac_config_targets
5894do
5895  case $ac_config_target in
5896    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5897    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5898    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5899
5900  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5901  esac
5902done
5903
5904
5905# If the user did not use the arguments to specify the items to instantiate,
5906# then the envvar interface is used.  Set only those that are not.
5907# We use the long form for the default assignment because of an extremely
5908# bizarre bug on SunOS 4.1.3.
5909if $ac_need_defaults; then
5910  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5911  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5912  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5913fi
5914
5915# Have a temporary directory for convenience.  Make it in the build tree
5916# simply because there is no reason against having it here, and in addition,
5917# creating and moving files from /tmp can sometimes cause problems.
5918# Hook for its removal unless debugging.
5919# Note that there is a small window in which the directory will not be cleaned:
5920# after its creation but before its name has been assigned to `$tmp'.
5921$debug ||
5922{
5923  tmp= ac_tmp=
5924  trap 'exit_status=$?
5925  : "${ac_tmp:=$tmp}"
5926  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5927' 0
5928  trap 'as_fn_exit 1' 1 2 13 15
5929}
5930# Create a (secure) tmp directory for tmp files.
5931
5932{
5933  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5934  test -d "$tmp"
5935}  ||
5936{
5937  tmp=./conf$$-$RANDOM
5938  (umask 077 && mkdir "$tmp")
5939} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5940ac_tmp=$tmp
5941
5942# Set up the scripts for CONFIG_FILES section.
5943# No need to generate them if there are no CONFIG_FILES.
5944# This happens for instance with `./config.status config.h'.
5945if test -n "$CONFIG_FILES"; then
5946
5947
5948ac_cr=`echo X | tr X '\015'`
5949# On cygwin, bash can eat \r inside `` if the user requested igncr.
5950# But we know of no other shell where ac_cr would be empty at this
5951# point, so we can use a bashism as a fallback.
5952if test "x$ac_cr" = x; then
5953  eval ac_cr=\$\'\\r\'
5954fi
5955ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5956if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5957  ac_cs_awk_cr='\\r'
5958else
5959  ac_cs_awk_cr=$ac_cr
5960fi
5961
5962echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5963_ACEOF
5964
5965
5966{
5967  echo "cat >conf$$subs.awk <<_ACEOF" &&
5968  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5969  echo "_ACEOF"
5970} >conf$$subs.sh ||
5971  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5972ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5973ac_delim='%!_!# '
5974for ac_last_try in false false false false false :; do
5975  . ./conf$$subs.sh ||
5976    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5977
5978  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5979  if test $ac_delim_n = $ac_delim_num; then
5980    break
5981  elif $ac_last_try; then
5982    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5983  else
5984    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5985  fi
5986done
5987rm -f conf$$subs.sh
5988
5989cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5990cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5991_ACEOF
5992sed -n '
5993h
5994s/^/S["/; s/!.*/"]=/
5995p
5996g
5997s/^[^!]*!//
5998:repl
5999t repl
6000s/'"$ac_delim"'$//
6001t delim
6002:nl
6003h
6004s/\(.\{148\}\)..*/\1/
6005t more1
6006s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6007p
6008n
6009b repl
6010:more1
6011s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6012p
6013g
6014s/.\{148\}//
6015t nl
6016:delim
6017h
6018s/\(.\{148\}\)..*/\1/
6019t more2
6020s/["\\]/\\&/g; s/^/"/; s/$/"/
6021p
6022b
6023:more2
6024s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6025p
6026g
6027s/.\{148\}//
6028t delim
6029' <conf$$subs.awk | sed '
6030/^[^""]/{
6031  N
6032  s/\n//
6033}
6034' >>$CONFIG_STATUS || ac_write_fail=1
6035rm -f conf$$subs.awk
6036cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6037_ACAWK
6038cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6039  for (key in S) S_is_set[key] = 1
6040  FS = ""
6041
6042}
6043{
6044  line = $ 0
6045  nfields = split(line, field, "@")
6046  substed = 0
6047  len = length(field[1])
6048  for (i = 2; i < nfields; i++) {
6049    key = field[i]
6050    keylen = length(key)
6051    if (S_is_set[key]) {
6052      value = S[key]
6053      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6054      len += length(value) + length(field[++i])
6055      substed = 1
6056    } else
6057      len += 1 + keylen
6058  }
6059
6060  print line
6061}
6062
6063_ACAWK
6064_ACEOF
6065cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6066if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6067  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6068else
6069  cat
6070fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6071  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6072_ACEOF
6073
6074# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6075# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6076# trailing colons and then remove the whole line if VPATH becomes empty
6077# (actually we leave an empty line to preserve line numbers).
6078if test "x$srcdir" = x.; then
6079  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
6080h
6081s///
6082s/^/:/
6083s/[	 ]*$/:/
6084s/:\$(srcdir):/:/g
6085s/:\${srcdir}:/:/g
6086s/:@srcdir@:/:/g
6087s/^:*//
6088s/:*$//
6089x
6090s/\(=[	 ]*\).*/\1/
6091G
6092s/\n//
6093s/^[^=]*=[	 ]*$//
6094}'
6095fi
6096
6097cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6098fi # test -n "$CONFIG_FILES"
6099
6100# Set up the scripts for CONFIG_HEADERS section.
6101# No need to generate them if there are no CONFIG_HEADERS.
6102# This happens for instance with `./config.status Makefile'.
6103if test -n "$CONFIG_HEADERS"; then
6104cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
6105BEGIN {
6106_ACEOF
6107
6108# Transform confdefs.h into an awk script `defines.awk', embedded as
6109# here-document in config.status, that substitutes the proper values into
6110# config.h.in to produce config.h.
6111
6112# Create a delimiter string that does not exist in confdefs.h, to ease
6113# handling of long lines.
6114ac_delim='%!_!# '
6115for ac_last_try in false false :; do
6116  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
6117  if test -z "$ac_tt"; then
6118    break
6119  elif $ac_last_try; then
6120    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6121  else
6122    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6123  fi
6124done
6125
6126# For the awk script, D is an array of macro values keyed by name,
6127# likewise P contains macro parameters if any.  Preserve backslash
6128# newline sequences.
6129
6130ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6131sed -n '
6132s/.\{148\}/&'"$ac_delim"'/g
6133t rset
6134:rset
6135s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
6136t def
6137d
6138:def
6139s/\\$//
6140t bsnl
6141s/["\\]/\\&/g
6142s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
6143D["\1"]=" \3"/p
6144s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
6145d
6146:bsnl
6147s/["\\]/\\&/g
6148s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
6149D["\1"]=" \3\\\\\\n"\\/p
6150t cont
6151s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6152t cont
6153d
6154:cont
6155n
6156s/.\{148\}/&'"$ac_delim"'/g
6157t clear
6158:clear
6159s/\\$//
6160t bsnlc
6161s/["\\]/\\&/g; s/^/"/; s/$/"/p
6162d
6163:bsnlc
6164s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6165b cont
6166' <confdefs.h | sed '
6167s/'"$ac_delim"'/"\\\
6168"/g' >>$CONFIG_STATUS || ac_write_fail=1
6169
6170cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6171  for (key in D) D_is_set[key] = 1
6172  FS = ""
6173}
6174/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6175  line = \$ 0
6176  split(line, arg, " ")
6177  if (arg[1] == "#") {
6178    defundef = arg[2]
6179    mac1 = arg[3]
6180  } else {
6181    defundef = substr(arg[1], 2)
6182    mac1 = arg[2]
6183  }
6184  split(mac1, mac2, "(") #)
6185  macro = mac2[1]
6186  prefix = substr(line, 1, index(line, defundef) - 1)
6187  if (D_is_set[macro]) {
6188    # Preserve the white space surrounding the "#".
6189    print prefix "define", macro P[macro] D[macro]
6190    next
6191  } else {
6192    # Replace #undef with comments.  This is necessary, for example,
6193    # in the case of _POSIX_SOURCE, which is predefined and required
6194    # on some systems where configure will not decide to define it.
6195    if (defundef == "undef") {
6196      print "/*", prefix defundef, macro, "*/"
6197      next
6198    }
6199  }
6200}
6201{ print }
6202_ACAWK
6203_ACEOF
6204cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6205  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6206fi # test -n "$CONFIG_HEADERS"
6207
6208
6209eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
6210shift
6211for ac_tag
6212do
6213  case $ac_tag in
6214  :[FHLC]) ac_mode=$ac_tag; continue;;
6215  esac
6216  case $ac_mode$ac_tag in
6217  :[FHL]*:*);;
6218  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6219  :[FH]-) ac_tag=-:-;;
6220  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6221  esac
6222  ac_save_IFS=$IFS
6223  IFS=:
6224  set x $ac_tag
6225  IFS=$ac_save_IFS
6226  shift
6227  ac_file=$1
6228  shift
6229
6230  case $ac_mode in
6231  :L) ac_source=$1;;
6232  :[FH])
6233    ac_file_inputs=
6234    for ac_f
6235    do
6236      case $ac_f in
6237      -) ac_f="$ac_tmp/stdin";;
6238      *) # Look for the file first in the build tree, then in the source tree
6239	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
6240	 # because $ac_f cannot contain `:'.
6241	 test -f "$ac_f" ||
6242	   case $ac_f in
6243	   [\\/$]*) false;;
6244	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6245	   esac ||
6246	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6247      esac
6248      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6249      as_fn_append ac_file_inputs " '$ac_f'"
6250    done
6251
6252    # Let's still pretend it is `configure' which instantiates (i.e., don't
6253    # use $as_me), people would be surprised to read:
6254    #    /* config.h.  Generated by config.status.  */
6255    configure_input='Generated from '`
6256	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6257	`' by configure.'
6258    if test x"$ac_file" != x-; then
6259      configure_input="$ac_file.  $configure_input"
6260      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6261$as_echo "$as_me: creating $ac_file" >&6;}
6262    fi
6263    # Neutralize special characters interpreted by sed in replacement strings.
6264    case $configure_input in #(
6265    *\&* | *\|* | *\\* )
6266       ac_sed_conf_input=`$as_echo "$configure_input" |
6267       sed 's/[\\\\&|]/\\\\&/g'`;; #(
6268    *) ac_sed_conf_input=$configure_input;;
6269    esac
6270
6271    case $ac_tag in
6272    *:-:* | *:-) cat >"$ac_tmp/stdin" \
6273      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6274    esac
6275    ;;
6276  esac
6277
6278  ac_dir=`$as_dirname -- "$ac_file" ||
6279$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6280	 X"$ac_file" : 'X\(//\)[^/]' \| \
6281	 X"$ac_file" : 'X\(//\)$' \| \
6282	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6283$as_echo X"$ac_file" |
6284    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6285	    s//\1/
6286	    q
6287	  }
6288	  /^X\(\/\/\)[^/].*/{
6289	    s//\1/
6290	    q
6291	  }
6292	  /^X\(\/\/\)$/{
6293	    s//\1/
6294	    q
6295	  }
6296	  /^X\(\/\).*/{
6297	    s//\1/
6298	    q
6299	  }
6300	  s/.*/./; q'`
6301  as_dir="$ac_dir"; as_fn_mkdir_p
6302  ac_builddir=.
6303
6304case "$ac_dir" in
6305.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6306*)
6307  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6308  # A ".." for each directory in $ac_dir_suffix.
6309  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6310  case $ac_top_builddir_sub in
6311  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6312  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6313  esac ;;
6314esac
6315ac_abs_top_builddir=$ac_pwd
6316ac_abs_builddir=$ac_pwd$ac_dir_suffix
6317# for backward compatibility:
6318ac_top_builddir=$ac_top_build_prefix
6319
6320case $srcdir in
6321  .)  # We are building in place.
6322    ac_srcdir=.
6323    ac_top_srcdir=$ac_top_builddir_sub
6324    ac_abs_top_srcdir=$ac_pwd ;;
6325  [\\/]* | ?:[\\/]* )  # Absolute name.
6326    ac_srcdir=$srcdir$ac_dir_suffix;
6327    ac_top_srcdir=$srcdir
6328    ac_abs_top_srcdir=$srcdir ;;
6329  *) # Relative name.
6330    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6331    ac_top_srcdir=$ac_top_build_prefix$srcdir
6332    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6333esac
6334ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6335
6336
6337  case $ac_mode in
6338  :F)
6339  #
6340  # CONFIG_FILE
6341  #
6342
6343  case $INSTALL in
6344  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6345  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6346  esac
6347  ac_MKDIR_P=$MKDIR_P
6348  case $MKDIR_P in
6349  [\\/$]* | ?:[\\/]* ) ;;
6350  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6351  esac
6352_ACEOF
6353
6354cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6355# If the template does not know about datarootdir, expand it.
6356# FIXME: This hack should be removed a few years after 2.60.
6357ac_datarootdir_hack=; ac_datarootdir_seen=
6358ac_sed_dataroot='
6359/datarootdir/ {
6360  p
6361  q
6362}
6363/@datadir@/p
6364/@docdir@/p
6365/@infodir@/p
6366/@localedir@/p
6367/@mandir@/p'
6368case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6369*datarootdir*) ac_datarootdir_seen=yes;;
6370*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6371  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6372$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6373_ACEOF
6374cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6375  ac_datarootdir_hack='
6376  s&@datadir@&$datadir&g
6377  s&@docdir@&$docdir&g
6378  s&@infodir@&$infodir&g
6379  s&@localedir@&$localedir&g
6380  s&@mandir@&$mandir&g
6381  s&\\\${datarootdir}&$datarootdir&g' ;;
6382esac
6383_ACEOF
6384
6385# Neutralize VPATH when `$srcdir' = `.'.
6386# Shell code in configure.ac might set extrasub.
6387# FIXME: do we really want to maintain this feature?
6388cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6389ac_sed_extra="$ac_vpsub
6390$extrasub
6391_ACEOF
6392cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6393:t
6394/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6395s|@configure_input@|$ac_sed_conf_input|;t t
6396s&@top_builddir@&$ac_top_builddir_sub&;t t
6397s&@top_build_prefix@&$ac_top_build_prefix&;t t
6398s&@srcdir@&$ac_srcdir&;t t
6399s&@abs_srcdir@&$ac_abs_srcdir&;t t
6400s&@top_srcdir@&$ac_top_srcdir&;t t
6401s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6402s&@builddir@&$ac_builddir&;t t
6403s&@abs_builddir@&$ac_abs_builddir&;t t
6404s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6405s&@INSTALL@&$ac_INSTALL&;t t
6406s&@MKDIR_P@&$ac_MKDIR_P&;t t
6407$ac_datarootdir_hack
6408"
6409eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6410  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6411
6412test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6413  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6414  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
6415      "$ac_tmp/out"`; test -z "$ac_out"; } &&
6416  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6417which seems to be undefined.  Please make sure it is defined" >&5
6418$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6419which seems to be undefined.  Please make sure it is defined" >&2;}
6420
6421  rm -f "$ac_tmp/stdin"
6422  case $ac_file in
6423  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6424  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6425  esac \
6426  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6427 ;;
6428  :H)
6429  #
6430  # CONFIG_HEADER
6431  #
6432  if test x"$ac_file" != x-; then
6433    {
6434      $as_echo "/* $configure_input  */" \
6435      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6436    } >"$ac_tmp/config.h" \
6437      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6438    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6439      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6440$as_echo "$as_me: $ac_file is unchanged" >&6;}
6441    else
6442      rm -f "$ac_file"
6443      mv "$ac_tmp/config.h" "$ac_file" \
6444	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
6445    fi
6446  else
6447    $as_echo "/* $configure_input  */" \
6448      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6449      || as_fn_error $? "could not create -" "$LINENO" 5
6450  fi
6451# Compute "$ac_file"'s index in $config_headers.
6452_am_arg="$ac_file"
6453_am_stamp_count=1
6454for _am_header in $config_headers :; do
6455  case $_am_header in
6456    $_am_arg | $_am_arg:* )
6457      break ;;
6458    * )
6459      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6460  esac
6461done
6462echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6463$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6464	 X"$_am_arg" : 'X\(//\)[^/]' \| \
6465	 X"$_am_arg" : 'X\(//\)$' \| \
6466	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6467$as_echo X"$_am_arg" |
6468    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6469	    s//\1/
6470	    q
6471	  }
6472	  /^X\(\/\/\)[^/].*/{
6473	    s//\1/
6474	    q
6475	  }
6476	  /^X\(\/\/\)$/{
6477	    s//\1/
6478	    q
6479	  }
6480	  /^X\(\/\).*/{
6481	    s//\1/
6482	    q
6483	  }
6484	  s/.*/./; q'`/stamp-h$_am_stamp_count
6485 ;;
6486
6487  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6488$as_echo "$as_me: executing $ac_file commands" >&6;}
6489 ;;
6490  esac
6491
6492
6493  case $ac_file$ac_mode in
6494    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6495  # Autoconf 2.62 quotes --file arguments for eval, but not when files
6496  # are listed without --file.  Let's play safe and only enable the eval
6497  # if we detect the quoting.
6498  case $CONFIG_FILES in
6499  *\'*) eval set x "$CONFIG_FILES" ;;
6500  *)   set x $CONFIG_FILES ;;
6501  esac
6502  shift
6503  for mf
6504  do
6505    # Strip MF so we end up with the name of the file.
6506    mf=`echo "$mf" | sed -e 's/:.*$//'`
6507    # Check whether this is an Automake generated Makefile or not.
6508    # We used to match only the files named `Makefile.in', but
6509    # some people rename them; so instead we look at the file content.
6510    # Grep'ing the first line is not enough: some people post-process
6511    # each Makefile.in and add a new line on top of each file to say so.
6512    # Grep'ing the whole file is not good either: AIX grep has a line
6513    # limit of 2048, but all sed's we know have understand at least 4000.
6514    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6515      dirpart=`$as_dirname -- "$mf" ||
6516$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6517	 X"$mf" : 'X\(//\)[^/]' \| \
6518	 X"$mf" : 'X\(//\)$' \| \
6519	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6520$as_echo X"$mf" |
6521    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6522	    s//\1/
6523	    q
6524	  }
6525	  /^X\(\/\/\)[^/].*/{
6526	    s//\1/
6527	    q
6528	  }
6529	  /^X\(\/\/\)$/{
6530	    s//\1/
6531	    q
6532	  }
6533	  /^X\(\/\).*/{
6534	    s//\1/
6535	    q
6536	  }
6537	  s/.*/./; q'`
6538    else
6539      continue
6540    fi
6541    # Extract the definition of DEPDIR, am__include, and am__quote
6542    # from the Makefile without running `make'.
6543    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6544    test -z "$DEPDIR" && continue
6545    am__include=`sed -n 's/^am__include = //p' < "$mf"`
6546    test -z "am__include" && continue
6547    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6548    # When using ansi2knr, U may be empty or an underscore; expand it
6549    U=`sed -n 's/^U = //p' < "$mf"`
6550    # Find all dependency output files, they are included files with
6551    # $(DEPDIR) in their names.  We invoke sed twice because it is the
6552    # simplest approach to changing $(DEPDIR) to its actual value in the
6553    # expansion.
6554    for file in `sed -n "
6555      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6556	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6557      # Make sure the directory exists.
6558      test -f "$dirpart/$file" && continue
6559      fdir=`$as_dirname -- "$file" ||
6560$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6561	 X"$file" : 'X\(//\)[^/]' \| \
6562	 X"$file" : 'X\(//\)$' \| \
6563	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6564$as_echo X"$file" |
6565    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6566	    s//\1/
6567	    q
6568	  }
6569	  /^X\(\/\/\)[^/].*/{
6570	    s//\1/
6571	    q
6572	  }
6573	  /^X\(\/\/\)$/{
6574	    s//\1/
6575	    q
6576	  }
6577	  /^X\(\/\).*/{
6578	    s//\1/
6579	    q
6580	  }
6581	  s/.*/./; q'`
6582      as_dir=$dirpart/$fdir; as_fn_mkdir_p
6583      # echo "creating $dirpart/$file"
6584      echo '# dummy' > "$dirpart/$file"
6585    done
6586  done
6587}
6588 ;;
6589
6590  esac
6591done # for ac_tag
6592
6593
6594as_fn_exit 0
6595_ACEOF
6596ac_clean_files=$ac_clean_files_save
6597
6598test $ac_write_fail = 0 ||
6599  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6600
6601
6602# configure is writing to config.log, and then calls config.status.
6603# config.status does its own redirection, appending to config.log.
6604# Unfortunately, on DOS this fails, as config.log is still kept open
6605# by configure, so config.status won't be able to write to it; its
6606# output is simply discarded.  So we exec the FD to /dev/null,
6607# effectively closing config.log, so it can be properly (re)opened and
6608# appended to by config.status.  When coming back to configure, we
6609# need to make the FD available again.
6610if test "$no_create" != yes; then
6611  ac_cs_success=:
6612  ac_config_status_args=
6613  test "$silent" = yes &&
6614    ac_config_status_args="$ac_config_status_args --quiet"
6615  exec 5>/dev/null
6616  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6617  exec 5>>config.log
6618  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6619  # would make configure fail if this is the last instruction.
6620  $ac_cs_success || as_fn_exit 1
6621fi
6622if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6623  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6624$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6625fi
6626
6627ac_config_files="$ac_config_files privileged_startx/Makefile"
6628
6629cat >confcache <<\_ACEOF
6630# This file is a shell script that caches the results of configure
6631# tests run on this system so they can be shared between configure
6632# scripts and configure runs, see configure's option --config-cache.
6633# It is not useful on other systems.  If it contains results you don't
6634# want to keep, you may remove or edit it.
6635#
6636# config.status only pays attention to the cache file if you give it
6637# the --recheck option to rerun configure.
6638#
6639# `ac_cv_env_foo' variables (set or unset) will be overridden when
6640# loading this file, other *unset* `ac_cv_foo' will be assigned the
6641# following values.
6642
6643_ACEOF
6644
6645# The following way of writing the cache mishandles newlines in values,
6646# but we know of no workaround that is simple, portable, and efficient.
6647# So, we kill variables containing newlines.
6648# Ultrix sh set writes to stderr and can't be redirected directly,
6649# and sets the high bit in the cache file unless we assign to the vars.
6650(
6651  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6652    eval ac_val=\$$ac_var
6653    case $ac_val in #(
6654    *${as_nl}*)
6655      case $ac_var in #(
6656      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6657$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6658      esac
6659      case $ac_var in #(
6660      _ | IFS | as_nl) ;; #(
6661      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
6662      *) { eval $ac_var=; unset $ac_var;} ;;
6663      esac ;;
6664    esac
6665  done
6666
6667  (set) 2>&1 |
6668    case $as_nl`(ac_space=' '; set) 2>&1` in #(
6669    *${as_nl}ac_space=\ *)
6670      # `set' does not quote correctly, so add quotes: double-quote
6671      # substitution turns \\\\ into \\, and sed turns \\ into \.
6672      sed -n \
6673	"s/'/'\\\\''/g;
6674	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6675      ;; #(
6676    *)
6677      # `set' quotes correctly as required by POSIX, so do not add quotes.
6678      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6679      ;;
6680    esac |
6681    sort
6682) |
6683  sed '
6684     /^ac_cv_env_/b end
6685     t clear
6686     :clear
6687     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6688     t end
6689     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6690     :end' >>confcache
6691if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6692  if test -w "$cache_file"; then
6693    if test "x$cache_file" != "x/dev/null"; then
6694      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6695$as_echo "$as_me: updating cache $cache_file" >&6;}
6696      if test ! -f "$cache_file" || test -h "$cache_file"; then
6697	cat confcache >"$cache_file"
6698      else
6699        case $cache_file in #(
6700        */* | ?:*)
6701	  mv -f confcache "$cache_file"$$ &&
6702	  mv -f "$cache_file"$$ "$cache_file" ;; #(
6703        *)
6704	  mv -f confcache "$cache_file" ;;
6705	esac
6706      fi
6707    fi
6708  else
6709    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6710$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6711  fi
6712fi
6713rm -f confcache
6714
6715test "x$prefix" = xNONE && prefix=$ac_default_prefix
6716# Let make expand exec_prefix.
6717test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6718
6719DEFS=-DHAVE_CONFIG_H
6720
6721ac_libobjs=
6722ac_ltlibobjs=
6723U=
6724for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6725  # 1. Remove the extension, and $U if already installed.
6726  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6727  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
6728  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
6729  #    will be set to the directory where LIBOBJS objects are built.
6730  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6731  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
6732done
6733LIBOBJS=$ac_libobjs
6734
6735LTLIBOBJS=$ac_ltlibobjs
6736
6737
6738 if test -n "$EXEEXT"; then
6739  am__EXEEXT_TRUE=
6740  am__EXEEXT_FALSE='#'
6741else
6742  am__EXEEXT_TRUE='#'
6743  am__EXEEXT_FALSE=
6744fi
6745
6746if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6747  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
6748Usually this means the macro was only invoked conditionally." "$LINENO" 5
6749fi
6750if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6751  as_fn_error $? "conditional \"AMDEP\" was never defined.
6752Usually this means the macro was only invoked conditionally." "$LINENO" 5
6753fi
6754if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6755  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
6756Usually this means the macro was only invoked conditionally." "$LINENO" 5
6757fi
6758if test -z "${LAUNCHD_TRUE}" && test -z "${LAUNCHD_FALSE}"; then
6759  as_fn_error $? "conditional \"LAUNCHD\" was never defined.
6760Usually this means the macro was only invoked conditionally." "$LINENO" 5
6761fi
6762if test -z "${TIGER_LAUNCHD_TRUE}" && test -z "${TIGER_LAUNCHD_FALSE}"; then
6763  as_fn_error $? "conditional \"TIGER_LAUNCHD\" was never defined.
6764Usually this means the macro was only invoked conditionally." "$LINENO" 5
6765fi
6766if test -z "${am__EXEEXT_TRUE}" && test -z "${am__EXEEXT_FALSE}"; then
6767  as_fn_error $? "conditional \"am__EXEEXT\" was never defined.
6768Usually this means the macro was only invoked conditionally." "$LINENO" 5
6769fi
6770
6771: "${CONFIG_STATUS=./config.status}"
6772ac_write_fail=0
6773ac_clean_files_save=$ac_clean_files
6774ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6775{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6776$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6777as_write_fail=0
6778cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6779#! $SHELL
6780# Generated by $as_me.
6781# Run this file to recreate the current configuration.
6782# Compiler output produced by configure, useful for debugging
6783# configure, is in config.log if it exists.
6784
6785debug=false
6786ac_cs_recheck=false
6787ac_cs_silent=false
6788
6789SHELL=\${CONFIG_SHELL-$SHELL}
6790export SHELL
6791_ASEOF
6792cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
6793## -------------------- ##
6794## M4sh Initialization. ##
6795## -------------------- ##
6796
6797# Be more Bourne compatible
6798DUALCASE=1; export DUALCASE # for MKS sh
6799if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
6800  emulate sh
6801  NULLCMD=:
6802  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6803  # is contrary to our usage.  Disable this feature.
6804  alias -g '${1+"$@"}'='"$@"'
6805  setopt NO_GLOB_SUBST
6806else
6807  case `(set -o) 2>/dev/null` in #(
6808  *posix*) :
6809    set -o posix ;; #(
6810  *) :
6811     ;;
6812esac
6813fi
6814
6815
6816as_nl='
6817'
6818export as_nl
6819# Printing a long string crashes Solaris 7 /usr/bin/printf.
6820as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6821as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6822as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6823# Prefer a ksh shell builtin over an external printf program on Solaris,
6824# but without wasting forks for bash or zsh.
6825if test -z "$BASH_VERSION$ZSH_VERSION" \
6826    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6827  as_echo='print -r --'
6828  as_echo_n='print -rn --'
6829elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6830  as_echo='printf %s\n'
6831  as_echo_n='printf %s'
6832else
6833  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6834    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6835    as_echo_n='/usr/ucb/echo -n'
6836  else
6837    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6838    as_echo_n_body='eval
6839      arg=$1;
6840      case $arg in #(
6841      *"$as_nl"*)
6842	expr "X$arg" : "X\\(.*\\)$as_nl";
6843	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6844      esac;
6845      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6846    '
6847    export as_echo_n_body
6848    as_echo_n='sh -c $as_echo_n_body as_echo'
6849  fi
6850  export as_echo_body
6851  as_echo='sh -c $as_echo_body as_echo'
6852fi
6853
6854# The user is always right.
6855if test "${PATH_SEPARATOR+set}" != set; then
6856  PATH_SEPARATOR=:
6857  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6858    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6859      PATH_SEPARATOR=';'
6860  }
6861fi
6862
6863
6864# IFS
6865# We need space, tab and new line, in precisely that order.  Quoting is
6866# there to prevent editors from complaining about space-tab.
6867# (If _AS_PATH_WALK were called with IFS unset, it would disable word
6868# splitting by setting IFS to empty value.)
6869IFS=" ""	$as_nl"
6870
6871# Find who we are.  Look in the path if we contain no directory separator.
6872as_myself=
6873case $0 in #((
6874  *[\\/]* ) as_myself=$0 ;;
6875  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6876for as_dir in $PATH
6877do
6878  IFS=$as_save_IFS
6879  test -z "$as_dir" && as_dir=.
6880    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6881  done
6882IFS=$as_save_IFS
6883
6884     ;;
6885esac
6886# We did not find ourselves, most probably we were run as `sh COMMAND'
6887# in which case we are not to be found in the path.
6888if test "x$as_myself" = x; then
6889  as_myself=$0
6890fi
6891if test ! -f "$as_myself"; then
6892  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6893  exit 1
6894fi
6895
6896# Unset variables that we do not need and which cause bugs (e.g. in
6897# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
6898# suppresses any "Segmentation fault" message there.  '((' could
6899# trigger a bug in pdksh 5.2.14.
6900for as_var in BASH_ENV ENV MAIL MAILPATH
6901do eval test x\${$as_var+set} = xset \
6902  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
6903done
6904PS1='$ '
6905PS2='> '
6906PS4='+ '
6907
6908# NLS nuisances.
6909LC_ALL=C
6910export LC_ALL
6911LANGUAGE=C
6912export LANGUAGE
6913
6914# CDPATH.
6915(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
6916
6917
6918# as_fn_error STATUS ERROR [LINENO LOG_FD]
6919# ----------------------------------------
6920# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6921# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6922# script with STATUS, using 1 if that was 0.
6923as_fn_error ()
6924{
6925  as_status=$1; test $as_status -eq 0 && as_status=1
6926  if test "$4"; then
6927    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6928    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6929  fi
6930  $as_echo "$as_me: error: $2" >&2
6931  as_fn_exit $as_status
6932} # as_fn_error
6933
6934
6935# as_fn_set_status STATUS
6936# -----------------------
6937# Set $? to STATUS, without forking.
6938as_fn_set_status ()
6939{
6940  return $1
6941} # as_fn_set_status
6942
6943# as_fn_exit STATUS
6944# -----------------
6945# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6946as_fn_exit ()
6947{
6948  set +e
6949  as_fn_set_status $1
6950  exit $1
6951} # as_fn_exit
6952
6953# as_fn_unset VAR
6954# ---------------
6955# Portably unset VAR.
6956as_fn_unset ()
6957{
6958  { eval $1=; unset $1;}
6959}
6960as_unset=as_fn_unset
6961# as_fn_append VAR VALUE
6962# ----------------------
6963# Append the text in VALUE to the end of the definition contained in VAR. Take
6964# advantage of any shell optimizations that allow amortized linear growth over
6965# repeated appends, instead of the typical quadratic growth present in naive
6966# implementations.
6967if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
6968  eval 'as_fn_append ()
6969  {
6970    eval $1+=\$2
6971  }'
6972else
6973  as_fn_append ()
6974  {
6975    eval $1=\$$1\$2
6976  }
6977fi # as_fn_append
6978
6979# as_fn_arith ARG...
6980# ------------------
6981# Perform arithmetic evaluation on the ARGs, and store the result in the
6982# global $as_val. Take advantage of shells that can avoid forks. The arguments
6983# must be portable across $(()) and expr.
6984if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
6985  eval 'as_fn_arith ()
6986  {
6987    as_val=$(( $* ))
6988  }'
6989else
6990  as_fn_arith ()
6991  {
6992    as_val=`expr "$@" || test $? -eq 1`
6993  }
6994fi # as_fn_arith
6995
6996
6997if expr a : '\(a\)' >/dev/null 2>&1 &&
6998   test "X`expr 00001 : '.*\(...\)'`" = X001; then
6999  as_expr=expr
7000else
7001  as_expr=false
7002fi
7003
7004if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7005  as_basename=basename
7006else
7007  as_basename=false
7008fi
7009
7010if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7011  as_dirname=dirname
7012else
7013  as_dirname=false
7014fi
7015
7016as_me=`$as_basename -- "$0" ||
7017$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7018	 X"$0" : 'X\(//\)$' \| \
7019	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7020$as_echo X/"$0" |
7021    sed '/^.*\/\([^/][^/]*\)\/*$/{
7022	    s//\1/
7023	    q
7024	  }
7025	  /^X\/\(\/\/\)$/{
7026	    s//\1/
7027	    q
7028	  }
7029	  /^X\/\(\/\).*/{
7030	    s//\1/
7031	    q
7032	  }
7033	  s/.*/./; q'`
7034
7035# Avoid depending upon Character Ranges.
7036as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7037as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7038as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7039as_cr_digits='0123456789'
7040as_cr_alnum=$as_cr_Letters$as_cr_digits
7041
7042ECHO_C= ECHO_N= ECHO_T=
7043case `echo -n x` in #(((((
7044-n*)
7045  case `echo 'xy\c'` in
7046  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
7047  xy)  ECHO_C='\c';;
7048  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
7049       ECHO_T='	';;
7050  esac;;
7051*)
7052  ECHO_N='-n';;
7053esac
7054
7055rm -f conf$$ conf$$.exe conf$$.file
7056if test -d conf$$.dir; then
7057  rm -f conf$$.dir/conf$$.file
7058else
7059  rm -f conf$$.dir
7060  mkdir conf$$.dir 2>/dev/null
7061fi
7062if (echo >conf$$.file) 2>/dev/null; then
7063  if ln -s conf$$.file conf$$ 2>/dev/null; then
7064    as_ln_s='ln -s'
7065    # ... but there are two gotchas:
7066    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7067    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7068    # In both cases, we have to default to `cp -p'.
7069    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7070      as_ln_s='cp -p'
7071  elif ln conf$$.file conf$$ 2>/dev/null; then
7072    as_ln_s=ln
7073  else
7074    as_ln_s='cp -p'
7075  fi
7076else
7077  as_ln_s='cp -p'
7078fi
7079rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7080rmdir conf$$.dir 2>/dev/null
7081
7082
7083# as_fn_mkdir_p
7084# -------------
7085# Create "$as_dir" as a directory, including parents if necessary.
7086as_fn_mkdir_p ()
7087{
7088
7089  case $as_dir in #(
7090  -*) as_dir=./$as_dir;;
7091  esac
7092  test -d "$as_dir" || eval $as_mkdir_p || {
7093    as_dirs=
7094    while :; do
7095      case $as_dir in #(
7096      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7097      *) as_qdir=$as_dir;;
7098      esac
7099      as_dirs="'$as_qdir' $as_dirs"
7100      as_dir=`$as_dirname -- "$as_dir" ||
7101$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7102	 X"$as_dir" : 'X\(//\)[^/]' \| \
7103	 X"$as_dir" : 'X\(//\)$' \| \
7104	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7105$as_echo X"$as_dir" |
7106    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7107	    s//\1/
7108	    q
7109	  }
7110	  /^X\(\/\/\)[^/].*/{
7111	    s//\1/
7112	    q
7113	  }
7114	  /^X\(\/\/\)$/{
7115	    s//\1/
7116	    q
7117	  }
7118	  /^X\(\/\).*/{
7119	    s//\1/
7120	    q
7121	  }
7122	  s/.*/./; q'`
7123      test -d "$as_dir" && break
7124    done
7125    test -z "$as_dirs" || eval "mkdir $as_dirs"
7126  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
7127
7128
7129} # as_fn_mkdir_p
7130if mkdir -p . 2>/dev/null; then
7131  as_mkdir_p='mkdir -p "$as_dir"'
7132else
7133  test -d ./-p && rmdir ./-p
7134  as_mkdir_p=false
7135fi
7136
7137if test -x / >/dev/null 2>&1; then
7138  as_test_x='test -x'
7139else
7140  if ls -dL / >/dev/null 2>&1; then
7141    as_ls_L_option=L
7142  else
7143    as_ls_L_option=
7144  fi
7145  as_test_x='
7146    eval sh -c '\''
7147      if test -d "$1"; then
7148	test -d "$1/.";
7149      else
7150	case $1 in #(
7151	-*)set "./$1";;
7152	esac;
7153	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
7154	???[sx]*):;;*)false;;esac;fi
7155    '\'' sh
7156  '
7157fi
7158as_executable_p=$as_test_x
7159
7160# Sed expression to map a string onto a valid CPP name.
7161as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7162
7163# Sed expression to map a string onto a valid variable name.
7164as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7165
7166
7167exec 6>&1
7168## ----------------------------------- ##
7169## Main body of $CONFIG_STATUS script. ##
7170## ----------------------------------- ##
7171_ASEOF
7172test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
7173
7174cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7175# Save the log message, to keep $0 and so on meaningful, and to
7176# report actual input values of CONFIG_FILES etc. instead of their
7177# values after options handling.
7178ac_log="
7179This file was extended by xinit $as_me 1.3.0, which was
7180generated by GNU Autoconf 2.68.  Invocation command line was
7181
7182  CONFIG_FILES    = $CONFIG_FILES
7183  CONFIG_HEADERS  = $CONFIG_HEADERS
7184  CONFIG_LINKS    = $CONFIG_LINKS
7185  CONFIG_COMMANDS = $CONFIG_COMMANDS
7186  $ $0 $@
7187
7188on `(hostname || uname -n) 2>/dev/null | sed 1q`
7189"
7190
7191_ACEOF
7192
7193case $ac_config_files in *"
7194"*) set x $ac_config_files; shift; ac_config_files=$*;;
7195esac
7196
7197case $ac_config_headers in *"
7198"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
7199esac
7200
7201
7202cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7203# Files that config.status was made for.
7204config_files="$ac_config_files"
7205config_headers="$ac_config_headers"
7206config_commands="$ac_config_commands"
7207
7208_ACEOF
7209
7210cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7211ac_cs_usage="\
7212\`$as_me' instantiates files and other configuration actions
7213from templates according to the current configuration.  Unless the files
7214and actions are specified as TAGs, all are instantiated by default.
7215
7216Usage: $0 [OPTION]... [TAG]...
7217
7218  -h, --help       print this help, then exit
7219  -V, --version    print version number and configuration settings, then exit
7220      --config     print configuration, then exit
7221  -q, --quiet, --silent
7222                   do not print progress messages
7223  -d, --debug      don't remove temporary files
7224      --recheck    update $as_me by reconfiguring in the same conditions
7225      --file=FILE[:TEMPLATE]
7226                   instantiate the configuration file FILE
7227      --header=FILE[:TEMPLATE]
7228                   instantiate the configuration header FILE
7229
7230Configuration files:
7231$config_files
7232
7233Configuration headers:
7234$config_headers
7235
7236Configuration commands:
7237$config_commands
7238
7239Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
7240
7241_ACEOF
7242cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7243ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7244ac_cs_version="\\
7245xinit config.status 1.3.0
7246configured by $0, generated by GNU Autoconf 2.68,
7247  with options \\"\$ac_cs_config\\"
7248
7249Copyright (C) 2010 Free Software Foundation, Inc.
7250This config.status script is free software; the Free Software Foundation
7251gives unlimited permission to copy, distribute and modify it."
7252
7253ac_pwd='$ac_pwd'
7254srcdir='$srcdir'
7255INSTALL='$INSTALL'
7256MKDIR_P='$MKDIR_P'
7257AWK='$AWK'
7258test -n "\$AWK" || AWK=awk
7259_ACEOF
7260
7261cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7262# The default lists apply if the user does not specify any file.
7263ac_need_defaults=:
7264while test $# != 0
7265do
7266  case $1 in
7267  --*=?*)
7268    ac_option=`expr "X$1" : 'X\([^=]*\)='`
7269    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7270    ac_shift=:
7271    ;;
7272  --*=)
7273    ac_option=`expr "X$1" : 'X\([^=]*\)='`
7274    ac_optarg=
7275    ac_shift=:
7276    ;;
7277  *)
7278    ac_option=$1
7279    ac_optarg=$2
7280    ac_shift=shift
7281    ;;
7282  esac
7283
7284  case $ac_option in
7285  # Handling of the options.
7286  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7287    ac_cs_recheck=: ;;
7288  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7289    $as_echo "$ac_cs_version"; exit ;;
7290  --config | --confi | --conf | --con | --co | --c )
7291    $as_echo "$ac_cs_config"; exit ;;
7292  --debug | --debu | --deb | --de | --d | -d )
7293    debug=: ;;
7294  --file | --fil | --fi | --f )
7295    $ac_shift
7296    case $ac_optarg in
7297    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7298    '') as_fn_error $? "missing file argument" ;;
7299    esac
7300    as_fn_append CONFIG_FILES " '$ac_optarg'"
7301    ac_need_defaults=false;;
7302  --header | --heade | --head | --hea )
7303    $ac_shift
7304    case $ac_optarg in
7305    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7306    esac
7307    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
7308    ac_need_defaults=false;;
7309  --he | --h)
7310    # Conflict between --help and --header
7311    as_fn_error $? "ambiguous option: \`$1'
7312Try \`$0 --help' for more information.";;
7313  --help | --hel | -h )
7314    $as_echo "$ac_cs_usage"; exit ;;
7315  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7316  | -silent | --silent | --silen | --sile | --sil | --si | --s)
7317    ac_cs_silent=: ;;
7318
7319  # This is an error.
7320  -*) as_fn_error $? "unrecognized option: \`$1'
7321Try \`$0 --help' for more information." ;;
7322
7323  *) as_fn_append ac_config_targets " $1"
7324     ac_need_defaults=false ;;
7325
7326  esac
7327  shift
7328done
7329
7330ac_configure_extra_args=
7331
7332if $ac_cs_silent; then
7333  exec 6>/dev/null
7334  ac_configure_extra_args="$ac_configure_extra_args --silent"
7335fi
7336
7337_ACEOF
7338cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7339if \$ac_cs_recheck; then
7340  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7341  shift
7342  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7343  CONFIG_SHELL='$SHELL'
7344  export CONFIG_SHELL
7345  exec "\$@"
7346fi
7347
7348_ACEOF
7349cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7350exec 5>>config.log
7351{
7352  echo
7353  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7354## Running $as_me. ##
7355_ASBOX
7356  $as_echo "$ac_log"
7357} >&5
7358
7359_ACEOF
7360cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7361#
7362# INIT-COMMANDS
7363#
7364AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7365
7366_ACEOF
7367
7368cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7369
7370# Handling of arguments.
7371for ac_config_target in $ac_config_targets
7372do
7373  case $ac_config_target in
7374    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
7375    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
7376    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7377    "privileged_startx/Makefile") CONFIG_FILES="$CONFIG_FILES privileged_startx/Makefile" ;;
7378
7379  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7380  esac
7381done
7382
7383
7384# If the user did not use the arguments to specify the items to instantiate,
7385# then the envvar interface is used.  Set only those that are not.
7386# We use the long form for the default assignment because of an extremely
7387# bizarre bug on SunOS 4.1.3.
7388if $ac_need_defaults; then
7389  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7390  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7391  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7392fi
7393
7394# Have a temporary directory for convenience.  Make it in the build tree
7395# simply because there is no reason against having it here, and in addition,
7396# creating and moving files from /tmp can sometimes cause problems.
7397# Hook for its removal unless debugging.
7398# Note that there is a small window in which the directory will not be cleaned:
7399# after its creation but before its name has been assigned to `$tmp'.
7400$debug ||
7401{
7402  tmp= ac_tmp=
7403  trap 'exit_status=$?
7404  : "${ac_tmp:=$tmp}"
7405  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7406' 0
7407  trap 'as_fn_exit 1' 1 2 13 15
7408}
7409# Create a (secure) tmp directory for tmp files.
7410
7411{
7412  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7413  test -d "$tmp"
7414}  ||
7415{
7416  tmp=./conf$$-$RANDOM
7417  (umask 077 && mkdir "$tmp")
7418} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
7419ac_tmp=$tmp
7420
7421# Set up the scripts for CONFIG_FILES section.
7422# No need to generate them if there are no CONFIG_FILES.
7423# This happens for instance with `./config.status config.h'.
7424if test -n "$CONFIG_FILES"; then
7425
7426
7427ac_cr=`echo X | tr X '\015'`
7428# On cygwin, bash can eat \r inside `` if the user requested igncr.
7429# But we know of no other shell where ac_cr would be empty at this
7430# point, so we can use a bashism as a fallback.
7431if test "x$ac_cr" = x; then
7432  eval ac_cr=\$\'\\r\'
7433fi
7434ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7435if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7436  ac_cs_awk_cr='\\r'
7437else
7438  ac_cs_awk_cr=$ac_cr
7439fi
7440
7441echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7442_ACEOF
7443
7444
7445{
7446  echo "cat >conf$$subs.awk <<_ACEOF" &&
7447  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7448  echo "_ACEOF"
7449} >conf$$subs.sh ||
7450  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7451ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7452ac_delim='%!_!# '
7453for ac_last_try in false false false false false :; do
7454  . ./conf$$subs.sh ||
7455    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7456
7457  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
7458  if test $ac_delim_n = $ac_delim_num; then
7459    break
7460  elif $ac_last_try; then
7461    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7462  else
7463    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7464  fi
7465done
7466rm -f conf$$subs.sh
7467
7468cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7469cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
7470_ACEOF
7471sed -n '
7472h
7473s/^/S["/; s/!.*/"]=/
7474p
7475g
7476s/^[^!]*!//
7477:repl
7478t repl
7479s/'"$ac_delim"'$//
7480t delim
7481:nl
7482h
7483s/\(.\{148\}\)..*/\1/
7484t more1
7485s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
7486p
7487n
7488b repl
7489:more1
7490s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7491p
7492g
7493s/.\{148\}//
7494t nl
7495:delim
7496h
7497s/\(.\{148\}\)..*/\1/
7498t more2
7499s/["\\]/\\&/g; s/^/"/; s/$/"/
7500p
7501b
7502:more2
7503s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7504p
7505g
7506s/.\{148\}//
7507t delim
7508' <conf$$subs.awk | sed '
7509/^[^""]/{
7510  N
7511  s/\n//
7512}
7513' >>$CONFIG_STATUS || ac_write_fail=1
7514rm -f conf$$subs.awk
7515cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7516_ACAWK
7517cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
7518  for (key in S) S_is_set[key] = 1
7519  FS = ""
7520
7521}
7522{
7523  line = $ 0
7524  nfields = split(line, field, "@")
7525  substed = 0
7526  len = length(field[1])
7527  for (i = 2; i < nfields; i++) {
7528    key = field[i]
7529    keylen = length(key)
7530    if (S_is_set[key]) {
7531      value = S[key]
7532      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7533      len += length(value) + length(field[++i])
7534      substed = 1
7535    } else
7536      len += 1 + keylen
7537  }
7538
7539  print line
7540}
7541
7542_ACAWK
7543_ACEOF
7544cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7545if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7546  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
7547else
7548  cat
7549fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
7550  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
7551_ACEOF
7552
7553# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7554# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
7555# trailing colons and then remove the whole line if VPATH becomes empty
7556# (actually we leave an empty line to preserve line numbers).
7557if test "x$srcdir" = x.; then
7558  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
7559h
7560s///
7561s/^/:/
7562s/[	 ]*$/:/
7563s/:\$(srcdir):/:/g
7564s/:\${srcdir}:/:/g
7565s/:@srcdir@:/:/g
7566s/^:*//
7567s/:*$//
7568x
7569s/\(=[	 ]*\).*/\1/
7570G
7571s/\n//
7572s/^[^=]*=[	 ]*$//
7573}'
7574fi
7575
7576cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7577fi # test -n "$CONFIG_FILES"
7578
7579# Set up the scripts for CONFIG_HEADERS section.
7580# No need to generate them if there are no CONFIG_HEADERS.
7581# This happens for instance with `./config.status Makefile'.
7582if test -n "$CONFIG_HEADERS"; then
7583cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
7584BEGIN {
7585_ACEOF
7586
7587# Transform confdefs.h into an awk script `defines.awk', embedded as
7588# here-document in config.status, that substitutes the proper values into
7589# config.h.in to produce config.h.
7590
7591# Create a delimiter string that does not exist in confdefs.h, to ease
7592# handling of long lines.
7593ac_delim='%!_!# '
7594for ac_last_try in false false :; do
7595  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
7596  if test -z "$ac_tt"; then
7597    break
7598  elif $ac_last_try; then
7599    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
7600  else
7601    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7602  fi
7603done
7604
7605# For the awk script, D is an array of macro values keyed by name,
7606# likewise P contains macro parameters if any.  Preserve backslash
7607# newline sequences.
7608
7609ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7610sed -n '
7611s/.\{148\}/&'"$ac_delim"'/g
7612t rset
7613:rset
7614s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
7615t def
7616d
7617:def
7618s/\\$//
7619t bsnl
7620s/["\\]/\\&/g
7621s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
7622D["\1"]=" \3"/p
7623s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
7624d
7625:bsnl
7626s/["\\]/\\&/g
7627s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
7628D["\1"]=" \3\\\\\\n"\\/p
7629t cont
7630s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
7631t cont
7632d
7633:cont
7634n
7635s/.\{148\}/&'"$ac_delim"'/g
7636t clear
7637:clear
7638s/\\$//
7639t bsnlc
7640s/["\\]/\\&/g; s/^/"/; s/$/"/p
7641d
7642:bsnlc
7643s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
7644b cont
7645' <confdefs.h | sed '
7646s/'"$ac_delim"'/"\\\
7647"/g' >>$CONFIG_STATUS || ac_write_fail=1
7648
7649cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7650  for (key in D) D_is_set[key] = 1
7651  FS = ""
7652}
7653/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7654  line = \$ 0
7655  split(line, arg, " ")
7656  if (arg[1] == "#") {
7657    defundef = arg[2]
7658    mac1 = arg[3]
7659  } else {
7660    defundef = substr(arg[1], 2)
7661    mac1 = arg[2]
7662  }
7663  split(mac1, mac2, "(") #)
7664  macro = mac2[1]
7665  prefix = substr(line, 1, index(line, defundef) - 1)
7666  if (D_is_set[macro]) {
7667    # Preserve the white space surrounding the "#".
7668    print prefix "define", macro P[macro] D[macro]
7669    next
7670  } else {
7671    # Replace #undef with comments.  This is necessary, for example,
7672    # in the case of _POSIX_SOURCE, which is predefined and required
7673    # on some systems where configure will not decide to define it.
7674    if (defundef == "undef") {
7675      print "/*", prefix defundef, macro, "*/"
7676      next
7677    }
7678  }
7679}
7680{ print }
7681_ACAWK
7682_ACEOF
7683cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7684  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
7685fi # test -n "$CONFIG_HEADERS"
7686
7687
7688eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
7689shift
7690for ac_tag
7691do
7692  case $ac_tag in
7693  :[FHLC]) ac_mode=$ac_tag; continue;;
7694  esac
7695  case $ac_mode$ac_tag in
7696  :[FHL]*:*);;
7697  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
7698  :[FH]-) ac_tag=-:-;;
7699  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7700  esac
7701  ac_save_IFS=$IFS
7702  IFS=:
7703  set x $ac_tag
7704  IFS=$ac_save_IFS
7705  shift
7706  ac_file=$1
7707  shift
7708
7709  case $ac_mode in
7710  :L) ac_source=$1;;
7711  :[FH])
7712    ac_file_inputs=
7713    for ac_f
7714    do
7715      case $ac_f in
7716      -) ac_f="$ac_tmp/stdin";;
7717      *) # Look for the file first in the build tree, then in the source tree
7718	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
7719	 # because $ac_f cannot contain `:'.
7720	 test -f "$ac_f" ||
7721	   case $ac_f in
7722	   [\\/$]*) false;;
7723	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7724	   esac ||
7725	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7726      esac
7727      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7728      as_fn_append ac_file_inputs " '$ac_f'"
7729    done
7730
7731    # Let's still pretend it is `configure' which instantiates (i.e., don't
7732    # use $as_me), people would be surprised to read:
7733    #    /* config.h.  Generated by config.status.  */
7734    configure_input='Generated from '`
7735	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7736	`' by configure.'
7737    if test x"$ac_file" != x-; then
7738      configure_input="$ac_file.  $configure_input"
7739      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7740$as_echo "$as_me: creating $ac_file" >&6;}
7741    fi
7742    # Neutralize special characters interpreted by sed in replacement strings.
7743    case $configure_input in #(
7744    *\&* | *\|* | *\\* )
7745       ac_sed_conf_input=`$as_echo "$configure_input" |
7746       sed 's/[\\\\&|]/\\\\&/g'`;; #(
7747    *) ac_sed_conf_input=$configure_input;;
7748    esac
7749
7750    case $ac_tag in
7751    *:-:* | *:-) cat >"$ac_tmp/stdin" \
7752      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
7753    esac
7754    ;;
7755  esac
7756
7757  ac_dir=`$as_dirname -- "$ac_file" ||
7758$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7759	 X"$ac_file" : 'X\(//\)[^/]' \| \
7760	 X"$ac_file" : 'X\(//\)$' \| \
7761	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7762$as_echo X"$ac_file" |
7763    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7764	    s//\1/
7765	    q
7766	  }
7767	  /^X\(\/\/\)[^/].*/{
7768	    s//\1/
7769	    q
7770	  }
7771	  /^X\(\/\/\)$/{
7772	    s//\1/
7773	    q
7774	  }
7775	  /^X\(\/\).*/{
7776	    s//\1/
7777	    q
7778	  }
7779	  s/.*/./; q'`
7780  as_dir="$ac_dir"; as_fn_mkdir_p
7781  ac_builddir=.
7782
7783case "$ac_dir" in
7784.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7785*)
7786  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7787  # A ".." for each directory in $ac_dir_suffix.
7788  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7789  case $ac_top_builddir_sub in
7790  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7791  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7792  esac ;;
7793esac
7794ac_abs_top_builddir=$ac_pwd
7795ac_abs_builddir=$ac_pwd$ac_dir_suffix
7796# for backward compatibility:
7797ac_top_builddir=$ac_top_build_prefix
7798
7799case $srcdir in
7800  .)  # We are building in place.
7801    ac_srcdir=.
7802    ac_top_srcdir=$ac_top_builddir_sub
7803    ac_abs_top_srcdir=$ac_pwd ;;
7804  [\\/]* | ?:[\\/]* )  # Absolute name.
7805    ac_srcdir=$srcdir$ac_dir_suffix;
7806    ac_top_srcdir=$srcdir
7807    ac_abs_top_srcdir=$srcdir ;;
7808  *) # Relative name.
7809    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7810    ac_top_srcdir=$ac_top_build_prefix$srcdir
7811    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7812esac
7813ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7814
7815
7816  case $ac_mode in
7817  :F)
7818  #
7819  # CONFIG_FILE
7820  #
7821
7822  case $INSTALL in
7823  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7824  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7825  esac
7826  ac_MKDIR_P=$MKDIR_P
7827  case $MKDIR_P in
7828  [\\/$]* | ?:[\\/]* ) ;;
7829  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
7830  esac
7831_ACEOF
7832
7833cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7834# If the template does not know about datarootdir, expand it.
7835# FIXME: This hack should be removed a few years after 2.60.
7836ac_datarootdir_hack=; ac_datarootdir_seen=
7837ac_sed_dataroot='
7838/datarootdir/ {
7839  p
7840  q
7841}
7842/@datadir@/p
7843/@docdir@/p
7844/@infodir@/p
7845/@localedir@/p
7846/@mandir@/p'
7847case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7848*datarootdir*) ac_datarootdir_seen=yes;;
7849*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7850  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7851$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7852_ACEOF
7853cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7854  ac_datarootdir_hack='
7855  s&@datadir@&$datadir&g
7856  s&@docdir@&$docdir&g
7857  s&@infodir@&$infodir&g
7858  s&@localedir@&$localedir&g
7859  s&@mandir@&$mandir&g
7860  s&\\\${datarootdir}&$datarootdir&g' ;;
7861esac
7862_ACEOF
7863
7864# Neutralize VPATH when `$srcdir' = `.'.
7865# Shell code in configure.ac might set extrasub.
7866# FIXME: do we really want to maintain this feature?
7867cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7868ac_sed_extra="$ac_vpsub
7869$extrasub
7870_ACEOF
7871cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7872:t
7873/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7874s|@configure_input@|$ac_sed_conf_input|;t t
7875s&@top_builddir@&$ac_top_builddir_sub&;t t
7876s&@top_build_prefix@&$ac_top_build_prefix&;t t
7877s&@srcdir@&$ac_srcdir&;t t
7878s&@abs_srcdir@&$ac_abs_srcdir&;t t
7879s&@top_srcdir@&$ac_top_srcdir&;t t
7880s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7881s&@builddir@&$ac_builddir&;t t
7882s&@abs_builddir@&$ac_abs_builddir&;t t
7883s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7884s&@INSTALL@&$ac_INSTALL&;t t
7885s&@MKDIR_P@&$ac_MKDIR_P&;t t
7886$ac_datarootdir_hack
7887"
7888eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
7889  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7890
7891test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7892  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
7893  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
7894      "$ac_tmp/out"`; test -z "$ac_out"; } &&
7895  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7896which seems to be undefined.  Please make sure it is defined" >&5
7897$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7898which seems to be undefined.  Please make sure it is defined" >&2;}
7899
7900  rm -f "$ac_tmp/stdin"
7901  case $ac_file in
7902  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7903  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7904  esac \
7905  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7906 ;;
7907  :H)
7908  #
7909  # CONFIG_HEADER
7910  #
7911  if test x"$ac_file" != x-; then
7912    {
7913      $as_echo "/* $configure_input  */" \
7914      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
7915    } >"$ac_tmp/config.h" \
7916      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7917    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
7918      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
7919$as_echo "$as_me: $ac_file is unchanged" >&6;}
7920    else
7921      rm -f "$ac_file"
7922      mv "$ac_tmp/config.h" "$ac_file" \
7923	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
7924    fi
7925  else
7926    $as_echo "/* $configure_input  */" \
7927      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
7928      || as_fn_error $? "could not create -" "$LINENO" 5
7929  fi
7930# Compute "$ac_file"'s index in $config_headers.
7931_am_arg="$ac_file"
7932_am_stamp_count=1
7933for _am_header in $config_headers :; do
7934  case $_am_header in
7935    $_am_arg | $_am_arg:* )
7936      break ;;
7937    * )
7938      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7939  esac
7940done
7941echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
7942$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7943	 X"$_am_arg" : 'X\(//\)[^/]' \| \
7944	 X"$_am_arg" : 'X\(//\)$' \| \
7945	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
7946$as_echo X"$_am_arg" |
7947    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7948	    s//\1/
7949	    q
7950	  }
7951	  /^X\(\/\/\)[^/].*/{
7952	    s//\1/
7953	    q
7954	  }
7955	  /^X\(\/\/\)$/{
7956	    s//\1/
7957	    q
7958	  }
7959	  /^X\(\/\).*/{
7960	    s//\1/
7961	    q
7962	  }
7963	  s/.*/./; q'`/stamp-h$_am_stamp_count
7964 ;;
7965
7966  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
7967$as_echo "$as_me: executing $ac_file commands" >&6;}
7968 ;;
7969  esac
7970
7971
7972  case $ac_file$ac_mode in
7973    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
7974  # Autoconf 2.62 quotes --file arguments for eval, but not when files
7975  # are listed without --file.  Let's play safe and only enable the eval
7976  # if we detect the quoting.
7977  case $CONFIG_FILES in
7978  *\'*) eval set x "$CONFIG_FILES" ;;
7979  *)   set x $CONFIG_FILES ;;
7980  esac
7981  shift
7982  for mf
7983  do
7984    # Strip MF so we end up with the name of the file.
7985    mf=`echo "$mf" | sed -e 's/:.*$//'`
7986    # Check whether this is an Automake generated Makefile or not.
7987    # We used to match only the files named `Makefile.in', but
7988    # some people rename them; so instead we look at the file content.
7989    # Grep'ing the first line is not enough: some people post-process
7990    # each Makefile.in and add a new line on top of each file to say so.
7991    # Grep'ing the whole file is not good either: AIX grep has a line
7992    # limit of 2048, but all sed's we know have understand at least 4000.
7993    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
7994      dirpart=`$as_dirname -- "$mf" ||
7995$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7996	 X"$mf" : 'X\(//\)[^/]' \| \
7997	 X"$mf" : 'X\(//\)$' \| \
7998	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
7999$as_echo X"$mf" |
8000    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8001	    s//\1/
8002	    q
8003	  }
8004	  /^X\(\/\/\)[^/].*/{
8005	    s//\1/
8006	    q
8007	  }
8008	  /^X\(\/\/\)$/{
8009	    s//\1/
8010	    q
8011	  }
8012	  /^X\(\/\).*/{
8013	    s//\1/
8014	    q
8015	  }
8016	  s/.*/./; q'`
8017    else
8018      continue
8019    fi
8020    # Extract the definition of DEPDIR, am__include, and am__quote
8021    # from the Makefile without running `make'.
8022    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8023    test -z "$DEPDIR" && continue
8024    am__include=`sed -n 's/^am__include = //p' < "$mf"`
8025    test -z "am__include" && continue
8026    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
8027    # When using ansi2knr, U may be empty or an underscore; expand it
8028    U=`sed -n 's/^U = //p' < "$mf"`
8029    # Find all dependency output files, they are included files with
8030    # $(DEPDIR) in their names.  We invoke sed twice because it is the
8031    # simplest approach to changing $(DEPDIR) to its actual value in the
8032    # expansion.
8033    for file in `sed -n "
8034      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8035	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8036      # Make sure the directory exists.
8037      test -f "$dirpart/$file" && continue
8038      fdir=`$as_dirname -- "$file" ||
8039$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8040	 X"$file" : 'X\(//\)[^/]' \| \
8041	 X"$file" : 'X\(//\)$' \| \
8042	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8043$as_echo X"$file" |
8044    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8045	    s//\1/
8046	    q
8047	  }
8048	  /^X\(\/\/\)[^/].*/{
8049	    s//\1/
8050	    q
8051	  }
8052	  /^X\(\/\/\)$/{
8053	    s//\1/
8054	    q
8055	  }
8056	  /^X\(\/\).*/{
8057	    s//\1/
8058	    q
8059	  }
8060	  s/.*/./; q'`
8061      as_dir=$dirpart/$fdir; as_fn_mkdir_p
8062      # echo "creating $dirpart/$file"
8063      echo '# dummy' > "$dirpart/$file"
8064    done
8065  done
8066}
8067 ;;
8068
8069  esac
8070done # for ac_tag
8071
8072
8073as_fn_exit 0
8074_ACEOF
8075ac_clean_files=$ac_clean_files_save
8076
8077test $ac_write_fail = 0 ||
8078  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
8079
8080
8081# configure is writing to config.log, and then calls config.status.
8082# config.status does its own redirection, appending to config.log.
8083# Unfortunately, on DOS this fails, as config.log is still kept open
8084# by configure, so config.status won't be able to write to it; its
8085# output is simply discarded.  So we exec the FD to /dev/null,
8086# effectively closing config.log, so it can be properly (re)opened and
8087# appended to by config.status.  When coming back to configure, we
8088# need to make the FD available again.
8089if test "$no_create" != yes; then
8090  ac_cs_success=:
8091  ac_config_status_args=
8092  test "$silent" = yes &&
8093    ac_config_status_args="$ac_config_status_args --quiet"
8094  exec 5>/dev/null
8095  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8096  exec 5>>config.log
8097  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8098  # would make configure fail if this is the last instruction.
8099  $ac_cs_success || as_fn_exit 1
8100fi
8101if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
8102  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8103$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
8104fi
8105
8106