Changing Maintainer e-mail to Alioth based one.
[debian/lxdm.git] / configure
CommitLineData
9931e273
DB
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
d6ba7c28 3# Generated by GNU Autoconf 2.69 for lxdm 0.5.0.
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'
d6ba7c28
AG
583PACKAGE_VERSION='0.5.0'
584PACKAGE_STRING='lxdm 0.5.0'
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
629GETTEXT_PACKAGE
d6ba7c28
AG
630HAVE_SYSTEMD_FALSE
631HAVE_SYSTEMD_TRUE
632systemdsystemunitdir
9931e273
DB
633XCONN_LIBS
634XCONN_CFLAGS
635CONSOLEKIT_LIBS
636CONSOLEKIT_CFLAGS
637GTK_LIBS
638GTK_CFLAGS
639GDK_LIBS
640GDK_CFLAGS
641GLIB_LIBS
642GLIB_CFLAGS
643XLIB_LIBS
644XLIB_CFLAGS
645PKG_CONFIG_LIBDIR
646PKG_CONFIG_PATH
647PKG_CONFIG
648DATADIRNAME
649ALL_LINGUAS
650INTLTOOL_PERL
651GMSGFMT
652MSGFMT
653MSGMERGE
654XGETTEXT
655INTLTOOL_POLICY_RULE
656INTLTOOL_SERVICE_RULE
657INTLTOOL_THEME_RULE
658INTLTOOL_SCHEMAS_RULE
659INTLTOOL_CAVES_RULE
660INTLTOOL_XML_NOMERGE_RULE
661INTLTOOL_XML_RULE
662INTLTOOL_KBD_RULE
663INTLTOOL_XAM_RULE
664INTLTOOL_UI_RULE
665INTLTOOL_SOUNDLIST_RULE
666INTLTOOL_SHEET_RULE
667INTLTOOL_SERVER_RULE
668INTLTOOL_PONG_RULE
669INTLTOOL_OAF_RULE
670INTLTOOL_PROP_RULE
671INTLTOOL_KEYS_RULE
672INTLTOOL_DIRECTORY_RULE
673INTLTOOL_DESKTOP_RULE
d6ba7c28
AG
674intltool__v_merge_options_0
675intltool__v_merge_options_
676INTLTOOL_V_MERGE_OPTIONS
677INTLTOOL__v_MERGE_0
678INTLTOOL__v_MERGE_
679INTLTOOL_V_MERGE
9931e273
DB
680INTLTOOL_EXTRACT
681INTLTOOL_MERGE
682INTLTOOL_UPDATE
683USE_NLS
684EGREP
685GREP
686CPP
687XMKMF
d6ba7c28
AG
688HAVE_PAM_FALSE
689HAVE_PAM_TRUE
9931e273
DB
690am__fastdepCC_FALSE
691am__fastdepCC_TRUE
692CCDEPMODE
d6ba7c28 693am__nodep
9931e273
DB
694AMDEPBACKSLASH
695AMDEP_FALSE
696AMDEP_TRUE
697am__quote
698am__include
699DEPDIR
700OBJEXT
701EXEEXT
702ac_ct_CC
703CPPFLAGS
704LDFLAGS
705CFLAGS
706CC
d6ba7c28
AG
707AM_BACKSLASH
708AM_DEFAULT_VERBOSITY
709AM_DEFAULT_V
710AM_V
9931e273
DB
711am__untar
712am__tar
713AMTAR
714am__leading_dot
715SET_MAKE
716AWK
717mkdir_p
718MKDIR_P
719INSTALL_STRIP_PROGRAM
720STRIP
721install_sh
722MAKEINFO
723AUTOHEADER
724AUTOMAKE
725AUTOCONF
726ACLOCAL
727VERSION
728PACKAGE
729CYGPATH_W
730am__isrc
731INSTALL_DATA
732INSTALL_SCRIPT
733INSTALL_PROGRAM
734target_alias
735host_alias
736build_alias
737LIBS
738ECHO_T
739ECHO_N
740ECHO_C
741DEFS
742mandir
743localedir
744libdir
745psdir
746pdfdir
747dvidir
748htmldir
749infodir
750docdir
751oldincludedir
752includedir
753localstatedir
754sharedstatedir
755sysconfdir
756datadir
757datarootdir
758libexecdir
759sbindir
760bindir
761program_transform_name
762prefix
763exec_prefix
764PACKAGE_URL
765PACKAGE_BUGREPORT
766PACKAGE_STRING
767PACKAGE_VERSION
768PACKAGE_TARNAME
769PACKAGE_NAME
770PATH_SEPARATOR
771SHELL'
772ac_subst_files=''
773ac_user_opts='
774enable_option_checking
d6ba7c28 775enable_silent_rules
9931e273
DB
776enable_dependency_tracking
777with_pam
778with_x
779enable_nls
780enable_gtk3
d6ba7c28 781enable_consolekit
9931e273
DB
782enable_password
783enable_xauth
784enable_debug
785with_xconn
d6ba7c28 786with_systemdsystemunitdir
9931e273
DB
787'
788 ac_precious_vars='build_alias
789host_alias
790target_alias
791CC
792CFLAGS
793LDFLAGS
794LIBS
795CPPFLAGS
796XMKMF
797CPP
798PKG_CONFIG
799PKG_CONFIG_PATH
800PKG_CONFIG_LIBDIR
801XLIB_CFLAGS
802XLIB_LIBS
803GLIB_CFLAGS
804GLIB_LIBS
805GDK_CFLAGS
806GDK_LIBS
807GTK_CFLAGS
808GTK_LIBS
809CONSOLEKIT_CFLAGS
810CONSOLEKIT_LIBS
811XCONN_CFLAGS
812XCONN_LIBS'
813
814
815# Initialize some variables set by options.
816ac_init_help=
817ac_init_version=false
818ac_unrecognized_opts=
819ac_unrecognized_sep=
820# The variables have the same names as the options, with
821# dashes changed to underlines.
822cache_file=/dev/null
823exec_prefix=NONE
824no_create=
825no_recursion=
826prefix=NONE
827program_prefix=NONE
828program_suffix=NONE
829program_transform_name=s,x,x,
830silent=
831site=
832srcdir=
833verbose=
834x_includes=NONE
835x_libraries=NONE
836
837# Installation directory options.
838# These are left unexpanded so users can "make install exec_prefix=/foo"
839# and all the variables that are supposed to be based on exec_prefix
840# by default will actually change.
841# Use braces instead of parens because sh, perl, etc. also accept them.
842# (The list follows the same order as the GNU Coding Standards.)
843bindir='${exec_prefix}/bin'
844sbindir='${exec_prefix}/sbin'
845libexecdir='${exec_prefix}/libexec'
846datarootdir='${prefix}/share'
847datadir='${datarootdir}'
848sysconfdir='${prefix}/etc'
849sharedstatedir='${prefix}/com'
850localstatedir='${prefix}/var'
851includedir='${prefix}/include'
852oldincludedir='/usr/include'
853docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
854infodir='${datarootdir}/info'
855htmldir='${docdir}'
856dvidir='${docdir}'
857pdfdir='${docdir}'
858psdir='${docdir}'
859libdir='${exec_prefix}/lib'
860localedir='${datarootdir}/locale'
861mandir='${datarootdir}/man'
862
863ac_prev=
864ac_dashdash=
865for ac_option
866do
867 # If the previous option needs an argument, assign it.
868 if test -n "$ac_prev"; then
869 eval $ac_prev=\$ac_option
870 ac_prev=
871 continue
872 fi
873
874 case $ac_option in
875 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
876 *=) ac_optarg= ;;
877 *) ac_optarg=yes ;;
878 esac
879
880 # Accept the important Cygnus configure options, so we can diagnose typos.
881
882 case $ac_dashdash$ac_option in
883 --)
884 ac_dashdash=yes ;;
885
886 -bindir | --bindir | --bindi | --bind | --bin | --bi)
887 ac_prev=bindir ;;
888 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
889 bindir=$ac_optarg ;;
890
891 -build | --build | --buil | --bui | --bu)
892 ac_prev=build_alias ;;
893 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
894 build_alias=$ac_optarg ;;
895
896 -cache-file | --cache-file | --cache-fil | --cache-fi \
897 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
898 ac_prev=cache_file ;;
899 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
900 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
901 cache_file=$ac_optarg ;;
902
903 --config-cache | -C)
904 cache_file=config.cache ;;
905
906 -datadir | --datadir | --datadi | --datad)
907 ac_prev=datadir ;;
908 -datadir=* | --datadir=* | --datadi=* | --datad=*)
909 datadir=$ac_optarg ;;
910
911 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
912 | --dataroo | --dataro | --datar)
913 ac_prev=datarootdir ;;
914 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
915 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
916 datarootdir=$ac_optarg ;;
917
918 -disable-* | --disable-*)
919 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
920 # Reject names that are not valid shell variable names.
921 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
922 as_fn_error $? "invalid feature name: $ac_useropt"
923 ac_useropt_orig=$ac_useropt
924 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
925 case $ac_user_opts in
926 *"
927"enable_$ac_useropt"
928"*) ;;
929 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
930 ac_unrecognized_sep=', ';;
931 esac
932 eval enable_$ac_useropt=no ;;
933
934 -docdir | --docdir | --docdi | --doc | --do)
935 ac_prev=docdir ;;
936 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
937 docdir=$ac_optarg ;;
938
939 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
940 ac_prev=dvidir ;;
941 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
942 dvidir=$ac_optarg ;;
943
944 -enable-* | --enable-*)
945 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
946 # Reject names that are not valid shell variable names.
947 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
948 as_fn_error $? "invalid feature name: $ac_useropt"
949 ac_useropt_orig=$ac_useropt
950 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
951 case $ac_user_opts in
952 *"
953"enable_$ac_useropt"
954"*) ;;
955 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
956 ac_unrecognized_sep=', ';;
957 esac
958 eval enable_$ac_useropt=\$ac_optarg ;;
959
960 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
961 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
962 | --exec | --exe | --ex)
963 ac_prev=exec_prefix ;;
964 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
965 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
966 | --exec=* | --exe=* | --ex=*)
967 exec_prefix=$ac_optarg ;;
968
969 -gas | --gas | --ga | --g)
970 # Obsolete; use --with-gas.
971 with_gas=yes ;;
972
973 -help | --help | --hel | --he | -h)
974 ac_init_help=long ;;
975 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
976 ac_init_help=recursive ;;
977 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
978 ac_init_help=short ;;
979
980 -host | --host | --hos | --ho)
981 ac_prev=host_alias ;;
982 -host=* | --host=* | --hos=* | --ho=*)
983 host_alias=$ac_optarg ;;
984
985 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
986 ac_prev=htmldir ;;
987 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
988 | --ht=*)
989 htmldir=$ac_optarg ;;
990
991 -includedir | --includedir | --includedi | --included | --include \
992 | --includ | --inclu | --incl | --inc)
993 ac_prev=includedir ;;
994 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
995 | --includ=* | --inclu=* | --incl=* | --inc=*)
996 includedir=$ac_optarg ;;
997
998 -infodir | --infodir | --infodi | --infod | --info | --inf)
999 ac_prev=infodir ;;
1000 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1001 infodir=$ac_optarg ;;
1002
1003 -libdir | --libdir | --libdi | --libd)
1004 ac_prev=libdir ;;
1005 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1006 libdir=$ac_optarg ;;
1007
1008 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1009 | --libexe | --libex | --libe)
1010 ac_prev=libexecdir ;;
1011 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1012 | --libexe=* | --libex=* | --libe=*)
1013 libexecdir=$ac_optarg ;;
1014
1015 -localedir | --localedir | --localedi | --localed | --locale)
1016 ac_prev=localedir ;;
1017 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1018 localedir=$ac_optarg ;;
1019
1020 -localstatedir | --localstatedir | --localstatedi | --localstated \
1021 | --localstate | --localstat | --localsta | --localst | --locals)
1022 ac_prev=localstatedir ;;
1023 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1024 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1025 localstatedir=$ac_optarg ;;
1026
1027 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1028 ac_prev=mandir ;;
1029 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1030 mandir=$ac_optarg ;;
1031
1032 -nfp | --nfp | --nf)
1033 # Obsolete; use --without-fp.
1034 with_fp=no ;;
1035
1036 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1037 | --no-cr | --no-c | -n)
1038 no_create=yes ;;
1039
1040 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1041 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1042 no_recursion=yes ;;
1043
1044 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1045 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1046 | --oldin | --oldi | --old | --ol | --o)
1047 ac_prev=oldincludedir ;;
1048 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1049 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1050 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1051 oldincludedir=$ac_optarg ;;
1052
1053 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1054 ac_prev=prefix ;;
1055 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1056 prefix=$ac_optarg ;;
1057
1058 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1059 | --program-pre | --program-pr | --program-p)
1060 ac_prev=program_prefix ;;
1061 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1062 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1063 program_prefix=$ac_optarg ;;
1064
1065 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1066 | --program-suf | --program-su | --program-s)
1067 ac_prev=program_suffix ;;
1068 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1069 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1070 program_suffix=$ac_optarg ;;
1071
1072 -program-transform-name | --program-transform-name \
1073 | --program-transform-nam | --program-transform-na \
1074 | --program-transform-n | --program-transform- \
1075 | --program-transform | --program-transfor \
1076 | --program-transfo | --program-transf \
1077 | --program-trans | --program-tran \
1078 | --progr-tra | --program-tr | --program-t)
1079 ac_prev=program_transform_name ;;
1080 -program-transform-name=* | --program-transform-name=* \
1081 | --program-transform-nam=* | --program-transform-na=* \
1082 | --program-transform-n=* | --program-transform-=* \
1083 | --program-transform=* | --program-transfor=* \
1084 | --program-transfo=* | --program-transf=* \
1085 | --program-trans=* | --program-tran=* \
1086 | --progr-tra=* | --program-tr=* | --program-t=*)
1087 program_transform_name=$ac_optarg ;;
1088
1089 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1090 ac_prev=pdfdir ;;
1091 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1092 pdfdir=$ac_optarg ;;
1093
1094 -psdir | --psdir | --psdi | --psd | --ps)
1095 ac_prev=psdir ;;
1096 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1097 psdir=$ac_optarg ;;
1098
1099 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1100 | -silent | --silent | --silen | --sile | --sil)
1101 silent=yes ;;
1102
1103 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1104 ac_prev=sbindir ;;
1105 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1106 | --sbi=* | --sb=*)
1107 sbindir=$ac_optarg ;;
1108
1109 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1110 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1111 | --sharedst | --shareds | --shared | --share | --shar \
1112 | --sha | --sh)
1113 ac_prev=sharedstatedir ;;
1114 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1115 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1116 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1117 | --sha=* | --sh=*)
1118 sharedstatedir=$ac_optarg ;;
1119
1120 -site | --site | --sit)
1121 ac_prev=site ;;
1122 -site=* | --site=* | --sit=*)
1123 site=$ac_optarg ;;
1124
1125 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1126 ac_prev=srcdir ;;
1127 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1128 srcdir=$ac_optarg ;;
1129
1130 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1131 | --syscon | --sysco | --sysc | --sys | --sy)
1132 ac_prev=sysconfdir ;;
1133 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1134 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1135 sysconfdir=$ac_optarg ;;
1136
1137 -target | --target | --targe | --targ | --tar | --ta | --t)
1138 ac_prev=target_alias ;;
1139 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1140 target_alias=$ac_optarg ;;
1141
1142 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1143 verbose=yes ;;
1144
1145 -version | --version | --versio | --versi | --vers | -V)
1146 ac_init_version=: ;;
1147
1148 -with-* | --with-*)
1149 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1150 # Reject names that are not valid shell variable names.
1151 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1152 as_fn_error $? "invalid package name: $ac_useropt"
1153 ac_useropt_orig=$ac_useropt
1154 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1155 case $ac_user_opts in
1156 *"
1157"with_$ac_useropt"
1158"*) ;;
1159 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1160 ac_unrecognized_sep=', ';;
1161 esac
1162 eval with_$ac_useropt=\$ac_optarg ;;
1163
1164 -without-* | --without-*)
1165 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1166 # Reject names that are not valid shell variable names.
1167 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1168 as_fn_error $? "invalid package name: $ac_useropt"
1169 ac_useropt_orig=$ac_useropt
1170 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1171 case $ac_user_opts in
1172 *"
1173"with_$ac_useropt"
1174"*) ;;
1175 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1176 ac_unrecognized_sep=', ';;
1177 esac
1178 eval with_$ac_useropt=no ;;
1179
1180 --x)
1181 # Obsolete; use --with-x.
1182 with_x=yes ;;
1183
1184 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1185 | --x-incl | --x-inc | --x-in | --x-i)
1186 ac_prev=x_includes ;;
1187 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1188 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1189 x_includes=$ac_optarg ;;
1190
1191 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1192 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1193 ac_prev=x_libraries ;;
1194 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1195 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1196 x_libraries=$ac_optarg ;;
1197
1198 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1199Try \`$0 --help' for more information"
1200 ;;
1201
1202 *=*)
1203 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1204 # Reject names that are not valid shell variable names.
1205 case $ac_envvar in #(
1206 '' | [0-9]* | *[!_$as_cr_alnum]* )
1207 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1208 esac
1209 eval $ac_envvar=\$ac_optarg
1210 export $ac_envvar ;;
1211
1212 *)
1213 # FIXME: should be removed in autoconf 3.0.
1214 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1215 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1216 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1217 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1218 ;;
1219
1220 esac
1221done
1222
1223if test -n "$ac_prev"; then
1224 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1225 as_fn_error $? "missing argument to $ac_option"
1226fi
1227
1228if test -n "$ac_unrecognized_opts"; then
1229 case $enable_option_checking in
1230 no) ;;
1231 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1232 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1233 esac
1234fi
1235
1236# Check all directory arguments for consistency.
1237for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1238 datadir sysconfdir sharedstatedir localstatedir includedir \
1239 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1240 libdir localedir mandir
1241do
1242 eval ac_val=\$$ac_var
1243 # Remove trailing slashes.
1244 case $ac_val in
1245 */ )
1246 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1247 eval $ac_var=\$ac_val;;
1248 esac
1249 # Be sure to have absolute directory names.
1250 case $ac_val in
1251 [\\/$]* | ?:[\\/]* ) continue;;
1252 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1253 esac
1254 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1255done
1256
1257# There might be people who depend on the old broken behavior: `$host'
1258# used to hold the argument of --host etc.
1259# FIXME: To remove some day.
1260build=$build_alias
1261host=$host_alias
1262target=$target_alias
1263
1264# FIXME: To remove some day.
1265if test "x$host_alias" != x; then
1266 if test "x$build_alias" = x; then
1267 cross_compiling=maybe
9931e273
DB
1268 elif test "x$build_alias" != "x$host_alias"; then
1269 cross_compiling=yes
1270 fi
1271fi
1272
1273ac_tool_prefix=
1274test -n "$host_alias" && ac_tool_prefix=$host_alias-
1275
1276test "$silent" = yes && exec 6>/dev/null
1277
1278
1279ac_pwd=`pwd` && test -n "$ac_pwd" &&
1280ac_ls_di=`ls -di .` &&
1281ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1282 as_fn_error $? "working directory cannot be determined"
1283test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1284 as_fn_error $? "pwd does not report name of working directory"
1285
1286
1287# Find the source files, if location was not specified.
1288if test -z "$srcdir"; then
1289 ac_srcdir_defaulted=yes
1290 # Try the directory containing this script, then the parent directory.
1291 ac_confdir=`$as_dirname -- "$as_myself" ||
1292$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1293 X"$as_myself" : 'X\(//\)[^/]' \| \
1294 X"$as_myself" : 'X\(//\)$' \| \
1295 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1296$as_echo X"$as_myself" |
1297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1298 s//\1/
1299 q
1300 }
1301 /^X\(\/\/\)[^/].*/{
1302 s//\1/
1303 q
1304 }
1305 /^X\(\/\/\)$/{
1306 s//\1/
1307 q
1308 }
1309 /^X\(\/\).*/{
1310 s//\1/
1311 q
1312 }
1313 s/.*/./; q'`
1314 srcdir=$ac_confdir
1315 if test ! -r "$srcdir/$ac_unique_file"; then
1316 srcdir=..
1317 fi
1318else
1319 ac_srcdir_defaulted=no
1320fi
1321if test ! -r "$srcdir/$ac_unique_file"; then
1322 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1323 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1324fi
1325ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1326ac_abs_confdir=`(
1327 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1328 pwd)`
1329# When building in place, set srcdir=.
1330if test "$ac_abs_confdir" = "$ac_pwd"; then
1331 srcdir=.
1332fi
1333# Remove unnecessary trailing slashes from srcdir.
1334# Double slashes in file names in object file debugging info
1335# mess up M-x gdb in Emacs.
1336case $srcdir in
1337*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1338esac
1339for ac_var in $ac_precious_vars; do
1340 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1341 eval ac_env_${ac_var}_value=\$${ac_var}
1342 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1343 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1344done
1345
1346#
1347# Report the --help message.
1348#
1349if test "$ac_init_help" = "long"; then
1350 # Omit some internal or obsolete options to make the list less imposing.
1351 # This message is too long to be a string in the A/UX 3.1 sh.
1352 cat <<_ACEOF
d6ba7c28 1353\`configure' configures lxdm 0.5.0 to adapt to many kinds of systems.
9931e273
DB
1354
1355Usage: $0 [OPTION]... [VAR=VALUE]...
1356
1357To assign environment variables (e.g., CC, CFLAGS...), specify them as
1358VAR=VALUE. See below for descriptions of some of the useful variables.
1359
1360Defaults for the options are specified in brackets.
1361
1362Configuration:
1363 -h, --help display this help and exit
1364 --help=short display options specific to this package
1365 --help=recursive display the short help of all the included packages
1366 -V, --version display version information and exit
1367 -q, --quiet, --silent do not print \`checking ...' messages
1368 --cache-file=FILE cache test results in FILE [disabled]
1369 -C, --config-cache alias for \`--cache-file=config.cache'
1370 -n, --no-create do not create output files
1371 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1372
1373Installation directories:
1374 --prefix=PREFIX install architecture-independent files in PREFIX
1375 [$ac_default_prefix]
1376 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1377 [PREFIX]
1378
1379By default, \`make install' will install all the files in
1380\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1381an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1382for instance \`--prefix=\$HOME'.
1383
1384For better control, use the options below.
1385
1386Fine tuning of the installation directories:
1387 --bindir=DIR user executables [EPREFIX/bin]
1388 --sbindir=DIR system admin executables [EPREFIX/sbin]
1389 --libexecdir=DIR program executables [EPREFIX/libexec]
1390 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1391 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1392 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1393 --libdir=DIR object code libraries [EPREFIX/lib]
1394 --includedir=DIR C header files [PREFIX/include]
1395 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1396 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1397 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1398 --infodir=DIR info documentation [DATAROOTDIR/info]
1399 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1400 --mandir=DIR man documentation [DATAROOTDIR/man]
1401 --docdir=DIR documentation root [DATAROOTDIR/doc/lxdm]
1402 --htmldir=DIR html documentation [DOCDIR]
1403 --dvidir=DIR dvi documentation [DOCDIR]
1404 --pdfdir=DIR pdf documentation [DOCDIR]
1405 --psdir=DIR ps documentation [DOCDIR]
1406_ACEOF
1407
1408 cat <<\_ACEOF
1409
1410Program names:
1411 --program-prefix=PREFIX prepend PREFIX to installed program names
1412 --program-suffix=SUFFIX append SUFFIX to installed program names
1413 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1414
1415X features:
1416 --x-includes=DIR X include files are in DIR
1417 --x-libraries=DIR X library files are in DIR
1418_ACEOF
1419fi
1420
1421if test -n "$ac_init_help"; then
1422 case $ac_init_help in
d6ba7c28 1423 short | recursive ) echo "Configuration of lxdm 0.5.0:";;
9931e273
DB
1424 esac
1425 cat <<\_ACEOF
1426
1427Optional Features:
1428 --disable-option-checking ignore unrecognized --enable/--with options
1429 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1430 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
d6ba7c28
AG
1431 --enable-silent-rules less verbose build output (undo: "make V=1")
1432 --disable-silent-rules verbose build output (undo: "make V=0")
1433 --enable-dependency-tracking
1434 do not reject slow dependency extractors
1435 --disable-dependency-tracking
1436 speeds up one-time build
9931e273
DB
1437 --disable-nls do not use Native Language Support
1438 --enable-gtk3 enable to use gtk-3.0 instead of gtk-2.0
d6ba7c28 1439 --disable-consolekit disable ConsoleKit support
9931e273
DB
1440 --enable-password enable to load autologin password store at config
1441 file
1442 --disable-xauth disable the xauth support
1443 --enable-debug enable detailed debug
1444
1445Optional Packages:
1446 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1447 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
d6ba7c28 1448 --with-pam Use PAM for authentication
9931e273 1449 --with-x use the X Window System
d6ba7c28
AG
1450 --with-xconn=[xlib/xcb] use xlib or xcb to use
1451 --with-systemdsystemunitdir=DIR
1452 Directory for systemd service files
9931e273
DB
1453
1454Some influential environment variables:
1455 CC C compiler command
1456 CFLAGS C compiler flags
1457 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1458 nonstandard directory <lib dir>
1459 LIBS libraries to pass to the linker, e.g. -l<library>
1460 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1461 you have headers in a nonstandard directory <include dir>
1462 XMKMF Path to xmkmf, Makefile generator for X Window System
1463 CPP C preprocessor
1464 PKG_CONFIG path to pkg-config utility
1465 PKG_CONFIG_PATH
1466 directories to add to pkg-config's search path
1467 PKG_CONFIG_LIBDIR
1468 path overriding pkg-config's built-in search path
1469 XLIB_CFLAGS C compiler flags for XLIB, overriding pkg-config
1470 XLIB_LIBS linker flags for XLIB, overriding pkg-config
1471 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1472 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1473 GDK_CFLAGS C compiler flags for GDK, overriding pkg-config
1474 GDK_LIBS linker flags for GDK, overriding pkg-config
1475 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
1476 GTK_LIBS linker flags for GTK, overriding pkg-config
1477 CONSOLEKIT_CFLAGS
1478 C compiler flags for CONSOLEKIT, overriding pkg-config
1479 CONSOLEKIT_LIBS
1480 linker flags for CONSOLEKIT, overriding pkg-config
1481 XCONN_CFLAGS
1482 C compiler flags for XCONN, overriding pkg-config
1483 XCONN_LIBS linker flags for XCONN, overriding pkg-config
1484
1485Use these variables to override the choices made by `configure' or to help
1486it to find libraries and programs with nonstandard names/locations.
1487
1488Report bugs to <http://lxde.org/>.
1489_ACEOF
1490ac_status=$?
1491fi
1492
1493if test "$ac_init_help" = "recursive"; then
1494 # If there are subdirs, report their specific --help.
1495 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1496 test -d "$ac_dir" ||
1497 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1498 continue
1499 ac_builddir=.
1500
1501case "$ac_dir" in
1502.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1503*)
1504 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1505 # A ".." for each directory in $ac_dir_suffix.
1506 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1507 case $ac_top_builddir_sub in
1508 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1509 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1510 esac ;;
1511esac
1512ac_abs_top_builddir=$ac_pwd
1513ac_abs_builddir=$ac_pwd$ac_dir_suffix
1514# for backward compatibility:
1515ac_top_builddir=$ac_top_build_prefix
1516
1517case $srcdir in
1518 .) # We are building in place.
1519 ac_srcdir=.
1520 ac_top_srcdir=$ac_top_builddir_sub
1521 ac_abs_top_srcdir=$ac_pwd ;;
1522 [\\/]* | ?:[\\/]* ) # Absolute name.
1523 ac_srcdir=$srcdir$ac_dir_suffix;
1524 ac_top_srcdir=$srcdir
1525 ac_abs_top_srcdir=$srcdir ;;
1526 *) # Relative name.
1527 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1528 ac_top_srcdir=$ac_top_build_prefix$srcdir
1529 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1530esac
1531ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1532
1533 cd "$ac_dir" || { ac_status=$?; continue; }
1534 # Check for guested configure.
1535 if test -f "$ac_srcdir/configure.gnu"; then
1536 echo &&
1537 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1538 elif test -f "$ac_srcdir/configure"; then
1539 echo &&
1540 $SHELL "$ac_srcdir/configure" --help=recursive
1541 else
1542 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1543 fi || ac_status=$?
1544 cd "$ac_pwd" || { ac_status=$?; break; }
1545 done
1546fi
1547
1548test -n "$ac_init_help" && exit $ac_status
1549if $ac_init_version; then
1550 cat <<\_ACEOF
d6ba7c28
AG
1551lxdm configure 0.5.0
1552generated by GNU Autoconf 2.69
9931e273 1553
d6ba7c28 1554Copyright (C) 2012 Free Software Foundation, Inc.
9931e273
DB
1555This configure script is free software; the Free Software Foundation
1556gives unlimited permission to copy, distribute and modify it.
1557_ACEOF
1558 exit
1559fi
1560
1561## ------------------------ ##
1562## Autoconf initialization. ##
1563## ------------------------ ##
1564
1565# ac_fn_c_try_compile LINENO
1566# --------------------------
1567# Try to compile conftest.$ac_ext, and return whether this succeeded.
1568ac_fn_c_try_compile ()
1569{
1570 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1571 rm -f conftest.$ac_objext
1572 if { { ac_try="$ac_compile"
1573case "(($ac_try" in
1574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1575 *) ac_try_echo=$ac_try;;
1576esac
1577eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1578$as_echo "$ac_try_echo"; } >&5
1579 (eval "$ac_compile") 2>conftest.err
1580 ac_status=$?
1581 if test -s conftest.err; then
1582 grep -v '^ *+' conftest.err >conftest.er1
1583 cat conftest.er1 >&5
1584 mv -f conftest.er1 conftest.err
1585 fi
1586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1587 test $ac_status = 0; } && {
1588 test -z "$ac_c_werror_flag" ||
1589 test ! -s conftest.err
1590 } && test -s conftest.$ac_objext; then :
1591 ac_retval=0
1592else
1593 $as_echo "$as_me: failed program was:" >&5
1594sed 's/^/| /' conftest.$ac_ext >&5
1595
1596 ac_retval=1
1597fi
1598 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1599 as_fn_set_status $ac_retval
1600
1601} # ac_fn_c_try_compile
1602
1603# ac_fn_c_try_link LINENO
1604# -----------------------
1605# Try to link conftest.$ac_ext, and return whether this succeeded.
1606ac_fn_c_try_link ()
1607{
1608 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1609 rm -f conftest.$ac_objext conftest$ac_exeext
1610 if { { ac_try="$ac_link"
1611case "(($ac_try" in
1612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1613 *) ac_try_echo=$ac_try;;
1614esac
1615eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1616$as_echo "$ac_try_echo"; } >&5
1617 (eval "$ac_link") 2>conftest.err
1618 ac_status=$?
1619 if test -s conftest.err; then
1620 grep -v '^ *+' conftest.err >conftest.er1
1621 cat conftest.er1 >&5
1622 mv -f conftest.er1 conftest.err
1623 fi
1624 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1625 test $ac_status = 0; } && {
1626 test -z "$ac_c_werror_flag" ||
1627 test ! -s conftest.err
1628 } && test -s conftest$ac_exeext && {
1629 test "$cross_compiling" = yes ||
d6ba7c28 1630 test -x conftest$ac_exeext
9931e273
DB
1631 }; then :
1632 ac_retval=0
1633else
1634 $as_echo "$as_me: failed program was:" >&5
1635sed 's/^/| /' conftest.$ac_ext >&5
1636
1637 ac_retval=1
1638fi
1639 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1640 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1641 # interfere with the next link command; also delete a directory that is
1642 # left behind by Apple's compiler. We do this before executing the actions.
1643 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1644 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1645 as_fn_set_status $ac_retval
1646
1647} # ac_fn_c_try_link
1648
d6ba7c28
AG
1649# ac_fn_c_check_func LINENO FUNC VAR
1650# ----------------------------------
1651# Tests whether FUNC exists, setting the cache variable VAR accordingly
1652ac_fn_c_check_func ()
1653{
1654 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1656$as_echo_n "checking for $2... " >&6; }
1657if eval \${$3+:} false; then :
1658 $as_echo_n "(cached) " >&6
1659else
1660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1661/* end confdefs.h. */
1662/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1663 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1664#define $2 innocuous_$2
1665
1666/* System header to define __stub macros and hopefully few prototypes,
1667 which can conflict with char $2 (); below.
1668 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1669 <limits.h> exists even on freestanding compilers. */
1670
1671#ifdef __STDC__
1672# include <limits.h>
1673#else
1674# include <assert.h>
1675#endif
1676
1677#undef $2
1678
1679/* Override any GCC internal prototype to avoid an error.
1680 Use char because int might match the return type of a GCC
1681 builtin and then its argument prototype would still apply. */
1682#ifdef __cplusplus
1683extern "C"
1684#endif
1685char $2 ();
1686/* The GNU C library defines this for functions which it implements
1687 to always fail with ENOSYS. Some functions are actually named
1688 something starting with __ and the normal name is an alias. */
1689#if defined __stub_$2 || defined __stub___$2
1690choke me
1691#endif
1692
1693int
1694main ()
1695{
1696return $2 ();
1697 ;
1698 return 0;
1699}
1700_ACEOF
1701if ac_fn_c_try_link "$LINENO"; then :
1702 eval "$3=yes"
1703else
1704 eval "$3=no"
1705fi
1706rm -f core conftest.err conftest.$ac_objext \
1707 conftest$ac_exeext conftest.$ac_ext
1708fi
1709eval ac_res=\$$3
1710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1711$as_echo "$ac_res" >&6; }
1712 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1713
1714} # ac_fn_c_check_func
1715
9931e273
DB
1716# ac_fn_c_try_cpp LINENO
1717# ----------------------
1718# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1719ac_fn_c_try_cpp ()
1720{
1721 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1722 if { { ac_try="$ac_cpp conftest.$ac_ext"
1723case "(($ac_try" in
1724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1725 *) ac_try_echo=$ac_try;;
1726esac
1727eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1728$as_echo "$ac_try_echo"; } >&5
1729 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1730 ac_status=$?
1731 if test -s conftest.err; then
1732 grep -v '^ *+' conftest.err >conftest.er1
1733 cat conftest.er1 >&5
1734 mv -f conftest.er1 conftest.err
1735 fi
1736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1737 test $ac_status = 0; } > conftest.i && {
1738 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1739 test ! -s conftest.err
1740 }; then :
1741 ac_retval=0
1742else
1743 $as_echo "$as_me: failed program was:" >&5
1744sed 's/^/| /' conftest.$ac_ext >&5
1745
1746 ac_retval=1
1747fi
1748 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1749 as_fn_set_status $ac_retval
1750
1751} # ac_fn_c_try_cpp
1752
1753# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1754# -------------------------------------------------------
1755# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1756# the include files in INCLUDES and setting the cache variable VAR
1757# accordingly.
1758ac_fn_c_check_header_mongrel ()
1759{
1760 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1761 if eval \${$3+:} false; then :
1762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1763$as_echo_n "checking for $2... " >&6; }
1764if eval \${$3+:} false; then :
1765 $as_echo_n "(cached) " >&6
1766fi
1767eval ac_res=\$$3
1768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1769$as_echo "$ac_res" >&6; }
1770else
1771 # Is the header compilable?
1772{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1773$as_echo_n "checking $2 usability... " >&6; }
1774cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1775/* end confdefs.h. */
1776$4
1777#include <$2>
1778_ACEOF
1779if ac_fn_c_try_compile "$LINENO"; then :
1780 ac_header_compiler=yes
1781else
1782 ac_header_compiler=no
1783fi
1784rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1785{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1786$as_echo "$ac_header_compiler" >&6; }
1787
1788# Is the header present?
1789{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1790$as_echo_n "checking $2 presence... " >&6; }
1791cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1792/* end confdefs.h. */
1793#include <$2>
1794_ACEOF
1795if ac_fn_c_try_cpp "$LINENO"; then :
1796 ac_header_preproc=yes
1797else
1798 ac_header_preproc=no
1799fi
1800rm -f conftest.err conftest.i conftest.$ac_ext
1801{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1802$as_echo "$ac_header_preproc" >&6; }
1803
1804# So? What about this header?
1805case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1806 yes:no: )
1807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1808$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1810$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1811 ;;
1812 no:yes:* )
1813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1814$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1816$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1818$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1819 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1820$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1822$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1823( $as_echo "## ------------------------------- ##
1824## Report this to http://lxde.org/ ##
1825## ------------------------------- ##"
1826 ) | sed "s/^/$as_me: WARNING: /" >&2
1827 ;;
1828esac
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1830$as_echo_n "checking for $2... " >&6; }
1831if eval \${$3+:} false; then :
1832 $as_echo_n "(cached) " >&6
1833else
1834 eval "$3=\$ac_header_compiler"
1835fi
1836eval ac_res=\$$3
1837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1838$as_echo "$ac_res" >&6; }
1839fi
1840 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1841
1842} # ac_fn_c_check_header_mongrel
1843
1844# ac_fn_c_try_run LINENO
1845# ----------------------
1846# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1847# that executables *can* be run.
1848ac_fn_c_try_run ()
1849{
1850 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1851 if { { ac_try="$ac_link"
1852case "(($ac_try" in
1853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1854 *) ac_try_echo=$ac_try;;
1855esac
1856eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1857$as_echo "$ac_try_echo"; } >&5
1858 (eval "$ac_link") 2>&5
1859 ac_status=$?
1860 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1861 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1862 { { case "(($ac_try" in
1863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1864 *) ac_try_echo=$ac_try;;
1865esac
1866eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1867$as_echo "$ac_try_echo"; } >&5
1868 (eval "$ac_try") 2>&5
1869 ac_status=$?
1870 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1871 test $ac_status = 0; }; }; then :
1872 ac_retval=0
1873else
1874 $as_echo "$as_me: program exited with status $ac_status" >&5
1875 $as_echo "$as_me: failed program was:" >&5
1876sed 's/^/| /' conftest.$ac_ext >&5
1877
1878 ac_retval=$ac_status
1879fi
1880 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1881 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1882 as_fn_set_status $ac_retval
1883
1884} # ac_fn_c_try_run
1885
1886# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1887# -------------------------------------------------------
1888# Tests whether HEADER exists and can be compiled using the include files in
1889# INCLUDES, setting the cache variable VAR accordingly.
1890ac_fn_c_check_header_compile ()
1891{
1892 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1894$as_echo_n "checking for $2... " >&6; }
1895if eval \${$3+:} false; then :
1896 $as_echo_n "(cached) " >&6
1897else
1898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1899/* end confdefs.h. */
1900$4
1901#include <$2>
1902_ACEOF
1903if ac_fn_c_try_compile "$LINENO"; then :
1904 eval "$3=yes"
1905else
1906 eval "$3=no"
1907fi
1908rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1909fi
1910eval ac_res=\$$3
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1912$as_echo "$ac_res" >&6; }
1913 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1914
1915} # ac_fn_c_check_header_compile
1916
1917# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1918# -------------------------------------------
1919# Tests whether TYPE exists after having included INCLUDES, setting cache
1920# variable VAR accordingly.
1921ac_fn_c_check_type ()
1922{
1923 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1925$as_echo_n "checking for $2... " >&6; }
1926if eval \${$3+:} false; then :
1927 $as_echo_n "(cached) " >&6
1928else
1929 eval "$3=no"
1930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1931/* end confdefs.h. */
1932$4
1933int
1934main ()
1935{
1936if (sizeof ($2))
1937 return 0;
1938 ;
1939 return 0;
1940}
1941_ACEOF
1942if ac_fn_c_try_compile "$LINENO"; then :
1943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1944/* end confdefs.h. */
1945$4
1946int
1947main ()
1948{
1949if (sizeof (($2)))
1950 return 0;
1951 ;
1952 return 0;
1953}
1954_ACEOF
1955if ac_fn_c_try_compile "$LINENO"; then :
1956
1957else
1958 eval "$3=yes"
1959fi
1960rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1961fi
1962rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1963fi
1964eval ac_res=\$$3
1965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1966$as_echo "$ac_res" >&6; }
1967 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1968
1969} # ac_fn_c_check_type
9931e273
DB
1970cat >config.log <<_ACEOF
1971This file contains any messages produced by compilers while
1972running configure, to aid debugging if configure makes a mistake.
1973
d6ba7c28
AG
1974It was created by lxdm $as_me 0.5.0, which was
1975generated by GNU Autoconf 2.69. Invocation command line was
9931e273
DB
1976
1977 $ $0 $@
1978
1979_ACEOF
1980exec 5>>config.log
1981{
1982cat <<_ASUNAME
1983## --------- ##
1984## Platform. ##
1985## --------- ##
1986
1987hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1988uname -m = `(uname -m) 2>/dev/null || echo unknown`
1989uname -r = `(uname -r) 2>/dev/null || echo unknown`
1990uname -s = `(uname -s) 2>/dev/null || echo unknown`
1991uname -v = `(uname -v) 2>/dev/null || echo unknown`
1992
1993/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1994/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1995
1996/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1997/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1998/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1999/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2000/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2001/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2002/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2003
2004_ASUNAME
2005
2006as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2007for as_dir in $PATH
2008do
2009 IFS=$as_save_IFS
2010 test -z "$as_dir" && as_dir=.
2011 $as_echo "PATH: $as_dir"
2012 done
2013IFS=$as_save_IFS
2014
2015} >&5
2016
2017cat >&5 <<_ACEOF
2018
2019
2020## ----------- ##
2021## Core tests. ##
2022## ----------- ##
2023
2024_ACEOF
2025
2026
2027# Keep a trace of the command line.
2028# Strip out --no-create and --no-recursion so they do not pile up.
2029# Strip out --silent because we don't want to record it for future runs.
2030# Also quote any args containing shell meta-characters.
2031# Make two passes to allow for proper duplicate-argument suppression.
2032ac_configure_args=
2033ac_configure_args0=
2034ac_configure_args1=
2035ac_must_keep_next=false
2036for ac_pass in 1 2
2037do
2038 for ac_arg
2039 do
2040 case $ac_arg in
2041 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2042 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2043 | -silent | --silent | --silen | --sile | --sil)
2044 continue ;;
2045 *\'*)
2046 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2047 esac
2048 case $ac_pass in
2049 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2050 2)
2051 as_fn_append ac_configure_args1 " '$ac_arg'"
2052 if test $ac_must_keep_next = true; then
2053 ac_must_keep_next=false # Got value, back to normal.
2054 else
2055 case $ac_arg in
2056 *=* | --config-cache | -C | -disable-* | --disable-* \
2057 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2058 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2059 | -with-* | --with-* | -without-* | --without-* | --x)
2060 case "$ac_configure_args0 " in
2061 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2062 esac
2063 ;;
2064 -* ) ac_must_keep_next=true ;;
2065 esac
2066 fi
2067 as_fn_append ac_configure_args " '$ac_arg'"
2068 ;;
2069 esac
2070 done
2071done
2072{ ac_configure_args0=; unset ac_configure_args0;}
2073{ ac_configure_args1=; unset ac_configure_args1;}
2074
2075# When interrupted or exit'd, cleanup temporary files, and complete
2076# config.log. We remove comments because anyway the quotes in there
2077# would cause problems or look ugly.
2078# WARNING: Use '\'' to represent an apostrophe within the trap.
2079# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2080trap 'exit_status=$?
2081 # Save into config.log some information that might help in debugging.
2082 {
2083 echo
2084
2085 $as_echo "## ---------------- ##
2086## Cache variables. ##
2087## ---------------- ##"
2088 echo
2089 # The following way of writing the cache mishandles newlines in values,
2090(
2091 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2092 eval ac_val=\$$ac_var
2093 case $ac_val in #(
2094 *${as_nl}*)
2095 case $ac_var in #(
2096 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2097$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2098 esac
2099 case $ac_var in #(
2100 _ | IFS | as_nl) ;; #(
2101 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2102 *) { eval $ac_var=; unset $ac_var;} ;;
2103 esac ;;
2104 esac
2105 done
2106 (set) 2>&1 |
2107 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2108 *${as_nl}ac_space=\ *)
2109 sed -n \
2110 "s/'\''/'\''\\\\'\'''\''/g;
2111 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2112 ;; #(
2113 *)
2114 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2115 ;;
2116 esac |
2117 sort
2118)
2119 echo
2120
2121 $as_echo "## ----------------- ##
2122## Output variables. ##
2123## ----------------- ##"
2124 echo
2125 for ac_var in $ac_subst_vars
2126 do
2127 eval ac_val=\$$ac_var
2128 case $ac_val in
2129 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2130 esac
2131 $as_echo "$ac_var='\''$ac_val'\''"
2132 done | sort
2133 echo
2134
2135 if test -n "$ac_subst_files"; then
2136 $as_echo "## ------------------- ##
2137## File substitutions. ##
2138## ------------------- ##"
2139 echo
2140 for ac_var in $ac_subst_files
2141 do
2142 eval ac_val=\$$ac_var
2143 case $ac_val in
2144 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2145 esac
2146 $as_echo "$ac_var='\''$ac_val'\''"
2147 done | sort
2148 echo
2149 fi
2150
2151 if test -s confdefs.h; then
2152 $as_echo "## ----------- ##
2153## confdefs.h. ##
2154## ----------- ##"
2155 echo
2156 cat confdefs.h
2157 echo
2158 fi
2159 test "$ac_signal" != 0 &&
2160 $as_echo "$as_me: caught signal $ac_signal"
2161 $as_echo "$as_me: exit $exit_status"
2162 } >&5
2163 rm -f core *.core core.conftest.* &&
2164 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2165 exit $exit_status
2166' 0
2167for ac_signal in 1 2 13 15; do
2168 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2169done
2170ac_signal=0
2171
2172# confdefs.h avoids OS command line length limits that DEFS can exceed.
2173rm -f -r conftest* confdefs.h
2174
2175$as_echo "/* confdefs.h */" > confdefs.h
2176
2177# Predefined preprocessor variables.
2178
2179cat >>confdefs.h <<_ACEOF
2180#define PACKAGE_NAME "$PACKAGE_NAME"
2181_ACEOF
2182
2183cat >>confdefs.h <<_ACEOF
2184#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2185_ACEOF
2186
2187cat >>confdefs.h <<_ACEOF
2188#define PACKAGE_VERSION "$PACKAGE_VERSION"
2189_ACEOF
2190
2191cat >>confdefs.h <<_ACEOF
2192#define PACKAGE_STRING "$PACKAGE_STRING"
2193_ACEOF
2194
2195cat >>confdefs.h <<_ACEOF
2196#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2197_ACEOF
2198
2199cat >>confdefs.h <<_ACEOF
2200#define PACKAGE_URL "$PACKAGE_URL"
2201_ACEOF
2202
2203
2204# Let the site file select an alternate cache file if it wants to.
2205# Prefer an explicitly selected file to automatically selected ones.
2206ac_site_file1=NONE
2207ac_site_file2=NONE
2208if test -n "$CONFIG_SITE"; then
2209 # We do not want a PATH search for config.site.
2210 case $CONFIG_SITE in #((
2211 -*) ac_site_file1=./$CONFIG_SITE;;
2212 */*) ac_site_file1=$CONFIG_SITE;;
2213 *) ac_site_file1=./$CONFIG_SITE;;
2214 esac
2215elif test "x$prefix" != xNONE; then
2216 ac_site_file1=$prefix/share/config.site
2217 ac_site_file2=$prefix/etc/config.site
2218else
2219 ac_site_file1=$ac_default_prefix/share/config.site
2220 ac_site_file2=$ac_default_prefix/etc/config.site
2221fi
2222for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2223do
2224 test "x$ac_site_file" = xNONE && continue
2225 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2227$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2228 sed 's/^/| /' "$ac_site_file" >&5
2229 . "$ac_site_file" \
2230 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2231$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2232as_fn_error $? "failed to load site script $ac_site_file
2233See \`config.log' for more details" "$LINENO" 5; }
2234 fi
2235done
2236
2237if test -r "$cache_file"; then
2238 # Some versions of bash will fail to source /dev/null (special files
2239 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2240 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2242$as_echo "$as_me: loading cache $cache_file" >&6;}
2243 case $cache_file in
2244 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2245 *) . "./$cache_file";;
2246 esac
2247 fi
2248else
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2250$as_echo "$as_me: creating cache $cache_file" >&6;}
2251 >$cache_file
2252fi
2253
2254# Check that the precious variables saved in the cache have kept the same
2255# value.
2256ac_cache_corrupted=false
2257for ac_var in $ac_precious_vars; do
2258 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2259 eval ac_new_set=\$ac_env_${ac_var}_set
2260 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2261 eval ac_new_val=\$ac_env_${ac_var}_value
2262 case $ac_old_set,$ac_new_set in
2263 set,)
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2265$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2266 ac_cache_corrupted=: ;;
2267 ,set)
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2269$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2270 ac_cache_corrupted=: ;;
2271 ,);;
2272 *)
2273 if test "x$ac_old_val" != "x$ac_new_val"; then
2274 # differences in whitespace do not lead to failure.
2275 ac_old_val_w=`echo x $ac_old_val`
2276 ac_new_val_w=`echo x $ac_new_val`
2277 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2278 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2279$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2280 ac_cache_corrupted=:
2281 else
2282 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2283$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2284 eval $ac_var=\$ac_old_val
2285 fi
2286 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2287$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2288 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2289$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2290 fi;;
2291 esac
2292 # Pass precious variables to config.status.
2293 if test "$ac_new_set" = set; then
2294 case $ac_new_val in
2295 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2296 *) ac_arg=$ac_var=$ac_new_val ;;
2297 esac
2298 case " $ac_configure_args " in
2299 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2300 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2301 esac
2302 fi
2303done
2304if $ac_cache_corrupted; then
2305 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2306$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2307 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2308$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2309 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2310fi
2311## -------------------- ##
2312## Main body of script. ##
2313## -------------------- ##
2314
2315ac_ext=c
2316ac_cpp='$CPP $CPPFLAGS'
2317ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2318ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2319ac_compiler_gnu=$ac_cv_c_compiler_gnu
2320
2321
d6ba7c28 2322am__api_version='1.13'
9931e273
DB
2323
2324ac_aux_dir=
2325for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2326 if test -f "$ac_dir/install-sh"; then
2327 ac_aux_dir=$ac_dir
2328 ac_install_sh="$ac_aux_dir/install-sh -c"
2329 break
2330 elif test -f "$ac_dir/install.sh"; then
2331 ac_aux_dir=$ac_dir
2332 ac_install_sh="$ac_aux_dir/install.sh -c"
2333 break
2334 elif test -f "$ac_dir/shtool"; then
2335 ac_aux_dir=$ac_dir
2336 ac_install_sh="$ac_aux_dir/shtool install -c"
2337 break
2338 fi
2339done
2340if test -z "$ac_aux_dir"; then
2341 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2342fi
2343
2344# These three variables are undocumented and unsupported,
2345# and are intended to be withdrawn in a future Autoconf release.
2346# They can cause serious problems if a builder's source tree is in a directory
2347# whose full name contains unusual characters.
2348ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2349ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2350ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2351
2352
2353# Find a good install program. We prefer a C program (faster),
2354# so one script is as good as another. But avoid the broken or
2355# incompatible versions:
2356# SysV /etc/install, /usr/sbin/install
2357# SunOS /usr/etc/install
2358# IRIX /sbin/install
2359# AIX /bin/install
2360# AmigaOS /C/install, which installs bootblocks on floppy discs
2361# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2362# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2363# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2364# OS/2's system install, which has a completely different semantic
2365# ./install, which can be erroneously created by make from ./install.sh.
2366# Reject install programs that cannot install multiple files.
2367{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2368$as_echo_n "checking for a BSD-compatible install... " >&6; }
2369if test -z "$INSTALL"; then
2370if ${ac_cv_path_install+:} false; then :
2371 $as_echo_n "(cached) " >&6
2372else
2373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2374for as_dir in $PATH
2375do
2376 IFS=$as_save_IFS
2377 test -z "$as_dir" && as_dir=.
2378 # Account for people who put trailing slashes in PATH elements.
2379case $as_dir/ in #((
2380 ./ | .// | /[cC]/* | \
2381 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2382 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2383 /usr/ucb/* ) ;;
2384 *)
2385 # OSF1 and SCO ODT 3.0 have their own names for install.
2386 # Don't use installbsd from OSF since it installs stuff as root
2387 # by default.
2388 for ac_prog in ginstall scoinst install; do
2389 for ac_exec_ext in '' $ac_executable_extensions; do
d6ba7c28 2390 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
9931e273
DB
2391 if test $ac_prog = install &&
2392 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2393 # AIX install. It has an incompatible calling convention.
2394 :
2395 elif test $ac_prog = install &&
2396 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2397 # program-specific install script used by HP pwplus--don't use.
2398 :
2399 else
2400 rm -rf conftest.one conftest.two conftest.dir
2401 echo one > conftest.one
2402 echo two > conftest.two
2403 mkdir conftest.dir
2404 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2405 test -s conftest.one && test -s conftest.two &&
2406 test -s conftest.dir/conftest.one &&
2407 test -s conftest.dir/conftest.two
2408 then
2409 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2410 break 3
2411 fi
2412 fi
2413 fi
2414 done
2415 done
2416 ;;
2417esac
2418
2419 done
2420IFS=$as_save_IFS
2421
2422rm -rf conftest.one conftest.two conftest.dir
2423
2424fi
2425 if test "${ac_cv_path_install+set}" = set; then
2426 INSTALL=$ac_cv_path_install
2427 else
2428 # As a last resort, use the slow shell script. Don't cache a
2429 # value for INSTALL within a source directory, because that will
2430 # break other packages using the cache if that directory is
2431 # removed, or if the value is a relative name.
2432 INSTALL=$ac_install_sh
2433 fi
2434fi
2435{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2436$as_echo "$INSTALL" >&6; }
2437
2438# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2439# It thinks the first close brace ends the variable substitution.
2440test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2441
2442test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2443
2444test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2445
2446{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2447$as_echo_n "checking whether build environment is sane... " >&6; }
9931e273
DB
2448# Reject unsafe characters in $srcdir or the absolute working directory
2449# name. Accept space and tab only in the latter.
2450am_lf='
2451'
2452case `pwd` in
2453 *[\\\"\#\$\&\'\`$am_lf]*)
2454 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2455esac
2456case $srcdir in
2457 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
d6ba7c28 2458 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
9931e273
DB
2459esac
2460
d6ba7c28 2461# Do 'set' in a subshell so we don't clobber the current shell's
9931e273
DB
2462# arguments. Must try -L first in case configure is actually a
2463# symlink; some systems play weird games with the mod time of symlinks
2464# (eg FreeBSD returns the mod time of the symlink's containing
2465# directory).
2466if (
d6ba7c28
AG
2467 am_has_slept=no
2468 for am_try in 1 2; do
2469 echo "timestamp, slept: $am_has_slept" > conftest.file
2470 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2471 if test "$*" = "X"; then
2472 # -L didn't work.
2473 set X `ls -t "$srcdir/configure" conftest.file`
2474 fi
2475 if test "$*" != "X $srcdir/configure conftest.file" \
2476 && test "$*" != "X conftest.file $srcdir/configure"; then
2477
2478 # If neither matched, then we have a broken ls. This can happen
2479 # if, for instance, CONFIG_SHELL is bash and it inherits a
2480 # broken ls alias from the environment. This has actually
2481 # happened. Such a system could not be considered "sane".
2482 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2483 alias in your environment" "$LINENO" 5
2484 fi
2485 if test "$2" = conftest.file || test $am_try -eq 2; then
2486 break
2487 fi
2488 # Just in case.
2489 sleep 1
2490 am_has_slept=yes
2491 done
9931e273
DB
2492 test "$2" = conftest.file
2493 )
2494then
2495 # Ok.
2496 :
2497else
2498 as_fn_error $? "newly created file is older than distributed files!
2499Check your system clock" "$LINENO" 5
2500fi
2501{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2502$as_echo "yes" >&6; }
d6ba7c28
AG
2503# If we didn't sleep, we still need to ensure time stamps of config.status and
2504# generated files are strictly newer.
2505am_sleep_pid=
2506if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2507 ( sleep 1 ) &
2508 am_sleep_pid=$!
2509fi
2510
2511rm -f conftest.file
2512
9931e273
DB
2513test "$program_prefix" != NONE &&
2514 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2515# Use a double $ so make ignores it.
2516test "$program_suffix" != NONE &&
2517 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2518# Double any \ or $.
2519# By default was `s,x,x', remove it if useless.
2520ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2521program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2522
2523# expand $ac_aux_dir to an absolute path
2524am_aux_dir=`cd $ac_aux_dir && pwd`
2525
2526if test x"${MISSING+set}" != xset; then
2527 case $am_aux_dir in
2528 *\ * | *\ *)
2529 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2530 *)
2531 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2532 esac
2533fi
2534# Use eval to expand $SHELL
d6ba7c28
AG
2535if eval "$MISSING --is-lightweight"; then
2536 am_missing_run="$MISSING "
9931e273
DB
2537else
2538 am_missing_run=
d6ba7c28
AG
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2540$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
9931e273
DB
2541fi
2542
2543if test x"${install_sh}" != xset; then
2544 case $am_aux_dir in
2545 *\ * | *\ *)
2546 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2547 *)
2548 install_sh="\${SHELL} $am_aux_dir/install-sh"
2549 esac
2550fi
2551
d6ba7c28
AG
2552# Installed binaries are usually stripped using 'strip' when the user
2553# run "make install-strip". However 'strip' might not be the right
9931e273 2554# tool to use in cross-compilation environments, therefore Automake
d6ba7c28 2555# will honor the 'STRIP' environment variable to overrule this program.
9931e273
DB
2556if test "$cross_compiling" != no; then
2557 if test -n "$ac_tool_prefix"; then
2558 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2559set dummy ${ac_tool_prefix}strip; ac_word=$2
2560{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2561$as_echo_n "checking for $ac_word... " >&6; }
2562if ${ac_cv_prog_STRIP+:} false; then :
2563 $as_echo_n "(cached) " >&6
2564else
2565 if test -n "$STRIP"; then
2566 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2567else
2568as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2569for as_dir in $PATH
2570do
2571 IFS=$as_save_IFS
2572 test -z "$as_dir" && as_dir=.
2573 for ac_exec_ext in '' $ac_executable_extensions; do
d6ba7c28 2574 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9931e273
DB
2575 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2577 break 2
2578 fi
2579done
2580 done
2581IFS=$as_save_IFS
2582
2583fi
2584fi
2585STRIP=$ac_cv_prog_STRIP
2586if test -n "$STRIP"; then
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2588$as_echo "$STRIP" >&6; }
2589else
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2591$as_echo "no" >&6; }
2592fi
2593
2594
2595fi
2596if test -z "$ac_cv_prog_STRIP"; then
2597 ac_ct_STRIP=$STRIP
2598 # Extract the first word of "strip", so it can be a program name with args.
2599set dummy strip; ac_word=$2
2600{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2601$as_echo_n "checking for $ac_word... " >&6; }
2602if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2603 $as_echo_n "(cached) " >&6
2604else
2605 if test -n "$ac_ct_STRIP"; then
2606 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2607else
2608as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2609for as_dir in $PATH
2610do
2611 IFS=$as_save_IFS
2612 test -z "$as_dir" && as_dir=.
2613 for ac_exec_ext in '' $ac_executable_extensions; do
d6ba7c28 2614 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9931e273
DB
2615 ac_cv_prog_ac_ct_STRIP="strip"
2616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2617 break 2
2618 fi
2619done
2620 done
2621IFS=$as_save_IFS
2622
2623fi
2624fi
2625ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2626if test -n "$ac_ct_STRIP"; then
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2628$as_echo "$ac_ct_STRIP" >&6; }
2629else
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2631$as_echo "no" >&6; }
2632fi
2633
2634 if test "x$ac_ct_STRIP" = x; then
2635 STRIP=":"
2636 else
2637 case $cross_compiling:$ac_tool_warned in
2638yes:)
2639{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2640$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2641ac_tool_warned=yes ;;
2642esac
2643 STRIP=$ac_ct_STRIP
2644 fi
2645else
2646 STRIP="$ac_cv_prog_STRIP"
2647fi
2648
2649fi
2650INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2651
2652{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2653$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2654if test -z "$MKDIR_P"; then
2655 if ${ac_cv_path_mkdir+:} false; then :
2656 $as_echo_n "(cached) " >&6
2657else
2658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2659for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2660do
2661 IFS=$as_save_IFS
2662 test -z "$as_dir" && as_dir=.
2663 for ac_prog in mkdir gmkdir; do
2664 for ac_exec_ext in '' $ac_executable_extensions; do
d6ba7c28 2665 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
9931e273
DB
2666 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2667 'mkdir (GNU coreutils) '* | \
2668 'mkdir (coreutils) '* | \
2669 'mkdir (fileutils) '4.1*)
2670 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2671 break 3;;
2672 esac
2673 done
2674 done
2675 done
2676IFS=$as_save_IFS
2677
2678fi
2679
2680 test -d ./--version && rmdir ./--version
2681 if test "${ac_cv_path_mkdir+set}" = set; then
2682 MKDIR_P="$ac_cv_path_mkdir -p"
2683 else
2684 # As a last resort, use the slow shell script. Don't cache a
2685 # value for MKDIR_P within a source directory, because that will
2686 # break other packages using the cache if that directory is
2687 # removed, or if the value is a relative name.
2688 MKDIR_P="$ac_install_sh -d"
2689 fi
2690fi
2691{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2692$as_echo "$MKDIR_P" >&6; }
2693
9931e273
DB
2694for ac_prog in gawk mawk nawk awk
2695do
2696 # Extract the first word of "$ac_prog", so it can be a program name with args.
2697set dummy $ac_prog; ac_word=$2
2698{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2699$as_echo_n "checking for $ac_word... " >&6; }
2700if ${ac_cv_prog_AWK+:} false; then :
2701 $as_echo_n "(cached) " >&6
2702else
2703 if test -n "$AWK"; then
2704 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2705else
2706as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2707for as_dir in $PATH
2708do
2709 IFS=$as_save_IFS
2710 test -z "$as_dir" && as_dir=.
2711 for ac_exec_ext in '' $ac_executable_extensions; do
d6ba7c28 2712 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9931e273
DB
2713 ac_cv_prog_AWK="$ac_prog"
2714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2715 break 2
2716 fi
2717done
2718 done
2719IFS=$as_save_IFS
2720
2721fi
2722fi
2723AWK=$ac_cv_prog_AWK
2724if test -n "$AWK"; then
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2726$as_echo "$AWK" >&6; }
2727else
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2729$as_echo "no" >&6; }
2730fi
2731
2732
2733 test -n "$AWK" && break
2734done
2735
2736{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2737$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2738set x ${MAKE-make}
2739ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2740if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2741 $as_echo_n "(cached) " >&6
2742else
2743 cat >conftest.make <<\_ACEOF
2744SHELL = /bin/sh
2745all:
2746 @echo '@@@%%%=$(MAKE)=@@@%%%'
2747_ACEOF
2748# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2749case `${MAKE-make} -f conftest.make 2>/dev/null` in
2750 *@@@%%%=?*=@@@%%%*)
2751 eval ac_cv_prog_make_${ac_make}_set=yes;;
2752 *)
2753 eval ac_cv_prog_make_${ac_make}_set=no;;
2754esac
2755rm -f conftest.make
2756fi
2757if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2759$as_echo "yes" >&6; }
2760 SET_MAKE=
2761else
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2763$as_echo "no" >&6; }
2764 SET_MAKE="MAKE=${MAKE-make}"
2765fi
2766
2767rm -rf .tst 2>/dev/null
2768mkdir .tst 2>/dev/null
2769if test -d .tst; then
2770 am__leading_dot=.
2771else
2772 am__leading_dot=_
2773fi
2774rmdir .tst 2>/dev/null
2775
d6ba7c28
AG
2776# Check whether --enable-silent-rules was given.
2777if test "${enable_silent_rules+set}" = set; then :
2778 enableval=$enable_silent_rules;
2779fi
2780
2781case $enable_silent_rules in # (((
2782 yes) AM_DEFAULT_VERBOSITY=0;;
2783 no) AM_DEFAULT_VERBOSITY=1;;
2784 *) AM_DEFAULT_VERBOSITY=1;;
2785esac
2786am_make=${MAKE-make}
2787{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2788$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2789if ${am_cv_make_support_nested_variables+:} false; then :
2790 $as_echo_n "(cached) " >&6
2791else
2792 if $as_echo 'TRUE=$(BAR$(V))
2793BAR0=false
2794BAR1=true
2795V=1
2796am__doit:
2797 @$(TRUE)
2798.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2799 am_cv_make_support_nested_variables=yes
2800else
2801 am_cv_make_support_nested_variables=no
2802fi
2803fi
2804{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2805$as_echo "$am_cv_make_support_nested_variables" >&6; }
2806if test $am_cv_make_support_nested_variables = yes; then
2807 AM_V='$(V)'
2808 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2809else
2810 AM_V=$AM_DEFAULT_VERBOSITY
2811 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2812fi
2813AM_BACKSLASH='\'
2814
9931e273
DB
2815if test "`cd $srcdir && pwd`" != "`pwd`"; then
2816 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2817 # is not polluted with repeated "-I."
2818 am__isrc=' -I$(srcdir)'
2819 # test to see if srcdir already configured
2820 if test -f $srcdir/config.status; then
2821 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2822 fi
2823fi
2824
2825# test whether we have cygpath
2826if test -z "$CYGPATH_W"; then
2827 if (cygpath --version) >/dev/null 2>/dev/null; then
2828 CYGPATH_W='cygpath -w'
2829 else
2830 CYGPATH_W=echo
2831 fi
2832fi
2833
2834
2835# Define the identity of the package.
2836 PACKAGE='lxdm'
d6ba7c28 2837 VERSION='0.5.0'
9931e273
DB
2838
2839
2840cat >>confdefs.h <<_ACEOF
2841#define PACKAGE "$PACKAGE"
2842_ACEOF
2843
2844
2845cat >>confdefs.h <<_ACEOF
2846#define VERSION "$VERSION"
2847_ACEOF
2848
2849# Some tools Automake needs.
2850
2851ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2852
2853
2854AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2855
2856
2857AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2858
2859
2860AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2861
2862
2863MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2864
d6ba7c28
AG
2865# For better backward compatibility. To be removed once Automake 1.9.x
2866# dies out for good. For more background, see:
2867# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2868# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2869mkdir_p='$(MKDIR_P)'
2870
9931e273
DB
2871# We need awk for the "check" target. The system "awk" is bad on
2872# some platforms.
d6ba7c28
AG
2873# Always define AMTAR for backward compatibility. Yes, it's still used
2874# in the wild :-( We should find a proper way to deprecate it ...
2875AMTAR='$${TAR-tar}'
9931e273 2876
9931e273 2877
d6ba7c28
AG
2878# We'll loop over all known methods to create a tar archive until one works.
2879_am_tools='gnutar pax cpio none'
2880
2881am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2882
9931e273
DB
2883
2884
2885
2886
2887
2888
2889
2890ac_config_headers="$ac_config_headers config.h"
2891
2892
2893# Checks for programs.
2894ac_ext=c
2895ac_cpp='$CPP $CPPFLAGS'
2896ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2897ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2898ac_compiler_gnu=$ac_cv_c_compiler_gnu
2899if test -n "$ac_tool_prefix"; then
2900 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2901set dummy ${ac_tool_prefix}gcc; ac_word=$2
2902{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2903$as_echo_n "checking for $ac_word... " >&6; }
2904if ${ac_cv_prog_CC+:} false; then :
2905 $as_echo_n "(cached) " >&6
2906else
2907 if test -n "$CC"; then
2908 ac_cv_prog_CC="$CC" # Let the user override the test.
2909else
2910as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2911for as_dir in $PATH
2912do
2913 IFS=$as_save_IFS
2914 test -z "$as_dir" && as_dir=.
2915 for ac_exec_ext in '' $ac_executable_extensions; do
d6ba7c28 2916 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9931e273
DB
2917 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2919 break 2
2920 fi
2921done
2922 done
2923IFS=$as_save_IFS
2924
2925fi
2926fi
2927CC=$ac_cv_prog_CC
2928if test -n "$CC"; then
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2930$as_echo "$CC" >&6; }
2931else
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2933$as_echo "no" >&6; }
2934fi
2935
2936
2937fi
2938if test -z "$ac_cv_prog_CC"; then
2939 ac_ct_CC=$CC
2940 # Extract the first word of "gcc", so it can be a program name with args.
2941set dummy gcc; ac_word=$2
2942{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2943$as_echo_n "checking for $ac_word... " >&6; }
2944if ${ac_cv_prog_ac_ct_CC+:} false; then :
2945 $as_echo_n "(cached) " >&6
2946else
2947 if test -n "$ac_ct_CC"; then
2948 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2949else
2950as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2951for as_dir in $PATH
2952do
2953 IFS=$as_save_IFS
2954 test -z "$as_dir" && as_dir=.
2955 for ac_exec_ext in '' $ac_executable_extensions; do
d6ba7c28 2956 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9931e273
DB
2957 ac_cv_prog_ac_ct_CC="gcc"
2958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2959 break 2
2960 fi
2961done
2962 done
2963IFS=$as_save_IFS
2964
2965fi
2966fi
2967ac_ct_CC=$ac_cv_prog_ac_ct_CC
2968if test -n "$ac_ct_CC"; then
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2970$as_echo "$ac_ct_CC" >&6; }
2971else
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2973$as_echo "no" >&6; }
2974fi
2975
2976 if test "x$ac_ct_CC" = x; then
2977 CC=""
2978 else
2979 case $cross_compiling:$ac_tool_warned in
2980yes:)
2981{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2982$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2983ac_tool_warned=yes ;;
2984esac
2985 CC=$ac_ct_CC
2986 fi
2987else
2988 CC="$ac_cv_prog_CC"
2989fi
2990
2991if test -z "$CC"; then
2992 if test -n "$ac_tool_prefix"; then
2993 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2994set dummy ${ac_tool_prefix}cc; ac_word=$2
2995{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2996$as_echo_n "checking for $ac_word... " >&6; }
2997if ${ac_cv_prog_CC+:} false; then :
2998 $as_echo_n "(cached) " >&6
2999else
3000 if test -n "$CC"; then
3001 ac_cv_prog_CC="$CC" # Let the user override the test.
3002else
3003as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3004for as_dir in $PATH
3005do
3006 IFS=$as_save_IFS
3007 test -z "$as_dir" && as_dir=.
3008 for ac_exec_ext in '' $ac_executable_extensions; do
d6ba7c28 3009 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9931e273
DB
3010 ac_cv_prog_CC="${ac_tool_prefix}cc"
3011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3012 break 2
3013 fi
3014done
3015 done
3016IFS=$as_save_IFS
3017
3018fi
3019fi
3020CC=$ac_cv_prog_CC
3021if test -n "$CC"; then
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3023$as_echo "$CC" >&6; }
3024else
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3026$as_echo "no" >&6; }
3027fi
3028
3029
3030 fi
3031fi
3032if test -z "$CC"; then
3033 # Extract the first word of "cc", so it can be a program name with args.
3034set dummy cc; ac_word=$2
3035{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3036$as_echo_n "checking for $ac_word... " >&6; }
3037if ${ac_cv_prog_CC+:} false; then :
3038 $as_echo_n "(cached) " >&6
3039else
3040 if test -n "$CC"; then
3041 ac_cv_prog_CC="$CC" # Let the user override the test.
3042else
3043 ac_prog_rejected=no
3044as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3045for as_dir in $PATH
3046do
3047 IFS=$as_save_IFS
3048 test -z "$as_dir" && as_dir=.
3049 for ac_exec_ext in '' $ac_executable_extensions; do
d6ba7c28 3050 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9931e273
DB
3051 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3052 ac_prog_rejected=yes
3053 continue
3054 fi
3055 ac_cv_prog_CC="cc"
3056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3057 break 2
3058 fi
3059done
3060 done
3061IFS=$as_save_IFS
3062
3063if test $ac_prog_rejected = yes; then
3064 # We found a bogon in the path, so make sure we never use it.
3065 set dummy $ac_cv_prog_CC
3066 shift
3067 if test $# != 0; then
3068 # We chose a different compiler from the bogus one.
3069 # However, it has the same basename, so the bogon will be chosen
3070 # first if we set CC to just the basename; use the full file name.
3071 shift
3072 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3073 fi
3074fi
3075fi
3076fi
3077CC=$ac_cv_prog_CC
3078if test -n "$CC"; then
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3080$as_echo "$CC" >&6; }
3081else
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3083$as_echo "no" >&6; }
3084fi
3085
3086
3087fi
3088if test -z "$CC"; then
3089 if test -n "$ac_tool_prefix"; then
3090 for ac_prog in cl.exe
3091 do
3092 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3093set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3094{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3095$as_echo_n "checking for $ac_word... " >&6; }
3096if ${ac_cv_prog_CC+:} false; then :
3097 $as_echo_n "(cached) " >&6
3098else
3099 if test -n "$CC"; then
3100 ac_cv_prog_CC="$CC" # Let the user override the test.
3101else
3102as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3103for as_dir in $PATH
3104do
3105 IFS=$as_save_IFS
3106 test -z "$as_dir" && as_dir=.
3107 for ac_exec_ext in '' $ac_executable_extensions; do
d6ba7c28 3108 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9931e273
DB
3109 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3111 break 2
3112 fi
3113done
3114 done
3115IFS=$as_save_IFS
3116
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
3129 test -n "$CC" && break
3130 done
3131fi
3132if test -z "$CC"; then
3133 ac_ct_CC=$CC
3134 for ac_prog in cl.exe
3135do
3136 # Extract the first word of "$ac_prog", so it can be a program name with args.
3137set dummy $ac_prog; ac_word=$2
3138{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3139$as_echo_n "checking for $ac_word... " >&6; }
3140if ${ac_cv_prog_ac_ct_CC+:} false; then :
3141 $as_echo_n "(cached) " >&6
3142else
3143 if test -n "$ac_ct_CC"; then
3144 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3145else
3146as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3147for as_dir in $PATH
3148do
3149 IFS=$as_save_IFS
3150 test -z "$as_dir" && as_dir=.
3151 for ac_exec_ext in '' $ac_executable_extensions; do
d6ba7c28 3152 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9931e273
DB
3153 ac_cv_prog_ac_ct_CC="$ac_prog"
3154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3155 break 2
3156 fi
3157done
3158 done
3159IFS=$as_save_IFS
3160
3161fi
3162fi
3163ac_ct_CC=$ac_cv_prog_ac_ct_CC
3164if test -n "$ac_ct_CC"; then
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3166$as_echo "$ac_ct_CC" >&6; }
3167else
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3169$as_echo "no" >&6; }
3170fi
3171
3172
3173 test -n "$ac_ct_CC" && break
3174done
3175
3176 if test "x$ac_ct_CC" = x; then
3177 CC=""
3178 else
3179 case $cross_compiling:$ac_tool_warned in
3180yes:)
3181{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3182$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3183ac_tool_warned=yes ;;
3184esac
3185 CC=$ac_ct_CC
3186 fi
3187fi
3188
3189fi
3190
3191
3192test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3193$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3194as_fn_error $? "no acceptable C compiler found in \$PATH
3195See \`config.log' for more details" "$LINENO" 5; }
3196
3197# Provide some information about the compiler.
3198$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3199set X $ac_compile
3200ac_compiler=$2
3201for ac_option in --version -v -V -qversion; do
3202 { { ac_try="$ac_compiler $ac_option >&5"
3203case "(($ac_try" in
3204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3205 *) ac_try_echo=$ac_try;;
3206esac
3207eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3208$as_echo "$ac_try_echo"; } >&5
3209 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3210 ac_status=$?
3211 if test -s conftest.err; then
3212 sed '10a\
3213... rest of stderr output deleted ...
3214 10q' conftest.err >conftest.er1
3215 cat conftest.er1 >&5
3216 fi
3217 rm -f conftest.er1 conftest.err
3218 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3219 test $ac_status = 0; }
3220done
3221
3222cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3223/* end confdefs.h. */
3224
3225int
3226main ()
3227{
3228
3229 ;
3230 return 0;
3231}
3232_ACEOF
3233ac_clean_files_save=$ac_clean_files
3234ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3235# Try to create an executable without -o first, disregard a.out.
3236# It will help us diagnose broken compilers, and finding out an intuition
3237# of exeext.
3238{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3239$as_echo_n "checking whether the C compiler works... " >&6; }
3240ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3241
3242# The possible output files:
3243ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3244
3245ac_rmfiles=
3246for ac_file in $ac_files
3247do
3248 case $ac_file in
3249 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3250 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3251 esac
3252done
3253rm -f $ac_rmfiles
3254
3255if { { ac_try="$ac_link_default"
3256case "(($ac_try" in
3257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3258 *) ac_try_echo=$ac_try;;
3259esac
3260eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3261$as_echo "$ac_try_echo"; } >&5
3262 (eval "$ac_link_default") 2>&5
3263 ac_status=$?
3264 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3265 test $ac_status = 0; }; then :
3266 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3267# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3268# in a Makefile. We should not override ac_cv_exeext if it was cached,
3269# so that the user can short-circuit this test for compilers unknown to
3270# Autoconf.
3271for ac_file in $ac_files ''
3272do
3273 test -f "$ac_file" || continue
3274 case $ac_file in
3275 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3276 ;;
3277 [ab].out )
3278 # We found the default executable, but exeext='' is most
3279 # certainly right.
3280 break;;
3281 *.* )
3282 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3283 then :; else
3284 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3285 fi
3286 # We set ac_cv_exeext here because the later test for it is not
3287 # safe: cross compilers may not add the suffix if given an `-o'
3288 # argument, so we may need to know it at that point already.
3289 # Even if this section looks crufty: it has the advantage of
3290 # actually working.
3291 break;;
3292 * )
3293 break;;
3294 esac
3295done
3296test "$ac_cv_exeext" = no && ac_cv_exeext=
3297
3298else
3299 ac_file=''
3300fi
3301if test -z "$ac_file"; then :
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3303$as_echo "no" >&6; }
3304$as_echo "$as_me: failed program was:" >&5
3305sed 's/^/| /' conftest.$ac_ext >&5
3306
3307{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3308$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3309as_fn_error 77 "C compiler cannot create executables
3310See \`config.log' for more details" "$LINENO" 5; }
3311else
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3313$as_echo "yes" >&6; }
3314fi
3315{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3316$as_echo_n "checking for C compiler default output file name... " >&6; }
3317{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3318$as_echo "$ac_file" >&6; }
3319ac_exeext=$ac_cv_exeext
3320
3321rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3322ac_clean_files=$ac_clean_files_save
3323{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3324$as_echo_n "checking for suffix of executables... " >&6; }
3325if { { ac_try="$ac_link"
3326case "(($ac_try" in
3327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3328 *) ac_try_echo=$ac_try;;
3329esac
3330eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3331$as_echo "$ac_try_echo"; } >&5
3332 (eval "$ac_link") 2>&5
3333 ac_status=$?
3334 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3335 test $ac_status = 0; }; then :
3336 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3337# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3338# work properly (i.e., refer to `conftest.exe'), while it won't with
3339# `rm'.
3340for ac_file in conftest.exe conftest conftest.*; do
3341 test -f "$ac_file" || continue
3342 case $ac_file in
3343 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3344 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3345 break;;
3346 * ) break;;
3347 esac
3348done
3349else
3350 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3351$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3352as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3353See \`config.log' for more details" "$LINENO" 5; }
3354fi
3355rm -f conftest conftest$ac_cv_exeext
3356{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3357$as_echo "$ac_cv_exeext" >&6; }
3358
3359rm -f conftest.$ac_ext
3360EXEEXT=$ac_cv_exeext
3361ac_exeext=$EXEEXT
3362cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3363/* end confdefs.h. */
3364#include <stdio.h>
3365int
3366main ()
3367{
3368FILE *f = fopen ("conftest.out", "w");
3369 return ferror (f) || fclose (f) != 0;
3370
3371 ;
3372 return 0;
3373}
3374_ACEOF
3375ac_clean_files="$ac_clean_files conftest.out"
3376# Check that the compiler produces executables we can run. If not, either
3377# the compiler is broken, or we cross compile.
3378{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3379$as_echo_n "checking whether we are cross compiling... " >&6; }
3380if test "$cross_compiling" != yes; then
3381 { { ac_try="$ac_link"
3382case "(($ac_try" in
3383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3384 *) ac_try_echo=$ac_try;;
3385esac
3386eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3387$as_echo "$ac_try_echo"; } >&5
3388 (eval "$ac_link") 2>&5
3389 ac_status=$?
3390 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3391 test $ac_status = 0; }
3392 if { ac_try='./conftest$ac_cv_exeext'
3393 { { case "(($ac_try" in
3394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3395 *) ac_try_echo=$ac_try;;
3396esac
3397eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3398$as_echo "$ac_try_echo"; } >&5
3399 (eval "$ac_try") 2>&5
3400 ac_status=$?
3401 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3402 test $ac_status = 0; }; }; then
3403 cross_compiling=no
3404 else
3405 if test "$cross_compiling" = maybe; then
3406 cross_compiling=yes
3407 else
3408 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3409$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3410as_fn_error $? "cannot run C compiled programs.
3411If you meant to cross compile, use \`--host'.
3412See \`config.log' for more details" "$LINENO" 5; }
3413 fi
3414 fi
3415fi
3416{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3417$as_echo "$cross_compiling" >&6; }
3418
3419rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3420ac_clean_files=$ac_clean_files_save
3421{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3422$as_echo_n "checking for suffix of object files... " >&6; }
3423if ${ac_cv_objext+:} false; then :
3424 $as_echo_n "(cached) " >&6
3425else
3426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3427/* end confdefs.h. */
3428
3429int
3430main ()
3431{
3432
3433 ;
3434 return 0;
3435}
3436_ACEOF
3437rm -f conftest.o conftest.obj
3438if { { ac_try="$ac_compile"
3439case "(($ac_try" in
3440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3441 *) ac_try_echo=$ac_try;;
3442esac
3443eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3444$as_echo "$ac_try_echo"; } >&5
3445 (eval "$ac_compile") 2>&5
3446 ac_status=$?
3447 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3448 test $ac_status = 0; }; then :
3449 for ac_file in conftest.o conftest.obj conftest.*; do
3450 test -f "$ac_file" || continue;
3451 case $ac_file in
3452 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3453 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3454 break;;
3455 esac
3456done
3457else
3458 $as_echo "$as_me: failed program was:" >&5
3459sed 's/^/| /' conftest.$ac_ext >&5
3460
3461{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3462$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3463as_fn_error $? "cannot compute suffix of object files: cannot compile
3464See \`config.log' for more details" "$LINENO" 5; }
3465fi
3466rm -f conftest.$ac_cv_objext conftest.$ac_ext
3467fi
3468{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3469$as_echo "$ac_cv_objext" >&6; }
3470OBJEXT=$ac_cv_objext
3471ac_objext=$OBJEXT
3472{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3473$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3474if ${ac_cv_c_compiler_gnu+:} false; then :
3475 $as_echo_n "(cached) " >&6
3476else
3477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3478/* end confdefs.h. */
3479
3480int
3481main ()
3482{
3483#ifndef __GNUC__
3484 choke me
3485#endif
3486
3487 ;
3488 return 0;
3489}
3490_ACEOF
3491if ac_fn_c_try_compile "$LINENO"; then :
3492 ac_compiler_gnu=yes
3493else
3494 ac_compiler_gnu=no
3495fi
3496rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3497ac_cv_c_compiler_gnu=$ac_compiler_gnu
3498
3499fi
3500{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3501$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3502if test $ac_compiler_gnu = yes; then
3503 GCC=yes
3504else
3505 GCC=
3506fi
3507ac_test_CFLAGS=${CFLAGS+set}
3508ac_save_CFLAGS=$CFLAGS
3509{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3510$as_echo_n "checking whether $CC accepts -g... " >&6; }
3511if ${ac_cv_prog_cc_g+:} false; then :
3512 $as_echo_n "(cached) " >&6
3513else
3514 ac_save_c_werror_flag=$ac_c_werror_flag
3515 ac_c_werror_flag=yes
3516 ac_cv_prog_cc_g=no
3517 CFLAGS="-g"
3518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3519/* end confdefs.h. */
3520
3521int
3522main ()
3523{
3524
3525 ;
3526 return 0;
3527}
3528_ACEOF
3529if ac_fn_c_try_compile "$LINENO"; then :
3530 ac_cv_prog_cc_g=yes
3531else
3532 CFLAGS=""
3533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3534/* end confdefs.h. */
3535
3536int
3537main ()
3538{
3539
3540 ;
3541 return 0;
3542}
3543_ACEOF
3544if ac_fn_c_try_compile "$LINENO"; then :
3545
3546else
3547 ac_c_werror_flag=$ac_save_c_werror_flag
3548 CFLAGS="-g"
3549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3550/* end confdefs.h. */
3551
3552int
3553main ()
3554{
3555
3556 ;
3557 return 0;
3558}
3559_ACEOF
3560if ac_fn_c_try_compile "$LINENO"; then :
3561 ac_cv_prog_cc_g=yes
3562fi
3563rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3564fi
3565rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3566fi
3567rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3568 ac_c_werror_flag=$ac_save_c_werror_flag
3569fi
3570{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3571$as_echo "$ac_cv_prog_cc_g" >&6; }
3572if test "$ac_test_CFLAGS" = set; then
3573 CFLAGS=$ac_save_CFLAGS
3574elif test $ac_cv_prog_cc_g = yes; then
3575 if test "$GCC" = yes; then
3576 CFLAGS="-g -O2"
3577 else
3578 CFLAGS="-g"
3579 fi
3580else
3581 if test "$GCC" = yes; then
3582 CFLAGS="-O2"
3583 else
3584 CFLAGS=
3585 fi
3586fi
3587{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3588$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3589if ${ac_cv_prog_cc_c89+:} false; then :
3590 $as_echo_n "(cached) " >&6
3591else
3592 ac_cv_prog_cc_c89=no
3593ac_save_CC=$CC
3594cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3595/* end confdefs.h. */
3596#include <stdarg.h>
3597#include <stdio.h>
d6ba7c28 3598struct stat;
9931e273
DB
3599/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3600struct buf { int x; };
3601FILE * (*rcsopen) (struct buf *, struct stat *, int);
3602static char *e (p, i)
3603 char **p;
3604 int i;
3605{
3606 return p[i];
3607}
3608static char *f (char * (*g) (char **, int), char **p, ...)
3609{
3610 char *s;
3611 va_list v;
3612 va_start (v,p);
3613 s = g (p, va_arg (v,int));
3614 va_end (v);
3615 return s;
3616}
3617
3618/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3619 function prototypes and stuff, but not '\xHH' hex character constants.
3620 These don't provoke an error unfortunately, instead are silently treated
3621 as 'x'. The following induces an error, until -std is added to get
3622 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3623 array size at least. It's necessary to write '\x00'==0 to get something
3624 that's true only with -std. */
3625int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3626
3627/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3628 inside strings and character constants. */
3629#define FOO(x) 'x'
3630int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3631
3632int test (int i, double x);
3633struct s1 {int (*f) (int a);};
3634struct s2 {int (*f) (double a);};
3635int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3636int argc;
3637char **argv;
3638int
3639main ()
3640{
3641return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3642 ;
3643 return 0;
3644}
3645_ACEOF
3646for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3647 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3648do
3649 CC="$ac_save_CC $ac_arg"
3650 if ac_fn_c_try_compile "$LINENO"; then :
3651 ac_cv_prog_cc_c89=$ac_arg
3652fi
3653rm -f core conftest.err conftest.$ac_objext
3654 test "x$ac_cv_prog_cc_c89" != "xno" && break
3655done
3656rm -f conftest.$ac_ext
3657CC=$ac_save_CC
3658
3659fi
3660# AC_CACHE_VAL
3661case "x$ac_cv_prog_cc_c89" in
3662 x)
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3664$as_echo "none needed" >&6; } ;;
3665 xno)
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3667$as_echo "unsupported" >&6; } ;;
3668 *)
3669 CC="$CC $ac_cv_prog_cc_c89"
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3671$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3672esac
3673if test "x$ac_cv_prog_cc_c89" != xno; then :
3674
3675fi
3676
3677ac_ext=c
3678ac_cpp='$CPP $CPPFLAGS'
3679ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3680ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3681ac_compiler_gnu=$ac_cv_c_compiler_gnu
3682DEPDIR="${am__leading_dot}deps"
3683
3684ac_config_commands="$ac_config_commands depfiles"
3685
3686
3687am_make=${MAKE-make}
3688cat > confinc << 'END'
3689am__doit:
3690 @echo this is the am__doit target
3691.PHONY: am__doit
3692END
3693# If we don't find an include directive, just comment out the code.
3694{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3695$as_echo_n "checking for style of include used by $am_make... " >&6; }
3696am__include="#"
3697am__quote=
3698_am_result=none
3699# First try GNU make style include.
3700echo "include confinc" > confmf
d6ba7c28 3701# Ignore all kinds of additional output from 'make'.
9931e273
DB
3702case `$am_make -s -f confmf 2> /dev/null` in #(
3703*the\ am__doit\ target*)
3704 am__include=include
3705 am__quote=
3706 _am_result=GNU
3707 ;;
3708esac
3709# Now try BSD make style include.
3710if test "$am__include" = "#"; then
3711 echo '.include "confinc"' > confmf
3712 case `$am_make -s -f confmf 2> /dev/null` in #(
3713 *the\ am__doit\ target*)
3714 am__include=.include
3715 am__quote="\""
3716 _am_result=BSD
3717 ;;
3718 esac
3719fi
3720
3721
3722{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3723$as_echo "$_am_result" >&6; }
3724rm -f confinc confmf
3725
3726# Check whether --enable-dependency-tracking was given.
3727if test "${enable_dependency_tracking+set}" = set; then :
3728 enableval=$enable_dependency_tracking;
3729fi
3730
3731if test "x$enable_dependency_tracking" != xno; then
3732 am_depcomp="$ac_aux_dir/depcomp"
3733 AMDEPBACKSLASH='\'
d6ba7c28 3734 am__nodep='_no'
9931e273
DB
3735fi
3736 if test "x$enable_dependency_tracking" != xno; then
3737 AMDEP_TRUE=
3738 AMDEP_FALSE='#'
3739else
3740 AMDEP_TRUE='#'
3741 AMDEP_FALSE=
3742fi
3743
3744
3745
3746depcc="$CC" am_compiler_list=
3747
3748{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3749$as_echo_n "checking dependency style of $depcc... " >&6; }
3750if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3751 $as_echo_n "(cached) " >&6
3752else
3753 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3754 # We make a subdir and do the tests there. Otherwise we can end up
3755 # making bogus files that we don't know about and never remove. For
3756 # instance it was reported that on HP-UX the gcc test will end up
d6ba7c28
AG
3757 # making a dummy file named 'D' -- because '-MD' means "put the output
3758 # in D".
3759 rm -rf conftest.dir
9931e273
DB
3760 mkdir conftest.dir
3761 # Copy depcomp to subdir because otherwise we won't find it if we're
3762 # using a relative directory.
3763 cp "$am_depcomp" conftest.dir
3764 cd conftest.dir
3765 # We will build objects and dependencies in a subdirectory because
3766 # it helps to detect inapplicable dependency modes. For instance
3767 # both Tru64's cc and ICC support -MD to output dependencies as a
3768 # side effect of compilation, but ICC will put the dependencies in
3769 # the current directory while Tru64 will put them in the object
3770 # directory.
3771 mkdir sub
3772
3773 am_cv_CC_dependencies_compiler_type=none
3774 if test "$am_compiler_list" = ""; then
3775 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3776 fi
3777 am__universal=false
3778 case " $depcc " in #(
3779 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3780 esac
3781
3782 for depmode in $am_compiler_list; do
3783 # Setup a source with many dependencies, because some compilers
3784 # like to wrap large dependency lists on column 80 (with \), and
3785 # we should not choose a depcomp mode which is confused by this.
3786 #
3787 # We need to recreate these files for each test, as the compiler may
3788 # overwrite some of them when testing with obscure command lines.
3789 # This happens at least with the AIX C compiler.
3790 : > sub/conftest.c
3791 for i in 1 2 3 4 5 6; do
3792 echo '#include "conftst'$i'.h"' >> sub/conftest.c
d6ba7c28
AG
3793 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3794 # Solaris 10 /bin/sh.
3795 echo '/* dummy */' > sub/conftst$i.h
9931e273
DB
3796 done
3797 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3798
d6ba7c28 3799 # We check with '-c' and '-o' for the sake of the "dashmstdout"
9931e273 3800 # mode. It turns out that the SunPro C++ compiler does not properly
d6ba7c28
AG
3801 # handle '-M -o', and we need to detect this. Also, some Intel
3802 # versions had trouble with output in subdirs.
9931e273
DB
3803 am__obj=sub/conftest.${OBJEXT-o}
3804 am__minus_obj="-o $am__obj"
3805 case $depmode in
3806 gcc)
3807 # This depmode causes a compiler race in universal mode.
3808 test "$am__universal" = false || continue
3809 ;;
3810 nosideeffect)
d6ba7c28
AG
3811 # After this tag, mechanisms are not by side-effect, so they'll
3812 # only be used when explicitly requested.
9931e273
DB
3813 if test "x$enable_dependency_tracking" = xyes; then
3814 continue
3815 else
3816 break
3817 fi
3818 ;;
d6ba7c28
AG
3819 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3820 # This compiler won't grok '-c -o', but also, the minuso test has
9931e273
DB
3821 # not run yet. These depmodes are late enough in the game, and
3822 # so weak that their functioning should not be impacted.
3823 am__obj=conftest.${OBJEXT-o}
3824 am__minus_obj=
3825 ;;
3826 none) break ;;
3827 esac
3828 if depmode=$depmode \
3829 source=sub/conftest.c object=$am__obj \
3830 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3831 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3832 >/dev/null 2>conftest.err &&
3833 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3834 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3835 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3836 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3837 # icc doesn't choke on unknown options, it will just issue warnings
3838 # or remarks (even with -Werror). So we grep stderr for any message
3839 # that says an option was ignored or not supported.
3840 # When given -MP, icc 7.0 and 7.1 complain thusly:
3841 # icc: Command line warning: ignoring option '-M'; no argument required
3842 # The diagnosis changed in icc 8.0:
3843 # icc: Command line remark: option '-MP' not supported
3844 if (grep 'ignoring option' conftest.err ||
3845 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3846 am_cv_CC_dependencies_compiler_type=$depmode
3847 break
3848 fi
3849 fi
3850 done
3851
3852 cd ..
3853 rm -rf conftest.dir
3854else
3855 am_cv_CC_dependencies_compiler_type=none
3856fi
3857
3858fi
3859{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3860$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3861CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3862
3863 if
3864 test "x$enable_dependency_tracking" != xno \
3865 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3866 am__fastdepCC_TRUE=
3867 am__fastdepCC_FALSE='#'
3868else
3869 am__fastdepCC_TRUE='#'
3870 am__fastdepCC_FALSE=