Debian Codegraph @

configure

raw
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for 4Pane 8.0.
4 #
5 #
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7 #
8 #
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
29 ;;
30 esac
31 fi
32
33
34 as_nl='
35 '
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64 '
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
67 fi
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
70 fi
71
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
78 }
79 fi
80
81
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
88
89 # Find who we are. Look in the path if we contain no directory separator.
90 as_myself=
91 case $0 in #((
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
95 do
96 IFS=$as_save_IFS
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99 done
100 IFS=$as_save_IFS
101
102 ;;
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107 as_myself=$0
108 fi
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
112 fi
113
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
125
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
131
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
157 fi
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162 emulate sh
163 NULLCMD=:
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
167 setopt NO_GLOB_SUBST
168 else
169 case \`(set -o) 2>/dev/null\` in #(
170 *posix*) :
171 set -o posix ;; #(
172 *) :
173 ;;
174 esac
175 fi
176 "
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
182
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190 else
191 exitcode=1; echo positional parameters were not saved.
192 fi
193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev/null; then :
201 as_have_required=yes
202 else
203 as_have_required=no
204 fi
205 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
206
207 else
208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
209 as_found=false
210 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
211 do
212 IFS=$as_save_IFS
213 test -z "$as_dir" && as_dir=.
214 as_found=:
215 case $as_dir in #(
216 /*)
217 for as_base in sh bash ksh sh5; do
218 # Try only shells that exist, to save several forks.
219 as_shell=$as_dir/$as_base
220 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
222 CONFIG_SHELL=$as_shell as_have_required=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 break 2
225 fi
226 fi
227 done;;
228 esac
229 as_found=false
230 done
231 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
233 CONFIG_SHELL=$SHELL as_have_required=yes
234 fi; }
235 IFS=$as_save_IFS
236
237
238 if test "x$CONFIG_SHELL" != x; then :
239 export CONFIG_SHELL
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
244 BASH_ENV=/dev/null
245 ENV=/dev/null
246 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
247 case $- in # ((((
248 *v*x* | *x*v* ) as_opts=-vx ;;
249 *v* ) as_opts=-v ;;
250 *x* ) as_opts=-x ;;
251 * ) as_opts= ;;
252 esac
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
257 exit 255
258 fi
259
260 if test x$as_have_required = xno; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x${ZSH_VERSION+set} = xset ; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
266 else
267 $as_echo "$0: Please tell [email protected] about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
271 fi
272 exit 1
273 fi
274 fi
275 fi
276 SHELL=${CONFIG_SHELL-/bin/sh}
277 export SHELL
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE= GREP_OPTIONS=
280 unset CLICOLOR_FORCE GREP_OPTIONS
281
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
285 # as_fn_unset VAR
286 # ---------------
287 # Portably unset VAR.
288 as_fn_unset ()
289 {
290 { eval $1=; unset $1;}
291 }
292 as_unset=as_fn_unset
293
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
297 as_fn_set_status ()
298 {
299 return $1
300 } # as_fn_set_status
301
302 # as_fn_exit STATUS
303 # -----------------
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
305 as_fn_exit ()
306 {
307 set +e
308 as_fn_set_status $1
309 exit $1
310 } # as_fn_exit
311
312 # as_fn_mkdir_p
313 # -------------
314 # Create "$as_dir" as a directory, including parents if necessary.
315 as_fn_mkdir_p ()
316 {
317
318 case $as_dir in #(
319 -*) as_dir=./$as_dir;;
320 esac
321 test -d "$as_dir" || eval $as_mkdir_p || {
322 as_dirs=
323 while :; do
324 case $as_dir in #(
325 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
326 *) as_qdir=$as_dir;;
327 esac
328 as_dirs="'$as_qdir' $as_dirs"
329 as_dir=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334 $as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
336 s//\1/
337 q
338 }
339 /^X\(\/\/\)[^/].*/{
340 s//\1/
341 q
342 }
343 /^X\(\/\/\)$/{
344 s//\1/
345 q
346 }
347 /^X\(\/\).*/{
348 s//\1/
349 q
350 }
351 s/.*/./; q'`
352 test -d "$as_dir" && break
353 done
354 test -z "$as_dirs" || eval "mkdir $as_dirs"
355 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
356
357
358 } # as_fn_mkdir_p
359
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p ()
364 {
365 test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
372 # implementations.
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
374 eval 'as_fn_append ()
375 {
376 eval $1+=\$2
377 }'
378 else
379 as_fn_append ()
380 {
381 eval $1=\$$1\$2
382 }
383 fi # as_fn_append
384
385 # as_fn_arith ARG...
386 # ------------------
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
391 eval 'as_fn_arith ()
392 {
393 as_val=$(( $* ))
394 }'
395 else
396 as_fn_arith ()
397 {
398 as_val=`expr "$@" || test $? -eq 1`
399 }
400 fi # as_fn_arith
401
402
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
408 as_fn_error ()
409 {
410 as_status=$1; test $as_status -eq 0 && as_status=1
411 if test "$4"; then
412 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
414 fi
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit $as_status
417 } # as_fn_error
418
419 if expr a : '\(a\)' >/dev/null 2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001; then
421 as_expr=expr
422 else
423 as_expr=false
424 fi
425
426 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
427 as_basename=basename
428 else
429 as_basename=false
430 fi
431
432 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
433 as_dirname=dirname
434 else
435 as_dirname=false
436 fi
437
438 as_me=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
442 $as_echo X/"$0" |
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
444 s//\1/
445 q
446 }
447 /^X\/\(\/\/\)$/{
448 s//\1/
449 q
450 }
451 /^X\/\(\/\).*/{
452 s//\1/
453 q
454 }
455 s/.*/./; q'`
456
457 # Avoid depending upon Character Ranges.
458 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits='0123456789'
462 as_cr_alnum=$as_cr_Letters$as_cr_digits
463
464
465 as_lineno_1=$LINENO as_lineno_1a=$LINENO
466 as_lineno_2=$LINENO as_lineno_2a=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
470 sed -n '
471 p
472 /[$]LINENO/=
473 ' <$as_myself |
474 sed '
475 s/[$]LINENO.*/&-/
476 t lineno
477 b
478 :lineno
479 N
480 :loop
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
482 t loop
483 s/-\n.*//
484 ' >$as_me.lineno &&
485 chmod +x "$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
487
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec=no; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
495 . "./$as_me.lineno"
496 # Exit status is that of the last command.
497 exit
498 }
499
500 ECHO_C= ECHO_N= ECHO_T=
501 case `echo -n x` in #(((((
502 -n*)
503 case `echo 'xy\c'` in
504 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
505 xy) ECHO_C='\c';;
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
507 ECHO_T=' ';;
508 esac;;
509 *)
510 ECHO_N='-n';;
511 esac
512
513 rm -f conf$$ conf$$.exe conf$$.file
514 if test -d conf$$.dir; then
515 rm -f conf$$.dir/conf$$.file
516 else
517 rm -f conf$$.dir
518 mkdir conf$$.dir 2>/dev/null
519 fi
520 if (echo >conf$$.file) 2>/dev/null; then
521 if ln -s conf$$.file conf$$ 2>/dev/null; then
522 as_ln_s='ln -s'
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
528 as_ln_s='cp -pR'
529 elif ln conf$$.file conf$$ 2>/dev/null; then
530 as_ln_s=ln
531 else
532 as_ln_s='cp -pR'
533 fi
534 else
535 as_ln_s='cp -pR'
536 fi
537 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
538 rmdir conf$$.dir 2>/dev/null
539
540 if mkdir -p . 2>/dev/null; then
541 as_mkdir_p='mkdir -p "$as_dir"'
542 else
543 test -d ./-p && rmdir ./-p
544 as_mkdir_p=false
545 fi
546
547 as_test_x='test -x'
548 as_executable_p=as_fn_executable_p
549
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
552
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555
556
557 test -n "$DJDIR" || exec 7<&0 </dev/null
558 exec 6>&1
559
560 # Name of the host.
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562 # so uname gets run too.
563 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
564
565 #
566 # Initializations.
567 #
568 ac_default_prefix=/usr/local
569 ac_clean_files=
570 ac_config_libobj_dir=.
571 LIBOBJS=
572 cross_compiling=no
573 subdirs=
574 MFLAGS=
575 MAKEFLAGS=
576
577 # Identity of this package.
578 PACKAGE_NAME='4Pane'
579 PACKAGE_TARNAME='4pane'
580 PACKAGE_VERSION='8.0'
581 PACKAGE_STRING='4Pane 8.0'
582 PACKAGE_BUGREPORT=''
583 PACKAGE_URL=''
584
585 ac_unique_file="MyDirs.cpp"
586 # Factoring default headers for most tests.
587 ac_includes_default="\
588 #include <stdio.h>
589 #ifdef HAVE_SYS_TYPES_H
590 # include <sys/types.h>
591 #endif
592 #ifdef HAVE_SYS_STAT_H
593 # include <sys/stat.h>
594 #endif
595 #ifdef STDC_HEADERS
596 # include <stdlib.h>
597 # include <stddef.h>
598 #else
599 # ifdef HAVE_STDLIB_H
600 # include <stdlib.h>
601 # endif
602 #endif
603 #ifdef HAVE_STRING_H
604 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
605 # include <memory.h>
606 # endif
607 # include <string.h>
608 #endif
609 #ifdef HAVE_STRINGS_H
610 # include <strings.h>
611 #endif
612 #ifdef HAVE_INTTYPES_H
613 # include <inttypes.h>
614 #endif
615 #ifdef HAVE_STDINT_H
616 # include <stdint.h>
617 #endif
618 #ifdef HAVE_UNISTD_H
619 # include <unistd.h>
620 #endif"
621
622 ac_subst_vars='am__EXEEXT_FALSE
623 am__EXEEXT_TRUE
624 LTLIBOBJS
625 LIBOBJS
626 EXTRA_LDFLAGS
627 EXTRA_CXXFLAGS
628 EXTRA_CFLAGS
629 EXTRA_CPPFLAGS
630 AMUNINSTALL_install_docs_FALSE
631 AMUNINSTALL_install_docs_TRUE
632 AMINSTALL_install_docs_FALSE
633 AMINSTALL_install_docs_TRUE
634 AMUNINSTALL_install_rc_FALSE
635 AMUNINSTALL_install_rc_TRUE
636 AMINSTALL_install_rc_FALSE
637 AMINSTALL_install_rc_TRUE
638 AMUNINSTALL_locale_FALSE
639 AMUNINSTALL_locale_TRUE
640 AMINSTALL_locale_FALSE
641 AMINSTALL_locale_TRUE
642 AMUNINSTALL_desktop_FALSE
643 AMUNINSTALL_desktop_TRUE
644 AMINSTALL_desktop_FALSE
645 AMINSTALL_desktop_TRUE
646 AMUNINSTALL_symlink_FALSE
647 AMUNINSTALL_symlink_TRUE
648 AMINSTALL_symlink_FALSE
649 AMINSTALL_symlink_TRUE
650 AMUNINSTALL_install_app_FALSE
651 AMUNINSTALL_install_app_TRUE
652 AMINSTALL_install_app_FALSE
653 AMINSTALL_install_app_TRUE
654 XTRLIBS
655 XZFLAGS
656 AMBUILTIN_BZIP_FALSE
657 AMBUILTIN_BZIP_TRUE
658 BZIP2_FLAGS
659 EGREP
660 GREP
661 CPP
662 GTKPKG_LDFLAGS
663 GTKPKG_CFLAGS
664 PKG_CONFIG
665 AM_BACKSLASH
666 AM_DEFAULT_VERBOSITY
667 AM_DEFAULT_V
668 AM_V
669 am__fastdepCXX_FALSE
670 am__fastdepCXX_TRUE
671 CXXDEPMODE
672 am__fastdepCC_FALSE
673 am__fastdepCC_TRUE
674 CCDEPMODE
675 am__nodep
676 AMDEPBACKSLASH
677 AMDEP_FALSE
678 AMDEP_TRUE
679 am__include
680 DEPDIR
681 am__untar
682 am__tar
683 AMTAR
684 am__leading_dot
685 SET_MAKE
686 AWK
687 mkdir_p
688 MKDIR_P
689 INSTALL_STRIP_PROGRAM
690 STRIP
691 install_sh
692 MAKEINFO
693 AUTOHEADER
694 AUTOMAKE
695 AUTOCONF
696 ACLOCAL
697 VERSION
698 PACKAGE
699 CYGPATH_W
700 am__isrc
701 WX_PORT
702 WX_SHARED
703 WX_DEBUG
704 WX_UNICODE
705 WX_VERSION_MICRO
706 WX_VERSION_MINOR
707 WX_VERSION_MAJOR
708 WX_RESCOMP
709 WX_VERSION
710 WX_LIBS_STATIC
711 WX_LIBS
712 WX_CXXFLAGS_ONLY
713 WX_CFLAGS_ONLY
714 WX_CXXFLAGS
715 WX_CFLAGS
716 WX_CPPFLAGS
717 WX_CONFIG_PATH
718 CXXCPP
719 ac_ct_CXX
720 CXXFLAGS
721 CXX
722 OBJEXT
723 EXEEXT
724 ac_ct_CC
725 CPPFLAGS
726 LDFLAGS
727 CFLAGS
728 CC
729 LN_S
730 INSTALL_DATA
731 INSTALL_SCRIPT
732 INSTALL_PROGRAM
733 target_alias
734 host_alias
735 build_alias
736 LIBS
737 ECHO_T
738 ECHO_N
739 ECHO_C
740 DEFS
741 mandir
742 localedir
743 libdir
744 psdir
745 pdfdir
746 dvidir
747 htmldir
748 infodir
749 docdir
750 oldincludedir
751 includedir
752 runstatedir
753 localstatedir
754 sharedstatedir
755 sysconfdir
756 datadir
757 datarootdir
758 libexecdir
759 sbindir
760 bindir
761 program_transform_name
762 prefix
763 exec_prefix
764 PACKAGE_URL
765 PACKAGE_BUGREPORT
766 PACKAGE_STRING
767 PACKAGE_VERSION
768 PACKAGE_TARNAME
769 PACKAGE_NAME
770 PATH_SEPARATOR
771 SHELL
772 MSGFMT
773 AMMSGFMT_AVAILABLE_FALSE
774 AMMSGFMT_AVAILABLE_TRUE
775 am__quote'
776 ac_subst_files=''
777 ac_user_opts='
778 enable_option_checking
779 with_wxdir
780 with_wx_config
781 with_wx_prefix
782 with_wx_exec_prefix
783 enable_debug
784 enable_unicode
785 with_toolkit
786 with_wxshared
787 enable_dependency_tracking
788 enable_silent_rules
789 with_builtin_bzip2
790 enable_lzma_streams
791 enable_install_app
792 enable_symlink
793 enable_desktop
794 enable_locale
795 enable_install_rc
796 enable_install_docs
797 '
798 ac_precious_vars='build_alias
799 host_alias
800 target_alias
801 CC
802 CFLAGS
803 LDFLAGS
804 LIBS
805 CPPFLAGS
806 CXX
807 CXXFLAGS
808 CCC
809 CXXCPP
810 CPP'
811
812
813 # Initialize some variables set by options.
814 ac_init_help=
815 ac_init_version=false
816 ac_unrecognized_opts=
817 ac_unrecognized_sep=
818 # The variables have the same names as the options, with
819 # dashes changed to underlines.
820 cache_file=/dev/null
821 exec_prefix=NONE
822 no_create=
823 no_recursion=
824 prefix=NONE
825 program_prefix=NONE
826 program_suffix=NONE
827 program_transform_name=s,x,x,
828 silent=
829 site=
830 srcdir=
831 verbose=
832 x_includes=NONE
833 x_libraries=NONE
834
835 # Installation directory options.
836 # These are left unexpanded so users can "make install exec_prefix=/foo"
837 # and all the variables that are supposed to be based on exec_prefix
838 # by default will actually change.
839 # Use braces instead of parens because sh, perl, etc. also accept them.
840 # (The list follows the same order as the GNU Coding Standards.)
841 bindir='${exec_prefix}/bin'
842 sbindir='${exec_prefix}/sbin'
843 libexecdir='${exec_prefix}/libexec'
844 datarootdir='${prefix}/share'
845 datadir='${datarootdir}'
846 sysconfdir='${prefix}/etc'
847 sharedstatedir='${prefix}/com'
848 localstatedir='${prefix}/var'
849 runstatedir='${localstatedir}/run'
850 includedir='${prefix}/include'
851 oldincludedir='/usr/include'
852 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
853 infodir='${datarootdir}/info'
854 htmldir='${docdir}'
855 dvidir='${docdir}'
856 pdfdir='${docdir}'
857 psdir='${docdir}'
858 libdir='${exec_prefix}/lib'
859 localedir='${datarootdir}/locale'
860 mandir='${datarootdir}/man'
861
862 ac_prev=
863 ac_dashdash=
864 for ac_option
865 do
866 # If the previous option needs an argument, assign it.
867 if test -n "$ac_prev"; then
868 eval $ac_prev=\$ac_option
869 ac_prev=
870 continue
871 fi
872
873 case $ac_option in
874 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
875 *=) ac_optarg= ;;
876 *) ac_optarg=yes ;;
877 esac
878
879 # Accept the important Cygnus configure options, so we can diagnose typos.
880
881 case $ac_dashdash$ac_option in
882 --)
883 ac_dashdash=yes ;;
884
885 -bindir | --bindir | --bindi | --bind | --bin | --bi)
886 ac_prev=bindir ;;
887 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
888 bindir=$ac_optarg ;;
889
890 -build | --build | --buil | --bui | --bu)
891 ac_prev=build_alias ;;
892 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
893 build_alias=$ac_optarg ;;
894
895 -cache-file | --cache-file | --cache-fil | --cache-fi \
896 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
897 ac_prev=cache_file ;;
898 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
899 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
900 cache_file=$ac_optarg ;;
901
902 --config-cache | -C)
903 cache_file=config.cache ;;
904
905 -datadir | --datadir | --datadi | --datad)
906 ac_prev=datadir ;;
907 -datadir=* | --datadir=* | --datadi=* | --datad=*)
908 datadir=$ac_optarg ;;
909
910 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
911 | --dataroo | --dataro | --datar)
912 ac_prev=datarootdir ;;
913 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
914 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
915 datarootdir=$ac_optarg ;;
916
917 -disable-* | --disable-*)
918 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
919 # Reject names that are not valid shell variable names.
920 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
921 as_fn_error $? "invalid feature name: $ac_useropt"
922 ac_useropt_orig=$ac_useropt
923 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
924 case $ac_user_opts in
925 *"
926 "enable_$ac_useropt"
927 "*) ;;
928 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
929 ac_unrecognized_sep=', ';;
930 esac
931 eval enable_$ac_useropt=no ;;
932
933 -docdir | --docdir | --docdi | --doc | --do)
934 ac_prev=docdir ;;
935 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
936 docdir=$ac_optarg ;;
937
938 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
939 ac_prev=dvidir ;;
940 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
941 dvidir=$ac_optarg ;;
942
943 -enable-* | --enable-*)
944 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
945 # Reject names that are not valid shell variable names.
946 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
947 as_fn_error $? "invalid feature name: $ac_useropt"
948 ac_useropt_orig=$ac_useropt
949 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
950 case $ac_user_opts in
951 *"
952 "enable_$ac_useropt"
953 "*) ;;
954 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
955 ac_unrecognized_sep=', ';;
956 esac
957 eval enable_$ac_useropt=\$ac_optarg ;;
958
959 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
960 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
961 | --exec | --exe | --ex)
962 ac_prev=exec_prefix ;;
963 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
964 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
965 | --exec=* | --exe=* | --ex=*)
966 exec_prefix=$ac_optarg ;;
967
968 -gas | --gas | --ga | --g)
969 # Obsolete; use --with-gas.
970 with_gas=yes ;;
971
972 -help | --help | --hel | --he | -h)
973 ac_init_help=long ;;
974 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
975 ac_init_help=recursive ;;
976 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
977 ac_init_help=short ;;
978
979 -host | --host | --hos | --ho)
980 ac_prev=host_alias ;;
981 -host=* | --host=* | --hos=* | --ho=*)
982 host_alias=$ac_optarg ;;
983
984 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
985 ac_prev=htmldir ;;
986 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
987 | --ht=*)
988 htmldir=$ac_optarg ;;
989
990 -includedir | --includedir | --includedi | --included | --include \
991 | --includ | --inclu | --incl | --inc)
992 ac_prev=includedir ;;
993 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
994 | --includ=* | --inclu=* | --incl=* | --inc=*)
995 includedir=$ac_optarg ;;
996
997 -infodir | --infodir | --infodi | --infod | --info | --inf)
998 ac_prev=infodir ;;
999 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1000 infodir=$ac_optarg ;;
1001
1002 -libdir | --libdir | --libdi | --libd)
1003 ac_prev=libdir ;;
1004 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1005 libdir=$ac_optarg ;;
1006
1007 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1008 | --libexe | --libex | --libe)
1009 ac_prev=libexecdir ;;
1010 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1011 | --libexe=* | --libex=* | --libe=*)
1012 libexecdir=$ac_optarg ;;
1013
1014 -localedir | --localedir | --localedi | --localed | --locale)
1015 ac_prev=localedir ;;
1016 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1017 localedir=$ac_optarg ;;
1018
1019 -localstatedir | --localstatedir | --localstatedi | --localstated \
1020 | --localstate | --localstat | --localsta | --localst | --locals)
1021 ac_prev=localstatedir ;;
1022 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1023 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1024 localstatedir=$ac_optarg ;;
1025
1026 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1027 ac_prev=mandir ;;
1028 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1029 mandir=$ac_optarg ;;
1030
1031 -nfp | --nfp | --nf)
1032 # Obsolete; use --without-fp.
1033 with_fp=no ;;
1034
1035 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1036 | --no-cr | --no-c | -n)
1037 no_create=yes ;;
1038
1039 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1040 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1041 no_recursion=yes ;;
1042
1043 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1044 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1045 | --oldin | --oldi | --old | --ol | --o)
1046 ac_prev=oldincludedir ;;
1047 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1048 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1049 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1050 oldincludedir=$ac_optarg ;;
1051
1052 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1053 ac_prev=prefix ;;
1054 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1055 prefix=$ac_optarg ;;
1056
1057 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1058 | --program-pre | --program-pr | --program-p)
1059 ac_prev=program_prefix ;;
1060 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1061 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1062 program_prefix=$ac_optarg ;;
1063
1064 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1065 | --program-suf | --program-su | --program-s)
1066 ac_prev=program_suffix ;;
1067 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1068 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1069 program_suffix=$ac_optarg ;;
1070
1071 -program-transform-name | --program-transform-name \
1072 | --program-transform-nam | --program-transform-na \
1073 | --program-transform-n | --program-transform- \
1074 | --program-transform | --program-transfor \
1075 | --program-transfo | --program-transf \
1076 | --program-trans | --program-tran \
1077 | --progr-tra | --program-tr | --program-t)
1078 ac_prev=program_transform_name ;;
1079 -program-transform-name=* | --program-transform-name=* \
1080 | --program-transform-nam=* | --program-transform-na=* \
1081 | --program-transform-n=* | --program-transform-=* \
1082 | --program-transform=* | --program-transfor=* \
1083 | --program-transfo=* | --program-transf=* \
1084 | --program-trans=* | --program-tran=* \
1085 | --progr-tra=* | --program-tr=* | --program-t=*)
1086 program_transform_name=$ac_optarg ;;
1087
1088 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1089 ac_prev=pdfdir ;;
1090 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1091 pdfdir=$ac_optarg ;;
1092
1093 -psdir | --psdir | --psdi | --psd | --ps)
1094 ac_prev=psdir ;;
1095 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1096 psdir=$ac_optarg ;;
1097
1098 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1099 | -silent | --silent | --silen | --sile | --sil)
1100 silent=yes ;;
1101
1102 -runstatedir | --runstatedir | --runstatedi | --runstated \
1103 | --runstate | --runstat | --runsta | --runst | --runs \
1104 | --run | --ru | --r)
1105 ac_prev=runstatedir ;;
1106 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1107 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1108 | --run=* | --ru=* | --r=*)
1109 runstatedir=$ac_optarg ;;
1110
1111 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1112 ac_prev=sbindir ;;
1113 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1114 | --sbi=* | --sb=*)
1115 sbindir=$ac_optarg ;;
1116
1117 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1118 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1119 | --sharedst | --shareds | --shared | --share | --shar \
1120 | --sha | --sh)
1121 ac_prev=sharedstatedir ;;
1122 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1123 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1124 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1125 | --sha=* | --sh=*)
1126 sharedstatedir=$ac_optarg ;;
1127
1128 -site | --site | --sit)
1129 ac_prev=site ;;
1130 -site=* | --site=* | --sit=*)
1131 site=$ac_optarg ;;
1132
1133 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1134 ac_prev=srcdir ;;
1135 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1136 srcdir=$ac_optarg ;;
1137
1138 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1139 | --syscon | --sysco | --sysc | --sys | --sy)
1140 ac_prev=sysconfdir ;;
1141 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1142 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1143 sysconfdir=$ac_optarg ;;
1144
1145 -target | --target | --targe | --targ | --tar | --ta | --t)
1146 ac_prev=target_alias ;;
1147 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1148 target_alias=$ac_optarg ;;
1149
1150 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1151 verbose=yes ;;
1152
1153 -version | --version | --versio | --versi | --vers | -V)
1154 ac_init_version=: ;;
1155
1156 -with-* | --with-*)
1157 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1158 # Reject names that are not valid shell variable names.
1159 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1160 as_fn_error $? "invalid package name: $ac_useropt"
1161 ac_useropt_orig=$ac_useropt
1162 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1163 case $ac_user_opts in
1164 *"
1165 "with_$ac_useropt"
1166 "*) ;;
1167 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1168 ac_unrecognized_sep=', ';;
1169 esac
1170 eval with_$ac_useropt=\$ac_optarg ;;
1171
1172 -without-* | --without-*)
1173 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1174 # Reject names that are not valid shell variable names.
1175 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1176 as_fn_error $? "invalid package name: $ac_useropt"
1177 ac_useropt_orig=$ac_useropt
1178 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1179 case $ac_user_opts in
1180 *"
1181 "with_$ac_useropt"
1182 "*) ;;
1183 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1184 ac_unrecognized_sep=', ';;
1185 esac
1186 eval with_$ac_useropt=no ;;
1187
1188 --x)
1189 # Obsolete; use --with-x.
1190 with_x=yes ;;
1191
1192 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1193 | --x-incl | --x-inc | --x-in | --x-i)
1194 ac_prev=x_includes ;;
1195 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1196 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1197 x_includes=$ac_optarg ;;
1198
1199 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1200 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1201 ac_prev=x_libraries ;;
1202 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1203 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1204 x_libraries=$ac_optarg ;;
1205
1206 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1207 Try \`$0 --help' for more information"
1208 ;;
1209
1210 *=*)
1211 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1212 # Reject names that are not valid shell variable names.
1213 case $ac_envvar in #(
1214 '' | [0-9]* | *[!_$as_cr_alnum]* )
1215 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1216 esac
1217 eval $ac_envvar=\$ac_optarg
1218 export $ac_envvar ;;
1219
1220 *)
1221 # FIXME: should be removed in autoconf 3.0.
1222 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1223 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1224 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1225 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1226 ;;
1227
1228 esac
1229 done
1230
1231 if test -n "$ac_prev"; then
1232 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1233 as_fn_error $? "missing argument to $ac_option"
1234 fi
1235
1236 if test -n "$ac_unrecognized_opts"; then
1237 case $enable_option_checking in
1238 no) ;;
1239 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1240 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1241 esac
1242 fi
1243
1244 # Check all directory arguments for consistency.
1245 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1246 datadir sysconfdir sharedstatedir localstatedir includedir \
1247 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1248 libdir localedir mandir runstatedir
1249 do
1250 eval ac_val=\$$ac_var
1251 # Remove trailing slashes.
1252 case $ac_val in
1253 */ )
1254 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1255 eval $ac_var=\$ac_val;;
1256 esac
1257 # Be sure to have absolute directory names.
1258 case $ac_val in
1259 [\\/$]* | ?:[\\/]* ) continue;;
1260 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1261 esac
1262 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1263 done
1264
1265 # There might be people who depend on the old broken behavior: `$host'
1266 # used to hold the argument of --host etc.
1267 # FIXME: To remove some day.
1268 build=$build_alias
1269 host=$host_alias
1270 target=$target_alias
1271
1272 # FIXME: To remove some day.
1273 if test "x$host_alias" != x; then
1274 if test "x$build_alias" = x; then
1275 cross_compiling=maybe
1276 elif test "x$build_alias" != "x$host_alias"; then
1277 cross_compiling=yes
1278 fi
1279 fi
1280
1281 ac_tool_prefix=
1282 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1283
1284 test "$silent" = yes && exec 6>/dev/null
1285
1286
1287 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1288 ac_ls_di=`ls -di .` &&
1289 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1290 as_fn_error $? "working directory cannot be determined"
1291 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1292 as_fn_error $? "pwd does not report name of working directory"
1293
1294
1295 # Find the source files, if location was not specified.
1296 if test -z "$srcdir"; then
1297 ac_srcdir_defaulted=yes
1298 # Try the directory containing this script, then the parent directory.
1299 ac_confdir=`$as_dirname -- "$as_myself" ||
1300 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1301 X"$as_myself" : 'X\(//\)[^/]' \| \
1302 X"$as_myself" : 'X\(//\)$' \| \
1303 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1304 $as_echo X"$as_myself" |
1305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1306 s//\1/
1307 q
1308 }
1309 /^X\(\/\/\)[^/].*/{
1310 s//\1/
1311 q
1312 }
1313 /^X\(\/\/\)$/{
1314 s//\1/
1315 q
1316 }
1317 /^X\(\/\).*/{
1318 s//\1/
1319 q
1320 }
1321 s/.*/./; q'`
1322 srcdir=$ac_confdir
1323 if test ! -r "$srcdir/$ac_unique_file"; then
1324 srcdir=..
1325 fi
1326 else
1327 ac_srcdir_defaulted=no
1328 fi
1329 if test ! -r "$srcdir/$ac_unique_file"; then
1330 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1331 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1332 fi
1333 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1334 ac_abs_confdir=`(
1335 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1336 pwd)`
1337 # When building in place, set srcdir=.
1338 if test "$ac_abs_confdir" = "$ac_pwd"; then
1339 srcdir=.
1340 fi
1341 # Remove unnecessary trailing slashes from srcdir.
1342 # Double slashes in file names in object file debugging info
1343 # mess up M-x gdb in Emacs.
1344 case $srcdir in
1345 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1346 esac
1347 for ac_var in $ac_precious_vars; do
1348 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1349 eval ac_env_${ac_var}_value=\$${ac_var}
1350 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1351 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1352 done
1353
1354 #
1355 # Report the --help message.
1356 #
1357 if test "$ac_init_help" = "long"; then
1358 # Omit some internal or obsolete options to make the list less imposing.
1359 # This message is too long to be a string in the A/UX 3.1 sh.
1360 cat <<_ACEOF
1361 \`configure' configures 4Pane 8.0 to adapt to many kinds of systems.
1362
1363 Usage: $0 [OPTION]... [VAR=VALUE]...
1364
1365 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1366 VAR=VALUE. See below for descriptions of some of the useful variables.
1367
1368 Defaults for the options are specified in brackets.
1369
1370 Configuration:
1371 -h, --help display this help and exit
1372 --help=short display options specific to this package
1373 --help=recursive display the short help of all the included packages
1374 -V, --version display version information and exit
1375 -q, --quiet, --silent do not print \`checking ...' messages
1376 --cache-file=FILE cache test results in FILE [disabled]
1377 -C, --config-cache alias for \`--cache-file=config.cache'
1378 -n, --no-create do not create output files
1379 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1380
1381 Installation directories:
1382 --prefix=PREFIX install architecture-independent files in PREFIX
1383 [$ac_default_prefix]
1384 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1385 [PREFIX]
1386
1387 By default, \`make install' will install all the files in
1388 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1389 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1390 for instance \`--prefix=\$HOME'.
1391
1392 For better control, use the options below.
1393
1394 Fine tuning of the installation directories:
1395 --bindir=DIR user executables [EPREFIX/bin]
1396 --sbindir=DIR system admin executables [EPREFIX/sbin]
1397 --libexecdir=DIR program executables [EPREFIX/libexec]
1398 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1399 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1400 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1401 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1402 --libdir=DIR object code libraries [EPREFIX/lib]
1403 --includedir=DIR C header files [PREFIX/include]
1404 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1405 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1406 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1407 --infodir=DIR info documentation [DATAROOTDIR/info]
1408 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1409 --mandir=DIR man documentation [DATAROOTDIR/man]
1410 --docdir=DIR documentation root [DATAROOTDIR/doc/4pane]
1411 --htmldir=DIR html documentation [DOCDIR]
1412 --dvidir=DIR dvi documentation [DOCDIR]
1413 --pdfdir=DIR pdf documentation [DOCDIR]
1414 --psdir=DIR ps documentation [DOCDIR]
1415 _ACEOF
1416
1417 cat <<\_ACEOF
1418
1419 Program names:
1420 --program-prefix=PREFIX prepend PREFIX to installed program names
1421 --program-suffix=SUFFIX append SUFFIX to installed program names
1422 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1423 _ACEOF
1424 fi
1425
1426 if test -n "$ac_init_help"; then
1427 case $ac_init_help in
1428 short | recursive ) echo "Configuration of 4Pane 8.0:";;
1429 esac
1430 cat <<\_ACEOF
1431
1432 Optional Features:
1433 --disable-option-checking ignore unrecognized --enable/--with options
1434 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1435 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1436 --enable-debug Build in debug mode (default is auto)
1437 --enable-unicode Build in Unicode mode (default is auto)
1438 --enable-dependency-tracking
1439 do not reject slow dependency extractors
1440 --disable-dependency-tracking
1441 speeds up one-time build
1442 --enable-silent-rules less verbose build output (undo: "make V=1")
1443 --disable-silent-rules verbose build output (undo: "make V=0")
1444 --enable-lzma_streams, whether to build with support for xz archive peeking (if yes, requires the xz/lzma headers to be installed)
1445
1446 --enable-install_app --disable-install_app stops make install installing
1447 the app (default is enable)
1448 --enable-symlink --disable-symlink stops make install creating a
1449 4Pane to 4pane symlink (default is enable)
1450 --enable-desktop --disable-desktop stops make install trying to
1451 create a 4Pane desktop shortcut (default is enable)
1452 --enable-locale --disable-locale stops make install trying to
1453 install 4Pane's locale files (default is enable)
1454 --enable-install_rc --disable-install_rc stops make install installing
1455 the resource files (default is enable)
1456 --enable-install_docs --disable-install_docs stops make install installing
1457 the manual files (default is enable)
1458
1459 Optional Packages:
1460 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1461 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1462 --with-wxdir=PATH Use uninstalled version of wxWidgets in PATH
1463 --with-wx-config=CONFIG wx-config script to use (optional)
1464 --with-wx-prefix=PREFIX Prefix where wxWidgets is installed (optional)
1465 --with-wx-exec-prefix=PREFIX
1466 Exec prefix where wxWidgets is installed (optional)
1467 --with-toolkit Build against a specific wxWidgets toolkit (default
1468 is auto)
1469 --with-wxshared Force building against a shared build of wxWidgets,
1470 even if --disable-shared is given (default is auto)
1471 --with-builtin_bzip2, whether to use built-in support for bzip2 archive peeking (if no, requires the bzip2 headers to be installed)
1472
1473
1474 Some influential environment variables:
1475 CC C compiler command
1476 CFLAGS C compiler flags
1477 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1478 nonstandard directory <lib dir>
1479 LIBS libraries to pass to the linker, e.g. -l<library>
1480 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1481 you have headers in a nonstandard directory <include dir>
1482 CXX C++ compiler command
1483 CXXFLAGS C++ compiler flags
1484 CXXCPP C++ preprocessor
1485 CPP C preprocessor
1486
1487 Use these variables to override the choices made by `configure' or to help
1488 it to find libraries and programs with nonstandard names/locations.
1489
1490 Report bugs to the package provider.
1491 _ACEOF
1492 ac_status=$?
1493 fi
1494
1495 if test "$ac_init_help" = "recursive"; then
1496 # If there are subdirs, report their specific --help.
1497 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1498 test -d "$ac_dir" ||
1499 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1500 continue
1501 ac_builddir=.
1502
1503 case "$ac_dir" in
1504 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1505 *)
1506 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1507 # A ".." for each directory in $ac_dir_suffix.
1508 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1509 case $ac_top_builddir_sub in
1510 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1511 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1512 esac ;;
1513 esac
1514 ac_abs_top_builddir=$ac_pwd
1515 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1516 # for backward compatibility:
1517 ac_top_builddir=$ac_top_build_prefix
1518
1519 case $srcdir in
1520 .) # We are building in place.
1521 ac_srcdir=.
1522 ac_top_srcdir=$ac_top_builddir_sub
1523 ac_abs_top_srcdir=$ac_pwd ;;
1524 [\\/]* | ?:[\\/]* ) # Absolute name.
1525 ac_srcdir=$srcdir$ac_dir_suffix;
1526 ac_top_srcdir=$srcdir
1527 ac_abs_top_srcdir=$srcdir ;;
1528 *) # Relative name.
1529 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1530 ac_top_srcdir=$ac_top_build_prefix$srcdir
1531 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1532 esac
1533 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1534
1535 cd "$ac_dir" || { ac_status=$?; continue; }
1536 # Check for guested configure.
1537 if test -f "$ac_srcdir/configure.gnu"; then
1538 echo &&
1539 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1540 elif test -f "$ac_srcdir/configure"; then
1541 echo &&
1542 $SHELL "$ac_srcdir/configure" --help=recursive
1543 else
1544 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1545 fi || ac_status=$?
1546 cd "$ac_pwd" || { ac_status=$?; break; }
1547 done
1548 fi
1549
1550 test -n "$ac_init_help" && exit $ac_status
1551 if $ac_init_version; then
1552 cat <<\_ACEOF
1553 4Pane configure 8.0
1554 generated by GNU Autoconf 2.69
1555
1556 Copyright (C) 2012 Free Software Foundation, Inc.
1557 This configure script is free software; the Free Software Foundation
1558 gives unlimited permission to copy, distribute and modify it.
1559 _ACEOF
1560 exit
1561 fi
1562
1563 ## ------------------------ ##
1564 ## Autoconf initialization. ##
1565 ## ------------------------ ##
1566
1567 # ac_fn_c_try_compile LINENO
1568 # --------------------------
1569 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1570 ac_fn_c_try_compile ()
1571 {
1572 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1573 rm -f conftest.$ac_objext
1574 if { { ac_try="$ac_compile"
1575 case "(($ac_try" in
1576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1577 *) ac_try_echo=$ac_try;;
1578 esac
1579 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1580 $as_echo "$ac_try_echo"; } >&5
1581 (eval "$ac_compile") 2>conftest.err
1582 ac_status=$?
1583 if test -s conftest.err; then
1584 grep -v '^ *+' conftest.err >conftest.er1
1585 cat conftest.er1 >&5
1586 mv -f conftest.er1 conftest.err
1587 fi
1588 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1589 test $ac_status = 0; } && {
1590 test -z "$ac_c_werror_flag" ||
1591 test ! -s conftest.err
1592 } && test -s conftest.$ac_objext; then :
1593 ac_retval=0
1594 else
1595 $as_echo "$as_me: failed program was:" >&5
1596 sed 's/^/| /' conftest.$ac_ext >&5
1597
1598 ac_retval=1
1599 fi
1600 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1601 as_fn_set_status $ac_retval
1602
1603 } # ac_fn_c_try_compile
1604
1605 # ac_fn_cxx_try_compile LINENO
1606 # ----------------------------
1607 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1608 ac_fn_cxx_try_compile ()
1609 {
1610 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1611 rm -f conftest.$ac_objext
1612 if { { ac_try="$ac_compile"
1613 case "(($ac_try" in
1614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1615 *) ac_try_echo=$ac_try;;
1616 esac
1617 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1618 $as_echo "$ac_try_echo"; } >&5
1619 (eval "$ac_compile") 2>conftest.err
1620 ac_status=$?
1621 if test -s conftest.err; then
1622 grep -v '^ *+' conftest.err >conftest.er1
1623 cat conftest.er1 >&5
1624 mv -f conftest.er1 conftest.err
1625 fi
1626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1627 test $ac_status = 0; } && {
1628 test -z "$ac_cxx_werror_flag" ||
1629 test ! -s conftest.err
1630 } && test -s conftest.$ac_objext; then :
1631 ac_retval=0
1632 else
1633 $as_echo "$as_me: failed program was:" >&5
1634 sed 's/^/| /' conftest.$ac_ext >&5
1635
1636 ac_retval=1
1637 fi
1638 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1639 as_fn_set_status $ac_retval
1640
1641 } # ac_fn_cxx_try_compile
1642
1643 # ac_fn_cxx_try_cpp LINENO
1644 # ------------------------
1645 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1646 ac_fn_cxx_try_cpp ()
1647 {
1648 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1649 if { { ac_try="$ac_cpp conftest.$ac_ext"
1650 case "(($ac_try" in
1651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1652 *) ac_try_echo=$ac_try;;
1653 esac
1654 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1655 $as_echo "$ac_try_echo"; } >&5
1656 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1657 ac_status=$?
1658 if test -s conftest.err; then
1659 grep -v '^ *+' conftest.err >conftest.er1
1660 cat conftest.er1 >&5
1661 mv -f conftest.er1 conftest.err
1662 fi
1663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1664 test $ac_status = 0; } > conftest.i && {
1665 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1666 test ! -s conftest.err
1667 }; then :
1668 ac_retval=0
1669 else
1670 $as_echo "$as_me: failed program was:" >&5
1671 sed 's/^/| /' conftest.$ac_ext >&5
1672
1673 ac_retval=1
1674 fi
1675 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1676 as_fn_set_status $ac_retval
1677
1678 } # ac_fn_cxx_try_cpp
1679
1680 # ac_fn_c_try_cpp LINENO
1681 # ----------------------
1682 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1683 ac_fn_c_try_cpp ()
1684 {
1685 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1686 if { { ac_try="$ac_cpp conftest.$ac_ext"
1687 case "(($ac_try" in
1688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1689 *) ac_try_echo=$ac_try;;
1690 esac
1691 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1692 $as_echo "$ac_try_echo"; } >&5
1693 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1694 ac_status=$?
1695 if test -s conftest.err; then
1696 grep -v '^ *+' conftest.err >conftest.er1
1697 cat conftest.er1 >&5
1698 mv -f conftest.er1 conftest.err
1699 fi
1700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1701 test $ac_status = 0; } > conftest.i && {
1702 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1703 test ! -s conftest.err
1704 }; then :
1705 ac_retval=0
1706 else
1707 $as_echo "$as_me: failed program was:" >&5
1708 sed 's/^/| /' conftest.$ac_ext >&5
1709
1710 ac_retval=1
1711 fi
1712 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1713 as_fn_set_status $ac_retval
1714
1715 } # ac_fn_c_try_cpp
1716
1717 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1718 # -------------------------------------------------------
1719 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1720 # the include files in INCLUDES and setting the cache variable VAR
1721 # accordingly.
1722 ac_fn_c_check_header_mongrel ()
1723 {
1724 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1725 if eval \${$3+:} false; then :
1726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1727 $as_echo_n "checking for $2... " >&6; }
1728 if eval \${$3+:} false; then :
1729 $as_echo_n "(cached) " >&6
1730 fi
1731 eval ac_res=\$$3
1732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1733 $as_echo "$ac_res" >&6; }
1734 else
1735 # Is the header compilable?
1736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1737 $as_echo_n "checking $2 usability... " >&6; }
1738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1739 /* end confdefs.h. */
1740 $4
1741 #include <$2>
1742 _ACEOF
1743 if ac_fn_c_try_compile "$LINENO"; then :
1744 ac_header_compiler=yes
1745 else
1746 ac_header_compiler=no
1747 fi
1748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1750 $as_echo "$ac_header_compiler" >&6; }
1751
1752 # Is the header present?
1753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1754 $as_echo_n "checking $2 presence... " >&6; }
1755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1756 /* end confdefs.h. */
1757 #include <$2>
1758 _ACEOF
1759 if ac_fn_c_try_cpp "$LINENO"; then :
1760 ac_header_preproc=yes
1761 else
1762 ac_header_preproc=no
1763 fi
1764 rm -f conftest.err conftest.i conftest.$ac_ext
1765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1766 $as_echo "$ac_header_preproc" >&6; }
1767
1768 # So? What about this header?
1769 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1770 yes:no: )
1771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1772 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1774 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1775 ;;
1776 no:yes:* )
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1778 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1779 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1780 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1781 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1782 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1784 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1786 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1787 ;;
1788 esac
1789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1790 $as_echo_n "checking for $2... " >&6; }
1791 if eval \${$3+:} false; then :
1792 $as_echo_n "(cached) " >&6
1793 else
1794 eval "$3=\$ac_header_compiler"
1795 fi
1796 eval ac_res=\$$3
1797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1798 $as_echo "$ac_res" >&6; }
1799 fi
1800 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1801
1802 } # ac_fn_c_check_header_mongrel
1803
1804 # ac_fn_c_try_run LINENO
1805 # ----------------------
1806 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1807 # that executables *can* be run.
1808 ac_fn_c_try_run ()
1809 {
1810 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1811 if { { ac_try="$ac_link"
1812 case "(($ac_try" in
1813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1814 *) ac_try_echo=$ac_try;;
1815 esac
1816 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1817 $as_echo "$ac_try_echo"; } >&5
1818 (eval "$ac_link") 2>&5
1819 ac_status=$?
1820 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1821 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1822 { { case "(($ac_try" in
1823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1824 *) ac_try_echo=$ac_try;;
1825 esac
1826 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1827 $as_echo "$ac_try_echo"; } >&5
1828 (eval "$ac_try") 2>&5
1829 ac_status=$?
1830 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1831 test $ac_status = 0; }; }; then :
1832 ac_retval=0
1833 else
1834 $as_echo "$as_me: program exited with status $ac_status" >&5
1835 $as_echo "$as_me: failed program was:" >&5
1836 sed 's/^/| /' conftest.$ac_ext >&5
1837
1838 ac_retval=$ac_status
1839 fi
1840 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1841 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1842 as_fn_set_status $ac_retval
1843
1844 } # ac_fn_c_try_run
1845
1846 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1847 # -------------------------------------------------------
1848 # Tests whether HEADER exists and can be compiled using the include files in
1849 # INCLUDES, setting the cache variable VAR accordingly.
1850 ac_fn_c_check_header_compile ()
1851 {
1852 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1854 $as_echo_n "checking for $2... " >&6; }
1855 if eval \${$3+:} false; then :
1856 $as_echo_n "(cached) " >&6
1857 else
1858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1859 /* end confdefs.h. */
1860 $4
1861 #include <$2>
1862 _ACEOF
1863 if ac_fn_c_try_compile "$LINENO"; then :
1864 eval "$3=yes"
1865 else
1866 eval "$3=no"
1867 fi
1868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1869 fi
1870 eval ac_res=\$$3
1871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1872 $as_echo "$ac_res" >&6; }
1873 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1874
1875 } # ac_fn_c_check_header_compile
1876 cat >config.log <<_ACEOF
1877 This file contains any messages produced by compilers while
1878 running configure, to aid debugging if configure makes a mistake.
1879
1880 It was created by 4Pane $as_me 8.0, which was
1881 generated by GNU Autoconf 2.69. Invocation command line was
1882
1883 $ $0 $@
1884
1885 _ACEOF
1886 exec 5>>config.log
1887 {
1888 cat <<_ASUNAME
1889 ## --------- ##
1890 ## Platform. ##
1891 ## --------- ##
1892
1893 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1894 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1895 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1896 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1897 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1898
1899 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1900 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1901
1902 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1903 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1904 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1905 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1906 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1907 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1908 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1909
1910 _ASUNAME
1911
1912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1913 for as_dir in $PATH
1914 do
1915 IFS=$as_save_IFS
1916 test -z "$as_dir" && as_dir=.
1917 $as_echo "PATH: $as_dir"
1918 done
1919 IFS=$as_save_IFS
1920
1921 } >&5
1922
1923 cat >&5 <<_ACEOF
1924
1925
1926 ## ----------- ##
1927 ## Core tests. ##
1928 ## ----------- ##
1929
1930 _ACEOF
1931
1932
1933 # Keep a trace of the command line.
1934 # Strip out --no-create and --no-recursion so they do not pile up.
1935 # Strip out --silent because we don't want to record it for future runs.
1936 # Also quote any args containing shell meta-characters.
1937 # Make two passes to allow for proper duplicate-argument suppression.
1938 ac_configure_args=
1939 ac_configure_args0=
1940 ac_configure_args1=
1941 ac_must_keep_next=false
1942 for ac_pass in 1 2
1943 do
1944 for ac_arg
1945 do
1946 case $ac_arg in
1947 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1948 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1949 | -silent | --silent | --silen | --sile | --sil)
1950 continue ;;
1951 *\'*)
1952 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1953 esac
1954 case $ac_pass in
1955 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1956 2)
1957 as_fn_append ac_configure_args1 " '$ac_arg'"
1958 if test $ac_must_keep_next = true; then
1959 ac_must_keep_next=false # Got value, back to normal.
1960 else
1961 case $ac_arg in
1962 *=* | --config-cache | -C | -disable-* | --disable-* \
1963 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1964 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1965 | -with-* | --with-* | -without-* | --without-* | --x)
1966 case "$ac_configure_args0 " in
1967 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1968 esac
1969 ;;
1970 -* ) ac_must_keep_next=true ;;
1971 esac
1972 fi
1973 as_fn_append ac_configure_args " '$ac_arg'"
1974 ;;
1975 esac
1976 done
1977 done
1978 { ac_configure_args0=; unset ac_configure_args0;}
1979 { ac_configure_args1=; unset ac_configure_args1;}
1980
1981 # When interrupted or exit'd, cleanup temporary files, and complete
1982 # config.log. We remove comments because anyway the quotes in there
1983 # would cause problems or look ugly.
1984 # WARNING: Use '\'' to represent an apostrophe within the trap.
1985 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1986 trap 'exit_status=$?
1987 # Save into config.log some information that might help in debugging.
1988 {
1989 echo
1990
1991 $as_echo "## ---------------- ##
1992 ## Cache variables. ##
1993 ## ---------------- ##"
1994 echo
1995 # The following way of writing the cache mishandles newlines in values,
1996 (
1997 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1998 eval ac_val=\$$ac_var
1999 case $ac_val in #(
2000 *${as_nl}*)
2001 case $ac_var in #(
2002 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2003 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2004 esac
2005 case $ac_var in #(
2006 _ | IFS | as_nl) ;; #(
2007 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2008 *) { eval $ac_var=; unset $ac_var;} ;;
2009 esac ;;
2010 esac
2011 done
2012 (set) 2>&1 |
2013 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2014 *${as_nl}ac_space=\ *)
2015 sed -n \
2016 "s/'\''/'\''\\\\'\'''\''/g;
2017 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2018 ;; #(
2019 *)
2020 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2021 ;;
2022 esac |
2023 sort
2024 )
2025 echo
2026
2027 $as_echo "## ----------------- ##
2028 ## Output variables. ##
2029 ## ----------------- ##"
2030 echo
2031 for ac_var in $ac_subst_vars
2032 do
2033 eval ac_val=\$$ac_var
2034 case $ac_val in
2035 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2036 esac
2037 $as_echo "$ac_var='\''$ac_val'\''"
2038 done | sort
2039 echo
2040
2041 if test -n "$ac_subst_files"; then
2042 $as_echo "## ------------------- ##
2043 ## File substitutions. ##
2044 ## ------------------- ##"
2045 echo
2046 for ac_var in $ac_subst_files
2047 do
2048 eval ac_val=\$$ac_var
2049 case $ac_val in
2050 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2051 esac
2052 $as_echo "$ac_var='\''$ac_val'\''"
2053 done | sort
2054 echo
2055 fi
2056
2057 if test -s confdefs.h; then
2058 $as_echo "## ----------- ##
2059 ## confdefs.h. ##
2060 ## ----------- ##"
2061 echo
2062 cat confdefs.h
2063 echo
2064 fi
2065 test "$ac_signal" != 0 &&
2066 $as_echo "$as_me: caught signal $ac_signal"
2067 $as_echo "$as_me: exit $exit_status"
2068 } >&5
2069 rm -f core *.core core.conftest.* &&
2070 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2071 exit $exit_status
2072 ' 0
2073 for ac_signal in 1 2 13 15; do
2074 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2075 done
2076 ac_signal=0
2077
2078 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2079 rm -f -r conftest* confdefs.h
2080
2081 $as_echo "/* confdefs.h */" > confdefs.h
2082
2083 # Predefined preprocessor variables.
2084
2085 cat >>confdefs.h <<_ACEOF
2086 #define PACKAGE_NAME "$PACKAGE_NAME"
2087 _ACEOF
2088
2089 cat >>confdefs.h <<_ACEOF
2090 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2091 _ACEOF
2092
2093 cat >>confdefs.h <<_ACEOF
2094 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2095 _ACEOF
2096
2097 cat >>confdefs.h <<_ACEOF
2098 #define PACKAGE_STRING "$PACKAGE_STRING"
2099 _ACEOF
2100
2101 cat >>confdefs.h <<_ACEOF
2102 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2103 _ACEOF
2104
2105 cat >>confdefs.h <<_ACEOF
2106 #define PACKAGE_URL "$PACKAGE_URL"
2107 _ACEOF
2108
2109
2110 # Let the site file select an alternate cache file if it wants to.
2111 # Prefer an explicitly selected file to automatically selected ones.
2112 ac_site_file1=NONE
2113 ac_site_file2=NONE
2114 if test -n "$CONFIG_SITE"; then
2115 # We do not want a PATH search for config.site.
2116 case $CONFIG_SITE in #((
2117 -*) ac_site_file1=./$CONFIG_SITE;;
2118 */*) ac_site_file1=$CONFIG_SITE;;
2119 *) ac_site_file1=./$CONFIG_SITE;;
2120 esac
2121 elif test "x$prefix" != xNONE; then
2122 ac_site_file1=$prefix/share/config.site
2123 ac_site_file2=$prefix/etc/config.site
2124 else
2125 ac_site_file1=$ac_default_prefix/share/config.site
2126 ac_site_file2=$ac_default_prefix/etc/config.site
2127 fi
2128 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2129 do
2130 test "x$ac_site_file" = xNONE && continue
2131 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2133 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2134 sed 's/^/| /' "$ac_site_file" >&5
2135 . "$ac_site_file" \
2136 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2137 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2138 as_fn_error $? "failed to load site script $ac_site_file
2139 See \`config.log' for more details" "$LINENO" 5; }
2140 fi
2141 done
2142
2143 if test -r "$cache_file"; then
2144 # Some versions of bash will fail to source /dev/null (special files
2145 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2146 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2148 $as_echo "$as_me: loading cache $cache_file" >&6;}
2149 case $cache_file in
2150 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2151 *) . "./$cache_file";;
2152 esac
2153 fi
2154 else
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2156 $as_echo "$as_me: creating cache $cache_file" >&6;}
2157 >$cache_file
2158 fi
2159
2160 # Check that the precious variables saved in the cache have kept the same
2161 # value.
2162 ac_cache_corrupted=false
2163 for ac_var in $ac_precious_vars; do
2164 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2165 eval ac_new_set=\$ac_env_${ac_var}_set
2166 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2167 eval ac_new_val=\$ac_env_${ac_var}_value
2168 case $ac_old_set,$ac_new_set in
2169 set,)
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2171 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2172 ac_cache_corrupted=: ;;
2173 ,set)
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2175 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2176 ac_cache_corrupted=: ;;
2177 ,);;
2178 *)
2179 if test "x$ac_old_val" != "x$ac_new_val"; then
2180 # differences in whitespace do not lead to failure.
2181 ac_old_val_w=`echo x $ac_old_val`
2182 ac_new_val_w=`echo x $ac_new_val`
2183 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2185 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2186 ac_cache_corrupted=:
2187 else
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2189 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2190 eval $ac_var=\$ac_old_val
2191 fi
2192 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2193 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2195 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2196 fi;;
2197 esac
2198 # Pass precious variables to config.status.
2199 if test "$ac_new_set" = set; then
2200 case $ac_new_val in
2201 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2202 *) ac_arg=$ac_var=$ac_new_val ;;
2203 esac
2204 case " $ac_configure_args " in
2205 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2206 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2207 esac
2208 fi
2209 done
2210 if $ac_cache_corrupted; then
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2212 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2214 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2215 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2216 fi
2217 ## -------------------- ##
2218 ## Main body of script. ##
2219 ## -------------------- ##
2220
2221 ac_ext=c
2222 ac_cpp='$CPP $CPPFLAGS'
2223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235 ac_aux_dir=
2236 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2237 if test -f "$ac_dir/install-sh"; then
2238 ac_aux_dir=$ac_dir
2239 ac_install_sh="$ac_aux_dir/install-sh -c"
2240 break
2241 elif test -f "$ac_dir/install.sh"; then
2242 ac_aux_dir=$ac_dir
2243 ac_install_sh="$ac_aux_dir/install.sh -c"
2244 break
2245 elif test -f "$ac_dir/shtool"; then
2246 ac_aux_dir=$ac_dir
2247 ac_install_sh="$ac_aux_dir/shtool install -c"
2248 break
2249 fi
2250 done
2251 if test -z "$ac_aux_dir"; then
2252 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2253 fi
2254
2255 # These three variables are undocumented and unsupported,
2256 # and are intended to be withdrawn in a future Autoconf release.
2257 # They can cause serious problems if a builder's source tree is in a directory
2258 # whose full name contains unusual characters.
2259 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2260 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2261 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2262
2263
2264 # Find a good install program. We prefer a C program (faster),
2265 # so one script is as good as another. But avoid the broken or
2266 # incompatible versions:
2267 # SysV /etc/install, /usr/sbin/install
2268 # SunOS /usr/etc/install
2269 # IRIX /sbin/install
2270 # AIX /bin/install
2271 # AmigaOS /C/install, which installs bootblocks on floppy discs
2272 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2273 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2274 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2275 # OS/2's system install, which has a completely different semantic
2276 # ./install, which can be erroneously created by make from ./install.sh.
2277 # Reject install programs that cannot install multiple files.
2278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2279 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2280 if test -z "$INSTALL"; then
2281 if ${ac_cv_path_install+:} false; then :
2282 $as_echo_n "(cached) " >&6
2283 else
2284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2285 for as_dir in $PATH
2286 do
2287 IFS=$as_save_IFS
2288 test -z "$as_dir" && as_dir=.
2289 # Account for people who put trailing slashes in PATH elements.
2290 case $as_dir/ in #((
2291 ./ | .// | /[cC]/* | \
2292 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2293 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2294 /usr/ucb/* ) ;;
2295 *)
2296 # OSF1 and SCO ODT 3.0 have their own names for install.
2297 # Don't use installbsd from OSF since it installs stuff as root
2298 # by default.
2299 for ac_prog in ginstall scoinst install; do
2300 for ac_exec_ext in '' $ac_executable_extensions; do
2301 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2302 if test $ac_prog = install &&
2303 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2304 # AIX install. It has an incompatible calling convention.
2305 :
2306 elif test $ac_prog = install &&
2307 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2308 # program-specific install script used by HP pwplus--don't use.
2309 :
2310 else
2311 rm -rf conftest.one conftest.two conftest.dir
2312 echo one > conftest.one
2313 echo two > conftest.two
2314 mkdir conftest.dir
2315 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2316 test -s conftest.one && test -s conftest.two &&
2317 test -s conftest.dir/conftest.one &&
2318 test -s conftest.dir/conftest.two
2319 then
2320 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2321 break 3
2322 fi
2323 fi
2324 fi
2325 done
2326 done
2327 ;;
2328 esac
2329
2330 done
2331 IFS=$as_save_IFS
2332
2333 rm -rf conftest.one conftest.two conftest.dir
2334
2335 fi
2336 if test "${ac_cv_path_install+set}" = set; then
2337 INSTALL=$ac_cv_path_install
2338 else
2339 # As a last resort, use the slow shell script. Don't cache a
2340 # value for INSTALL within a source directory, because that will
2341 # break other packages using the cache if that directory is
2342 # removed, or if the value is a relative name.
2343 INSTALL=$ac_install_sh
2344 fi
2345 fi
2346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2347 $as_echo "$INSTALL" >&6; }
2348
2349 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2350 # It thinks the first close brace ends the variable substitution.
2351 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2352
2353 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2354
2355 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2356
2357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2358 $as_echo_n "checking whether ln -s works... " >&6; }
2359 LN_S=$as_ln_s
2360 if test "$LN_S" = "ln -s"; then
2361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2362 $as_echo "yes" >&6; }
2363 else
2364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2365 $as_echo "no, using $LN_S" >&6; }
2366 fi
2367
2368
2369 _CFLAGS=$CFLAGS
2370 _CXXFLAGS=$CXXFLAGS
2371 ac_ext=c
2372 ac_cpp='$CPP $CPPFLAGS'
2373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2376 if test -n "$ac_tool_prefix"; then
2377 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2378 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2380 $as_echo_n "checking for $ac_word... " >&6; }
2381 if ${ac_cv_prog_CC+:} false; then :
2382 $as_echo_n "(cached) " >&6
2383 else
2384 if test -n "$CC"; then
2385 ac_cv_prog_CC="$CC" # Let the user override the test.
2386 else
2387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2388 for as_dir in $PATH
2389 do
2390 IFS=$as_save_IFS
2391 test -z "$as_dir" && as_dir=.
2392 for ac_exec_ext in '' $ac_executable_extensions; do
2393 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2394 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2396 break 2
2397 fi
2398 done
2399 done
2400 IFS=$as_save_IFS
2401
2402 fi
2403 fi
2404 CC=$ac_cv_prog_CC
2405 if test -n "$CC"; then
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2407 $as_echo "$CC" >&6; }
2408 else
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2410 $as_echo "no" >&6; }
2411 fi
2412
2413
2414 fi
2415 if test -z "$ac_cv_prog_CC"; then
2416 ac_ct_CC=$CC
2417 # Extract the first word of "gcc", so it can be a program name with args.
2418 set dummy gcc; ac_word=$2
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2420 $as_echo_n "checking for $ac_word... " >&6; }
2421 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2422 $as_echo_n "(cached) " >&6
2423 else
2424 if test -n "$ac_ct_CC"; then
2425 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2426 else
2427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2428 for as_dir in $PATH
2429 do
2430 IFS=$as_save_IFS
2431 test -z "$as_dir" && as_dir=.
2432 for ac_exec_ext in '' $ac_executable_extensions; do
2433 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2434 ac_cv_prog_ac_ct_CC="gcc"
2435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2436 break 2
2437 fi
2438 done
2439 done
2440 IFS=$as_save_IFS
2441
2442 fi
2443 fi
2444 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2445 if test -n "$ac_ct_CC"; then
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2447 $as_echo "$ac_ct_CC" >&6; }
2448 else
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2450 $as_echo "no" >&6; }
2451 fi
2452
2453 if test "x$ac_ct_CC" = x; then
2454 CC=""
2455 else
2456 case $cross_compiling:$ac_tool_warned in
2457 yes:)
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2459 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2460 ac_tool_warned=yes ;;
2461 esac
2462 CC=$ac_ct_CC
2463 fi
2464 else
2465 CC="$ac_cv_prog_CC"
2466 fi
2467
2468 if test -z "$CC"; then
2469 if test -n "$ac_tool_prefix"; then
2470 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2471 set dummy ${ac_tool_prefix}cc; ac_word=$2
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2473 $as_echo_n "checking for $ac_word... " >&6; }
2474 if ${ac_cv_prog_CC+:} false; then :
2475 $as_echo_n "(cached) " >&6
2476 else
2477 if test -n "$CC"; then
2478 ac_cv_prog_CC="$CC" # Let the user override the test.
2479 else
2480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2481 for as_dir in $PATH
2482 do
2483 IFS=$as_save_IFS
2484 test -z "$as_dir" && as_dir=.
2485 for ac_exec_ext in '' $ac_executable_extensions; do
2486 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2487 ac_cv_prog_CC="${ac_tool_prefix}cc"
2488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2489 break 2
2490 fi
2491 done
2492 done
2493 IFS=$as_save_IFS
2494
2495 fi
2496 fi
2497 CC=$ac_cv_prog_CC
2498 if test -n "$CC"; then
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2500 $as_echo "$CC" >&6; }
2501 else
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2503 $as_echo "no" >&6; }
2504 fi
2505
2506
2507 fi
2508 fi
2509 if test -z "$CC"; then
2510 # Extract the first word of "cc", so it can be a program name with args.
2511 set dummy cc; ac_word=$2
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2513 $as_echo_n "checking for $ac_word... " >&6; }
2514 if ${ac_cv_prog_CC+:} false; then :
2515 $as_echo_n "(cached) " >&6
2516 else
2517 if test -n "$CC"; then
2518 ac_cv_prog_CC="$CC" # Let the user override the test.
2519 else
2520 ac_prog_rejected=no
2521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2522 for as_dir in $PATH
2523 do
2524 IFS=$as_save_IFS
2525 test -z "$as_dir" && as_dir=.
2526 for ac_exec_ext in '' $ac_executable_extensions; do
2527 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2528 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2529 ac_prog_rejected=yes
2530 continue
2531 fi
2532 ac_cv_prog_CC="cc"
2533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2534 break 2
2535 fi
2536 done
2537 done
2538 IFS=$as_save_IFS
2539
2540 if test $ac_prog_rejected = yes; then
2541 # We found a bogon in the path, so make sure we never use it.
2542 set dummy $ac_cv_prog_CC
2543 shift
2544 if test $# != 0; then
2545 # We chose a different compiler from the bogus one.
2546 # However, it has the same basename, so the bogon will be chosen
2547 # first if we set CC to just the basename; use the full file name.
2548 shift
2549 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2550 fi
2551 fi
2552 fi
2553 fi
2554 CC=$ac_cv_prog_CC
2555 if test -n "$CC"; then
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2557 $as_echo "$CC" >&6; }
2558 else
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2560 $as_echo "no" >&6; }
2561 fi
2562
2563
2564 fi
2565 if test -z "$CC"; then
2566 if test -n "$ac_tool_prefix"; then
2567 for ac_prog in cl.exe
2568 do
2569 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2570 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2572 $as_echo_n "checking for $ac_word... " >&6; }
2573 if ${ac_cv_prog_CC+:} false; then :
2574 $as_echo_n "(cached) " >&6
2575 else
2576 if test -n "$CC"; then
2577 ac_cv_prog_CC="$CC" # Let the user override the test.
2578 else
2579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2580 for as_dir in $PATH
2581 do
2582 IFS=$as_save_IFS
2583 test -z "$as_dir" && as_dir=.
2584 for ac_exec_ext in '' $ac_executable_extensions; do
2585 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2586 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2588 break 2
2589 fi
2590 done
2591 done
2592 IFS=$as_save_IFS
2593
2594 fi
2595 fi
2596 CC=$ac_cv_prog_CC
2597 if test -n "$CC"; then
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2599 $as_echo "$CC" >&6; }
2600 else
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2602 $as_echo "no" >&6; }
2603 fi
2604
2605
2606 test -n "$CC" && break
2607 done
2608 fi
2609 if test -z "$CC"; then
2610 ac_ct_CC=$CC
2611 for ac_prog in cl.exe
2612 do
2613 # Extract the first word of "$ac_prog", so it can be a program name with args.
2614 set dummy $ac_prog; ac_word=$2
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2616 $as_echo_n "checking for $ac_word... " >&6; }
2617 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2618 $as_echo_n "(cached) " >&6
2619 else
2620 if test -n "$ac_ct_CC"; then
2621 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2622 else
2623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2624 for as_dir in $PATH
2625 do
2626 IFS=$as_save_IFS
2627 test -z "$as_dir" && as_dir=.
2628 for ac_exec_ext in '' $ac_executable_extensions; do
2629 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2630 ac_cv_prog_ac_ct_CC="$ac_prog"
2631 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2632 break 2
2633 fi
2634 done
2635 done
2636 IFS=$as_save_IFS
2637
2638 fi
2639 fi
2640 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2641 if test -n "$ac_ct_CC"; then
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2643 $as_echo "$ac_ct_CC" >&6; }
2644 else
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2646 $as_echo "no" >&6; }
2647 fi
2648
2649
2650 test -n "$ac_ct_CC" && break
2651 done
2652
2653 if test "x$ac_ct_CC" = x; then
2654 CC=""
2655 else
2656 case $cross_compiling:$ac_tool_warned in
2657 yes:)
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2659 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2660 ac_tool_warned=yes ;;
2661 esac
2662 CC=$ac_ct_CC
2663 fi
2664 fi
2665
2666 fi
2667
2668
2669 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2670 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2671 as_fn_error $? "no acceptable C compiler found in \$PATH
2672 See \`config.log' for more details" "$LINENO" 5; }
2673
2674 # Provide some information about the compiler.
2675 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2676 set X $ac_compile
2677 ac_compiler=$2
2678 for ac_option in --version -v -V -qversion; do
2679 { { ac_try="$ac_compiler $ac_option >&5"
2680 case "(($ac_try" in
2681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2682 *) ac_try_echo=$ac_try;;
2683 esac
2684 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2685 $as_echo "$ac_try_echo"; } >&5
2686 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2687 ac_status=$?
2688 if test -s conftest.err; then
2689 sed '10a\
2690 ... rest of stderr output deleted ...
2691 10q' conftest.err >conftest.er1
2692 cat conftest.er1 >&5
2693 fi
2694 rm -f conftest.er1 conftest.err
2695 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2696 test $ac_status = 0; }
2697 done
2698
2699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2700 /* end confdefs.h. */
2701
2702 int
2703 main ()
2704 {
2705
2706 ;
2707 return 0;
2708 }
2709 _ACEOF
2710 ac_clean_files_save=$ac_clean_files
2711 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2712 # Try to create an executable without -o first, disregard a.out.
2713 # It will help us diagnose broken compilers, and finding out an intuition
2714 # of exeext.
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2716 $as_echo_n "checking whether the C compiler works... " >&6; }
2717 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2718
2719 # The possible output files:
2720 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2721
2722 ac_rmfiles=
2723 for ac_file in $ac_files
2724 do
2725 case $ac_file in
2726 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2727 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2728 esac
2729 done
2730 rm -f $ac_rmfiles
2731
2732 if { { ac_try="$ac_link_default"
2733 case "(($ac_try" in
2734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2735 *) ac_try_echo=$ac_try;;
2736 esac
2737 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2738 $as_echo "$ac_try_echo"; } >&5
2739 (eval "$ac_link_default") 2>&5
2740 ac_status=$?
2741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2742 test $ac_status = 0; }; then :
2743 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2744 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2745 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2746 # so that the user can short-circuit this test for compilers unknown to
2747 # Autoconf.
2748 for ac_file in $ac_files ''
2749 do
2750 test -f "$ac_file" || continue
2751 case $ac_file in
2752 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2753 ;;
2754 [ab].out )
2755 # We found the default executable, but exeext='' is most
2756 # certainly right.
2757 break;;
2758 *.* )
2759 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2760 then :; else
2761 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2762 fi
2763 # We set ac_cv_exeext here because the later test for it is not
2764 # safe: cross compilers may not add the suffix if given an `-o'
2765 # argument, so we may need to know it at that point already.
2766 # Even if this section looks crufty: it has the advantage of
2767 # actually working.
2768 break;;
2769 * )
2770 break;;
2771 esac
2772 done
2773 test "$ac_cv_exeext" = no && ac_cv_exeext=
2774
2775 else
2776 ac_file=''
2777 fi
2778 if test -z "$ac_file"; then :
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2780 $as_echo "no" >&6; }
2781 $as_echo "$as_me: failed program was:" >&5
2782 sed 's/^/| /' conftest.$ac_ext >&5
2783
2784 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2785 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2786 as_fn_error 77 "C compiler cannot create executables
2787 See \`config.log' for more details" "$LINENO" 5; }
2788 else
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2790 $as_echo "yes" >&6; }
2791 fi
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2793 $as_echo_n "checking for C compiler default output file name... " >&6; }
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2795 $as_echo "$ac_file" >&6; }
2796 ac_exeext=$ac_cv_exeext
2797
2798 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2799 ac_clean_files=$ac_clean_files_save
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2801 $as_echo_n "checking for suffix of executables... " >&6; }
2802 if { { ac_try="$ac_link"
2803 case "(($ac_try" in
2804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2805 *) ac_try_echo=$ac_try;;
2806 esac
2807 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2808 $as_echo "$ac_try_echo"; } >&5
2809 (eval "$ac_link") 2>&5
2810 ac_status=$?
2811 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2812 test $ac_status = 0; }; then :
2813 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2814 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2815 # work properly (i.e., refer to `conftest.exe'), while it won't with
2816 # `rm'.
2817 for ac_file in conftest.exe conftest conftest.*; do
2818 test -f "$ac_file" || continue
2819 case $ac_file in
2820 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2821 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2822 break;;
2823 * ) break;;
2824 esac
2825 done
2826 else
2827 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2828 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2829 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2830 See \`config.log' for more details" "$LINENO" 5; }
2831 fi
2832 rm -f conftest conftest$ac_cv_exeext
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2834 $as_echo "$ac_cv_exeext" >&6; }
2835
2836 rm -f conftest.$ac_ext
2837 EXEEXT=$ac_cv_exeext
2838 ac_exeext=$EXEEXT
2839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2840 /* end confdefs.h. */
2841 #include <stdio.h>
2842 int
2843 main ()
2844 {
2845 FILE *f = fopen ("conftest.out", "w");
2846 return ferror (f) || fclose (f) != 0;
2847
2848 ;
2849 return 0;
2850 }
2851 _ACEOF
2852 ac_clean_files="$ac_clean_files conftest.out"
2853 # Check that the compiler produces executables we can run. If not, either
2854 # the compiler is broken, or we cross compile.
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2856 $as_echo_n "checking whether we are cross compiling... " >&6; }
2857 if test "$cross_compiling" != yes; then
2858 { { ac_try="$ac_link"
2859 case "(($ac_try" in
2860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2861 *) ac_try_echo=$ac_try;;
2862 esac
2863 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2864 $as_echo "$ac_try_echo"; } >&5
2865 (eval "$ac_link") 2>&5
2866 ac_status=$?
2867 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2868 test $ac_status = 0; }
2869 if { ac_try='./conftest$ac_cv_exeext'
2870 { { case "(($ac_try" in
2871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2872 *) ac_try_echo=$ac_try;;
2873 esac
2874 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2875 $as_echo "$ac_try_echo"; } >&5
2876 (eval "$ac_try") 2>&5
2877 ac_status=$?
2878 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2879 test $ac_status = 0; }; }; then
2880 cross_compiling=no
2881 else
2882 if test "$cross_compiling" = maybe; then
2883 cross_compiling=yes
2884 else
2885 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2886 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2887 as_fn_error $? "cannot run C compiled programs.
2888 If you meant to cross compile, use \`--host'.
2889 See \`config.log' for more details" "$LINENO" 5; }
2890 fi
2891 fi
2892 fi
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2894 $as_echo "$cross_compiling" >&6; }
2895
2896 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2897 ac_clean_files=$ac_clean_files_save
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2899 $as_echo_n "checking for suffix of object files... " >&6; }
2900 if ${ac_cv_objext+:} false; then :
2901 $as_echo_n "(cached) " >&6
2902 else
2903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2904 /* end confdefs.h. */
2905
2906 int
2907 main ()
2908 {
2909
2910 ;
2911 return 0;
2912 }
2913 _ACEOF
2914 rm -f conftest.o conftest.obj
2915 if { { ac_try="$ac_compile"
2916 case "(($ac_try" in
2917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2918 *) ac_try_echo=$ac_try;;
2919 esac
2920 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2921 $as_echo "$ac_try_echo"; } >&5
2922 (eval "$ac_compile") 2>&5
2923 ac_status=$?
2924 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2925 test $ac_status = 0; }; then :
2926 for ac_file in conftest.o conftest.obj conftest.*; do
2927 test -f "$ac_file" || continue;
2928 case $ac_file in
2929 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2930 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2931 break;;
2932 esac
2933 done
2934 else
2935 $as_echo "$as_me: failed program was:" >&5
2936 sed 's/^/| /' conftest.$ac_ext >&5
2937
2938 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2939 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2940 as_fn_error $? "cannot compute suffix of object files: cannot compile
2941 See \`config.log' for more details" "$LINENO" 5; }
2942 fi
2943 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2944 fi
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2946 $as_echo "$ac_cv_objext" >&6; }
2947 OBJEXT=$ac_cv_objext
2948 ac_objext=$OBJEXT
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2950 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2951 if ${ac_cv_c_compiler_gnu+:} false; then :
2952 $as_echo_n "(cached) " >&6
2953 else
2954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2955 /* end confdefs.h. */
2956
2957 int
2958 main ()
2959 {
2960 #ifndef __GNUC__
2961 choke me
2962 #endif
2963
2964 ;
2965 return 0;
2966 }
2967 _ACEOF
2968 if ac_fn_c_try_compile "$LINENO"; then :
2969 ac_compiler_gnu=yes
2970 else
2971 ac_compiler_gnu=no
2972 fi
2973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2974 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2975
2976 fi
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2978 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2979 if test $ac_compiler_gnu = yes; then
2980 GCC=yes
2981 else
2982 GCC=
2983 fi
2984 ac_test_CFLAGS=${CFLAGS+set}
2985 ac_save_CFLAGS=$CFLAGS
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2987 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2988 if ${ac_cv_prog_cc_g+:} false; then :
2989 $as_echo_n "(cached) " >&6
2990 else
2991 ac_save_c_werror_flag=$ac_c_werror_flag
2992 ac_c_werror_flag=yes
2993 ac_cv_prog_cc_g=no
2994 CFLAGS="-g"
2995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2996 /* end confdefs.h. */
2997
2998 int
2999 main ()
3000 {
3001
3002 ;
3003 return 0;
3004 }
3005 _ACEOF
3006 if ac_fn_c_try_compile "$LINENO"; then :
3007 ac_cv_prog_cc_g=yes
3008 else
3009 CFLAGS=""
3010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3011 /* end confdefs.h. */
3012
3013 int
3014 main ()
3015 {
3016
3017 ;
3018 return 0;
3019 }
3020 _ACEOF
3021 if ac_fn_c_try_compile "$LINENO"; then :
3022
3023 else
3024 ac_c_werror_flag=$ac_save_c_werror_flag
3025 CFLAGS="-g"
3026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3027 /* end confdefs.h. */
3028
3029 int
3030 main ()
3031 {
3032
3033 ;
3034 return 0;
3035 }
3036 _ACEOF
3037 if ac_fn_c_try_compile "$LINENO"; then :
3038 ac_cv_prog_cc_g=yes
3039 fi
3040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3041 fi
3042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3043 fi
3044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3045 ac_c_werror_flag=$ac_save_c_werror_flag
3046 fi
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3048 $as_echo "$ac_cv_prog_cc_g" >&6; }
3049 if test "$ac_test_CFLAGS" = set; then
3050 CFLAGS=$ac_save_CFLAGS
3051 elif test $ac_cv_prog_cc_g = yes; then
3052 if test "$GCC" = yes; then
3053 CFLAGS="-g -O2"
3054 else
3055 CFLAGS="-g"
3056 fi
3057 else
3058 if test "$GCC" = yes; then
3059 CFLAGS="-O2"
3060 else
3061 CFLAGS=
3062 fi
3063 fi
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3065 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3066 if ${ac_cv_prog_cc_c89+:} false; then :
3067 $as_echo_n "(cached) " >&6
3068 else
3069 ac_cv_prog_cc_c89=no
3070 ac_save_CC=$CC
3071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3072 /* end confdefs.h. */
3073 #include <stdarg.h>
3074 #include <stdio.h>
3075 struct stat;
3076 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3077 struct buf { int x; };
3078 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3079 static char *e (p, i)
3080 char **p;
3081 int i;
3082 {
3083 return p[i];
3084 }
3085 static char *f (char * (*g) (char **, int), char **p, ...)
3086 {
3087 char *s;
3088 va_list v;
3089 va_start (v,p);
3090 s = g (p, va_arg (v,int));
3091 va_end (v);
3092 return s;
3093 }
3094
3095 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3096 function prototypes and stuff, but not '\xHH' hex character constants.
3097 These don't provoke an error unfortunately, instead are silently treated
3098 as 'x'. The following induces an error, until -std is added to get
3099 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3100 array size at least. It's necessary to write '\x00'==0 to get something
3101 that's true only with -std. */
3102 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3103
3104 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3105 inside strings and character constants. */
3106 #define FOO(x) 'x'
3107 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3108
3109 int test (int i, double x);
3110 struct s1 {int (*f) (int a);};
3111 struct s2 {int (*f) (double a);};
3112 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3113 int argc;
3114 char **argv;
3115 int
3116 main ()
3117 {
3118 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3119 ;
3120 return 0;
3121 }
3122 _ACEOF
3123 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3124 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3125 do
3126 CC="$ac_save_CC $ac_arg"
3127 if ac_fn_c_try_compile "$LINENO"; then :
3128 ac_cv_prog_cc_c89=$ac_arg
3129 fi
3130 rm -f core conftest.err conftest.$ac_objext
3131 test "x$ac_cv_prog_cc_c89" != "xno" && break
3132 done
3133 rm -f conftest.$ac_ext
3134 CC=$ac_save_CC
3135
3136 fi
3137 # AC_CACHE_VAL
3138 case "x$ac_cv_prog_cc_c89" in
3139 x)
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3141 $as_echo "none needed" >&6; } ;;
3142 xno)
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3144 $as_echo "unsupported" >&6; } ;;
3145 *)
3146 CC="$CC $ac_cv_prog_cc_c89"
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3148 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3149 esac
3150 if test "x$ac_cv_prog_cc_c89" != xno; then :
3151
3152 fi
3153
3154 ac_ext=c
3155 ac_cpp='$CPP $CPPFLAGS'
3156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3159
3160 # Expand $ac_aux_dir to an absolute path.
3161 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3162
3163 ac_ext=c
3164 ac_cpp='$CPP $CPPFLAGS'
3165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3169 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3170 if ${am_cv_prog_cc_c_o+:} false; then :
3171 $as_echo_n "(cached) " >&6
3172 else
3173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3174 /* end confdefs.h. */
3175
3176 int
3177 main ()
3178 {
3179
3180 ;
3181 return 0;
3182 }
3183 _ACEOF
3184 # Make sure it works both with $CC and with simple cc.
3185 # Following AC_PROG_CC_C_O, we do the test twice because some
3186 # compilers refuse to overwrite an existing .o file with -o,
3187 # though they will create one.
3188 am_cv_prog_cc_c_o=yes
3189 for am_i in 1 2; do
3190 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3191 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3192 ac_status=$?
3193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3194 (exit $ac_status); } \
3195 && test -f conftest2.$ac_objext; then
3196 : OK
3197 else
3198 am_cv_prog_cc_c_o=no
3199 break
3200 fi
3201 done
3202 rm -f core conftest*
3203 unset am_i
3204 fi
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3206 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3207 if test "$am_cv_prog_cc_c_o" != yes; then
3208 # Losing compiler, so override with the script.
3209 # FIXME: It is wrong to rewrite CC.
3210 # But if we don't then we get into trouble of one sort or another.
3211 # A longer-term fix would be to have automake use am__CC in this case,
3212 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3213 CC="$am_aux_dir/compile $CC"
3214 fi
3215 ac_ext=c
3216 ac_cpp='$CPP $CPPFLAGS'
3217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3220
3221
3222 ac_ext=cpp
3223 ac_cpp='$CXXCPP $CPPFLAGS'
3224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3227 if test -z "$CXX"; then
3228 if test -n "$CCC"; then
3229 CXX=$CCC
3230 else
3231 if test -n "$ac_tool_prefix"; then
3232 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3233 do
3234 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3235 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3237 $as_echo_n "checking for $ac_word... " >&6; }
3238 if ${ac_cv_prog_CXX+:} false; then :
3239 $as_echo_n "(cached) " >&6
3240 else
3241 if test -n "$CXX"; then
3242 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3243 else
3244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3245 for as_dir in $PATH
3246 do
3247 IFS=$as_save_IFS
3248 test -z "$as_dir" && as_dir=.
3249 for ac_exec_ext in '' $ac_executable_extensions; do
3250 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3251 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3253 break 2
3254 fi
3255 done
3256 done
3257 IFS=$as_save_IFS
3258
3259 fi
3260 fi
3261 CXX=$ac_cv_prog_CXX
3262 if test -n "$CXX"; then
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3264 $as_echo "$CXX" >&6; }
3265 else
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3267 $as_echo "no" >&6; }
3268 fi
3269
3270
3271 test -n "$CXX" && break
3272 done
3273 fi
3274 if test -z "$CXX"; then
3275 ac_ct_CXX=$CXX
3276 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3277 do
3278 # Extract the first word of "$ac_prog", so it can be a program name with args.
3279 set dummy $ac_prog; ac_word=$2
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3281 $as_echo_n "checking for $ac_word... " >&6; }
3282 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3283 $as_echo_n "(cached) " >&6
3284 else
3285 if test -n "$ac_ct_CXX"; then
3286 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3287 else
3288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3289 for as_dir in $PATH
3290 do
3291 IFS=$as_save_IFS
3292 test -z "$as_dir" && as_dir=.
3293 for ac_exec_ext in '' $ac_executable_extensions; do
3294 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3295 ac_cv_prog_ac_ct_CXX="$ac_prog"
3296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3297 break 2
3298 fi
3299 done
3300 done
3301 IFS=$as_save_IFS
3302
3303 fi
3304 fi
3305 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3306 if test -n "$ac_ct_CXX"; then
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3308 $as_echo "$ac_ct_CXX" >&6; }
3309 else
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3311 $as_echo "no" >&6; }
3312 fi
3313
3314
3315 test -n "$ac_ct_CXX" && break
3316 done
3317
3318 if test "x$ac_ct_CXX" = x; then
3319 CXX="g++"
3320 else
3321 case $cross_compiling:$ac_tool_warned in
3322 yes:)
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3324 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3325 ac_tool_warned=yes ;;
3326 esac
3327 CXX=$ac_ct_CXX
3328 fi
3329 fi
3330
3331 fi
3332 fi
3333 # Provide some information about the compiler.
3334 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3335 set X $ac_compile
3336 ac_compiler=$2
3337 for ac_option in --version -v -V -qversion; do
3338 { { ac_try="$ac_compiler $ac_option >&5"
3339 case "(($ac_try" in
3340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3341 *) ac_try_echo=$ac_try;;
3342 esac
3343 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3344 $as_echo "$ac_try_echo"; } >&5
3345 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3346 ac_status=$?
3347 if test -s conftest.err; then
3348 sed '10a\
3349 ... rest of stderr output deleted ...
3350 10q' conftest.err >conftest.er1
3351 cat conftest.er1 >&5
3352 fi
3353 rm -f conftest.er1 conftest.err
3354 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3355 test $ac_status = 0; }
3356 done
3357
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3359 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3360 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3361 $as_echo_n "(cached) " >&6
3362 else
3363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3364 /* end confdefs.h. */
3365
3366 int
3367 main ()
3368 {
3369 #ifndef __GNUC__
3370 choke me
3371 #endif
3372
3373 ;
3374 return 0;
3375 }
3376 _ACEOF
3377 if ac_fn_cxx_try_compile "$LINENO"; then :
3378 ac_compiler_gnu=yes
3379 else
3380 ac_compiler_gnu=no
3381 fi
3382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3383 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3384
3385 fi
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3387 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3388 if test $ac_compiler_gnu = yes; then
3389 GXX=yes
3390 else
3391 GXX=
3392 fi
3393 ac_test_CXXFLAGS=${CXXFLAGS+set}
3394 ac_save_CXXFLAGS=$CXXFLAGS
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3396 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3397 if ${ac_cv_prog_cxx_g+:} false; then :
3398 $as_echo_n "(cached) " >&6
3399 else
3400 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3401 ac_cxx_werror_flag=yes
3402 ac_cv_prog_cxx_g=no
3403 CXXFLAGS="-g"
3404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3405 /* end confdefs.h. */
3406
3407 int
3408 main ()
3409 {
3410
3411 ;
3412 return 0;
3413 }
3414 _ACEOF
3415 if ac_fn_cxx_try_compile "$LINENO"; then :
3416 ac_cv_prog_cxx_g=yes
3417 else
3418 CXXFLAGS=""
3419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3420 /* end confdefs.h. */
3421
3422 int
3423 main ()
3424 {
3425
3426 ;
3427 return 0;
3428 }
3429 _ACEOF
3430 if ac_fn_cxx_try_compile "$LINENO"; then :
3431
3432 else
3433 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3434 CXXFLAGS="-g"
3435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3436 /* end confdefs.h. */
3437
3438 int
3439 main ()
3440 {
3441
3442 ;
3443 return 0;
3444 }
3445 _ACEOF
3446 if ac_fn_cxx_try_compile "$LINENO"; then :
3447 ac_cv_prog_cxx_g=yes
3448 fi
3449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3450 fi
3451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3452 fi
3453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3454 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3455 fi
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3457 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3458 if test "$ac_test_CXXFLAGS" = set; then
3459 CXXFLAGS=$ac_save_CXXFLAGS
3460 elif test $ac_cv_prog_cxx_g = yes; then
3461 if test "$GXX" = yes; then
3462 CXXFLAGS="-g -O2"
3463 else
3464 CXXFLAGS="-g"
3465 fi
3466 else
3467 if test "$GXX" = yes; then
3468 CXXFLAGS="-O2"
3469 else
3470 CXXFLAGS=
3471 fi
3472 fi
3473 ac_ext=c
3474 ac_cpp='$CPP $CPPFLAGS'
3475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3478
3479 CFLAGS=$_CFLAGS
3480 CXXFLAGS=$_CXXFLAGS
3481
3482 ac_ext=cpp
3483 ac_cpp='$CXXCPP $CPPFLAGS'
3484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
3488 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
3489 if test -z "$CXXCPP"; then
3490 if ${ac_cv_prog_CXXCPP+:} false; then :
3491 $as_echo_n "(cached) " >&6
3492 else
3493 # Double quotes because CXXCPP needs to be expanded
3494 for CXXCPP in "$CXX -E" "/lib/cpp"
3495 do
3496 ac_preproc_ok=false
3497 for ac_cxx_preproc_warn_flag in '' yes
3498 do
3499 # Use a header file that comes with gcc, so configuring glibc
3500 # with a fresh cross-compiler works.
3501 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3502 # <limits.h> exists even on freestanding compilers.
3503 # On the NeXT, cc -E runs the code through the compiler's parser,
3504 # not just through cpp. "Syntax error" is here to catch this case.
3505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3506 /* end confdefs.h. */
3507 #ifdef __STDC__
3508 # include <limits.h>
3509 #else
3510 # include <assert.h>
3511 #endif
3512 Syntax error
3513 _ACEOF
3514 if ac_fn_cxx_try_cpp "$LINENO"; then :
3515
3516 else
3517 # Broken: fails on valid input.
3518 continue
3519 fi
3520 rm -f conftest.err conftest.i conftest.$ac_ext
3521
3522 # OK, works on sane cases. Now check whether nonexistent headers
3523 # can be detected and how.
3524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3525 /* end confdefs.h. */
3526 #include <ac_nonexistent.h>
3527 _ACEOF
3528 if ac_fn_cxx_try_cpp "$LINENO"; then :
3529 # Broken: success on invalid input.
3530 continue
3531 else
3532 # Passes both tests.
3533 ac_preproc_ok=:
3534 break
3535 fi
3536 rm -f conftest.err conftest.i conftest.$ac_ext
3537
3538 done
3539 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3540 rm -f conftest.i conftest.err conftest.$ac_ext
3541 if $ac_preproc_ok; then :
3542 break
3543 fi
3544
3545 done
3546 ac_cv_prog_CXXCPP=$CXXCPP
3547
3548 fi
3549 CXXCPP=$ac_cv_prog_CXXCPP
3550 else
3551 ac_cv_prog_CXXCPP=$CXXCPP
3552 fi
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
3554 $as_echo "$CXXCPP" >&6; }
3555 ac_preproc_ok=false
3556 for ac_cxx_preproc_warn_flag in '' yes
3557 do
3558 # Use a header file that comes with gcc, so configuring glibc
3559 # with a fresh cross-compiler works.
3560 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3561 # <limits.h> exists even on freestanding compilers.
3562 # On the NeXT, cc -E runs the code through the compiler's parser,
3563 # not just through cpp. "Syntax error" is here to catch this case.
3564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3565 /* end confdefs.h. */
3566 #ifdef __STDC__
3567 # include <limits.h>
3568 #else
3569 # include <assert.h>
3570 #endif
3571 Syntax error
3572 _ACEOF
3573 if ac_fn_cxx_try_cpp "$LINENO"; then :
3574
3575 else
3576 # Broken: fails on valid input.
3577 continue
3578 fi
3579 rm -f conftest.err conftest.i conftest.$ac_ext
3580
3581 # OK, works on sane cases. Now check whether nonexistent headers
3582 # can be detected and how.
3583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3584 /* end confdefs.h. */
3585 #include <ac_nonexistent.h>
3586 _ACEOF
3587 if ac_fn_cxx_try_cpp "$LINENO"; then :
3588 # Broken: success on invalid input.
3589 continue
3590 else
3591 # Passes both tests.
3592 ac_preproc_ok=:
3593 break
3594 fi
3595 rm -f conftest.err conftest.i conftest.$ac_ext
3596
3597 done
3598 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3599 rm -f conftest.i conftest.err conftest.$ac_ext
3600 if $ac_preproc_ok; then :
3601
3602 else
3603 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3604 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3605 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
3606 See \`config.log' for more details" "$LINENO" 5; }
3607 fi
3608
3609 ac_ext=c
3610 ac_cpp='$CPP $CPPFLAGS'
3611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3614
3615
3616
3617
3618 # Check whether --with-wxdir was given.
3619 if test "${with_wxdir+set}" = set; then :
3620 withval=$with_wxdir; wx_config_name="$withval/wx-config"
3621 wx_config_args="--inplace"
3622 fi
3623
3624
3625 # Check whether --with-wx-config was given.
3626 if test "${with_wx_config+set}" = set; then :
3627 withval=$with_wx_config; wx_config_name="$withval"
3628 fi
3629
3630
3631 # Check whether --with-wx-prefix was given.
3632 if test "${with_wx_prefix+set}" = set; then :
3633 withval=$with_wx_prefix; wx_config_prefix="$withval"
3634 else
3635 wx_config_prefix=""
3636 fi
3637
3638
3639 # Check whether --with-wx-exec-prefix was given.
3640 if test "${with_wx_exec_prefix+set}" = set; then :
3641 withval=$with_wx_exec_prefix; wx_config_exec_prefix="$withval"
3642 else
3643 wx_config_exec_prefix=""
3644 fi
3645
3646
3647
3648
3649 # Check whether --enable-debug was given.
3650 if test "${enable_debug+set}" = set; then :
3651 enableval=$enable_debug;
3652 else
3653 enableval="auto"
3654 fi
3655
3656
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --enable-debug option" >&5
3658 $as_echo_n "checking for the --enable-debug option... " >&6; }
3659 if test "$enableval" = "yes" ; then
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3661 $as_echo "yes" >&6; }
3662 DEBUG=1
3663
3664 elif test "$enableval" = "no" ; then
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3666 $as_echo "no" >&6; }
3667 DEBUG=0
3668 elif test "$enableval" = "auto" ; then
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: will be automatically detected" >&5
3670 $as_echo "will be automatically detected" >&6; }
3671 DEBUG=""
3672 else
3673 as_fn_error $? "
3674 Unrecognized option value (allowed values: yes, no, auto)
3675 " "$LINENO" 5
3676 fi
3677
3678
3679 # Check whether --enable-unicode was given.
3680 if test "${enable_unicode+set}" = set; then :
3681 enableval=$enable_unicode;
3682 else
3683 enableval="auto"
3684 fi
3685
3686
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --enable-unicode option" >&5
3688 $as_echo_n "checking for the --enable-unicode option... " >&6; }
3689 if test "$enableval" = "yes" ; then
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3691 $as_echo "yes" >&6; }
3692 UNICODE=1
3693
3694 elif test "$enableval" = "no" ; then
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3696 $as_echo "no" >&6; }
3697 UNICODE=0
3698 elif test "$enableval" = "auto" ; then
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: will be automatically detected" >&5
3700 $as_echo "will be automatically detected" >&6; }
3701 UNICODE=""
3702 else
3703 as_fn_error $? "
3704 Unrecognized option value (allowed values: yes, no, auto)
3705 " "$LINENO" 5
3706 fi
3707
3708
3709
3710
3711
3712
3713 # Check whether --with-toolkit was given.
3714 if test "${with_toolkit+set}" = set; then :
3715 withval=$with_toolkit;
3716 else
3717 withval="auto"
3718 fi
3719
3720
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --with-toolkit option" >&5
3722 $as_echo_n "checking for the --with-toolkit option... " >&6; }
3723 if test "$withval" = "auto" ; then
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: will be automatically detected" >&5
3725 $as_echo "will be automatically detected" >&6; }
3726 TOOLKIT=""
3727 else
3728 TOOLKIT="$withval"
3729
3730 if test "$TOOLKIT" != "gtk1" -a "$TOOLKIT" != "gtk2" -a "$TOOLKIT" != "gtk3" -a \
3731 "$TOOLKIT" != "msw" -a "$TOOLKIT" != "motif" -a \
3732 "$TOOLKIT" != "osx_carbon" -a "$TOOLKIT" != "osx_cocoa" -a \
3733 "$TOOLKIT" != "dfb" -a "$TOOLKIT" != "x11" -a "$TOOLKIT" != "base"; then
3734 as_fn_error $? "
3735 Unrecognized option value (allowed values: auto, gtk1, gtk2, gtk3, msw, motif, osx_carbon, osx_cocoa, dfb, x11, base)
3736 " "$LINENO" 5
3737 fi
3738
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOOLKIT" >&5
3740 $as_echo "$TOOLKIT" >&6; }
3741 fi
3742
3743
3744
3745
3746
3747 # Check whether --with-wxshared was given.
3748 if test "${with_wxshared+set}" = set; then :
3749 withval=$with_wxshared;
3750 else
3751 withval="auto"
3752 fi
3753
3754
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --with-wxshared option" >&5
3756 $as_echo_n "checking for the --with-wxshared option... " >&6; }
3757 if test "$withval" = "yes" ; then
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3759 $as_echo "yes" >&6; }
3760 WX_SHARED=1
3761
3762 elif test "1" = "1" -a "$withval" = "no" ; then
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3764 $as_echo "no" >&6; }
3765 WX_SHARED=0
3766 elif test "$withval" = "auto" ; then
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: will be automatically detected" >&5
3768 $as_echo "will be automatically detected" >&6; }
3769 WX_SHARED=""
3770 else
3771 as_fn_error $? "
3772 Unrecognized option value (allowed values: yes, auto)
3773 " "$LINENO" 5
3774 fi
3775
3776
3777
3778
3779
3780
3781
3782 if test "$WX_DEBUG_CONFIGURE" = "1"; then
3783 echo "[dbg] DEBUG: $DEBUG, WX_DEBUG: $WX_DEBUG"
3784 echo "[dbg] UNICODE: $UNICODE, WX_UNICODE: $WX_UNICODE"
3785 echo "[dbg] SHARED: $SHARED, WX_SHARED: $WX_SHARED"
3786 echo "[dbg] TOOLKIT: $TOOLKIT, WX_TOOLKIT: $WX_TOOLKIT"
3787 echo "[dbg] VERSION: $VERSION, WX_RELEASE: $WX_RELEASE"
3788 fi
3789
3790
3791 if test "$WX_SHARED" = "1" ; then
3792 WXCONFIG_FLAGS="--static=no "
3793 elif test "$WX_SHARED" = "0" ; then
3794 WXCONFIG_FLAGS="--static=yes "
3795 fi
3796
3797 if test "$WX_DEBUG" = "1" ; then
3798 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--debug=yes "
3799 elif test "$WX_DEBUG" = "0" ; then
3800 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--debug=no "
3801 fi
3802
3803 if test "$WX_UNICODE" = "1" ; then
3804 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--unicode=yes "
3805 elif test "$WX_UNICODE" = "0" ; then
3806 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--unicode=no "
3807 fi
3808
3809 if test -n "$TOOLKIT" ; then
3810 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--toolkit=$TOOLKIT "
3811 fi
3812
3813 if test -n "$WX_RELEASE" ; then
3814 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--version=$WX_RELEASE "
3815 fi
3816
3817 WXCONFIG_FLAGS=${WXCONFIG_FLAGS% }
3818
3819 if test "$WX_DEBUG_CONFIGURE" = "1"; then
3820 echo "[dbg] WXCONFIG_FLAGS: $WXCONFIG_FLAGS"
3821 fi
3822
3823
3824 if test x${WX_CONFIG_NAME+set} != xset ; then
3825 WX_CONFIG_NAME=wx-config
3826 fi
3827
3828 if test "x$wx_config_name" != x ; then
3829 WX_CONFIG_NAME="$wx_config_name"
3830 fi
3831
3832 if test x$wx_config_exec_prefix != x ; then
3833 wx_config_args="$wx_config_args --exec-prefix=$wx_config_exec_prefix"
3834 WX_LOOKUP_PATH="$wx_config_exec_prefix/bin"
3835 fi
3836 if test x$wx_config_prefix != x ; then
3837 wx_config_args="$wx_config_args --prefix=$wx_config_prefix"
3838 WX_LOOKUP_PATH="$WX_LOOKUP_PATH:$wx_config_prefix/bin"
3839 fi
3840 if test "$cross_compiling" = "yes"; then
3841 wx_config_args="$wx_config_args --host=$host_alias"
3842 fi
3843
3844 if test -x "$WX_CONFIG_NAME" ; then
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wx-config" >&5
3846 $as_echo_n "checking for wx-config... " >&6; }
3847 WX_CONFIG_PATH="$WX_CONFIG_NAME"
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
3849 $as_echo "$WX_CONFIG_PATH" >&6; }
3850 else
3851 # Extract the first word of "$WX_CONFIG_NAME", so it can be a program name with args.
3852 set dummy $WX_CONFIG_NAME; ac_word=$2
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3854 $as_echo_n "checking for $ac_word... " >&6; }
3855 if ${ac_cv_path_WX_CONFIG_PATH+:} false; then :
3856 $as_echo_n "(cached) " >&6
3857 else
3858 case $WX_CONFIG_PATH in
3859 [\\/]* | ?:[\\/]*)
3860 ac_cv_path_WX_CONFIG_PATH="$WX_CONFIG_PATH" # Let the user override the test with a path.
3861 ;;
3862 *)
3863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3864 as_dummy=""$WX_LOOKUP_PATH:$PATH""
3865 for as_dir in $as_dummy
3866 do
3867 IFS=$as_save_IFS
3868 test -z "$as_dir" && as_dir=.
3869 for ac_exec_ext in '' $ac_executable_extensions; do
3870 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3871 ac_cv_path_WX_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext"
3872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3873 break 2
3874 fi
3875 done
3876 done
3877 IFS=$as_save_IFS
3878
3879 test -z "$ac_cv_path_WX_CONFIG_PATH" && ac_cv_path_WX_CONFIG_PATH="no"
3880 ;;
3881 esac
3882 fi
3883 WX_CONFIG_PATH=$ac_cv_path_WX_CONFIG_PATH
3884 if test -n "$WX_CONFIG_PATH"; then
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
3886 $as_echo "$WX_CONFIG_PATH" >&6; }
3887 else
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3889 $as_echo "no" >&6; }
3890 fi
3891
3892
3893 fi
3894
3895 if test "$WX_CONFIG_PATH" != "no" ; then
3896 WX_VERSION=""
3897
3898 min_wx_version=3.0.0
3899 if test -z "" ; then
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version" >&5
3901 $as_echo_n "checking for wxWidgets version >= $min_wx_version... " >&6; }
3902 else
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version ()" >&5
3904 $as_echo_n "checking for wxWidgets version >= $min_wx_version ()... " >&6; }
3905 fi
3906
3907 WX_CONFIG_WITH_ARGS="$WX_CONFIG_PATH $wx_config_args $WXCONFIG_FLAGS"
3908
3909 WX_VERSION=`$WX_CONFIG_WITH_ARGS --version 2>/dev/null`
3910 wx_config_major_version=`echo $WX_VERSION | \
3911 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
3912 wx_config_minor_version=`echo $WX_VERSION | \
3913 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
3914 wx_config_micro_version=`echo $WX_VERSION | \
3915 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
3916
3917 wx_requested_major_version=`echo $min_wx_version | \
3918 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
3919 wx_requested_minor_version=`echo $min_wx_version | \
3920 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
3921 wx_requested_micro_version=`echo $min_wx_version | \
3922 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
3923
3924
3925 wx_ver_ok=""
3926 if test "x$WX_VERSION" != x ; then
3927 if test $wx_config_major_version -gt $wx_requested_major_version; then
3928 wx_ver_ok=yes
3929 else
3930 if test $wx_config_major_version -eq $wx_requested_major_version; then
3931 if test $wx_config_minor_version -gt $wx_requested_minor_version; then
3932 wx_ver_ok=yes
3933 else
3934 if test $wx_config_minor_version -eq $wx_requested_minor_version; then
3935 if test $wx_config_micro_version -ge $wx_requested_micro_version; then
3936 wx_ver_ok=yes
3937 fi
3938 fi
3939 fi
3940 fi
3941 fi
3942 fi
3943
3944
3945 if test -n "$wx_ver_ok"; then
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $WX_VERSION)" >&5
3947 $as_echo "yes (version $WX_VERSION)" >&6; }
3948 WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs core,xrc,xml,adv,html`
3949
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets static library" >&5
3951 $as_echo_n "checking for wxWidgets static library... " >&6; }
3952 WX_LIBS_STATIC=`$WX_CONFIG_WITH_ARGS --static --libs core,xrc,xml,adv,html 2>/dev/null`
3953 if test "x$WX_LIBS_STATIC" = "x"; then
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3955 $as_echo "no" >&6; }
3956 else
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3958 $as_echo "yes" >&6; }
3959 fi
3960
3961 wx_has_cppflags=""
3962 if test $wx_config_major_version -gt 2; then
3963 wx_has_cppflags=yes
3964 else
3965 if test $wx_config_major_version -eq 2; then
3966 if test $wx_config_minor_version -gt 2; then
3967 wx_has_cppflags=yes
3968 else
3969 if test $wx_config_minor_version -eq 2; then
3970 if test $wx_config_micro_version -ge 6; then
3971 wx_has_cppflags=yes
3972 fi
3973 fi
3974 fi
3975 fi
3976 fi
3977
3978 wx_has_rescomp=""
3979 if test $wx_config_major_version -gt 2; then
3980 wx_has_rescomp=yes
3981 else
3982 if test $wx_config_major_version -eq 2; then
3983 if test $wx_config_minor_version -ge 7; then
3984 wx_has_rescomp=yes
3985 fi
3986 fi
3987 fi
3988 if test "x$wx_has_rescomp" = x ; then
3989 WX_RESCOMP=
3990 else
3991 WX_RESCOMP=`$WX_CONFIG_WITH_ARGS --rescomp`
3992 fi
3993
3994 if test "x$wx_has_cppflags" = x ; then
3995 WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags core,xrc,xml,adv,html`
3996 WX_CPPFLAGS=$WX_CFLAGS
3997 WX_CXXFLAGS=$WX_CFLAGS
3998
3999 WX_CFLAGS_ONLY=$WX_CFLAGS
4000 WX_CXXFLAGS_ONLY=$WX_CFLAGS
4001 else
4002 WX_CPPFLAGS=`$WX_CONFIG_WITH_ARGS --cppflags core,xrc,xml,adv,html`
4003 WX_CXXFLAGS=`$WX_CONFIG_WITH_ARGS --cxxflags core,xrc,xml,adv,html`
4004 WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags core,xrc,xml,adv,html`
4005
4006 WX_CFLAGS_ONLY=`echo $WX_CFLAGS | sed "s@^$WX_CPPFLAGS *@@"`
4007 WX_CXXFLAGS_ONLY=`echo $WX_CXXFLAGS | sed "s@^$WX_CFLAGS *@@"`
4008 fi
4009
4010 wxWin=1
4011
4012 else
4013
4014 if test "x$WX_VERSION" = x; then
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4016 $as_echo "no" >&6; }
4017 else
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (version $WX_VERSION is not new enough)" >&5
4019 $as_echo "no (version $WX_VERSION is not new enough)" >&6; }
4020 fi
4021
4022 WX_CFLAGS=""
4023 WX_CPPFLAGS=""
4024 WX_CXXFLAGS=""
4025 WX_LIBS=""
4026 WX_LIBS_STATIC=""
4027 WX_RESCOMP=""
4028
4029 if test ! -z ""; then
4030
4031 wx_error_message="
4032 The configuration you asked for $PACKAGE_NAME requires a wxWidgets
4033 build with the following settings:
4034
4035 but such build is not available.
4036
4037 To see the wxWidgets builds available on this system, please use
4038 'wx-config --list' command. To use the default build, returned by
4039 'wx-config --selected-config', use the options with their 'auto'
4040 default values."
4041
4042 fi
4043
4044 wx_error_message="
4045 The requested wxWidgets build couldn't be found.
4046 $wx_error_message
4047
4048 If you still get this error, then check that 'wx-config' is
4049 in path, the directory where wxWidgets libraries are installed
4050 (returned by 'wx-config --libs' command) is in LD_LIBRARY_PATH
4051 or equivalent variable and wxWidgets version is 3.0.0 or above."
4052
4053 wxWin=0
4054
4055 fi
4056 else
4057
4058 WX_CFLAGS=""
4059 WX_CPPFLAGS=""
4060 WX_CXXFLAGS=""
4061 WX_LIBS=""
4062 WX_LIBS_STATIC=""
4063 WX_RESCOMP=""
4064
4065 wxWin=0
4066
4067 fi
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079 WX_VERSION_MAJOR="$wx_config_major_version"
4080 WX_VERSION_MINOR="$wx_config_minor_version"
4081 WX_VERSION_MICRO="$wx_config_micro_version"
4082
4083
4084
4085
4086
4087 WX_RELEASE="$WX_VERSION_MAJOR""$WX_VERSION_MINOR"
4088 if test $WX_RELEASE -lt 30; then
4089
4090 as_fn_error $? "
4091 Cannot detect the wxWidgets configuration for the selected wxWidgets build
4092 since its version is $WX_VERSION < 3.0.0; please install a newer
4093 version of wxWidgets.
4094 " "$LINENO" 5
4095 fi
4096
4097 WX_SELECTEDCONFIG=$($WX_CONFIG_WITH_ARGS --selected_config)
4098
4099 if test "$WX_DEBUG_CONFIGURE" = "1"; then
4100 echo "[dbg] Using wx-config --selected-config"
4101 echo "[dbg] WX_SELECTEDCONFIG: $WX_SELECTEDCONFIG"
4102 fi
4103
4104 if test "$WX_SHARED" = "1"; then
4105 STATIC=0
4106 elif test "$WX_SHARED" = "0"; then
4107 STATIC=1
4108 fi
4109
4110
4111 if test -z "$UNICODE" ; then
4112
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wxWidgets was built with UNICODE enabled" >&5
4114 $as_echo_n "checking if wxWidgets was built with UNICODE enabled... " >&6; }
4115
4116 WX_UNICODE=$(expr "$WX_SELECTEDCONFIG" : ".*unicode.*")
4117
4118 if test "$WX_UNICODE" != "0"; then
4119 WX_UNICODE=1
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4121 $as_echo "yes" >&6; }
4122 else
4123 WX_UNICODE=0
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4125 $as_echo "no" >&6; }
4126 fi
4127 else
4128
4129 WX_UNICODE=$UNICODE
4130 fi
4131
4132
4133 if test -z "$DEBUG" ; then
4134
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wxWidgets was built in DEBUG mode" >&5
4136 $as_echo_n "checking if wxWidgets was built in DEBUG mode... " >&6; }
4137
4138 WX_DEBUG=$(expr "$WX_SELECTEDCONFIG" : ".*debug.*")
4139
4140 if test "$WX_DEBUG" != "0"; then
4141 WX_DEBUG=1
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4143 $as_echo "yes" >&6; }
4144 else
4145 WX_DEBUG=0
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4147 $as_echo "no" >&6; }
4148 fi
4149 else
4150
4151 WX_DEBUG=$DEBUG
4152 fi
4153
4154
4155 if test -z "$STATIC" ; then
4156
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wxWidgets was built in STATIC mode" >&5
4158 $as_echo_n "checking if wxWidgets was built in STATIC mode... " >&6; }
4159
4160 WX_STATIC=$(expr "$WX_SELECTEDCONFIG" : ".*static.*")
4161
4162 if test "$WX_STATIC" != "0"; then
4163 WX_STATIC=1
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4165 $as_echo "yes" >&6; }
4166 else
4167 WX_STATIC=0
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4169 $as_echo "no" >&6; }
4170 fi
4171 else
4172
4173 WX_STATIC=$STATIC
4174 fi
4175
4176
4177 if test "$WX_STATIC" != "0"; then
4178 WX_SHARED=0
4179 else
4180 WX_SHARED=1
4181 fi
4182
4183
4184
4185
4186
4187 if test -z "$TOOLKIT" ; then
4188
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which wxWidgets toolkit was selected" >&5
4190 $as_echo_n "checking which wxWidgets toolkit was selected... " >&6; }
4191
4192 WX_GTKPORT1=$(expr "$WX_SELECTEDCONFIG" : ".*gtk1.*")
4193 WX_GTKPORT2=$(expr "$WX_SELECTEDCONFIG" : ".*gtk2.*")
4194 WX_GTKPORT3=$(expr "$WX_SELECTEDCONFIG" : ".*gtk3.*")
4195 WX_MSWPORT=$(expr "$WX_SELECTEDCONFIG" : ".*msw.*")
4196 WX_MOTIFPORT=$(expr "$WX_SELECTEDCONFIG" : ".*motif.*")
4197 WX_OSXCOCOAPORT=$(expr "$WX_SELECTEDCONFIG" : ".*osx_cocoa.*")
4198 WX_OSXCARBONPORT=$(expr "$WX_SELECTEDCONFIG" : ".*osx_carbon.*")
4199 WX_X11PORT=$(expr "$WX_SELECTEDCONFIG" : ".*x11.*")
4200 WX_DFBPORT=$(expr "$WX_SELECTEDCONFIG" : ".*dfb.*")
4201 WX_BASEPORT=$(expr "$WX_SELECTEDCONFIG" : ".*base.*")
4202
4203 WX_PORT="unknown"
4204 if test "$WX_GTKPORT1" != "0"; then WX_PORT="gtk1"; fi
4205 if test "$WX_GTKPORT2" != "0"; then WX_PORT="gtk2"; fi
4206 if test "$WX_GTKPORT3" != "0"; then WX_PORT="gtk3"; fi
4207 if test "$WX_MSWPORT" != "0"; then WX_PORT="msw"; fi
4208 if test "$WX_MOTIFPORT" != "0"; then WX_PORT="motif"; fi
4209 if test "$WX_OSXCOCOAPORT" != "0"; then WX_PORT="osx_cocoa"; fi
4210 if test "$WX_OSXCARBONPORT" != "0"; then WX_PORT="osx_carbon"; fi
4211 if test "$WX_X11PORT" != "0"; then WX_PORT="x11"; fi
4212 if test "$WX_DFBPORT" != "0"; then WX_PORT="dfb"; fi
4213 if test "$WX_BASEPORT" != "0"; then WX_PORT="base"; fi
4214
4215 WX_MACPORT=$(expr "$WX_SELECTEDCONFIG" : ".*mac.*")
4216 if test "$WX_MACPORT" != "0"; then WX_PORT="mac"; fi
4217
4218
4219 if test "$WX_PORT" = "unknown" ; then
4220 as_fn_error $? "
4221 Cannot detect the currently installed wxWidgets port !
4222 Please check your 'wx-config --cxxflags'...
4223 " "$LINENO" 5
4224 fi
4225
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_PORT" >&5
4227 $as_echo "$WX_PORT" >&6; }
4228 else
4229 WX_PORT=$TOOLKIT
4230 fi
4231
4232
4233
4234 if test "$WX_DEBUG_CONFIGURE" = "1"; then
4235 echo "[dbg] Values of all WX_* options after final detection:"
4236 echo "[dbg] WX_DEBUG: $WX_DEBUG"
4237 echo "[dbg] WX_UNICODE: $WX_UNICODE"
4238 echo "[dbg] WX_SHARED: $WX_SHARED"
4239 echo "[dbg] WX_RELEASE: $WX_RELEASE"
4240 echo "[dbg] WX_PORT: $WX_PORT"
4241 fi
4242
4243 if test "$WX_SHARED" = "0" -a "$SHARED" = "1"; then
4244 as_fn_error $? "
4245 Cannot build shared library against a static build of wxWidgets !
4246 This error happens because the wxWidgets build which was selected
4247 has been detected as static while you asked to build $PACKAGE_NAME
4248 as shared library and this is not possible.
4249 Use the '--disable-shared' option to build $PACKAGE_NAME
4250 as static library or '--with-wxshared' to use wxWidgets as shared library.
4251 " "$LINENO" 5
4252 fi
4253
4254 if test -z "$UNICODE" ; then
4255 UNICODE=$WX_UNICODE
4256 fi
4257 if test -z "$SHARED" ; then
4258 SHARED=$WX_SHARED
4259 fi
4260 if test -z "$TOOLKIT" ; then
4261 TOOLKIT=$WX_PORT
4262 fi
4263
4264 if test "$DEBUG" = "1"; then
4265 BUILD="debug"
4266 CXXFLAGS="-g -O0 $CXXFLAGS"
4267 CFLAGS="-g -O0 $CFLAGS"
4268 elif test "$DEBUG" = "0" || test -z "$DEBUG"; then
4269 BUILD="release"
4270 CXXFLAGS="-g -O2 $CXXFLAGS"
4271 CFLAGS="-g -O2 $CFLAGS"
4272 fi
4273
4274 if test "$wxWin" = 1; then :
4275
4276 else
4277 as_fn_error $? "
4278 wxWidgets must be installed on your system
4279 but wx-config script couldn't be found.
4280 Please check that wx-config is in your \$PATH
4281 and the wxWidgets version is 3.0.0 or above.
4282 " "$LINENO" 5
4283
4284
4285 fi
4286
4287 am__api_version='1.16'
4288
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4290 $as_echo_n "checking whether build environment is sane... " >&6; }
4291 # Reject unsafe characters in $srcdir or the absolute working directory
4292 # name. Accept space and tab only in the latter.
4293 am_lf='
4294 '
4295 case `pwd` in
4296 *[\\\"\#\$\&\'\`$am_lf]*)
4297 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
4298 esac
4299 case $srcdir in
4300 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
4301 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
4302 esac
4303
4304 # Do 'set' in a subshell so we don't clobber the current shell's
4305 # arguments. Must try -L first in case configure is actually a
4306 # symlink; some systems play weird games with the mod time of symlinks
4307 # (eg FreeBSD returns the mod time of the symlink's containing
4308 # directory).
4309 if (
4310 am_has_slept=no
4311 for am_try in 1 2; do
4312 echo "timestamp, slept: $am_has_slept" > conftest.file
4313 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4314 if test "$*" = "X"; then
4315 # -L didn't work.
4316 set X `ls -t "$srcdir/configure" conftest.file`
4317 fi
4318 if test "$*" != "X $srcdir/configure conftest.file" \
4319 && test "$*" != "X conftest.file $srcdir/configure"; then
4320
4321 # If neither matched, then we have a broken ls. This can happen
4322 # if, for instance, CONFIG_SHELL is bash and it inherits a
4323 # broken ls alias from the environment. This has actually
4324 # happened. Such a system could not be considered "sane".
4325 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
4326 alias in your environment" "$LINENO" 5
4327 fi
4328 if test "$2" = conftest.file || test $am_try -eq 2; then
4329 break
4330 fi
4331 # Just in case.
4332 sleep 1
4333 am_has_slept=yes
4334 done
4335 test "$2" = conftest.file
4336 )
4337 then
4338 # Ok.
4339 :
4340 else
4341 as_fn_error $? "newly created file is older than distributed files!
4342 Check your system clock" "$LINENO" 5
4343 fi
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4345 $as_echo "yes" >&6; }
4346 # If we didn't sleep, we still need to ensure time stamps of config.status and
4347 # generated files are strictly newer.
4348 am_sleep_pid=
4349 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
4350 ( sleep 1 ) &
4351 am_sleep_pid=$!
4352 fi
4353
4354 rm -f conftest.file
4355
4356 test "$program_prefix" != NONE &&
4357 program_transform_name="s&^&$program_prefix&;$program_transform_name"
4358 # Use a double $ so make ignores it.
4359 test "$program_suffix" != NONE &&
4360 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
4361 # Double any \ or $.
4362 # By default was `s,x,x', remove it if useless.
4363 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
4364 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
4365
4366 if test x"${MISSING+set}" != xset; then
4367 case $am_aux_dir in
4368 *\ * | *\ *)
4369 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
4370 *)
4371 MISSING="\${SHELL} $am_aux_dir/missing" ;;
4372 esac
4373 fi
4374 # Use eval to expand $SHELL
4375 if eval "$MISSING --is-lightweight"; then
4376 am_missing_run="$MISSING "
4377 else
4378 am_missing_run=
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
4380 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
4381 fi
4382
4383 if test x"${install_sh+set}" != xset; then
4384 case $am_aux_dir in
4385 *\ * | *\ *)
4386 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
4387 *)
4388 install_sh="\${SHELL} $am_aux_dir/install-sh"
4389 esac
4390 fi
4391
4392 # Installed binaries are usually stripped using 'strip' when the user
4393 # run "make install-strip". However 'strip' might not be the right
4394 # tool to use in cross-compilation environments, therefore Automake
4395 # will honor the 'STRIP' environment variable to overrule this program.
4396 if test "$cross_compiling" != no; then
4397 if test -n "$ac_tool_prefix"; then
4398 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4399 set dummy ${ac_tool_prefix}strip; ac_word=$2
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4401 $as_echo_n "checking for $ac_word... " >&6; }
4402 if ${ac_cv_prog_STRIP+:} false; then :
4403 $as_echo_n "(cached) " >&6
4404 else
4405 if test -n "$STRIP"; then
4406 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4407 else
4408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4409 for as_dir in $PATH
4410 do
4411 IFS=$as_save_IFS
4412 test -z "$as_dir" && as_dir=.
4413 for ac_exec_ext in '' $ac_executable_extensions; do
4414 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4415 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4417 break 2
4418 fi
4419 done
4420 done
4421 IFS=$as_save_IFS
4422
4423 fi
4424 fi
4425 STRIP=$ac_cv_prog_STRIP
4426 if test -n "$STRIP"; then
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4428 $as_echo "$STRIP" >&6; }
4429 else
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4431 $as_echo "no" >&6; }
4432 fi
4433
4434
4435 fi
4436 if test -z "$ac_cv_prog_STRIP"; then
4437 ac_ct_STRIP=$STRIP
4438 # Extract the first word of "strip", so it can be a program name with args.
4439 set dummy strip; ac_word=$2
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4441 $as_echo_n "checking for $ac_word... " >&6; }
4442 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
4443 $as_echo_n "(cached) " >&6
4444 else
4445 if test -n "$ac_ct_STRIP"; then
4446 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4447 else
4448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4449 for as_dir in $PATH
4450 do
4451 IFS=$as_save_IFS
4452 test -z "$as_dir" && as_dir=.
4453 for ac_exec_ext in '' $ac_executable_extensions; do
4454 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4455 ac_cv_prog_ac_ct_STRIP="strip"
4456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4457 break 2
4458 fi
4459 done
4460 done
4461 IFS=$as_save_IFS
4462
4463 fi
4464 fi
4465 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4466 if test -n "$ac_ct_STRIP"; then
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4468 $as_echo "$ac_ct_STRIP" >&6; }
4469 else
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4471 $as_echo "no" >&6; }
4472 fi
4473
4474 if test "x$ac_ct_STRIP" = x; then
4475 STRIP=":"
4476 else
4477 case $cross_compiling:$ac_tool_warned in
4478 yes:)
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4480 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4481 ac_tool_warned=yes ;;
4482 esac
4483 STRIP=$ac_ct_STRIP
4484 fi
4485 else
4486 STRIP="$ac_cv_prog_STRIP"
4487 fi
4488
4489 fi
4490 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
4491
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4493 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4494 if test -z "$MKDIR_P"; then
4495 if ${ac_cv_path_mkdir+:} false; then :
4496 $as_echo_n "(cached) " >&6
4497 else
4498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4499 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
4500 do
4501 IFS=$as_save_IFS
4502 test -z "$as_dir" && as_dir=.
4503 for ac_prog in mkdir gmkdir; do
4504 for ac_exec_ext in '' $ac_executable_extensions; do
4505 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
4506 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4507 'mkdir (GNU coreutils) '* | \
4508 'mkdir (coreutils) '* | \
4509 'mkdir (fileutils) '4.1*)
4510 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
4511 break 3;;
4512 esac
4513 done
4514 done
4515 done
4516 IFS=$as_save_IFS
4517
4518 fi
4519
4520 test -d ./--version && rmdir ./--version
4521 if test "${ac_cv_path_mkdir+set}" = set; then
4522 MKDIR_P="$ac_cv_path_mkdir -p"
4523 else
4524 # As a last resort, use the slow shell script. Don't cache a
4525 # value for MKDIR_P within a source directory, because that will
4526 # break other packages using the cache if that directory is
4527 # removed, or if the value is a relative name.
4528 MKDIR_P="$ac_install_sh -d"
4529 fi
4530 fi
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4532 $as_echo "$MKDIR_P" >&6; }
4533
4534 for ac_prog in gawk mawk nawk awk
4535 do
4536 # Extract the first word of "$ac_prog", so it can be a program name with args.
4537 set dummy $ac_prog; ac_word=$2
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4539 $as_echo_n "checking for $ac_word... " >&6; }
4540 if ${ac_cv_prog_AWK+:} false; then :
4541 $as_echo_n "(cached) " >&6
4542 else
4543 if test -n "$AWK"; then
4544 ac_cv_prog_AWK="$AWK" # Let the user override the test.
4545 else
4546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4547 for as_dir in $PATH
4548 do
4549 IFS=$as_save_IFS
4550 test -z "$as_dir" && as_dir=.
4551 for ac_exec_ext in '' $ac_executable_extensions; do
4552 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4553 ac_cv_prog_AWK="$ac_prog"
4554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4555 break 2
4556 fi
4557 done
4558 done
4559 IFS=$as_save_IFS
4560
4561 fi
4562 fi
4563 AWK=$ac_cv_prog_AWK
4564 if test -n "$AWK"; then
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4566 $as_echo "$AWK" >&6; }
4567 else
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4569 $as_echo "no" >&6; }
4570 fi
4571
4572
4573 test -n "$AWK" && break
4574 done
4575
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4577 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4578 set x ${MAKE-make}
4579 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4580 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4581 $as_echo_n "(cached) " >&6
4582 else
4583 cat >conftest.make <<\_ACEOF
4584 SHELL = /bin/sh
4585 all:
4586 @echo '@@@%%%=$(MAKE)=@@@%%%'
4587 _ACEOF
4588 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4589 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4590 *@@@%%%=?*=@@@%%%*)
4591 eval ac_cv_prog_make_${ac_make}_set=yes;;
4592 *)
4593 eval ac_cv_prog_make_${ac_make}_set=no;;
4594 esac
4595 rm -f conftest.make
4596 fi
4597 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4599 $as_echo "yes" >&6; }
4600 SET_MAKE=
4601 else
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4603 $as_echo "no" >&6; }
4604 SET_MAKE="MAKE=${MAKE-make}"
4605 fi
4606
4607 rm -rf .tst 2>/dev/null
4608 mkdir .tst 2>/dev/null
4609 if test -d .tst; then
4610 am__leading_dot=.
4611 else
4612 am__leading_dot=_
4613 fi
4614 rmdir .tst 2>/dev/null
4615
4616 DEPDIR="${am__leading_dot}deps"
4617
4618 ac_config_commands="$ac_config_commands depfiles"
4619
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
4621 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
4622 cat > confinc.mk << 'END'
4623 am__doit:
4624 @echo this is the am__doit target >confinc.out
4625 .PHONY: am__doit
4626 END
4627 am__include="#"
4628 am__quote=
4629 # BSD make does it like this.
4630 echo '.include "confinc.mk" # ignored' > confmf.BSD
4631 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
4632 echo 'include confinc.mk # ignored' > confmf.GNU
4633 _am_result=no
4634 for s in GNU BSD; do
4635 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
4636 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
4637 ac_status=$?
4638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4639 (exit $ac_status); }
4640 case $?:`cat confinc.out 2>/dev/null` in #(
4641 '0:this is the am__doit target') :
4642 case $s in #(
4643 BSD) :
4644 am__include='.include' am__quote='"' ;; #(
4645 *) :
4646 am__include='include' am__quote='' ;;
4647 esac ;; #(
4648 *) :
4649 ;;
4650 esac
4651 if test "$am__include" != "#"; then
4652 _am_result="yes ($s style)"
4653 break
4654 fi
4655 done
4656 rm -f confinc.* confmf.*
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
4658 $as_echo "${_am_result}" >&6; }
4659
4660 # Check whether --enable-dependency-tracking was given.
4661 if test "${enable_dependency_tracking+set}" = set; then :
4662 enableval=$enable_dependency_tracking;
4663 fi
4664
4665 if test "x$enable_dependency_tracking" != xno; then
4666 am_depcomp="$ac_aux_dir/depcomp"
4667 AMDEPBACKSLASH='\'
4668 am__nodep='_no'
4669 fi
4670 if test "x$enable_dependency_tracking" != xno; then
4671 AMDEP_TRUE=
4672 AMDEP_FALSE='#'
4673 else
4674 AMDEP_TRUE='#'
4675 AMDEP_FALSE=
4676 fi
4677
4678
4679 # Check whether --enable-silent-rules was given.
4680 if test "${enable_silent_rules+set}" = set; then :
4681 enableval=$enable_silent_rules;
4682 fi
4683
4684 case $enable_silent_rules in # (((
4685 yes) AM_DEFAULT_VERBOSITY=0;;
4686 no) AM_DEFAULT_VERBOSITY=1;;
4687 *) AM_DEFAULT_VERBOSITY=1;;
4688 esac
4689 am_make=${MAKE-make}
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4691 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4692 if ${am_cv_make_support_nested_variables+:} false; then :
4693 $as_echo_n "(cached) " >&6
4694 else
4695 if $as_echo 'TRUE=$(BAR$(V))
4696 BAR0=false
4697 BAR1=true
4698 V=1
4699 am__doit:
4700 @$(TRUE)
4701 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
4702 am_cv_make_support_nested_variables=yes
4703 else
4704 am_cv_make_support_nested_variables=no
4705 fi
4706 fi
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4708 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4709 if test $am_cv_make_support_nested_variables = yes; then
4710 AM_V='$(V)'
4711 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4712 else
4713 AM_V=$AM_DEFAULT_VERBOSITY
4714 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
4715 fi
4716 AM_BACKSLASH='\'
4717
4718 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4719 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4720 # is not polluted with repeated "-I."
4721 am__isrc=' -I$(srcdir)'
4722 # test to see if srcdir already configured
4723 if test -f $srcdir/config.status; then
4724 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4725 fi
4726 fi
4727
4728 # test whether we have cygpath
4729 if test -z "$CYGPATH_W"; then
4730 if (cygpath --version) >/dev/null 2>/dev/null; then
4731 CYGPATH_W='cygpath -w'
4732 else
4733 CYGPATH_W=echo
4734 fi
4735 fi
4736
4737
4738 # Define the identity of the package.
4739 PACKAGE='4pane'
4740 VERSION='8.0'
4741
4742
4743 cat >>confdefs.h <<_ACEOF
4744 #define PACKAGE "$PACKAGE"
4745 _ACEOF
4746
4747
4748 cat >>confdefs.h <<_ACEOF
4749 #define VERSION "$VERSION"
4750 _ACEOF
4751
4752 # Some tools Automake needs.
4753
4754 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4755
4756
4757 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4758
4759
4760 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4761
4762
4763 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4764
4765
4766 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4767
4768 # For better backward compatibility. To be removed once Automake 1.9.x
4769 # dies out for good. For more background, see:
4770 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4771 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4772 mkdir_p='$(MKDIR_P)'
4773
4774 # We need awk for the "check" target (and possibly the TAP driver). The
4775 # system "awk" is bad on some platforms.
4776 # Always define AMTAR for backward compatibility. Yes, it's still used
4777 # in the wild :-( We should find a proper way to deprecate it ...
4778 AMTAR='$${TAR-tar}'
4779
4780
4781 # We'll loop over all known methods to create a tar archive until one works.
4782 _am_tools='gnutar pax cpio none'
4783
4784 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
4785
4786
4787
4788
4789
4790 depcc="$CC" am_compiler_list=
4791
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4793 $as_echo_n "checking dependency style of $depcc... " >&6; }
4794 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4795 $as_echo_n "(cached) " >&6
4796 else
4797 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4798 # We make a subdir and do the tests there. Otherwise we can end up
4799 # making bogus files that we don't know about and never remove. For
4800 # instance it was reported that on HP-UX the gcc test will end up
4801 # making a dummy file named 'D' -- because '-MD' means "put the output
4802 # in D".
4803 rm -rf conftest.dir
4804 mkdir conftest.dir
4805 # Copy depcomp to subdir because otherwise we won't find it if we're
4806 # using a relative directory.
4807 cp "$am_depcomp" conftest.dir
4808 cd conftest.dir
4809 # We will build objects and dependencies in a subdirectory because
4810 # it helps to detect inapplicable dependency modes. For instance
4811 # both Tru64's cc and ICC support -MD to output dependencies as a
4812 # side effect of compilation, but ICC will put the dependencies in
4813 # the current directory while Tru64 will put them in the object
4814 # directory.
4815 mkdir sub
4816
4817 am_cv_CC_dependencies_compiler_type=none
4818 if test "$am_compiler_list" = ""; then
4819 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4820 fi
4821 am__universal=false
4822 case " $depcc " in #(
4823 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4824 esac
4825
4826 for depmode in $am_compiler_list; do
4827 # Setup a source with many dependencies, because some compilers
4828 # like to wrap large dependency lists on column 80 (with \), and
4829 # we should not choose a depcomp mode which is confused by this.
4830 #
4831 # We need to recreate these files for each test, as the compiler may
4832 # overwrite some of them when testing with obscure command lines.
4833 # This happens at least with the AIX C compiler.
4834 : > sub/conftest.c
4835 for i in 1 2 3 4 5 6; do
4836 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4837 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4838 # Solaris 10 /bin/sh.
4839 echo '/* dummy */' > sub/conftst$i.h
4840 done
4841 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4842
4843 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4844 # mode. It turns out that the SunPro C++ compiler does not properly
4845 # handle '-M -o', and we need to detect this. Also, some Intel
4846 # versions had trouble with output in subdirs.
4847 am__obj=sub/conftest.${OBJEXT-o}
4848 am__minus_obj="-o $am__obj"
4849 case $depmode in
4850 gcc)
4851 # This depmode causes a compiler race in universal mode.
4852 test "$am__universal" = false || continue
4853 ;;
4854 nosideeffect)
4855 # After this tag, mechanisms are not by side-effect, so they'll
4856 # only be used when explicitly requested.
4857 if test "x$enable_dependency_tracking" = xyes; then
4858 continue
4859 else
4860 break
4861 fi
4862 ;;
4863 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4864 # This compiler won't grok '-c -o', but also, the minuso test has
4865 # not run yet. These depmodes are late enough in the game, and
4866 # so weak that their functioning should not be impacted.
4867 am__obj=conftest.${OBJEXT-o}
4868 am__minus_obj=
4869 ;;
4870 none) break ;;
4871 esac
4872 if depmode=$depmode \
4873 source=sub/conftest.c object=$am__obj \
4874 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4875 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4876 >/dev/null 2>conftest.err &&
4877 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4878 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4879 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4880 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4881 # icc doesn't choke on unknown options, it will just issue warnings
4882 # or remarks (even with -Werror). So we grep stderr for any message
4883 # that says an option was ignored or not supported.
4884 # When given -MP, icc 7.0 and 7.1 complain thusly:
4885 # icc: Command line warning: ignoring option '-M'; no argument required
4886 # The diagnosis changed in icc 8.0:
4887 # icc: Command line remark: option '-MP' not supported
4888 if (grep 'ignoring option' conftest.err ||
4889 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4890 am_cv_CC_dependencies_compiler_type=$depmode
4891 break
4892 fi
4893 fi
4894 done
4895
4896 cd ..
4897 rm -rf conftest.dir
4898 else
4899 am_cv_CC_dependencies_compiler_type=none
4900 fi
4901
4902 fi
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4904 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4905 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4906
4907 if
4908 test "x$enable_dependency_tracking" != xno \
4909 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4910 am__fastdepCC_TRUE=
4911 am__fastdepCC_FALSE='#'
4912 else
4913 am__fastdepCC_TRUE='#'
4914 am__fastdepCC_FALSE=
4915 fi
4916
4917
4918 depcc="$CXX" am_compiler_list=
4919
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4921 $as_echo_n "checking dependency style of $depcc... " >&6; }
4922 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
4923 $as_echo_n "(cached) " >&6
4924 else
4925 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4926 # We make a subdir and do the tests there. Otherwise we can end up
4927 # making bogus files that we don't know about and never remove. For
4928 # instance it was reported that on HP-UX the gcc test will end up
4929 # making a dummy file named 'D' -- because '-MD' means "put the output
4930 # in D".
4931 rm -rf conftest.dir
4932 mkdir conftest.dir
4933 # Copy depcomp to subdir because otherwise we won't find it if we're
4934 # using a relative directory.
4935 cp "$am_depcomp" conftest.dir
4936 cd conftest.dir
4937 # We will build objects and dependencies in a subdirectory because
4938 # it helps to detect inapplicable dependency modes. For instance
4939 # both Tru64's cc and ICC support -MD to output dependencies as a
4940 # side effect of compilation, but ICC will put the dependencies in
4941 # the current directory while Tru64 will put them in the object
4942 # directory.
4943 mkdir sub
4944
4945 am_cv_CXX_dependencies_compiler_type=none
4946 if test "$am_compiler_list" = ""; then
4947 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4948 fi
4949 am__universal=false
4950 case " $depcc " in #(
4951 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4952 esac
4953
4954 for depmode in $am_compiler_list; do
4955 # Setup a source with many dependencies, because some compilers
4956 # like to wrap large dependency lists on column 80 (with \), and
4957 # we should not choose a depcomp mode which is confused by this.
4958 #
4959 # We need to recreate these files for each test, as the compiler may
4960 # overwrite some of them when testing with obscure command lines.
4961 # This happens at least with the AIX C compiler.
4962 : > sub/conftest.c
4963 for i in 1 2 3 4 5 6; do
4964 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4965 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4966 # Solaris 10 /bin/sh.
4967 echo '/* dummy */' > sub/conftst$i.h
4968 done
4969 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4970
4971 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4972 # mode. It turns out that the SunPro C++ compiler does not properly
4973 # handle '-M -o', and we need to detect this. Also, some Intel
4974 # versions had trouble with output in subdirs.
4975 am__obj=sub/conftest.${OBJEXT-o}
4976 am__minus_obj="-o $am__obj"
4977 case $depmode in
4978 gcc)
4979 # This depmode causes a compiler race in universal mode.
4980 test "$am__universal" = false || continue
4981 ;;
4982 nosideeffect)
4983 # After this tag, mechanisms are not by side-effect, so they'll
4984 # only be used when explicitly requested.
4985 if test "x$enable_dependency_tracking" = xyes; then
4986 continue
4987 else
4988 break
4989 fi
4990 ;;
4991 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4992 # This compiler won't grok '-c -o', but also, the minuso test has
4993 # not run yet. These depmodes are late enough in the game, and
4994 # so weak that their functioning should not be impacted.
4995 am__obj=conftest.${OBJEXT-o}
4996 am__minus_obj=
4997 ;;
4998 none) break ;;
4999 esac
5000 if depmode=$depmode \
5001 source=sub/conftest.c object=$am__obj \
5002 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5003 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5004 >/dev/null 2>conftest.err &&
5005 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5006 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5007 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5008 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5009 # icc doesn't choke on unknown options, it will just issue warnings
5010 # or remarks (even with -Werror). So we grep stderr for any message
5011 # that says an option was ignored or not supported.
5012 # When given -MP, icc 7.0 and 7.1 complain thusly:
5013 # icc: Command line warning: ignoring option '-M'; no argument required
5014 # The diagnosis changed in icc 8.0:
5015 # icc: Command line remark: option '-MP' not supported
5016 if (grep 'ignoring option' conftest.err ||
5017 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5018 am_cv_CXX_dependencies_compiler_type=$depmode
5019 break
5020 fi
5021 fi
5022 done
5023
5024 cd ..
5025 rm -rf conftest.dir
5026 else
5027 am_cv_CXX_dependencies_compiler_type=none
5028 fi
5029
5030 fi
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5032 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5033 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5034
5035 if
5036 test "x$enable_dependency_tracking" != xno \
5037 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5038 am__fastdepCXX_TRUE=
5039 am__fastdepCXX_FALSE='#'
5040 else
5041 am__fastdepCXX_TRUE='#'
5042 am__fastdepCXX_FALSE=
5043 fi
5044
5045
5046
5047 # POSIX will say in a future version that running "rm -f" with no argument
5048 # is OK; and we want to be able to make that assumption in our Makefile
5049 # recipes. So use an aggressive probe to check that the usage we want is
5050 # actually supported "in the wild" to an acceptable degree.
5051 # See automake bug#10828.
5052 # To make any issue more visible, cause the running configure to be aborted
5053 # by default if the 'rm' program in use doesn't match our expectations; the
5054 # user can still override this though.
5055 if rm -f && rm -fr && rm -rf; then : OK; else
5056 cat >&2 <<'END'
5057 Oops!
5058
5059 Your 'rm' program seems unable to run without file operands specified
5060 on the command line, even when the '-f' option is present. This is contrary
5061 to the behaviour of most rm programs out there, and not conforming with
5062 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
5063
5064 Please tell [email protected] about your system, including the value
5065 of your $PATH and any error possibly output before this message. This
5066 can help us improve future automake versions.
5067
5068 END
5069 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
5070 echo 'Configuration will proceed anyway, since you have set the' >&2
5071 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
5072 echo >&2
5073 else
5074 cat >&2 <<'END'
5075 Aborting the configuration process, to ensure you take notice of the issue.
5076
5077 You can download and install GNU coreutils to get an 'rm' implementation
5078 that behaves properly: <https://www.gnu.org/software/coreutils/>.
5079
5080 If you want to complete the configuration process using your problematic
5081 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
5082 to "yes", and re-run configure.
5083
5084 END
5085 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
5086 fi
5087 fi
5088
5089
5090 if test "x$WX_PORT" = xgtk3; then :
5091
5092 # Extract the first word of "pkg-config", so it can be a program name with args.
5093 set dummy pkg-config; ac_word=$2
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5095 $as_echo_n "checking for $ac_word... " >&6; }
5096 if ${ac_cv_path_PKG_CONFIG+:} false; then :
5097 $as_echo_n "(cached) " >&6
5098 else
5099 case $PKG_CONFIG in
5100 [\\/]* | ?:[\\/]*)
5101 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5102 ;;
5103 *)
5104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5105 for as_dir in $PATH
5106 do
5107 IFS=$as_save_IFS
5108 test -z "$as_dir" && as_dir=.
5109 for ac_exec_ext in '' $ac_executable_extensions; do
5110 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5111 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5113 break 2
5114 fi
5115 done
5116 done
5117 IFS=$as_save_IFS
5118
5119 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
5120 ;;
5121 esac
5122 fi
5123 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5124 if test -n "$PKG_CONFIG"; then
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5126 $as_echo "$PKG_CONFIG" >&6; }
5127 else
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5129 $as_echo "no" >&6; }
5130 fi
5131
5132 > /dev/null
5133
5134 if test x$PKG_CONFIG != xno; then :
5135 if pkg-config --atleast-pkgconfig-version 0.7 ; then
5136 if $PKG_CONFIG --exists gtk+-3.0; then :
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk3 headers" >&5
5138 $as_echo_n "checking for gtk3 headers... " >&6; }
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5140 $as_echo "yes" >&6; }
5141 GTKPKG_CFLAGS=`$PKG_CONFIG --cflags gtk+-3.0`
5142
5143 GTKPKG_LDFLAGS=`$PKG_CONFIG --libs gtk+-3.0`
5144
5145
5146 else
5147 as_fn_error $? "gtk headers not found. You probably need to install the devel package e.g. libgtk3.0-dev" "$LINENO" 5
5148
5149 fi
5150 fi
5151
5152 else
5153 as_fn_error $? "pkgconfig is missing. Please install it" "$LINENO" 5
5154
5155 fi
5156
5157 elif test "x$WX_PORT" = xgtk2; then :
5158
5159 # Extract the first word of "pkg-config", so it can be a program name with args.
5160 set dummy pkg-config; ac_word=$2
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5162 $as_echo_n "checking for $ac_word... " >&6; }
5163 if ${ac_cv_path_PKG_CONFIG+:} false; then :
5164 $as_echo_n "(cached) " >&6
5165 else
5166 case $PKG_CONFIG in
5167 [\\/]* | ?:[\\/]*)
5168 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5169 ;;
5170 *)
5171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5172 for as_dir in $PATH
5173 do
5174 IFS=$as_save_IFS
5175 test -z "$as_dir" && as_dir=.
5176 for ac_exec_ext in '' $ac_executable_extensions; do
5177 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5178 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5180 break 2
5181 fi
5182 done
5183 done
5184 IFS=$as_save_IFS
5185
5186 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
5187 ;;
5188 esac
5189 fi
5190 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5191 if test -n "$PKG_CONFIG"; then
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5193 $as_echo "$PKG_CONFIG" >&6; }
5194 else
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5196 $as_echo "no" >&6; }
5197 fi
5198
5199 > /dev/null
5200
5201 if test x$PKG_CONFIG != xno; then :
5202 if pkg-config --atleast-pkgconfig-version 0.7 ; then
5203 if $PKG_CONFIG --exists gtk+-2.0; then :
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk2 headers" >&5
5205 $as_echo_n "checking for gtk2 headers... " >&6; }
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5207 $as_echo "yes" >&6; }
5208 GTKPKG_CFLAGS=`$PKG_CONFIG --cflags gtk+-2.0`
5209
5210 GTKPKG_LDFLAGS=`$PKG_CONFIG --libs gtk+-2.0`
5211
5212
5213 else
5214 as_fn_error $? "gtk headers not found. You probably need to install the devel package e.g. libgtk2.0-dev" "$LINENO" 5
5215
5216 fi
5217 fi
5218
5219 else
5220 as_fn_error $? "pkgconfig is missing. Please install it" "$LINENO" 5
5221
5222 fi
5223
5224 else
5225 as_fn_error $? "
5226 No gtk2 or gtk3 wxWidgets build found in your \$PATH.
5227 Please install one and try again.
5228 " "$LINENO" 5
5229
5230
5231 fi
5232
5233
5234 ac_ext=c
5235 ac_cpp='$CPP $CPPFLAGS'
5236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5240 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5241 # On Suns, sometimes $CPP names a directory.
5242 if test -n "$CPP" && test -d "$CPP"; then
5243 CPP=
5244 fi
5245 if test -z "$CPP"; then
5246 if ${ac_cv_prog_CPP+:} false; then :
5247 $as_echo_n "(cached) " >&6
5248 else
5249 # Double quotes because CPP needs to be expanded
5250 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5251 do
5252 ac_preproc_ok=false
5253 for ac_c_preproc_warn_flag in '' yes
5254 do
5255 # Use a header file that comes with gcc, so configuring glibc
5256 # with a fresh cross-compiler works.
5257 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5258 # <limits.h> exists even on freestanding compilers.
5259 # On the NeXT, cc -E runs the code through the compiler's parser,
5260 # not just through cpp. "Syntax error" is here to catch this case.
5261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5262 /* end confdefs.h. */
5263 #ifdef __STDC__
5264 # include <limits.h>
5265 #else
5266 # include <assert.h>
5267 #endif
5268 Syntax error
5269 _ACEOF
5270 if ac_fn_c_try_cpp "$LINENO"; then :
5271
5272 else
5273 # Broken: fails on valid input.
5274 continue
5275 fi
5276 rm -f conftest.err conftest.i conftest.$ac_ext
5277
5278 # OK, works on sane cases. Now check whether nonexistent headers
5279 # can be detected and how.
5280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5281 /* end confdefs.h. */
5282 #include <ac_nonexistent.h>
5283 _ACEOF
5284 if ac_fn_c_try_cpp "$LINENO"; then :
5285 # Broken: success on invalid input.
5286 continue
5287 else
5288 # Passes both tests.
5289 ac_preproc_ok=:
5290 break
5291 fi
5292 rm -f conftest.err conftest.i conftest.$ac_ext
5293
5294 done
5295 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5296 rm -f conftest.i conftest.err conftest.$ac_ext
5297 if $ac_preproc_ok; then :
5298 break
5299 fi
5300
5301 done
5302 ac_cv_prog_CPP=$CPP
5303
5304 fi
5305 CPP=$ac_cv_prog_CPP
5306 else
5307 ac_cv_prog_CPP=$CPP
5308 fi
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5310 $as_echo "$CPP" >&6; }
5311 ac_preproc_ok=false
5312 for ac_c_preproc_warn_flag in '' yes
5313 do
5314 # Use a header file that comes with gcc, so configuring glibc
5315 # with a fresh cross-compiler works.
5316 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5317 # <limits.h> exists even on freestanding compilers.
5318 # On the NeXT, cc -E runs the code through the compiler's parser,
5319 # not just through cpp. "Syntax error" is here to catch this case.
5320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5321 /* end confdefs.h. */
5322 #ifdef __STDC__
5323 # include <limits.h>
5324 #else
5325 # include <assert.h>
5326 #endif
5327 Syntax error
5328 _ACEOF
5329 if ac_fn_c_try_cpp "$LINENO"; then :
5330
5331 else
5332 # Broken: fails on valid input.
5333 continue
5334 fi
5335 rm -f conftest.err conftest.i conftest.$ac_ext
5336
5337 # OK, works on sane cases. Now check whether nonexistent headers
5338 # can be detected and how.
5339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5340 /* end confdefs.h. */
5341 #include <ac_nonexistent.h>
5342 _ACEOF
5343 if ac_fn_c_try_cpp "$LINENO"; then :
5344 # Broken: success on invalid input.
5345 continue
5346 else
5347 # Passes both tests.
5348 ac_preproc_ok=:
5349 break
5350 fi
5351 rm -f conftest.err conftest.i conftest.$ac_ext
5352
5353 done
5354 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5355 rm -f conftest.i conftest.err conftest.$ac_ext
5356 if $ac_preproc_ok; then :
5357
5358 else
5359 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5360 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5361 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5362 See \`config.log' for more details" "$LINENO" 5; }
5363 fi
5364
5365 ac_ext=c
5366 ac_cpp='$CPP $CPPFLAGS'
5367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5370
5371
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5373 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5374 if ${ac_cv_path_GREP+:} false; then :
5375 $as_echo_n "(cached) " >&6
5376 else
5377 if test -z "$GREP"; then
5378 ac_path_GREP_found=false
5379 # Loop through the user's path and test for each of PROGNAME-LIST
5380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5381 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5382 do
5383 IFS=$as_save_IFS
5384 test -z "$as_dir" && as_dir=.
5385 for ac_prog in grep ggrep; do
5386 for ac_exec_ext in '' $ac_executable_extensions; do
5387 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5388 as_fn_executable_p "$ac_path_GREP" || continue
5389 # Check for GNU ac_path_GREP and select it if it is found.
5390 # Check for GNU $ac_path_GREP
5391 case `"$ac_path_GREP" --version 2>&1` in
5392 *GNU*)
5393 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5394 *)
5395 ac_count=0
5396 $as_echo_n 0123456789 >"conftest.in"
5397 while :
5398 do
5399 cat "conftest.in" "conftest.in" >"conftest.tmp"
5400 mv "conftest.tmp" "conftest.in"
5401 cp "conftest.in" "conftest.nl"
5402 $as_echo 'GREP' >> "conftest.nl"
5403 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5404 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5405 as_fn_arith $ac_count + 1 && ac_count=$as_val
5406 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5407 # Best one so far, save it but keep looking for a better one
5408 ac_cv_path_GREP="$ac_path_GREP"
5409 ac_path_GREP_max=$ac_count
5410 fi
5411 # 10*(2^10) chars as input seems more than enough
5412 test $ac_count -gt 10 && break
5413 done
5414 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5415 esac
5416
5417 $ac_path_GREP_found && break 3
5418 done
5419 done
5420 done
5421 IFS=$as_save_IFS
5422 if test -z "$ac_cv_path_GREP"; then
5423 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5424 fi
5425 else
5426 ac_cv_path_GREP=$GREP
5427 fi
5428
5429 fi
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5431 $as_echo "$ac_cv_path_GREP" >&6; }
5432 GREP="$ac_cv_path_GREP"
5433
5434
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5436 $as_echo_n "checking for egrep... " >&6; }
5437 if ${ac_cv_path_EGREP+:} false; then :
5438 $as_echo_n "(cached) " >&6
5439 else
5440 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5441 then ac_cv_path_EGREP="$GREP -E"
5442 else
5443 if test -z "$EGREP"; then
5444 ac_path_EGREP_found=false
5445 # Loop through the user's path and test for each of PROGNAME-LIST
5446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5447 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5448 do
5449 IFS=$as_save_IFS
5450 test -z "$as_dir" && as_dir=.
5451 for ac_prog in egrep; do
5452 for ac_exec_ext in '' $ac_executable_extensions; do
5453 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5454 as_fn_executable_p "$ac_path_EGREP" || continue
5455 # Check for GNU ac_path_EGREP and select it if it is found.
5456 # Check for GNU $ac_path_EGREP
5457 case `"$ac_path_EGREP" --version 2>&1` in
5458 *GNU*)
5459 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5460 *)
5461 ac_count=0
5462 $as_echo_n 0123456789 >"conftest.in"
5463 while :
5464 do
5465 cat "conftest.in" "conftest.in" >"conftest.tmp"
5466 mv "conftest.tmp" "conftest.in"
5467 cp "conftest.in" "conftest.nl"
5468 $as_echo 'EGREP' >> "conftest.nl"
5469 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5470 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5471 as_fn_arith $ac_count + 1 && ac_count=$as_val
5472 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5473 # Best one so far, save it but keep looking for a better one
5474 ac_cv_path_EGREP="$ac_path_EGREP"
5475 ac_path_EGREP_max=$ac_count
5476 fi
5477 # 10*(2^10) chars as input seems more than enough
5478 test $ac_count -gt 10 && break
5479 done
5480 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5481 esac
5482
5483 $ac_path_EGREP_found && break 3
5484 done
5485 done
5486 done
5487 IFS=$as_save_IFS
5488 if test -z "$ac_cv_path_EGREP"; then
5489 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5490 fi
5491 else
5492 ac_cv_path_EGREP=$EGREP
5493 fi
5494
5495 fi
5496 fi
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5498 $as_echo "$ac_cv_path_EGREP" >&6; }
5499 EGREP="$ac_cv_path_EGREP"
5500
5501
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5503 $as_echo_n "checking for ANSI C header files... " >&6; }
5504 if ${ac_cv_header_stdc+:} false; then :
5505 $as_echo_n "(cached) " >&6
5506 else
5507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5508 /* end confdefs.h. */
5509 #include <stdlib.h>
5510 #include <stdarg.h>
5511 #include <string.h>
5512 #include <float.h>
5513
5514 int
5515 main ()
5516 {
5517
5518 ;
5519 return 0;
5520 }
5521 _ACEOF
5522 if ac_fn_c_try_compile "$LINENO"; then :
5523 ac_cv_header_stdc=yes
5524 else
5525 ac_cv_header_stdc=no
5526 fi
5527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5528
5529 if test $ac_cv_header_stdc = yes; then
5530 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5532 /* end confdefs.h. */
5533 #include <string.h>
5534
5535 _ACEOF
5536 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5537 $EGREP "memchr" >/dev/null 2>&1; then :
5538
5539 else
5540 ac_cv_header_stdc=no
5541 fi
5542 rm -f conftest*
5543
5544 fi
5545
5546 if test $ac_cv_header_stdc = yes; then
5547 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5549 /* end confdefs.h. */
5550 #include <stdlib.h>
5551
5552 _ACEOF
5553 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5554 $EGREP "free" >/dev/null 2>&1; then :
5555
5556 else
5557 ac_cv_header_stdc=no
5558 fi
5559 rm -f conftest*
5560
5561 fi
5562
5563 if test $ac_cv_header_stdc = yes; then
5564 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5565 if test "$cross_compiling" = yes; then :
5566 :
5567 else
5568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5569 /* end confdefs.h. */
5570 #include <ctype.h>
5571 #include <stdlib.h>
5572 #if ((' ' & 0x0FF) == 0x020)
5573 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5574 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5575 #else
5576 # define ISLOWER(c) \
5577 (('a' <= (c) && (c) <= 'i') \
5578 || ('j' <= (c) && (c) <= 'r') \
5579 || ('s' <= (c) && (c) <= 'z'))
5580 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5581 #endif
5582
5583 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5584 int
5585 main ()
5586 {
5587 int i;
5588 for (i = 0; i < 256; i++)
5589 if (XOR (islower (i), ISLOWER (i))
5590 || toupper (i) != TOUPPER (i))
5591 return 2;
5592 return 0;
5593 }
5594 _ACEOF
5595 if ac_fn_c_try_run "$LINENO"; then :
5596
5597 else
5598 ac_cv_header_stdc=no
5599 fi
5600 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5601 conftest.$ac_objext conftest.beam conftest.$ac_ext
5602 fi
5603
5604 fi
5605 fi
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5607 $as_echo "$ac_cv_header_stdc" >&6; }
5608 if test $ac_cv_header_stdc = yes; then
5609
5610 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5611
5612 fi
5613
5614 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5615 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5616 inttypes.h stdint.h unistd.h
5617 do :
5618 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5619 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5620 "
5621 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5622 cat >>confdefs.h <<_ACEOF
5623 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5624 _ACEOF
5625
5626 fi
5627
5628 done
5629
5630
5631
5632 # Check whether --with-builtin_bzip2 was given.
5633 if test "${with_builtin_bzip2+set}" = set; then :
5634 withval=$with_builtin_bzip2;
5635 else
5636 withval=yes
5637
5638 fi
5639
5640
5641 if test "x$withval" = "xno"; then :
5642 ac_fn_c_check_header_mongrel "$LINENO" "bzlib.h" "ac_cv_header_bzlib_h" "$ac_includes_default"
5643 if test "x$ac_cv_header_bzlib_h" = xyes; then :
5644 LIBBZ2="-lbz2"
5645 else
5646 as_fn_error $? "the bzip2 headers are missing. You need to install them, or else configure --with-builtin_bzip2=yes" "$LINENO" 5
5647
5648 fi
5649
5650
5651
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-builtin_bzip2" >&5
5653 $as_echo_n "checking for --with-builtin_bzip2... " >&6; }
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5655 $as_echo "no" >&6; }
5656 BZIP2_FLAGS=-DUSE_SYSTEM_BZIP2
5657
5658 if false; then
5659 AMBUILTIN_BZIP_TRUE=
5660 AMBUILTIN_BZIP_FALSE='#'
5661 else
5662 AMBUILTIN_BZIP_TRUE='#'
5663 AMBUILTIN_BZIP_FALSE=
5664 fi
5665
5666
5667 else
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-builtin_bzip2" >&5
5669 $as_echo_n "checking for --with-builtin_bzip2... " >&6; }
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5671 $as_echo "yes" >&6; }
5672 if true; then
5673 AMBUILTIN_BZIP_TRUE=
5674 AMBUILTIN_BZIP_FALSE='#'
5675 else
5676 AMBUILTIN_BZIP_TRUE='#'
5677 AMBUILTIN_BZIP_FALSE=
5678 fi
5679
5680 LIBBZ2=""
5681
5682
5683
5684 fi
5685
5686
5687 # Check whether --enable-lzma_streams was given.
5688 if test "${enable_lzma_streams+set}" = set; then :
5689 enableval=$enable_lzma_streams;
5690 else
5691 enableval=yes
5692
5693 fi
5694
5695
5696 if test "x$enableval" != "xno" && test "x$enableval" != "xdisable"; then :
5697 ac_fn_c_check_header_mongrel "$LINENO" "lzma.h" "ac_cv_header_lzma_h" "$ac_includes_default"
5698 if test "x$ac_cv_header_lzma_h" = xyes; then :
5699 LIBLZMA="-llzma"
5700 else
5701 as_fn_error $? "the lzma headers are missing. You need to install them, or else configure --disable-lzma_streams" "$LINENO" 5
5702
5703 fi
5704
5705
5706
5707 else
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --enable-lzma_streams option" >&5
5709 $as_echo_n "checking for the --enable-lzma_streams option... " >&6; }
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disable" >&5
5711 $as_echo "disable" >&6; }
5712 XZFLAGS=-DNO_LZMA_ARCHIVE_STREAMS
5713
5714 LIBLZMA=""
5715
5716
5717 fi
5718
5719
5720 if test $WX_VERSION_MAJOR -lt 3; then :
5721 GLIB2="-lglib-2.0"
5722 elif test $WX_VERSION_MAJOR$WX_VERSION_MINOR$WX_VERSION_MICRO -lt 303; then :
5723 GLIB2="-lglib-2.0"
5724 elif test $WX_VERSION_MAJOR$WX_VERSION_MINOR$WX_VERSION_MICRO = 310; then :
5725 GLIB2="-lglib-2.0"
5726 else
5727 GLIB2=
5728
5729 fi
5730
5731 if test "x$WX_PORT" = x2; then :
5732 XTRLIBS="-lgtk-x11-2.0 -lgobject-2.0 -ldl -lglib-2.0 -lgio-2.0 -lutil $LIBBZ2 $LIBLZMA"
5733
5734 elif test "x$WX_PORT" = x3; then :
5735 XTRLIBS="-lgtk-3 -lgobject-2.0 -ldl $GLIB2 -lgio-2.0 -lutil $LIBBZ2 $LIBLZMA"
5736
5737 else
5738 XTRLIBS="-lutil -ldl $LIBBZ2 $LIBLZMA"
5739
5740
5741 fi
5742
5743 if echo "$CXXFLAGS" | grep -q "O0"; then :
5744 :
5745 else
5746
5747 CFLAGS="$CFLAGS -DNDEBUG"
5748 CXXFLAGS="$CXXFLAGS -DNDEBUG"
5749
5750
5751 fi
5752
5753 msgfmt=`which msgfmt`
5754 if test -f "$msgfmt"; then :
5755 if true; then
5756 AMMSGFMT_AVAILABLE_TRUE=
5757 AMMSGFMT_AVAILABLE_FALSE='#'
5758 else
5759 AMMSGFMT_AVAILABLE_TRUE='#'
5760 AMMSGFMT_AVAILABLE_FALSE=
5761 fi
5762
5763 MSGFMT="$msgfmt"
5764
5765
5766 else
5767
5768 if false; then
5769 AMMSGFMT_AVAILABLE_TRUE=
5770 AMMSGFMT_AVAILABLE_FALSE='#'
5771 else
5772 AMMSGFMT_AVAILABLE_TRUE='#'
5773 AMMSGFMT_AVAILABLE_FALSE=
5774 fi
5775
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gettext not installed on your system so translations will not be compiled." >&5
5777 $as_echo "$as_me: WARNING: gettext not installed on your system so translations will not be compiled." >&2;}
5778
5779
5780 fi
5781
5782
5783 # Check whether --enable-install_app was given.
5784 if test "${enable_install_app+set}" = set; then :
5785 enableval=$enable_install_app;
5786 else
5787 enableval="enable"
5788 fi
5789
5790
5791 if test "$enableval" = "no" || test "$enableval" = "disable" ; then
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --enable-install_app option" >&5
5793 $as_echo_n "checking for the --enable-install_app option... " >&6; }
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disable both install and uninstall" >&5
5795 $as_echo "disable both install and uninstall" >&6; }
5796 install_app=no
5797 if false; then
5798 AMINSTALL_install_app_TRUE=
5799 AMINSTALL_install_app_FALSE='#'
5800 else
5801 AMINSTALL_install_app_TRUE='#'
5802 AMINSTALL_install_app_FALSE=
5803 fi
5804
5805 if false; then
5806 AMUNINSTALL_install_app_TRUE=
5807 AMUNINSTALL_install_app_FALSE='#'
5808 else
5809 AMUNINSTALL_install_app_TRUE='#'
5810 AMUNINSTALL_install_app_FALSE=
5811 fi
5812
5813 elif test "$enableval" = "install_only" ; then
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --enable-install_app option" >&5
5815 $as_echo_n "checking for the --enable-install_app option... " >&6; }
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disable uninstall only" >&5
5817 $as_echo "disable uninstall only" >&6; }
5818 install_app=install_only
5819 if true; then
5820 AMINSTALL_install_app_TRUE=
5821 AMINSTALL_install_app_FALSE='#'
5822 else
5823 AMINSTALL_install_app_TRUE='#'
5824 AMINSTALL_install_app_FALSE=
5825 fi
5826
5827 if false; then
5828 AMUNINSTALL_install_app_TRUE=
5829 AMUNINSTALL_install_app_FALSE='#'
5830 else
5831 AMUNINSTALL_install_app_TRUE='#'
5832 AMUNINSTALL_install_app_FALSE=
5833 fi
5834
5835 elif test "$enableval" = "uninstall_only" ; then
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --enable-install_app option" >&5
5837 $as_echo_n "checking for the --enable-install_app option... " >&6; }
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disable install only" >&5
5839 $as_echo "disable install only" >&6; }
5840 install_app=uninstall_only
5841 if false; then
5842 AMINSTALL_install_app_TRUE=
5843 AMINSTALL_install_app_FALSE='#'
5844 else
5845 AMINSTALL_install_app_TRUE='#'
5846 AMINSTALL_install_app_FALSE=
5847 fi
5848
5849 if true; then
5850 AMUNINSTALL_install_app_TRUE=
5851 AMUNINSTALL_install_app_FALSE='#'
5852 else
5853 AMUNINSTALL_install_app_TRUE='#'
5854 AMUNINSTALL_install_app_FALSE=
5855 fi
5856
5857 else
5858 install_app=yes
5859 if true; then
5860 AMINSTALL_install_app_TRUE=
5861 AMINSTALL_install_app_FALSE='#'
5862 else
5863 AMINSTALL_install_app_TRUE='#'
5864 AMINSTALL_install_app_FALSE=
5865 fi
5866
5867 if true; then
5868 AMUNINSTALL_install_app_TRUE=
5869 AMUNINSTALL_install_app_FALSE='#'
5870 else
5871 AMUNINSTALL_install_app_TRUE='#'
5872 AMUNINSTALL_install_app_FALSE=
5873 fi
5874
5875
5876 fi
5877
5878 # Check whether --enable-symlink was given.
5879 if test "${enable_symlink+set}" = set; then :
5880 enableval=$enable_symlink;
5881 else
5882 enableval="enable"
5883 fi
5884
5885
5886 if test "$enableval" = "no" || test "$enableval" = "disable" ; then
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --enable-symlink option" >&5
5888 $as_echo_n "checking for the --enable-symlink option... " >&6; }
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disable both install and uninstall" >&5
5890 $as_echo "disable both install and uninstall" >&6; }
5891 symlink=no
5892 if false; then
5893 AMINSTALL_symlink_TRUE=
5894 AMINSTALL_symlink_FALSE='#'
5895 else
5896 AMINSTALL_symlink_TRUE='#'
5897 AMINSTALL_symlink_FALSE=
5898 fi
5899
5900 if false; then
5901 AMUNINSTALL_symlink_TRUE=
5902 AMUNINSTALL_symlink_FALSE='#'
5903 else
5904 AMUNINSTALL_symlink_TRUE='#'
5905 AMUNINSTALL_symlink_FALSE=
5906 fi
5907
5908 elif test "$enableval" = "install_only" ; then
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --enable-symlink option" >&5
5910 $as_echo_n "checking for the --enable-symlink option... " >&6; }
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disable uninstall only" >&5
5912 $as_echo "disable uninstall only" >&6; }
5913 symlink=install_only
5914 if true; then
5915 AMINSTALL_symlink_TRUE=
5916 AMINSTALL_symlink_FALSE='#'
5917 else
5918 AMINSTALL_symlink_TRUE='#'
5919 AMINSTALL_symlink_FALSE=
5920 fi
5921
5922 if false; then
5923 AMUNINSTALL_symlink_TRUE=
5924 AMUNINSTALL_symlink_FALSE='#'
5925 else
5926 AMUNINSTALL_symlink_TRUE='#'
5927 AMUNINSTALL_symlink_FALSE=
5928 fi
5929
5930 elif test "$enableval" = "uninstall_only" ; then
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --enable-symlink option" >&5
5932 $as_echo_n "checking for the --enable-symlink option... " >&6; }
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disable install only" >&5
5934 $as_echo "disable install only" >&6; }
5935 symlink=uninstall_only
5936 if false; then
5937 AMINSTALL_symlink_TRUE=
5938 AMINSTALL_symlink_FALSE='#'
5939 else
5940 AMINSTALL_symlink_TRUE='#'
5941 AMINSTALL_symlink_FALSE=
5942 fi
5943
5944 if true; then
5945 AMUNINSTALL_symlink_TRUE=
5946 AMUNINSTALL_symlink_FALSE='#'
5947 else
5948 AMUNINSTALL_symlink_TRUE='#'
5949 AMUNINSTALL_symlink_FALSE=
5950 fi
5951
5952 else
5953 symlink=yes
5954 if true; then
5955 AMINSTALL_symlink_TRUE=
5956 AMINSTALL_symlink_FALSE='#'
5957 else
5958 AMINSTALL_symlink_TRUE='#'
5959 AMINSTALL_symlink_FALSE=
5960 fi
5961
5962 if true; then
5963 AMUNINSTALL_symlink_TRUE=
5964 AMUNINSTALL_symlink_FALSE='#'
5965 else
5966 AMUNINSTALL_symlink_TRUE='#'
5967 AMUNINSTALL_symlink_FALSE=
5968 fi
5969
5970
5971 fi
5972
5973 # Check whether --enable-desktop was given.
5974 if test "${enable_desktop+set}" = set; then :
5975 enableval=$enable_desktop;
5976 else
5977 enableval="enable"
5978 fi
5979
5980
5981 if test "$enableval" = "no" || test "$enableval" = "disable" ; then
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --enable-desktop option" >&5
5983 $as_echo_n "checking for the --enable-desktop option... " >&6; }
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disable both install and uninstall" >&5
5985 $as_echo "disable both install and uninstall" >&6; }
5986 desktop=no
5987 if false; then
5988 AMINSTALL_desktop_TRUE=
5989 AMINSTALL_desktop_FALSE='#'
5990 else
5991 AMINSTALL_desktop_TRUE='#'
5992 AMINSTALL_desktop_FALSE=
5993 fi
5994
5995 if false; then
5996 AMUNINSTALL_desktop_TRUE=
5997 AMUNINSTALL_desktop_FALSE='#'
5998 else
5999 AMUNINSTALL_desktop_TRUE='#'
6000 AMUNINSTALL_desktop_FALSE=
6001 fi
6002
6003 elif test "$enableval" = "install_only" ; then
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --enable-desktop option" >&5
6005 $as_echo_n "checking for the --enable-desktop option... " >&6; }
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disable uninstall only" >&5
6007 $as_echo "disable uninstall only" >&6; }
6008 desktop=install_only
6009 if true; then
6010 AMINSTALL_desktop_TRUE=
6011 AMINSTALL_desktop_FALSE='#'
6012 else
6013 AMINSTALL_desktop_TRUE='#'
6014 AMINSTALL_desktop_FALSE=
6015 fi
6016
6017 if false; then
6018 AMUNINSTALL_desktop_TRUE=
6019 AMUNINSTALL_desktop_FALSE='#'
6020 else
6021 AMUNINSTALL_desktop_TRUE='#'
6022 AMUNINSTALL_desktop_FALSE=
6023 fi
6024
6025 elif test "$enableval" = "uninstall_only" ; then
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --enable-desktop option" >&5
6027 $as_echo_n "checking for the --enable-desktop option... " >&6; }
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disable install only" >&5
6029 $as_echo "disable install only" >&6; }
6030 desktop=uninstall_only
6031 if false; then
6032 AMINSTALL_desktop_TRUE=
6033 AMINSTALL_desktop_FALSE='#'
6034 else
6035 AMINSTALL_desktop_TRUE='#'
6036 AMINSTALL_desktop_FALSE=
6037 fi
6038
6039 if true; then
6040 AMUNINSTALL_desktop_TRUE=
6041 AMUNINSTALL_desktop_FALSE='#'
6042 else
6043 AMUNINSTALL_desktop_TRUE='#'
6044 AMUNINSTALL_desktop_FALSE=
6045 fi
6046
6047 else
6048 desktop=yes
6049 if true; then
6050 AMINSTALL_desktop_TRUE=
6051 AMINSTALL_desktop_FALSE='#'
6052 else
6053 AMINSTALL_desktop_TRUE='#'
6054 AMINSTALL_desktop_FALSE=
6055 fi
6056
6057 if true; then
6058 AMUNINSTALL_desktop_TRUE=
6059 AMUNINSTALL_desktop_FALSE='#'
6060 else
6061 AMUNINSTALL_desktop_TRUE='#'
6062 AMUNINSTALL_desktop_FALSE=
6063 fi
6064
6065
6066 fi
6067
6068 # Check whether --enable-locale was given.
6069 if test "${enable_locale+set}" = set; then :
6070 enableval=$enable_locale;
6071 else
6072 enableval="enable"
6073 fi
6074
6075
6076 if test "$enableval" = "no" || test "$enableval" = "disable" ; then
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --enable-locale option" >&5
6078 $as_echo_n "checking for the --enable-locale option... " >&6; }
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disable both install and uninstall" >&5
6080 $as_echo "disable both install and uninstall" >&6; }
6081 locale=no
6082 if false; then
6083 AMINSTALL_locale_TRUE=
6084 AMINSTALL_locale_FALSE='#'
6085 else
6086 AMINSTALL_locale_TRUE='#'
6087 AMINSTALL_locale_FALSE=
6088 fi
6089
6090 if false; then
6091 AMUNINSTALL_locale_TRUE=
6092 AMUNINSTALL_locale_FALSE='#'
6093 else
6094 AMUNINSTALL_locale_TRUE='#'
6095 AMUNINSTALL_locale_FALSE=
6096 fi
6097
6098 elif test "$enableval" = "install_only" ; then
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --enable-locale option" >&5
6100 $as_echo_n "checking for the --enable-locale option... " >&6; }
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disable uninstall only" >&5
6102 $as_echo "disable uninstall only" >&6; }
6103 locale=install_only
6104 if true; then
6105 AMINSTALL_locale_TRUE=
6106 AMINSTALL_locale_FALSE='#'
6107 else
6108 AMINSTALL_locale_TRUE='#'
6109 AMINSTALL_locale_FALSE=
6110 fi
6111
6112 if false; then
6113 AMUNINSTALL_locale_TRUE=
6114 AMUNINSTALL_locale_FALSE='#'
6115 else
6116 AMUNINSTALL_locale_TRUE='#'
6117 AMUNINSTALL_locale_FALSE=
6118 fi
6119
6120 elif test "$enableval" = "uninstall_only" ; then
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --enable-locale option" >&5
6122 $as_echo_n "checking for the --enable-locale option... " >&6; }
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disable install only" >&5
6124 $as_echo "disable install only" >&6; }
6125 locale=uninstall_only
6126 if false; then
6127 AMINSTALL_locale_TRUE=
6128 AMINSTALL_locale_FALSE='#'
6129 else
6130 AMINSTALL_locale_TRUE='#'
6131 AMINSTALL_locale_FALSE=
6132 fi
6133
6134 if true; then
6135 AMUNINSTALL_locale_TRUE=
6136 AMUNINSTALL_locale_FALSE='#'
6137 else
6138 AMUNINSTALL_locale_TRUE='#'
6139 AMUNINSTALL_locale_FALSE=
6140 fi
6141
6142 else
6143 locale=yes
6144 if true; then
6145 AMINSTALL_locale_TRUE=
6146 AMINSTALL_locale_FALSE='#'
6147 else
6148 AMINSTALL_locale_TRUE='#'
6149 AMINSTALL_locale_FALSE=
6150 fi
6151
6152 if true; then
6153 AMUNINSTALL_locale_TRUE=
6154 AMUNINSTALL_locale_FALSE='#'
6155 else
6156 AMUNINSTALL_locale_TRUE='#'
6157 AMUNINSTALL_locale_FALSE=
6158 fi
6159
6160
6161 fi
6162
6163 # Check whether --enable-install_rc was given.
6164 if test "${enable_install_rc+set}" = set; then :
6165 enableval=$enable_install_rc;
6166 else
6167 enableval="enable"
6168 fi
6169
6170
6171 if test "$enableval" = "no" || test "$enableval" = "disable" ; then
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --enable-install_rc option" >&5
6173 $as_echo_n "checking for the --enable-install_rc option... " >&6; }
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disable both install and uninstall" >&5
6175 $as_echo "disable both install and uninstall" >&6; }
6176 install_rc=no
6177 if false; then
6178 AMINSTALL_install_rc_TRUE=
6179 AMINSTALL_install_rc_FALSE='#'
6180 else
6181 AMINSTALL_install_rc_TRUE='#'
6182 AMINSTALL_install_rc_FALSE=
6183 fi
6184
6185 if false; then
6186 AMUNINSTALL_install_rc_TRUE=
6187 AMUNINSTALL_install_rc_FALSE='#'
6188 else
6189 AMUNINSTALL_install_rc_TRUE='#'
6190 AMUNINSTALL_install_rc_FALSE=
6191 fi
6192
6193 elif test "$enableval" = "install_only" ; then
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --enable-install_rc option" >&5
6195 $as_echo_n "checking for the --enable-install_rc option... " >&6; }
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disable uninstall only" >&5
6197 $as_echo "disable uninstall only" >&6; }
6198 install_rc=install_only
6199 if true; then
6200 AMINSTALL_install_rc_TRUE=
6201 AMINSTALL_install_rc_FALSE='#'
6202 else
6203 AMINSTALL_install_rc_TRUE='#'
6204 AMINSTALL_install_rc_FALSE=
6205 fi
6206
6207 if false; then
6208 AMUNINSTALL_install_rc_TRUE=
6209 AMUNINSTALL_install_rc_FALSE='#'
6210 else
6211 AMUNINSTALL_install_rc_TRUE='#'
6212 AMUNINSTALL_install_rc_FALSE=
6213 fi
6214
6215 elif test "$enableval" = "uninstall_only" ; then
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --enable-install_rc option" >&5
6217 $as_echo_n "checking for the --enable-install_rc option... " >&6; }
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disable install only" >&5
6219 $as_echo "disable install only" >&6; }
6220 install_rc=uninstall_only
6221 if false; then
6222 AMINSTALL_install_rc_TRUE=
6223 AMINSTALL_install_rc_FALSE='#'
6224 else
6225 AMINSTALL_install_rc_TRUE='#'
6226 AMINSTALL_install_rc_FALSE=
6227 fi
6228
6229 if true; then
6230 AMUNINSTALL_install_rc_TRUE=
6231 AMUNINSTALL_install_rc_FALSE='#'
6232 else
6233 AMUNINSTALL_install_rc_TRUE='#'
6234 AMUNINSTALL_install_rc_FALSE=
6235 fi
6236
6237 else
6238 install_rc=yes
6239 if true; then
6240 AMINSTALL_install_rc_TRUE=
6241 AMINSTALL_install_rc_FALSE='#'
6242 else
6243 AMINSTALL_install_rc_TRUE='#'
6244 AMINSTALL_install_rc_FALSE=
6245 fi
6246
6247 if true; then
6248 AMUNINSTALL_install_rc_TRUE=
6249 AMUNINSTALL_install_rc_FALSE='#'
6250 else
6251 AMUNINSTALL_install_rc_TRUE='#'
6252 AMUNINSTALL_install_rc_FALSE=
6253 fi
6254
6255
6256 fi
6257
6258 # Check whether --enable-install_docs was given.
6259 if test "${enable_install_docs+set}" = set; then :
6260 enableval=$enable_install_docs;
6261 else
6262 enableval="enable"
6263 fi
6264
6265
6266 if test "$enableval" = "no" || test "$enableval" = "disable" ; then
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --enable-install_docs option" >&5
6268 $as_echo_n "checking for the --enable-install_docs option... " >&6; }
6269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disable both install and uninstall" >&5
6270 $as_echo "disable both install and uninstall" >&6; }
6271 install_docs=no
6272 if false; then
6273 AMINSTALL_install_docs_TRUE=
6274 AMINSTALL_install_docs_FALSE='#'
6275 else
6276 AMINSTALL_install_docs_TRUE='#'
6277 AMINSTALL_install_docs_FALSE=
6278 fi
6279
6280 if false; then
6281 AMUNINSTALL_install_docs_TRUE=
6282 AMUNINSTALL_install_docs_FALSE='#'
6283 else
6284 AMUNINSTALL_install_docs_TRUE='#'
6285 AMUNINSTALL_install_docs_FALSE=
6286 fi
6287
6288 elif test "$enableval" = "install_only" ; then
6289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --enable-install_docs option" >&5
6290 $as_echo_n "checking for the --enable-install_docs option... " >&6; }
6291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disable uninstall only" >&5
6292 $as_echo "disable uninstall only" >&6; }
6293 install_docs=install_only
6294 if true; then
6295 AMINSTALL_install_docs_TRUE=
6296 AMINSTALL_install_docs_FALSE='#'
6297 else
6298 AMINSTALL_install_docs_TRUE='#'
6299 AMINSTALL_install_docs_FALSE=
6300 fi
6301
6302 if false; then
6303 AMUNINSTALL_install_docs_TRUE=
6304 AMUNINSTALL_install_docs_FALSE='#'
6305 else
6306 AMUNINSTALL_install_docs_TRUE='#'
6307 AMUNINSTALL_install_docs_FALSE=
6308 fi
6309
6310 elif test "$enableval" = "uninstall_only" ; then
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --enable-install_docs option" >&5
6312 $as_echo_n "checking for the --enable-install_docs option... " >&6; }
6313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disable install only" >&5
6314 $as_echo "disable install only" >&6; }
6315 install_docs=uninstall_only
6316 if false; then
6317 AMINSTALL_install_docs_TRUE=
6318 AMINSTALL_install_docs_FALSE='#'
6319 else
6320 AMINSTALL_install_docs_TRUE='#'
6321 AMINSTALL_install_docs_FALSE=
6322 fi
6323
6324 if true; then
6325 AMUNINSTALL_install_docs_TRUE=
6326 AMUNINSTALL_install_docs_FALSE='#'
6327 else
6328 AMUNINSTALL_install_docs_TRUE='#'
6329 AMUNINSTALL_install_docs_FALSE=
6330 fi
6331
6332 else
6333 install_docs=yes
6334 if true; then
6335 AMINSTALL_install_docs_TRUE=
6336 AMINSTALL_install_docs_FALSE='#'
6337 else
6338 AMINSTALL_install_docs_TRUE='#'
6339 AMINSTALL_install_docs_FALSE=
6340 fi
6341
6342 if true; then
6343 AMUNINSTALL_install_docs_TRUE=
6344 AMUNINSTALL_install_docs_FALSE='#'
6345 else
6346 AMUNINSTALL_install_docs_TRUE='#'
6347 AMUNINSTALL_install_docs_FALSE=
6348 fi
6349
6350
6351 fi
6352
6353
6354
6355
6356
6357
6358
6359 ac_config_files="$ac_config_files Makefile locale/Makefile"
6360
6361
6362 cat >confcache <<\_ACEOF
6363 # This file is a shell script that caches the results of configure
6364 # tests run on this system so they can be shared between configure
6365 # scripts and configure runs, see configure's option --config-cache.
6366 # It is not useful on other systems. If it contains results you don't
6367 # want to keep, you may remove or edit it.
6368 #
6369 # config.status only pays attention to the cache file if you give it
6370 # the --recheck option to rerun configure.
6371 #
6372 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6373 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6374 # following values.
6375
6376 _ACEOF
6377
6378 # The following way of writing the cache mishandles newlines in values,
6379 # but we know of no workaround that is simple, portable, and efficient.
6380 # So, we kill variables containing newlines.
6381 # Ultrix sh set writes to stderr and can't be redirected directly,
6382 # and sets the high bit in the cache file unless we assign to the vars.
6383 (
6384 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6385 eval ac_val=\$$ac_var
6386 case $ac_val in #(
6387 *${as_nl}*)
6388 case $ac_var in #(
6389 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6390 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6391 esac
6392 case $ac_var in #(
6393 _ | IFS | as_nl) ;; #(
6394 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
6395 *) { eval $ac_var=; unset $ac_var;} ;;
6396 esac ;;
6397 esac
6398 done
6399
6400 (set) 2>&1 |
6401 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6402 *${as_nl}ac_space=\ *)
6403 # `set' does not quote correctly, so add quotes: double-quote
6404 # substitution turns \\\\ into \\, and sed turns \\ into \.
6405 sed -n \
6406 "s/'/'\\\\''/g;
6407 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6408 ;; #(
6409 *)
6410 # `set' quotes correctly as required by POSIX, so do not add quotes.
6411 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6412 ;;
6413 esac |
6414 sort
6415 ) |
6416 sed '
6417 /^ac_cv_env_/b end
6418 t clear
6419 :clear
6420 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6421 t end
6422 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6423 :end' >>confcache
6424 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6425 if test -w "$cache_file"; then
6426 if test "x$cache_file" != "x/dev/null"; then
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6428 $as_echo "$as_me: updating cache $cache_file" >&6;}
6429 if test ! -f "$cache_file" || test -h "$cache_file"; then
6430 cat confcache >"$cache_file"
6431 else
6432 case $cache_file in #(
6433 */* | ?:*)
6434 mv -f confcache "$cache_file"$$ &&
6435 mv -f "$cache_file"$$ "$cache_file" ;; #(
6436 *)
6437 mv -f confcache "$cache_file" ;;
6438 esac
6439 fi
6440 fi
6441 else
6442 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6443 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6444 fi
6445 fi
6446 rm -f confcache
6447
6448 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6449 # Let make expand exec_prefix.
6450 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6451
6452 # Transform confdefs.h into DEFS.
6453 # Protect against shell expansion while executing Makefile rules.
6454 # Protect against Makefile macro expansion.
6455 #
6456 # If the first sed substitution is executed (which looks for macros that
6457 # take arguments), then branch to the quote section. Otherwise,
6458 # look for a macro that doesn't take arguments.
6459 ac_script='
6460 :mline
6461 /\\$/{
6462 N
6463 s,\\\n,,
6464 b mline
6465 }
6466 t clear
6467 :clear
6468 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
6469 t quote
6470 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
6471 t quote
6472 b any
6473 :quote
6474 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
6475 s/\[/\\&/g
6476 s/\]/\\&/g
6477 s/\$/$$/g
6478 H
6479 :any
6480 ${
6481 g
6482 s/^\n//
6483 s/\n/ /g
6484 p
6485 }
6486 '
6487 DEFS=`sed -n "$ac_script" confdefs.h`
6488
6489
6490 ac_libobjs=
6491 ac_ltlibobjs=
6492 U=
6493 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6494 # 1. Remove the extension, and $U if already installed.
6495 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6496 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
6497 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6498 # will be set to the directory where LIBOBJS objects are built.
6499 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6500 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
6501 done
6502 LIBOBJS=$ac_libobjs
6503
6504 LTLIBOBJS=$ac_ltlibobjs
6505
6506
6507 if test -z "${AMMSGFMT_AVAILABLE_TRUE}" && test -z "${AMMSGFMT_AVAILABLE_FALSE}"; then
6508 as_fn_error $? "conditional \"AMMSGFMT_AVAILABLE\" was never defined.
6509 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6510 fi
6511 if test -z "${AMMSGFMT_AVAILABLE_TRUE}" && test -z "${AMMSGFMT_AVAILABLE_FALSE}"; then
6512 as_fn_error $? "conditional \"AMMSGFMT_AVAILABLE\" was never defined.
6513 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6514 fi
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
6516 $as_echo_n "checking that generated files are newer than configure... " >&6; }
6517 if test -n "$am_sleep_pid"; then
6518 # Hide warnings about reused PIDs.
6519 wait $am_sleep_pid 2>/dev/null
6520 fi
6521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
6522 $as_echo "done" >&6; }
6523 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6524 as_fn_error $? "conditional \"AMDEP\" was never defined.
6525 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6526 fi
6527 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6528 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
6529 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6530 fi
6531 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
6532 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
6533 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6534 fi
6535 if test -n "$EXEEXT"; then
6536 am__EXEEXT_TRUE=
6537 am__EXEEXT_FALSE='#'
6538 else
6539 am__EXEEXT_TRUE='#'
6540 am__EXEEXT_FALSE=
6541 fi
6542
6543 if test -z "${AMBUILTIN_BZIP_TRUE}" && test -z "${AMBUILTIN_BZIP_FALSE}"; then
6544 as_fn_error $? "conditional \"AMBUILTIN_BZIP\" was never defined.
6545 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6546 fi
6547 if test -z "${AMBUILTIN_BZIP_TRUE}" && test -z "${AMBUILTIN_BZIP_FALSE}"; then
6548 as_fn_error $? "conditional \"AMBUILTIN_BZIP\" was never defined.
6549 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6550 fi
6551 if test -z "${AMINSTALL_install_app_TRUE}" && test -z "${AMINSTALL_install_app_FALSE}"; then
6552 as_fn_error $? "conditional \"AMINSTALL_install_app\" was never defined.
6553 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6554 fi
6555 if test -z "${AMUNINSTALL_install_app_TRUE}" && test -z "${AMUNINSTALL_install_app_FALSE}"; then
6556 as_fn_error $? "conditional \"AMUNINSTALL_install_app\" was never defined.
6557 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6558 fi
6559 if test -z "${AMINSTALL_install_app_TRUE}" && test -z "${AMINSTALL_install_app_FALSE}"; then
6560 as_fn_error $? "conditional \"AMINSTALL_install_app\" was never defined.
6561 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6562 fi
6563 if test -z "${AMUNINSTALL_install_app_TRUE}" && test -z "${AMUNINSTALL_install_app_FALSE}"; then
6564 as_fn_error $? "conditional \"AMUNINSTALL_install_app\" was never defined.
6565 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6566 fi
6567 if test -z "${AMINSTALL_install_app_TRUE}" && test -z "${AMINSTALL_install_app_FALSE}"; then
6568 as_fn_error $? "conditional \"AMINSTALL_install_app\" was never defined.
6569 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6570 fi
6571 if test -z "${AMUNINSTALL_install_app_TRUE}" && test -z "${AMUNINSTALL_install_app_FALSE}"; then
6572 as_fn_error $? "conditional \"AMUNINSTALL_install_app\" was never defined.
6573 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6574 fi
6575 if test -z "${AMINSTALL_install_app_TRUE}" && test -z "${AMINSTALL_install_app_FALSE}"; then
6576 as_fn_error $? "conditional \"AMINSTALL_install_app\" was never defined.
6577 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6578 fi
6579 if test -z "${AMUNINSTALL_install_app_TRUE}" && test -z "${AMUNINSTALL_install_app_FALSE}"; then
6580 as_fn_error $? "conditional \"AMUNINSTALL_install_app\" was never defined.
6581 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6582 fi
6583 if test -z "${AMINSTALL_symlink_TRUE}" && test -z "${AMINSTALL_symlink_FALSE}"; then
6584 as_fn_error $? "conditional \"AMINSTALL_symlink\" was never defined.
6585 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6586 fi
6587 if test -z "${AMUNINSTALL_symlink_TRUE}" && test -z "${AMUNINSTALL_symlink_FALSE}"; then
6588 as_fn_error $? "conditional \"AMUNINSTALL_symlink\" was never defined.
6589 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6590 fi
6591 if test -z "${AMINSTALL_symlink_TRUE}" && test -z "${AMINSTALL_symlink_FALSE}"; then
6592 as_fn_error $? "conditional \"AMINSTALL_symlink\" was never defined.
6593 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6594 fi
6595 if test -z "${AMUNINSTALL_symlink_TRUE}" && test -z "${AMUNINSTALL_symlink_FALSE}"; then
6596 as_fn_error $? "conditional \"AMUNINSTALL_symlink\" was never defined.
6597 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6598 fi
6599 if test -z "${AMINSTALL_symlink_TRUE}" && test -z "${AMINSTALL_symlink_FALSE}"; then
6600 as_fn_error $? "conditional \"AMINSTALL_symlink\" was never defined.
6601 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6602 fi
6603 if test -z "${AMUNINSTALL_symlink_TRUE}" && test -z "${AMUNINSTALL_symlink_FALSE}"; then
6604 as_fn_error $? "conditional \"AMUNINSTALL_symlink\" was never defined.
6605 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6606 fi
6607 if test -z "${AMINSTALL_symlink_TRUE}" && test -z "${AMINSTALL_symlink_FALSE}"; then
6608 as_fn_error $? "conditional \"AMINSTALL_symlink\" was never defined.
6609 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6610 fi
6611 if test -z "${AMUNINSTALL_symlink_TRUE}" && test -z "${AMUNINSTALL_symlink_FALSE}"; then
6612 as_fn_error $? "conditional \"AMUNINSTALL_symlink\" was never defined.
6613 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6614 fi
6615 if test -z "${AMINSTALL_desktop_TRUE}" && test -z "${AMINSTALL_desktop_FALSE}"; then
6616 as_fn_error $? "conditional \"AMINSTALL_desktop\" was never defined.
6617 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6618 fi
6619 if test -z "${AMUNINSTALL_desktop_TRUE}" && test -z "${AMUNINSTALL_desktop_FALSE}"; then
6620 as_fn_error $? "conditional \"AMUNINSTALL_desktop\" was never defined.
6621 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6622 fi
6623 if test -z "${AMINSTALL_desktop_TRUE}" && test -z "${AMINSTALL_desktop_FALSE}"; then
6624 as_fn_error $? "conditional \"AMINSTALL_desktop\" was never defined.
6625 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6626 fi
6627 if test -z "${AMUNINSTALL_desktop_TRUE}" && test -z "${AMUNINSTALL_desktop_FALSE}"; then
6628 as_fn_error $? "conditional \"AMUNINSTALL_desktop\" was never defined.
6629 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6630 fi
6631 if test -z "${AMINSTALL_desktop_TRUE}" && test -z "${AMINSTALL_desktop_FALSE}"; then
6632 as_fn_error $? "conditional \"AMINSTALL_desktop\" was never defined.
6633 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6634 fi
6635 if test -z "${AMUNINSTALL_desktop_TRUE}" && test -z "${AMUNINSTALL_desktop_FALSE}"; then
6636 as_fn_error $? "conditional \"AMUNINSTALL_desktop\" was never defined.
6637 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6638 fi
6639 if test -z "${AMINSTALL_desktop_TRUE}" && test -z "${AMINSTALL_desktop_FALSE}"; then
6640 as_fn_error $? "conditional \"AMINSTALL_desktop\" was never defined.
6641 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6642 fi
6643 if test -z "${AMUNINSTALL_desktop_TRUE}" && test -z "${AMUNINSTALL_desktop_FALSE}"; then
6644 as_fn_error $? "conditional \"AMUNINSTALL_desktop\" was never defined.
6645 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6646 fi
6647 if test -z "${AMINSTALL_locale_TRUE}" && test -z "${AMINSTALL_locale_FALSE}"; then
6648 as_fn_error $? "conditional \"AMINSTALL_locale\" was never defined.
6649 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6650 fi
6651 if test -z "${AMUNINSTALL_locale_TRUE}" && test -z "${AMUNINSTALL_locale_FALSE}"; then
6652 as_fn_error $? "conditional \"AMUNINSTALL_locale\" was never defined.
6653 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6654 fi
6655 if test -z "${AMINSTALL_locale_TRUE}" && test -z "${AMINSTALL_locale_FALSE}"; then
6656 as_fn_error $? "conditional \"AMINSTALL_locale\" was never defined.
6657 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6658 fi
6659 if test -z "${AMUNINSTALL_locale_TRUE}" && test -z "${AMUNINSTALL_locale_FALSE}"; then
6660 as_fn_error $? "conditional \"AMUNINSTALL_locale\" was never defined.
6661 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6662 fi
6663 if test -z "${AMINSTALL_locale_TRUE}" && test -z "${AMINSTALL_locale_FALSE}"; then
6664 as_fn_error $? "conditional \"AMINSTALL_locale\" was never defined.
6665 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6666 fi
6667 if test -z "${AMUNINSTALL_locale_TRUE}" && test -z "${AMUNINSTALL_locale_FALSE}"; then
6668 as_fn_error $? "conditional \"AMUNINSTALL_locale\" was never defined.
6669 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6670 fi
6671 if test -z "${AMINSTALL_locale_TRUE}" && test -z "${AMINSTALL_locale_FALSE}"; then
6672 as_fn_error $? "conditional \"AMINSTALL_locale\" was never defined.
6673 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6674 fi
6675 if test -z "${AMUNINSTALL_locale_TRUE}" && test -z "${AMUNINSTALL_locale_FALSE}"; then
6676 as_fn_error $? "conditional \"AMUNINSTALL_locale\" was never defined.
6677 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6678 fi
6679 if test -z "${AMINSTALL_install_rc_TRUE}" && test -z "${AMINSTALL_install_rc_FALSE}"; then
6680 as_fn_error $? "conditional \"AMINSTALL_install_rc\" was never defined.
6681 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6682 fi
6683 if test -z "${AMUNINSTALL_install_rc_TRUE}" && test -z "${AMUNINSTALL_install_rc_FALSE}"; then
6684 as_fn_error $? "conditional \"AMUNINSTALL_install_rc\" was never defined.
6685 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6686 fi
6687 if test -z "${AMINSTALL_install_rc_TRUE}" && test -z "${AMINSTALL_install_rc_FALSE}"; then
6688 as_fn_error $? "conditional \"AMINSTALL_install_rc\" was never defined.
6689 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6690 fi
6691 if test -z "${AMUNINSTALL_install_rc_TRUE}" && test -z "${AMUNINSTALL_install_rc_FALSE}"; then
6692 as_fn_error $? "conditional \"AMUNINSTALL_install_rc\" was never defined.
6693 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6694 fi
6695 if test -z "${AMINSTALL_install_rc_TRUE}" && test -z "${AMINSTALL_install_rc_FALSE}"; then
6696 as_fn_error $? "conditional \"AMINSTALL_install_rc\" was never defined.
6697 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6698 fi
6699 if test -z "${AMUNINSTALL_install_rc_TRUE}" && test -z "${AMUNINSTALL_install_rc_FALSE}"; then
6700 as_fn_error $? "conditional \"AMUNINSTALL_install_rc\" was never defined.
6701 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6702 fi
6703 if test -z "${AMINSTALL_install_rc_TRUE}" && test -z "${AMINSTALL_install_rc_FALSE}"; then
6704 as_fn_error $? "conditional \"AMINSTALL_install_rc\" was never defined.
6705 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6706 fi
6707 if test -z "${AMUNINSTALL_install_rc_TRUE}" && test -z "${AMUNINSTALL_install_rc_FALSE}"; then
6708 as_fn_error $? "conditional \"AMUNINSTALL_install_rc\" was never defined.
6709 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6710 fi
6711 if test -z "${AMINSTALL_install_docs_TRUE}" && test -z "${AMINSTALL_install_docs_FALSE}"; then
6712 as_fn_error $? "conditional \"AMINSTALL_install_docs\" was never defined.
6713 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6714 fi
6715 if test -z "${AMUNINSTALL_install_docs_TRUE}" && test -z "${AMUNINSTALL_install_docs_FALSE}"; then
6716 as_fn_error $? "conditional \"AMUNINSTALL_install_docs\" was never defined.
6717 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6718 fi
6719 if test -z "${AMINSTALL_install_docs_TRUE}" && test -z "${AMINSTALL_install_docs_FALSE}"; then
6720 as_fn_error $? "conditional \"AMINSTALL_install_docs\" was never defined.
6721 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6722 fi
6723 if test -z "${AMUNINSTALL_install_docs_TRUE}" && test -z "${AMUNINSTALL_install_docs_FALSE}"; then
6724 as_fn_error $? "conditional \"AMUNINSTALL_install_docs\" was never defined.
6725 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6726 fi
6727 if test -z "${AMINSTALL_install_docs_TRUE}" && test -z "${AMINSTALL_install_docs_FALSE}"; then
6728 as_fn_error $? "conditional \"AMINSTALL_install_docs\" was never defined.
6729 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6730 fi
6731 if test -z "${AMUNINSTALL_install_docs_TRUE}" && test -z "${AMUNINSTALL_install_docs_FALSE}"; then
6732 as_fn_error $? "conditional \"AMUNINSTALL_install_docs\" was never defined.
6733 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6734 fi
6735 if test -z "${AMINSTALL_install_docs_TRUE}" && test -z "${AMINSTALL_install_docs_FALSE}"; then
6736 as_fn_error $? "conditional \"AMINSTALL_install_docs\" was never defined.
6737 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6738 fi
6739 if test -z "${AMUNINSTALL_install_docs_TRUE}" && test -z "${AMUNINSTALL_install_docs_FALSE}"; then
6740 as_fn_error $? "conditional \"AMUNINSTALL_install_docs\" was never defined.
6741 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6742 fi
6743
6744 : "${CONFIG_STATUS=./config.status}"
6745 ac_write_fail=0
6746 ac_clean_files_save=$ac_clean_files
6747 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6749 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6750 as_write_fail=0
6751 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6752 #! $SHELL
6753 # Generated by $as_me.
6754 # Run this file to recreate the current configuration.
6755 # Compiler output produced by configure, useful for debugging
6756 # configure, is in config.log if it exists.
6757
6758 debug=false
6759 ac_cs_recheck=false
6760 ac_cs_silent=false
6761
6762 SHELL=\${CONFIG_SHELL-$SHELL}
6763 export SHELL
6764 _ASEOF
6765 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
6766 ## -------------------- ##
6767 ## M4sh Initialization. ##
6768 ## -------------------- ##
6769
6770 # Be more Bourne compatible
6771 DUALCASE=1; export DUALCASE # for MKS sh
6772 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
6773 emulate sh
6774 NULLCMD=:
6775 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6776 # is contrary to our usage. Disable this feature.
6777 alias -g '${1+"$@"}'='"$@"'
6778 setopt NO_GLOB_SUBST
6779 else
6780 case `(set -o) 2>/dev/null` in #(
6781 *posix*) :
6782 set -o posix ;; #(
6783 *) :
6784 ;;
6785 esac
6786 fi
6787
6788
6789 as_nl='
6790 '
6791 export as_nl
6792 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6793 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6794 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6795 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6796 # Prefer a ksh shell builtin over an external printf program on Solaris,
6797 # but without wasting forks for bash or zsh.
6798 if test -z "$BASH_VERSION$ZSH_VERSION" \
6799 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6800 as_echo='print -r --'
6801 as_echo_n='print -rn --'
6802 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6803 as_echo='printf %s\n'
6804 as_echo_n='printf %s'
6805 else
6806 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6807 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6808 as_echo_n='/usr/ucb/echo -n'
6809 else
6810 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6811 as_echo_n_body='eval
6812 arg=$1;
6813 case $arg in #(
6814 *"$as_nl"*)
6815 expr "X$arg" : "X\\(.*\\)$as_nl";
6816 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6817 esac;
6818 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6819 '
6820 export as_echo_n_body
6821 as_echo_n='sh -c $as_echo_n_body as_echo'
6822 fi
6823 export as_echo_body
6824 as_echo='sh -c $as_echo_body as_echo'
6825 fi
6826
6827 # The user is always right.
6828 if test "${PATH_SEPARATOR+set}" != set; then
6829 PATH_SEPARATOR=:
6830 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6831 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6832 PATH_SEPARATOR=';'
6833 }
6834 fi
6835
6836
6837 # IFS
6838 # We need space, tab and new line, in precisely that order. Quoting is
6839 # there to prevent editors from complaining about space-tab.
6840 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6841 # splitting by setting IFS to empty value.)
6842 IFS=" "" $as_nl"
6843
6844 # Find who we are. Look in the path if we contain no directory separator.
6845 as_myself=
6846 case $0 in #((
6847 *[\\/]* ) as_myself=$0 ;;
6848 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6849 for as_dir in $PATH
6850 do
6851 IFS=$as_save_IFS
6852 test -z "$as_dir" && as_dir=.
6853 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6854 done
6855 IFS=$as_save_IFS
6856
6857 ;;
6858 esac
6859 # We did not find ourselves, most probably we were run as `sh COMMAND'
6860 # in which case we are not to be found in the path.
6861 if test "x$as_myself" = x; then
6862 as_myself=$0
6863 fi
6864 if test ! -f "$as_myself"; then
6865 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6866 exit 1
6867 fi
6868
6869 # Unset variables that we do not need and which cause bugs (e.g. in
6870 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
6871 # suppresses any "Segmentation fault" message there. '((' could
6872 # trigger a bug in pdksh 5.2.14.
6873 for as_var in BASH_ENV ENV MAIL MAILPATH
6874 do eval test x\${$as_var+set} = xset \
6875 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
6876 done
6877 PS1='$ '
6878 PS2='> '
6879 PS4='+ '
6880
6881 # NLS nuisances.
6882 LC_ALL=C
6883 export LC_ALL
6884 LANGUAGE=C
6885 export LANGUAGE
6886
6887 # CDPATH.
6888 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
6889
6890
6891 # as_fn_error STATUS ERROR [LINENO LOG_FD]
6892 # ----------------------------------------
6893 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6894 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6895 # script with STATUS, using 1 if that was 0.
6896 as_fn_error ()
6897 {
6898 as_status=$1; test $as_status -eq 0 && as_status=1
6899 if test "$4"; then
6900 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6901 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6902 fi
6903 $as_echo "$as_me: error: $2" >&2
6904 as_fn_exit $as_status
6905 } # as_fn_error
6906
6907
6908 # as_fn_set_status STATUS
6909 # -----------------------
6910 # Set $? to STATUS, without forking.
6911 as_fn_set_status ()
6912 {
6913 return $1
6914 } # as_fn_set_status
6915
6916 # as_fn_exit STATUS
6917 # -----------------
6918 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6919 as_fn_exit ()
6920 {
6921 set +e
6922 as_fn_set_status $1
6923 exit $1
6924 } # as_fn_exit
6925
6926 # as_fn_unset VAR
6927 # ---------------
6928 # Portably unset VAR.
6929 as_fn_unset ()
6930 {
6931 { eval $1=; unset $1;}
6932 }
6933 as_unset=as_fn_unset
6934 # as_fn_append VAR VALUE
6935 # ----------------------
6936 # Append the text in VALUE to the end of the definition contained in VAR. Take
6937 # advantage of any shell optimizations that allow amortized linear growth over
6938 # repeated appends, instead of the typical quadratic growth present in naive
6939 # implementations.
6940 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
6941 eval 'as_fn_append ()
6942 {
6943 eval $1+=\$2
6944 }'
6945 else
6946 as_fn_append ()
6947 {
6948 eval $1=\$$1\$2
6949 }
6950 fi # as_fn_append
6951
6952 # as_fn_arith ARG...
6953 # ------------------
6954 # Perform arithmetic evaluation on the ARGs, and store the result in the
6955 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6956 # must be portable across $(()) and expr.
6957 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
6958 eval 'as_fn_arith ()
6959 {
6960 as_val=$(( $* ))
6961 }'
6962 else
6963 as_fn_arith ()
6964 {
6965 as_val=`expr "$@" || test $? -eq 1`
6966 }
6967 fi # as_fn_arith
6968
6969
6970 if expr a : '\(a\)' >/dev/null 2>&1 &&
6971 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6972 as_expr=expr
6973 else
6974 as_expr=false
6975 fi
6976
6977 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6978 as_basename=basename
6979 else
6980 as_basename=false
6981 fi
6982
6983 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6984 as_dirname=dirname
6985 else
6986 as_dirname=false
6987 fi
6988
6989 as_me=`$as_basename -- "$0" ||
6990 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6991 X"$0" : 'X\(//\)$' \| \
6992 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6993 $as_echo X/"$0" |
6994 sed '/^.*\/\([^/][^/]*\)\/*$/{
6995 s//\1/
6996 q
6997 }
6998 /^X\/\(\/\/\)$/{
6999 s//\1/
7000 q
7001 }
7002 /^X\/\(\/\).*/{
7003 s//\1/
7004 q
7005 }
7006 s/.*/./; q'`
7007
7008 # Avoid depending upon Character Ranges.
7009 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7010 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7011 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7012 as_cr_digits='0123456789'
7013 as_cr_alnum=$as_cr_Letters$as_cr_digits
7014
7015 ECHO_C= ECHO_N= ECHO_T=
7016 case `echo -n x` in #(((((
7017 -n*)
7018 case `echo 'xy\c'` in
7019 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
7020 xy) ECHO_C='\c';;
7021 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
7022 ECHO_T=' ';;
7023 esac;;
7024 *)
7025 ECHO_N='-n';;
7026 esac
7027
7028 rm -f conf$$ conf$$.exe conf$$.file
7029 if test -d conf$$.dir; then
7030 rm -f conf$$.dir/conf$$.file
7031 else
7032 rm -f conf$$.dir
7033 mkdir conf$$.dir 2>/dev/null
7034 fi
7035 if (echo >conf$$.file) 2>/dev/null; then
7036 if ln -s conf$$.file conf$$ 2>/dev/null; then
7037 as_ln_s='ln -s'
7038 # ... but there are two gotchas:
7039 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7040 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7041 # In both cases, we have to default to `cp -pR'.
7042 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7043 as_ln_s='cp -pR'
7044 elif ln conf$$.file conf$$ 2>/dev/null; then
7045 as_ln_s=ln
7046 else
7047 as_ln_s='cp -pR'
7048 fi
7049 else
7050 as_ln_s='cp -pR'
7051 fi
7052 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7053 rmdir conf$$.dir 2>/dev/null
7054
7055
7056 # as_fn_mkdir_p
7057 # -------------
7058 # Create "$as_dir" as a directory, including parents if necessary.
7059 as_fn_mkdir_p ()
7060 {
7061
7062 case $as_dir in #(
7063 -*) as_dir=./$as_dir;;
7064 esac
7065 test -d "$as_dir" || eval $as_mkdir_p || {
7066 as_dirs=
7067 while :; do
7068 case $as_dir in #(
7069 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7070 *) as_qdir=$as_dir;;
7071 esac
7072 as_dirs="'$as_qdir' $as_dirs"
7073 as_dir=`$as_dirname -- "$as_dir" ||
7074 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7075 X"$as_dir" : 'X\(//\)[^/]' \| \
7076 X"$as_dir" : 'X\(//\)$' \| \
7077 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7078 $as_echo X"$as_dir" |
7079 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7080 s//\1/
7081 q
7082 }
7083 /^X\(\/\/\)[^/].*/{
7084 s//\1/
7085 q
7086 }
7087 /^X\(\/\/\)$/{
7088 s//\1/
7089 q
7090 }
7091 /^X\(\/\).*/{
7092 s//\1/
7093 q
7094 }
7095 s/.*/./; q'`
7096 test -d "$as_dir" && break
7097 done
7098 test -z "$as_dirs" || eval "mkdir $as_dirs"
7099 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
7100
7101
7102 } # as_fn_mkdir_p
7103 if mkdir -p . 2>/dev/null; then
7104 as_mkdir_p='mkdir -p "$as_dir"'
7105 else
7106 test -d ./-p && rmdir ./-p
7107 as_mkdir_p=false
7108 fi
7109
7110
7111 # as_fn_executable_p FILE
7112 # -----------------------
7113 # Test if FILE is an executable regular file.
7114 as_fn_executable_p ()
7115 {
7116 test -f "$1" && test -x "$1"
7117 } # as_fn_executable_p
7118 as_test_x='test -x'
7119 as_executable_p=as_fn_executable_p
7120
7121 # Sed expression to map a string onto a valid CPP name.
7122 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7123
7124 # Sed expression to map a string onto a valid variable name.
7125 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7126
7127
7128 exec 6>&1
7129 ## ----------------------------------- ##
7130 ## Main body of $CONFIG_STATUS script. ##
7131 ## ----------------------------------- ##
7132 _ASEOF
7133 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
7134
7135 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7136 # Save the log message, to keep $0 and so on meaningful, and to
7137 # report actual input values of CONFIG_FILES etc. instead of their
7138 # values after options handling.
7139 ac_log="
7140 This file was extended by 4Pane $as_me 8.0, which was
7141 generated by GNU Autoconf 2.69. Invocation command line was
7142
7143 CONFIG_FILES = $CONFIG_FILES
7144 CONFIG_HEADERS = $CONFIG_HEADERS
7145 CONFIG_LINKS = $CONFIG_LINKS
7146 CONFIG_COMMANDS = $CONFIG_COMMANDS
7147 $ $0 $@
7148
7149 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7150 "
7151
7152 _ACEOF
7153
7154 case $ac_config_files in *"
7155 "*) set x $ac_config_files; shift; ac_config_files=$*;;
7156 esac
7157
7158
7159
7160 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7161 # Files that config.status was made for.
7162 config_files="$ac_config_files"
7163 config_commands="$ac_config_commands"
7164
7165 _ACEOF
7166
7167 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7168 ac_cs_usage="\
7169 \`$as_me' instantiates files and other configuration actions
7170 from templates according to the current configuration. Unless the files
7171 and actions are specified as TAGs, all are instantiated by default.
7172
7173 Usage: $0 [OPTION]... [TAG]...
7174
7175 -h, --help print this help, then exit
7176 -V, --version print version number and configuration settings, then exit
7177 --config print configuration, then exit
7178 -q, --quiet, --silent
7179 do not print progress messages
7180 -d, --debug don't remove temporary files
7181 --recheck update $as_me by reconfiguring in the same conditions
7182 --file=FILE[:TEMPLATE]
7183 instantiate the configuration file FILE
7184
7185 Configuration files:
7186 $config_files
7187
7188 Configuration commands:
7189 $config_commands
7190
7191 Report bugs to the package provider."
7192
7193 _ACEOF
7194 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7195 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7196 ac_cs_version="\\
7197 4Pane config.status 8.0
7198 configured by $0, generated by GNU Autoconf 2.69,
7199 with options \\"\$ac_cs_config\\"
7200
7201 Copyright (C) 2012 Free Software Foundation, Inc.
7202 This config.status script is free software; the Free Software Foundation
7203 gives unlimited permission to copy, distribute and modify it."
7204
7205 ac_pwd='$ac_pwd'
7206 srcdir='$srcdir'
7207 INSTALL='$INSTALL'
7208 MKDIR_P='$MKDIR_P'
7209 AWK='$AWK'
7210 test -n "\$AWK" || AWK=awk
7211 _ACEOF
7212
7213 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7214 # The default lists apply if the user does not specify any file.
7215 ac_need_defaults=:
7216 while test $# != 0
7217 do
7218 case $1 in
7219 --*=?*)
7220 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7221 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7222 ac_shift=:
7223 ;;
7224 --*=)
7225 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7226 ac_optarg=
7227 ac_shift=:
7228 ;;
7229 *)
7230 ac_option=$1
7231 ac_optarg=$2
7232 ac_shift=shift
7233 ;;
7234 esac
7235
7236 case $ac_option in
7237 # Handling of the options.
7238 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7239 ac_cs_recheck=: ;;
7240 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7241 $as_echo "$ac_cs_version"; exit ;;
7242 --config | --confi | --conf | --con | --co | --c )
7243 $as_echo "$ac_cs_config"; exit ;;
7244 --debug | --debu | --deb | --de | --d | -d )
7245 debug=: ;;
7246 --file | --fil | --fi | --f )
7247 $ac_shift
7248 case $ac_optarg in
7249 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7250 '') as_fn_error $? "missing file argument" ;;
7251 esac
7252 as_fn_append CONFIG_FILES " '$ac_optarg'"
7253 ac_need_defaults=false;;
7254 --he | --h | --help | --hel | -h )
7255 $as_echo "$ac_cs_usage"; exit ;;
7256 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7257 | -silent | --silent | --silen | --sile | --sil | --si | --s)
7258 ac_cs_silent=: ;;
7259
7260 # This is an error.
7261 -*) as_fn_error $? "unrecognized option: \`$1'
7262 Try \`$0 --help' for more information." ;;
7263
7264 *) as_fn_append ac_config_targets " $1"
7265 ac_need_defaults=false ;;
7266
7267 esac
7268 shift
7269 done
7270
7271 ac_configure_extra_args=
7272
7273 if $ac_cs_silent; then
7274 exec 6>/dev/null
7275 ac_configure_extra_args="$ac_configure_extra_args --silent"
7276 fi
7277
7278 _ACEOF
7279 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7280 if \$ac_cs_recheck; then
7281 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7282 shift
7283 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7284 CONFIG_SHELL='$SHELL'
7285 export CONFIG_SHELL
7286 exec "\$@"
7287 fi
7288
7289 _ACEOF
7290 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7291 exec 5>>config.log
7292 {
7293 echo
7294 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7295 ## Running $as_me. ##
7296 _ASBOX
7297 $as_echo "$ac_log"
7298 } >&5
7299
7300 _ACEOF
7301 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7302 #
7303 # INIT-COMMANDS
7304 #
7305 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
7306
7307 _ACEOF
7308
7309 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7310
7311 # Handling of arguments.
7312 for ac_config_target in $ac_config_targets
7313 do
7314 case $ac_config_target in
7315 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
7316 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7317 "locale/Makefile") CONFIG_FILES="$CONFIG_FILES locale/Makefile" ;;
7318
7319 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7320 esac
7321 done
7322
7323
7324 # If the user did not use the arguments to specify the items to instantiate,
7325 # then the envvar interface is used. Set only those that are not.
7326 # We use the long form for the default assignment because of an extremely
7327 # bizarre bug on SunOS 4.1.3.
7328 if $ac_need_defaults; then
7329 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7330 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7331 fi
7332
7333 # Have a temporary directory for convenience. Make it in the build tree
7334 # simply because there is no reason against having it here, and in addition,
7335 # creating and moving files from /tmp can sometimes cause problems.
7336 # Hook for its removal unless debugging.
7337 # Note that there is a small window in which the directory will not be cleaned:
7338 # after its creation but before its name has been assigned to `$tmp'.
7339 $debug ||
7340 {
7341 tmp= ac_tmp=
7342 trap 'exit_status=$?
7343 : "${ac_tmp:=$tmp}"
7344 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7345 ' 0
7346 trap 'as_fn_exit 1' 1 2 13 15
7347 }
7348 # Create a (secure) tmp directory for tmp files.
7349
7350 {
7351 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7352 test -d "$tmp"
7353 } ||
7354 {
7355 tmp=./conf$$-$RANDOM
7356 (umask 077 && mkdir "$tmp")
7357 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
7358 ac_tmp=$tmp
7359
7360 # Set up the scripts for CONFIG_FILES section.
7361 # No need to generate them if there are no CONFIG_FILES.
7362 # This happens for instance with `./config.status config.h'.
7363 if test -n "$CONFIG_FILES"; then
7364
7365
7366 ac_cr=`echo X | tr X '\015'`
7367 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7368 # But we know of no other shell where ac_cr would be empty at this
7369 # point, so we can use a bashism as a fallback.
7370 if test "x$ac_cr" = x; then
7371 eval ac_cr=\$\'\\r\'
7372 fi
7373 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7374 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7375 ac_cs_awk_cr='\\r'
7376 else
7377 ac_cs_awk_cr=$ac_cr
7378 fi
7379
7380 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7381 _ACEOF
7382
7383
7384 {
7385 echo "cat >conf$$subs.awk <<_ACEOF" &&
7386 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7387 echo "_ACEOF"
7388 } >conf$$subs.sh ||
7389 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7390 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7391 ac_delim='%!_!# '
7392 for ac_last_try in false false false false false :; do
7393 . ./conf$$subs.sh ||
7394 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7395
7396 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
7397 if test $ac_delim_n = $ac_delim_num; then
7398 break
7399 elif $ac_last_try; then
7400 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7401 else
7402 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7403 fi
7404 done
7405 rm -f conf$$subs.sh
7406
7407 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7408 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
7409 _ACEOF
7410 sed -n '
7411 h
7412 s/^/S["/; s/!.*/"]=/
7413 p
7414 g
7415 s/^[^!]*!//
7416 :repl
7417 t repl
7418 s/'"$ac_delim"'$//
7419 t delim
7420 :nl
7421 h
7422 s/\(.\{148\}\)..*/\1/
7423 t more1
7424 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
7425 p
7426 n
7427 b repl
7428 :more1
7429 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7430 p
7431 g
7432 s/.\{148\}//
7433 t nl
7434 :delim
7435 h
7436 s/\(.\{148\}\)..*/\1/
7437 t more2
7438 s/["\\]/\\&/g; s/^/"/; s/$/"/
7439 p
7440 b
7441 :more2
7442 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7443 p
7444 g
7445 s/.\{148\}//
7446 t delim
7447 ' <conf$$subs.awk | sed '
7448 /^[^""]/{
7449 N
7450 s/\n//
7451 }
7452 ' >>$CONFIG_STATUS || ac_write_fail=1
7453 rm -f conf$$subs.awk
7454 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7455 _ACAWK
7456 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
7457 for (key in S) S_is_set[key] = 1
7458 FS = ""
7459
7460 }
7461 {
7462 line = $ 0
7463 nfields = split(line, field, "@")
7464 substed = 0
7465 len = length(field[1])
7466 for (i = 2; i < nfields; i++) {
7467 key = field[i]
7468 keylen = length(key)
7469 if (S_is_set[key]) {
7470 value = S[key]
7471 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7472 len += length(value) + length(field[++i])
7473 substed = 1
7474 } else
7475 len += 1 + keylen
7476 }
7477
7478 print line
7479 }
7480
7481 _ACAWK
7482 _ACEOF
7483 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7484 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7485 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
7486 else
7487 cat
7488 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
7489 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
7490 _ACEOF
7491
7492 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7493 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
7494 # trailing colons and then remove the whole line if VPATH becomes empty
7495 # (actually we leave an empty line to preserve line numbers).
7496 if test "x$srcdir" = x.; then
7497 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7498 h
7499 s///
7500 s/^/:/
7501 s/[ ]*$/:/
7502 s/:\$(srcdir):/:/g
7503 s/:\${srcdir}:/:/g
7504 s/:@srcdir@:/:/g
7505 s/^:*//
7506 s/:*$//
7507 x
7508 s/\(=[ ]*\).*/\1/
7509 G
7510 s/\n//
7511 s/^[^=]*=[ ]*$//
7512 }'
7513 fi
7514
7515 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7516 fi # test -n "$CONFIG_FILES"
7517
7518
7519 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
7520 shift
7521 for ac_tag
7522 do
7523 case $ac_tag in
7524 :[FHLC]) ac_mode=$ac_tag; continue;;
7525 esac
7526 case $ac_mode$ac_tag in
7527 :[FHL]*:*);;
7528 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
7529 :[FH]-) ac_tag=-:-;;
7530 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7531 esac
7532 ac_save_IFS=$IFS
7533 IFS=:
7534 set x $ac_tag
7535 IFS=$ac_save_IFS
7536 shift
7537 ac_file=$1
7538 shift
7539
7540 case $ac_mode in
7541 :L) ac_source=$1;;
7542 :[FH])
7543 ac_file_inputs=
7544 for ac_f
7545 do
7546 case $ac_f in
7547 -) ac_f="$ac_tmp/stdin";;
7548 *) # Look for the file first in the build tree, then in the source tree
7549 # (if the path is not absolute). The absolute path cannot be DOS-style,
7550 # because $ac_f cannot contain `:'.
7551 test -f "$ac_f" ||
7552 case $ac_f in
7553 [\\/$]*) false;;
7554 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7555 esac ||
7556 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7557 esac
7558 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7559 as_fn_append ac_file_inputs " '$ac_f'"
7560 done
7561
7562 # Let's still pretend it is `configure' which instantiates (i.e., don't
7563 # use $as_me), people would be surprised to read:
7564 # /* config.h. Generated by config.status. */
7565 configure_input='Generated from '`
7566 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7567 `' by configure.'
7568 if test x"$ac_file" != x-; then
7569 configure_input="$ac_file. $configure_input"
7570 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7571 $as_echo "$as_me: creating $ac_file" >&6;}
7572 fi
7573 # Neutralize special characters interpreted by sed in replacement strings.
7574 case $configure_input in #(
7575 *\&* | *\|* | *\\* )
7576 ac_sed_conf_input=`$as_echo "$configure_input" |
7577 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7578 *) ac_sed_conf_input=$configure_input;;
7579 esac
7580
7581 case $ac_tag in
7582 *:-:* | *:-) cat >"$ac_tmp/stdin" \
7583 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
7584 esac
7585 ;;
7586 esac
7587
7588 ac_dir=`$as_dirname -- "$ac_file" ||
7589 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7590 X"$ac_file" : 'X\(//\)[^/]' \| \
7591 X"$ac_file" : 'X\(//\)$' \| \
7592 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7593 $as_echo X"$ac_file" |
7594 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7595 s//\1/
7596 q
7597 }
7598 /^X\(\/\/\)[^/].*/{
7599 s//\1/
7600 q
7601 }
7602 /^X\(\/\/\)$/{
7603 s//\1/
7604 q
7605 }
7606 /^X\(\/\).*/{
7607 s//\1/
7608 q
7609 }
7610 s/.*/./; q'`
7611 as_dir="$ac_dir"; as_fn_mkdir_p
7612 ac_builddir=.
7613
7614 case "$ac_dir" in
7615 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7616 *)
7617 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7618 # A ".." for each directory in $ac_dir_suffix.
7619 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7620 case $ac_top_builddir_sub in
7621 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7622 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7623 esac ;;
7624 esac
7625 ac_abs_top_builddir=$ac_pwd
7626 ac_abs_builddir=$ac_pwd$ac_dir_suffix
7627 # for backward compatibility:
7628 ac_top_builddir=$ac_top_build_prefix
7629
7630 case $srcdir in
7631 .) # We are building in place.
7632 ac_srcdir=.
7633 ac_top_srcdir=$ac_top_builddir_sub
7634 ac_abs_top_srcdir=$ac_pwd ;;
7635 [\\/]* | ?:[\\/]* ) # Absolute name.
7636 ac_srcdir=$srcdir$ac_dir_suffix;
7637 ac_top_srcdir=$srcdir
7638 ac_abs_top_srcdir=$srcdir ;;
7639 *) # Relative name.
7640 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7641 ac_top_srcdir=$ac_top_build_prefix$srcdir
7642 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7643 esac
7644 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7645
7646
7647 case $ac_mode in
7648 :F)
7649 #
7650 # CONFIG_FILE
7651 #
7652
7653 case $INSTALL in
7654 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7655 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7656 esac
7657 ac_MKDIR_P=$MKDIR_P
7658 case $MKDIR_P in
7659 [\\/$]* | ?:[\\/]* ) ;;
7660 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
7661 esac
7662 _ACEOF
7663
7664 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7665 # If the template does not know about datarootdir, expand it.
7666 # FIXME: This hack should be removed a few years after 2.60.
7667 ac_datarootdir_hack=; ac_datarootdir_seen=
7668 ac_sed_dataroot='
7669 /datarootdir/ {
7670 p
7671 q
7672 }
7673 /@datadir@/p
7674 /@docdir@/p
7675 /@infodir@/p
7676 /@localedir@/p
7677 /@mandir@/p'
7678 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7679 *datarootdir*) ac_datarootdir_seen=yes;;
7680 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7682 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7683 _ACEOF
7684 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7685 ac_datarootdir_hack='
7686 s&@datadir@&$datadir&g
7687 s&@docdir@&$docdir&g
7688 s&@infodir@&$infodir&g
7689 s&@localedir@&$localedir&g
7690 s&@mandir@&$mandir&g
7691 s&\\\${datarootdir}&$datarootdir&g' ;;
7692 esac
7693 _ACEOF
7694
7695 # Neutralize VPATH when `$srcdir' = `.'.
7696 # Shell code in configure.ac might set extrasub.
7697 # FIXME: do we really want to maintain this feature?
7698 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7699 ac_sed_extra="$ac_vpsub
7700 $extrasub
7701 _ACEOF
7702 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7703 :t
7704 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7705 s|@configure_input@|$ac_sed_conf_input|;t t
7706 s&@top_builddir@&$ac_top_builddir_sub&;t t
7707 s&@top_build_prefix@&$ac_top_build_prefix&;t t
7708 s&@srcdir@&$ac_srcdir&;t t
7709 s&@abs_srcdir@&$ac_abs_srcdir&;t t
7710 s&@top_srcdir@&$ac_top_srcdir&;t t
7711 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7712 s&@builddir@&$ac_builddir&;t t
7713 s&@abs_builddir@&$ac_abs_builddir&;t t
7714 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7715 s&@INSTALL@&$ac_INSTALL&;t t
7716 s&@MKDIR_P@&$ac_MKDIR_P&;t t
7717 $ac_datarootdir_hack
7718 "
7719 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
7720 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7721
7722 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7723 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
7724 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
7725 "$ac_tmp/out"`; test -z "$ac_out"; } &&
7726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7727 which seems to be undefined. Please make sure it is defined" >&5
7728 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7729 which seems to be undefined. Please make sure it is defined" >&2;}
7730
7731 rm -f "$ac_tmp/stdin"
7732 case $ac_file in
7733 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7734 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7735 esac \
7736 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7737 ;;
7738
7739
7740 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
7741 $as_echo "$as_me: executing $ac_file commands" >&6;}
7742 ;;
7743 esac
7744
7745
7746 case $ac_file$ac_mode in
7747 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
7748 # Older Autoconf quotes --file arguments for eval, but not when files
7749 # are listed without --file. Let's play safe and only enable the eval
7750 # if we detect the quoting.
7751 # TODO: see whether this extra hack can be removed once we start
7752 # requiring Autoconf 2.70 or later.
7753 case $CONFIG_FILES in #(
7754 *\'*) :
7755 eval set x "$CONFIG_FILES" ;; #(
7756 *) :
7757 set x $CONFIG_FILES ;; #(
7758 *) :
7759 ;;
7760 esac
7761 shift
7762 # Used to flag and report bootstrapping failures.
7763 am_rc=0
7764 for am_mf
7765 do
7766 # Strip MF so we end up with the name of the file.
7767 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
7768 # Check whether this is an Automake generated Makefile which includes
7769 # dependency-tracking related rules and includes.
7770 # Grep'ing the whole file directly is not great: AIX grep has a line
7771 # limit of 2048, but all sed's we know have understand at least 4000.
7772 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
7773 || continue
7774 am_dirpart=`$as_dirname -- "$am_mf" ||
7775 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7776 X"$am_mf" : 'X\(//\)[^/]' \| \
7777 X"$am_mf" : 'X\(//\)$' \| \
7778 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
7779 $as_echo X"$am_mf" |
7780 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7781 s//\1/
7782 q
7783 }
7784 /^X\(\/\/\)[^/].*/{
7785 s//\1/
7786 q
7787 }
7788 /^X\(\/\/\)$/{
7789 s//\1/
7790 q
7791 }
7792 /^X\(\/\).*/{
7793 s//\1/
7794 q
7795 }
7796 s/.*/./; q'`
7797 am_filepart=`$as_basename -- "$am_mf" ||
7798 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
7799 X"$am_mf" : 'X\(//\)$' \| \
7800 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
7801 $as_echo X/"$am_mf" |
7802 sed '/^.*\/\([^/][^/]*\)\/*$/{
7803 s//\1/
7804 q
7805 }
7806 /^X\/\(\/\/\)$/{
7807 s//\1/
7808 q
7809 }
7810 /^X\/\(\/\).*/{
7811 s//\1/
7812 q
7813 }
7814 s/.*/./; q'`
7815 { echo "$as_me:$LINENO: cd "$am_dirpart" \
7816 && sed -e '/# am--include-marker/d' "$am_filepart" \
7817 | $MAKE -f - am--depfiles" >&5
7818 (cd "$am_dirpart" \
7819 && sed -e '/# am--include-marker/d' "$am_filepart" \
7820 | $MAKE -f - am--depfiles) >&5 2>&5
7821 ac_status=$?
7822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7823 (exit $ac_status); } || am_rc=$?
7824 done
7825 if test $am_rc -ne 0; then
7826 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7827 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7828 as_fn_error $? "Something went wrong bootstrapping makefile fragments
7829 for automatic dependency tracking. Try re-running configure with the
7830 '--disable-dependency-tracking' option to at least be able to build
7831 the package (albeit without support for automatic dependency tracking).
7832 See \`config.log' for more details" "$LINENO" 5; }
7833 fi
7834 { am_dirpart=; unset am_dirpart;}
7835 { am_filepart=; unset am_filepart;}
7836 { am_mf=; unset am_mf;}
7837 { am_rc=; unset am_rc;}
7838 rm -f conftest-deps.mk
7839 }
7840 ;;
7841
7842 esac
7843 done # for ac_tag
7844
7845
7846 as_fn_exit 0
7847 _ACEOF
7848 ac_clean_files=$ac_clean_files_save
7849
7850 test $ac_write_fail = 0 ||
7851 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
7852
7853
7854 # configure is writing to config.log, and then calls config.status.
7855 # config.status does its own redirection, appending to config.log.
7856 # Unfortunately, on DOS this fails, as config.log is still kept open
7857 # by configure, so config.status won't be able to write to it; its
7858 # output is simply discarded. So we exec the FD to /dev/null,
7859 # effectively closing config.log, so it can be properly (re)opened and
7860 # appended to by config.status. When coming back to configure, we
7861 # need to make the FD available again.
7862 if test "$no_create" != yes; then
7863 ac_cs_success=:
7864 ac_config_status_args=
7865 test "$silent" = yes &&
7866 ac_config_status_args="$ac_config_status_args --quiet"
7867 exec 5>/dev/null
7868 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7869 exec 5>>config.log
7870 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7871 # would make configure fail if this is the last instruction.
7872 $ac_cs_success || as_fn_exit 1
7873 fi
7874 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7876 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
7877 fi
7878