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