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