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