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