configure revision 86bbecbe
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.68 for rgb 1.0.4.
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='rgb'
563PACKAGE_TARNAME='rgb'
564PACKAGE_VERSION='1.0.4'
565PACKAGE_STRING='rgb 1.0.4'
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
609RGB_DB_FALSE
610RGB_DB_TRUE
611RGB_DB_FILES
612RGB_DB_TYPE
613XORG_LIBS
614XORG_CFLAGS
615db_dir
616db_file
617RGB_LIBS
618RGB_CFLAGS
619AM_BACKSLASH
620AM_DEFAULT_VERBOSITY
621MAN_SUBSTS
622XORG_MAN_PAGE
623ADMIN_MAN_DIR
624DRIVER_MAN_DIR
625MISC_MAN_DIR
626FILE_MAN_DIR
627LIB_MAN_DIR
628APP_MAN_DIR
629ADMIN_MAN_SUFFIX
630DRIVER_MAN_SUFFIX
631MISC_MAN_SUFFIX
632FILE_MAN_SUFFIX
633LIB_MAN_SUFFIX
634APP_MAN_SUFFIX
635SED
636host_os
637host_vendor
638host_cpu
639host
640build_os
641build_vendor
642build_cpu
643build
644INSTALL_CMD
645PKG_CONFIG
646CHANGELOG_CMD
647CWARNFLAGS
648EGREP
649GREP
650CPP
651am__fastdepCC_FALSE
652am__fastdepCC_TRUE
653CCDEPMODE
654AMDEPBACKSLASH
655AMDEP_FALSE
656AMDEP_TRUE
657am__quote
658am__include
659DEPDIR
660OBJEXT
661EXEEXT
662ac_ct_CC
663CPPFLAGS
664LDFLAGS
665CFLAGS
666CC
667MAINT
668MAINTAINER_MODE_FALSE
669MAINTAINER_MODE_TRUE
670am__untar
671am__tar
672AMTAR
673am__leading_dot
674SET_MAKE
675AWK
676mkdir_p
677MKDIR_P
678INSTALL_STRIP_PROGRAM
679STRIP
680install_sh
681MAKEINFO
682AUTOHEADER
683AUTOMAKE
684AUTOCONF
685ACLOCAL
686VERSION
687PACKAGE
688CYGPATH_W
689am__isrc
690INSTALL_DATA
691INSTALL_SCRIPT
692INSTALL_PROGRAM
693target_alias
694host_alias
695build_alias
696LIBS
697ECHO_T
698ECHO_N
699ECHO_C
700DEFS
701mandir
702localedir
703libdir
704psdir
705pdfdir
706dvidir
707htmldir
708infodir
709docdir
710oldincludedir
711includedir
712localstatedir
713sharedstatedir
714sysconfdir
715datadir
716datarootdir
717libexecdir
718sbindir
719bindir
720program_transform_name
721prefix
722exec_prefix
723PACKAGE_URL
724PACKAGE_BUGREPORT
725PACKAGE_STRING
726PACKAGE_VERSION
727PACKAGE_TARNAME
728PACKAGE_NAME
729PATH_SEPARATOR
730SHELL'
731ac_subst_files=''
732ac_user_opts='
733enable_option_checking
734enable_maintainer_mode
735enable_dependency_tracking
736enable_strict_compilation
737enable_silent_rules
738with_rgb_db_dir
739with_rgb_db_type
740'
741      ac_precious_vars='build_alias
742host_alias
743target_alias
744CC
745CFLAGS
746LDFLAGS
747LIBS
748CPPFLAGS
749CPP
750PKG_CONFIG
751RGB_CFLAGS
752RGB_LIBS
753XORG_CFLAGS
754XORG_LIBS'
755
756
757# Initialize some variables set by options.
758ac_init_help=
759ac_init_version=false
760ac_unrecognized_opts=
761ac_unrecognized_sep=
762# The variables have the same names as the options, with
763# dashes changed to underlines.
764cache_file=/dev/null
765exec_prefix=NONE
766no_create=
767no_recursion=
768prefix=NONE
769program_prefix=NONE
770program_suffix=NONE
771program_transform_name=s,x,x,
772silent=
773site=
774srcdir=
775verbose=
776x_includes=NONE
777x_libraries=NONE
778
779# Installation directory options.
780# These are left unexpanded so users can "make install exec_prefix=/foo"
781# and all the variables that are supposed to be based on exec_prefix
782# by default will actually change.
783# Use braces instead of parens because sh, perl, etc. also accept them.
784# (The list follows the same order as the GNU Coding Standards.)
785bindir='${exec_prefix}/bin'
786sbindir='${exec_prefix}/sbin'
787libexecdir='${exec_prefix}/libexec'
788datarootdir='${prefix}/share'
789datadir='${datarootdir}'
790sysconfdir='${prefix}/etc'
791sharedstatedir='${prefix}/com'
792localstatedir='${prefix}/var'
793includedir='${prefix}/include'
794oldincludedir='/usr/include'
795docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
796infodir='${datarootdir}/info'
797htmldir='${docdir}'
798dvidir='${docdir}'
799pdfdir='${docdir}'
800psdir='${docdir}'
801libdir='${exec_prefix}/lib'
802localedir='${datarootdir}/locale'
803mandir='${datarootdir}/man'
804
805ac_prev=
806ac_dashdash=
807for ac_option
808do
809  # If the previous option needs an argument, assign it.
810  if test -n "$ac_prev"; then
811    eval $ac_prev=\$ac_option
812    ac_prev=
813    continue
814  fi
815
816  case $ac_option in
817  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
818  *=)   ac_optarg= ;;
819  *)    ac_optarg=yes ;;
820  esac
821
822  # Accept the important Cygnus configure options, so we can diagnose typos.
823
824  case $ac_dashdash$ac_option in
825  --)
826    ac_dashdash=yes ;;
827
828  -bindir | --bindir | --bindi | --bind | --bin | --bi)
829    ac_prev=bindir ;;
830  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
831    bindir=$ac_optarg ;;
832
833  -build | --build | --buil | --bui | --bu)
834    ac_prev=build_alias ;;
835  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
836    build_alias=$ac_optarg ;;
837
838  -cache-file | --cache-file | --cache-fil | --cache-fi \
839  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
840    ac_prev=cache_file ;;
841  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
842  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
843    cache_file=$ac_optarg ;;
844
845  --config-cache | -C)
846    cache_file=config.cache ;;
847
848  -datadir | --datadir | --datadi | --datad)
849    ac_prev=datadir ;;
850  -datadir=* | --datadir=* | --datadi=* | --datad=*)
851    datadir=$ac_optarg ;;
852
853  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
854  | --dataroo | --dataro | --datar)
855    ac_prev=datarootdir ;;
856  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
857  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
858    datarootdir=$ac_optarg ;;
859
860  -disable-* | --disable-*)
861    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
862    # Reject names that are not valid shell variable names.
863    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
864      as_fn_error $? "invalid feature name: $ac_useropt"
865    ac_useropt_orig=$ac_useropt
866    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
867    case $ac_user_opts in
868      *"
869"enable_$ac_useropt"
870"*) ;;
871      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
872	 ac_unrecognized_sep=', ';;
873    esac
874    eval enable_$ac_useropt=no ;;
875
876  -docdir | --docdir | --docdi | --doc | --do)
877    ac_prev=docdir ;;
878  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
879    docdir=$ac_optarg ;;
880
881  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
882    ac_prev=dvidir ;;
883  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
884    dvidir=$ac_optarg ;;
885
886  -enable-* | --enable-*)
887    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
888    # Reject names that are not valid shell variable names.
889    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
890      as_fn_error $? "invalid feature name: $ac_useropt"
891    ac_useropt_orig=$ac_useropt
892    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
893    case $ac_user_opts in
894      *"
895"enable_$ac_useropt"
896"*) ;;
897      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
898	 ac_unrecognized_sep=', ';;
899    esac
900    eval enable_$ac_useropt=\$ac_optarg ;;
901
902  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
903  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
904  | --exec | --exe | --ex)
905    ac_prev=exec_prefix ;;
906  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
907  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
908  | --exec=* | --exe=* | --ex=*)
909    exec_prefix=$ac_optarg ;;
910
911  -gas | --gas | --ga | --g)
912    # Obsolete; use --with-gas.
913    with_gas=yes ;;
914
915  -help | --help | --hel | --he | -h)
916    ac_init_help=long ;;
917  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
918    ac_init_help=recursive ;;
919  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
920    ac_init_help=short ;;
921
922  -host | --host | --hos | --ho)
923    ac_prev=host_alias ;;
924  -host=* | --host=* | --hos=* | --ho=*)
925    host_alias=$ac_optarg ;;
926
927  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
928    ac_prev=htmldir ;;
929  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
930  | --ht=*)
931    htmldir=$ac_optarg ;;
932
933  -includedir | --includedir | --includedi | --included | --include \
934  | --includ | --inclu | --incl | --inc)
935    ac_prev=includedir ;;
936  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
937  | --includ=* | --inclu=* | --incl=* | --inc=*)
938    includedir=$ac_optarg ;;
939
940  -infodir | --infodir | --infodi | --infod | --info | --inf)
941    ac_prev=infodir ;;
942  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
943    infodir=$ac_optarg ;;
944
945  -libdir | --libdir | --libdi | --libd)
946    ac_prev=libdir ;;
947  -libdir=* | --libdir=* | --libdi=* | --libd=*)
948    libdir=$ac_optarg ;;
949
950  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
951  | --libexe | --libex | --libe)
952    ac_prev=libexecdir ;;
953  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
954  | --libexe=* | --libex=* | --libe=*)
955    libexecdir=$ac_optarg ;;
956
957  -localedir | --localedir | --localedi | --localed | --locale)
958    ac_prev=localedir ;;
959  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
960    localedir=$ac_optarg ;;
961
962  -localstatedir | --localstatedir | --localstatedi | --localstated \
963  | --localstate | --localstat | --localsta | --localst | --locals)
964    ac_prev=localstatedir ;;
965  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
966  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
967    localstatedir=$ac_optarg ;;
968
969  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
970    ac_prev=mandir ;;
971  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
972    mandir=$ac_optarg ;;
973
974  -nfp | --nfp | --nf)
975    # Obsolete; use --without-fp.
976    with_fp=no ;;
977
978  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
979  | --no-cr | --no-c | -n)
980    no_create=yes ;;
981
982  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
983  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
984    no_recursion=yes ;;
985
986  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
987  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
988  | --oldin | --oldi | --old | --ol | --o)
989    ac_prev=oldincludedir ;;
990  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
991  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
992  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
993    oldincludedir=$ac_optarg ;;
994
995  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
996    ac_prev=prefix ;;
997  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
998    prefix=$ac_optarg ;;
999
1000  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1001  | --program-pre | --program-pr | --program-p)
1002    ac_prev=program_prefix ;;
1003  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1004  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1005    program_prefix=$ac_optarg ;;
1006
1007  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1008  | --program-suf | --program-su | --program-s)
1009    ac_prev=program_suffix ;;
1010  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1011  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1012    program_suffix=$ac_optarg ;;
1013
1014  -program-transform-name | --program-transform-name \
1015  | --program-transform-nam | --program-transform-na \
1016  | --program-transform-n | --program-transform- \
1017  | --program-transform | --program-transfor \
1018  | --program-transfo | --program-transf \
1019  | --program-trans | --program-tran \
1020  | --progr-tra | --program-tr | --program-t)
1021    ac_prev=program_transform_name ;;
1022  -program-transform-name=* | --program-transform-name=* \
1023  | --program-transform-nam=* | --program-transform-na=* \
1024  | --program-transform-n=* | --program-transform-=* \
1025  | --program-transform=* | --program-transfor=* \
1026  | --program-transfo=* | --program-transf=* \
1027  | --program-trans=* | --program-tran=* \
1028  | --progr-tra=* | --program-tr=* | --program-t=*)
1029    program_transform_name=$ac_optarg ;;
1030
1031  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1032    ac_prev=pdfdir ;;
1033  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1034    pdfdir=$ac_optarg ;;
1035
1036  -psdir | --psdir | --psdi | --psd | --ps)
1037    ac_prev=psdir ;;
1038  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1039    psdir=$ac_optarg ;;
1040
1041  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1042  | -silent | --silent | --silen | --sile | --sil)
1043    silent=yes ;;
1044
1045  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1046    ac_prev=sbindir ;;
1047  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1048  | --sbi=* | --sb=*)
1049    sbindir=$ac_optarg ;;
1050
1051  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1052  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1053  | --sharedst | --shareds | --shared | --share | --shar \
1054  | --sha | --sh)
1055    ac_prev=sharedstatedir ;;
1056  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1057  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1058  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1059  | --sha=* | --sh=*)
1060    sharedstatedir=$ac_optarg ;;
1061
1062  -site | --site | --sit)
1063    ac_prev=site ;;
1064  -site=* | --site=* | --sit=*)
1065    site=$ac_optarg ;;
1066
1067  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1068    ac_prev=srcdir ;;
1069  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1070    srcdir=$ac_optarg ;;
1071
1072  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1073  | --syscon | --sysco | --sysc | --sys | --sy)
1074    ac_prev=sysconfdir ;;
1075  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1076  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1077    sysconfdir=$ac_optarg ;;
1078
1079  -target | --target | --targe | --targ | --tar | --ta | --t)
1080    ac_prev=target_alias ;;
1081  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1082    target_alias=$ac_optarg ;;
1083
1084  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1085    verbose=yes ;;
1086
1087  -version | --version | --versio | --versi | --vers | -V)
1088    ac_init_version=: ;;
1089
1090  -with-* | --with-*)
1091    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1092    # Reject names that are not valid shell variable names.
1093    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1094      as_fn_error $? "invalid package name: $ac_useropt"
1095    ac_useropt_orig=$ac_useropt
1096    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1097    case $ac_user_opts in
1098      *"
1099"with_$ac_useropt"
1100"*) ;;
1101      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1102	 ac_unrecognized_sep=', ';;
1103    esac
1104    eval with_$ac_useropt=\$ac_optarg ;;
1105
1106  -without-* | --without-*)
1107    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1108    # Reject names that are not valid shell variable names.
1109    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1110      as_fn_error $? "invalid package name: $ac_useropt"
1111    ac_useropt_orig=$ac_useropt
1112    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1113    case $ac_user_opts in
1114      *"
1115"with_$ac_useropt"
1116"*) ;;
1117      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1118	 ac_unrecognized_sep=', ';;
1119    esac
1120    eval with_$ac_useropt=no ;;
1121
1122  --x)
1123    # Obsolete; use --with-x.
1124    with_x=yes ;;
1125
1126  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1127  | --x-incl | --x-inc | --x-in | --x-i)
1128    ac_prev=x_includes ;;
1129  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1130  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1131    x_includes=$ac_optarg ;;
1132
1133  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1134  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1135    ac_prev=x_libraries ;;
1136  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1137  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1138    x_libraries=$ac_optarg ;;
1139
1140  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1141Try \`$0 --help' for more information"
1142    ;;
1143
1144  *=*)
1145    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1146    # Reject names that are not valid shell variable names.
1147    case $ac_envvar in #(
1148      '' | [0-9]* | *[!_$as_cr_alnum]* )
1149      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1150    esac
1151    eval $ac_envvar=\$ac_optarg
1152    export $ac_envvar ;;
1153
1154  *)
1155    # FIXME: should be removed in autoconf 3.0.
1156    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1157    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1158      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1159    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1160    ;;
1161
1162  esac
1163done
1164
1165if test -n "$ac_prev"; then
1166  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1167  as_fn_error $? "missing argument to $ac_option"
1168fi
1169
1170if test -n "$ac_unrecognized_opts"; then
1171  case $enable_option_checking in
1172    no) ;;
1173    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1174    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1175  esac
1176fi
1177
1178# Check all directory arguments for consistency.
1179for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1180		datadir sysconfdir sharedstatedir localstatedir includedir \
1181		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1182		libdir localedir mandir
1183do
1184  eval ac_val=\$$ac_var
1185  # Remove trailing slashes.
1186  case $ac_val in
1187    */ )
1188      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1189      eval $ac_var=\$ac_val;;
1190  esac
1191  # Be sure to have absolute directory names.
1192  case $ac_val in
1193    [\\/$]* | ?:[\\/]* )  continue;;
1194    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1195  esac
1196  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1197done
1198
1199# There might be people who depend on the old broken behavior: `$host'
1200# used to hold the argument of --host etc.
1201# FIXME: To remove some day.
1202build=$build_alias
1203host=$host_alias
1204target=$target_alias
1205
1206# FIXME: To remove some day.
1207if test "x$host_alias" != x; then
1208  if test "x$build_alias" = x; then
1209    cross_compiling=maybe
1210    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1211    If a cross compiler is detected then cross compile mode will be used" >&2
1212  elif test "x$build_alias" != "x$host_alias"; then
1213    cross_compiling=yes
1214  fi
1215fi
1216
1217ac_tool_prefix=
1218test -n "$host_alias" && ac_tool_prefix=$host_alias-
1219
1220test "$silent" = yes && exec 6>/dev/null
1221
1222
1223ac_pwd=`pwd` && test -n "$ac_pwd" &&
1224ac_ls_di=`ls -di .` &&
1225ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1226  as_fn_error $? "working directory cannot be determined"
1227test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1228  as_fn_error $? "pwd does not report name of working directory"
1229
1230
1231# Find the source files, if location was not specified.
1232if test -z "$srcdir"; then
1233  ac_srcdir_defaulted=yes
1234  # Try the directory containing this script, then the parent directory.
1235  ac_confdir=`$as_dirname -- "$as_myself" ||
1236$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1237	 X"$as_myself" : 'X\(//\)[^/]' \| \
1238	 X"$as_myself" : 'X\(//\)$' \| \
1239	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1240$as_echo X"$as_myself" |
1241    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1242	    s//\1/
1243	    q
1244	  }
1245	  /^X\(\/\/\)[^/].*/{
1246	    s//\1/
1247	    q
1248	  }
1249	  /^X\(\/\/\)$/{
1250	    s//\1/
1251	    q
1252	  }
1253	  /^X\(\/\).*/{
1254	    s//\1/
1255	    q
1256	  }
1257	  s/.*/./; q'`
1258  srcdir=$ac_confdir
1259  if test ! -r "$srcdir/$ac_unique_file"; then
1260    srcdir=..
1261  fi
1262else
1263  ac_srcdir_defaulted=no
1264fi
1265if test ! -r "$srcdir/$ac_unique_file"; then
1266  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1267  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1268fi
1269ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1270ac_abs_confdir=`(
1271	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1272	pwd)`
1273# When building in place, set srcdir=.
1274if test "$ac_abs_confdir" = "$ac_pwd"; then
1275  srcdir=.
1276fi
1277# Remove unnecessary trailing slashes from srcdir.
1278# Double slashes in file names in object file debugging info
1279# mess up M-x gdb in Emacs.
1280case $srcdir in
1281*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1282esac
1283for ac_var in $ac_precious_vars; do
1284  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1285  eval ac_env_${ac_var}_value=\$${ac_var}
1286  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1287  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1288done
1289
1290#
1291# Report the --help message.
1292#
1293if test "$ac_init_help" = "long"; then
1294  # Omit some internal or obsolete options to make the list less imposing.
1295  # This message is too long to be a string in the A/UX 3.1 sh.
1296  cat <<_ACEOF
1297\`configure' configures rgb 1.0.4 to adapt to many kinds of systems.
1298
1299Usage: $0 [OPTION]... [VAR=VALUE]...
1300
1301To assign environment variables (e.g., CC, CFLAGS...), specify them as
1302VAR=VALUE.  See below for descriptions of some of the useful variables.
1303
1304Defaults for the options are specified in brackets.
1305
1306Configuration:
1307  -h, --help              display this help and exit
1308      --help=short        display options specific to this package
1309      --help=recursive    display the short help of all the included packages
1310  -V, --version           display version information and exit
1311  -q, --quiet, --silent   do not print \`checking ...' messages
1312      --cache-file=FILE   cache test results in FILE [disabled]
1313  -C, --config-cache      alias for \`--cache-file=config.cache'
1314  -n, --no-create         do not create output files
1315      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1316
1317Installation directories:
1318  --prefix=PREFIX         install architecture-independent files in PREFIX
1319                          [$ac_default_prefix]
1320  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1321                          [PREFIX]
1322
1323By default, \`make install' will install all the files in
1324\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1325an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1326for instance \`--prefix=\$HOME'.
1327
1328For better control, use the options below.
1329
1330Fine tuning of the installation directories:
1331  --bindir=DIR            user executables [EPREFIX/bin]
1332  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1333  --libexecdir=DIR        program executables [EPREFIX/libexec]
1334  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1335  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1336  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1337  --libdir=DIR            object code libraries [EPREFIX/lib]
1338  --includedir=DIR        C header files [PREFIX/include]
1339  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1340  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1341  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1342  --infodir=DIR           info documentation [DATAROOTDIR/info]
1343  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1344  --mandir=DIR            man documentation [DATAROOTDIR/man]
1345  --docdir=DIR            documentation root [DATAROOTDIR/doc/rgb]
1346  --htmldir=DIR           html documentation [DOCDIR]
1347  --dvidir=DIR            dvi documentation [DOCDIR]
1348  --pdfdir=DIR            pdf documentation [DOCDIR]
1349  --psdir=DIR             ps documentation [DOCDIR]
1350_ACEOF
1351
1352  cat <<\_ACEOF
1353
1354Program names:
1355  --program-prefix=PREFIX            prepend PREFIX to installed program names
1356  --program-suffix=SUFFIX            append SUFFIX to installed program names
1357  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1358
1359System types:
1360  --build=BUILD     configure for building on BUILD [guessed]
1361  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1362_ACEOF
1363fi
1364
1365if test -n "$ac_init_help"; then
1366  case $ac_init_help in
1367     short | recursive ) echo "Configuration of rgb 1.0.4:";;
1368   esac
1369  cat <<\_ACEOF
1370
1371Optional Features:
1372  --disable-option-checking  ignore unrecognized --enable/--with options
1373  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1374  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1375  --enable-maintainer-mode  enable make rules and dependencies not useful
1376			  (and sometimes confusing) to the casual installer
1377  --disable-dependency-tracking  speeds up one-time build
1378  --enable-dependency-tracking   do not reject slow dependency extractors
1379  --enable-strict-compilation
1380                          Enable all warnings from compiler and make them
1381                          errors (default: disabled)
1382  --enable-silent-rules          less verbose build output (undo: `make V=1')
1383  --disable-silent-rules         verbose build output (undo: `make V=0')
1384
1385Optional Packages:
1386  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1387  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1388  --with-rgb-db-dir=<path>
1389                          rgb database location (default is
1390                          ${datadir}/X11/rgb)
1391  --with-rgb-db-type=(text|dbm|ndbm)
1392                          rgb database type (default is text)
1393
1394Some influential environment variables:
1395  CC          C compiler command
1396  CFLAGS      C compiler flags
1397  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1398              nonstandard directory <lib dir>
1399  LIBS        libraries to pass to the linker, e.g. -l<library>
1400  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1401              you have headers in a nonstandard directory <include dir>
1402  CPP         C preprocessor
1403  PKG_CONFIG  path to pkg-config utility
1404  RGB_CFLAGS  C compiler flags for RGB, overriding pkg-config
1405  RGB_LIBS    linker flags for RGB, overriding pkg-config
1406  XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
1407  XORG_LIBS   linker flags for XORG, overriding pkg-config
1408
1409Use these variables to override the choices made by `configure' or to help
1410it to find libraries and programs with nonstandard names/locations.
1411
1412Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
1413_ACEOF
1414ac_status=$?
1415fi
1416
1417if test "$ac_init_help" = "recursive"; then
1418  # If there are subdirs, report their specific --help.
1419  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1420    test -d "$ac_dir" ||
1421      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1422      continue
1423    ac_builddir=.
1424
1425case "$ac_dir" in
1426.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1427*)
1428  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1429  # A ".." for each directory in $ac_dir_suffix.
1430  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1431  case $ac_top_builddir_sub in
1432  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1433  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1434  esac ;;
1435esac
1436ac_abs_top_builddir=$ac_pwd
1437ac_abs_builddir=$ac_pwd$ac_dir_suffix
1438# for backward compatibility:
1439ac_top_builddir=$ac_top_build_prefix
1440
1441case $srcdir in
1442  .)  # We are building in place.
1443    ac_srcdir=.
1444    ac_top_srcdir=$ac_top_builddir_sub
1445    ac_abs_top_srcdir=$ac_pwd ;;
1446  [\\/]* | ?:[\\/]* )  # Absolute name.
1447    ac_srcdir=$srcdir$ac_dir_suffix;
1448    ac_top_srcdir=$srcdir
1449    ac_abs_top_srcdir=$srcdir ;;
1450  *) # Relative name.
1451    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1452    ac_top_srcdir=$ac_top_build_prefix$srcdir
1453    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1454esac
1455ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1456
1457    cd "$ac_dir" || { ac_status=$?; continue; }
1458    # Check for guested configure.
1459    if test -f "$ac_srcdir/configure.gnu"; then
1460      echo &&
1461      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1462    elif test -f "$ac_srcdir/configure"; then
1463      echo &&
1464      $SHELL "$ac_srcdir/configure" --help=recursive
1465    else
1466      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1467    fi || ac_status=$?
1468    cd "$ac_pwd" || { ac_status=$?; break; }
1469  done
1470fi
1471
1472test -n "$ac_init_help" && exit $ac_status
1473if $ac_init_version; then
1474  cat <<\_ACEOF
1475rgb configure 1.0.4
1476generated by GNU Autoconf 2.68
1477
1478Copyright (C) 2010 Free Software Foundation, Inc.
1479This configure script is free software; the Free Software Foundation
1480gives unlimited permission to copy, distribute and modify it.
1481_ACEOF
1482  exit
1483fi
1484
1485## ------------------------ ##
1486## Autoconf initialization. ##
1487## ------------------------ ##
1488
1489# ac_fn_c_try_compile LINENO
1490# --------------------------
1491# Try to compile conftest.$ac_ext, and return whether this succeeded.
1492ac_fn_c_try_compile ()
1493{
1494  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1495  rm -f conftest.$ac_objext
1496  if { { ac_try="$ac_compile"
1497case "(($ac_try" in
1498  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1499  *) ac_try_echo=$ac_try;;
1500esac
1501eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1502$as_echo "$ac_try_echo"; } >&5
1503  (eval "$ac_compile") 2>conftest.err
1504  ac_status=$?
1505  if test -s conftest.err; then
1506    grep -v '^ *+' conftest.err >conftest.er1
1507    cat conftest.er1 >&5
1508    mv -f conftest.er1 conftest.err
1509  fi
1510  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1511  test $ac_status = 0; } && {
1512	 test -z "$ac_c_werror_flag" ||
1513	 test ! -s conftest.err
1514       } && test -s conftest.$ac_objext; then :
1515  ac_retval=0
1516else
1517  $as_echo "$as_me: failed program was:" >&5
1518sed 's/^/| /' conftest.$ac_ext >&5
1519
1520	ac_retval=1
1521fi
1522  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1523  as_fn_set_status $ac_retval
1524
1525} # ac_fn_c_try_compile
1526
1527# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1528# ---------------------------------------------
1529# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1530# accordingly.
1531ac_fn_c_check_decl ()
1532{
1533  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1534  as_decl_name=`echo $2|sed 's/ *(.*//'`
1535  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1536  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1537$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1538if eval \${$3+:} false; then :
1539  $as_echo_n "(cached) " >&6
1540else
1541  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1542/* end confdefs.h.  */
1543$4
1544int
1545main ()
1546{
1547#ifndef $as_decl_name
1548#ifdef __cplusplus
1549  (void) $as_decl_use;
1550#else
1551  (void) $as_decl_name;
1552#endif
1553#endif
1554
1555  ;
1556  return 0;
1557}
1558_ACEOF
1559if ac_fn_c_try_compile "$LINENO"; then :
1560  eval "$3=yes"
1561else
1562  eval "$3=no"
1563fi
1564rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1565fi
1566eval ac_res=\$$3
1567	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1568$as_echo "$ac_res" >&6; }
1569  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1570
1571} # ac_fn_c_check_decl
1572
1573# ac_fn_c_try_cpp LINENO
1574# ----------------------
1575# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1576ac_fn_c_try_cpp ()
1577{
1578  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1579  if { { ac_try="$ac_cpp conftest.$ac_ext"
1580case "(($ac_try" in
1581  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1582  *) ac_try_echo=$ac_try;;
1583esac
1584eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1585$as_echo "$ac_try_echo"; } >&5
1586  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1587  ac_status=$?
1588  if test -s conftest.err; then
1589    grep -v '^ *+' conftest.err >conftest.er1
1590    cat conftest.er1 >&5
1591    mv -f conftest.er1 conftest.err
1592  fi
1593  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1594  test $ac_status = 0; } > conftest.i && {
1595	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1596	 test ! -s conftest.err
1597       }; then :
1598  ac_retval=0
1599else
1600  $as_echo "$as_me: failed program was:" >&5
1601sed 's/^/| /' conftest.$ac_ext >&5
1602
1603    ac_retval=1
1604fi
1605  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1606  as_fn_set_status $ac_retval
1607
1608} # ac_fn_c_try_cpp
1609
1610# ac_fn_c_try_run LINENO
1611# ----------------------
1612# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1613# that executables *can* be run.
1614ac_fn_c_try_run ()
1615{
1616  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1617  if { { ac_try="$ac_link"
1618case "(($ac_try" in
1619  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1620  *) ac_try_echo=$ac_try;;
1621esac
1622eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1623$as_echo "$ac_try_echo"; } >&5
1624  (eval "$ac_link") 2>&5
1625  ac_status=$?
1626  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1627  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1628  { { case "(($ac_try" in
1629  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1630  *) ac_try_echo=$ac_try;;
1631esac
1632eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1633$as_echo "$ac_try_echo"; } >&5
1634  (eval "$ac_try") 2>&5
1635  ac_status=$?
1636  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1637  test $ac_status = 0; }; }; then :
1638  ac_retval=0
1639else
1640  $as_echo "$as_me: program exited with status $ac_status" >&5
1641       $as_echo "$as_me: failed program was:" >&5
1642sed 's/^/| /' conftest.$ac_ext >&5
1643
1644       ac_retval=$ac_status
1645fi
1646  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1647  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1648  as_fn_set_status $ac_retval
1649
1650} # ac_fn_c_try_run
1651
1652# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1653# -------------------------------------------------------
1654# Tests whether HEADER exists and can be compiled using the include files in
1655# INCLUDES, setting the cache variable VAR accordingly.
1656ac_fn_c_check_header_compile ()
1657{
1658  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1659  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1660$as_echo_n "checking for $2... " >&6; }
1661if eval \${$3+:} false; then :
1662  $as_echo_n "(cached) " >&6
1663else
1664  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1665/* end confdefs.h.  */
1666$4
1667#include <$2>
1668_ACEOF
1669if ac_fn_c_try_compile "$LINENO"; then :
1670  eval "$3=yes"
1671else
1672  eval "$3=no"
1673fi
1674rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1675fi
1676eval ac_res=\$$3
1677	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1678$as_echo "$ac_res" >&6; }
1679  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1680
1681} # ac_fn_c_check_header_compile
1682
1683# ac_fn_c_try_link LINENO
1684# -----------------------
1685# Try to link conftest.$ac_ext, and return whether this succeeded.
1686ac_fn_c_try_link ()
1687{
1688  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1689  rm -f conftest.$ac_objext conftest$ac_exeext
1690  if { { ac_try="$ac_link"
1691case "(($ac_try" in
1692  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1693  *) ac_try_echo=$ac_try;;
1694esac
1695eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1696$as_echo "$ac_try_echo"; } >&5
1697  (eval "$ac_link") 2>conftest.err
1698  ac_status=$?
1699  if test -s conftest.err; then
1700    grep -v '^ *+' conftest.err >conftest.er1
1701    cat conftest.er1 >&5
1702    mv -f conftest.er1 conftest.err
1703  fi
1704  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1705  test $ac_status = 0; } && {
1706	 test -z "$ac_c_werror_flag" ||
1707	 test ! -s conftest.err
1708       } && test -s conftest$ac_exeext && {
1709	 test "$cross_compiling" = yes ||
1710	 $as_test_x conftest$ac_exeext
1711       }; then :
1712  ac_retval=0
1713else
1714  $as_echo "$as_me: failed program was:" >&5
1715sed 's/^/| /' conftest.$ac_ext >&5
1716
1717	ac_retval=1
1718fi
1719  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1720  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1721  # interfere with the next link command; also delete a directory that is
1722  # left behind by Apple's compiler.  We do this before executing the actions.
1723  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1724  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1725  as_fn_set_status $ac_retval
1726
1727} # ac_fn_c_try_link
1728
1729# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1730# -------------------------------------------------------
1731# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1732# the include files in INCLUDES and setting the cache variable VAR
1733# accordingly.
1734ac_fn_c_check_header_mongrel ()
1735{
1736  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1737  if eval \${$3+:} false; then :
1738  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1739$as_echo_n "checking for $2... " >&6; }
1740if eval \${$3+:} false; then :
1741  $as_echo_n "(cached) " >&6
1742fi
1743eval ac_res=\$$3
1744	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1745$as_echo "$ac_res" >&6; }
1746else
1747  # Is the header compilable?
1748{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1749$as_echo_n "checking $2 usability... " >&6; }
1750cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1751/* end confdefs.h.  */
1752$4
1753#include <$2>
1754_ACEOF
1755if ac_fn_c_try_compile "$LINENO"; then :
1756  ac_header_compiler=yes
1757else
1758  ac_header_compiler=no
1759fi
1760rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1761{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1762$as_echo "$ac_header_compiler" >&6; }
1763
1764# Is the header present?
1765{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1766$as_echo_n "checking $2 presence... " >&6; }
1767cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1768/* end confdefs.h.  */
1769#include <$2>
1770_ACEOF
1771if ac_fn_c_try_cpp "$LINENO"; then :
1772  ac_header_preproc=yes
1773else
1774  ac_header_preproc=no
1775fi
1776rm -f conftest.err conftest.i conftest.$ac_ext
1777{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1778$as_echo "$ac_header_preproc" >&6; }
1779
1780# So?  What about this header?
1781case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1782  yes:no: )
1783    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1784$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1785    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1786$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1787    ;;
1788  no:yes:* )
1789    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1790$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1791    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1792$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1793    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1794$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1795    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1796$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1797    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1798$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1799( $as_echo "## ---------------------------------------------------------------------- ##
1800## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
1801## ---------------------------------------------------------------------- ##"
1802     ) | sed "s/^/$as_me: WARNING:     /" >&2
1803    ;;
1804esac
1805  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1806$as_echo_n "checking for $2... " >&6; }
1807if eval \${$3+:} false; then :
1808  $as_echo_n "(cached) " >&6
1809else
1810  eval "$3=\$ac_header_compiler"
1811fi
1812eval ac_res=\$$3
1813	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1814$as_echo "$ac_res" >&6; }
1815fi
1816  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1817
1818} # ac_fn_c_check_header_mongrel
1819cat >config.log <<_ACEOF
1820This file contains any messages produced by compilers while
1821running configure, to aid debugging if configure makes a mistake.
1822
1823It was created by rgb $as_me 1.0.4, which was
1824generated by GNU Autoconf 2.68.  Invocation command line was
1825
1826  $ $0 $@
1827
1828_ACEOF
1829exec 5>>config.log
1830{
1831cat <<_ASUNAME
1832## --------- ##
1833## Platform. ##
1834## --------- ##
1835
1836hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1837uname -m = `(uname -m) 2>/dev/null || echo unknown`
1838uname -r = `(uname -r) 2>/dev/null || echo unknown`
1839uname -s = `(uname -s) 2>/dev/null || echo unknown`
1840uname -v = `(uname -v) 2>/dev/null || echo unknown`
1841
1842/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1843/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1844
1845/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1846/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1847/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1848/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1849/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1850/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1851/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1852
1853_ASUNAME
1854
1855as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1856for as_dir in $PATH
1857do
1858  IFS=$as_save_IFS
1859  test -z "$as_dir" && as_dir=.
1860    $as_echo "PATH: $as_dir"
1861  done
1862IFS=$as_save_IFS
1863
1864} >&5
1865
1866cat >&5 <<_ACEOF
1867
1868
1869## ----------- ##
1870## Core tests. ##
1871## ----------- ##
1872
1873_ACEOF
1874
1875
1876# Keep a trace of the command line.
1877# Strip out --no-create and --no-recursion so they do not pile up.
1878# Strip out --silent because we don't want to record it for future runs.
1879# Also quote any args containing shell meta-characters.
1880# Make two passes to allow for proper duplicate-argument suppression.
1881ac_configure_args=
1882ac_configure_args0=
1883ac_configure_args1=
1884ac_must_keep_next=false
1885for ac_pass in 1 2
1886do
1887  for ac_arg
1888  do
1889    case $ac_arg in
1890    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1891    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1892    | -silent | --silent | --silen | --sile | --sil)
1893      continue ;;
1894    *\'*)
1895      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1896    esac
1897    case $ac_pass in
1898    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1899    2)
1900      as_fn_append ac_configure_args1 " '$ac_arg'"
1901      if test $ac_must_keep_next = true; then
1902	ac_must_keep_next=false # Got value, back to normal.
1903      else
1904	case $ac_arg in
1905	  *=* | --config-cache | -C | -disable-* | --disable-* \
1906	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1907	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1908	  | -with-* | --with-* | -without-* | --without-* | --x)
1909	    case "$ac_configure_args0 " in
1910	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1911	    esac
1912	    ;;
1913	  -* ) ac_must_keep_next=true ;;
1914	esac
1915      fi
1916      as_fn_append ac_configure_args " '$ac_arg'"
1917      ;;
1918    esac
1919  done
1920done
1921{ ac_configure_args0=; unset ac_configure_args0;}
1922{ ac_configure_args1=; unset ac_configure_args1;}
1923
1924# When interrupted or exit'd, cleanup temporary files, and complete
1925# config.log.  We remove comments because anyway the quotes in there
1926# would cause problems or look ugly.
1927# WARNING: Use '\'' to represent an apostrophe within the trap.
1928# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1929trap 'exit_status=$?
1930  # Save into config.log some information that might help in debugging.
1931  {
1932    echo
1933
1934    $as_echo "## ---------------- ##
1935## Cache variables. ##
1936## ---------------- ##"
1937    echo
1938    # The following way of writing the cache mishandles newlines in values,
1939(
1940  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1941    eval ac_val=\$$ac_var
1942    case $ac_val in #(
1943    *${as_nl}*)
1944      case $ac_var in #(
1945      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1946$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1947      esac
1948      case $ac_var in #(
1949      _ | IFS | as_nl) ;; #(
1950      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1951      *) { eval $ac_var=; unset $ac_var;} ;;
1952      esac ;;
1953    esac
1954  done
1955  (set) 2>&1 |
1956    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1957    *${as_nl}ac_space=\ *)
1958      sed -n \
1959	"s/'\''/'\''\\\\'\'''\''/g;
1960	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1961      ;; #(
1962    *)
1963      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1964      ;;
1965    esac |
1966    sort
1967)
1968    echo
1969
1970    $as_echo "## ----------------- ##
1971## Output variables. ##
1972## ----------------- ##"
1973    echo
1974    for ac_var in $ac_subst_vars
1975    do
1976      eval ac_val=\$$ac_var
1977      case $ac_val in
1978      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1979      esac
1980      $as_echo "$ac_var='\''$ac_val'\''"
1981    done | sort
1982    echo
1983
1984    if test -n "$ac_subst_files"; then
1985      $as_echo "## ------------------- ##
1986## File substitutions. ##
1987## ------------------- ##"
1988      echo
1989      for ac_var in $ac_subst_files
1990      do
1991	eval ac_val=\$$ac_var
1992	case $ac_val in
1993	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1994	esac
1995	$as_echo "$ac_var='\''$ac_val'\''"
1996      done | sort
1997      echo
1998    fi
1999
2000    if test -s confdefs.h; then
2001      $as_echo "## ----------- ##
2002## confdefs.h. ##
2003## ----------- ##"
2004      echo
2005      cat confdefs.h
2006      echo
2007    fi
2008    test "$ac_signal" != 0 &&
2009      $as_echo "$as_me: caught signal $ac_signal"
2010    $as_echo "$as_me: exit $exit_status"
2011  } >&5
2012  rm -f core *.core core.conftest.* &&
2013    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2014    exit $exit_status
2015' 0
2016for ac_signal in 1 2 13 15; do
2017  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2018done
2019ac_signal=0
2020
2021# confdefs.h avoids OS command line length limits that DEFS can exceed.
2022rm -f -r conftest* confdefs.h
2023
2024$as_echo "/* confdefs.h */" > confdefs.h
2025
2026# Predefined preprocessor variables.
2027
2028cat >>confdefs.h <<_ACEOF
2029#define PACKAGE_NAME "$PACKAGE_NAME"
2030_ACEOF
2031
2032cat >>confdefs.h <<_ACEOF
2033#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2034_ACEOF
2035
2036cat >>confdefs.h <<_ACEOF
2037#define PACKAGE_VERSION "$PACKAGE_VERSION"
2038_ACEOF
2039
2040cat >>confdefs.h <<_ACEOF
2041#define PACKAGE_STRING "$PACKAGE_STRING"
2042_ACEOF
2043
2044cat >>confdefs.h <<_ACEOF
2045#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2046_ACEOF
2047
2048cat >>confdefs.h <<_ACEOF
2049#define PACKAGE_URL "$PACKAGE_URL"
2050_ACEOF
2051
2052
2053# Let the site file select an alternate cache file if it wants to.
2054# Prefer an explicitly selected file to automatically selected ones.
2055ac_site_file1=NONE
2056ac_site_file2=NONE
2057if test -n "$CONFIG_SITE"; then
2058  # We do not want a PATH search for config.site.
2059  case $CONFIG_SITE in #((
2060    -*)  ac_site_file1=./$CONFIG_SITE;;
2061    */*) ac_site_file1=$CONFIG_SITE;;
2062    *)   ac_site_file1=./$CONFIG_SITE;;
2063  esac
2064elif test "x$prefix" != xNONE; then
2065  ac_site_file1=$prefix/share/config.site
2066  ac_site_file2=$prefix/etc/config.site
2067else
2068  ac_site_file1=$ac_default_prefix/share/config.site
2069  ac_site_file2=$ac_default_prefix/etc/config.site
2070fi
2071for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2072do
2073  test "x$ac_site_file" = xNONE && continue
2074  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2075    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2076$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2077    sed 's/^/| /' "$ac_site_file" >&5
2078    . "$ac_site_file" \
2079      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2080$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2081as_fn_error $? "failed to load site script $ac_site_file
2082See \`config.log' for more details" "$LINENO" 5; }
2083  fi
2084done
2085
2086if test -r "$cache_file"; then
2087  # Some versions of bash will fail to source /dev/null (special files
2088  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2089  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2090    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2091$as_echo "$as_me: loading cache $cache_file" >&6;}
2092    case $cache_file in
2093      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2094      *)                      . "./$cache_file";;
2095    esac
2096  fi
2097else
2098  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2099$as_echo "$as_me: creating cache $cache_file" >&6;}
2100  >$cache_file
2101fi
2102
2103# Check that the precious variables saved in the cache have kept the same
2104# value.
2105ac_cache_corrupted=false
2106for ac_var in $ac_precious_vars; do
2107  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2108  eval ac_new_set=\$ac_env_${ac_var}_set
2109  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2110  eval ac_new_val=\$ac_env_${ac_var}_value
2111  case $ac_old_set,$ac_new_set in
2112    set,)
2113      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2114$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2115      ac_cache_corrupted=: ;;
2116    ,set)
2117      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2118$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2119      ac_cache_corrupted=: ;;
2120    ,);;
2121    *)
2122      if test "x$ac_old_val" != "x$ac_new_val"; then
2123	# differences in whitespace do not lead to failure.
2124	ac_old_val_w=`echo x $ac_old_val`
2125	ac_new_val_w=`echo x $ac_new_val`
2126	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2127	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2128$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2129	  ac_cache_corrupted=:
2130	else
2131	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2132$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2133	  eval $ac_var=\$ac_old_val
2134	fi
2135	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2136$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2137	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2138$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2139      fi;;
2140  esac
2141  # Pass precious variables to config.status.
2142  if test "$ac_new_set" = set; then
2143    case $ac_new_val in
2144    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2145    *) ac_arg=$ac_var=$ac_new_val ;;
2146    esac
2147    case " $ac_configure_args " in
2148      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2149      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2150    esac
2151  fi
2152done
2153if $ac_cache_corrupted; then
2154  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2155$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2156  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2157$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2158  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2159fi
2160## -------------------- ##
2161## Main body of script. ##
2162## -------------------- ##
2163
2164ac_ext=c
2165ac_cpp='$CPP $CPPFLAGS'
2166ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2167ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2168ac_compiler_gnu=$ac_cv_c_compiler_gnu
2169
2170
2171am__api_version='1.11'
2172
2173ac_aux_dir=
2174for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2175  if test -f "$ac_dir/install-sh"; then
2176    ac_aux_dir=$ac_dir
2177    ac_install_sh="$ac_aux_dir/install-sh -c"
2178    break
2179  elif test -f "$ac_dir/install.sh"; then
2180    ac_aux_dir=$ac_dir
2181    ac_install_sh="$ac_aux_dir/install.sh -c"
2182    break
2183  elif test -f "$ac_dir/shtool"; then
2184    ac_aux_dir=$ac_dir
2185    ac_install_sh="$ac_aux_dir/shtool install -c"
2186    break
2187  fi
2188done
2189if test -z "$ac_aux_dir"; then
2190  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2191fi
2192
2193# These three variables are undocumented and unsupported,
2194# and are intended to be withdrawn in a future Autoconf release.
2195# They can cause serious problems if a builder's source tree is in a directory
2196# whose full name contains unusual characters.
2197ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2198ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2199ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2200
2201
2202# Find a good install program.  We prefer a C program (faster),
2203# so one script is as good as another.  But avoid the broken or
2204# incompatible versions:
2205# SysV /etc/install, /usr/sbin/install
2206# SunOS /usr/etc/install
2207# IRIX /sbin/install
2208# AIX /bin/install
2209# AmigaOS /C/install, which installs bootblocks on floppy discs
2210# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2211# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2212# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2213# OS/2's system install, which has a completely different semantic
2214# ./install, which can be erroneously created by make from ./install.sh.
2215# Reject install programs that cannot install multiple files.
2216{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2217$as_echo_n "checking for a BSD-compatible install... " >&6; }
2218if test -z "$INSTALL"; then
2219if ${ac_cv_path_install+:} false; then :
2220  $as_echo_n "(cached) " >&6
2221else
2222  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2223for as_dir in $PATH
2224do
2225  IFS=$as_save_IFS
2226  test -z "$as_dir" && as_dir=.
2227    # Account for people who put trailing slashes in PATH elements.
2228case $as_dir/ in #((
2229  ./ | .// | /[cC]/* | \
2230  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2231  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2232  /usr/ucb/* ) ;;
2233  *)
2234    # OSF1 and SCO ODT 3.0 have their own names for install.
2235    # Don't use installbsd from OSF since it installs stuff as root
2236    # by default.
2237    for ac_prog in ginstall scoinst install; do
2238      for ac_exec_ext in '' $ac_executable_extensions; do
2239	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2240	  if test $ac_prog = install &&
2241	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2242	    # AIX install.  It has an incompatible calling convention.
2243	    :
2244	  elif test $ac_prog = install &&
2245	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2246	    # program-specific install script used by HP pwplus--don't use.
2247	    :
2248	  else
2249	    rm -rf conftest.one conftest.two conftest.dir
2250	    echo one > conftest.one
2251	    echo two > conftest.two
2252	    mkdir conftest.dir
2253	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2254	      test -s conftest.one && test -s conftest.two &&
2255	      test -s conftest.dir/conftest.one &&
2256	      test -s conftest.dir/conftest.two
2257	    then
2258	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2259	      break 3
2260	    fi
2261	  fi
2262	fi
2263      done
2264    done
2265    ;;
2266esac
2267
2268  done
2269IFS=$as_save_IFS
2270
2271rm -rf conftest.one conftest.two conftest.dir
2272
2273fi
2274  if test "${ac_cv_path_install+set}" = set; then
2275    INSTALL=$ac_cv_path_install
2276  else
2277    # As a last resort, use the slow shell script.  Don't cache a
2278    # value for INSTALL within a source directory, because that will
2279    # break other packages using the cache if that directory is
2280    # removed, or if the value is a relative name.
2281    INSTALL=$ac_install_sh
2282  fi
2283fi
2284{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2285$as_echo "$INSTALL" >&6; }
2286
2287# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2288# It thinks the first close brace ends the variable substitution.
2289test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2290
2291test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2292
2293test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2294
2295{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2296$as_echo_n "checking whether build environment is sane... " >&6; }
2297# Just in case
2298sleep 1
2299echo timestamp > conftest.file
2300# Reject unsafe characters in $srcdir or the absolute working directory
2301# name.  Accept space and tab only in the latter.
2302am_lf='
2303'
2304case `pwd` in
2305  *[\\\"\#\$\&\'\`$am_lf]*)
2306    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2307esac
2308case $srcdir in
2309  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2310    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2311esac
2312
2313# Do `set' in a subshell so we don't clobber the current shell's
2314# arguments.  Must try -L first in case configure is actually a
2315# symlink; some systems play weird games with the mod time of symlinks
2316# (eg FreeBSD returns the mod time of the symlink's containing
2317# directory).
2318if (
2319   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2320   if test "$*" = "X"; then
2321      # -L didn't work.
2322      set X `ls -t "$srcdir/configure" conftest.file`
2323   fi
2324   rm -f conftest.file
2325   if test "$*" != "X $srcdir/configure conftest.file" \
2326      && test "$*" != "X conftest.file $srcdir/configure"; then
2327
2328      # If neither matched, then we have a broken ls.  This can happen
2329      # if, for instance, CONFIG_SHELL is bash and it inherits a
2330      # broken ls alias from the environment.  This has actually
2331      # happened.  Such a system could not be considered "sane".
2332      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2333alias in your environment" "$LINENO" 5
2334   fi
2335
2336   test "$2" = conftest.file
2337   )
2338then
2339   # Ok.
2340   :
2341else
2342   as_fn_error $? "newly created file is older than distributed files!
2343Check your system clock" "$LINENO" 5
2344fi
2345{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2346$as_echo "yes" >&6; }
2347test "$program_prefix" != NONE &&
2348  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2349# Use a double $ so make ignores it.
2350test "$program_suffix" != NONE &&
2351  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2352# Double any \ or $.
2353# By default was `s,x,x', remove it if useless.
2354ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2355program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2356
2357# expand $ac_aux_dir to an absolute path
2358am_aux_dir=`cd $ac_aux_dir && pwd`
2359
2360if test x"${MISSING+set}" != xset; then
2361  case $am_aux_dir in
2362  *\ * | *\	*)
2363    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2364  *)
2365    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2366  esac
2367fi
2368# Use eval to expand $SHELL
2369if eval "$MISSING --run true"; then
2370  am_missing_run="$MISSING --run "
2371else
2372  am_missing_run=
2373  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2374$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2375fi
2376
2377if test x"${install_sh}" != xset; then
2378  case $am_aux_dir in
2379  *\ * | *\	*)
2380    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2381  *)
2382    install_sh="\${SHELL} $am_aux_dir/install-sh"
2383  esac
2384fi
2385
2386# Installed binaries are usually stripped using `strip' when the user
2387# run `make install-strip'.  However `strip' might not be the right
2388# tool to use in cross-compilation environments, therefore Automake
2389# will honor the `STRIP' environment variable to overrule this program.
2390if test "$cross_compiling" != no; then
2391  if test -n "$ac_tool_prefix"; then
2392  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2393set dummy ${ac_tool_prefix}strip; ac_word=$2
2394{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2395$as_echo_n "checking for $ac_word... " >&6; }
2396if ${ac_cv_prog_STRIP+:} false; then :
2397  $as_echo_n "(cached) " >&6
2398else
2399  if test -n "$STRIP"; then
2400  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2401else
2402as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2403for as_dir in $PATH
2404do
2405  IFS=$as_save_IFS
2406  test -z "$as_dir" && as_dir=.
2407    for ac_exec_ext in '' $ac_executable_extensions; do
2408  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2409    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2410    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2411    break 2
2412  fi
2413done
2414  done
2415IFS=$as_save_IFS
2416
2417fi
2418fi
2419STRIP=$ac_cv_prog_STRIP
2420if test -n "$STRIP"; then
2421  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2422$as_echo "$STRIP" >&6; }
2423else
2424  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2425$as_echo "no" >&6; }
2426fi
2427
2428
2429fi
2430if test -z "$ac_cv_prog_STRIP"; then
2431  ac_ct_STRIP=$STRIP
2432  # Extract the first word of "strip", so it can be a program name with args.
2433set dummy strip; ac_word=$2
2434{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2435$as_echo_n "checking for $ac_word... " >&6; }
2436if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2437  $as_echo_n "(cached) " >&6
2438else
2439  if test -n "$ac_ct_STRIP"; then
2440  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2441else
2442as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2443for as_dir in $PATH
2444do
2445  IFS=$as_save_IFS
2446  test -z "$as_dir" && as_dir=.
2447    for ac_exec_ext in '' $ac_executable_extensions; do
2448  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2449    ac_cv_prog_ac_ct_STRIP="strip"
2450    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2451    break 2
2452  fi
2453done
2454  done
2455IFS=$as_save_IFS
2456
2457fi
2458fi
2459ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2460if test -n "$ac_ct_STRIP"; then
2461  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2462$as_echo "$ac_ct_STRIP" >&6; }
2463else
2464  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2465$as_echo "no" >&6; }
2466fi
2467
2468  if test "x$ac_ct_STRIP" = x; then
2469    STRIP=":"
2470  else
2471    case $cross_compiling:$ac_tool_warned in
2472yes:)
2473{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2474$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2475ac_tool_warned=yes ;;
2476esac
2477    STRIP=$ac_ct_STRIP
2478  fi
2479else
2480  STRIP="$ac_cv_prog_STRIP"
2481fi
2482
2483fi
2484INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2485
2486{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2487$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2488if test -z "$MKDIR_P"; then
2489  if ${ac_cv_path_mkdir+:} false; then :
2490  $as_echo_n "(cached) " >&6
2491else
2492  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2493for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2494do
2495  IFS=$as_save_IFS
2496  test -z "$as_dir" && as_dir=.
2497    for ac_prog in mkdir gmkdir; do
2498	 for ac_exec_ext in '' $ac_executable_extensions; do
2499	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2500	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2501	     'mkdir (GNU coreutils) '* | \
2502	     'mkdir (coreutils) '* | \
2503	     'mkdir (fileutils) '4.1*)
2504	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2505	       break 3;;
2506	   esac
2507	 done
2508       done
2509  done
2510IFS=$as_save_IFS
2511
2512fi
2513
2514  test -d ./--version && rmdir ./--version
2515  if test "${ac_cv_path_mkdir+set}" = set; then
2516    MKDIR_P="$ac_cv_path_mkdir -p"
2517  else
2518    # As a last resort, use the slow shell script.  Don't cache a
2519    # value for MKDIR_P within a source directory, because that will
2520    # break other packages using the cache if that directory is
2521    # removed, or if the value is a relative name.
2522    MKDIR_P="$ac_install_sh -d"
2523  fi
2524fi
2525{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2526$as_echo "$MKDIR_P" >&6; }
2527
2528mkdir_p="$MKDIR_P"
2529case $mkdir_p in
2530  [\\/$]* | ?:[\\/]*) ;;
2531  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2532esac
2533
2534for ac_prog in gawk mawk nawk awk
2535do
2536  # Extract the first word of "$ac_prog", so it can be a program name with args.
2537set dummy $ac_prog; ac_word=$2
2538{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2539$as_echo_n "checking for $ac_word... " >&6; }
2540if ${ac_cv_prog_AWK+:} false; then :
2541  $as_echo_n "(cached) " >&6
2542else
2543  if test -n "$AWK"; then
2544  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2545else
2546as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2547for as_dir in $PATH
2548do
2549  IFS=$as_save_IFS
2550  test -z "$as_dir" && as_dir=.
2551    for ac_exec_ext in '' $ac_executable_extensions; do
2552  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2553    ac_cv_prog_AWK="$ac_prog"
2554    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2555    break 2
2556  fi
2557done
2558  done
2559IFS=$as_save_IFS
2560
2561fi
2562fi
2563AWK=$ac_cv_prog_AWK
2564if test -n "$AWK"; then
2565  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2566$as_echo "$AWK" >&6; }
2567else
2568  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2569$as_echo "no" >&6; }
2570fi
2571
2572
2573  test -n "$AWK" && break
2574done
2575
2576{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2577$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2578set x ${MAKE-make}
2579ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2580if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2581  $as_echo_n "(cached) " >&6
2582else
2583  cat >conftest.make <<\_ACEOF
2584SHELL = /bin/sh
2585all:
2586	@echo '@@@%%%=$(MAKE)=@@@%%%'
2587_ACEOF
2588# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2589case `${MAKE-make} -f conftest.make 2>/dev/null` in
2590  *@@@%%%=?*=@@@%%%*)
2591    eval ac_cv_prog_make_${ac_make}_set=yes;;
2592  *)
2593    eval ac_cv_prog_make_${ac_make}_set=no;;
2594esac
2595rm -f conftest.make
2596fi
2597if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2598  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2599$as_echo "yes" >&6; }
2600  SET_MAKE=
2601else
2602  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2603$as_echo "no" >&6; }
2604  SET_MAKE="MAKE=${MAKE-make}"
2605fi
2606
2607rm -rf .tst 2>/dev/null
2608mkdir .tst 2>/dev/null
2609if test -d .tst; then
2610  am__leading_dot=.
2611else
2612  am__leading_dot=_
2613fi
2614rmdir .tst 2>/dev/null
2615
2616if test "`cd $srcdir && pwd`" != "`pwd`"; then
2617  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2618  # is not polluted with repeated "-I."
2619  am__isrc=' -I$(srcdir)'
2620  # test to see if srcdir already configured
2621  if test -f $srcdir/config.status; then
2622    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2623  fi
2624fi
2625
2626# test whether we have cygpath
2627if test -z "$CYGPATH_W"; then
2628  if (cygpath --version) >/dev/null 2>/dev/null; then
2629    CYGPATH_W='cygpath -w'
2630  else
2631    CYGPATH_W=echo
2632  fi
2633fi
2634
2635
2636# Define the identity of the package.
2637 PACKAGE='rgb'
2638 VERSION='1.0.4'
2639
2640
2641cat >>confdefs.h <<_ACEOF
2642#define PACKAGE "$PACKAGE"
2643_ACEOF
2644
2645
2646cat >>confdefs.h <<_ACEOF
2647#define VERSION "$VERSION"
2648_ACEOF
2649
2650# Some tools Automake needs.
2651
2652ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2653
2654
2655AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2656
2657
2658AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2659
2660
2661AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2662
2663
2664MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2665
2666# We need awk for the "check" target.  The system "awk" is bad on
2667# some platforms.
2668# Always define AMTAR for backward compatibility.
2669
2670AMTAR=${AMTAR-"${am_missing_run}tar"}
2671
2672am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2673
2674
2675
2676
2677
2678
2679{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2680$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2681    # Check whether --enable-maintainer-mode was given.
2682if test "${enable_maintainer_mode+set}" = set; then :
2683  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2684else
2685  USE_MAINTAINER_MODE=no
2686fi
2687
2688  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2689$as_echo "$USE_MAINTAINER_MODE" >&6; }
2690   if test $USE_MAINTAINER_MODE = yes; then
2691  MAINTAINER_MODE_TRUE=
2692  MAINTAINER_MODE_FALSE='#'
2693else
2694  MAINTAINER_MODE_TRUE='#'
2695  MAINTAINER_MODE_FALSE=
2696fi
2697
2698  MAINT=$MAINTAINER_MODE_TRUE
2699
2700
2701ac_config_headers="$ac_config_headers config.h"
2702
2703
2704# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716DEPDIR="${am__leading_dot}deps"
2717
2718ac_config_commands="$ac_config_commands depfiles"
2719
2720
2721am_make=${MAKE-make}
2722cat > confinc << 'END'
2723am__doit:
2724	@echo this is the am__doit target
2725.PHONY: am__doit
2726END
2727# If we don't find an include directive, just comment out the code.
2728{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2729$as_echo_n "checking for style of include used by $am_make... " >&6; }
2730am__include="#"
2731am__quote=
2732_am_result=none
2733# First try GNU make style include.
2734echo "include confinc" > confmf
2735# Ignore all kinds of additional output from `make'.
2736case `$am_make -s -f confmf 2> /dev/null` in #(
2737*the\ am__doit\ target*)
2738  am__include=include
2739  am__quote=
2740  _am_result=GNU
2741  ;;
2742esac
2743# Now try BSD make style include.
2744if test "$am__include" = "#"; then
2745   echo '.include "confinc"' > confmf
2746   case `$am_make -s -f confmf 2> /dev/null` in #(
2747   *the\ am__doit\ target*)
2748     am__include=.include
2749     am__quote="\""
2750     _am_result=BSD
2751     ;;
2752   esac
2753fi
2754
2755
2756{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2757$as_echo "$_am_result" >&6; }
2758rm -f confinc confmf
2759
2760# Check whether --enable-dependency-tracking was given.
2761if test "${enable_dependency_tracking+set}" = set; then :
2762  enableval=$enable_dependency_tracking;
2763fi
2764
2765if test "x$enable_dependency_tracking" != xno; then
2766  am_depcomp="$ac_aux_dir/depcomp"
2767  AMDEPBACKSLASH='\'
2768fi
2769 if test "x$enable_dependency_tracking" != xno; then
2770  AMDEP_TRUE=
2771  AMDEP_FALSE='#'
2772else
2773  AMDEP_TRUE='#'
2774  AMDEP_FALSE=
2775fi
2776
2777
2778ac_ext=c
2779ac_cpp='$CPP $CPPFLAGS'
2780ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2781ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2782ac_compiler_gnu=$ac_cv_c_compiler_gnu
2783if test -n "$ac_tool_prefix"; then
2784  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2785set dummy ${ac_tool_prefix}gcc; ac_word=$2
2786{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2787$as_echo_n "checking for $ac_word... " >&6; }
2788if ${ac_cv_prog_CC+:} false; then :
2789  $as_echo_n "(cached) " >&6
2790else
2791  if test -n "$CC"; then
2792  ac_cv_prog_CC="$CC" # Let the user override the test.
2793else
2794as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2795for as_dir in $PATH
2796do
2797  IFS=$as_save_IFS
2798  test -z "$as_dir" && as_dir=.
2799    for ac_exec_ext in '' $ac_executable_extensions; do
2800  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2801    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2802    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2803    break 2
2804  fi
2805done
2806  done
2807IFS=$as_save_IFS
2808
2809fi
2810fi
2811CC=$ac_cv_prog_CC
2812if test -n "$CC"; then
2813  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2814$as_echo "$CC" >&6; }
2815else
2816  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2817$as_echo "no" >&6; }
2818fi
2819
2820
2821fi
2822if test -z "$ac_cv_prog_CC"; then
2823  ac_ct_CC=$CC
2824  # Extract the first word of "gcc", so it can be a program name with args.
2825set dummy gcc; ac_word=$2
2826{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2827$as_echo_n "checking for $ac_word... " >&6; }
2828if ${ac_cv_prog_ac_ct_CC+:} false; then :
2829  $as_echo_n "(cached) " >&6
2830else
2831  if test -n "$ac_ct_CC"; then
2832  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2833else
2834as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2835for as_dir in $PATH
2836do
2837  IFS=$as_save_IFS
2838  test -z "$as_dir" && as_dir=.
2839    for ac_exec_ext in '' $ac_executable_extensions; do
2840  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2841    ac_cv_prog_ac_ct_CC="gcc"
2842    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2843    break 2
2844  fi
2845done
2846  done
2847IFS=$as_save_IFS
2848
2849fi
2850fi
2851ac_ct_CC=$ac_cv_prog_ac_ct_CC
2852if test -n "$ac_ct_CC"; then
2853  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2854$as_echo "$ac_ct_CC" >&6; }
2855else
2856  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2857$as_echo "no" >&6; }
2858fi
2859
2860  if test "x$ac_ct_CC" = x; then
2861    CC=""
2862  else
2863    case $cross_compiling:$ac_tool_warned in
2864yes:)
2865{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2866$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2867ac_tool_warned=yes ;;
2868esac
2869    CC=$ac_ct_CC
2870  fi
2871else
2872  CC="$ac_cv_prog_CC"
2873fi
2874
2875if test -z "$CC"; then
2876          if test -n "$ac_tool_prefix"; then
2877    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2878set dummy ${ac_tool_prefix}cc; ac_word=$2
2879{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2880$as_echo_n "checking for $ac_word... " >&6; }
2881if ${ac_cv_prog_CC+:} false; then :
2882  $as_echo_n "(cached) " >&6
2883else
2884  if test -n "$CC"; then
2885  ac_cv_prog_CC="$CC" # Let the user override the test.
2886else
2887as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2888for as_dir in $PATH
2889do
2890  IFS=$as_save_IFS
2891  test -z "$as_dir" && as_dir=.
2892    for ac_exec_ext in '' $ac_executable_extensions; do
2893  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2894    ac_cv_prog_CC="${ac_tool_prefix}cc"
2895    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2896    break 2
2897  fi
2898done
2899  done
2900IFS=$as_save_IFS
2901
2902fi
2903fi
2904CC=$ac_cv_prog_CC
2905if test -n "$CC"; then
2906  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2907$as_echo "$CC" >&6; }
2908else
2909  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2910$as_echo "no" >&6; }
2911fi
2912
2913
2914  fi
2915fi
2916if test -z "$CC"; then
2917  # Extract the first word of "cc", so it can be a program name with args.
2918set dummy cc; ac_word=$2
2919{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2920$as_echo_n "checking for $ac_word... " >&6; }
2921if ${ac_cv_prog_CC+:} false; then :
2922  $as_echo_n "(cached) " >&6
2923else
2924  if test -n "$CC"; then
2925  ac_cv_prog_CC="$CC" # Let the user override the test.
2926else
2927  ac_prog_rejected=no
2928as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2929for as_dir in $PATH
2930do
2931  IFS=$as_save_IFS
2932  test -z "$as_dir" && as_dir=.
2933    for ac_exec_ext in '' $ac_executable_extensions; do
2934  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2935    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2936       ac_prog_rejected=yes
2937       continue
2938     fi
2939    ac_cv_prog_CC="cc"
2940    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2941    break 2
2942  fi
2943done
2944  done
2945IFS=$as_save_IFS
2946
2947if test $ac_prog_rejected = yes; then
2948  # We found a bogon in the path, so make sure we never use it.
2949  set dummy $ac_cv_prog_CC
2950  shift
2951  if test $# != 0; then
2952    # We chose a different compiler from the bogus one.
2953    # However, it has the same basename, so the bogon will be chosen
2954    # first if we set CC to just the basename; use the full file name.
2955    shift
2956    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2957  fi
2958fi
2959fi
2960fi
2961CC=$ac_cv_prog_CC
2962if test -n "$CC"; then
2963  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2964$as_echo "$CC" >&6; }
2965else
2966  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2967$as_echo "no" >&6; }
2968fi
2969
2970
2971fi
2972if test -z "$CC"; then
2973  if test -n "$ac_tool_prefix"; then
2974  for ac_prog in cl.exe
2975  do
2976    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2977set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2978{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2979$as_echo_n "checking for $ac_word... " >&6; }
2980if ${ac_cv_prog_CC+:} false; then :
2981  $as_echo_n "(cached) " >&6
2982else
2983  if test -n "$CC"; then
2984  ac_cv_prog_CC="$CC" # Let the user override the test.
2985else
2986as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2987for as_dir in $PATH
2988do
2989  IFS=$as_save_IFS
2990  test -z "$as_dir" && as_dir=.
2991    for ac_exec_ext in '' $ac_executable_extensions; do
2992  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2993    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2994    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2995    break 2
2996  fi
2997done
2998  done
2999IFS=$as_save_IFS
3000
3001fi
3002fi
3003CC=$ac_cv_prog_CC
3004if test -n "$CC"; then
3005  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3006$as_echo "$CC" >&6; }
3007else
3008  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3009$as_echo "no" >&6; }
3010fi
3011
3012
3013    test -n "$CC" && break
3014  done
3015fi
3016if test -z "$CC"; then
3017  ac_ct_CC=$CC
3018  for ac_prog in cl.exe
3019do
3020  # Extract the first word of "$ac_prog", so it can be a program name with args.
3021set dummy $ac_prog; ac_word=$2
3022{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3023$as_echo_n "checking for $ac_word... " >&6; }
3024if ${ac_cv_prog_ac_ct_CC+:} false; then :
3025  $as_echo_n "(cached) " >&6
3026else
3027  if test -n "$ac_ct_CC"; then
3028  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3029else
3030as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3031for as_dir in $PATH
3032do
3033  IFS=$as_save_IFS
3034  test -z "$as_dir" && as_dir=.
3035    for ac_exec_ext in '' $ac_executable_extensions; do
3036  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3037    ac_cv_prog_ac_ct_CC="$ac_prog"
3038    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3039    break 2
3040  fi
3041done
3042  done
3043IFS=$as_save_IFS
3044
3045fi
3046fi
3047ac_ct_CC=$ac_cv_prog_ac_ct_CC
3048if test -n "$ac_ct_CC"; then
3049  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3050$as_echo "$ac_ct_CC" >&6; }
3051else
3052  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3053$as_echo "no" >&6; }
3054fi
3055
3056
3057  test -n "$ac_ct_CC" && break
3058done
3059
3060  if test "x$ac_ct_CC" = x; then
3061    CC=""
3062  else
3063    case $cross_compiling:$ac_tool_warned in
3064yes:)
3065{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3066$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3067ac_tool_warned=yes ;;
3068esac
3069    CC=$ac_ct_CC
3070  fi
3071fi
3072
3073fi
3074
3075
3076test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3077$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3078as_fn_error $? "no acceptable C compiler found in \$PATH
3079See \`config.log' for more details" "$LINENO" 5; }
3080
3081# Provide some information about the compiler.
3082$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3083set X $ac_compile
3084ac_compiler=$2
3085for ac_option in --version -v -V -qversion; do
3086  { { ac_try="$ac_compiler $ac_option >&5"
3087case "(($ac_try" in
3088  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3089  *) ac_try_echo=$ac_try;;
3090esac
3091eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3092$as_echo "$ac_try_echo"; } >&5
3093  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3094  ac_status=$?
3095  if test -s conftest.err; then
3096    sed '10a\
3097... rest of stderr output deleted ...
3098         10q' conftest.err >conftest.er1
3099    cat conftest.er1 >&5
3100  fi
3101  rm -f conftest.er1 conftest.err
3102  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3103  test $ac_status = 0; }
3104done
3105
3106cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3107/* end confdefs.h.  */
3108
3109int
3110main ()
3111{
3112
3113  ;
3114  return 0;
3115}
3116_ACEOF
3117ac_clean_files_save=$ac_clean_files
3118ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3119# Try to create an executable without -o first, disregard a.out.
3120# It will help us diagnose broken compilers, and finding out an intuition
3121# of exeext.
3122{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3123$as_echo_n "checking whether the C compiler works... " >&6; }
3124ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3125
3126# The possible output files:
3127ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3128
3129ac_rmfiles=
3130for ac_file in $ac_files
3131do
3132  case $ac_file in
3133    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3134    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3135  esac
3136done
3137rm -f $ac_rmfiles
3138
3139if { { ac_try="$ac_link_default"
3140case "(($ac_try" in
3141  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3142  *) ac_try_echo=$ac_try;;
3143esac
3144eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3145$as_echo "$ac_try_echo"; } >&5
3146  (eval "$ac_link_default") 2>&5
3147  ac_status=$?
3148  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3149  test $ac_status = 0; }; then :
3150  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3151# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3152# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3153# so that the user can short-circuit this test for compilers unknown to
3154# Autoconf.
3155for ac_file in $ac_files ''
3156do
3157  test -f "$ac_file" || continue
3158  case $ac_file in
3159    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3160	;;
3161    [ab].out )
3162	# We found the default executable, but exeext='' is most
3163	# certainly right.
3164	break;;
3165    *.* )
3166	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3167	then :; else
3168	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3169	fi
3170	# We set ac_cv_exeext here because the later test for it is not
3171	# safe: cross compilers may not add the suffix if given an `-o'
3172	# argument, so we may need to know it at that point already.
3173	# Even if this section looks crufty: it has the advantage of
3174	# actually working.
3175	break;;
3176    * )
3177	break;;
3178  esac
3179done
3180test "$ac_cv_exeext" = no && ac_cv_exeext=
3181
3182else
3183  ac_file=''
3184fi
3185if test -z "$ac_file"; then :
3186  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3187$as_echo "no" >&6; }
3188$as_echo "$as_me: failed program was:" >&5
3189sed 's/^/| /' conftest.$ac_ext >&5
3190
3191{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3192$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3193as_fn_error 77 "C compiler cannot create executables
3194See \`config.log' for more details" "$LINENO" 5; }
3195else
3196  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3197$as_echo "yes" >&6; }
3198fi
3199{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3200$as_echo_n "checking for C compiler default output file name... " >&6; }
3201{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3202$as_echo "$ac_file" >&6; }
3203ac_exeext=$ac_cv_exeext
3204
3205rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3206ac_clean_files=$ac_clean_files_save
3207{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3208$as_echo_n "checking for suffix of executables... " >&6; }
3209if { { ac_try="$ac_link"
3210case "(($ac_try" in
3211  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3212  *) ac_try_echo=$ac_try;;
3213esac
3214eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3215$as_echo "$ac_try_echo"; } >&5
3216  (eval "$ac_link") 2>&5
3217  ac_status=$?
3218  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3219  test $ac_status = 0; }; then :
3220  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3221# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3222# work properly (i.e., refer to `conftest.exe'), while it won't with
3223# `rm'.
3224for ac_file in conftest.exe conftest conftest.*; do
3225  test -f "$ac_file" || continue
3226  case $ac_file in
3227    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3228    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3229	  break;;
3230    * ) break;;
3231  esac
3232done
3233else
3234  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3235$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3236as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3237See \`config.log' for more details" "$LINENO" 5; }
3238fi
3239rm -f conftest conftest$ac_cv_exeext
3240{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3241$as_echo "$ac_cv_exeext" >&6; }
3242
3243rm -f conftest.$ac_ext
3244EXEEXT=$ac_cv_exeext
3245ac_exeext=$EXEEXT
3246cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3247/* end confdefs.h.  */
3248#include <stdio.h>
3249int
3250main ()
3251{
3252FILE *f = fopen ("conftest.out", "w");
3253 return ferror (f) || fclose (f) != 0;
3254
3255  ;
3256  return 0;
3257}
3258_ACEOF
3259ac_clean_files="$ac_clean_files conftest.out"
3260# Check that the compiler produces executables we can run.  If not, either
3261# the compiler is broken, or we cross compile.
3262{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3263$as_echo_n "checking whether we are cross compiling... " >&6; }
3264if test "$cross_compiling" != yes; then
3265  { { ac_try="$ac_link"
3266case "(($ac_try" in
3267  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3268  *) ac_try_echo=$ac_try;;
3269esac
3270eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3271$as_echo "$ac_try_echo"; } >&5
3272  (eval "$ac_link") 2>&5
3273  ac_status=$?
3274  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3275  test $ac_status = 0; }
3276  if { ac_try='./conftest$ac_cv_exeext'
3277  { { case "(($ac_try" in
3278  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3279  *) ac_try_echo=$ac_try;;
3280esac
3281eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3282$as_echo "$ac_try_echo"; } >&5
3283  (eval "$ac_try") 2>&5
3284  ac_status=$?
3285  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3286  test $ac_status = 0; }; }; then
3287    cross_compiling=no
3288  else
3289    if test "$cross_compiling" = maybe; then
3290	cross_compiling=yes
3291    else
3292	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3293$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3294as_fn_error $? "cannot run C compiled programs.
3295If you meant to cross compile, use \`--host'.
3296See \`config.log' for more details" "$LINENO" 5; }
3297    fi
3298  fi
3299fi
3300{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3301$as_echo "$cross_compiling" >&6; }
3302
3303rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3304ac_clean_files=$ac_clean_files_save
3305{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3306$as_echo_n "checking for suffix of object files... " >&6; }
3307if ${ac_cv_objext+:} false; then :
3308  $as_echo_n "(cached) " >&6
3309else
3310  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3311/* end confdefs.h.  */
3312
3313int
3314main ()
3315{
3316
3317  ;
3318  return 0;
3319}
3320_ACEOF
3321rm -f conftest.o conftest.obj
3322if { { ac_try="$ac_compile"
3323case "(($ac_try" in
3324  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3325  *) ac_try_echo=$ac_try;;
3326esac
3327eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3328$as_echo "$ac_try_echo"; } >&5
3329  (eval "$ac_compile") 2>&5
3330  ac_status=$?
3331  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3332  test $ac_status = 0; }; then :
3333  for ac_file in conftest.o conftest.obj conftest.*; do
3334  test -f "$ac_file" || continue;
3335  case $ac_file in
3336    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3337    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3338       break;;
3339  esac
3340done
3341else
3342  $as_echo "$as_me: failed program was:" >&5
3343sed 's/^/| /' conftest.$ac_ext >&5
3344
3345{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3346$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3347as_fn_error $? "cannot compute suffix of object files: cannot compile
3348See \`config.log' for more details" "$LINENO" 5; }
3349fi
3350rm -f conftest.$ac_cv_objext conftest.$ac_ext
3351fi
3352{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3353$as_echo "$ac_cv_objext" >&6; }
3354OBJEXT=$ac_cv_objext
3355ac_objext=$OBJEXT
3356{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3357$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3358if ${ac_cv_c_compiler_gnu+:} false; then :
3359  $as_echo_n "(cached) " >&6
3360else
3361  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3362/* end confdefs.h.  */
3363
3364int
3365main ()
3366{
3367#ifndef __GNUC__
3368       choke me
3369#endif
3370
3371  ;
3372  return 0;
3373}
3374_ACEOF
3375if ac_fn_c_try_compile "$LINENO"; then :
3376  ac_compiler_gnu=yes
3377else
3378  ac_compiler_gnu=no
3379fi
3380rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3381ac_cv_c_compiler_gnu=$ac_compiler_gnu
3382
3383fi
3384{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3385$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3386if test $ac_compiler_gnu = yes; then
3387  GCC=yes
3388else
3389  GCC=
3390fi
3391ac_test_CFLAGS=${CFLAGS+set}
3392ac_save_CFLAGS=$CFLAGS
3393{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3394$as_echo_n "checking whether $CC accepts -g... " >&6; }
3395if ${ac_cv_prog_cc_g+:} false; then :
3396  $as_echo_n "(cached) " >&6
3397else
3398  ac_save_c_werror_flag=$ac_c_werror_flag
3399   ac_c_werror_flag=yes
3400   ac_cv_prog_cc_g=no
3401   CFLAGS="-g"
3402   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3403/* end confdefs.h.  */
3404
3405int
3406main ()
3407{
3408
3409  ;
3410  return 0;
3411}
3412_ACEOF
3413if ac_fn_c_try_compile "$LINENO"; then :
3414  ac_cv_prog_cc_g=yes
3415else
3416  CFLAGS=""
3417      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3418/* end confdefs.h.  */
3419
3420int
3421main ()
3422{
3423
3424  ;
3425  return 0;
3426}
3427_ACEOF
3428if ac_fn_c_try_compile "$LINENO"; then :
3429
3430else
3431  ac_c_werror_flag=$ac_save_c_werror_flag
3432	 CFLAGS="-g"
3433	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3434/* end confdefs.h.  */
3435
3436int
3437main ()
3438{
3439
3440  ;
3441  return 0;
3442}
3443_ACEOF
3444if ac_fn_c_try_compile "$LINENO"; then :
3445  ac_cv_prog_cc_g=yes
3446fi
3447rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3448fi
3449rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3450fi
3451rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3452   ac_c_werror_flag=$ac_save_c_werror_flag
3453fi
3454{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3455$as_echo "$ac_cv_prog_cc_g" >&6; }
3456if test "$ac_test_CFLAGS" = set; then
3457  CFLAGS=$ac_save_CFLAGS
3458elif test $ac_cv_prog_cc_g = yes; then
3459  if test "$GCC" = yes; then
3460    CFLAGS="-g -O2"
3461  else
3462    CFLAGS="-g"
3463  fi
3464else
3465  if test "$GCC" = yes; then
3466    CFLAGS="-O2"
3467  else
3468    CFLAGS=
3469  fi
3470fi
3471{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3472$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3473if ${ac_cv_prog_cc_c89+:} false; then :
3474  $as_echo_n "(cached) " >&6
3475else
3476  ac_cv_prog_cc_c89=no
3477ac_save_CC=$CC
3478cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3479/* end confdefs.h.  */
3480#include <stdarg.h>
3481#include <stdio.h>
3482#include <sys/types.h>
3483#include <sys/stat.h>
3484/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3485struct buf { int x; };
3486FILE * (*rcsopen) (struct buf *, struct stat *, int);
3487static char *e (p, i)
3488     char **p;
3489     int i;
3490{
3491  return p[i];
3492}
3493static char *f (char * (*g) (char **, int), char **p, ...)
3494{
3495  char *s;
3496  va_list v;
3497  va_start (v,p);
3498  s = g (p, va_arg (v,int));
3499  va_end (v);
3500  return s;
3501}
3502
3503/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3504   function prototypes and stuff, but not '\xHH' hex character constants.
3505   These don't provoke an error unfortunately, instead are silently treated
3506   as 'x'.  The following induces an error, until -std is added to get
3507   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3508   array size at least.  It's necessary to write '\x00'==0 to get something
3509   that's true only with -std.  */
3510int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3511
3512/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3513   inside strings and character constants.  */
3514#define FOO(x) 'x'
3515int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3516
3517int test (int i, double x);
3518struct s1 {int (*f) (int a);};
3519struct s2 {int (*f) (double a);};
3520int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3521int argc;
3522char **argv;
3523int
3524main ()
3525{
3526return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3527  ;
3528  return 0;
3529}
3530_ACEOF
3531for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3532	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3533do
3534  CC="$ac_save_CC $ac_arg"
3535  if ac_fn_c_try_compile "$LINENO"; then :
3536  ac_cv_prog_cc_c89=$ac_arg
3537fi
3538rm -f core conftest.err conftest.$ac_objext
3539  test "x$ac_cv_prog_cc_c89" != "xno" && break
3540done
3541rm -f conftest.$ac_ext
3542CC=$ac_save_CC
3543
3544fi
3545# AC_CACHE_VAL
3546case "x$ac_cv_prog_cc_c89" in
3547  x)
3548    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3549$as_echo "none needed" >&6; } ;;
3550  xno)
3551    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3552$as_echo "unsupported" >&6; } ;;
3553  *)
3554    CC="$CC $ac_cv_prog_cc_c89"
3555    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3556$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3557esac
3558if test "x$ac_cv_prog_cc_c89" != xno; then :
3559
3560fi
3561
3562ac_ext=c
3563ac_cpp='$CPP $CPPFLAGS'
3564ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3565ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3566ac_compiler_gnu=$ac_cv_c_compiler_gnu
3567
3568depcc="$CC"   am_compiler_list=
3569
3570{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3571$as_echo_n "checking dependency style of $depcc... " >&6; }
3572if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3573  $as_echo_n "(cached) " >&6
3574else
3575  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3576  # We make a subdir and do the tests there.  Otherwise we can end up
3577  # making bogus files that we don't know about and never remove.  For
3578  # instance it was reported that on HP-UX the gcc test will end up
3579  # making a dummy file named `D' -- because `-MD' means `put the output
3580  # in D'.
3581  mkdir conftest.dir
3582  # Copy depcomp to subdir because otherwise we won't find it if we're
3583  # using a relative directory.
3584  cp "$am_depcomp" conftest.dir
3585  cd conftest.dir
3586  # We will build objects and dependencies in a subdirectory because
3587  # it helps to detect inapplicable dependency modes.  For instance
3588  # both Tru64's cc and ICC support -MD to output dependencies as a
3589  # side effect of compilation, but ICC will put the dependencies in
3590  # the current directory while Tru64 will put them in the object
3591  # directory.
3592  mkdir sub
3593
3594  am_cv_CC_dependencies_compiler_type=none
3595  if test "$am_compiler_list" = ""; then
3596     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3597  fi
3598  am__universal=false
3599  case " $depcc " in #(
3600     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3601     esac
3602
3603  for depmode in $am_compiler_list; do
3604    # Setup a source with many dependencies, because some compilers
3605    # like to wrap large dependency lists on column 80 (with \), and
3606    # we should not choose a depcomp mode which is confused by this.
3607    #
3608    # We need to recreate these files for each test, as the compiler may
3609    # overwrite some of them when testing with obscure command lines.
3610    # This happens at least with the AIX C compiler.
3611    : > sub/conftest.c
3612    for i in 1 2 3 4 5 6; do
3613      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3614      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3615      # Solaris 8's {/usr,}/bin/sh.
3616      touch sub/conftst$i.h
3617    done
3618    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3619
3620    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3621    # mode.  It turns out that the SunPro C++ compiler does not properly
3622    # handle `-M -o', and we need to detect this.  Also, some Intel
3623    # versions had trouble with output in subdirs
3624    am__obj=sub/conftest.${OBJEXT-o}
3625    am__minus_obj="-o $am__obj"
3626    case $depmode in
3627    gcc)
3628      # This depmode causes a compiler race in universal mode.
3629      test "$am__universal" = false || continue
3630      ;;
3631    nosideeffect)
3632      # after this tag, mechanisms are not by side-effect, so they'll
3633      # only be used when explicitly requested
3634      if test "x$enable_dependency_tracking" = xyes; then
3635	continue
3636      else
3637	break
3638      fi
3639      ;;
3640    msvisualcpp | msvcmsys)
3641      # This compiler won't grok `-c -o', but also, the minuso test has
3642      # not run yet.  These depmodes are late enough in the game, and
3643      # so weak that their functioning should not be impacted.
3644      am__obj=conftest.${OBJEXT-o}
3645      am__minus_obj=
3646      ;;
3647    none) break ;;
3648    esac
3649    if depmode=$depmode \
3650       source=sub/conftest.c object=$am__obj \
3651       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3652       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3653         >/dev/null 2>conftest.err &&
3654       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3655       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3656       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3657       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3658      # icc doesn't choke on unknown options, it will just issue warnings
3659      # or remarks (even with -Werror).  So we grep stderr for any message
3660      # that says an option was ignored or not supported.
3661      # When given -MP, icc 7.0 and 7.1 complain thusly:
3662      #   icc: Command line warning: ignoring option '-M'; no argument required
3663      # The diagnosis changed in icc 8.0:
3664      #   icc: Command line remark: option '-MP' not supported
3665      if (grep 'ignoring option' conftest.err ||
3666          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3667        am_cv_CC_dependencies_compiler_type=$depmode
3668        break
3669      fi
3670    fi
3671  done
3672
3673  cd ..
3674  rm -rf conftest.dir
3675else
3676  am_cv_CC_dependencies_compiler_type=none
3677fi
3678
3679fi
3680{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3681$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3682CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3683
3684 if
3685  test "x$enable_dependency_tracking" != xno \
3686  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3687  am__fastdepCC_TRUE=
3688  am__fastdepCC_FALSE='#'
3689else
3690  am__fastdepCC_TRUE='#'
3691  am__fastdepCC_FALSE=
3692fi
3693
3694
3695   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3696$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3697if ${ac_cv_prog_cc_c99+:} false; then :
3698  $as_echo_n "(cached) " >&6
3699else
3700  ac_cv_prog_cc_c99=no
3701ac_save_CC=$CC
3702cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3703/* end confdefs.h.  */
3704#include <stdarg.h>
3705#include <stdbool.h>
3706#include <stdlib.h>
3707#include <wchar.h>
3708#include <stdio.h>
3709
3710// Check varargs macros.  These examples are taken from C99 6.10.3.5.
3711#define debug(...) fprintf (stderr, __VA_ARGS__)
3712#define showlist(...) puts (#__VA_ARGS__)
3713#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3714static void
3715test_varargs_macros (void)
3716{
3717  int x = 1234;
3718  int y = 5678;
3719  debug ("Flag");
3720  debug ("X = %d\n", x);
3721  showlist (The first, second, and third items.);
3722  report (x>y, "x is %d but y is %d", x, y);
3723}
3724
3725// Check long long types.
3726#define BIG64 18446744073709551615ull
3727#define BIG32 4294967295ul
3728#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3729#if !BIG_OK
3730  your preprocessor is broken;
3731#endif
3732#if BIG_OK
3733#else
3734  your preprocessor is broken;
3735#endif
3736static long long int bignum = -9223372036854775807LL;
3737static unsigned long long int ubignum = BIG64;
3738
3739struct incomplete_array
3740{
3741  int datasize;
3742  double data[];
3743};
3744
3745struct named_init {
3746  int number;
3747  const wchar_t *name;
3748  double average;
3749};
3750
3751typedef const char *ccp;
3752
3753static inline int
3754test_restrict (ccp restrict text)
3755{
3756  // See if C++-style comments work.
3757  // Iterate through items via the restricted pointer.
3758  // Also check for declarations in for loops.
3759  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3760    continue;
3761  return 0;
3762}
3763
3764// Check varargs and va_copy.
3765static void
3766test_varargs (const char *format, ...)
3767{
3768  va_list args;
3769  va_start (args, format);
3770  va_list args_copy;
3771  va_copy (args_copy, args);
3772
3773  const char *str;
3774  int number;
3775  float fnumber;
3776
3777  while (*format)
3778    {
3779      switch (*format++)
3780	{
3781	case 's': // string
3782	  str = va_arg (args_copy, const char *);
3783	  break;
3784	case 'd': // int
3785	  number = va_arg (args_copy, int);
3786	  break;
3787	case 'f': // float
3788	  fnumber = va_arg (args_copy, double);
3789	  break;
3790	default:
3791	  break;
3792	}
3793    }
3794  va_end (args_copy);
3795  va_end (args);
3796}
3797
3798int
3799main ()
3800{
3801
3802  // Check bool.
3803  _Bool success = false;
3804
3805  // Check restrict.
3806  if (test_restrict ("String literal") == 0)
3807    success = true;
3808  char *restrict newvar = "Another string";
3809
3810  // Check varargs.
3811  test_varargs ("s, d' f .", "string", 65, 34.234);
3812  test_varargs_macros ();
3813
3814  // Check flexible array members.
3815  struct incomplete_array *ia =
3816    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3817  ia->datasize = 10;
3818  for (int i = 0; i < ia->datasize; ++i)
3819    ia->data[i] = i * 1.234;
3820
3821  // Check named initializers.
3822  struct named_init ni = {
3823    .number = 34,
3824    .name = L"Test wide string",
3825    .average = 543.34343,
3826  };
3827
3828  ni.number = 58;
3829
3830  int dynamic_array[ni.number];
3831  dynamic_array[ni.number - 1] = 543;
3832
3833  // work around unused variable warnings
3834  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3835	  || dynamic_array[ni.number - 1] != 543);
3836
3837  ;
3838  return 0;
3839}
3840_ACEOF
3841for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
3842do
3843  CC="$ac_save_CC $ac_arg"
3844  if ac_fn_c_try_compile "$LINENO"; then :
3845  ac_cv_prog_cc_c99=$ac_arg
3846fi
3847rm -f core conftest.err conftest.$ac_objext
3848  test "x$ac_cv_prog_cc_c99" != "xno" && break
3849done
3850rm -f conftest.$ac_ext
3851CC=$ac_save_CC
3852
3853fi
3854# AC_CACHE_VAL
3855case "x$ac_cv_prog_cc_c99" in
3856  x)
3857    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3858$as_echo "none needed" >&6; } ;;
3859  xno)
3860    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3861$as_echo "unsupported" >&6; } ;;
3862  *)
3863    CC="$CC $ac_cv_prog_cc_c99"
3864    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3865$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3866esac
3867if test "x$ac_cv_prog_cc_c99" != xno; then :
3868
3869fi
3870
3871
3872
3873ac_ext=c
3874ac_cpp='$CPP $CPPFLAGS'
3875ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3876ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3877ac_compiler_gnu=$ac_cv_c_compiler_gnu
3878{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3879$as_echo_n "checking how to run the C preprocessor... " >&6; }
3880# On Suns, sometimes $CPP names a directory.
3881if test -n "$CPP" && test -d "$CPP"; then
3882  CPP=
3883fi
3884if test -z "$CPP"; then
3885  if ${ac_cv_prog_CPP+:} false; then :
3886  $as_echo_n "(cached) " >&6
3887else
3888      # Double quotes because CPP needs to be expanded
3889    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3890    do
3891      ac_preproc_ok=false
3892for ac_c_preproc_warn_flag in '' yes
3893do
3894  # Use a header file that comes with gcc, so configuring glibc
3895  # with a fresh cross-compiler works.
3896  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3897  # <limits.h> exists even on freestanding compilers.
3898  # On the NeXT, cc -E runs the code through the compiler's parser,
3899  # not just through cpp. "Syntax error" is here to catch this case.
3900  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3901/* end confdefs.h.  */
3902#ifdef __STDC__
3903# include <limits.h>
3904#else
3905# include <assert.h>
3906#endif
3907		     Syntax error
3908_ACEOF
3909if ac_fn_c_try_cpp "$LINENO"; then :
3910
3911else
3912  # Broken: fails on valid input.
3913continue
3914fi
3915rm -f conftest.err conftest.i conftest.$ac_ext
3916
3917  # OK, works on sane cases.  Now check whether nonexistent headers
3918  # can be detected and how.
3919  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3920/* end confdefs.h.  */
3921#include <ac_nonexistent.h>
3922_ACEOF
3923if ac_fn_c_try_cpp "$LINENO"; then :
3924  # Broken: success on invalid input.
3925continue
3926else
3927  # Passes both tests.
3928ac_preproc_ok=:
3929break
3930fi
3931rm -f conftest.err conftest.i conftest.$ac_ext
3932
3933done
3934# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3935rm -f conftest.i conftest.err conftest.$ac_ext
3936if $ac_preproc_ok; then :
3937  break
3938fi
3939
3940    done
3941    ac_cv_prog_CPP=$CPP
3942
3943fi
3944  CPP=$ac_cv_prog_CPP
3945else
3946  ac_cv_prog_CPP=$CPP
3947fi
3948{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3949$as_echo "$CPP" >&6; }
3950ac_preproc_ok=false
3951for ac_c_preproc_warn_flag in '' yes
3952do
3953  # Use a header file that comes with gcc, so configuring glibc
3954  # with a fresh cross-compiler works.
3955  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3956  # <limits.h> exists even on freestanding compilers.
3957  # On the NeXT, cc -E runs the code through the compiler's parser,
3958  # not just through cpp. "Syntax error" is here to catch this case.
3959  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3960/* end confdefs.h.  */
3961#ifdef __STDC__
3962# include <limits.h>
3963#else
3964# include <assert.h>
3965#endif
3966		     Syntax error
3967_ACEOF
3968if ac_fn_c_try_cpp "$LINENO"; then :
3969
3970else
3971  # Broken: fails on valid input.
3972continue
3973fi
3974rm -f conftest.err conftest.i conftest.$ac_ext
3975
3976  # OK, works on sane cases.  Now check whether nonexistent headers
3977  # can be detected and how.
3978  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3979/* end confdefs.h.  */
3980#include <ac_nonexistent.h>
3981_ACEOF
3982if ac_fn_c_try_cpp "$LINENO"; then :
3983  # Broken: success on invalid input.
3984continue
3985else
3986  # Passes both tests.
3987ac_preproc_ok=:
3988break
3989fi
3990rm -f conftest.err conftest.i conftest.$ac_ext
3991
3992done
3993# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3994rm -f conftest.i conftest.err conftest.$ac_ext
3995if $ac_preproc_ok; then :
3996
3997else
3998  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3999$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4000as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4001See \`config.log' for more details" "$LINENO" 5; }
4002fi
4003
4004ac_ext=c
4005ac_cpp='$CPP $CPPFLAGS'
4006ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4007ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4008ac_compiler_gnu=$ac_cv_c_compiler_gnu
4009
4010
4011{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4012$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4013if ${ac_cv_path_GREP+:} false; then :
4014  $as_echo_n "(cached) " >&6
4015else
4016  if test -z "$GREP"; then
4017  ac_path_GREP_found=false
4018  # Loop through the user's path and test for each of PROGNAME-LIST
4019  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4020for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4021do
4022  IFS=$as_save_IFS
4023  test -z "$as_dir" && as_dir=.
4024    for ac_prog in grep ggrep; do
4025    for ac_exec_ext in '' $ac_executable_extensions; do
4026      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4027      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4028# Check for GNU ac_path_GREP and select it if it is found.
4029  # Check for GNU $ac_path_GREP
4030case `"$ac_path_GREP" --version 2>&1` in
4031*GNU*)
4032  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4033*)
4034  ac_count=0
4035  $as_echo_n 0123456789 >"conftest.in"
4036  while :
4037  do
4038    cat "conftest.in" "conftest.in" >"conftest.tmp"
4039    mv "conftest.tmp" "conftest.in"
4040    cp "conftest.in" "conftest.nl"
4041    $as_echo 'GREP' >> "conftest.nl"
4042    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4043    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4044    as_fn_arith $ac_count + 1 && ac_count=$as_val
4045    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4046      # Best one so far, save it but keep looking for a better one
4047      ac_cv_path_GREP="$ac_path_GREP"
4048      ac_path_GREP_max=$ac_count
4049    fi
4050    # 10*(2^10) chars as input seems more than enough
4051    test $ac_count -gt 10 && break
4052  done
4053  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4054esac
4055
4056      $ac_path_GREP_found && break 3
4057    done
4058  done
4059  done
4060IFS=$as_save_IFS
4061  if test -z "$ac_cv_path_GREP"; then
4062    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4063  fi
4064else
4065  ac_cv_path_GREP=$GREP
4066fi
4067
4068fi
4069{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4070$as_echo "$ac_cv_path_GREP" >&6; }
4071 GREP="$ac_cv_path_GREP"
4072
4073
4074{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4075$as_echo_n "checking for egrep... " >&6; }
4076if ${ac_cv_path_EGREP+:} false; then :
4077  $as_echo_n "(cached) " >&6
4078else
4079  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4080   then ac_cv_path_EGREP="$GREP -E"
4081   else
4082     if test -z "$EGREP"; then
4083  ac_path_EGREP_found=false
4084  # Loop through the user's path and test for each of PROGNAME-LIST
4085  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4086for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4087do
4088  IFS=$as_save_IFS
4089  test -z "$as_dir" && as_dir=.
4090    for ac_prog in egrep; do
4091    for ac_exec_ext in '' $ac_executable_extensions; do
4092      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4093      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4094# Check for GNU ac_path_EGREP and select it if it is found.
4095  # Check for GNU $ac_path_EGREP
4096case `"$ac_path_EGREP" --version 2>&1` in
4097*GNU*)
4098  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4099*)
4100  ac_count=0
4101  $as_echo_n 0123456789 >"conftest.in"
4102  while :
4103  do
4104    cat "conftest.in" "conftest.in" >"conftest.tmp"
4105    mv "conftest.tmp" "conftest.in"
4106    cp "conftest.in" "conftest.nl"
4107    $as_echo 'EGREP' >> "conftest.nl"
4108    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4109    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4110    as_fn_arith $ac_count + 1 && ac_count=$as_val
4111    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4112      # Best one so far, save it but keep looking for a better one
4113      ac_cv_path_EGREP="$ac_path_EGREP"
4114      ac_path_EGREP_max=$ac_count
4115    fi
4116    # 10*(2^10) chars as input seems more than enough
4117    test $ac_count -gt 10 && break
4118  done
4119  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4120esac
4121
4122      $ac_path_EGREP_found && break 3
4123    done
4124  done
4125  done
4126IFS=$as_save_IFS
4127  if test -z "$ac_cv_path_EGREP"; then
4128    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4129  fi
4130else
4131  ac_cv_path_EGREP=$EGREP
4132fi
4133
4134   fi
4135fi
4136{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4137$as_echo "$ac_cv_path_EGREP" >&6; }
4138 EGREP="$ac_cv_path_EGREP"
4139
4140
4141{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4142$as_echo_n "checking for ANSI C header files... " >&6; }
4143if ${ac_cv_header_stdc+:} false; then :
4144  $as_echo_n "(cached) " >&6
4145else
4146  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4147/* end confdefs.h.  */
4148#include <stdlib.h>
4149#include <stdarg.h>
4150#include <string.h>
4151#include <float.h>
4152
4153int
4154main ()
4155{
4156
4157  ;
4158  return 0;
4159}
4160_ACEOF
4161if ac_fn_c_try_compile "$LINENO"; then :
4162  ac_cv_header_stdc=yes
4163else
4164  ac_cv_header_stdc=no
4165fi
4166rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4167
4168if test $ac_cv_header_stdc = yes; then
4169  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4170  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4171/* end confdefs.h.  */
4172#include <string.h>
4173
4174_ACEOF
4175if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4176  $EGREP "memchr" >/dev/null 2>&1; then :
4177
4178else
4179  ac_cv_header_stdc=no
4180fi
4181rm -f conftest*
4182
4183fi
4184
4185if test $ac_cv_header_stdc = yes; then
4186  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4187  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4188/* end confdefs.h.  */
4189#include <stdlib.h>
4190
4191_ACEOF
4192if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4193  $EGREP "free" >/dev/null 2>&1; then :
4194
4195else
4196  ac_cv_header_stdc=no
4197fi
4198rm -f conftest*
4199
4200fi
4201
4202if test $ac_cv_header_stdc = yes; then
4203  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4204  if test "$cross_compiling" = yes; then :
4205  :
4206else
4207  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4208/* end confdefs.h.  */
4209#include <ctype.h>
4210#include <stdlib.h>
4211#if ((' ' & 0x0FF) == 0x020)
4212# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4213# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4214#else
4215# define ISLOWER(c) \
4216		   (('a' <= (c) && (c) <= 'i') \
4217		     || ('j' <= (c) && (c) <= 'r') \
4218		     || ('s' <= (c) && (c) <= 'z'))
4219# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4220#endif
4221
4222#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4223int
4224main ()
4225{
4226  int i;
4227  for (i = 0; i < 256; i++)
4228    if (XOR (islower (i), ISLOWER (i))
4229	|| toupper (i) != TOUPPER (i))
4230      return 2;
4231  return 0;
4232}
4233_ACEOF
4234if ac_fn_c_try_run "$LINENO"; then :
4235
4236else
4237  ac_cv_header_stdc=no
4238fi
4239rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4240  conftest.$ac_objext conftest.beam conftest.$ac_ext
4241fi
4242
4243fi
4244fi
4245{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4246$as_echo "$ac_cv_header_stdc" >&6; }
4247if test $ac_cv_header_stdc = yes; then
4248
4249$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4250
4251fi
4252
4253# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4254for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4255		  inttypes.h stdint.h unistd.h
4256do :
4257  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4258ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4259"
4260if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4261  cat >>confdefs.h <<_ACEOF
4262#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4263_ACEOF
4264
4265fi
4266
4267done
4268
4269
4270
4271
4272if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4273	if test -n "$ac_tool_prefix"; then
4274  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4275set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4276{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4277$as_echo_n "checking for $ac_word... " >&6; }
4278if ${ac_cv_path_PKG_CONFIG+:} false; then :
4279  $as_echo_n "(cached) " >&6
4280else
4281  case $PKG_CONFIG in
4282  [\\/]* | ?:[\\/]*)
4283  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4284  ;;
4285  *)
4286  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4287for as_dir in $PATH
4288do
4289  IFS=$as_save_IFS
4290  test -z "$as_dir" && as_dir=.
4291    for ac_exec_ext in '' $ac_executable_extensions; do
4292  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4293    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4294    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4295    break 2
4296  fi
4297done
4298  done
4299IFS=$as_save_IFS
4300
4301  ;;
4302esac
4303fi
4304PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4305if test -n "$PKG_CONFIG"; then
4306  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4307$as_echo "$PKG_CONFIG" >&6; }
4308else
4309  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4310$as_echo "no" >&6; }
4311fi
4312
4313
4314fi
4315if test -z "$ac_cv_path_PKG_CONFIG"; then
4316  ac_pt_PKG_CONFIG=$PKG_CONFIG
4317  # Extract the first word of "pkg-config", so it can be a program name with args.
4318set dummy pkg-config; ac_word=$2
4319{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4320$as_echo_n "checking for $ac_word... " >&6; }
4321if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4322  $as_echo_n "(cached) " >&6
4323else
4324  case $ac_pt_PKG_CONFIG in
4325  [\\/]* | ?:[\\/]*)
4326  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4327  ;;
4328  *)
4329  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4330for as_dir in $PATH
4331do
4332  IFS=$as_save_IFS
4333  test -z "$as_dir" && as_dir=.
4334    for ac_exec_ext in '' $ac_executable_extensions; do
4335  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4336    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4337    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4338    break 2
4339  fi
4340done
4341  done
4342IFS=$as_save_IFS
4343
4344  ;;
4345esac
4346fi
4347ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4348if test -n "$ac_pt_PKG_CONFIG"; then
4349  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4350$as_echo "$ac_pt_PKG_CONFIG" >&6; }
4351else
4352  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4353$as_echo "no" >&6; }
4354fi
4355
4356  if test "x$ac_pt_PKG_CONFIG" = x; then
4357    PKG_CONFIG=""
4358  else
4359    case $cross_compiling:$ac_tool_warned in
4360yes:)
4361{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4362$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4363ac_tool_warned=yes ;;
4364esac
4365    PKG_CONFIG=$ac_pt_PKG_CONFIG
4366  fi
4367else
4368  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4369fi
4370
4371fi
4372if test -n "$PKG_CONFIG"; then
4373	_pkg_min_version=0.9.0
4374	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4375$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4376	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4377		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4378$as_echo "yes" >&6; }
4379	else
4380		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4381$as_echo "no" >&6; }
4382		PKG_CONFIG=""
4383	fi
4384
4385fi
4386# Make sure we can run config.sub.
4387$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4388  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4389
4390{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4391$as_echo_n "checking build system type... " >&6; }
4392if ${ac_cv_build+:} false; then :
4393  $as_echo_n "(cached) " >&6
4394else
4395  ac_build_alias=$build_alias
4396test "x$ac_build_alias" = x &&
4397  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4398test "x$ac_build_alias" = x &&
4399  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4400ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4401  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4402
4403fi
4404{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4405$as_echo "$ac_cv_build" >&6; }
4406case $ac_cv_build in
4407*-*-*) ;;
4408*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4409esac
4410build=$ac_cv_build
4411ac_save_IFS=$IFS; IFS='-'
4412set x $ac_cv_build
4413shift
4414build_cpu=$1
4415build_vendor=$2
4416shift; shift
4417# Remember, the first character of IFS is used to create $*,
4418# except with old shells:
4419build_os=$*
4420IFS=$ac_save_IFS
4421case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4422
4423
4424{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4425$as_echo_n "checking host system type... " >&6; }
4426if ${ac_cv_host+:} false; then :
4427  $as_echo_n "(cached) " >&6
4428else
4429  if test "x$host_alias" = x; then
4430  ac_cv_host=$ac_cv_build
4431else
4432  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4433    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4434fi
4435
4436fi
4437{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4438$as_echo "$ac_cv_host" >&6; }
4439case $ac_cv_host in
4440*-*-*) ;;
4441*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4442esac
4443host=$ac_cv_host
4444ac_save_IFS=$IFS; IFS='-'
4445set x $ac_cv_host
4446shift
4447host_cpu=$1
4448host_vendor=$2
4449shift; shift
4450# Remember, the first character of IFS is used to create $*,
4451# except with old shells:
4452host_os=$*
4453IFS=$ac_save_IFS
4454case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4455
4456
4457{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4458$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4459if ${ac_cv_path_SED+:} false; then :
4460  $as_echo_n "(cached) " >&6
4461else
4462            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4463     for ac_i in 1 2 3 4 5 6 7; do
4464       ac_script="$ac_script$as_nl$ac_script"
4465     done
4466     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4467     { ac_script=; unset ac_script;}
4468     if test -z "$SED"; then
4469  ac_path_SED_found=false
4470  # Loop through the user's path and test for each of PROGNAME-LIST
4471  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4472for as_dir in $PATH
4473do
4474  IFS=$as_save_IFS
4475  test -z "$as_dir" && as_dir=.
4476    for ac_prog in sed gsed; do
4477    for ac_exec_ext in '' $ac_executable_extensions; do
4478      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4479      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4480# Check for GNU ac_path_SED and select it if it is found.
4481  # Check for GNU $ac_path_SED
4482case `"$ac_path_SED" --version 2>&1` in
4483*GNU*)
4484  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4485*)
4486  ac_count=0
4487  $as_echo_n 0123456789 >"conftest.in"
4488  while :
4489  do
4490    cat "conftest.in" "conftest.in" >"conftest.tmp"
4491    mv "conftest.tmp" "conftest.in"
4492    cp "conftest.in" "conftest.nl"
4493    $as_echo '' >> "conftest.nl"
4494    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4495    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4496    as_fn_arith $ac_count + 1 && ac_count=$as_val
4497    if test $ac_count -gt ${ac_path_SED_max-0}; then
4498      # Best one so far, save it but keep looking for a better one
4499      ac_cv_path_SED="$ac_path_SED"
4500      ac_path_SED_max=$ac_count
4501    fi
4502    # 10*(2^10) chars as input seems more than enough
4503    test $ac_count -gt 10 && break
4504  done
4505  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4506esac
4507
4508      $ac_path_SED_found && break 3
4509    done
4510  done
4511  done
4512IFS=$as_save_IFS
4513  if test -z "$ac_cv_path_SED"; then
4514    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4515  fi
4516else
4517  ac_cv_path_SED=$SED
4518fi
4519
4520fi
4521{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4522$as_echo "$ac_cv_path_SED" >&6; }
4523 SED="$ac_cv_path_SED"
4524  rm -f conftest.sed
4525
4526
4527
4528
4529
4530if  test "x$GCC" = xyes ; then
4531    CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
4532-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
4533-Wbad-function-cast -Wformat=2"
4534    case `$CC -dumpversion` in
4535    3.4.* | 4.*)
4536	CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
4537	;;
4538    esac
4539else
4540    ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
4541if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
4542  SUNCC="yes"
4543else
4544  SUNCC="no"
4545fi
4546
4547    if test "x$SUNCC" = "xyes"; then
4548	CWARNFLAGS="-v"
4549    fi
4550fi
4551
4552
4553
4554# If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89
4555
4556
4557
4558# Check whether --enable-strict-compilation was given.
4559if test "${enable_strict_compilation+set}" = set; then :
4560  enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
4561else
4562  STRICT_COMPILE=no
4563fi
4564
4565if test "x$STRICT_COMPILE" = "xyes"; then
4566	ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
4567if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
4568  SUNCC="yes"
4569else
4570  SUNCC="no"
4571fi
4572
4573	ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
4574if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
4575  INTELCC="yes"
4576else
4577  INTELCC="no"
4578fi
4579
4580	if test "x$GCC" = xyes ; then
4581		STRICT_CFLAGS="-pedantic -Werror"
4582	elif test "x$SUNCC" = "xyes"; then
4583		STRICT_CFLAGS="-errwarn"
4584    elif test "x$INTELCC" = "xyes"; then
4585		STRICT_CFLAGS="-Werror"
4586	fi
4587fi
4588CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
4589
4590
4591
4592
4593cat >>confdefs.h <<_ACEOF
4594#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
4595_ACEOF
4596
4597	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
4598	if test "x$PVM" = "x"; then
4599		PVM="0"
4600	fi
4601
4602cat >>confdefs.h <<_ACEOF
4603#define PACKAGE_VERSION_MINOR $PVM
4604_ACEOF
4605
4606	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
4607	if test "x$PVP" = "x"; then
4608		PVP="0"
4609	fi
4610
4611cat >>confdefs.h <<_ACEOF
4612#define PACKAGE_VERSION_PATCHLEVEL $PVP
4613_ACEOF
4614
4615
4616
4617CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
4618mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
4619|| (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
4620echo 'git directory not found: installing possibly empty changelog.' >&2)"
4621
4622
4623
4624
4625macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
4626INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
4627mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
4628|| (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
4629echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
4630
4631
4632
4633
4634
4635
4636if test x$APP_MAN_SUFFIX = x    ; then
4637    APP_MAN_SUFFIX=1
4638fi
4639if test x$APP_MAN_DIR = x    ; then
4640    APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
4641fi
4642
4643if test x$LIB_MAN_SUFFIX = x    ; then
4644    LIB_MAN_SUFFIX=3
4645fi
4646if test x$LIB_MAN_DIR = x    ; then
4647    LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
4648fi
4649
4650if test x$FILE_MAN_SUFFIX = x    ; then
4651    case $host_os in
4652	solaris*)	FILE_MAN_SUFFIX=4  ;;
4653	*)		FILE_MAN_SUFFIX=5  ;;
4654    esac
4655fi
4656if test x$FILE_MAN_DIR = x    ; then
4657    FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
4658fi
4659
4660if test x$MISC_MAN_SUFFIX = x    ; then
4661    case $host_os in
4662	solaris*)	MISC_MAN_SUFFIX=5  ;;
4663	*)		MISC_MAN_SUFFIX=7  ;;
4664    esac
4665fi
4666if test x$MISC_MAN_DIR = x    ; then
4667    MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
4668fi
4669
4670if test x$DRIVER_MAN_SUFFIX = x    ; then
4671    case $host_os in
4672	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
4673	*)		DRIVER_MAN_SUFFIX=4  ;;
4674    esac
4675fi
4676if test x$DRIVER_MAN_DIR = x    ; then
4677    DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
4678fi
4679
4680if test x$ADMIN_MAN_SUFFIX = x    ; then
4681    case $host_os in
4682	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
4683	*)		ADMIN_MAN_SUFFIX=8  ;;
4684    esac
4685fi
4686if test x$ADMIN_MAN_DIR = x    ; then
4687    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
4688fi
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704XORG_MAN_PAGE="X Version 11"
4705
4706MAN_SUBSTS="\
4707	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
4708	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
4709	-e 's|__xservername__|Xorg|g' \
4710	-e 's|__xconfigfile__|xorg.conf|g' \
4711	-e 's|__projectroot__|\$(prefix)|g' \
4712	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
4713	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
4714	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
4715	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
4716	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
4717	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
4718	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
4719
4720
4721
4722# Check whether --enable-silent-rules was given.
4723if test "${enable_silent_rules+set}" = set; then :
4724  enableval=$enable_silent_rules;
4725fi
4726
4727case $enable_silent_rules in
4728yes) AM_DEFAULT_VERBOSITY=0;;
4729no)  AM_DEFAULT_VERBOSITY=1;;
4730*)   AM_DEFAULT_VERBOSITY=0;;
4731esac
4732AM_BACKSLASH='\'
4733
4734
4735
4736
4737pkg_failed=no
4738{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for RGB" >&5
4739$as_echo_n "checking for RGB... " >&6; }
4740
4741if test -n "$RGB_CFLAGS"; then
4742    pkg_cv_RGB_CFLAGS="$RGB_CFLAGS"
4743 elif test -n "$PKG_CONFIG"; then
4744    if test -n "$PKG_CONFIG" && \
4745    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto\""; } >&5
4746  ($PKG_CONFIG --exists --print-errors "xproto") 2>&5
4747  ac_status=$?
4748  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4749  test $ac_status = 0; }; then
4750  pkg_cv_RGB_CFLAGS=`$PKG_CONFIG --cflags "xproto" 2>/dev/null`
4751else
4752  pkg_failed=yes
4753fi
4754 else
4755    pkg_failed=untried
4756fi
4757if test -n "$RGB_LIBS"; then
4758    pkg_cv_RGB_LIBS="$RGB_LIBS"
4759 elif test -n "$PKG_CONFIG"; then
4760    if test -n "$PKG_CONFIG" && \
4761    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto\""; } >&5
4762  ($PKG_CONFIG --exists --print-errors "xproto") 2>&5
4763  ac_status=$?
4764  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4765  test $ac_status = 0; }; then
4766  pkg_cv_RGB_LIBS=`$PKG_CONFIG --libs "xproto" 2>/dev/null`
4767else
4768  pkg_failed=yes
4769fi
4770 else
4771    pkg_failed=untried
4772fi
4773
4774
4775
4776if test $pkg_failed = yes; then
4777
4778if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4779        _pkg_short_errors_supported=yes
4780else
4781        _pkg_short_errors_supported=no
4782fi
4783        if test $_pkg_short_errors_supported = yes; then
4784	        RGB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto" 2>&1`
4785        else
4786	        RGB_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto" 2>&1`
4787        fi
4788	# Put the nasty error message in config.log where it belongs
4789	echo "$RGB_PKG_ERRORS" >&5
4790
4791	as_fn_error $? "Package requirements (xproto) were not met:
4792
4793$RGB_PKG_ERRORS
4794
4795Consider adjusting the PKG_CONFIG_PATH environment variable if you
4796installed software in a non-standard prefix.
4797
4798Alternatively, you may set the environment variables RGB_CFLAGS
4799and RGB_LIBS to avoid the need to call pkg-config.
4800See the pkg-config man page for more details.
4801" "$LINENO" 5
4802elif test $pkg_failed = untried; then
4803	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4804$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4805as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
4806is in your PATH or set the PKG_CONFIG environment variable to the full
4807path to pkg-config.
4808
4809Alternatively, you may set the environment variables RGB_CFLAGS
4810and RGB_LIBS to avoid the need to call pkg-config.
4811See the pkg-config man page for more details.
4812
4813To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4814See \`config.log' for more details" "$LINENO" 5; }
4815else
4816	RGB_CFLAGS=$pkg_cv_RGB_CFLAGS
4817	RGB_LIBS=$pkg_cv_RGB_LIBS
4818        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4819$as_echo "yes" >&6; }
4820	:
4821fi
4822
4823{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for rgb database location" >&5
4824$as_echo_n "checking for rgb database location... " >&6; }
4825
4826# Check whether --with-rgb-db-dir was given.
4827if test "${with_rgb_db_dir+set}" = set; then :
4828  withval=$with_rgb_db_dir; db_path=$withval
4829else
4830  db_path=${datadir}/X11/rgb
4831fi
4832
4833{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $db_path" >&5
4834$as_echo "$db_path" >&6; }
4835db_file=`basename $db_path`
4836db_dir=`dirname $db_path`
4837
4838
4839
4840{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for rgb database format" >&5
4841$as_echo_n "checking for rgb database format... " >&6; }
4842
4843# Check whether --with-rgb-db-type was given.
4844if test "${with_rgb_db_type+set}" = set; then :
4845  withval=$with_rgb_db_type; db_type=$withval
4846else
4847  db_type="text"
4848fi
4849
4850{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $db_type" >&5
4851$as_echo "$db_type" >&6; }
4852
4853RGB_DB_TYPE=$db_type
4854
4855case $db_type in
4856	text)
4857		RGB_DB_FILES=""
4858
4859$as_echo "#define USE_RGB_TXT 1" >>confdefs.h
4860
4861		;;
4862	dbm)
4863		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dbminit" >&5
4864$as_echo_n "checking for library containing dbminit... " >&6; }
4865if ${ac_cv_search_dbminit+:} false; then :
4866  $as_echo_n "(cached) " >&6
4867else
4868  ac_func_search_save_LIBS=$LIBS
4869cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4870/* end confdefs.h.  */
4871
4872/* Override any GCC internal prototype to avoid an error.
4873   Use char because int might match the return type of a GCC
4874   builtin and then its argument prototype would still apply.  */
4875#ifdef __cplusplus
4876extern "C"
4877#endif
4878char dbminit ();
4879int
4880main ()
4881{
4882return dbminit ();
4883  ;
4884  return 0;
4885}
4886_ACEOF
4887for ac_lib in '' db dbm nsl; do
4888  if test -z "$ac_lib"; then
4889    ac_res="none required"
4890  else
4891    ac_res=-l$ac_lib
4892    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
4893  fi
4894  if ac_fn_c_try_link "$LINENO"; then :
4895  ac_cv_search_dbminit=$ac_res
4896fi
4897rm -f core conftest.err conftest.$ac_objext \
4898    conftest$ac_exeext
4899  if ${ac_cv_search_dbminit+:} false; then :
4900  break
4901fi
4902done
4903if ${ac_cv_search_dbminit+:} false; then :
4904
4905else
4906  ac_cv_search_dbminit=no
4907fi
4908rm conftest.$ac_ext
4909LIBS=$ac_func_search_save_LIBS
4910fi
4911{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dbminit" >&5
4912$as_echo "$ac_cv_search_dbminit" >&6; }
4913ac_res=$ac_cv_search_dbminit
4914if test "$ac_res" != no; then :
4915  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4916
4917else
4918  as_fn_error $? "dbm requested but dbminit() not found in any libraries" "$LINENO" 5
4919fi
4920
4921		ac_fn_c_check_header_mongrel "$LINENO" "dbm.h" "ac_cv_header_dbm_h" "$ac_includes_default"
4922if test "x$ac_cv_header_dbm_h" = xyes; then :
4923  DBM_HEADER='<dbm.h>'
4924else
4925  ac_fn_c_check_header_mongrel "$LINENO" "rpcsvc/dbm.h" "ac_cv_header_rpcsvc_dbm_h" "$ac_includes_default"
4926if test "x$ac_cv_header_rpcsvc_dbm_h" = xyes; then :
4927  DBM_HEADER='<rpcsvc/dbm.h>'
4928else
4929  as_fn_error $? "dbm requested but dbm.h not found" "$LINENO" 5
4930fi
4931
4932
4933fi
4934
4935
4936
4937pkg_failed=no
4938{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XORG" >&5
4939$as_echo_n "checking for XORG... " >&6; }
4940
4941if test -n "$XORG_CFLAGS"; then
4942    pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
4943 elif test -n "$PKG_CONFIG"; then
4944    if test -n "$PKG_CONFIG" && \
4945    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server\""; } >&5
4946  ($PKG_CONFIG --exists --print-errors "xorg-server") 2>&5
4947  ac_status=$?
4948  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4949  test $ac_status = 0; }; then
4950  pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server" 2>/dev/null`
4951else
4952  pkg_failed=yes
4953fi
4954 else
4955    pkg_failed=untried
4956fi
4957if test -n "$XORG_LIBS"; then
4958    pkg_cv_XORG_LIBS="$XORG_LIBS"
4959 elif test -n "$PKG_CONFIG"; then
4960    if test -n "$PKG_CONFIG" && \
4961    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server\""; } >&5
4962  ($PKG_CONFIG --exists --print-errors "xorg-server") 2>&5
4963  ac_status=$?
4964  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4965  test $ac_status = 0; }; then
4966  pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server" 2>/dev/null`
4967else
4968  pkg_failed=yes
4969fi
4970 else
4971    pkg_failed=untried
4972fi
4973
4974
4975
4976if test $pkg_failed = yes; then
4977
4978if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4979        _pkg_short_errors_supported=yes
4980else
4981        _pkg_short_errors_supported=no
4982fi
4983        if test $_pkg_short_errors_supported = yes; then
4984	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xorg-server" 2>&1`
4985        else
4986	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors "xorg-server" 2>&1`
4987        fi
4988	# Put the nasty error message in config.log where it belongs
4989	echo "$XORG_PKG_ERRORS" >&5
4990
4991	as_fn_error $? "Package requirements (xorg-server) were not met:
4992
4993$XORG_PKG_ERRORS
4994
4995Consider adjusting the PKG_CONFIG_PATH environment variable if you
4996installed software in a non-standard prefix.
4997
4998Alternatively, you may set the environment variables XORG_CFLAGS
4999and XORG_LIBS to avoid the need to call pkg-config.
5000See the pkg-config man page for more details.
5001" "$LINENO" 5
5002elif test $pkg_failed = untried; then
5003	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5004$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5005as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
5006is in your PATH or set the PKG_CONFIG environment variable to the full
5007path to pkg-config.
5008
5009Alternatively, you may set the environment variables XORG_CFLAGS
5010and XORG_LIBS to avoid the need to call pkg-config.
5011See the pkg-config man page for more details.
5012
5013To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5014See \`config.log' for more details" "$LINENO" 5; }
5015else
5016	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
5017	XORG_LIBS=$pkg_cv_XORG_LIBS
5018        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5019$as_echo "yes" >&6; }
5020	:
5021fi
5022		RGB_CFLAGS="$RGB_CFLAGS $XORG_CFLAGS"
5023		RGB_DB_FILES='$(db_file).dir $(db_file).pag'
5024		;;
5025	ndbm)
5026		# Find a dbm or ndbm implementation
5027		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dbm_open" >&5
5028$as_echo_n "checking for library containing dbm_open... " >&6; }
5029if ${ac_cv_search_dbm_open+:} false; then :
5030  $as_echo_n "(cached) " >&6
5031else
5032  ac_func_search_save_LIBS=$LIBS
5033cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5034/* end confdefs.h.  */
5035
5036/* Override any GCC internal prototype to avoid an error.
5037   Use char because int might match the return type of a GCC
5038   builtin and then its argument prototype would still apply.  */
5039#ifdef __cplusplus
5040extern "C"
5041#endif
5042char dbm_open ();
5043int
5044main ()
5045{
5046return dbm_open ();
5047  ;
5048  return 0;
5049}
5050_ACEOF
5051for ac_lib in '' db ndbm dbm; do
5052  if test -z "$ac_lib"; then
5053    ac_res="none required"
5054  else
5055    ac_res=-l$ac_lib
5056    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
5057  fi
5058  if ac_fn_c_try_link "$LINENO"; then :
5059  ac_cv_search_dbm_open=$ac_res
5060fi
5061rm -f core conftest.err conftest.$ac_objext \
5062    conftest$ac_exeext
5063  if ${ac_cv_search_dbm_open+:} false; then :
5064  break
5065fi
5066done
5067if ${ac_cv_search_dbm_open+:} false; then :
5068
5069else
5070  ac_cv_search_dbm_open=no
5071fi
5072rm conftest.$ac_ext
5073LIBS=$ac_func_search_save_LIBS
5074fi
5075{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dbm_open" >&5
5076$as_echo "$ac_cv_search_dbm_open" >&6; }
5077ac_res=$ac_cv_search_dbm_open
5078if test "$ac_res" != no; then :
5079  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5080
5081$as_echo "#define NDBM 1" >>confdefs.h
5082
5083else
5084  as_fn_error $? "ndbm requested but dbm_open() not found in any libraries" "$LINENO" 5
5085fi
5086
5087		DBM_HEADER='<ndbm.h>'
5088
5089pkg_failed=no
5090{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XORG" >&5
5091$as_echo_n "checking for XORG... " >&6; }
5092
5093if test -n "$XORG_CFLAGS"; then
5094    pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
5095 elif test -n "$PKG_CONFIG"; then
5096    if test -n "$PKG_CONFIG" && \
5097    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server\""; } >&5
5098  ($PKG_CONFIG --exists --print-errors "xorg-server") 2>&5
5099  ac_status=$?
5100  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5101  test $ac_status = 0; }; then
5102  pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server" 2>/dev/null`
5103else
5104  pkg_failed=yes
5105fi
5106 else
5107    pkg_failed=untried
5108fi
5109if test -n "$XORG_LIBS"; then
5110    pkg_cv_XORG_LIBS="$XORG_LIBS"
5111 elif test -n "$PKG_CONFIG"; then
5112    if test -n "$PKG_CONFIG" && \
5113    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server\""; } >&5
5114  ($PKG_CONFIG --exists --print-errors "xorg-server") 2>&5
5115  ac_status=$?
5116  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5117  test $ac_status = 0; }; then
5118  pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server" 2>/dev/null`
5119else
5120  pkg_failed=yes
5121fi
5122 else
5123    pkg_failed=untried
5124fi
5125
5126
5127
5128if test $pkg_failed = yes; then
5129
5130if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5131        _pkg_short_errors_supported=yes
5132else
5133        _pkg_short_errors_supported=no
5134fi
5135        if test $_pkg_short_errors_supported = yes; then
5136	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xorg-server" 2>&1`
5137        else
5138	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors "xorg-server" 2>&1`
5139        fi
5140	# Put the nasty error message in config.log where it belongs
5141	echo "$XORG_PKG_ERRORS" >&5
5142
5143	as_fn_error $? "Package requirements (xorg-server) were not met:
5144
5145$XORG_PKG_ERRORS
5146
5147Consider adjusting the PKG_CONFIG_PATH environment variable if you
5148installed software in a non-standard prefix.
5149
5150Alternatively, you may set the environment variables XORG_CFLAGS
5151and XORG_LIBS to avoid the need to call pkg-config.
5152See the pkg-config man page for more details.
5153" "$LINENO" 5
5154elif test $pkg_failed = untried; then
5155	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5156$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5157as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
5158is in your PATH or set the PKG_CONFIG environment variable to the full
5159path to pkg-config.
5160
5161Alternatively, you may set the environment variables XORG_CFLAGS
5162and XORG_LIBS to avoid the need to call pkg-config.
5163See the pkg-config man page for more details.
5164
5165To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5166See \`config.log' for more details" "$LINENO" 5; }
5167else
5168	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
5169	XORG_LIBS=$pkg_cv_XORG_LIBS
5170        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5171$as_echo "yes" >&6; }
5172	:
5173fi
5174		RGB_CFLAGS="$RGB_CFLAGS $XORG_CFLAGS"
5175		RGB_DB_FILES='$(db_file).dir $(db_file).pag'
5176		;;
5177esac
5178if test x$DBM_HEADER != x ; then
5179
5180cat >>confdefs.h <<_ACEOF
5181#define DBM_HEADER $DBM_HEADER
5182_ACEOF
5183
5184fi
5185
5186
5187 if test x$db_type != xtext; then
5188  RGB_DB_TRUE=
5189  RGB_DB_FALSE='#'
5190else
5191  RGB_DB_TRUE='#'
5192  RGB_DB_FALSE=
5193fi
5194
5195
5196
5197ac_config_files="$ac_config_files Makefile man/Makefile"
5198
5199
5200cat >confcache <<\_ACEOF
5201# This file is a shell script that caches the results of configure
5202# tests run on this system so they can be shared between configure
5203# scripts and configure runs, see configure's option --config-cache.
5204# It is not useful on other systems.  If it contains results you don't
5205# want to keep, you may remove or edit it.
5206#
5207# config.status only pays attention to the cache file if you give it
5208# the --recheck option to rerun configure.
5209#
5210# `ac_cv_env_foo' variables (set or unset) will be overridden when
5211# loading this file, other *unset* `ac_cv_foo' will be assigned the
5212# following values.
5213
5214_ACEOF
5215
5216# The following way of writing the cache mishandles newlines in values,
5217# but we know of no workaround that is simple, portable, and efficient.
5218# So, we kill variables containing newlines.
5219# Ultrix sh set writes to stderr and can't be redirected directly,
5220# and sets the high bit in the cache file unless we assign to the vars.
5221(
5222  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5223    eval ac_val=\$$ac_var
5224    case $ac_val in #(
5225    *${as_nl}*)
5226      case $ac_var in #(
5227      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5228$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5229      esac
5230      case $ac_var in #(
5231      _ | IFS | as_nl) ;; #(
5232      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5233      *) { eval $ac_var=; unset $ac_var;} ;;
5234      esac ;;
5235    esac
5236  done
5237
5238  (set) 2>&1 |
5239    case $as_nl`(ac_space=' '; set) 2>&1` in #(
5240    *${as_nl}ac_space=\ *)
5241      # `set' does not quote correctly, so add quotes: double-quote
5242      # substitution turns \\\\ into \\, and sed turns \\ into \.
5243      sed -n \
5244	"s/'/'\\\\''/g;
5245	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5246      ;; #(
5247    *)
5248      # `set' quotes correctly as required by POSIX, so do not add quotes.
5249      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5250      ;;
5251    esac |
5252    sort
5253) |
5254  sed '
5255     /^ac_cv_env_/b end
5256     t clear
5257     :clear
5258     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5259     t end
5260     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5261     :end' >>confcache
5262if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5263  if test -w "$cache_file"; then
5264    if test "x$cache_file" != "x/dev/null"; then
5265      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5266$as_echo "$as_me: updating cache $cache_file" >&6;}
5267      if test ! -f "$cache_file" || test -h "$cache_file"; then
5268	cat confcache >"$cache_file"
5269      else
5270        case $cache_file in #(
5271        */* | ?:*)
5272	  mv -f confcache "$cache_file"$$ &&
5273	  mv -f "$cache_file"$$ "$cache_file" ;; #(
5274        *)
5275	  mv -f confcache "$cache_file" ;;
5276	esac
5277      fi
5278    fi
5279  else
5280    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5281$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5282  fi
5283fi
5284rm -f confcache
5285
5286test "x$prefix" = xNONE && prefix=$ac_default_prefix
5287# Let make expand exec_prefix.
5288test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5289
5290DEFS=-DHAVE_CONFIG_H
5291
5292ac_libobjs=
5293ac_ltlibobjs=
5294U=
5295for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5296  # 1. Remove the extension, and $U if already installed.
5297  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5298  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5299  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
5300  #    will be set to the directory where LIBOBJS objects are built.
5301  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5302  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5303done
5304LIBOBJS=$ac_libobjs
5305
5306LTLIBOBJS=$ac_ltlibobjs
5307
5308
5309 if test -n "$EXEEXT"; then
5310  am__EXEEXT_TRUE=
5311  am__EXEEXT_FALSE='#'
5312else
5313  am__EXEEXT_TRUE='#'
5314  am__EXEEXT_FALSE=
5315fi
5316
5317if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5318  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
5319Usually this means the macro was only invoked conditionally." "$LINENO" 5
5320fi
5321if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5322  as_fn_error $? "conditional \"AMDEP\" was never defined.
5323Usually this means the macro was only invoked conditionally." "$LINENO" 5
5324fi
5325if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5326  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5327Usually this means the macro was only invoked conditionally." "$LINENO" 5
5328fi
5329if test -z "${RGB_DB_TRUE}" && test -z "${RGB_DB_FALSE}"; then
5330  as_fn_error $? "conditional \"RGB_DB\" was never defined.
5331Usually this means the macro was only invoked conditionally." "$LINENO" 5
5332fi
5333
5334: "${CONFIG_STATUS=./config.status}"
5335ac_write_fail=0
5336ac_clean_files_save=$ac_clean_files
5337ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5338{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5339$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5340as_write_fail=0
5341cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5342#! $SHELL
5343# Generated by $as_me.
5344# Run this file to recreate the current configuration.
5345# Compiler output produced by configure, useful for debugging
5346# configure, is in config.log if it exists.
5347
5348debug=false
5349ac_cs_recheck=false
5350ac_cs_silent=false
5351
5352SHELL=\${CONFIG_SHELL-$SHELL}
5353export SHELL
5354_ASEOF
5355cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5356## -------------------- ##
5357## M4sh Initialization. ##
5358## -------------------- ##
5359
5360# Be more Bourne compatible
5361DUALCASE=1; export DUALCASE # for MKS sh
5362if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5363  emulate sh
5364  NULLCMD=:
5365  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5366  # is contrary to our usage.  Disable this feature.
5367  alias -g '${1+"$@"}'='"$@"'
5368  setopt NO_GLOB_SUBST
5369else
5370  case `(set -o) 2>/dev/null` in #(
5371  *posix*) :
5372    set -o posix ;; #(
5373  *) :
5374     ;;
5375esac
5376fi
5377
5378
5379as_nl='
5380'
5381export as_nl
5382# Printing a long string crashes Solaris 7 /usr/bin/printf.
5383as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5384as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5385as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5386# Prefer a ksh shell builtin over an external printf program on Solaris,
5387# but without wasting forks for bash or zsh.
5388if test -z "$BASH_VERSION$ZSH_VERSION" \
5389    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5390  as_echo='print -r --'
5391  as_echo_n='print -rn --'
5392elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5393  as_echo='printf %s\n'
5394  as_echo_n='printf %s'
5395else
5396  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5397    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5398    as_echo_n='/usr/ucb/echo -n'
5399  else
5400    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5401    as_echo_n_body='eval
5402      arg=$1;
5403      case $arg in #(
5404      *"$as_nl"*)
5405	expr "X$arg" : "X\\(.*\\)$as_nl";
5406	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5407      esac;
5408      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5409    '
5410    export as_echo_n_body
5411    as_echo_n='sh -c $as_echo_n_body as_echo'
5412  fi
5413  export as_echo_body
5414  as_echo='sh -c $as_echo_body as_echo'
5415fi
5416
5417# The user is always right.
5418if test "${PATH_SEPARATOR+set}" != set; then
5419  PATH_SEPARATOR=:
5420  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5421    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5422      PATH_SEPARATOR=';'
5423  }
5424fi
5425
5426
5427# IFS
5428# We need space, tab and new line, in precisely that order.  Quoting is
5429# there to prevent editors from complaining about space-tab.
5430# (If _AS_PATH_WALK were called with IFS unset, it would disable word
5431# splitting by setting IFS to empty value.)
5432IFS=" ""	$as_nl"
5433
5434# Find who we are.  Look in the path if we contain no directory separator.
5435as_myself=
5436case $0 in #((
5437  *[\\/]* ) as_myself=$0 ;;
5438  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5439for as_dir in $PATH
5440do
5441  IFS=$as_save_IFS
5442  test -z "$as_dir" && as_dir=.
5443    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5444  done
5445IFS=$as_save_IFS
5446
5447     ;;
5448esac
5449# We did not find ourselves, most probably we were run as `sh COMMAND'
5450# in which case we are not to be found in the path.
5451if test "x$as_myself" = x; then
5452  as_myself=$0
5453fi
5454if test ! -f "$as_myself"; then
5455  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5456  exit 1
5457fi
5458
5459# Unset variables that we do not need and which cause bugs (e.g. in
5460# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
5461# suppresses any "Segmentation fault" message there.  '((' could
5462# trigger a bug in pdksh 5.2.14.
5463for as_var in BASH_ENV ENV MAIL MAILPATH
5464do eval test x\${$as_var+set} = xset \
5465  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5466done
5467PS1='$ '
5468PS2='> '
5469PS4='+ '
5470
5471# NLS nuisances.
5472LC_ALL=C
5473export LC_ALL
5474LANGUAGE=C
5475export LANGUAGE
5476
5477# CDPATH.
5478(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5479
5480
5481# as_fn_error STATUS ERROR [LINENO LOG_FD]
5482# ----------------------------------------
5483# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5484# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5485# script with STATUS, using 1 if that was 0.
5486as_fn_error ()
5487{
5488  as_status=$1; test $as_status -eq 0 && as_status=1
5489  if test "$4"; then
5490    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5491    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5492  fi
5493  $as_echo "$as_me: error: $2" >&2
5494  as_fn_exit $as_status
5495} # as_fn_error
5496
5497
5498# as_fn_set_status STATUS
5499# -----------------------
5500# Set $? to STATUS, without forking.
5501as_fn_set_status ()
5502{
5503  return $1
5504} # as_fn_set_status
5505
5506# as_fn_exit STATUS
5507# -----------------
5508# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5509as_fn_exit ()
5510{
5511  set +e
5512  as_fn_set_status $1
5513  exit $1
5514} # as_fn_exit
5515
5516# as_fn_unset VAR
5517# ---------------
5518# Portably unset VAR.
5519as_fn_unset ()
5520{
5521  { eval $1=; unset $1;}
5522}
5523as_unset=as_fn_unset
5524# as_fn_append VAR VALUE
5525# ----------------------
5526# Append the text in VALUE to the end of the definition contained in VAR. Take
5527# advantage of any shell optimizations that allow amortized linear growth over
5528# repeated appends, instead of the typical quadratic growth present in naive
5529# implementations.
5530if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5531  eval 'as_fn_append ()
5532  {
5533    eval $1+=\$2
5534  }'
5535else
5536  as_fn_append ()
5537  {
5538    eval $1=\$$1\$2
5539  }
5540fi # as_fn_append
5541
5542# as_fn_arith ARG...
5543# ------------------
5544# Perform arithmetic evaluation on the ARGs, and store the result in the
5545# global $as_val. Take advantage of shells that can avoid forks. The arguments
5546# must be portable across $(()) and expr.
5547if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5548  eval 'as_fn_arith ()
5549  {
5550    as_val=$(( $* ))
5551  }'
5552else
5553  as_fn_arith ()
5554  {
5555    as_val=`expr "$@" || test $? -eq 1`
5556  }
5557fi # as_fn_arith
5558
5559
5560if expr a : '\(a\)' >/dev/null 2>&1 &&
5561   test "X`expr 00001 : '.*\(...\)'`" = X001; then
5562  as_expr=expr
5563else
5564  as_expr=false
5565fi
5566
5567if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5568  as_basename=basename
5569else
5570  as_basename=false
5571fi
5572
5573if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5574  as_dirname=dirname
5575else
5576  as_dirname=false
5577fi
5578
5579as_me=`$as_basename -- "$0" ||
5580$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5581	 X"$0" : 'X\(//\)$' \| \
5582	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5583$as_echo X/"$0" |
5584    sed '/^.*\/\([^/][^/]*\)\/*$/{
5585	    s//\1/
5586	    q
5587	  }
5588	  /^X\/\(\/\/\)$/{
5589	    s//\1/
5590	    q
5591	  }
5592	  /^X\/\(\/\).*/{
5593	    s//\1/
5594	    q
5595	  }
5596	  s/.*/./; q'`
5597
5598# Avoid depending upon Character Ranges.
5599as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5600as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5601as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5602as_cr_digits='0123456789'
5603as_cr_alnum=$as_cr_Letters$as_cr_digits
5604
5605ECHO_C= ECHO_N= ECHO_T=
5606case `echo -n x` in #(((((
5607-n*)
5608  case `echo 'xy\c'` in
5609  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
5610  xy)  ECHO_C='\c';;
5611  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
5612       ECHO_T='	';;
5613  esac;;
5614*)
5615  ECHO_N='-n';;
5616esac
5617
5618rm -f conf$$ conf$$.exe conf$$.file
5619if test -d conf$$.dir; then
5620  rm -f conf$$.dir/conf$$.file
5621else
5622  rm -f conf$$.dir
5623  mkdir conf$$.dir 2>/dev/null
5624fi
5625if (echo >conf$$.file) 2>/dev/null; then
5626  if ln -s conf$$.file conf$$ 2>/dev/null; then
5627    as_ln_s='ln -s'
5628    # ... but there are two gotchas:
5629    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5630    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5631    # In both cases, we have to default to `cp -p'.
5632    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5633      as_ln_s='cp -p'
5634  elif ln conf$$.file conf$$ 2>/dev/null; then
5635    as_ln_s=ln
5636  else
5637    as_ln_s='cp -p'
5638  fi
5639else
5640  as_ln_s='cp -p'
5641fi
5642rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5643rmdir conf$$.dir 2>/dev/null
5644
5645
5646# as_fn_mkdir_p
5647# -------------
5648# Create "$as_dir" as a directory, including parents if necessary.
5649as_fn_mkdir_p ()
5650{
5651
5652  case $as_dir in #(
5653  -*) as_dir=./$as_dir;;
5654  esac
5655  test -d "$as_dir" || eval $as_mkdir_p || {
5656    as_dirs=
5657    while :; do
5658      case $as_dir in #(
5659      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5660      *) as_qdir=$as_dir;;
5661      esac
5662      as_dirs="'$as_qdir' $as_dirs"
5663      as_dir=`$as_dirname -- "$as_dir" ||
5664$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5665	 X"$as_dir" : 'X\(//\)[^/]' \| \
5666	 X"$as_dir" : 'X\(//\)$' \| \
5667	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5668$as_echo X"$as_dir" |
5669    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5670	    s//\1/
5671	    q
5672	  }
5673	  /^X\(\/\/\)[^/].*/{
5674	    s//\1/
5675	    q
5676	  }
5677	  /^X\(\/\/\)$/{
5678	    s//\1/
5679	    q
5680	  }
5681	  /^X\(\/\).*/{
5682	    s//\1/
5683	    q
5684	  }
5685	  s/.*/./; q'`
5686      test -d "$as_dir" && break
5687    done
5688    test -z "$as_dirs" || eval "mkdir $as_dirs"
5689  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5690
5691
5692} # as_fn_mkdir_p
5693if mkdir -p . 2>/dev/null; then
5694  as_mkdir_p='mkdir -p "$as_dir"'
5695else
5696  test -d ./-p && rmdir ./-p
5697  as_mkdir_p=false
5698fi
5699
5700if test -x / >/dev/null 2>&1; then
5701  as_test_x='test -x'
5702else
5703  if ls -dL / >/dev/null 2>&1; then
5704    as_ls_L_option=L
5705  else
5706    as_ls_L_option=
5707  fi
5708  as_test_x='
5709    eval sh -c '\''
5710      if test -d "$1"; then
5711	test -d "$1/.";
5712      else
5713	case $1 in #(
5714	-*)set "./$1";;
5715	esac;
5716	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5717	???[sx]*):;;*)false;;esac;fi
5718    '\'' sh
5719  '
5720fi
5721as_executable_p=$as_test_x
5722
5723# Sed expression to map a string onto a valid CPP name.
5724as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5725
5726# Sed expression to map a string onto a valid variable name.
5727as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5728
5729
5730exec 6>&1
5731## ----------------------------------- ##
5732## Main body of $CONFIG_STATUS script. ##
5733## ----------------------------------- ##
5734_ASEOF
5735test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5736
5737cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5738# Save the log message, to keep $0 and so on meaningful, and to
5739# report actual input values of CONFIG_FILES etc. instead of their
5740# values after options handling.
5741ac_log="
5742This file was extended by rgb $as_me 1.0.4, which was
5743generated by GNU Autoconf 2.68.  Invocation command line was
5744
5745  CONFIG_FILES    = $CONFIG_FILES
5746  CONFIG_HEADERS  = $CONFIG_HEADERS
5747  CONFIG_LINKS    = $CONFIG_LINKS
5748  CONFIG_COMMANDS = $CONFIG_COMMANDS
5749  $ $0 $@
5750
5751on `(hostname || uname -n) 2>/dev/null | sed 1q`
5752"
5753
5754_ACEOF
5755
5756case $ac_config_files in *"
5757"*) set x $ac_config_files; shift; ac_config_files=$*;;
5758esac
5759
5760case $ac_config_headers in *"
5761"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5762esac
5763
5764
5765cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5766# Files that config.status was made for.
5767config_files="$ac_config_files"
5768config_headers="$ac_config_headers"
5769config_commands="$ac_config_commands"
5770
5771_ACEOF
5772
5773cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5774ac_cs_usage="\
5775\`$as_me' instantiates files and other configuration actions
5776from templates according to the current configuration.  Unless the files
5777and actions are specified as TAGs, all are instantiated by default.
5778
5779Usage: $0 [OPTION]... [TAG]...
5780
5781  -h, --help       print this help, then exit
5782  -V, --version    print version number and configuration settings, then exit
5783      --config     print configuration, then exit
5784  -q, --quiet, --silent
5785                   do not print progress messages
5786  -d, --debug      don't remove temporary files
5787      --recheck    update $as_me by reconfiguring in the same conditions
5788      --file=FILE[:TEMPLATE]
5789                   instantiate the configuration file FILE
5790      --header=FILE[:TEMPLATE]
5791                   instantiate the configuration header FILE
5792
5793Configuration files:
5794$config_files
5795
5796Configuration headers:
5797$config_headers
5798
5799Configuration commands:
5800$config_commands
5801
5802Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
5803
5804_ACEOF
5805cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5806ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5807ac_cs_version="\\
5808rgb config.status 1.0.4
5809configured by $0, generated by GNU Autoconf 2.68,
5810  with options \\"\$ac_cs_config\\"
5811
5812Copyright (C) 2010 Free Software Foundation, Inc.
5813This config.status script is free software; the Free Software Foundation
5814gives unlimited permission to copy, distribute and modify it."
5815
5816ac_pwd='$ac_pwd'
5817srcdir='$srcdir'
5818INSTALL='$INSTALL'
5819MKDIR_P='$MKDIR_P'
5820AWK='$AWK'
5821test -n "\$AWK" || AWK=awk
5822_ACEOF
5823
5824cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5825# The default lists apply if the user does not specify any file.
5826ac_need_defaults=:
5827while test $# != 0
5828do
5829  case $1 in
5830  --*=?*)
5831    ac_option=`expr "X$1" : 'X\([^=]*\)='`
5832    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5833    ac_shift=:
5834    ;;
5835  --*=)
5836    ac_option=`expr "X$1" : 'X\([^=]*\)='`
5837    ac_optarg=
5838    ac_shift=:
5839    ;;
5840  *)
5841    ac_option=$1
5842    ac_optarg=$2
5843    ac_shift=shift
5844    ;;
5845  esac
5846
5847  case $ac_option in
5848  # Handling of the options.
5849  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5850    ac_cs_recheck=: ;;
5851  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5852    $as_echo "$ac_cs_version"; exit ;;
5853  --config | --confi | --conf | --con | --co | --c )
5854    $as_echo "$ac_cs_config"; exit ;;
5855  --debug | --debu | --deb | --de | --d | -d )
5856    debug=: ;;
5857  --file | --fil | --fi | --f )
5858    $ac_shift
5859    case $ac_optarg in
5860    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5861    '') as_fn_error $? "missing file argument" ;;
5862    esac
5863    as_fn_append CONFIG_FILES " '$ac_optarg'"
5864    ac_need_defaults=false;;
5865  --header | --heade | --head | --hea )
5866    $ac_shift
5867    case $ac_optarg in
5868    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5869    esac
5870    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5871    ac_need_defaults=false;;
5872  --he | --h)
5873    # Conflict between --help and --header
5874    as_fn_error $? "ambiguous option: \`$1'
5875Try \`$0 --help' for more information.";;
5876  --help | --hel | -h )
5877    $as_echo "$ac_cs_usage"; exit ;;
5878  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5879  | -silent | --silent | --silen | --sile | --sil | --si | --s)
5880    ac_cs_silent=: ;;
5881
5882  # This is an error.
5883  -*) as_fn_error $? "unrecognized option: \`$1'
5884Try \`$0 --help' for more information." ;;
5885
5886  *) as_fn_append ac_config_targets " $1"
5887     ac_need_defaults=false ;;
5888
5889  esac
5890  shift
5891done
5892
5893ac_configure_extra_args=
5894
5895if $ac_cs_silent; then
5896  exec 6>/dev/null
5897  ac_configure_extra_args="$ac_configure_extra_args --silent"
5898fi
5899
5900_ACEOF
5901cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5902if \$ac_cs_recheck; then
5903  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5904  shift
5905  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5906  CONFIG_SHELL='$SHELL'
5907  export CONFIG_SHELL
5908  exec "\$@"
5909fi
5910
5911_ACEOF
5912cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5913exec 5>>config.log
5914{
5915  echo
5916  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5917## Running $as_me. ##
5918_ASBOX
5919  $as_echo "$ac_log"
5920} >&5
5921
5922_ACEOF
5923cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5924#
5925# INIT-COMMANDS
5926#
5927AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5928
5929_ACEOF
5930
5931cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5932
5933# Handling of arguments.
5934for ac_config_target in $ac_config_targets
5935do
5936  case $ac_config_target in
5937    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5938    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5939    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5940    "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
5941
5942  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5943  esac
5944done
5945
5946
5947# If the user did not use the arguments to specify the items to instantiate,
5948# then the envvar interface is used.  Set only those that are not.
5949# We use the long form for the default assignment because of an extremely
5950# bizarre bug on SunOS 4.1.3.
5951if $ac_need_defaults; then
5952  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5953  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5954  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5955fi
5956
5957# Have a temporary directory for convenience.  Make it in the build tree
5958# simply because there is no reason against having it here, and in addition,
5959# creating and moving files from /tmp can sometimes cause problems.
5960# Hook for its removal unless debugging.
5961# Note that there is a small window in which the directory will not be cleaned:
5962# after its creation but before its name has been assigned to `$tmp'.
5963$debug ||
5964{
5965  tmp= ac_tmp=
5966  trap 'exit_status=$?
5967  : "${ac_tmp:=$tmp}"
5968  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5969' 0
5970  trap 'as_fn_exit 1' 1 2 13 15
5971}
5972# Create a (secure) tmp directory for tmp files.
5973
5974{
5975  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5976  test -d "$tmp"
5977}  ||
5978{
5979  tmp=./conf$$-$RANDOM
5980  (umask 077 && mkdir "$tmp")
5981} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5982ac_tmp=$tmp
5983
5984# Set up the scripts for CONFIG_FILES section.
5985# No need to generate them if there are no CONFIG_FILES.
5986# This happens for instance with `./config.status config.h'.
5987if test -n "$CONFIG_FILES"; then
5988
5989
5990ac_cr=`echo X | tr X '\015'`
5991# On cygwin, bash can eat \r inside `` if the user requested igncr.
5992# But we know of no other shell where ac_cr would be empty at this
5993# point, so we can use a bashism as a fallback.
5994if test "x$ac_cr" = x; then
5995  eval ac_cr=\$\'\\r\'
5996fi
5997ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5998if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5999  ac_cs_awk_cr='\\r'
6000else
6001  ac_cs_awk_cr=$ac_cr
6002fi
6003
6004echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6005_ACEOF
6006
6007
6008{
6009  echo "cat >conf$$subs.awk <<_ACEOF" &&
6010  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6011  echo "_ACEOF"
6012} >conf$$subs.sh ||
6013  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6014ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6015ac_delim='%!_!# '
6016for ac_last_try in false false false false false :; do
6017  . ./conf$$subs.sh ||
6018    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6019
6020  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6021  if test $ac_delim_n = $ac_delim_num; then
6022    break
6023  elif $ac_last_try; then
6024    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6025  else
6026    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6027  fi
6028done
6029rm -f conf$$subs.sh
6030
6031cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6032cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6033_ACEOF
6034sed -n '
6035h
6036s/^/S["/; s/!.*/"]=/
6037p
6038g
6039s/^[^!]*!//
6040:repl
6041t repl
6042s/'"$ac_delim"'$//
6043t delim
6044:nl
6045h
6046s/\(.\{148\}\)..*/\1/
6047t more1
6048s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6049p
6050n
6051b repl
6052:more1
6053s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6054p
6055g
6056s/.\{148\}//
6057t nl
6058:delim
6059h
6060s/\(.\{148\}\)..*/\1/
6061t more2
6062s/["\\]/\\&/g; s/^/"/; s/$/"/
6063p
6064b
6065:more2
6066s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6067p
6068g
6069s/.\{148\}//
6070t delim
6071' <conf$$subs.awk | sed '
6072/^[^""]/{
6073  N
6074  s/\n//
6075}
6076' >>$CONFIG_STATUS || ac_write_fail=1
6077rm -f conf$$subs.awk
6078cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6079_ACAWK
6080cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6081  for (key in S) S_is_set[key] = 1
6082  FS = ""
6083
6084}
6085{
6086  line = $ 0
6087  nfields = split(line, field, "@")
6088  substed = 0
6089  len = length(field[1])
6090  for (i = 2; i < nfields; i++) {
6091    key = field[i]
6092    keylen = length(key)
6093    if (S_is_set[key]) {
6094      value = S[key]
6095      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6096      len += length(value) + length(field[++i])
6097      substed = 1
6098    } else
6099      len += 1 + keylen
6100  }
6101
6102  print line
6103}
6104
6105_ACAWK
6106_ACEOF
6107cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6108if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6109  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6110else
6111  cat
6112fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6113  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6114_ACEOF
6115
6116# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6117# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6118# trailing colons and then remove the whole line if VPATH becomes empty
6119# (actually we leave an empty line to preserve line numbers).
6120if test "x$srcdir" = x.; then
6121  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
6122h
6123s///
6124s/^/:/
6125s/[	 ]*$/:/
6126s/:\$(srcdir):/:/g
6127s/:\${srcdir}:/:/g
6128s/:@srcdir@:/:/g
6129s/^:*//
6130s/:*$//
6131x
6132s/\(=[	 ]*\).*/\1/
6133G
6134s/\n//
6135s/^[^=]*=[	 ]*$//
6136}'
6137fi
6138
6139cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6140fi # test -n "$CONFIG_FILES"
6141
6142# Set up the scripts for CONFIG_HEADERS section.
6143# No need to generate them if there are no CONFIG_HEADERS.
6144# This happens for instance with `./config.status Makefile'.
6145if test -n "$CONFIG_HEADERS"; then
6146cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
6147BEGIN {
6148_ACEOF
6149
6150# Transform confdefs.h into an awk script `defines.awk', embedded as
6151# here-document in config.status, that substitutes the proper values into
6152# config.h.in to produce config.h.
6153
6154# Create a delimiter string that does not exist in confdefs.h, to ease
6155# handling of long lines.
6156ac_delim='%!_!# '
6157for ac_last_try in false false :; do
6158  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
6159  if test -z "$ac_tt"; then
6160    break
6161  elif $ac_last_try; then
6162    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6163  else
6164    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6165  fi
6166done
6167
6168# For the awk script, D is an array of macro values keyed by name,
6169# likewise P contains macro parameters if any.  Preserve backslash
6170# newline sequences.
6171
6172ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6173sed -n '
6174s/.\{148\}/&'"$ac_delim"'/g
6175t rset
6176:rset
6177s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
6178t def
6179d
6180:def
6181s/\\$//
6182t bsnl
6183s/["\\]/\\&/g
6184s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
6185D["\1"]=" \3"/p
6186s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
6187d
6188:bsnl
6189s/["\\]/\\&/g
6190s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
6191D["\1"]=" \3\\\\\\n"\\/p
6192t cont
6193s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6194t cont
6195d
6196:cont
6197n
6198s/.\{148\}/&'"$ac_delim"'/g
6199t clear
6200:clear
6201s/\\$//
6202t bsnlc
6203s/["\\]/\\&/g; s/^/"/; s/$/"/p
6204d
6205:bsnlc
6206s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6207b cont
6208' <confdefs.h | sed '
6209s/'"$ac_delim"'/"\\\
6210"/g' >>$CONFIG_STATUS || ac_write_fail=1
6211
6212cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6213  for (key in D) D_is_set[key] = 1
6214  FS = ""
6215}
6216/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6217  line = \$ 0
6218  split(line, arg, " ")
6219  if (arg[1] == "#") {
6220    defundef = arg[2]
6221    mac1 = arg[3]
6222  } else {
6223    defundef = substr(arg[1], 2)
6224    mac1 = arg[2]
6225  }
6226  split(mac1, mac2, "(") #)
6227  macro = mac2[1]
6228  prefix = substr(line, 1, index(line, defundef) - 1)
6229  if (D_is_set[macro]) {
6230    # Preserve the white space surrounding the "#".
6231    print prefix "define", macro P[macro] D[macro]
6232    next
6233  } else {
6234    # Replace #undef with comments.  This is necessary, for example,
6235    # in the case of _POSIX_SOURCE, which is predefined and required
6236    # on some systems where configure will not decide to define it.
6237    if (defundef == "undef") {
6238      print "/*", prefix defundef, macro, "*/"
6239      next
6240    }
6241  }
6242}
6243{ print }
6244_ACAWK
6245_ACEOF
6246cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6247  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6248fi # test -n "$CONFIG_HEADERS"
6249
6250
6251eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
6252shift
6253for ac_tag
6254do
6255  case $ac_tag in
6256  :[FHLC]) ac_mode=$ac_tag; continue;;
6257  esac
6258  case $ac_mode$ac_tag in
6259  :[FHL]*:*);;
6260  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6261  :[FH]-) ac_tag=-:-;;
6262  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6263  esac
6264  ac_save_IFS=$IFS
6265  IFS=:
6266  set x $ac_tag
6267  IFS=$ac_save_IFS
6268  shift
6269  ac_file=$1
6270  shift
6271
6272  case $ac_mode in
6273  :L) ac_source=$1;;
6274  :[FH])
6275    ac_file_inputs=
6276    for ac_f
6277    do
6278      case $ac_f in
6279      -) ac_f="$ac_tmp/stdin";;
6280      *) # Look for the file first in the build tree, then in the source tree
6281	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
6282	 # because $ac_f cannot contain `:'.
6283	 test -f "$ac_f" ||
6284	   case $ac_f in
6285	   [\\/$]*) false;;
6286	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6287	   esac ||
6288	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6289      esac
6290      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6291      as_fn_append ac_file_inputs " '$ac_f'"
6292    done
6293
6294    # Let's still pretend it is `configure' which instantiates (i.e., don't
6295    # use $as_me), people would be surprised to read:
6296    #    /* config.h.  Generated by config.status.  */
6297    configure_input='Generated from '`
6298	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6299	`' by configure.'
6300    if test x"$ac_file" != x-; then
6301      configure_input="$ac_file.  $configure_input"
6302      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6303$as_echo "$as_me: creating $ac_file" >&6;}
6304    fi
6305    # Neutralize special characters interpreted by sed in replacement strings.
6306    case $configure_input in #(
6307    *\&* | *\|* | *\\* )
6308       ac_sed_conf_input=`$as_echo "$configure_input" |
6309       sed 's/[\\\\&|]/\\\\&/g'`;; #(
6310    *) ac_sed_conf_input=$configure_input;;
6311    esac
6312
6313    case $ac_tag in
6314    *:-:* | *:-) cat >"$ac_tmp/stdin" \
6315      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6316    esac
6317    ;;
6318  esac
6319
6320  ac_dir=`$as_dirname -- "$ac_file" ||
6321$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6322	 X"$ac_file" : 'X\(//\)[^/]' \| \
6323	 X"$ac_file" : 'X\(//\)$' \| \
6324	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6325$as_echo X"$ac_file" |
6326    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6327	    s//\1/
6328	    q
6329	  }
6330	  /^X\(\/\/\)[^/].*/{
6331	    s//\1/
6332	    q
6333	  }
6334	  /^X\(\/\/\)$/{
6335	    s//\1/
6336	    q
6337	  }
6338	  /^X\(\/\).*/{
6339	    s//\1/
6340	    q
6341	  }
6342	  s/.*/./; q'`
6343  as_dir="$ac_dir"; as_fn_mkdir_p
6344  ac_builddir=.
6345
6346case "$ac_dir" in
6347.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6348*)
6349  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6350  # A ".." for each directory in $ac_dir_suffix.
6351  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6352  case $ac_top_builddir_sub in
6353  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6354  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6355  esac ;;
6356esac
6357ac_abs_top_builddir=$ac_pwd
6358ac_abs_builddir=$ac_pwd$ac_dir_suffix
6359# for backward compatibility:
6360ac_top_builddir=$ac_top_build_prefix
6361
6362case $srcdir in
6363  .)  # We are building in place.
6364    ac_srcdir=.
6365    ac_top_srcdir=$ac_top_builddir_sub
6366    ac_abs_top_srcdir=$ac_pwd ;;
6367  [\\/]* | ?:[\\/]* )  # Absolute name.
6368    ac_srcdir=$srcdir$ac_dir_suffix;
6369    ac_top_srcdir=$srcdir
6370    ac_abs_top_srcdir=$srcdir ;;
6371  *) # Relative name.
6372    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6373    ac_top_srcdir=$ac_top_build_prefix$srcdir
6374    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6375esac
6376ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6377
6378
6379  case $ac_mode in
6380  :F)
6381  #
6382  # CONFIG_FILE
6383  #
6384
6385  case $INSTALL in
6386  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6387  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6388  esac
6389  ac_MKDIR_P=$MKDIR_P
6390  case $MKDIR_P in
6391  [\\/$]* | ?:[\\/]* ) ;;
6392  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6393  esac
6394_ACEOF
6395
6396cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6397# If the template does not know about datarootdir, expand it.
6398# FIXME: This hack should be removed a few years after 2.60.
6399ac_datarootdir_hack=; ac_datarootdir_seen=
6400ac_sed_dataroot='
6401/datarootdir/ {
6402  p
6403  q
6404}
6405/@datadir@/p
6406/@docdir@/p
6407/@infodir@/p
6408/@localedir@/p
6409/@mandir@/p'
6410case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6411*datarootdir*) ac_datarootdir_seen=yes;;
6412*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6413  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6414$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6415_ACEOF
6416cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6417  ac_datarootdir_hack='
6418  s&@datadir@&$datadir&g
6419  s&@docdir@&$docdir&g
6420  s&@infodir@&$infodir&g
6421  s&@localedir@&$localedir&g
6422  s&@mandir@&$mandir&g
6423  s&\\\${datarootdir}&$datarootdir&g' ;;
6424esac
6425_ACEOF
6426
6427# Neutralize VPATH when `$srcdir' = `.'.
6428# Shell code in configure.ac might set extrasub.
6429# FIXME: do we really want to maintain this feature?
6430cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6431ac_sed_extra="$ac_vpsub
6432$extrasub
6433_ACEOF
6434cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6435:t
6436/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6437s|@configure_input@|$ac_sed_conf_input|;t t
6438s&@top_builddir@&$ac_top_builddir_sub&;t t
6439s&@top_build_prefix@&$ac_top_build_prefix&;t t
6440s&@srcdir@&$ac_srcdir&;t t
6441s&@abs_srcdir@&$ac_abs_srcdir&;t t
6442s&@top_srcdir@&$ac_top_srcdir&;t t
6443s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6444s&@builddir@&$ac_builddir&;t t
6445s&@abs_builddir@&$ac_abs_builddir&;t t
6446s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6447s&@INSTALL@&$ac_INSTALL&;t t
6448s&@MKDIR_P@&$ac_MKDIR_P&;t t
6449$ac_datarootdir_hack
6450"
6451eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6452  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6453
6454test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6455  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6456  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
6457      "$ac_tmp/out"`; test -z "$ac_out"; } &&
6458  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6459which seems to be undefined.  Please make sure it is defined" >&5
6460$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6461which seems to be undefined.  Please make sure it is defined" >&2;}
6462
6463  rm -f "$ac_tmp/stdin"
6464  case $ac_file in
6465  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6466  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6467  esac \
6468  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6469 ;;
6470  :H)
6471  #
6472  # CONFIG_HEADER
6473  #
6474  if test x"$ac_file" != x-; then
6475    {
6476      $as_echo "/* $configure_input  */" \
6477      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6478    } >"$ac_tmp/config.h" \
6479      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6480    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6481      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6482$as_echo "$as_me: $ac_file is unchanged" >&6;}
6483    else
6484      rm -f "$ac_file"
6485      mv "$ac_tmp/config.h" "$ac_file" \
6486	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
6487    fi
6488  else
6489    $as_echo "/* $configure_input  */" \
6490      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6491      || as_fn_error $? "could not create -" "$LINENO" 5
6492  fi
6493# Compute "$ac_file"'s index in $config_headers.
6494_am_arg="$ac_file"
6495_am_stamp_count=1
6496for _am_header in $config_headers :; do
6497  case $_am_header in
6498    $_am_arg | $_am_arg:* )
6499      break ;;
6500    * )
6501      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6502  esac
6503done
6504echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6505$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6506	 X"$_am_arg" : 'X\(//\)[^/]' \| \
6507	 X"$_am_arg" : 'X\(//\)$' \| \
6508	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6509$as_echo X"$_am_arg" |
6510    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6511	    s//\1/
6512	    q
6513	  }
6514	  /^X\(\/\/\)[^/].*/{
6515	    s//\1/
6516	    q
6517	  }
6518	  /^X\(\/\/\)$/{
6519	    s//\1/
6520	    q
6521	  }
6522	  /^X\(\/\).*/{
6523	    s//\1/
6524	    q
6525	  }
6526	  s/.*/./; q'`/stamp-h$_am_stamp_count
6527 ;;
6528
6529  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6530$as_echo "$as_me: executing $ac_file commands" >&6;}
6531 ;;
6532  esac
6533
6534
6535  case $ac_file$ac_mode in
6536    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6537  # Autoconf 2.62 quotes --file arguments for eval, but not when files
6538  # are listed without --file.  Let's play safe and only enable the eval
6539  # if we detect the quoting.
6540  case $CONFIG_FILES in
6541  *\'*) eval set x "$CONFIG_FILES" ;;
6542  *)   set x $CONFIG_FILES ;;
6543  esac
6544  shift
6545  for mf
6546  do
6547    # Strip MF so we end up with the name of the file.
6548    mf=`echo "$mf" | sed -e 's/:.*$//'`
6549    # Check whether this is an Automake generated Makefile or not.
6550    # We used to match only the files named `Makefile.in', but
6551    # some people rename them; so instead we look at the file content.
6552    # Grep'ing the first line is not enough: some people post-process
6553    # each Makefile.in and add a new line on top of each file to say so.
6554    # Grep'ing the whole file is not good either: AIX grep has a line
6555    # limit of 2048, but all sed's we know have understand at least 4000.
6556    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6557      dirpart=`$as_dirname -- "$mf" ||
6558$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6559	 X"$mf" : 'X\(//\)[^/]' \| \
6560	 X"$mf" : 'X\(//\)$' \| \
6561	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6562$as_echo X"$mf" |
6563    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6564	    s//\1/
6565	    q
6566	  }
6567	  /^X\(\/\/\)[^/].*/{
6568	    s//\1/
6569	    q
6570	  }
6571	  /^X\(\/\/\)$/{
6572	    s//\1/
6573	    q
6574	  }
6575	  /^X\(\/\).*/{
6576	    s//\1/
6577	    q
6578	  }
6579	  s/.*/./; q'`
6580    else
6581      continue
6582    fi
6583    # Extract the definition of DEPDIR, am__include, and am__quote
6584    # from the Makefile without running `make'.
6585    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6586    test -z "$DEPDIR" && continue
6587    am__include=`sed -n 's/^am__include = //p' < "$mf"`
6588    test -z "am__include" && continue
6589    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6590    # When using ansi2knr, U may be empty or an underscore; expand it
6591    U=`sed -n 's/^U = //p' < "$mf"`
6592    # Find all dependency output files, they are included files with
6593    # $(DEPDIR) in their names.  We invoke sed twice because it is the
6594    # simplest approach to changing $(DEPDIR) to its actual value in the
6595    # expansion.
6596    for file in `sed -n "
6597      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6598	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6599      # Make sure the directory exists.
6600      test -f "$dirpart/$file" && continue
6601      fdir=`$as_dirname -- "$file" ||
6602$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6603	 X"$file" : 'X\(//\)[^/]' \| \
6604	 X"$file" : 'X\(//\)$' \| \
6605	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6606$as_echo X"$file" |
6607    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6608	    s//\1/
6609	    q
6610	  }
6611	  /^X\(\/\/\)[^/].*/{
6612	    s//\1/
6613	    q
6614	  }
6615	  /^X\(\/\/\)$/{
6616	    s//\1/
6617	    q
6618	  }
6619	  /^X\(\/\).*/{
6620	    s//\1/
6621	    q
6622	  }
6623	  s/.*/./; q'`
6624      as_dir=$dirpart/$fdir; as_fn_mkdir_p
6625      # echo "creating $dirpart/$file"
6626      echo '# dummy' > "$dirpart/$file"
6627    done
6628  done
6629}
6630 ;;
6631
6632  esac
6633done # for ac_tag
6634
6635
6636as_fn_exit 0
6637_ACEOF
6638ac_clean_files=$ac_clean_files_save
6639
6640test $ac_write_fail = 0 ||
6641  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6642
6643
6644# configure is writing to config.log, and then calls config.status.
6645# config.status does its own redirection, appending to config.log.
6646# Unfortunately, on DOS this fails, as config.log is still kept open
6647# by configure, so config.status won't be able to write to it; its
6648# output is simply discarded.  So we exec the FD to /dev/null,
6649# effectively closing config.log, so it can be properly (re)opened and
6650# appended to by config.status.  When coming back to configure, we
6651# need to make the FD available again.
6652if test "$no_create" != yes; then
6653  ac_cs_success=:
6654  ac_config_status_args=
6655  test "$silent" = yes &&
6656    ac_config_status_args="$ac_config_status_args --quiet"
6657  exec 5>/dev/null
6658  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6659  exec 5>>config.log
6660  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6661  # would make configure fail if this is the last instruction.
6662  $ac_cs_success || as_fn_exit 1
6663fi
6664if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6665  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6666$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6667fi
6668
6669