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