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