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