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