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