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