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