Adding 42-fix-user-list.patch to fix empty greeter (Closes: #810631).
[debian/lxdm.git] / configure
CommitLineData
9931e273
DB
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
37f5420c 3# Generated by GNU Autoconf 2.69 for lxdm 0.5.3.
9931e273
DB
4#
5# Report bugs to <http://lxde.org/>.
6#
7#
d6ba7c28 8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9931e273
DB
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
18DUALCASE=1; export DUALCASE # for MKS sh
19if 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
26else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
31 ;;
32esac
33fi
34
35
36as_nl='
37'
38export as_nl
39# Printing a long string crashes Solaris 7 /usr/bin/printf.
40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42as_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.
45if 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 --'
49elif (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'
52else
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'
72fi
73
74# The user is always right.
75if 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 }
81fi
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.)
89IFS=" "" $as_nl"
90
91# Find who we are. Look in the path if we contain no directory separator.
92as_myself=
93case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96for as_dir in $PATH
97do
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
102IFS=$as_save_IFS
103
104 ;;
105esac
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.
108if test "x$as_myself" = x; then
109 as_myself=$0
110fi
111if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
114fi
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.
120for as_var in BASH_ENV ENV MAIL MAILPATH
121do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123done
124PS1='$ '
125PS2='> '
126PS4='+ '
127
128# NLS nuisances.
129LC_ALL=C
130export LC_ALL
131LANGUAGE=C
132export LANGUAGE
133
134# CDPATH.
135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
d6ba7c28
AG
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.
145BASH_ENV=/dev/null
146ENV=/dev/null
147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153esac
154exec $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
158as_fn_exit 255
159 fi
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
9931e273
DB
162if 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
170else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
175 ;;
176esac
177fi
178"
179 as_required="as_fn_return () { (exit \$1); }
180as_fn_success () { as_fn_return 0; }
181as_fn_failure () { as_fn_return 1; }
182as_fn_ret_success () { return 0; }
183as_fn_ret_failure () { return 1; }
184
185exitcode=0
186as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192else
193 exitcode=1; echo positional parameters were not saved.
194fi
d6ba7c28
AG
195test x\$exitcode = x0 || exit 1
196test -x / || exit 1"
9931e273
DB
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
201test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204else
205 as_have_required=no
206fi
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
208
209else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211as_found=false
212for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213do
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
227fi
228fi
229 done;;
230 esac
231 as_found=false
232done
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
236fi; }
237IFS=$as_save_IFS
238
239
240 if test "x$CONFIG_SHELL" != x; then :
d6ba7c28
AG
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.
246BASH_ENV=/dev/null
247ENV=/dev/null
248(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254esac
255exec $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
259exit 255
9931e273
DB
260fi
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 bug-autoconf@gnu.org 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
276fi
277fi
278fi
279SHELL=${CONFIG_SHELL-/bin/sh}
280export SHELL
281# Unset more variables known to interfere with behavior of common tools.
282CLICOLOR_FORCE= GREP_OPTIONS=
283unset CLICOLOR_FORCE GREP_OPTIONS
284
285## --------------------- ##
286## M4sh Shell Functions. ##
287## --------------------- ##
288# as_fn_unset VAR
289# ---------------
290# Portably unset VAR.
291as_fn_unset ()
292{
293 { eval $1=; unset $1;}
294}
295as_unset=as_fn_unset
296
297# as_fn_set_status STATUS
298# -----------------------
299# Set $? to STATUS, without forking.
300as_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.
308as_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.
318as_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
d6ba7c28
AG
362
363# as_fn_executable_p FILE
364# -----------------------
365# Test if FILE is an executable regular file.
366as_fn_executable_p ()
367{
368 test -f "$1" && test -x "$1"
369} # as_fn_executable_p
9931e273
DB
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.
376if (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 }'
381else
382 as_fn_append ()
383 {
384 eval $1=\$$1\$2
385 }
386fi # 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.
393if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
395 {
396 as_val=$(( $* ))
397 }'
398else
399 as_fn_arith ()
400 {
401 as_val=`expr "$@" || test $? -eq 1`
402 }
403fi # 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.
411as_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
422if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425else
426 as_expr=false
427fi
428
429if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431else
432 as_basename=false
433fi
434
435if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437else
438 as_dirname=false
439fi
440
441as_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.
461as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464as_cr_digits='0123456789'
465as_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
d6ba7c28
AG
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
9931e273
DB
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
503ECHO_C= ECHO_N= ECHO_T=
504case `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';;
514esac
515
516rm -f conf$$ conf$$.exe conf$$.file
517if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
522fi
523if (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.
d6ba7c28 529 # In both cases, we have to default to `cp -pR'.
9931e273 530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
d6ba7c28 531 as_ln_s='cp -pR'
9931e273
DB
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
d6ba7c28 535 as_ln_s='cp -pR'
9931e273
DB
536 fi
537else
d6ba7c28 538 as_ln_s='cp -pR'
9931e273
DB
539fi
540rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541rmdir conf$$.dir 2>/dev/null
542
543if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
548fi
549
d6ba7c28
AG
550as_test_x='test -x'
551as_executable_p=as_fn_executable_p
9931e273
DB
552
553# Sed expression to map a string onto a valid CPP name.
554as_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.
557as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
558
559
560test -n "$DJDIR" || exec 7<&0 </dev/null
561exec 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.
566ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
567
568#
569# Initializations.
570#
571ac_default_prefix=/usr/local
572ac_clean_files=
573ac_config_libobj_dir=.
574LIBOBJS=
575cross_compiling=no
576subdirs=
577MFLAGS=
578MAKEFLAGS=
579
580# Identity of this package.
581PACKAGE_NAME='lxdm'
582PACKAGE_TARNAME='lxdm'
37f5420c
AG
583PACKAGE_VERSION='0.5.3'
584PACKAGE_STRING='lxdm 0.5.3'
9931e273
DB
585PACKAGE_BUGREPORT='http://lxde.org/'
586PACKAGE_URL=''
587
588ac_unique_file="src/lxdm.c"
589# Factoring default headers for most tests.
590ac_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
625ac_subst_vars='am__EXEEXT_FALSE
626am__EXEEXT_TRUE
627LTLIBOBJS
628LIBOBJS
c8e553a1 629FULL_LIBEXECDIR
9931e273 630GETTEXT_PACKAGE
d6ba7c28
AG
631HAVE_SYSTEMD_FALSE
632HAVE_SYSTEMD_TRUE
633systemdsystemunitdir
9931e273
DB
634XCONN_LIBS
635XCONN_CFLAGS
636CONSOLEKIT_LIBS
637CONSOLEKIT_CFLAGS
638GTK_LIBS
639GTK_CFLAGS
640GDK_LIBS
641GDK_CFLAGS
642GLIB_LIBS
643GLIB_CFLAGS
644XLIB_LIBS
645XLIB_CFLAGS
646PKG_CONFIG_LIBDIR
647PKG_CONFIG_PATH
648PKG_CONFIG
9931e273
DB
649ALL_LINGUAS
650INTLTOOL_PERL
651GMSGFMT
652MSGFMT
653MSGMERGE
654XGETTEXT
655INTLTOOL_POLICY_RULE
656INTLTOOL_SERVICE_RULE
657INTLTOOL_THEME_RULE
658INTLTOOL_SCHEMAS_RULE
659INTLTOOL_CAVES_RULE
660INTLTOOL_XML_NOMERGE_RULE
661INTLTOOL_XML_RULE
662INTLTOOL_KBD_RULE
663INTLTOOL_XAM_RULE
664INTLTOOL_UI_RULE
665INTLTOOL_SOUNDLIST_RULE
666INTLTOOL_SHEET_RULE
667INTLTOOL_SERVER_RULE
668INTLTOOL_PONG_RULE
669INTLTOOL_OAF_RULE
670INTLTOOL_PROP_RULE
671INTLTOOL_KEYS_RULE
672INTLTOOL_DIRECTORY_RULE
673INTLTOOL_DESKTOP_RULE
d6ba7c28
AG
674intltool__v_merge_options_0
675intltool__v_merge_options_
676INTLTOOL_V_MERGE_OPTIONS
677INTLTOOL__v_MERGE_0
678INTLTOOL__v_MERGE_
679INTLTOOL_V_MERGE
9931e273
DB
680INTLTOOL_EXTRACT
681INTLTOOL_MERGE
682INTLTOOL_UPDATE
683USE_NLS
684EGREP
685GREP
686CPP
687XMKMF
d6ba7c28
AG
688HAVE_PAM_FALSE
689HAVE_PAM_TRUE
9931e273
DB
690am__fastdepCC_FALSE
691am__fastdepCC_TRUE
692CCDEPMODE
d6ba7c28 693am__nodep
9931e273
DB
694AMDEPBACKSLASH
695AMDEP_FALSE
696AMDEP_TRUE
697am__quote
698am__include
699DEPDIR
700OBJEXT
701EXEEXT
702ac_ct_CC
703CPPFLAGS
704LDFLAGS
705CFLAGS
706CC
d6ba7c28
AG
707AM_BACKSLASH
708AM_DEFAULT_VERBOSITY
709AM_DEFAULT_V
710AM_V
9931e273
DB
711am__untar
712am__tar
713AMTAR
714am__leading_dot
715SET_MAKE
716AWK
717mkdir_p
718MKDIR_P
719INSTALL_STRIP_PROGRAM
720STRIP
721install_sh
722MAKEINFO
723AUTOHEADER
724AUTOMAKE
725AUTOCONF
726ACLOCAL
727VERSION
728PACKAGE
729CYGPATH_W
730am__isrc
731INSTALL_DATA
732INSTALL_SCRIPT
733INSTALL_PROGRAM
734target_alias
735host_alias
736build_alias
737LIBS
738ECHO_T
739ECHO_N
740ECHO_C
741DEFS
742mandir
743localedir
744libdir
745psdir
746pdfdir
747dvidir
748htmldir
749infodir
750docdir
751oldincludedir
752includedir
753localstatedir
754sharedstatedir
755sysconfdir
756datadir
757datarootdir
758libexecdir
759sbindir
760bindir
761program_transform_name
762prefix
763exec_prefix
764PACKAGE_URL
765PACKAGE_BUGREPORT
766PACKAGE_STRING
767PACKAGE_VERSION
768PACKAGE_TARNAME
769PACKAGE_NAME
770PATH_SEPARATOR
771SHELL'
772ac_subst_files=''
773ac_user_opts='
774enable_option_checking
d6ba7c28 775enable_silent_rules
9931e273
DB
776enable_dependency_tracking
777with_pam
778with_x
779enable_nls
780enable_gtk3
d6ba7c28 781enable_consolekit
9931e273
DB
782enable_password
783enable_xauth
784enable_debug
785with_xconn
d6ba7c28 786with_systemdsystemunitdir
9931e273
DB
787'
788 ac_precious_vars='build_alias
789host_alias
790target_alias
791CC
792CFLAGS
793LDFLAGS
794LIBS
795CPPFLAGS
796XMKMF
797CPP
798PKG_CONFIG
799PKG_CONFIG_PATH
800PKG_CONFIG_LIBDIR
801XLIB_CFLAGS
802XLIB_LIBS
803GLIB_CFLAGS
804GLIB_LIBS
805GDK_CFLAGS
806GDK_LIBS
807GTK_CFLAGS
808GTK_LIBS
809CONSOLEKIT_CFLAGS
810CONSOLEKIT_LIBS
811XCONN_CFLAGS
812XCONN_LIBS'
813
814
815# Initialize some variables set by options.
816ac_init_help=
817ac_init_version=false
818ac_unrecognized_opts=
819ac_unrecognized_sep=
820# The variables have the same names as the options, with
821# dashes changed to underlines.
822cache_file=/dev/null
823exec_prefix=NONE
824no_create=
825no_recursion=
826prefix=NONE
827program_prefix=NONE
828program_suffix=NONE
829program_transform_name=s,x,x,
830silent=
831site=
832srcdir=
833verbose=
834x_includes=NONE
835x_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.)
843bindir='${exec_prefix}/bin'
844sbindir='${exec_prefix}/sbin'
845libexecdir='${exec_prefix}/libexec'
846datarootdir='${prefix}/share'
847datadir='${datarootdir}'
848sysconfdir='${prefix}/etc'
849sharedstatedir='${prefix}/com'
850localstatedir='${prefix}/var'
851includedir='${prefix}/include'
852oldincludedir='/usr/include'
853docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
854infodir='${datarootdir}/info'
855htmldir='${docdir}'
856dvidir='${docdir}'
857pdfdir='${docdir}'
858psdir='${docdir}'
859libdir='${exec_prefix}/lib'
860localedir='${datarootdir}/locale'
861mandir='${datarootdir}/man'
862
863ac_prev=
864ac_dashdash=
865for ac_option
866do
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'
1199Try \`$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
1221done
1222
1223if test -n "$ac_prev"; then
1224 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1225 as_fn_error $? "missing argument to $ac_option"
1226fi
1227
1228if 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
1234fi
1235
1236# Check all directory arguments for consistency.
1237for 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
1241do
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"
1255done
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.
1260build=$build_alias
1261host=$host_alias
1262target=$target_alias
1263
1264# FIXME: To remove some day.
1265if test "x$host_alias" != x; then
1266 if test "x$build_alias" = x; then
1267 cross_compiling=maybe
9931e273
DB
1268 elif test "x$build_alias" != "x$host_alias"; then
1269 cross_compiling=yes
1270 fi
1271fi
1272
1273ac_tool_prefix=
1274test -n "$host_alias" && ac_tool_prefix=$host_alias-
1275
1276test "$silent" = yes && exec 6>/dev/null
1277
1278
1279ac_pwd=`pwd` && test -n "$ac_pwd" &&
1280ac_ls_di=`ls -di .` &&
1281ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1282 as_fn_error $? "working directory cannot be determined"
1283test "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.
1288if 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
1318else
1319 ac_srcdir_defaulted=no
1320fi
1321if 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"
1324fi
1325ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1326ac_abs_confdir=`(
1327 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1328 pwd)`
1329# When building in place, set srcdir=.
1330if test "$ac_abs_confdir" = "$ac_pwd"; then
1331 srcdir=.
1332fi
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.
1336case $srcdir in
1337*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1338esac
1339for 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}
1344done
1345
1346#
1347# Report the --help message.
1348#
1349if 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
37f5420c 1353\`configure' configures lxdm 0.5.3 to adapt to many kinds of systems.
9931e273
DB
1354
1355Usage: $0 [OPTION]... [VAR=VALUE]...
1356
1357To assign environment variables (e.g., CC, CFLAGS...), specify them as
1358VAR=VALUE. See below for descriptions of some of the useful variables.
1359
1360Defaults for the options are specified in brackets.
1361
1362Configuration:
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
1373Installation 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
1379By default, \`make install' will install all the files in
1380\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1381an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1382for instance \`--prefix=\$HOME'.
1383
1384For better control, use the options below.
1385
1386Fine 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
1410Program 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
1415X features:
1416 --x-includes=DIR X include files are in DIR
1417 --x-libraries=DIR X library files are in DIR
1418_ACEOF
1419fi
1420
1421if test -n "$ac_init_help"; then
1422 case $ac_init_help in
37f5420c 1423 short | recursive ) echo "Configuration of lxdm 0.5.3:";;
9931e273
DB
1424 esac
1425 cat <<\_ACEOF
1426
1427Optional 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]
d6ba7c28
AG
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
9931e273
DB
1437 --disable-nls do not use Native Language Support
1438 --enable-gtk3 enable to use gtk-3.0 instead of gtk-2.0
d6ba7c28 1439 --disable-consolekit disable ConsoleKit support
9931e273
DB
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
1445Optional Packages:
1446 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1447 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
d6ba7c28 1448 --with-pam Use PAM for authentication
9931e273 1449 --with-x use the X Window System
d6ba7c28
AG
1450 --with-xconn=[xlib/xcb] use xlib or xcb to use
1451 --with-systemdsystemunitdir=DIR
1452 Directory for systemd service files
9931e273
DB
1453
1454Some 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
1485Use these variables to override the choices made by `configure' or to help
1486it to find libraries and programs with nonstandard names/locations.
1487
1488Report bugs to <http://lxde.org/>.
1489_ACEOF
1490ac_status=$?
1491fi
1492
1493if 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
1501case "$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 ;;
1511esac
1512ac_abs_top_builddir=$ac_pwd
1513ac_abs_builddir=$ac_pwd$ac_dir_suffix
1514# for backward compatibility:
1515ac_top_builddir=$ac_top_build_prefix
1516
1517case $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 ;;
1530esac
1531ac_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
1546fi
1547
1548test -n "$ac_init_help" && exit $ac_status
1549if $ac_init_version; then
1550 cat <<\_ACEOF
37f5420c 1551lxdm configure 0.5.3
d6ba7c28 1552generated by GNU Autoconf 2.69
9931e273 1553
d6ba7c28 1554Copyright (C) 2012 Free Software Foundation, Inc.
9931e273
DB
1555This configure script is free software; the Free Software Foundation
1556gives unlimited permission to copy, distribute and modify it.
1557_ACEOF
1558 exit
1559fi
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.
1568ac_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"
1573case "(($ac_try" in
1574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1575 *) ac_try_echo=$ac_try;;
1576esac
1577eval 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
1592else
1593 $as_echo "$as_me: failed program was:" >&5
1594sed 's/^/| /' conftest.$ac_ext >&5
1595
1596 ac_retval=1
1597fi
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.
1606ac_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"
1611case "(($ac_try" in
1612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1613 *) ac_try_echo=$ac_try;;
1614esac
1615eval 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 ||
d6ba7c28 1630 test -x conftest$ac_exeext
9931e273
DB
1631 }; then :
1632 ac_retval=0
1633else
1634 $as_echo "$as_me: failed program was:" >&5
1635sed 's/^/| /' conftest.$ac_ext >&5
1636
1637 ac_retval=1
1638fi
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
d6ba7c28
AG
1649# ac_fn_c_check_func LINENO FUNC VAR
1650# ----------------------------------
1651# Tests whether FUNC exists, setting the cache variable VAR accordingly
1652ac_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; }
1657if eval \${$3+:} false; then :
1658 $as_echo_n "(cached) " >&6
1659else
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
1683extern "C"
1684#endif
1685char $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
1690choke me
1691#endif
1692
1693int
1694main ()
1695{
1696return $2 ();
1697 ;
1698 return 0;
1699}
1700_ACEOF
1701if ac_fn_c_try_link "$LINENO"; then :
1702 eval "$3=yes"
1703else
1704 eval "$3=no"
1705fi
1706rm -f core conftest.err conftest.$ac_objext \
1707 conftest$ac_exeext conftest.$ac_ext
1708fi
1709eval 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
9931e273
DB
1716# ac_fn_c_try_cpp LINENO
1717# ----------------------
1718# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1719ac_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"
1723case "(($ac_try" in
1724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1725 *) ac_try_echo=$ac_try;;
1726esac
1727eval 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
1742else
1743 $as_echo "$as_me: failed program was:" >&5
1744sed 's/^/| /' conftest.$ac_ext >&5
1745
1746 ac_retval=1
1747fi
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.
1758ac_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; }
1764if eval \${$3+:} false; then :
1765 $as_echo_n "(cached) " >&6
1766fi
1767eval ac_res=\$$3
1768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1769$as_echo "$ac_res" >&6; }
1770else
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; }
1774cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1775/* end confdefs.h. */
1776$4
1777#include <$2>
1778_ACEOF
1779if ac_fn_c_try_compile "$LINENO"; then :
1780 ac_header_compiler=yes
1781else
1782 ac_header_compiler=no
1783fi
1784rm -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; }
1791cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1792/* end confdefs.h. */
1793#include <$2>
1794_ACEOF
1795if ac_fn_c_try_cpp "$LINENO"; then :
1796 ac_header_preproc=yes
1797else
1798 ac_header_preproc=no
1799fi
1800rm -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?
1805case $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 ;;
1828esac
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1830$as_echo_n "checking for $2... " >&6; }
1831if eval \${$3+:} false; then :
1832 $as_echo_n "(cached) " >&6
1833else
1834 eval "$3=\$ac_header_compiler"
1835fi
1836eval ac_res=\$$3
1837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1838$as_echo "$ac_res" >&6; }
1839fi
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.
1848ac_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"
1852case "(($ac_try" in
1853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1854 *) ac_try_echo=$ac_try;;
1855esac
1856eval 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;;
1865esac
1866eval 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
1873else
1874 $as_echo "$as_me: program exited with status $ac_status" >&5
1875 $as_echo "$as_me: failed program was:" >&5
1876sed 's/^/| /' conftest.$ac_ext >&5
1877
1878 ac_retval=$ac_status
1879fi
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.
1890ac_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; }
1895if eval \${$3+:} false; then :
1896 $as_echo_n "(cached) " >&6
1897else
1898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1899/* end confdefs.h. */
1900$4
1901#include <$2>
1902_ACEOF
1903if ac_fn_c_try_compile "$LINENO"; then :
1904 eval "$3=yes"
1905else
1906 eval "$3=no"
1907fi
1908rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1909fi
1910eval 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.
1921ac_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; }
1926if eval \${$3+:} false; then :
1927 $as_echo_n "(cached) " >&6
1928else
1929 eval "$3=no"
1930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1931/* end confdefs.h. */
1932$4
1933int
1934main ()
1935{
1936if (sizeof ($2))
1937 return 0;
1938 ;
1939 return 0;
1940}
1941_ACEOF
1942if ac_fn_c_try_compile "$LINENO"; then :
1943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1944/* end confdefs.h. */
1945$4
1946int
1947main ()
1948{
1949if (sizeof (($2)))
1950 return 0;
1951 ;
1952 return 0;
1953}
1954_ACEOF
1955if ac_fn_c_try_compile "$LINENO"; then :
1956
1957else
1958 eval "$3=yes"
1959fi
1960rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1961fi
1962rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1963fi
1964eval 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
9931e273
DB
1970cat >config.log <<_ACEOF
1971This file contains any messages produced by compilers while
1972running configure, to aid debugging if configure makes a mistake.
1973
37f5420c 1974It was created by lxdm $as_me 0.5.3, which was
d6ba7c28 1975generated by GNU Autoconf 2.69. Invocation command line was
9931e273
DB
1976
1977 $ $0 $@
1978
1979_ACEOF
1980exec 5>>config.log
1981{
1982cat <<_ASUNAME
1983## --------- ##
1984## Platform. ##
1985## --------- ##
1986
1987hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1988uname -m = `(uname -m) 2>/dev/null || echo unknown`
1989uname -r = `(uname -r) 2>/dev/null || echo unknown`
1990uname -s = `(uname -s) 2>/dev/null || echo unknown`
1991uname -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
2006as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2007for as_dir in $PATH
2008do
2009 IFS=$as_save_IFS
2010 test -z "$as_dir" && as_dir=.
2011 $as_echo "PATH: $as_dir"
2012 done
2013IFS=$as_save_IFS
2014
2015} >&5
2016
2017cat >&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.
2032ac_configure_args=
2033ac_configure_args0=
2034ac_configure_args1=
2035ac_must_keep_next=false
2036for ac_pass in 1 2
2037do
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
2071done
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.
2080trap '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
2167for ac_signal in 1 2 13 15; do
2168 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2169done
2170ac_signal=0
2171
2172# confdefs.h avoids OS command line length limits that DEFS can exceed.
2173rm -f -r conftest* confdefs.h
2174
2175$as_echo "/* confdefs.h */" > confdefs.h
2176
2177# Predefined preprocessor variables.
2178
2179cat >>confdefs.h <<_ACEOF
2180#define PACKAGE_NAME "$PACKAGE_NAME"
2181_ACEOF
2182
2183cat >>confdefs.h <<_ACEOF
2184#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2185_ACEOF
2186
2187cat >>confdefs.h <<_ACEOF
2188#define PACKAGE_VERSION "$PACKAGE_VERSION"
2189_ACEOF
2190
2191cat >>confdefs.h <<_ACEOF
2192#define PACKAGE_STRING "$PACKAGE_STRING"
2193_ACEOF
2194
2195cat >>confdefs.h <<_ACEOF
2196#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2197_ACEOF
2198
2199cat >>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.
2206ac_site_file1=NONE
2207ac_site_file2=NONE
2208if 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
2215elif test "x$prefix" != xNONE; then
2216 ac_site_file1=$prefix/share/config.site
2217 ac_site_file2=$prefix/etc/config.site
2218else
2219 ac_site_file1=$ac_default_prefix/share/config.site
2220 ac_site_file2=$ac_default_prefix/etc/config.site
2221fi
2222for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2223do
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;}
2232as_fn_error $? "failed to load site script $ac_site_file
2233See \`config.log' for more details" "$LINENO" 5; }
2234 fi
2235done
2236
2237if 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
2248else
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
2252fi
2253
2254# Check that the precious variables saved in the cache have kept the same
2255# value.
2256ac_cache_corrupted=false
2257for 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
2303done
2304if $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
2310fi
2311## -------------------- ##
2312## Main body of script. ##
2313## -------------------- ##
2314
2315ac_ext=c
2316ac_cpp='$CPP $CPPFLAGS'
2317ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2318ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2319ac_compiler_gnu=$ac_cv_c_compiler_gnu
2320
2321
37f5420c 2322am__api_version='1.15'
9931e273
DB
2323
2324ac_aux_dir=
2325for 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
2339done
2340if test -z "$ac_aux_dir"; then
2341 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2342fi
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.
2348ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2349ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2350ac_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; }
2369if test -z "$INSTALL"; then
2370if ${ac_cv_path_install+:} false; then :
2371 $as_echo_n "(cached) " >&6
2372else
2373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2374for as_dir in $PATH
2375do
2376 IFS=$as_save_IFS
2377 test -z "$as_dir" && as_dir=.
2378 # Account for people who put trailing slashes in PATH elements.
2379case $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
d6ba7c28 2390 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
9931e273
DB
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 ;;
2417esac
2418
2419 done
2420IFS=$as_save_IFS
2421
2422rm -rf conftest.one conftest.two conftest.dir
2423
2424fi
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
2434fi
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.
2440test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2441
2442test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2443
2444test -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; }
9931e273
DB
2448# Reject unsafe characters in $srcdir or the absolute working directory
2449# name. Accept space and tab only in the latter.
2450am_lf='
2451'
2452case `pwd` in
2453 *[\\\"\#\$\&\'\`$am_lf]*)
2454 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2455esac
2456case $srcdir in
2457 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
d6ba7c28 2458 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
9931e273
DB
2459esac
2460
d6ba7c28 2461# Do 'set' in a subshell so we don't clobber the current shell's
9931e273
DB
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).
2466if (
d6ba7c28
AG
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
9931e273
DB
2492 test "$2" = conftest.file
2493 )
2494then
2495 # Ok.
2496 :
2497else
2498 as_fn_error $? "newly created file is older than distributed files!
2499Check your system clock" "$LINENO" 5
2500fi
2501{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2502$as_echo "yes" >&6; }
d6ba7c28
AG
2503# If we didn't sleep, we still need to ensure time stamps of config.status and
2504# generated files are strictly newer.
2505am_sleep_pid=
2506if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2507 ( sleep 1 ) &
2508 am_sleep_pid=$!
2509fi
2510
2511rm -f conftest.file
2512
9931e273
DB
2513test "$program_prefix" != NONE &&
2514 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2515# Use a double $ so make ignores it.
2516test "$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.
2520ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2521program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2522
37f5420c
AG
2523# Expand $ac_aux_dir to an absolute path.
2524am_aux_dir=`cd "$ac_aux_dir" && pwd`
9931e273
DB
2525
2526if 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
2533fi
2534# Use eval to expand $SHELL
d6ba7c28
AG
2535if eval "$MISSING --is-lightweight"; then
2536 am_missing_run="$MISSING "
9931e273
DB
2537else
2538 am_missing_run=
d6ba7c28
AG
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;}
9931e273
DB
2541fi
2542
37f5420c 2543if test x"${install_sh+set}" != xset; then
9931e273
DB
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
2550fi
2551
d6ba7c28
AG
2552# Installed binaries are usually stripped using 'strip' when the user
2553# run "make install-strip". However 'strip' might not be the right
9931e273 2554# tool to use in cross-compilation environments, therefore Automake
d6ba7c28 2555# will honor the 'STRIP' environment variable to overrule this program.
9931e273
DB
2556if 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.
2559set 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; }
2562if ${ac_cv_prog_STRIP+:} false; then :
2563 $as_echo_n "(cached) " >&6
2564else
2565 if test -n "$STRIP"; then
2566 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2567else
2568as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2569for as_dir in $PATH
2570do
2571 IFS=$as_save_IFS
2572 test -z "$as_dir" && as_dir=.
2573 for ac_exec_ext in '' $ac_executable_extensions; do
d6ba7c28 2574 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9931e273
DB
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
2579done
2580 done
2581IFS=$as_save_IFS
2582
2583fi
2584fi
2585STRIP=$ac_cv_prog_STRIP
2586if test -n "$STRIP"; then
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2588$as_echo "$STRIP" >&6; }
2589else
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2591$as_echo "no" >&6; }
2592fi
2593
2594
2595fi
2596if 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.
2599set 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; }
2602if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2603 $as_echo_n "(cached) " >&6
2604else
2605 if test -n "$ac_ct_STRIP"; then
2606 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2607else
2608as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2609for as_dir in $PATH
2610do
2611 IFS=$as_save_IFS
2612 test -z "$as_dir" && as_dir=.
2613 for ac_exec_ext in '' $ac_executable_extensions; do
d6ba7c28 2614 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9931e273
DB
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
2619done
2620 done
2621IFS=$as_save_IFS
2622
2623fi
2624fi
2625ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2626if 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; }
2629else
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2631$as_echo "no" >&6; }
2632fi
2633
2634 if test "x$ac_ct_STRIP" = x; then
2635 STRIP=":"
2636 else
2637 case $cross_compiling:$ac_tool_warned in
2638yes:)
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;}
2641ac_tool_warned=yes ;;
2642esac
2643 STRIP=$ac_ct_STRIP
2644 fi
2645else
2646 STRIP="$ac_cv_prog_STRIP"
2647fi
2648
2649fi
2650INSTALL_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; }
2654if test -z "$MKDIR_P"; then
2655 if ${ac_cv_path_mkdir+:} false; then :
2656 $as_echo_n "(cached) " >&6
2657else
2658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2659for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2660do
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
d6ba7c28 2665 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
9931e273
DB
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
2676IFS=$as_save_IFS
2677
2678fi
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
2690fi
2691{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2692$as_echo "$MKDIR_P" >&6; }
2693
9931e273
DB
2694for ac_prog in gawk mawk nawk awk
2695do
2696 # Extract the first word of "$ac_prog", so it can be a program name with args.
2697set 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; }
2700if ${ac_cv_prog_AWK+:} false; then :
2701 $as_echo_n "(cached) " >&6
2702else
2703 if test -n "$AWK"; then
2704 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2705else
2706as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2707for as_dir in $PATH
2708do
2709 IFS=$as_save_IFS
2710 test -z "$as_dir" && as_dir=.
2711 for ac_exec_ext in '' $ac_executable_extensions; do
d6ba7c28 2712 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9931e273
DB
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
2717done
2718 done
2719IFS=$as_save_IFS
2720
2721fi
2722fi
2723AWK=$ac_cv_prog_AWK
2724if test -n "$AWK"; then
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2726$as_echo "$AWK" >&6; }
2727else
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2729$as_echo "no" >&6; }
2730fi
2731
2732
2733 test -n "$AWK" && break
2734done
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; }
2738set x ${MAKE-make}
2739ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2740if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2741 $as_echo_n "(cached) " >&6
2742else
2743 cat >conftest.make <<\_ACEOF
2744SHELL = /bin/sh
2745all:
2746 @echo '@@@%%%=$(MAKE)=@@@%%%'
2747_ACEOF
2748# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2749case `${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;;
2754esac
2755rm -f conftest.make
2756fi
2757if 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=
2761else
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2763$as_echo "no" >&6; }
2764 SET_MAKE="MAKE=${MAKE-make}"
2765fi
2766
2767rm -rf .tst 2>/dev/null
2768mkdir .tst 2>/dev/null
2769if test -d .tst; then
2770 am__leading_dot=.
2771else
2772 am__leading_dot=_
2773fi
2774rmdir .tst 2>/dev/null
2775
d6ba7c28
AG
2776# Check whether --enable-silent-rules was given.
2777if test "${enable_silent_rules+set}" = set; then :
2778 enableval=$enable_silent_rules;
2779fi
2780
2781case $enable_silent_rules in # (((
2782 yes) AM_DEFAULT_VERBOSITY=0;;
2783 no) AM_DEFAULT_VERBOSITY=1;;
2784 *) AM_DEFAULT_VERBOSITY=1;;
2785esac
2786am_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; }
2789if ${am_cv_make_support_nested_variables+:} false; then :
2790 $as_echo_n "(cached) " >&6
2791else
2792 if $as_echo 'TRUE=$(BAR$(V))
2793BAR0=false
2794BAR1=true
2795V=1
2796am__doit:
2797 @$(TRUE)
2798.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2799 am_cv_make_support_nested_variables=yes
2800else
2801 am_cv_make_support_nested_variables=no
2802fi
2803fi
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; }
2806if test $am_cv_make_support_nested_variables = yes; then
2807 AM_V='$(V)'
2808 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2809else
2810 AM_V=$AM_DEFAULT_VERBOSITY
2811 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2812fi
2813AM_BACKSLASH='\'
2814
9931e273
DB
2815if 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
2823fi
2824
2825# test whether we have cygpath
2826if 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
2832fi
2833
2834
2835# Define the identity of the package.
2836 PACKAGE='lxdm'
37f5420c 2837 VERSION='0.5.3'
9931e273
DB
2838
2839
2840cat >>confdefs.h <<_ACEOF
2841#define PACKAGE "$PACKAGE"
2842_ACEOF
2843
2844
2845cat >>confdefs.h <<_ACEOF
2846#define VERSION "$VERSION"
2847_ACEOF
2848
2849# Some tools Automake needs.
2850
2851ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2852
2853
2854AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2855
2856
2857AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2858
2859
2860AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2861
2862
2863MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2864
d6ba7c28
AG
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>
2869mkdir_p='$(MKDIR_P)'
2870
37f5420c
AG
2871# We need awk for the "check" target (and possibly the TAP driver). The
2872# system "awk" is bad on some platforms.
d6ba7c28
AG
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 ...
2875AMTAR='$${TAR-tar}'
9931e273 2876
9931e273 2877
d6ba7c28
AG
2878# We'll loop over all known methods to create a tar archive until one works.
2879_am_tools='gnutar pax cpio none'
2880
2881am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2882
9931e273
DB
2883
2884
2885
2886
2887
c8e553a1
AG
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.
2896if rm -f && rm -fr && rm -rf; then : OK; else
2897 cat >&2 <<'END'
2898Oops!
2899
2900Your 'rm' program seems unable to run without file operands specified
2901on the command line, even when the '-f' option is present. This is contrary
2902to the behaviour of most rm programs out there, and not conforming with
2903the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2904
2905Please tell bug-automake@gnu.org about your system, including the value
2906of your $PATH and any error possibly output before this message. This
2907can help us improve future automake versions.
2908
2909END
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'
2916Aborting the configuration process, to ensure you take notice of the issue.
2917
2918You can download and install GNU coreutils to get an 'rm' implementation
2919that behaves properly: <http://www.gnu.org/software/coreutils/>.
2920
2921If you want to complete the configuration process using your problematic
2922'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2923to "yes", and re-run configure.
2924
2925END
2926 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2927 fi
2928fi
9931e273
DB
2929
2930
37f5420c 2931
9931e273
DB
2932ac_config_headers="$ac_config_headers config.h"
2933
2934
2935# Checks for programs.
2936ac_ext=c
2937ac_cpp='$CPP $CPPFLAGS'
2938ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2939ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2940ac_compiler_gnu=$ac_cv_c_compiler_gnu
2941if 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.
2943set 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; }
2946if ${ac_cv_prog_CC+:} false; then :
2947 $as_echo_n "(cached) " >&6
2948else
2949 if test -n "$CC"; then
2950 ac_cv_prog_CC="$CC" # Let the user override the test.
2951else
2952as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2953for as_dir in $PATH
2954do
2955 IFS=$as_save_IFS
2956 test -z "$as_dir" && as_dir=.
2957 for ac_exec_ext in '' $ac_executable_extensions; do
d6ba7c28 2958 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9931e273
DB
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
2963done
2964 done
2965IFS=$as_save_IFS
2966
2967fi
2968fi
2969CC=$ac_cv_prog_CC
2970if test -n "$CC"; then
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2972$as_echo "$CC" >&6; }
2973else
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2975$as_echo "no" >&6; }
2976fi
2977
2978
2979fi
2980if 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.
2983set 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; }
2986if ${ac_cv_prog_ac_ct_CC+:} false; then :
2987 $as_echo_n "(cached) " >&6
2988else
2989 if test -n "$ac_ct_CC"; then
2990 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2991else
2992as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2993for as_dir in $PATH
2994do
2995 IFS=$as_save_IFS
2996 test -z "$as_dir" && as_dir=.
2997 for ac_exec_ext in '' $ac_executable_extensions; do
d6ba7c28 2998 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9931e273
DB
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
3003done
3004 done
3005IFS=$as_save_IFS
3006
3007fi
3008fi
3009ac_ct_CC=$ac_cv_prog_ac_ct_CC
3010if 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; }
3013else
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3015$as_echo "no" >&6; }
3016fi
3017
3018 if test "x$ac_ct_CC" = x; then
3019 CC=""
3020 else
3021 case $cross_compiling:$ac_tool_warned in
3022yes:)
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;}
3025ac_tool_warned=yes ;;
3026esac
3027 CC=$ac_ct_CC
3028 fi
3029else
3030 CC="$ac_cv_prog_CC"
3031fi
3032
3033if 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.
3036set 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; }
3039if ${ac_cv_prog_CC+:} false; then :
3040 $as_echo_n "(cached) " >&6
3041else
3042 if test -n "$CC"; then
3043 ac_cv_prog_CC="$CC" # Let the user override the test.
3044else
3045as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3046for as_dir in $PATH
3047do
3048 IFS=$as_save_IFS
3049 test -z "$as_dir" && as_dir=.
3050 for ac_exec_ext in '' $ac_executable_extensions; do
d6ba7c28 3051 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9931e273
DB
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
3056done
3057 done
3058IFS=$as_save_IFS
3059
3060fi
3061fi
3062CC=$ac_cv_prog_CC
3063if test -n "$CC"; then
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3065$as_echo "$CC" >&6; }
3066else
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3068$as_echo "no" >&6; }
3069fi
3070
3071
3072 fi
3073fi
3074if test -z "$CC"; then
3075 # Extract the first word of "cc", so it can be a program name with args.
3076set 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; }
3079if ${ac_cv_prog_CC+:} false; then :
3080 $as_echo_n "(cached) " >&6
3081else
3082 if test -n "$CC"; then
3083 ac_cv_prog_CC="$CC" # Let the user override the test.
3084else
3085 ac_prog_rejected=no
3086as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3087for as_dir in $PATH
3088do
3089 IFS=$as_save_IFS
3090 test -z "$as_dir" && as_dir=.
3091 for ac_exec_ext in '' $ac_executable_extensions; do
d6ba7c28 3092 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9931e273
DB
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
3101done
3102 done
3103IFS=$as_save_IFS
3104
3105if 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
3116fi
3117fi
3118fi
3119CC=$ac_cv_prog_CC
3120if test -n "$CC"; then
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3122$as_echo "$CC" >&6; }
3123else
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3125$as_echo "no" >&6; }
3126fi
3127
3128
3129fi
3130if 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.
3135set 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; }
3138if ${ac_cv_prog_CC+:} false; then :
3139 $as_echo_n "(cached) " >&6
3140else
3141 if test -n "$CC"; then
3142 ac_cv_prog_CC="$CC" # Let the user override the test.
3143else
3144as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3145for as_dir in $PATH
3146do
3147 IFS=$as_save_IFS
3148 test -z "$as_dir" && as_dir=.
3149 for ac_exec_ext in '' $ac_executable_extensions; do
d6ba7c28 3150 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9931e273
DB
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
3155done
3156 done
3157IFS=$as_save_IFS
3158
3159fi
3160fi
3161CC=$ac_cv_prog_CC
3162if test -n "$CC"; then
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3164$as_echo "$CC" >&6; }
3165else
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3167$as_echo "no" >&6; }
3168fi
3169
3170
3171 test -n "$CC" && break
3172 done
3173fi
3174if test -z "$CC"; then
3175 ac_ct_CC=$CC
3176 for ac_prog in cl.exe
3177do
3178 # Extract the first word of "$ac_prog", so it can be a program name with args.
3179set 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; }
3182if ${ac_cv_prog_ac_ct_CC+:} false; then :
3183 $as_echo_n "(cached) " >&6
3184else
3185 if test -n "$ac_ct_CC"; then
3186 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3187else
3188as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3189for as_dir in $PATH
3190do
3191 IFS=$as_save_IFS
3192 test -z "$as_dir" && as_dir=.
3193 for ac_exec_ext in '' $ac_executable_extensions; do
d6ba7c28 3194 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9931e273
DB
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
3199done
3200 done
3201IFS=$as_save_IFS
3202
3203fi
3204fi
3205ac_ct_CC=$ac_cv_prog_ac_ct_CC
3206if 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; }
3209else
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3211$as_echo "no" >&6; }
3212fi
3213
3214
3215 test -n "$ac_ct_CC" && break
3216done
3217
3218 if test "x$ac_ct_CC" = x; then
3219 CC=""
3220 else
3221 case $cross_compiling:$ac_tool_warned in
3222yes:)
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;}
3225ac_tool_warned=yes ;;
3226esac
3227 CC=$ac_ct_CC
3228 fi
3229fi
3230
3231fi
3232
3233
3234test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3235$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3236as_fn_error $? "no acceptable C compiler found in \$PATH
3237See \`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
3241set X $ac_compile
3242ac_compiler=$2
3243for ac_option in --version -v -V -qversion; do
3244 { { ac_try="$ac_compiler $ac_option >&5"
3245case "(($ac_try" in
3246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3247 *) ac_try_echo=$ac_try;;
3248esac
3249eval 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; }
3262done
3263
3264cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3265/* end confdefs.h. */
3266
3267int
3268main ()
3269{
3270
3271 ;
3272 return 0;
3273}
3274_ACEOF
3275ac_clean_files_save=$ac_clean_files
3276ac_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; }
3282ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3283
3284# The possible output files:
3285ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3286
3287ac_rmfiles=
3288for ac_file in $ac_files
3289do
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
3294done
3295rm -f $ac_rmfiles
3296
3297if { { ac_try="$ac_link_default"
3298case "(($ac_try" in
3299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3300 *) ac_try_echo=$ac_try;;
3301esac
3302eval 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.
3313for ac_file in $ac_files ''
3314do
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
3337done
3338test "$ac_cv_exeext" = no && ac_cv_exeext=
3339
3340else
3341 ac_file=''
3342fi
3343if 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
3347sed '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;}
3351as_fn_error 77 "C compiler cannot create executables
3352See \`config.log' for more details" "$LINENO" 5; }
3353else
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3355$as_echo "yes" >&6; }
3356fi
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; }
3361ac_exeext=$ac_cv_exeext
3362
3363rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3364ac_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; }
3367if { { ac_try="$ac_link"
3368case "(($ac_try" in
3369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3370 *) ac_try_echo=$ac_try;;
3371esac
3372eval 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'.
3382for 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
3390done
3391else
3392 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3393$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3394as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3395See \`config.log' for more details" "$LINENO" 5; }
3396fi
3397rm -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
3401rm -f conftest.$ac_ext
3402EXEEXT=$ac_cv_exeext
3403ac_exeext=$EXEEXT
3404cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3405/* end confdefs.h. */
3406#include <stdio.h>
3407int
3408main ()
3409{
3410FILE *f = fopen ("conftest.out", "w");
3411 return ferror (f) || fclose (f) != 0;
3412
3413 ;
3414 return 0;
3415}
3416_ACEOF
3417ac_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; }
3422if test "$cross_compiling" != yes; then
3423 { { ac_try="$ac_link"
3424case "(($ac_try" in
3425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3426 *) ac_try_echo=$ac_try;;
3427esac
3428eval 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;;
3438esac
3439eval 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;}
3452as_fn_error $? "cannot run C compiled programs.
3453If you meant to cross compile, use \`--host'.
3454See \`config.log' for more details" "$LINENO" 5; }
3455 fi
3456 fi
3457fi
3458{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3459$as_echo "$cross_compiling" >&6; }
3460
3461rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3462ac_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; }
3465if ${ac_cv_objext+:} false; then :
3466 $as_echo_n "(cached) " >&6
3467else
3468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3469/* end confdefs.h. */
3470
3471int
3472main ()
3473{
3474
3475 ;
3476 return 0;
3477}
3478_ACEOF
3479rm -f conftest.o conftest.obj
3480if { { ac_try="$ac_compile"
3481case "(($ac_try" in
3482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3483 *) ac_try_echo=$ac_try;;
3484esac
3485eval 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
3498done
3499else
3500 $as_echo "$as_me: failed program was:" >&5
3501sed '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;}
3505as_fn_error $? "cannot compute suffix of object files: cannot compile
3506See \`config.log' for more details" "$LINENO" 5; }
3507fi
3508rm -f conftest.$ac_cv_objext conftest.$ac_ext
3509fi
3510{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3511$as_echo "$ac_cv_objext" >&6; }
3512OBJEXT=$ac_cv_objext
3513ac_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; }
3516if ${ac_cv_c_compiler_gnu+:} false; then :
3517 $as_echo_n "(cached) " >&6
3518else
3519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3520/* end confdefs.h. */
3521
3522int
3523main ()
3524{
3525#ifndef __GNUC__
3526 choke me
3527#endif
3528
3529 ;
3530 return 0;
3531}
3532_ACEOF
3533if ac_fn_c_try_compile "$LINENO"; then :
3534 ac_compiler_gnu=yes
3535else
3536 ac_compiler_gnu=no
3537fi
3538rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3539ac_cv_c_compiler_gnu=$ac_compiler_gnu
3540
3541fi
3542{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3543$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3544if test $ac_compiler_gnu = yes; then
3545 GCC=yes
3546else
3547 GCC=
3548fi
3549ac_test_CFLAGS=${CFLAGS+set}
3550ac_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; }
3553if ${ac_cv_prog_cc_g+:} false; then :
3554 $as_echo_n "(cached) " >&6
3555else
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
3563int
3564main ()
3565{
3566
3567 ;
3568 return 0;
3569}
3570_ACEOF
3571if ac_fn_c_try_compile "$LINENO"; then :
3572 ac_cv_prog_cc_g=yes
3573else
3574 CFLAGS=""
3575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3576/* end confdefs.h. */
3577
3578int
3579main ()
3580{
3581
3582 ;
3583 return 0;
3584}
3585_ACEOF
3586if ac_fn_c_try_compile "$LINENO"; then :
3587
3588else
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
3594int
3595main ()
3596{
3597
3598 ;
3599 return 0;
3600}
3601_ACEOF
3602if ac_fn_c_try_compile "$LINENO"; then :
3603 ac_cv_prog_cc_g=yes
3604fi
3605rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3606fi
3607rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3608fi
3609rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3610 ac_c_werror_flag=$ac_save_c_werror_flag
3611fi
3612{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3613$as_echo "$ac_cv_prog_cc_g" >&6; }
3614if test "$ac_test_CFLAGS" = set; then
3615 CFLAGS=$ac_save_CFLAGS
3616elif 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
3622else
3623 if test "$GCC" = yes; then
3624 CFLAGS="-O2"
3625 else
3626 CFLAGS=
3627 fi
3628fi
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; }
3631if ${ac_cv_prog_cc_c89+:} false; then :
3632 $as_echo_n "(cached) " >&6
3633else
3634 ac_cv_prog_cc_c89=no
3635ac_save_CC=$CC
3636cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3637/* end confdefs.h. */
3638#include <stdarg.h>
3639#include <stdio.h>
d6ba7c28 3640struct stat;
9931e273
DB
3641/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3642struct buf { int x; };
3643FILE * (*rcsopen) (struct buf *, struct stat *, int);
3644static char *e (p, i)
3645 char **p;
3646 int i;
3647{
3648 return p[i];
3649}
3650static 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. */
3667int 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'
3672int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3673
3674int test (int i, double x);
3675struct s1 {int (*f) (int a);};
3676struct s2 {int (*f) (double a);};
3677int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3678int argc;
3679char **argv;
3680int
3681main ()
3682{
3683return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3684 ;
3685 return 0;
3686}
3687_ACEOF
3688for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3689 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3690do
3691 CC="$ac_save_CC $ac_arg"
3692 if ac_fn_c_try_compile "$LINENO"; then :
3693 ac_cv_prog_cc_c89=$ac_arg
3694fi
3695rm -f core conftest.err conftest.$ac_objext
3696 test "x$ac_cv_prog_cc_c89" != "xno" && break
3697done
3698rm -f conftest.$ac_ext
3699CC=$ac_save_CC
3700
3701fi
3702# AC_CACHE_VAL
3703case "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; } ;;
3714esac
3715if test "x$ac_cv_prog_cc_c89" != xno; then :
3716
3717fi
3718
3719ac_ext=c
3720ac_cpp='$CPP $CPPFLAGS'
3721ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3722ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3723ac_compiler_gnu=$ac_cv_c_compiler_gnu
c8e553a1
AG
3724
3725ac_ext=c
3726ac_cpp='$CPP $CPPFLAGS'
3727ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3728ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3729ac_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; }
3732if ${am_cv_prog_cc_c_o+:} false; then :
3733 $as_echo_n "(cached) " >&6
3734else
3735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3736/* end confdefs.h. */
3737
3738int
3739main ()
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
3766fi
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; }
3769if 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"
3776fi
3777ac_ext=c
3778ac_cpp='$CPP $CPPFLAGS'
3779ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3780ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3781ac_compiler_gnu=$ac_cv_c_compiler_gnu
3782
9931e273
DB
3783DEPDIR="${am__leading_dot}deps"
3784
3785ac_config_commands="$ac_config_commands depfiles"
3786
3787
3788am_make=${MAKE-make}
3789cat > confinc << 'END'
3790am__doit:
3791 @echo this is the am__doit target
3792.PHONY: am__doit
3793END
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; }
3797am__include="#"
3798am__quote=
3799_am_result=none
3800# First try GNU make style include.
3801echo "include confinc" > confmf
d6ba7c28 3802# Ignore all kinds of additional output from 'make'.
9931e273
DB
3803case `$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 ;;
3809esac
3810# Now try BSD make style include.
3811if 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
3820fi
3821
3822
3823{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3824$as_echo "$_am_result" >&6; }
3825rm -f confinc confmf
3826
3827# Check whether --enable-dependency-tracking was given.
3828if test "${enable_dependency_tracking+set}" = set; then :
3829 enableval=$enable_dependency_tracking;
3830fi
3831
3832if test "x$enable_dependency_tracking" != xno; then
3833 am_depcomp="$ac_aux_dir/depcomp"
3834 AMDEPBACKSLASH='\'
d6ba7c28 3835 am__nodep='_no'
9931e273
DB
3836fi
3837 if test "x$enable_dependency_tracking" != xno; then
3838 AMDEP_TRUE=
3839 AMDEP_FALSE='#'
3840else
3841 AMDEP_TRUE='#'
3842 AMDEP_FALSE=
3843fi
3844
3845
3846
3847depcc="$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; }
3851if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3852 $as_echo_n "(cached) " >&6
3853else
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
d6ba7c28
AG
3858 # making a dummy file named 'D' -- because '-MD' means "put the output
3859 # in D".
3860 rm -rf conftest.dir
9931e273
DB
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