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