Updating Danish translation for debconf files, by Joe Dalton (Closes: #781342).
[debian/lxdm.git] / configure
CommitLineData
9931e273
DB
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
c8e553a1 3# Generated by GNU Autoconf 2.69 for lxdm 0.5.1.
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'
c8e553a1
AG
583PACKAGE_VERSION='0.5.1'
584PACKAGE_STRING='lxdm 0.5.1'
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
649DATADIRNAME
650ALL_LINGUAS
651INTLTOOL_PERL
652GMSGFMT
653MSGFMT
654MSGMERGE
655XGETTEXT
656INTLTOOL_POLICY_RULE
657INTLTOOL_SERVICE_RULE
658INTLTOOL_THEME_RULE
659INTLTOOL_SCHEMAS_RULE
660INTLTOOL_CAVES_RULE
661INTLTOOL_XML_NOMERGE_RULE
662INTLTOOL_XML_RULE
663INTLTOOL_KBD_RULE
664INTLTOOL_XAM_RULE
665INTLTOOL_UI_RULE
666INTLTOOL_SOUNDLIST_RULE
667INTLTOOL_SHEET_RULE
668INTLTOOL_SERVER_RULE
669INTLTOOL_PONG_RULE
670INTLTOOL_OAF_RULE
671INTLTOOL_PROP_RULE
672INTLTOOL_KEYS_RULE
673INTLTOOL_DIRECTORY_RULE
674INTLTOOL_DESKTOP_RULE
d6ba7c28
AG
675intltool__v_merge_options_0
676intltool__v_merge_options_
677INTLTOOL_V_MERGE_OPTIONS
678INTLTOOL__v_MERGE_0
679INTLTOOL__v_MERGE_
680INTLTOOL_V_MERGE
9931e273
DB
681INTLTOOL_EXTRACT
682INTLTOOL_MERGE
683INTLTOOL_UPDATE
684USE_NLS
685EGREP
686GREP
687CPP
688XMKMF
d6ba7c28
AG
689HAVE_PAM_FALSE
690HAVE_PAM_TRUE
9931e273
DB
691am__fastdepCC_FALSE
692am__fastdepCC_TRUE
693CCDEPMODE
d6ba7c28 694am__nodep
9931e273
DB
695AMDEPBACKSLASH
696AMDEP_FALSE
697AMDEP_TRUE
698am__quote
699am__include
700DEPDIR
701OBJEXT
702EXEEXT
703ac_ct_CC
704CPPFLAGS
705LDFLAGS
706CFLAGS
707CC
d6ba7c28
AG
708AM_BACKSLASH
709AM_DEFAULT_VERBOSITY
710AM_DEFAULT_V
711AM_V
9931e273
DB
712am__untar
713am__tar
714AMTAR
715am__leading_dot
716SET_MAKE
717AWK
718mkdir_p
719MKDIR_P
720INSTALL_STRIP_PROGRAM
721STRIP
722install_sh
723MAKEINFO
724AUTOHEADER
725AUTOMAKE
726AUTOCONF
727ACLOCAL
728VERSION
729PACKAGE
730CYGPATH_W
731am__isrc
732INSTALL_DATA
733INSTALL_SCRIPT
734INSTALL_PROGRAM
735target_alias
736host_alias
737build_alias
738LIBS
739ECHO_T
740ECHO_N
741ECHO_C
742DEFS
743mandir
744localedir
745libdir
746psdir
747pdfdir
748dvidir
749htmldir
750infodir
751docdir
752oldincludedir
753includedir
754localstatedir
755sharedstatedir
756sysconfdir
757datadir
758datarootdir
759libexecdir
760sbindir
761bindir
762program_transform_name
763prefix
764exec_prefix
765PACKAGE_URL
766PACKAGE_BUGREPORT
767PACKAGE_STRING
768PACKAGE_VERSION
769PACKAGE_TARNAME
770PACKAGE_NAME
771PATH_SEPARATOR
772SHELL'
773ac_subst_files=''
774ac_user_opts='
775enable_option_checking
d6ba7c28 776enable_silent_rules
9931e273
DB
777enable_dependency_tracking
778with_pam
779with_x
780enable_nls
781enable_gtk3
d6ba7c28 782enable_consolekit
9931e273
DB
783enable_password
784enable_xauth
785enable_debug
786with_xconn
d6ba7c28 787with_systemdsystemunitdir
9931e273
DB
788'
789 ac_precious_vars='build_alias
790host_alias
791target_alias
792CC
793CFLAGS
794LDFLAGS
795LIBS
796CPPFLAGS
797XMKMF
798CPP
799PKG_CONFIG
800PKG_CONFIG_PATH
801PKG_CONFIG_LIBDIR
802XLIB_CFLAGS
803XLIB_LIBS
804GLIB_CFLAGS
805GLIB_LIBS
806GDK_CFLAGS
807GDK_LIBS
808GTK_CFLAGS
809GTK_LIBS
810CONSOLEKIT_CFLAGS
811CONSOLEKIT_LIBS
812XCONN_CFLAGS
813XCONN_LIBS'
814
815
816# Initialize some variables set by options.
817ac_init_help=
818ac_init_version=false
819ac_unrecognized_opts=
820ac_unrecognized_sep=
821# The variables have the same names as the options, with
822# dashes changed to underlines.
823cache_file=/dev/null
824exec_prefix=NONE
825no_create=
826no_recursion=
827prefix=NONE
828program_prefix=NONE
829program_suffix=NONE
830program_transform_name=s,x,x,
831silent=
832site=
833srcdir=
834verbose=
835x_includes=NONE
836x_libraries=NONE
837
838# Installation directory options.
839# These are left unexpanded so users can "make install exec_prefix=/foo"
840# and all the variables that are supposed to be based on exec_prefix
841# by default will actually change.
842# Use braces instead of parens because sh, perl, etc. also accept them.
843# (The list follows the same order as the GNU Coding Standards.)
844bindir='${exec_prefix}/bin'
845sbindir='${exec_prefix}/sbin'
846libexecdir='${exec_prefix}/libexec'
847datarootdir='${prefix}/share'
848datadir='${datarootdir}'
849sysconfdir='${prefix}/etc'
850sharedstatedir='${prefix}/com'
851localstatedir='${prefix}/var'
852includedir='${prefix}/include'
853oldincludedir='/usr/include'
854docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
855infodir='${datarootdir}/info'
856htmldir='${docdir}'
857dvidir='${docdir}'
858pdfdir='${docdir}'
859psdir='${docdir}'
860libdir='${exec_prefix}/lib'
861localedir='${datarootdir}/locale'
862mandir='${datarootdir}/man'
863
864ac_prev=
865ac_dashdash=
866for ac_option
867do
868 # If the previous option needs an argument, assign it.
869 if test -n "$ac_prev"; then
870 eval $ac_prev=\$ac_option
871 ac_prev=
872 continue
873 fi
874
875 case $ac_option in
876 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
877 *=) ac_optarg= ;;
878 *) ac_optarg=yes ;;
879 esac
880
881 # Accept the important Cygnus configure options, so we can diagnose typos.
882
883 case $ac_dashdash$ac_option in
884 --)
885 ac_dashdash=yes ;;
886
887 -bindir | --bindir | --bindi | --bind | --bin | --bi)
888 ac_prev=bindir ;;
889 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
890 bindir=$ac_optarg ;;
891
892 -build | --build | --buil | --bui | --bu)
893 ac_prev=build_alias ;;
894 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
895 build_alias=$ac_optarg ;;
896
897 -cache-file | --cache-file | --cache-fil | --cache-fi \
898 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
899 ac_prev=cache_file ;;
900 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
901 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
902 cache_file=$ac_optarg ;;
903
904 --config-cache | -C)
905 cache_file=config.cache ;;
906
907 -datadir | --datadir | --datadi | --datad)
908 ac_prev=datadir ;;
909 -datadir=* | --datadir=* | --datadi=* | --datad=*)
910 datadir=$ac_optarg ;;
911
912 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
913 | --dataroo | --dataro | --datar)
914 ac_prev=datarootdir ;;
915 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
916 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
917 datarootdir=$ac_optarg ;;
918
919 -disable-* | --disable-*)
920 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
921 # Reject names that are not valid shell variable names.
922 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
923 as_fn_error $? "invalid feature name: $ac_useropt"
924 ac_useropt_orig=$ac_useropt
925 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
926 case $ac_user_opts in
927 *"
928"enable_$ac_useropt"
929"*) ;;
930 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
931 ac_unrecognized_sep=', ';;
932 esac
933 eval enable_$ac_useropt=no ;;
934
935 -docdir | --docdir | --docdi | --doc | --do)
936 ac_prev=docdir ;;
937 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
938 docdir=$ac_optarg ;;
939
940 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
941 ac_prev=dvidir ;;
942 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
943 dvidir=$ac_optarg ;;
944
945 -enable-* | --enable-*)
946 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
947 # Reject names that are not valid shell variable names.
948 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
949 as_fn_error $? "invalid feature name: $ac_useropt"
950 ac_useropt_orig=$ac_useropt
951 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
952 case $ac_user_opts in
953 *"
954"enable_$ac_useropt"
955"*) ;;
956 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
957 ac_unrecognized_sep=', ';;
958 esac
959 eval enable_$ac_useropt=\$ac_optarg ;;
960
961 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
962 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
963 | --exec | --exe | --ex)
964 ac_prev=exec_prefix ;;
965 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
966 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
967 | --exec=* | --exe=* | --ex=*)
968 exec_prefix=$ac_optarg ;;
969
970 -gas | --gas | --ga | --g)
971 # Obsolete; use --with-gas.
972 with_gas=yes ;;
973
974 -help | --help | --hel | --he | -h)
975 ac_init_help=long ;;
976 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
977 ac_init_help=recursive ;;
978 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
979 ac_init_help=short ;;
980
981 -host | --host | --hos | --ho)
982 ac_prev=host_alias ;;
983 -host=* | --host=* | --hos=* | --ho=*)
984 host_alias=$ac_optarg ;;
985
986 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
987 ac_prev=htmldir ;;
988 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
989 | --ht=*)
990 htmldir=$ac_optarg ;;
991
992 -includedir | --includedir | --includedi | --included | --include \
993 | --includ | --inclu | --incl | --inc)
994 ac_prev=includedir ;;
995 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
996 | --includ=* | --inclu=* | --incl=* | --inc=*)
997 includedir=$ac_optarg ;;
998
999 -infodir | --infodir | --infodi | --infod | --info | --inf)
1000 ac_prev=infodir ;;
1001 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1002 infodir=$ac_optarg ;;
1003
1004 -libdir | --libdir | --libdi | --libd)
1005 ac_prev=libdir ;;
1006 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1007 libdir=$ac_optarg ;;
1008
1009 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1010 | --libexe | --libex | --libe)
1011 ac_prev=libexecdir ;;
1012 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1013 | --libexe=* | --libex=* | --libe=*)
1014 libexecdir=$ac_optarg ;;
1015
1016 -localedir | --localedir | --localedi | --localed | --locale)
1017 ac_prev=localedir ;;
1018 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1019 localedir=$ac_optarg ;;
1020
1021 -localstatedir | --localstatedir | --localstatedi | --localstated \
1022 | --localstate | --localstat | --localsta | --localst | --locals)
1023 ac_prev=localstatedir ;;
1024 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1025 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1026 localstatedir=$ac_optarg ;;
1027
1028 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1029 ac_prev=mandir ;;
1030 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1031 mandir=$ac_optarg ;;
1032
1033 -nfp | --nfp | --nf)
1034 # Obsolete; use --without-fp.
1035 with_fp=no ;;
1036
1037 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1038 | --no-cr | --no-c | -n)
1039 no_create=yes ;;
1040
1041 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1042 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1043 no_recursion=yes ;;
1044
1045 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1046 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1047 | --oldin | --oldi | --old | --ol | --o)
1048 ac_prev=oldincludedir ;;
1049 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1050 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1051 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1052 oldincludedir=$ac_optarg ;;
1053
1054 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1055 ac_prev=prefix ;;
1056 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1057 prefix=$ac_optarg ;;
1058
1059 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1060 | --program-pre | --program-pr | --program-p)
1061 ac_prev=program_prefix ;;
1062 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1063 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1064 program_prefix=$ac_optarg ;;
1065
1066 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1067 | --program-suf | --program-su | --program-s)
1068 ac_prev=program_suffix ;;
1069 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1070 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1071 program_suffix=$ac_optarg ;;
1072
1073 -program-transform-name | --program-transform-name \
1074 | --program-transform-nam | --program-transform-na \
1075 | --program-transform-n | --program-transform- \
1076 | --program-transform | --program-transfor \
1077 | --program-transfo | --program-transf \
1078 | --program-trans | --program-tran \
1079 | --progr-tra | --program-tr | --program-t)
1080 ac_prev=program_transform_name ;;
1081 -program-transform-name=* | --program-transform-name=* \
1082 | --program-transform-nam=* | --program-transform-na=* \
1083 | --program-transform-n=* | --program-transform-=* \
1084 | --program-transform=* | --program-transfor=* \
1085 | --program-transfo=* | --program-transf=* \
1086 | --program-trans=* | --program-tran=* \
1087 | --progr-tra=* | --program-tr=* | --program-t=*)
1088 program_transform_name=$ac_optarg ;;
1089
1090 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1091 ac_prev=pdfdir ;;
1092 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1093 pdfdir=$ac_optarg ;;
1094
1095 -psdir | --psdir | --psdi | --psd | --ps)
1096 ac_prev=psdir ;;
1097 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1098 psdir=$ac_optarg ;;
1099
1100 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1101 | -silent | --silent | --silen | --sile | --sil)
1102 silent=yes ;;
1103
1104 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1105 ac_prev=sbindir ;;
1106 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1107 | --sbi=* | --sb=*)
1108 sbindir=$ac_optarg ;;
1109
1110 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1111 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1112 | --sharedst | --shareds | --shared | --share | --shar \
1113 | --sha | --sh)
1114 ac_prev=sharedstatedir ;;
1115 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1116 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1117 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1118 | --sha=* | --sh=*)
1119 sharedstatedir=$ac_optarg ;;
1120
1121 -site | --site | --sit)
1122 ac_prev=site ;;
1123 -site=* | --site=* | --sit=*)
1124 site=$ac_optarg ;;
1125
1126 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1127 ac_prev=srcdir ;;
1128 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1129 srcdir=$ac_optarg ;;
1130
1131 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1132 | --syscon | --sysco | --sysc | --sys | --sy)
1133 ac_prev=sysconfdir ;;
1134 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1135 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1136 sysconfdir=$ac_optarg ;;
1137
1138 -target | --target | --targe | --targ | --tar | --ta | --t)
1139 ac_prev=target_alias ;;
1140 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1141 target_alias=$ac_optarg ;;
1142
1143 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1144 verbose=yes ;;
1145
1146 -version | --version | --versio | --versi | --vers | -V)
1147 ac_init_version=: ;;
1148
1149 -with-* | --with-*)
1150 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1151 # Reject names that are not valid shell variable names.
1152 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1153 as_fn_error $? "invalid package name: $ac_useropt"
1154 ac_useropt_orig=$ac_useropt
1155 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1156 case $ac_user_opts in
1157 *"
1158"with_$ac_useropt"
1159"*) ;;
1160 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1161 ac_unrecognized_sep=', ';;
1162 esac
1163 eval with_$ac_useropt=\$ac_optarg ;;
1164
1165 -without-* | --without-*)
1166 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1167 # Reject names that are not valid shell variable names.
1168 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1169 as_fn_error $? "invalid package name: $ac_useropt"
1170 ac_useropt_orig=$ac_useropt
1171 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1172 case $ac_user_opts in
1173 *"
1174"with_$ac_useropt"
1175"*) ;;
1176 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1177 ac_unrecognized_sep=', ';;
1178 esac
1179 eval with_$ac_useropt=no ;;
1180
1181 --x)
1182 # Obsolete; use --with-x.
1183 with_x=yes ;;
1184
1185 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1186 | --x-incl | --x-inc | --x-in | --x-i)
1187 ac_prev=x_includes ;;
1188 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1189 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1190 x_includes=$ac_optarg ;;
1191
1192 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1193 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1194 ac_prev=x_libraries ;;
1195 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1196 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1197 x_libraries=$ac_optarg ;;
1198
1199 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1200Try \`$0 --help' for more information"
1201 ;;
1202
1203 *=*)
1204 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1205 # Reject names that are not valid shell variable names.
1206 case $ac_envvar in #(
1207 '' | [0-9]* | *[!_$as_cr_alnum]* )
1208 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1209 esac
1210 eval $ac_envvar=\$ac_optarg
1211 export $ac_envvar ;;
1212
1213 *)
1214 # FIXME: should be removed in autoconf 3.0.
1215 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1216 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1217 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1218 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1219 ;;
1220
1221 esac
1222done
1223
1224if test -n "$ac_prev"; then
1225 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1226 as_fn_error $? "missing argument to $ac_option"
1227fi
1228
1229if test -n "$ac_unrecognized_opts"; then
1230 case $enable_option_checking in
1231 no) ;;
1232 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1233 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1234 esac
1235fi
1236
1237# Check all directory arguments for consistency.
1238for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1239 datadir sysconfdir sharedstatedir localstatedir includedir \
1240 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1241 libdir localedir mandir
1242do
1243 eval ac_val=\$$ac_var
1244 # Remove trailing slashes.
1245 case $ac_val in
1246 */ )
1247 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1248 eval $ac_var=\$ac_val;;
1249 esac
1250 # Be sure to have absolute directory names.
1251 case $ac_val in
1252 [\\/$]* | ?:[\\/]* ) continue;;
1253 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1254 esac
1255 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1256done
1257
1258# There might be people who depend on the old broken behavior: `$host'
1259# used to hold the argument of --host etc.
1260# FIXME: To remove some day.
1261build=$build_alias
1262host=$host_alias
1263target=$target_alias
1264
1265# FIXME: To remove some day.
1266if test "x$host_alias" != x; then
1267 if test "x$build_alias" = x; then
1268 cross_compiling=maybe
9931e273
DB
1269 elif test "x$build_alias" != "x$host_alias"; then
1270 cross_compiling=yes
1271 fi
1272fi
1273
1274ac_tool_prefix=
1275test -n "$host_alias" && ac_tool_prefix=$host_alias-
1276
1277test "$silent" = yes && exec 6>/dev/null
1278
1279
1280ac_pwd=`pwd` && test -n "$ac_pwd" &&
1281ac_ls_di=`ls -di .` &&
1282ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1283 as_fn_error $? "working directory cannot be determined"
1284test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1285 as_fn_error $? "pwd does not report name of working directory"
1286
1287
1288# Find the source files, if location was not specified.
1289if test -z "$srcdir"; then
1290 ac_srcdir_defaulted=yes
1291 # Try the directory containing this script, then the parent directory.
1292 ac_confdir=`$as_dirname -- "$as_myself" ||
1293$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1294 X"$as_myself" : 'X\(//\)[^/]' \| \
1295 X"$as_myself" : 'X\(//\)$' \| \
1296 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1297$as_echo X"$as_myself" |
1298 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1299 s//\1/
1300 q
1301 }
1302 /^X\(\/\/\)[^/].*/{
1303 s//\1/
1304 q
1305 }
1306 /^X\(\/\/\)$/{
1307 s//\1/
1308 q
1309 }
1310 /^X\(\/\).*/{
1311 s//\1/
1312 q
1313 }
1314 s/.*/./; q'`
1315 srcdir=$ac_confdir
1316 if test ! -r "$srcdir/$ac_unique_file"; then
1317 srcdir=..
1318 fi
1319else
1320 ac_srcdir_defaulted=no
1321fi
1322if test ! -r "$srcdir/$ac_unique_file"; then
1323 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1324 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1325fi
1326ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1327ac_abs_confdir=`(
1328 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1329 pwd)`
1330# When building in place, set srcdir=.
1331if test "$ac_abs_confdir" = "$ac_pwd"; then
1332 srcdir=.
1333fi
1334# Remove unnecessary trailing slashes from srcdir.
1335# Double slashes in file names in object file debugging info
1336# mess up M-x gdb in Emacs.
1337case $srcdir in
1338*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1339esac
1340for ac_var in $ac_precious_vars; do
1341 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1342 eval ac_env_${ac_var}_value=\$${ac_var}
1343 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1344 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1345done
1346
1347#
1348# Report the --help message.
1349#
1350if test "$ac_init_help" = "long"; then
1351 # Omit some internal or obsolete options to make the list less imposing.
1352 # This message is too long to be a string in the A/UX 3.1 sh.
1353 cat <<_ACEOF
c8e553a1 1354\`configure' configures lxdm 0.5.1 to adapt to many kinds of systems.
9931e273
DB
1355
1356Usage: $0 [OPTION]... [VAR=VALUE]...
1357
1358To assign environment variables (e.g., CC, CFLAGS...), specify them as
1359VAR=VALUE. See below for descriptions of some of the useful variables.
1360
1361Defaults for the options are specified in brackets.
1362
1363Configuration:
1364 -h, --help display this help and exit
1365 --help=short display options specific to this package
1366 --help=recursive display the short help of all the included packages
1367 -V, --version display version information and exit
1368 -q, --quiet, --silent do not print \`checking ...' messages
1369 --cache-file=FILE cache test results in FILE [disabled]
1370 -C, --config-cache alias for \`--cache-file=config.cache'
1371 -n, --no-create do not create output files
1372 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1373
1374Installation directories:
1375 --prefix=PREFIX install architecture-independent files in PREFIX
1376 [$ac_default_prefix]
1377 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1378 [PREFIX]
1379
1380By default, \`make install' will install all the files in
1381\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1382an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1383for instance \`--prefix=\$HOME'.
1384
1385For better control, use the options below.
1386
1387Fine tuning of the installation directories:
1388 --bindir=DIR user executables [EPREFIX/bin]
1389 --sbindir=DIR system admin executables [EPREFIX/sbin]
1390 --libexecdir=DIR program executables [EPREFIX/libexec]
1391 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1392 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1393 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1394 --libdir=DIR object code libraries [EPREFIX/lib]
1395 --includedir=DIR C header files [PREFIX/include]
1396 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1397 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1398 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1399 --infodir=DIR info documentation [DATAROOTDIR/info]
1400 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1401 --mandir=DIR man documentation [DATAROOTDIR/man]
1402 --docdir=DIR documentation root [DATAROOTDIR/doc/lxdm]
1403 --htmldir=DIR html documentation [DOCDIR]
1404 --dvidir=DIR dvi documentation [DOCDIR]
1405 --pdfdir=DIR pdf documentation [DOCDIR]
1406 --psdir=DIR ps documentation [DOCDIR]
1407_ACEOF
1408
1409 cat <<\_ACEOF
1410
1411Program names:
1412 --program-prefix=PREFIX prepend PREFIX to installed program names
1413 --program-suffix=SUFFIX append SUFFIX to installed program names
1414 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1415
1416X features:
1417 --x-includes=DIR X include files are in DIR
1418 --x-libraries=DIR X library files are in DIR
1419_ACEOF
1420fi
1421
1422if test -n "$ac_init_help"; then
1423 case $ac_init_help in
c8e553a1 1424 short | recursive ) echo "Configuration of lxdm 0.5.1:";;
9931e273
DB
1425 esac
1426 cat <<\_ACEOF
1427
1428Optional Features:
1429 --disable-option-checking ignore unrecognized --enable/--with options
1430 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1431 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
d6ba7c28
AG
1432 --enable-silent-rules less verbose build output (undo: "make V=1")
1433 --disable-silent-rules verbose build output (undo: "make V=0")
1434 --enable-dependency-tracking
1435 do not reject slow dependency extractors
1436 --disable-dependency-tracking
1437 speeds up one-time build
9931e273
DB
1438 --disable-nls do not use Native Language Support
1439 --enable-gtk3 enable to use gtk-3.0 instead of gtk-2.0
d6ba7c28 1440 --disable-consolekit disable ConsoleKit support
9931e273
DB
1441 --enable-password enable to load autologin password store at config
1442 file
1443 --disable-xauth disable the xauth support
1444 --enable-debug enable detailed debug
1445
1446Optional Packages:
1447 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1448 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
d6ba7c28 1449 --with-pam Use PAM for authentication
9931e273 1450 --with-x use the X Window System
d6ba7c28
AG
1451 --with-xconn=[xlib/xcb] use xlib or xcb to use
1452 --with-systemdsystemunitdir=DIR
1453 Directory for systemd service files
9931e273
DB
1454
1455Some influential environment variables:
1456 CC C compiler command
1457 CFLAGS C compiler flags
1458 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1459 nonstandard directory <lib dir>
1460 LIBS libraries to pass to the linker, e.g. -l<library>
1461 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1462 you have headers in a nonstandard directory <include dir>
1463 XMKMF Path to xmkmf, Makefile generator for X Window System
1464 CPP C preprocessor
1465 PKG_CONFIG path to pkg-config utility
1466 PKG_CONFIG_PATH
1467 directories to add to pkg-config's search path
1468 PKG_CONFIG_LIBDIR
1469 path overriding pkg-config's built-in search path
1470 XLIB_CFLAGS C compiler flags for XLIB, overriding pkg-config
1471 XLIB_LIBS linker flags for XLIB, overriding pkg-config
1472 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1473 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1474 GDK_CFLAGS C compiler flags for GDK, overriding pkg-config
1475 GDK_LIBS linker flags for GDK, overriding pkg-config
1476 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
1477 GTK_LIBS linker flags for GTK, overriding pkg-config
1478 CONSOLEKIT_CFLAGS
1479 C compiler flags for CONSOLEKIT, overriding pkg-config
1480 CONSOLEKIT_LIBS
1481 linker flags for CONSOLEKIT, overriding pkg-config
1482 XCONN_CFLAGS
1483 C compiler flags for XCONN, overriding pkg-config
1484 XCONN_LIBS linker flags for XCONN, overriding pkg-config
1485
1486Use these variables to override the choices made by `configure' or to help
1487it to find libraries and programs with nonstandard names/locations.
1488
1489Report bugs to <http://lxde.org/>.
1490_ACEOF
1491ac_status=$?
1492fi
1493
1494if test "$ac_init_help" = "recursive"; then
1495 # If there are subdirs, report their specific --help.
1496 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1497 test -d "$ac_dir" ||
1498 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1499 continue
1500 ac_builddir=.
1501
1502case "$ac_dir" in
1503.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1504*)
1505 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1506 # A ".." for each directory in $ac_dir_suffix.
1507 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1508 case $ac_top_builddir_sub in
1509 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1510 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1511 esac ;;
1512esac
1513ac_abs_top_builddir=$ac_pwd
1514ac_abs_builddir=$ac_pwd$ac_dir_suffix
1515# for backward compatibility:
1516ac_top_builddir=$ac_top_build_prefix
1517
1518case $srcdir in
1519 .) # We are building in place.
1520 ac_srcdir=.
1521 ac_top_srcdir=$ac_top_builddir_sub
1522 ac_abs_top_srcdir=$ac_pwd ;;
1523 [\\/]* | ?:[\\/]* ) # Absolute name.
1524 ac_srcdir=$srcdir$ac_dir_suffix;
1525 ac_top_srcdir=$srcdir
1526 ac_abs_top_srcdir=$srcdir ;;
1527 *) # Relative name.
1528 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1529 ac_top_srcdir=$ac_top_build_prefix$srcdir
1530 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1531esac
1532ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1533
1534 cd "$ac_dir" || { ac_status=$?; continue; }
1535 # Check for guested configure.
1536 if test -f "$ac_srcdir/configure.gnu"; then
1537 echo &&
1538 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1539 elif test -f "$ac_srcdir/configure"; then
1540 echo &&
1541 $SHELL "$ac_srcdir/configure" --help=recursive
1542 else
1543 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1544 fi || ac_status=$?
1545 cd "$ac_pwd" || { ac_status=$?; break; }
1546 done
1547fi
1548
1549test -n "$ac_init_help" && exit $ac_status
1550if $ac_init_version; then
1551 cat <<\_ACEOF
c8e553a1 1552lxdm configure 0.5.1
d6ba7c28 1553generated by GNU Autoconf 2.69
9931e273 1554
d6ba7c28 1555Copyright (C) 2012 Free Software Foundation, Inc.
9931e273
DB
1556This configure script is free software; the Free Software Foundation
1557gives unlimited permission to copy, distribute and modify it.
1558_ACEOF
1559 exit
1560fi
1561
1562## ------------------------ ##
1563## Autoconf initialization. ##
1564## ------------------------ ##
1565
1566# ac_fn_c_try_compile LINENO
1567# --------------------------
1568# Try to compile conftest.$ac_ext, and return whether this succeeded.
1569ac_fn_c_try_compile ()
1570{
1571 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1572 rm -f conftest.$ac_objext
1573 if { { ac_try="$ac_compile"
1574case "(($ac_try" in
1575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1576 *) ac_try_echo=$ac_try;;
1577esac
1578eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1579$as_echo "$ac_try_echo"; } >&5
1580 (eval "$ac_compile") 2>conftest.err
1581 ac_status=$?
1582 if test -s conftest.err; then
1583 grep -v '^ *+' conftest.err >conftest.er1
1584 cat conftest.er1 >&5
1585 mv -f conftest.er1 conftest.err
1586 fi
1587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1588 test $ac_status = 0; } && {
1589 test -z "$ac_c_werror_flag" ||
1590 test ! -s conftest.err
1591 } && test -s conftest.$ac_objext; then :
1592 ac_retval=0
1593else
1594 $as_echo "$as_me: failed program was:" >&5
1595sed 's/^/| /' conftest.$ac_ext >&5
1596
1597 ac_retval=1
1598fi
1599 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1600 as_fn_set_status $ac_retval
1601
1602} # ac_fn_c_try_compile
1603
1604# ac_fn_c_try_link LINENO
1605# -----------------------
1606# Try to link conftest.$ac_ext, and return whether this succeeded.
1607ac_fn_c_try_link ()
1608{
1609 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1610 rm -f conftest.$ac_objext conftest$ac_exeext
1611 if { { ac_try="$ac_link"
1612case "(($ac_try" in
1613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1614 *) ac_try_echo=$ac_try;;
1615esac
1616eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1617$as_echo "$ac_try_echo"; } >&5
1618 (eval "$ac_link") 2>conftest.err
1619 ac_status=$?
1620 if test -s conftest.err; then
1621 grep -v '^ *+' conftest.err >conftest.er1
1622 cat conftest.er1 >&5
1623 mv -f conftest.er1 conftest.err
1624 fi
1625 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1626 test $ac_status = 0; } && {
1627 test -z "$ac_c_werror_flag" ||
1628 test ! -s conftest.err
1629 } && test -s conftest$ac_exeext && {
1630 test "$cross_compiling" = yes ||
d6ba7c28 1631 test -x conftest$ac_exeext
9931e273
DB
1632 }; then :
1633 ac_retval=0
1634else
1635 $as_echo "$as_me: failed program was:" >&5
1636sed 's/^/| /' conftest.$ac_ext >&5
1637
1638 ac_retval=1
1639fi
1640 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1641 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1642 # interfere with the next link command; also delete a directory that is
1643 # left behind by Apple's compiler. We do this before executing the actions.
1644 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1645 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1646 as_fn_set_status $ac_retval
1647
1648} # ac_fn_c_try_link
1649
d6ba7c28
AG
1650# ac_fn_c_check_func LINENO FUNC VAR
1651# ----------------------------------
1652# Tests whether FUNC exists, setting the cache variable VAR accordingly
1653ac_fn_c_check_func ()
1654{
1655 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1657$as_echo_n "checking for $2... " >&6; }
1658if eval \${$3+:} false; then :
1659 $as_echo_n "(cached) " >&6
1660else
1661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1662/* end confdefs.h. */
1663/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1664 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1665#define $2 innocuous_$2
1666
1667/* System header to define __stub macros and hopefully few prototypes,
1668 which can conflict with char $2 (); below.
1669 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1670 <limits.h> exists even on freestanding compilers. */
1671
1672#ifdef __STDC__
1673# include <limits.h>
1674#else
1675# include <assert.h>
1676#endif
1677
1678#undef $2
1679
1680/* Override any GCC internal prototype to avoid an error.
1681 Use char because int might match the return type of a GCC
1682 builtin and then its argument prototype would still apply. */
1683#ifdef __cplusplus
1684extern "C"
1685#endif
1686char $2 ();
1687/* The GNU C library defines this for functions which it implements
1688 to always fail with ENOSYS. Some functions are actually named
1689 something starting with __ and the normal name is an alias. */
1690#if defined __stub_$2 || defined __stub___$2
1691choke me
1692#endif
1693
1694int
1695main ()
1696{
1697return $2 ();
1698 ;
1699 return 0;
1700}
1701_ACEOF
1702if ac_fn_c_try_link "$LINENO"; then :
1703 eval "$3=yes"
1704else
1705 eval "$3=no"
1706fi
1707rm -f core conftest.err conftest.$ac_objext \
1708 conftest$ac_exeext conftest.$ac_ext
1709fi
1710eval ac_res=\$$3
1711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1712$as_echo "$ac_res" >&6; }
1713 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1714
1715} # ac_fn_c_check_func
1716
9931e273
DB
1717# ac_fn_c_try_cpp LINENO
1718# ----------------------
1719# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1720ac_fn_c_try_cpp ()
1721{
1722 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1723 if { { ac_try="$ac_cpp conftest.$ac_ext"
1724case "(($ac_try" in
1725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1726 *) ac_try_echo=$ac_try;;
1727esac
1728eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1729$as_echo "$ac_try_echo"; } >&5
1730 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1731 ac_status=$?
1732 if test -s conftest.err; then
1733 grep -v '^ *+' conftest.err >conftest.er1
1734 cat conftest.er1 >&5
1735 mv -f conftest.er1 conftest.err
1736 fi
1737 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1738 test $ac_status = 0; } > conftest.i && {
1739 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1740 test ! -s conftest.err
1741 }; then :
1742 ac_retval=0
1743else
1744 $as_echo "$as_me: failed program was:" >&5
1745sed 's/^/| /' conftest.$ac_ext >&5
1746
1747 ac_retval=1
1748fi
1749 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1750 as_fn_set_status $ac_retval
1751
1752} # ac_fn_c_try_cpp
1753
1754# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1755# -------------------------------------------------------
1756# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1757# the include files in INCLUDES and setting the cache variable VAR
1758# accordingly.
1759ac_fn_c_check_header_mongrel ()
1760{
1761 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1762 if eval \${$3+:} false; then :
1763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1764$as_echo_n "checking for $2... " >&6; }
1765if eval \${$3+:} false; then :
1766 $as_echo_n "(cached) " >&6
1767fi
1768eval ac_res=\$$3
1769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1770$as_echo "$ac_res" >&6; }
1771else
1772 # Is the header compilable?
1773{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1774$as_echo_n "checking $2 usability... " >&6; }
1775cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1776/* end confdefs.h. */
1777$4
1778#include <$2>
1779_ACEOF
1780if ac_fn_c_try_compile "$LINENO"; then :
1781 ac_header_compiler=yes
1782else
1783 ac_header_compiler=no
1784fi
1785rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1786{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1787$as_echo "$ac_header_compiler" >&6; }
1788
1789# Is the header present?
1790{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1791$as_echo_n "checking $2 presence... " >&6; }
1792cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1793/* end confdefs.h. */
1794#include <$2>
1795_ACEOF
1796if ac_fn_c_try_cpp "$LINENO"; then :
1797 ac_header_preproc=yes
1798else
1799 ac_header_preproc=no
1800fi
1801rm -f conftest.err conftest.i conftest.$ac_ext
1802{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1803$as_echo "$ac_header_preproc" >&6; }
1804
1805# So? What about this header?
1806case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1807 yes:no: )
1808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1809$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1811$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1812 ;;
1813 no:yes:* )
1814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1815$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1817$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1819$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1821$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1823$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1824( $as_echo "## ------------------------------- ##
1825## Report this to http://lxde.org/ ##
1826## ------------------------------- ##"
1827 ) | sed "s/^/$as_me: WARNING: /" >&2
1828 ;;
1829esac
1830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1831$as_echo_n "checking for $2... " >&6; }
1832if eval \${$3+:} false; then :
1833 $as_echo_n "(cached) " >&6
1834else
1835 eval "$3=\$ac_header_compiler"
1836fi
1837eval ac_res=\$$3
1838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1839$as_echo "$ac_res" >&6; }
1840fi
1841 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1842
1843} # ac_fn_c_check_header_mongrel
1844
1845# ac_fn_c_try_run LINENO
1846# ----------------------
1847# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1848# that executables *can* be run.
1849ac_fn_c_try_run ()
1850{
1851 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1852 if { { ac_try="$ac_link"
1853case "(($ac_try" in
1854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1855 *) ac_try_echo=$ac_try;;
1856esac
1857eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1858$as_echo "$ac_try_echo"; } >&5
1859 (eval "$ac_link") 2>&5
1860 ac_status=$?
1861 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1862 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1863 { { case "(($ac_try" in
1864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1865 *) ac_try_echo=$ac_try;;
1866esac
1867eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1868$as_echo "$ac_try_echo"; } >&5
1869 (eval "$ac_try") 2>&5
1870 ac_status=$?
1871 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1872 test $ac_status = 0; }; }; then :
1873 ac_retval=0
1874else
1875 $as_echo "$as_me: program exited with status $ac_status" >&5
1876 $as_echo "$as_me: failed program was:" >&5
1877sed 's/^/| /' conftest.$ac_ext >&5
1878
1879 ac_retval=$ac_status
1880fi
1881 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1882 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1883 as_fn_set_status $ac_retval
1884
1885} # ac_fn_c_try_run
1886
1887# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1888# -------------------------------------------------------
1889# Tests whether HEADER exists and can be compiled using the include files in
1890# INCLUDES, setting the cache variable VAR accordingly.
1891ac_fn_c_check_header_compile ()
1892{
1893 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1895$as_echo_n "checking for $2... " >&6; }
1896if eval \${$3+:} false; then :
1897 $as_echo_n "(cached) " >&6
1898else
1899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1900/* end confdefs.h. */
1901$4
1902#include <$2>
1903_ACEOF
1904if ac_fn_c_try_compile "$LINENO"; then :
1905 eval "$3=yes"
1906else
1907 eval "$3=no"
1908fi
1909rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1910fi
1911eval ac_res=\$$3
1912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1913$as_echo "$ac_res" >&6; }
1914 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1915
1916} # ac_fn_c_check_header_compile
1917
1918# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1919# -------------------------------------------
1920# Tests whether TYPE exists after having included INCLUDES, setting cache
1921# variable VAR accordingly.
1922ac_fn_c_check_type ()
1923{
1924 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1926$as_echo_n "checking for $2... " >&6; }
1927if eval \${$3+:} false; then :
1928 $as_echo_n "(cached) " >&6
1929else
1930 eval "$3=no"
1931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1932/* end confdefs.h. */
1933$4
1934int
1935main ()
1936{
1937if (sizeof ($2))
1938 return 0;
1939 ;
1940 return 0;
1941}
1942_ACEOF
1943if ac_fn_c_try_compile "$LINENO"; then :
1944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1945/* end confdefs.h. */
1946$4
1947int
1948main ()
1949{
1950if (sizeof (($2)))
1951 return 0;
1952 ;
1953 return 0;
1954}
1955_ACEOF
1956if ac_fn_c_try_compile "$LINENO"; then :
1957
1958else
1959 eval "$3=yes"
1960fi
1961rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1962fi
1963rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1964fi
1965eval ac_res=\$$3
1966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1967$as_echo "$ac_res" >&6; }
1968 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1969
1970} # ac_fn_c_check_type
9931e273
DB
1971cat >config.log <<_ACEOF
1972This file contains any messages produced by compilers while
1973running configure, to aid debugging if configure makes a mistake.
1974
c8e553a1 1975It was created by lxdm $as_me 0.5.1, which was
d6ba7c28 1976generated by GNU Autoconf 2.69. Invocation command line was
9931e273
DB
1977
1978 $ $0 $@
1979
1980_ACEOF
1981exec 5>>config.log
1982{
1983cat <<_ASUNAME
1984## --------- ##
1985## Platform. ##
1986## --------- ##
1987
1988hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1989uname -m = `(uname -m) 2>/dev/null || echo unknown`
1990uname -r = `(uname -r) 2>/dev/null || echo unknown`
1991uname -s = `(uname -s) 2>/dev/null || echo unknown`
1992uname -v = `(uname -v) 2>/dev/null || echo unknown`
1993
1994/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1995/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1996
1997/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1998/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1999/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2000/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2001/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2002/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2003/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2004
2005_ASUNAME
2006
2007as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2008for as_dir in $PATH
2009do
2010 IFS=$as_save_IFS
2011 test -z "$as_dir" && as_dir=.
2012 $as_echo "PATH: $as_dir"
2013 done
2014IFS=$as_save_IFS
2015
2016} >&5
2017
2018cat >&5 <<_ACEOF
2019
2020
2021## ----------- ##
2022## Core tests. ##
2023## ----------- ##
2024
2025_ACEOF
2026
2027
2028# Keep a trace of the command line.
2029# Strip out --no-create and --no-recursion so they do not pile up.
2030# Strip out --silent because we don't want to record it for future runs.
2031# Also quote any args containing shell meta-characters.
2032# Make two passes to allow for proper duplicate-argument suppression.
2033ac_configure_args=
2034ac_configure_args0=
2035ac_configure_args1=
2036ac_must_keep_next=false
2037for ac_pass in 1 2
2038do
2039 for ac_arg
2040 do
2041 case $ac_arg in
2042 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2043 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2044 | -silent | --silent | --silen | --sile | --sil)
2045 continue ;;
2046 *\'*)
2047 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2048 esac
2049 case $ac_pass in
2050 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2051 2)
2052 as_fn_append ac_configure_args1 " '$ac_arg'"
2053 if test $ac_must_keep_next = true; then
2054 ac_must_keep_next=false # Got value, back to normal.
2055 else
2056 case $ac_arg in
2057 *=* | --config-cache | -C | -disable-* | --disable-* \
2058 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2059 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2060 | -with-* | --with-* | -without-* | --without-* | --x)
2061 case "$ac_configure_args0 " in
2062 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2063 esac
2064 ;;
2065 -* ) ac_must_keep_next=true ;;
2066 esac
2067 fi
2068 as_fn_append ac_configure_args " '$ac_arg'"
2069 ;;
2070 esac
2071 done
2072done
2073{ ac_configure_args0=; unset ac_configure_args0;}
2074{ ac_configure_args1=; unset ac_configure_args1;}
2075
2076# When interrupted or exit'd, cleanup temporary files, and complete
2077# config.log. We remove comments because anyway the quotes in there
2078# would cause problems or look ugly.
2079# WARNING: Use '\'' to represent an apostrophe within the trap.
2080# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2081trap 'exit_status=$?
2082 # Save into config.log some information that might help in debugging.
2083 {
2084 echo
2085
2086 $as_echo "## ---------------- ##
2087## Cache variables. ##
2088## ---------------- ##"
2089 echo
2090 # The following way of writing the cache mishandles newlines in values,
2091(
2092 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2093 eval ac_val=\$$ac_var
2094 case $ac_val in #(
2095 *${as_nl}*)
2096 case $ac_var in #(
2097 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2098$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2099 esac
2100 case $ac_var in #(
2101 _ | IFS | as_nl) ;; #(
2102 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2103 *) { eval $ac_var=; unset $ac_var;} ;;
2104 esac ;;
2105 esac
2106 done
2107 (set) 2>&1 |
2108 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2109 *${as_nl}ac_space=\ *)
2110 sed -n \
2111 "s/'\''/'\''\\\\'\'''\''/g;
2112 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2113 ;; #(
2114 *)
2115 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2116 ;;
2117 esac |
2118 sort
2119)
2120 echo
2121
2122 $as_echo "## ----------------- ##
2123## Output variables. ##
2124## ----------------- ##"
2125 echo
2126 for ac_var in $ac_subst_vars
2127 do
2128 eval ac_val=\$$ac_var
2129 case $ac_val in
2130 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2131 esac
2132 $as_echo "$ac_var='\''$ac_val'\''"
2133 done | sort
2134 echo
2135
2136 if test -n "$ac_subst_files"; then
2137 $as_echo "## ------------------- ##
2138## File substitutions. ##
2139## ------------------- ##"
2140 echo
2141 for ac_var in $ac_subst_files
2142 do
2143 eval ac_val=\$$ac_var
2144 case $ac_val in
2145 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2146 esac
2147 $as_echo "$ac_var='\''$ac_val'\''"
2148 done | sort
2149 echo
2150 fi
2151
2152 if test -s confdefs.h; then
2153 $as_echo "## ----------- ##
2154## confdefs.h. ##
2155## ----------- ##"
2156 echo
2157 cat confdefs.h
2158 echo
2159 fi
2160 test "$ac_signal" != 0 &&
2161 $as_echo "$as_me: caught signal $ac_signal"
2162 $as_echo "$as_me: exit $exit_status"
2163 } >&5
2164 rm -f core *.core core.conftest.* &&
2165 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2166 exit $exit_status
2167' 0
2168for ac_signal in 1 2 13 15; do
2169 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2170done
2171ac_signal=0
2172
2173# confdefs.h avoids OS command line length limits that DEFS can exceed.
2174rm -f -r conftest* confdefs.h
2175
2176$as_echo "/* confdefs.h */" > confdefs.h
2177
2178# Predefined preprocessor variables.
2179
2180cat >>confdefs.h <<_ACEOF
2181#define PACKAGE_NAME "$PACKAGE_NAME"
2182_ACEOF
2183
2184cat >>confdefs.h <<_ACEOF
2185#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2186_ACEOF
2187
2188cat >>confdefs.h <<_ACEOF
2189#define PACKAGE_VERSION "$PACKAGE_VERSION"
2190_ACEOF
2191
2192cat >>confdefs.h <<_ACEOF
2193#define PACKAGE_STRING "$PACKAGE_STRING"
2194_ACEOF
2195
2196cat >>confdefs.h <<_ACEOF
2197#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2198_ACEOF
2199
2200cat >>confdefs.h <<_ACEOF
2201#define PACKAGE_URL "$PACKAGE_URL"
2202_ACEOF
2203
2204
2205# Let the site file select an alternate cache file if it wants to.
2206# Prefer an explicitly selected file to automatically selected ones.
2207ac_site_file1=NONE
2208ac_site_file2=NONE
2209if test -n "$CONFIG_SITE"; then
2210 # We do not want a PATH search for config.site.
2211 case $CONFIG_SITE in #((
2212 -*) ac_site_file1=./$CONFIG_SITE;;
2213 */*) ac_site_file1=$CONFIG_SITE;;
2214 *) ac_site_file1=./$CONFIG_SITE;;
2215 esac
2216elif test "x$prefix" != xNONE; then
2217 ac_site_file1=$prefix/share/config.site
2218 ac_site_file2=$prefix/etc/config.site
2219else
2220 ac_site_file1=$ac_default_prefix/share/config.site
2221 ac_site_file2=$ac_default_prefix/etc/config.site
2222fi
2223for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2224do
2225 test "x$ac_site_file" = xNONE && continue
2226 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2228$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2229 sed 's/^/| /' "$ac_site_file" >&5
2230 . "$ac_site_file" \
2231 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2232$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2233as_fn_error $? "failed to load site script $ac_site_file
2234See \`config.log' for more details" "$LINENO" 5; }
2235 fi
2236done
2237
2238if test -r "$cache_file"; then
2239 # Some versions of bash will fail to source /dev/null (special files
2240 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2241 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2243$as_echo "$as_me: loading cache $cache_file" >&6;}
2244 case $cache_file in
2245 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2246 *) . "./$cache_file";;
2247 esac
2248 fi
2249else
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2251$as_echo "$as_me: creating cache $cache_file" >&6;}
2252 >$cache_file
2253fi
2254
2255# Check that the precious variables saved in the cache have kept the same
2256# value.
2257ac_cache_corrupted=false
2258for ac_var in $ac_precious_vars; do
2259 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2260 eval ac_new_set=\$ac_env_${ac_var}_set
2261 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2262 eval ac_new_val=\$ac_env_${ac_var}_value
2263 case $ac_old_set,$ac_new_set in
2264 set,)
2265 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2266$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2267 ac_cache_corrupted=: ;;
2268 ,set)
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2270$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2271 ac_cache_corrupted=: ;;
2272 ,);;
2273 *)
2274 if test "x$ac_old_val" != "x$ac_new_val"; then
2275 # differences in whitespace do not lead to failure.
2276 ac_old_val_w=`echo x $ac_old_val`
2277 ac_new_val_w=`echo x $ac_new_val`
2278 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2279 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2280$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2281 ac_cache_corrupted=:
2282 else
2283 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2284$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2285 eval $ac_var=\$ac_old_val
2286 fi
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2288$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2290$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2291 fi;;
2292 esac
2293 # Pass precious variables to config.status.
2294 if test "$ac_new_set" = set; then
2295 case $ac_new_val in
2296 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2297 *) ac_arg=$ac_var=$ac_new_val ;;
2298 esac
2299 case " $ac_configure_args " in
2300 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2301 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2302 esac
2303 fi
2304done
2305if $ac_cache_corrupted; then
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2307$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2308 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2309$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2310 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2311fi
2312## -------------------- ##
2313## Main body of script. ##
2314## -------------------- ##
2315
2316ac_ext=c
2317ac_cpp='$CPP $CPPFLAGS'
2318ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2319ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2320ac_compiler_gnu=$ac_cv_c_compiler_gnu
2321
2322
c8e553a1 2323am__api_version='1.14'
9931e273
DB
2324
2325ac_aux_dir=
2326for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2327 if test -f "$ac_dir/install-sh"; then
2328 ac_aux_dir=$ac_dir
2329 ac_install_sh="$ac_aux_dir/install-sh -c"
2330 break
2331 elif test -f "$ac_dir/install.sh"; then
2332 ac_aux_dir=$ac_dir
2333 ac_install_sh="$ac_aux_dir/install.sh -c"
2334 break
2335 elif test -f "$ac_dir/shtool"; then
2336 ac_aux_dir=$ac_dir
2337 ac_install_sh="$ac_aux_dir/shtool install -c"
2338 break
2339 fi
2340done
2341if test -z "$ac_aux_dir"; then
2342 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2343fi
2344
2345# These three variables are undocumented and unsupported,
2346# and are intended to be withdrawn in a future Autoconf release.
2347# They can cause serious problems if a builder's source tree is in a directory
2348# whose full name contains unusual characters.
2349ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2350ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2351ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2352
2353
2354# Find a good install program. We prefer a C program (faster),
2355# so one script is as good as another. But avoid the broken or
2356# incompatible versions:
2357# SysV /etc/install, /usr/sbin/install
2358# SunOS /usr/etc/install
2359# IRIX /sbin/install
2360# AIX /bin/install
2361# AmigaOS /C/install, which installs bootblocks on floppy discs
2362# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2363# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2364# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2365# OS/2's system install, which has a completely different semantic
2366# ./install, which can be erroneously created by make from ./install.sh.
2367# Reject install programs that cannot install multiple files.
2368{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2369$as_echo_n "checking for a BSD-compatible install... " >&6; }
2370if test -z "$INSTALL"; then
2371if ${ac_cv_path_install+:} false; then :
2372 $as_echo_n "(cached) " >&6
2373else
2374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2375for as_dir in $PATH
2376do
2377 IFS=$as_save_IFS
2378 test -z "$as_dir" && as_dir=.
2379 # Account for people who put trailing slashes in PATH elements.
2380case $as_dir/ in #((
2381 ./ | .// | /[cC]/* | \
2382 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2383 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2384 /usr/ucb/* ) ;;
2385 *)
2386 # OSF1 and SCO ODT 3.0 have their own names for install.
2387 # Don't use installbsd from OSF since it installs stuff as root
2388 # by default.
2389 for ac_prog in ginstall scoinst install; do
2390 for ac_exec_ext in '' $ac_executable_extensions; do
d6ba7c28 2391 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
9931e273
DB
2392 if test $ac_prog = install &&
2393 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2394 # AIX install. It has an incompatible calling convention.
2395 :
2396 elif test $ac_prog = install &&
2397 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2398 # program-specific install script used by HP pwplus--don't use.
2399 :
2400 else
2401 rm -rf conftest.one conftest.two conftest.dir
2402 echo one > conftest.one
2403 echo two > conftest.two
2404 mkdir conftest.dir
2405 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2406 test -s conftest.one && test -s conftest.two &&
2407 test -s conftest.dir/conftest.one &&
2408 test -s conftest.dir/conftest.two
2409 then
2410 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2411 break 3
2412 fi
2413 fi
2414 fi
2415 done
2416 done
2417 ;;
2418esac
2419
2420 done
2421IFS=$as_save_IFS
2422
2423rm -rf conftest.one conftest.two conftest.dir
2424
2425fi
2426 if test "${ac_cv_path_install+set}" = set; then
2427 INSTALL=$ac_cv_path_install
2428 else
2429 # As a last resort, use the slow shell script. Don't cache a
2430 # value for INSTALL within a source directory, because that will
2431 # break other packages using the cache if that directory is
2432 # removed, or if the value is a relative name.
2433 INSTALL=$ac_install_sh
2434 fi
2435fi
2436{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2437$as_echo "$INSTALL" >&6; }
2438
2439# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2440# It thinks the first close brace ends the variable substitution.
2441test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2442
2443test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2444
2445test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2446
2447{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2448$as_echo_n "checking whether build environment is sane... " >&6; }
9931e273
DB
2449# Reject unsafe characters in $srcdir or the absolute working directory
2450# name. Accept space and tab only in the latter.
2451am_lf='
2452'
2453case `pwd` in
2454 *[\\\"\#\$\&\'\`$am_lf]*)
2455 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2456esac
2457case $srcdir in
2458 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
d6ba7c28 2459 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
9931e273
DB
2460esac
2461
d6ba7c28 2462# Do 'set' in a subshell so we don't clobber the current shell's
9931e273
DB
2463# arguments. Must try -L first in case configure is actually a
2464# symlink; some systems play weird games with the mod time of symlinks
2465# (eg FreeBSD returns the mod time of the symlink's containing
2466# directory).
2467if (
d6ba7c28
AG
2468 am_has_slept=no
2469 for am_try in 1 2; do
2470 echo "timestamp, slept: $am_has_slept" > conftest.file
2471 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2472 if test "$*" = "X"; then
2473 # -L didn't work.
2474 set X `ls -t "$srcdir/configure" conftest.file`
2475 fi
2476 if test "$*" != "X $srcdir/configure conftest.file" \
2477 && test "$*" != "X conftest.file $srcdir/configure"; then
2478
2479 # If neither matched, then we have a broken ls. This can happen
2480 # if, for instance, CONFIG_SHELL is bash and it inherits a
2481 # broken ls alias from the environment. This has actually
2482 # happened. Such a system could not be considered "sane".
2483 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2484 alias in your environment" "$LINENO" 5
2485 fi
2486 if test "$2" = conftest.file || test $am_try -eq 2; then
2487 break
2488 fi
2489 # Just in case.
2490 sleep 1
2491 am_has_slept=yes
2492 done
9931e273
DB
2493 test "$2" = conftest.file
2494 )
2495then
2496 # Ok.
2497 :
2498else
2499 as_fn_error $? "newly created file is older than distributed files!
2500Check your system clock" "$LINENO" 5
2501fi
2502{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2503$as_echo "yes" >&6; }
d6ba7c28
AG
2504# If we didn't sleep, we still need to ensure time stamps of config.status and
2505# generated files are strictly newer.
2506am_sleep_pid=
2507if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2508 ( sleep 1 ) &
2509 am_sleep_pid=$!
2510fi
2511
2512rm -f conftest.file
2513
9931e273
DB
2514test "$program_prefix" != NONE &&
2515 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2516# Use a double $ so make ignores it.
2517test "$program_suffix" != NONE &&
2518 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2519# Double any \ or $.
2520# By default was `s,x,x', remove it if useless.
2521ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2522program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2523
2524# expand $ac_aux_dir to an absolute path
2525am_aux_dir=`cd $ac_aux_dir && pwd`
2526
2527if test x"${MISSING+set}" != xset; then
2528 case $am_aux_dir in
2529 *\ * | *\ *)
2530 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2531 *)
2532 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2533 esac
2534fi
2535# Use eval to expand $SHELL
d6ba7c28
AG
2536if eval "$MISSING --is-lightweight"; then
2537 am_missing_run="$MISSING "
9931e273
DB
2538else
2539 am_missing_run=
d6ba7c28
AG
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2541$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
9931e273
DB
2542fi
2543
2544if test x"${install_sh}" != xset; then
2545 case $am_aux_dir in
2546 *\ * | *\ *)
2547 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2548 *)
2549 install_sh="\${SHELL} $am_aux_dir/install-sh"
2550 esac
2551fi
2552
d6ba7c28
AG
2553# Installed binaries are usually stripped using 'strip' when the user
2554# run "make install-strip". However 'strip' might not be the right
9931e273 2555# tool to use in cross-compilation environments, therefore Automake
d6ba7c28 2556# will honor the 'STRIP' environment variable to overrule this program.
9931e273
DB
2557if test "$cross_compiling" != no; then
2558 if test -n "$ac_tool_prefix"; then
2559 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2560set dummy ${ac_tool_prefix}strip; ac_word=$2
2561{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2562$as_echo_n "checking for $ac_word... " >&6; }
2563if ${ac_cv_prog_STRIP+:} false; then :
2564 $as_echo_n "(cached) " >&6
2565else
2566 if test -n "$STRIP"; then
2567 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2568else
2569as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2570for as_dir in $PATH
2571do
2572 IFS=$as_save_IFS
2573 test -z "$as_dir" && as_dir=.
2574 for ac_exec_ext in '' $ac_executable_extensions; do
d6ba7c28 2575 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9931e273
DB
2576 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2578 break 2
2579 fi
2580done
2581 done
2582IFS=$as_save_IFS
2583
2584fi
2585fi
2586STRIP=$ac_cv_prog_STRIP
2587if test -n "$STRIP"; then
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2589$as_echo "$STRIP" >&6; }
2590else
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2592$as_echo "no" >&6; }
2593fi
2594
2595
2596fi
2597if test -z "$ac_cv_prog_STRIP"; then
2598 ac_ct_STRIP=$STRIP
2599 # Extract the first word of "strip", so it can be a program name with args.
2600set dummy strip; ac_word=$2
2601{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2602$as_echo_n "checking for $ac_word... " >&6; }
2603if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2604 $as_echo_n "(cached) " >&6
2605else
2606 if test -n "$ac_ct_STRIP"; then
2607 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2608else
2609as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2610for as_dir in $PATH
2611do
2612 IFS=$as_save_IFS
2613 test -z "$as_dir" && as_dir=.
2614 for ac_exec_ext in '' $ac_executable_extensions; do
d6ba7c28 2615 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9931e273
DB
2616 ac_cv_prog_ac_ct_STRIP="strip"
2617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2618 break 2
2619 fi
2620done
2621 done
2622IFS=$as_save_IFS
2623
2624fi
2625fi
2626ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2627if test -n "$ac_ct_STRIP"; then
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2629$as_echo "$ac_ct_STRIP" >&6; }
2630else
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2632$as_echo "no" >&6; }
2633fi
2634
2635 if test "x$ac_ct_STRIP" = x; then
2636 STRIP=":"
2637 else
2638 case $cross_compiling:$ac_tool_warned in
2639yes:)
2640{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2641$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2642ac_tool_warned=yes ;;
2643esac
2644 STRIP=$ac_ct_STRIP
2645 fi
2646else
2647 STRIP="$ac_cv_prog_STRIP"
2648fi
2649
2650fi
2651INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2652
2653{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2654$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2655if test -z "$MKDIR_P"; then
2656 if ${ac_cv_path_mkdir+:} false; then :
2657 $as_echo_n "(cached) " >&6
2658else
2659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2660for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2661do
2662 IFS=$as_save_IFS
2663 test -z "$as_dir" && as_dir=.
2664 for ac_prog in mkdir gmkdir; do
2665 for ac_exec_ext in '' $ac_executable_extensions; do
d6ba7c28 2666 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
9931e273
DB
2667 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2668 'mkdir (GNU coreutils) '* | \
2669 'mkdir (coreutils) '* | \
2670 'mkdir (fileutils) '4.1*)
2671 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2672 break 3;;
2673 esac
2674 done
2675 done
2676 done
2677IFS=$as_save_IFS
2678
2679fi
2680
2681 test -d ./--version && rmdir ./--version
2682 if test "${ac_cv_path_mkdir+set}" = set; then
2683 MKDIR_P="$ac_cv_path_mkdir -p"
2684 else
2685 # As a last resort, use the slow shell script. Don't cache a
2686 # value for MKDIR_P within a source directory, because that will
2687 # break other packages using the cache if that directory is
2688 # removed, or if the value is a relative name.
2689 MKDIR_P="$ac_install_sh -d"
2690 fi
2691fi
2692{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2693$as_echo "$MKDIR_P" >&6; }
2694
9931e273
DB
2695for ac_prog in gawk mawk nawk awk
2696do
2697 # Extract the first word of "$ac_prog", so it can be a program name with args.
2698set dummy $ac_prog; ac_word=$2
2699{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2700$as_echo_n "checking for $ac_word... " >&6; }
2701if ${ac_cv_prog_AWK+:} false; then :
2702 $as_echo_n "(cached) " >&6
2703else
2704 if test -n "$AWK"; then
2705 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2706else
2707as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2708for as_dir in $PATH
2709do
2710 IFS=$as_save_IFS
2711 test -z "$as_dir" && as_dir=.
2712 for ac_exec_ext in '' $ac_executable_extensions; do
d6ba7c28 2713 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9931e273
DB
2714 ac_cv_prog_AWK="$ac_prog"
2715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2716 break 2
2717 fi
2718done
2719 done
2720IFS=$as_save_IFS
2721
2722fi
2723fi
2724AWK=$ac_cv_prog_AWK
2725if test -n "$AWK"; then
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2727$as_echo "$AWK" >&6; }
2728else
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2730$as_echo "no" >&6; }
2731fi
2732
2733
2734 test -n "$AWK" && break
2735done
2736
2737{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2738$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2739set x ${MAKE-make}
2740ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2741if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2742 $as_echo_n "(cached) " >&6
2743else
2744 cat >conftest.make <<\_ACEOF
2745SHELL = /bin/sh
2746all:
2747 @echo '@@@%%%=$(MAKE)=@@@%%%'
2748_ACEOF
2749# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2750case `${MAKE-make} -f conftest.make 2>/dev/null` in
2751 *@@@%%%=?*=@@@%%%*)
2752 eval ac_cv_prog_make_${ac_make}_set=yes;;
2753 *)
2754 eval ac_cv_prog_make_${ac_make}_set=no;;
2755esac
2756rm -f conftest.make
2757fi
2758if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2760$as_echo "yes" >&6; }
2761 SET_MAKE=
2762else
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2764$as_echo "no" >&6; }
2765 SET_MAKE="MAKE=${MAKE-make}"
2766fi
2767
2768rm -rf .tst 2>/dev/null
2769mkdir .tst 2>/dev/null
2770if test -d .tst; then
2771 am__leading_dot=.
2772else
2773 am__leading_dot=_
2774fi
2775rmdir .tst 2>/dev/null
2776
d6ba7c28
AG
2777# Check whether --enable-silent-rules was given.
2778if test "${enable_silent_rules+set}" = set; then :
2779 enableval=$enable_silent_rules;
2780fi
2781
2782case $enable_silent_rules in # (((
2783 yes) AM_DEFAULT_VERBOSITY=0;;
2784 no) AM_DEFAULT_VERBOSITY=1;;
2785 *) AM_DEFAULT_VERBOSITY=1;;
2786esac
2787am_make=${MAKE-make}
2788{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2789$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2790if ${am_cv_make_support_nested_variables+:} false; then :
2791 $as_echo_n "(cached) " >&6
2792else
2793 if $as_echo 'TRUE=$(BAR$(V))
2794BAR0=false
2795BAR1=true
2796V=1
2797am__doit:
2798 @$(TRUE)
2799.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2800 am_cv_make_support_nested_variables=yes
2801else
2802 am_cv_make_support_nested_variables=no
2803fi
2804fi
2805{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2806$as_echo "$am_cv_make_support_nested_variables" >&6; }
2807if test $am_cv_make_support_nested_variables = yes; then
2808 AM_V='$(V)'
2809 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2810else
2811 AM_V=$AM_DEFAULT_VERBOSITY
2812 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2813fi
2814AM_BACKSLASH='\'
2815
9931e273
DB
2816if test "`cd $srcdir && pwd`" != "`pwd`"; then
2817 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2818 # is not polluted with repeated "-I."
2819 am__isrc=' -I$(srcdir)'
2820 # test to see if srcdir already configured
2821 if test -f $srcdir/config.status; then
2822 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2823 fi
2824fi
2825
2826# test whether we have cygpath
2827if test -z "$CYGPATH_W"; then
2828 if (cygpath --version) >/dev/null 2>/dev/null; then
2829 CYGPATH_W='cygpath -w'
2830 else
2831 CYGPATH_W=echo
2832 fi
2833fi
2834
2835
2836# Define the identity of the package.
2837 PACKAGE='lxdm'
c8e553a1 2838 VERSION='0.5.1'
9931e273
DB
2839
2840
2841cat >>confdefs.h <<_ACEOF
2842#define PACKAGE "$PACKAGE"
2843_ACEOF
2844
2845
2846cat >>confdefs.h <<_ACEOF
2847#define VERSION "$VERSION"
2848_ACEOF
2849
2850# Some tools Automake needs.
2851
2852ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2853
2854
2855AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2856
2857
2858AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2859
2860
2861AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2862
2863
2864MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2865
d6ba7c28
AG
2866# For better backward compatibility. To be removed once Automake 1.9.x
2867# dies out for good. For more background, see:
2868# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2869# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2870mkdir_p='$(MKDIR_P)'
2871
9931e273
DB
2872# We need awk for the "check" target. The system "awk" is bad on
2873# some platforms.
d6ba7c28
AG
2874# Always define AMTAR for backward compatibility. Yes, it's still used
2875# in the wild :-( We should find a proper way to deprecate it ...
2876AMTAR='$${TAR-tar}'
9931e273 2877
9931e273 2878
d6ba7c28
AG
2879# We'll loop over all known methods to create a tar archive until one works.
2880_am_tools='gnutar pax cpio none'
2881
2882am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2883
9931e273
DB
2884
2885
2886
2887
2888
c8e553a1
AG
2889# POSIX will say in a future version that running "rm -f" with no argument
2890# is OK; and we want to be able to make that assumption in our Makefile
2891# recipes. So use an aggressive probe to check that the usage we want is
2892# actually supported "in the wild" to an acceptable degree.
2893# See automake bug#10828.
2894# To make any issue more visible, cause the running configure to be aborted
2895# by default if the 'rm' program in use doesn't match our expectations; the
2896# user can still override this though.
2897if rm -f && rm -fr && rm -rf; then : OK; else
2898 cat >&2 <<'END'
2899Oops!
2900
2901Your 'rm' program seems unable to run without file operands specified
2902on the command line, even when the '-f' option is present. This is contrary
2903to the behaviour of most rm programs out there, and not conforming with
2904the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2905
2906Please tell bug-automake@gnu.org about your system, including the value
2907of your $PATH and any error possibly output before this message. This
2908can help us improve future automake versions.
2909
2910END
2911 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2912 echo 'Configuration will proceed anyway, since you have set the' >&2
2913 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2914 echo >&2
2915 else
2916 cat >&2 <<'END'
2917Aborting the configuration process, to ensure you take notice of the issue.
2918
2919You can download and install GNU coreutils to get an 'rm' implementation
2920that behaves properly: <http://www.gnu.org/software/coreutils/>.
2921
2922If you want to complete the configuration process using your problematic
2923'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2924to "yes", and re-run configure.
2925
2926END
2927 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2928 fi
2929fi
9931e273
DB
2930
2931
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
3875 if test "$am_compiler_list" = ""; then
3876 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3877 fi
3878 am__universal=false
3879 case " $depcc " in #(
3880 *\ -arch\ *\ -arch\ *) am__universal=true ;;<