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