Debian Codegraph @

configure

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