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