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