Debian Codegraph @

configure

raw
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for codeblocks 25.03svn13644.
4 #
5 #
6 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
7 # Inc.
8 #
9 #
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## -------------------- ##
13 ## M4sh Initialization. ##
14 ## -------------------- ##
15
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 as_nop=:
19 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
20 then :
21 emulate sh
22 NULLCMD=:
23 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24 # is contrary to our usage. Disable this feature.
25 alias -g '${1+"$@"}'='"$@"'
26 setopt NO_GLOB_SUBST
27 else $as_nop
28 case `(set -o) 2>/dev/null` in #(
29 *posix*) :
30 set -o posix ;; #(
31 *) :
32 ;;
33 esac
34 fi
35
36
37
38 # Reset variables that may have inherited troublesome values from
39 # the environment.
40
41 # IFS needs to be set, to space, tab, and newline, in precisely that order.
42 # (If _AS_PATH_WALK were called with IFS unset, it would have the
43 # side effect of setting IFS to empty, thus disabling word splitting.)
44 # Quoting is to prevent editors from complaining about space-tab.
45 as_nl='
46 '
47 export as_nl
48 IFS=" "" $as_nl"
49
50 PS1='$ '
51 PS2='> '
52 PS4='+ '
53
54 # Ensure predictable behavior from utilities with locale-dependent output.
55 LC_ALL=C
56 export LC_ALL
57 LANGUAGE=C
58 export LANGUAGE
59
60 # We cannot yet rely on "unset" to work, but we need these variables
61 # to be unset--not just set to an empty or harmless value--now, to
62 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
63 # also avoids known problems related to "unset" and subshell syntax
64 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
65 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
66 do eval test \${$as_var+y} \
67 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
68 done
69
70 # Ensure that fds 0, 1, and 2 are open.
71 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
72 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
73 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
74
75 # The user is always right.
76 if ${PATH_SEPARATOR+false} :; then
77 PATH_SEPARATOR=:
78 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
80 PATH_SEPARATOR=';'
81 }
82 fi
83
84
85 # Find who we are. Look in the path if we contain no directory separator.
86 as_myself=
87 case $0 in #((
88 *[\\/]* ) as_myself=$0 ;;
89 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
90 for as_dir in $PATH
91 do
92 IFS=$as_save_IFS
93 case $as_dir in #(((
94 '') as_dir=./ ;;
95 */) ;;
96 *) as_dir=$as_dir/ ;;
97 esac
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 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
112 fi
113
114
115 # Use a proper internal environment variable to ensure we don't fall
116 # into an infinite loop, continuously re-executing ourselves.
117 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
118 _as_can_reexec=no; export _as_can_reexec;
119 # We cannot yet assume a decent shell, so we have to provide a
120 # neutralization value for shells without unset; and this also
121 # works around shells that cannot unset nonexistent variables.
122 # Preserve -v and -x to the replacement shell.
123 BASH_ENV=/dev/null
124 ENV=/dev/null
125 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
126 case $- in # ((((
127 *v*x* | *x*v* ) as_opts=-vx ;;
128 *v* ) as_opts=-v ;;
129 *x* ) as_opts=-x ;;
130 * ) as_opts= ;;
131 esac
132 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
133 # Admittedly, this is quite paranoid, since all the known shells bail
134 # out after a failed `exec'.
135 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
136 exit 255
137 fi
138 # We don't want this to propagate to other subprocesses.
139 { _as_can_reexec=; unset _as_can_reexec;}
140 if test "x$CONFIG_SHELL" = x; then
141 as_bourne_compatible="as_nop=:
142 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
143 then :
144 emulate sh
145 NULLCMD=:
146 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
147 # is contrary to our usage. Disable this feature.
148 alias -g '\${1+\"\$@\"}'='\"\$@\"'
149 setopt NO_GLOB_SUBST
150 else \$as_nop
151 case \`(set -o) 2>/dev/null\` in #(
152 *posix*) :
153 set -o posix ;; #(
154 *) :
155 ;;
156 esac
157 fi
158 "
159 as_required="as_fn_return () { (exit \$1); }
160 as_fn_success () { as_fn_return 0; }
161 as_fn_failure () { as_fn_return 1; }
162 as_fn_ret_success () { return 0; }
163 as_fn_ret_failure () { return 1; }
164
165 exitcode=0
166 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
167 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
168 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
169 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
170 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
171 then :
172
173 else \$as_nop
174 exitcode=1; echo positional parameters were not saved.
175 fi
176 test x\$exitcode = x0 || exit 1
177 blah=\$(echo \$(echo blah))
178 test x\"\$blah\" = xblah || exit 1
179 test -x / || exit 1"
180 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
181 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
182 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
183 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
184
185 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
186 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
187 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
188 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
189 PATH=/empty FPATH=/empty; export PATH FPATH
190 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
191 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
192 test \$(( 1 + 1 )) = 2 || exit 1"
193 if (eval "$as_required") 2>/dev/null
194 then :
195 as_have_required=yes
196 else $as_nop
197 as_have_required=no
198 fi
199 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
200 then :
201
202 else $as_nop
203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
204 as_found=false
205 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
206 do
207 IFS=$as_save_IFS
208 case $as_dir in #(((
209 '') as_dir=./ ;;
210 */) ;;
211 *) as_dir=$as_dir/ ;;
212 esac
213 as_found=:
214 case $as_dir in #(
215 /*)
216 for as_base in sh bash ksh sh5; do
217 # Try only shells that exist, to save several forks.
218 as_shell=$as_dir$as_base
219 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
220 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
221 then :
222 CONFIG_SHELL=$as_shell as_have_required=yes
223 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
224 then :
225 break 2
226 fi
227 fi
228 done;;
229 esac
230 as_found=false
231 done
232 IFS=$as_save_IFS
233 if $as_found
234 then :
235
236 else $as_nop
237 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
238 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
239 then :
240 CONFIG_SHELL=$SHELL as_have_required=yes
241 fi
242 fi
243
244
245 if test "x$CONFIG_SHELL" != x
246 then :
247 export CONFIG_SHELL
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
252 BASH_ENV=/dev/null
253 ENV=/dev/null
254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
255 case $- in # ((((
256 *v*x* | *x*v* ) as_opts=-vx ;;
257 *v* ) as_opts=-v ;;
258 *x* ) as_opts=-x ;;
259 * ) as_opts= ;;
260 esac
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
265 exit 255
266 fi
267
268 if test x$as_have_required = xno
269 then :
270 printf "%s\n" "$0: This script requires a shell more modern than all"
271 printf "%s\n" "$0: the shells that I found on your system."
272 if test ${ZSH_VERSION+y} ; then
273 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
274 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
275 else
276 printf "%s\n" "$0: Please tell [email protected] about your system,
277 $0: including any error possibly output before this
278 $0: message. Then install a modern shell, or manually run
279 $0: the script under such a shell if you do have one."
280 fi
281 exit 1
282 fi
283 fi
284 fi
285 SHELL=${CONFIG_SHELL-/bin/sh}
286 export SHELL
287 # Unset more variables known to interfere with behavior of common tools.
288 CLICOLOR_FORCE= GREP_OPTIONS=
289 unset CLICOLOR_FORCE GREP_OPTIONS
290
291 ## --------------------- ##
292 ## M4sh Shell Functions. ##
293 ## --------------------- ##
294 # as_fn_unset VAR
295 # ---------------
296 # Portably unset VAR.
297 as_fn_unset ()
298 {
299 { eval $1=; unset $1;}
300 }
301 as_unset=as_fn_unset
302
303
304 # as_fn_set_status STATUS
305 # -----------------------
306 # Set $? to STATUS, without forking.
307 as_fn_set_status ()
308 {
309 return $1
310 } # as_fn_set_status
311
312 # as_fn_exit STATUS
313 # -----------------
314 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
315 as_fn_exit ()
316 {
317 set +e
318 as_fn_set_status $1
319 exit $1
320 } # as_fn_exit
321 # as_fn_nop
322 # ---------
323 # Do nothing but, unlike ":", preserve the value of $?.
324 as_fn_nop ()
325 {
326 return $?
327 }
328 as_nop=as_fn_nop
329
330 # as_fn_mkdir_p
331 # -------------
332 # Create "$as_dir" as a directory, including parents if necessary.
333 as_fn_mkdir_p ()
334 {
335
336 case $as_dir in #(
337 -*) as_dir=./$as_dir;;
338 esac
339 test -d "$as_dir" || eval $as_mkdir_p || {
340 as_dirs=
341 while :; do
342 case $as_dir in #(
343 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
344 *) as_qdir=$as_dir;;
345 esac
346 as_dirs="'$as_qdir' $as_dirs"
347 as_dir=`$as_dirname -- "$as_dir" ||
348 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
349 X"$as_dir" : 'X\(//\)[^/]' \| \
350 X"$as_dir" : 'X\(//\)$' \| \
351 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
352 printf "%s\n" X"$as_dir" |
353 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
354 s//\1/
355 q
356 }
357 /^X\(\/\/\)[^/].*/{
358 s//\1/
359 q
360 }
361 /^X\(\/\/\)$/{
362 s//\1/
363 q
364 }
365 /^X\(\/\).*/{
366 s//\1/
367 q
368 }
369 s/.*/./; q'`
370 test -d "$as_dir" && break
371 done
372 test -z "$as_dirs" || eval "mkdir $as_dirs"
373 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
374
375
376 } # as_fn_mkdir_p
377
378 # as_fn_executable_p FILE
379 # -----------------------
380 # Test if FILE is an executable regular file.
381 as_fn_executable_p ()
382 {
383 test -f "$1" && test -x "$1"
384 } # as_fn_executable_p
385 # as_fn_append VAR VALUE
386 # ----------------------
387 # Append the text in VALUE to the end of the definition contained in VAR. Take
388 # advantage of any shell optimizations that allow amortized linear growth over
389 # repeated appends, instead of the typical quadratic growth present in naive
390 # implementations.
391 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
392 then :
393 eval 'as_fn_append ()
394 {
395 eval $1+=\$2
396 }'
397 else $as_nop
398 as_fn_append ()
399 {
400 eval $1=\$$1\$2
401 }
402 fi # as_fn_append
403
404 # as_fn_arith ARG...
405 # ------------------
406 # Perform arithmetic evaluation on the ARGs, and store the result in the
407 # global $as_val. Take advantage of shells that can avoid forks. The arguments
408 # must be portable across $(()) and expr.
409 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
410 then :
411 eval 'as_fn_arith ()
412 {
413 as_val=$(( $* ))
414 }'
415 else $as_nop
416 as_fn_arith ()
417 {
418 as_val=`expr "$@" || test $? -eq 1`
419 }
420 fi # as_fn_arith
421
422 # as_fn_nop
423 # ---------
424 # Do nothing but, unlike ":", preserve the value of $?.
425 as_fn_nop ()
426 {
427 return $?
428 }
429 as_nop=as_fn_nop
430
431 # as_fn_error STATUS ERROR [LINENO LOG_FD]
432 # ----------------------------------------
433 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
434 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
435 # script with STATUS, using 1 if that was 0.
436 as_fn_error ()
437 {
438 as_status=$1; test $as_status -eq 0 && as_status=1
439 if test "$4"; then
440 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
441 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
442 fi
443 printf "%s\n" "$as_me: error: $2" >&2
444 as_fn_exit $as_status
445 } # as_fn_error
446
447 if expr a : '\(a\)' >/dev/null 2>&1 &&
448 test "X`expr 00001 : '.*\(...\)'`" = X001; then
449 as_expr=expr
450 else
451 as_expr=false
452 fi
453
454 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
455 as_basename=basename
456 else
457 as_basename=false
458 fi
459
460 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
461 as_dirname=dirname
462 else
463 as_dirname=false
464 fi
465
466 as_me=`$as_basename -- "$0" ||
467 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
468 X"$0" : 'X\(//\)$' \| \
469 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
470 printf "%s\n" X/"$0" |
471 sed '/^.*\/\([^/][^/]*\)\/*$/{
472 s//\1/
473 q
474 }
475 /^X\/\(\/\/\)$/{
476 s//\1/
477 q
478 }
479 /^X\/\(\/\).*/{
480 s//\1/
481 q
482 }
483 s/.*/./; q'`
484
485 # Avoid depending upon Character Ranges.
486 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
487 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
488 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
489 as_cr_digits='0123456789'
490 as_cr_alnum=$as_cr_Letters$as_cr_digits
491
492
493 as_lineno_1=$LINENO as_lineno_1a=$LINENO
494 as_lineno_2=$LINENO as_lineno_2a=$LINENO
495 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
496 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
497 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
498 sed -n '
499 p
500 /[$]LINENO/=
501 ' <$as_myself |
502 sed '
503 s/[$]LINENO.*/&-/
504 t lineno
505 b
506 :lineno
507 N
508 :loop
509 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
510 t loop
511 s/-\n.*//
512 ' >$as_me.lineno &&
513 chmod +x "$as_me.lineno" ||
514 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
515
516 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
517 # already done that, so ensure we don't try to do so again and fall
518 # in an infinite loop. This has already happened in practice.
519 _as_can_reexec=no; export _as_can_reexec
520 # Don't try to exec as it changes $[0], causing all sort of problems
521 # (the dirname of $[0] is not the place where we might find the
522 # original and so on. Autoconf is especially sensitive to this).
523 . "./$as_me.lineno"
524 # Exit status is that of the last command.
525 exit
526 }
527
528
529 # Determine whether it's possible to make 'echo' print without a newline.
530 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
531 # for compatibility with existing Makefiles.
532 ECHO_C= ECHO_N= ECHO_T=
533 case `echo -n x` in #(((((
534 -n*)
535 case `echo 'xy\c'` in
536 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
537 xy) ECHO_C='\c';;
538 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
539 ECHO_T=' ';;
540 esac;;
541 *)
542 ECHO_N='-n';;
543 esac
544
545 # For backward compatibility with old third-party macros, we provide
546 # the shell variables $as_echo and $as_echo_n. New code should use
547 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
548 as_echo='printf %s\n'
549 as_echo_n='printf %s'
550
551
552 rm -f conf$$ conf$$.exe conf$$.file
553 if test -d conf$$.dir; then
554 rm -f conf$$.dir/conf$$.file
555 else
556 rm -f conf$$.dir
557 mkdir conf$$.dir 2>/dev/null
558 fi
559 if (echo >conf$$.file) 2>/dev/null; then
560 if ln -s conf$$.file conf$$ 2>/dev/null; then
561 as_ln_s='ln -s'
562 # ... but there are two gotchas:
563 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
564 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
565 # In both cases, we have to default to `cp -pR'.
566 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
567 as_ln_s='cp -pR'
568 elif ln conf$$.file conf$$ 2>/dev/null; then
569 as_ln_s=ln
570 else
571 as_ln_s='cp -pR'
572 fi
573 else
574 as_ln_s='cp -pR'
575 fi
576 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
577 rmdir conf$$.dir 2>/dev/null
578
579 if mkdir -p . 2>/dev/null; then
580 as_mkdir_p='mkdir -p "$as_dir"'
581 else
582 test -d ./-p && rmdir ./-p
583 as_mkdir_p=false
584 fi
585
586 as_test_x='test -x'
587 as_executable_p=as_fn_executable_p
588
589 # Sed expression to map a string onto a valid CPP name.
590 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
591
592 # Sed expression to map a string onto a valid variable name.
593 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
594
595 SHELL=${CONFIG_SHELL-/bin/sh}
596
597
598 test -n "$DJDIR" || exec 7<&0 </dev/null
599 exec 6>&1
600
601 # Name of the host.
602 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
603 # so uname gets run too.
604 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
605
606 #
607 # Initializations.
608 #
609 ac_default_prefix=/usr/local
610 ac_clean_files=
611 ac_config_libobj_dir=.
612 LIBOBJS=
613 cross_compiling=no
614 subdirs=
615 MFLAGS=
616 MAKEFLAGS=
617
618 # Identity of this package.
619 PACKAGE_NAME='codeblocks'
620 PACKAGE_TARNAME='codeblocks'
621 PACKAGE_VERSION='25.03svn13644'
622 PACKAGE_STRING='codeblocks 25.03svn13644'
623 PACKAGE_BUGREPORT=''
624 PACKAGE_URL=''
625
626 # Factoring default headers for most tests.
627 ac_includes_default="\
628 #include <stddef.h>
629 #ifdef HAVE_STDIO_H
630 # include <stdio.h>
631 #endif
632 #ifdef HAVE_STDLIB_H
633 # include <stdlib.h>
634 #endif
635 #ifdef HAVE_STRING_H
636 # include <string.h>
637 #endif
638 #ifdef HAVE_INTTYPES_H
639 # include <inttypes.h>
640 #endif
641 #ifdef HAVE_STDINT_H
642 # include <stdint.h>
643 #endif
644 #ifdef HAVE_STRINGS_H
645 # include <strings.h>
646 #endif
647 #ifdef HAVE_SYS_TYPES_H
648 # include <sys/types.h>
649 #endif
650 #ifdef HAVE_SYS_STAT_H
651 # include <sys/stat.h>
652 #endif
653 #ifdef HAVE_UNISTD_H
654 # include <unistd.h>
655 #endif"
656
657 ac_header_c_list=
658 ac_func_c_list=
659 ac_subst_vars='am__EXEEXT_FALSE
660 am__EXEEXT_TRUE
661 LTLIBOBJS
662 DATE
663 REVISION
664 codeblocks_PCH_FLAGS
665 MACSETFILE
666 POSTLINK_COMMAND
667 WX_X11_LIBS
668 WX_X11_CFLAGS
669 CB_FONTCONFIG_LIBS
670 CB_FONTCONFIG_CFLAGS
671 CB_HUNSPELL_LIBS
672 CB_HUNSPELL_CFLAGS
673 CB_GLIB2_LIBS
674 CB_GLIB2_CFLAGS
675 SCINTILLA_GTK_LIBS
676 SCINTILLA_GTK_CFLAGS
677 WX_GTK_LIBS
678 WX_GTK_CFLAGS
679 CB_TINYXML_LIBS
680 CB_TINYXML_CFLAGS
681 CB_SQUIRREL_LIBS
682 CB_SQUIRREL_CFLAGS
683 GCC_PATCH_VERSION
684 GCC_MINOR_VERSION
685 GCC_MAJOR_VERSION
686 GCC_VERSION
687 SETFILE
688 REZ
689 WINDRES
690 X_EXTRA_LIBS
691 X_LIBS
692 X_PRE_LIBS
693 X_CFLAGS
694 XMKMF
695 BOOST_SYSTEM_LIB
696 BOOST_LDFLAGS
697 BOOST_CPPFLAGS
698 FONTCONFIG_LIBS
699 FONTCONFIG_CFLAGS
700 GDK_LIBS
701 GDK_CFLAGS
702 GTK_LIBS
703 GTK_CFLAGS
704 HUNSPELL_LIBS
705 HUNSPELL_CFLAGS
706 GLIB2_LIBS
707 GLIB2_CFLAGS
708 WX_VERSION_MICRO
709 WX_VERSION_MINOR
710 WX_VERSION_MAJOR
711 WX_RESCOMP
712 WX_VERSION
713 WX_LIBS_STATIC
714 WX_LIBS
715 WX_CXXFLAGS_ONLY
716 WX_CFLAGS_ONLY
717 WX_CXXFLAGS
718 WX_CFLAGS
719 WX_CPPFLAGS
720 WX_CONFIG_PATH
721 PRECOMPILE_HEADERS_FALSE
722 PRECOMPILE_HEADERS_TRUE
723 BUILD_WXSMITHAUI
724 BUILD_WXSMITHCONTRIB
725 BUILD_WXSMITH
726 BUILD_WXCONTRIB
727 BUILD_VALGRIND
728 BUILD_TOOLSPLUS
729 BUILD_THREADSEARCH
730 BUILD_SPELLCHECKER
731 BUILD_SMARTINDENT
732 BUILD_SYMTAB
733 BUILD_EXPORTER
734 BUILD_CLANGD_CLIENT
735 BUILD_RNDGEN
736 BUILD_REOPENEDITOR
737 BUILD_REGEX
738 BUILD_PROFILER
739 BUILD_NASSISHNEIDERMAN
740 BUILD_MOUSESAP
741 BUILD_LIBFINDER
742 BUILD_KEYBINDER
743 BUILD_INCSEARCH
744 BUILD_HEXEDITOR
745 BUILD_HELP
746 BUILD_HEADERFIXUP
747 BUILD_FILEMANAGER
748 BUILD_ENVVARS
749 BUILD_EDITORTWEAKS
750 BUILD_EDITORCONFIG
751 BUILD_DRAGSCROLL
752 BUILD_DOXYBLOCKS
753 BUILD_CSCOPE
754 BUILD_CPPCHECK
755 BUILD_COPYSTRINGS
756 BUILD_CODESTAT
757 BUILD_CODESNIPPETS
758 BUILD_CCCC
759 BUILD_CBKODERS
760 BUILD_BYOGAMES
761 BUILD_BROWSETRACKER
762 BUILD_AUTOVERSIONING
763 BUILD_CPPCHECK_FALSE
764 BUILD_CPPCHECK_TRUE
765 BUILD_CCCC_FALSE
766 BUILD_CCCC_TRUE
767 BUILD_MOUSESAP_FALSE
768 BUILD_MOUSESAP_TRUE
769 BUILD_INCSEARCH_FALSE
770 BUILD_INCSEARCH_TRUE
771 BUILD_HEXEDITOR_FALSE
772 BUILD_HEXEDITOR_TRUE
773 BUILD_WXSMITHAUI_FALSE
774 BUILD_WXSMITHAUI_TRUE
775 BUILD_WXSMITHCONTRIB_FALSE
776 BUILD_WXSMITHCONTRIB_TRUE
777 BUILD_WXSMITH_FALSE
778 BUILD_WXSMITH_TRUE
779 BUILD_WXCONTRIB_FALSE
780 BUILD_WXCONTRIB_TRUE
781 BUILD_VALGRIND_FALSE
782 BUILD_VALGRIND_TRUE
783 BUILD_TOOLSPLUS_FALSE
784 BUILD_TOOLSPLUS_TRUE
785 BUILD_THREADSEARCH_FALSE
786 BUILD_THREADSEARCH_TRUE
787 BUILD_SYMTAB_FALSE
788 BUILD_SYMTAB_TRUE
789 BUILD_SPELLCHECKER_FALSE
790 BUILD_SPELLCHECKER_TRUE
791 BUILD_SMARTINDENT_FALSE
792 BUILD_SMARTINDENT_TRUE
793 BUILD_EXPORTER_FALSE
794 BUILD_EXPORTER_TRUE
795 BUILD_CLANGD_CLIENT_FALSE
796 BUILD_CLANGD_CLIENT_TRUE
797 BUILD_RNDGEN_FALSE
798 BUILD_RNDGEN_TRUE
799 BUILD_REOPENEDITOR_FALSE
800 BUILD_REOPENEDITOR_TRUE
801 BUILD_REGEX_FALSE
802 BUILD_REGEX_TRUE
803 BUILD_PROJECTOPTIONSMANIPULATOR_FALSE
804 BUILD_PROJECTOPTIONSMANIPULATOR_TRUE
805 BUILD_PROFILER_FALSE
806 BUILD_PROFILER_TRUE
807 BUILD_NASSISHNEIDERMAN_FALSE
808 BUILD_NASSISHNEIDERMAN_TRUE
809 BUILD_LIBFINDER_FALSE
810 BUILD_LIBFINDER_TRUE
811 BUILD_KEYBINDER_FALSE
812 BUILD_KEYBINDER_TRUE
813 BUILD_HELP_FALSE
814 BUILD_HELP_TRUE
815 BUILD_HEADERFIXUP_FALSE
816 BUILD_HEADERFIXUP_TRUE
817 BUILD_FILEMANAGER_FALSE
818 BUILD_FILEMANAGER_TRUE
819 BUILD_ENVVARS_FALSE
820 BUILD_ENVVARS_TRUE
821 BUILD_EDITORTWEAKS_FALSE
822 BUILD_EDITORTWEAKS_TRUE
823 BUILD_EDITORCONFIG_FALSE
824 BUILD_EDITORCONFIG_TRUE
825 BUILD_DRAGSCROLL_FALSE
826 BUILD_DRAGSCROLL_TRUE
827 BUILD_DOXYBLOCKS_FALSE
828 BUILD_DOXYBLOCKS_TRUE
829 BUILD_CSCOPE_FALSE
830 BUILD_CSCOPE_TRUE
831 BUILD_COPYSTRINGS_FALSE
832 BUILD_COPYSTRINGS_TRUE
833 BUILD_CODESTAT_FALSE
834 BUILD_CODESTAT_TRUE
835 BUILD_CODESNIPPETS_FALSE
836 BUILD_CODESNIPPETS_TRUE
837 BUILD_CBKODERS_FALSE
838 BUILD_CBKODERS_TRUE
839 BUILD_BYOGAMES_FALSE
840 BUILD_BYOGAMES_TRUE
841 BUILD_BROWSETRACKER_FALSE
842 BUILD_BROWSETRACKER_TRUE
843 BUILD_AUTOVERSIONING_FALSE
844 BUILD_AUTOVERSIONING_TRUE
845 BUILD_MANIFEST_FALSE
846 BUILD_MANIFEST_TRUE
847 CODEBLOCKS_INSTALLERDOCS_FOUND_FALSE
848 CODEBLOCKS_INSTALLERDOCS_FOUND_TRUE
849 GTK_NOTEBOOK_FALSE
850 GTK_NOTEBOOK_TRUE
851 ENABLE_FORTRAN_FALSE
852 ENABLE_FORTRAN_TRUE
853 KEEP_DLLS_FALSE
854 KEEP_DLLS_TRUE
855 BUILD_ABBREVIATIONS_FALSE
856 BUILD_ABBREVIATIONS_TRUE
857 BUILD_TODO_FALSE
858 BUILD_TODO_TRUE
859 BUILD_SCRIPTEDWIZARD_FALSE
860 BUILD_SCRIPTEDWIZARD_TRUE
861 BUILD_PROJECTSIMPORTER_FALSE
862 BUILD_PROJECTSIMPORTER_TRUE
863 BUILD_OCCURRENCESHIGHLIGHTING_FALSE
864 BUILD_OCCURRENCESHIGHLIGHTING_TRUE
865 BUILD_OPENFILESLIST_FALSE
866 BUILD_OPENFILESLIST_TRUE
867 BUILD_DISPLAYEVENTS_FALSE
868 BUILD_DISPLAYEVENTS_TRUE
869 BUILD_MIMEHANDLER_FALSE
870 BUILD_MIMEHANDLER_TRUE
871 BUILD_DEBUGGER_FALSE
872 BUILD_DEBUGGER_TRUE
873 BUILD_COMPILER_FALSE
874 BUILD_COMPILER_TRUE
875 BUILD_CODECOMPLETION_FALSE
876 BUILD_CODECOMPLETION_TRUE
877 BUILD_CLASSWIZARD_FALSE
878 BUILD_CLASSWIZARD_TRUE
879 BUILD_AUTOSAVE_FALSE
880 BUILD_AUTOSAVE_TRUE
881 BUILD_ASTYLE_FALSE
882 BUILD_ASTYLE_TRUE
883 CODEBLOCKS_PLATFORM
884 PLATFORM_LIBS
885 PLATFORM_CFLAGS
886 CODEBLOCKS_VERSION_INFO
887 MODULE_SHARED_LDFLAGS
888 HAVE_TINYXML_FALSE
889 HAVE_TINYXML_TRUE
890 TINYXML_LIBS
891 TINYXML_CFLAGS
892 HAVE_PKG_CONFIG
893 HAVE_ASTYLE_FALSE
894 HAVE_ASTYLE_TRUE
895 HAVE_BZIP2_FALSE
896 HAVE_BZIP2_TRUE
897 HAVE_ZLIB_FALSE
898 HAVE_ZLIB_TRUE
899 zlib_LIBS
900 zlib_CFLAGS
901 PKG_CONFIG_LIBDIR
902 PKG_CONFIG_PATH
903 PKG_CONFIG
904 LIBOBJS
905 CODEBLOCKS_DARWIN_FALSE
906 CODEBLOCKS_DARWIN_TRUE
907 CODEBLOCKS_LINUX_FALSE
908 CODEBLOCKS_LINUX_TRUE
909 CODEBLOCKS_NT_FALSE
910 CODEBLOCKS_NT_TRUE
911 RC
912 PLUGIN_FLAGS
913 SHARED_FLAGS
914 HAVE_CXX11
915 CPP
916 CXXCPP
917 am__fastdepCXX_FALSE
918 am__fastdepCXX_TRUE
919 CXXDEPMODE
920 ac_ct_CXX
921 CXXFLAGS
922 CXX
923 DARWIN_FALSE
924 DARWIN_TRUE
925 LINUX_FALSE
926 LINUX_TRUE
927 LT_SYS_LIBRARY_PATH
928 OTOOL64
929 OTOOL
930 LIPO
931 NMEDIT
932 DSYMUTIL
933 MANIFEST_TOOL
934 RANLIB
935 ac_ct_AR
936 AR
937 DLLTOOL
938 OBJDUMP
939 FILECMD
940 LN_S
941 NM
942 ac_ct_DUMPBIN
943 DUMPBIN
944 LD
945 FGREP
946 EGREP
947 GREP
948 SED
949 am__fastdepCC_FALSE
950 am__fastdepCC_TRUE
951 CCDEPMODE
952 am__nodep
953 AMDEPBACKSLASH
954 AMDEP_FALSE
955 AMDEP_TRUE
956 am__include
957 DEPDIR
958 OBJEXT
959 EXEEXT
960 ac_ct_CC
961 CPPFLAGS
962 LDFLAGS
963 CFLAGS
964 CC
965 LIBTOOL
966 AM_BACKSLASH
967 AM_DEFAULT_VERBOSITY
968 AM_DEFAULT_V
969 AM_V
970 CSCOPE
971 ETAGS
972 CTAGS
973 am__untar
974 am__tar
975 AMTAR
976 am__leading_dot
977 SET_MAKE
978 AWK
979 mkdir_p
980 MKDIR_P
981 INSTALL_STRIP_PROGRAM
982 STRIP
983 install_sh
984 MAKEINFO
985 AUTOHEADER
986 AUTOMAKE
987 AUTOCONF
988 ACLOCAL
989 VERSION
990 PACKAGE
991 CYGPATH_W
992 am__isrc
993 INSTALL_DATA
994 INSTALL_SCRIPT
995 INSTALL_PROGRAM
996 target_os
997 target_vendor
998 target_cpu
999 target
1000 host_os
1001 host_vendor
1002 host_cpu
1003 host
1004 build_os
1005 build_vendor
1006 build_cpu
1007 build
1008 target_alias
1009 host_alias
1010 build_alias
1011 LIBS
1012 ECHO_T
1013 ECHO_N
1014 ECHO_C
1015 DEFS
1016 mandir
1017 localedir
1018 libdir
1019 psdir
1020 pdfdir
1021 dvidir
1022 htmldir
1023 infodir
1024 docdir
1025 oldincludedir
1026 includedir
1027 runstatedir
1028 localstatedir
1029 sharedstatedir
1030 sysconfdir
1031 datadir
1032 datarootdir
1033 libexecdir
1034 sbindir
1035 bindir
1036 program_transform_name
1037 prefix
1038 exec_prefix
1039 PACKAGE_URL
1040 PACKAGE_BUGREPORT
1041 PACKAGE_STRING
1042 PACKAGE_VERSION
1043 PACKAGE_TARNAME
1044 PACKAGE_NAME
1045 PATH_SEPARATOR
1046 SHELL
1047 am__quote'
1048 ac_subst_files=''
1049 ac_user_opts='
1050 enable_option_checking
1051 enable_debug
1052 enable_silent_rules
1053 enable_static
1054 enable_shared
1055 with_pic
1056 enable_fast_install
1057 with_aix_soname
1058 enable_dependency_tracking
1059 with_gnu_ld
1060 with_sysroot
1061 enable_libtool_lock
1062 with_platform
1063 enable_source_formatter
1064 enable_autosave
1065 enable_class_wizard
1066 enable_code_completion
1067 enable_compiler
1068 enable_debugger
1069 enable_mime_handler
1070 enable_displayevents
1071 enable_open_files_list
1072 enable_occurrences_highlighting
1073 enable_projects_importer
1074 enable_scripted_wizard
1075 enable_todo
1076 enable_abbreviations
1077 enable_keep_dlls
1078 enable_fortran
1079 enable_gtk_notebook
1080 enable_xpmanifest
1081 with_contrib_plugins
1082 enable_pch
1083 with_wxdir
1084 with_wx_config
1085 with_wx_prefix
1086 with_wx_exec_prefix
1087 with_boost
1088 with_boost_libdir
1089 with_boost_system
1090 with_x
1091 '
1092 ac_precious_vars='build_alias
1093 host_alias
1094 target_alias
1095 CC
1096 CFLAGS
1097 LDFLAGS
1098 LIBS
1099 CPPFLAGS
1100 LT_SYS_LIBRARY_PATH
1101 CXX
1102 CXXFLAGS
1103 CCC
1104 CXXCPP
1105 CPP
1106 PKG_CONFIG
1107 PKG_CONFIG_PATH
1108 PKG_CONFIG_LIBDIR
1109 zlib_CFLAGS
1110 zlib_LIBS
1111 TINYXML_CFLAGS
1112 TINYXML_LIBS
1113 GLIB2_CFLAGS
1114 GLIB2_LIBS
1115 HUNSPELL_CFLAGS
1116 HUNSPELL_LIBS
1117 GTK_CFLAGS
1118 GTK_LIBS
1119 GDK_CFLAGS
1120 GDK_LIBS
1121 FONTCONFIG_CFLAGS
1122 FONTCONFIG_LIBS
1123 XMKMF'
1124
1125
1126 # Initialize some variables set by options.
1127 ac_init_help=
1128 ac_init_version=false
1129 ac_unrecognized_opts=
1130 ac_unrecognized_sep=
1131 # The variables have the same names as the options, with
1132 # dashes changed to underlines.
1133 cache_file=/dev/null
1134 exec_prefix=NONE
1135 no_create=
1136 no_recursion=
1137 prefix=NONE
1138 program_prefix=NONE
1139 program_suffix=NONE
1140 program_transform_name=s,x,x,
1141 silent=
1142 site=
1143 srcdir=
1144 verbose=
1145 x_includes=NONE
1146 x_libraries=NONE
1147
1148 # Installation directory options.
1149 # These are left unexpanded so users can "make install exec_prefix=/foo"
1150 # and all the variables that are supposed to be based on exec_prefix
1151 # by default will actually change.
1152 # Use braces instead of parens because sh, perl, etc. also accept them.
1153 # (The list follows the same order as the GNU Coding Standards.)
1154 bindir='${exec_prefix}/bin'
1155 sbindir='${exec_prefix}/sbin'
1156 libexecdir='${exec_prefix}/libexec'
1157 datarootdir='${prefix}/share'
1158 datadir='${datarootdir}'
1159 sysconfdir='${prefix}/etc'
1160 sharedstatedir='${prefix}/com'
1161 localstatedir='${prefix}/var'
1162 runstatedir='${localstatedir}/run'
1163 includedir='${prefix}/include'
1164 oldincludedir='/usr/include'
1165 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1166 infodir='${datarootdir}/info'
1167 htmldir='${docdir}'
1168 dvidir='${docdir}'
1169 pdfdir='${docdir}'
1170 psdir='${docdir}'
1171 libdir='${exec_prefix}/lib'
1172 localedir='${datarootdir}/locale'
1173 mandir='${datarootdir}/man'
1174
1175 ac_prev=
1176 ac_dashdash=
1177 for ac_option
1178 do
1179 # If the previous option needs an argument, assign it.
1180 if test -n "$ac_prev"; then
1181 eval $ac_prev=\$ac_option
1182 ac_prev=
1183 continue
1184 fi
1185
1186 case $ac_option in
1187 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1188 *=) ac_optarg= ;;
1189 *) ac_optarg=yes ;;
1190 esac
1191
1192 case $ac_dashdash$ac_option in
1193 --)
1194 ac_dashdash=yes ;;
1195
1196 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1197 ac_prev=bindir ;;
1198 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1199 bindir=$ac_optarg ;;
1200
1201 -build | --build | --buil | --bui | --bu)
1202 ac_prev=build_alias ;;
1203 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1204 build_alias=$ac_optarg ;;
1205
1206 -cache-file | --cache-file | --cache-fil | --cache-fi \
1207 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1208 ac_prev=cache_file ;;
1209 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1210 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1211 cache_file=$ac_optarg ;;
1212
1213 --config-cache | -C)
1214 cache_file=config.cache ;;
1215
1216 -datadir | --datadir | --datadi | --datad)
1217 ac_prev=datadir ;;
1218 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1219 datadir=$ac_optarg ;;
1220
1221 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1222 | --dataroo | --dataro | --datar)
1223 ac_prev=datarootdir ;;
1224 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1225 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1226 datarootdir=$ac_optarg ;;
1227
1228 -disable-* | --disable-*)
1229 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1230 # Reject names that are not valid shell variable names.
1231 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1232 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1233 ac_useropt_orig=$ac_useropt
1234 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1235 case $ac_user_opts in
1236 *"
1237 "enable_$ac_useropt"
1238 "*) ;;
1239 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1240 ac_unrecognized_sep=', ';;
1241 esac
1242 eval enable_$ac_useropt=no ;;
1243
1244 -docdir | --docdir | --docdi | --doc | --do)
1245 ac_prev=docdir ;;
1246 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1247 docdir=$ac_optarg ;;
1248
1249 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1250 ac_prev=dvidir ;;
1251 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1252 dvidir=$ac_optarg ;;
1253
1254 -enable-* | --enable-*)
1255 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1256 # Reject names that are not valid shell variable names.
1257 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1258 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1259 ac_useropt_orig=$ac_useropt
1260 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1261 case $ac_user_opts in
1262 *"
1263 "enable_$ac_useropt"
1264 "*) ;;
1265 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1266 ac_unrecognized_sep=', ';;
1267 esac
1268 eval enable_$ac_useropt=\$ac_optarg ;;
1269
1270 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1271 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1272 | --exec | --exe | --ex)
1273 ac_prev=exec_prefix ;;
1274 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1275 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1276 | --exec=* | --exe=* | --ex=*)
1277 exec_prefix=$ac_optarg ;;
1278
1279 -gas | --gas | --ga | --g)
1280 # Obsolete; use --with-gas.
1281 with_gas=yes ;;
1282
1283 -help | --help | --hel | --he | -h)
1284 ac_init_help=long ;;
1285 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1286 ac_init_help=recursive ;;
1287 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1288 ac_init_help=short ;;
1289
1290 -host | --host | --hos | --ho)
1291 ac_prev=host_alias ;;
1292 -host=* | --host=* | --hos=* | --ho=*)
1293 host_alias=$ac_optarg ;;
1294
1295 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1296 ac_prev=htmldir ;;
1297 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1298 | --ht=*)
1299 htmldir=$ac_optarg ;;
1300
1301 -includedir | --includedir | --includedi | --included | --include \
1302 | --includ | --inclu | --incl | --inc)
1303 ac_prev=includedir ;;
1304 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1305 | --includ=* | --inclu=* | --incl=* | --inc=*)
1306 includedir=$ac_optarg ;;
1307
1308 -infodir | --infodir | --infodi | --infod | --info | --inf)
1309 ac_prev=infodir ;;
1310 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1311 infodir=$ac_optarg ;;
1312
1313 -libdir | --libdir | --libdi | --libd)
1314 ac_prev=libdir ;;
1315 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1316 libdir=$ac_optarg ;;
1317
1318 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1319 | --libexe | --libex | --libe)
1320 ac_prev=libexecdir ;;
1321 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1322 | --libexe=* | --libex=* | --libe=*)
1323 libexecdir=$ac_optarg ;;
1324
1325 -localedir | --localedir | --localedi | --localed | --locale)
1326 ac_prev=localedir ;;
1327 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1328 localedir=$ac_optarg ;;
1329
1330 -localstatedir | --localstatedir | --localstatedi | --localstated \
1331 | --localstate | --localstat | --localsta | --localst | --locals)
1332 ac_prev=localstatedir ;;
1333 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1334 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1335 localstatedir=$ac_optarg ;;
1336
1337 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1338 ac_prev=mandir ;;
1339 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1340 mandir=$ac_optarg ;;
1341
1342 -nfp | --nfp | --nf)
1343 # Obsolete; use --without-fp.
1344 with_fp=no ;;
1345
1346 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1347 | --no-cr | --no-c | -n)
1348 no_create=yes ;;
1349
1350 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1351 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1352 no_recursion=yes ;;
1353
1354 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1355 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1356 | --oldin | --oldi | --old | --ol | --o)
1357 ac_prev=oldincludedir ;;
1358 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1359 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1360 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1361 oldincludedir=$ac_optarg ;;
1362
1363 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1364 ac_prev=prefix ;;
1365 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1366 prefix=$ac_optarg ;;
1367
1368 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1369 | --program-pre | --program-pr | --program-p)
1370 ac_prev=program_prefix ;;
1371 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1372 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1373 program_prefix=$ac_optarg ;;
1374
1375 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1376 | --program-suf | --program-su | --program-s)
1377 ac_prev=program_suffix ;;
1378 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1379 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1380 program_suffix=$ac_optarg ;;
1381
1382 -program-transform-name | --program-transform-name \
1383 | --program-transform-nam | --program-transform-na \
1384 | --program-transform-n | --program-transform- \
1385 | --program-transform | --program-transfor \
1386 | --program-transfo | --program-transf \
1387 | --program-trans | --program-tran \
1388 | --progr-tra | --program-tr | --program-t)
1389 ac_prev=program_transform_name ;;
1390 -program-transform-name=* | --program-transform-name=* \
1391 | --program-transform-nam=* | --program-transform-na=* \
1392 | --program-transform-n=* | --program-transform-=* \
1393 | --program-transform=* | --program-transfor=* \
1394 | --program-transfo=* | --program-transf=* \
1395 | --program-trans=* | --program-tran=* \
1396 | --progr-tra=* | --program-tr=* | --program-t=*)
1397 program_transform_name=$ac_optarg ;;
1398
1399 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1400 ac_prev=pdfdir ;;
1401 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1402 pdfdir=$ac_optarg ;;
1403
1404 -psdir | --psdir | --psdi | --psd | --ps)
1405 ac_prev=psdir ;;
1406 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1407 psdir=$ac_optarg ;;
1408
1409 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1410 | -silent | --silent | --silen | --sile | --sil)
1411 silent=yes ;;
1412
1413 -runstatedir | --runstatedir | --runstatedi | --runstated \
1414 | --runstate | --runstat | --runsta | --runst | --runs \
1415 | --run | --ru | --r)
1416 ac_prev=runstatedir ;;
1417 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1418 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1419 | --run=* | --ru=* | --r=*)
1420 runstatedir=$ac_optarg ;;
1421
1422 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1423 ac_prev=sbindir ;;
1424 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1425 | --sbi=* | --sb=*)
1426 sbindir=$ac_optarg ;;
1427
1428 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1429 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1430 | --sharedst | --shareds | --shared | --share | --shar \
1431 | --sha | --sh)
1432 ac_prev=sharedstatedir ;;
1433 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1434 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1435 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1436 | --sha=* | --sh=*)
1437 sharedstatedir=$ac_optarg ;;
1438
1439 -site | --site | --sit)
1440 ac_prev=site ;;
1441 -site=* | --site=* | --sit=*)
1442 site=$ac_optarg ;;
1443
1444 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1445 ac_prev=srcdir ;;
1446 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1447 srcdir=$ac_optarg ;;
1448
1449 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1450 | --syscon | --sysco | --sysc | --sys | --sy)
1451 ac_prev=sysconfdir ;;
1452 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1453 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1454 sysconfdir=$ac_optarg ;;
1455
1456 -target | --target | --targe | --targ | --tar | --ta | --t)
1457 ac_prev=target_alias ;;
1458 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1459 target_alias=$ac_optarg ;;
1460
1461 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1462 verbose=yes ;;
1463
1464 -version | --version | --versio | --versi | --vers | -V)
1465 ac_init_version=: ;;
1466
1467 -with-* | --with-*)
1468 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1469 # Reject names that are not valid shell variable names.
1470 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1471 as_fn_error $? "invalid package name: \`$ac_useropt'"
1472 ac_useropt_orig=$ac_useropt
1473 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1474 case $ac_user_opts in
1475 *"
1476 "with_$ac_useropt"
1477 "*) ;;
1478 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1479 ac_unrecognized_sep=', ';;
1480 esac
1481 eval with_$ac_useropt=\$ac_optarg ;;
1482
1483 -without-* | --without-*)
1484 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1485 # Reject names that are not valid shell variable names.
1486 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1487 as_fn_error $? "invalid package name: \`$ac_useropt'"
1488 ac_useropt_orig=$ac_useropt
1489 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1490 case $ac_user_opts in
1491 *"
1492 "with_$ac_useropt"
1493 "*) ;;
1494 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1495 ac_unrecognized_sep=', ';;
1496 esac
1497 eval with_$ac_useropt=no ;;
1498
1499 --x)
1500 # Obsolete; use --with-x.
1501 with_x=yes ;;
1502
1503 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1504 | --x-incl | --x-inc | --x-in | --x-i)
1505 ac_prev=x_includes ;;
1506 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1507 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1508 x_includes=$ac_optarg ;;
1509
1510 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1511 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1512 ac_prev=x_libraries ;;
1513 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1514 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1515 x_libraries=$ac_optarg ;;
1516
1517 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1518 Try \`$0 --help' for more information"
1519 ;;
1520
1521 *=*)
1522 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1523 # Reject names that are not valid shell variable names.
1524 case $ac_envvar in #(
1525 '' | [0-9]* | *[!_$as_cr_alnum]* )
1526 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1527 esac
1528 eval $ac_envvar=\$ac_optarg
1529 export $ac_envvar ;;
1530
1531 *)
1532 # FIXME: should be removed in autoconf 3.0.
1533 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1534 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1535 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1536 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1537 ;;
1538
1539 esac
1540 done
1541
1542 if test -n "$ac_prev"; then
1543 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1544 as_fn_error $? "missing argument to $ac_option"
1545 fi
1546
1547 if test -n "$ac_unrecognized_opts"; then
1548 case $enable_option_checking in
1549 no) ;;
1550 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1551 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1552 esac
1553 fi
1554
1555 # Check all directory arguments for consistency.
1556 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1557 datadir sysconfdir sharedstatedir localstatedir includedir \
1558 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1559 libdir localedir mandir runstatedir
1560 do
1561 eval ac_val=\$$ac_var
1562 # Remove trailing slashes.
1563 case $ac_val in
1564 */ )
1565 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1566 eval $ac_var=\$ac_val;;
1567 esac
1568 # Be sure to have absolute directory names.
1569 case $ac_val in
1570 [\\/$]* | ?:[\\/]* ) continue;;
1571 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1572 esac
1573 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1574 done
1575
1576 # There might be people who depend on the old broken behavior: `$host'
1577 # used to hold the argument of --host etc.
1578 # FIXME: To remove some day.
1579 build=$build_alias
1580 host=$host_alias
1581 target=$target_alias
1582
1583 # FIXME: To remove some day.
1584 if test "x$host_alias" != x; then
1585 if test "x$build_alias" = x; then
1586 cross_compiling=maybe
1587 elif test "x$build_alias" != "x$host_alias"; then
1588 cross_compiling=yes
1589 fi
1590 fi
1591
1592 ac_tool_prefix=
1593 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1594
1595 test "$silent" = yes && exec 6>/dev/null
1596
1597
1598 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1599 ac_ls_di=`ls -di .` &&
1600 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1601 as_fn_error $? "working directory cannot be determined"
1602 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1603 as_fn_error $? "pwd does not report name of working directory"
1604
1605
1606 # Find the source files, if location was not specified.
1607 if test -z "$srcdir"; then
1608 ac_srcdir_defaulted=yes
1609 # Try the directory containing this script, then the parent directory.
1610 ac_confdir=`$as_dirname -- "$as_myself" ||
1611 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1612 X"$as_myself" : 'X\(//\)[^/]' \| \
1613 X"$as_myself" : 'X\(//\)$' \| \
1614 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1615 printf "%s\n" X"$as_myself" |
1616 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1617 s//\1/
1618 q
1619 }
1620 /^X\(\/\/\)[^/].*/{
1621 s//\1/
1622 q
1623 }
1624 /^X\(\/\/\)$/{
1625 s//\1/
1626 q
1627 }
1628 /^X\(\/\).*/{
1629 s//\1/
1630 q
1631 }
1632 s/.*/./; q'`
1633 srcdir=$ac_confdir
1634 if test ! -r "$srcdir/$ac_unique_file"; then
1635 srcdir=..
1636 fi
1637 else
1638 ac_srcdir_defaulted=no
1639 fi
1640 if test ! -r "$srcdir/$ac_unique_file"; then
1641 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1642 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1643 fi
1644 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1645 ac_abs_confdir=`(
1646 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1647 pwd)`
1648 # When building in place, set srcdir=.
1649 if test "$ac_abs_confdir" = "$ac_pwd"; then
1650 srcdir=.
1651 fi
1652 # Remove unnecessary trailing slashes from srcdir.
1653 # Double slashes in file names in object file debugging info
1654 # mess up M-x gdb in Emacs.
1655 case $srcdir in
1656 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1657 esac
1658 for ac_var in $ac_precious_vars; do
1659 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1660 eval ac_env_${ac_var}_value=\$${ac_var}
1661 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1662 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1663 done
1664
1665 #
1666 # Report the --help message.
1667 #
1668 if test "$ac_init_help" = "long"; then
1669 # Omit some internal or obsolete options to make the list less imposing.
1670 # This message is too long to be a string in the A/UX 3.1 sh.
1671 cat <<_ACEOF
1672 \`configure' configures codeblocks 25.03svn13644 to adapt to many kinds of systems.
1673
1674 Usage: $0 [OPTION]... [VAR=VALUE]...
1675
1676 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1677 VAR=VALUE. See below for descriptions of some of the useful variables.
1678
1679 Defaults for the options are specified in brackets.
1680
1681 Configuration:
1682 -h, --help display this help and exit
1683 --help=short display options specific to this package
1684 --help=recursive display the short help of all the included packages
1685 -V, --version display version information and exit
1686 -q, --quiet, --silent do not print \`checking ...' messages
1687 --cache-file=FILE cache test results in FILE [disabled]
1688 -C, --config-cache alias for \`--cache-file=config.cache'
1689 -n, --no-create do not create output files
1690 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1691
1692 Installation directories:
1693 --prefix=PREFIX install architecture-independent files in PREFIX
1694 [$ac_default_prefix]
1695 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1696 [PREFIX]
1697
1698 By default, \`make install' will install all the files in
1699 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1700 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1701 for instance \`--prefix=\$HOME'.
1702
1703 For better control, use the options below.
1704
1705 Fine tuning of the installation directories:
1706 --bindir=DIR user executables [EPREFIX/bin]
1707 --sbindir=DIR system admin executables [EPREFIX/sbin]
1708 --libexecdir=DIR program executables [EPREFIX/libexec]
1709 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1710 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1711 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1712 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1713 --libdir=DIR object code libraries [EPREFIX/lib]
1714 --includedir=DIR C header files [PREFIX/include]
1715 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1716 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1717 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1718 --infodir=DIR info documentation [DATAROOTDIR/info]
1719 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1720 --mandir=DIR man documentation [DATAROOTDIR/man]
1721 --docdir=DIR documentation root [DATAROOTDIR/doc/codeblocks]
1722 --htmldir=DIR html documentation [DOCDIR]
1723 --dvidir=DIR dvi documentation [DOCDIR]
1724 --pdfdir=DIR pdf documentation [DOCDIR]
1725 --psdir=DIR ps documentation [DOCDIR]
1726 _ACEOF
1727
1728 cat <<\_ACEOF
1729
1730 Program names:
1731 --program-prefix=PREFIX prepend PREFIX to installed program names
1732 --program-suffix=SUFFIX append SUFFIX to installed program names
1733 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1734
1735 X features:
1736 --x-includes=DIR X include files are in DIR
1737 --x-libraries=DIR X library files are in DIR
1738
1739 System types:
1740 --build=BUILD configure for building on BUILD [guessed]
1741 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1742 --target=TARGET configure for building compilers for TARGET [HOST]
1743 _ACEOF
1744 fi
1745
1746 if test -n "$ac_init_help"; then
1747 case $ac_init_help in
1748 short | recursive ) echo "Configuration of codeblocks 25.03svn13644:";;
1749 esac
1750 cat <<\_ACEOF
1751
1752 Optional Features:
1753 --disable-option-checking ignore unrecognized --enable/--with options
1754 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1755 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1756 --enable-debug turn on debugging (default is OFF)
1757 --enable-silent-rules less verbose build output (undo: "make V=1")
1758 --disable-silent-rules verbose build output (undo: "make V=0")
1759 --enable-static[=PKGS] build static libraries [default=no]
1760 --enable-shared[=PKGS] build shared libraries [default=yes]
1761 --enable-fast-install[=PKGS]
1762 optimize for fast installation [default=yes]
1763 --enable-dependency-tracking
1764 do not reject slow dependency extractors
1765 --disable-dependency-tracking
1766 speeds up one-time build
1767 --disable-libtool-lock avoid locking (might break parallel builds)
1768 --enable-source-formatter
1769 build the source formatter plugin (default YES)
1770 --enable-autosave build the autosave plugin (default YES)
1771 --enable-class-wizard build the class wizard plugin (default YES)
1772 --enable-code-completion
1773 build the code completion plugin (default YES)
1774 --enable-compiler build the compiler plugin (default YES)
1775 --enable-debugger build the debugger plugin (default YES)
1776 --enable-mime-handler build the default MIME handler plugin (default YES)
1777 --enable-displayevents build the displayevents plugin (default YES)
1778 --enable-open-files-list
1779 build the open files list plugin (default YES)
1780 --enable-occurrences-highlighting
1781 build the occurrences highlighting plugin (default
1782 YES)
1783 --enable-projects-importer
1784 build the foreign projects importer plugin (default
1785 YES)
1786 --enable-scripted-wizard
1787 build the scripted wizard plugin (default YES)
1788 --enable-todo build the to-do plugin (default YES)
1789 --enable-abbreviations build the abbreviations plugin (default YES)
1790 --enable-keep-dlls keep prebuild windows dll's in dist-tarball (default
1791 YES)
1792 --enable-fortran integrate (external) fortran plugin in dist-tarball
1793 (default YES), NOTE: it will not be build
1794 automatically
1795 --enable-gtk-notebook use gtk-notebook as default notebook (default YES)
1796 --enable-xpmanifest build the xp-manifest plugin (default YES)
1797 --enable-pch use precompiled headers if available (default YES)
1798
1799 Optional Packages:
1800 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1801 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1802 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1803 both]
1804 --with-aix-soname=aix|svr4|both
1805 shared library versioning (aka "SONAME") variant to
1806 provide on AIX, [default=aix].
1807 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1808 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1809 compiler's sysroot if not specified).
1810 --with-platform=PLATFORM
1811 the platform to build, win32, macosx or gtk(default)
1812 --with-contrib-plugins=<list> compile contrib plugins in <list>.
1813 plugins may be separated with commas.
1814 "all", "yes" or just "--with-contrib-plugins" compiles all contrib plugins
1815 "all,-help" or "yes,-help" compiles all contrib plugins except the help plugin
1816 "none", "no", "--without-contrib-plugins" or skipping the parameter at all,
1817 compiles none of the contrib-plugins
1818 Plugin names are: AutoVersioning, BrowseTracker, byogames, Cccc, CppCheck, cbkoders, codesnippets,
1819 codestat, copystrings, Cscope, DoxyBlocks, dragscroll, EditorConfig, EditorTweaks, envvars, exporter,
1820 FileManager, headerfixup, help, hexeditor, incsearch, keybinder, libfinder, MouseSap,
1821 NassiShneiderman, ProjectOptionsManipulator, profiler, regex, ReopenEditor, rndgen, clangd_client, smartindent, spellchecker,
1822 symtab, ThreadSearch, ToolsPlus, Valgrind, wxcontrib, wxsmith, wxsmithcontrib, wxsmithaui
1823 --with-wxdir=PATH Use uninstalled version of wxWidgets in PATH
1824 --with-wx-config=CONFIG wx-config script to use (optional)
1825 --with-wx-prefix=PREFIX Prefix where wxWidgets is installed (optional)
1826 --with-wx-exec-prefix=PREFIX
1827 Exec prefix where wxWidgets is installed (optional)
1828 --with-boost[=ARG] use Boost library from a standard location
1829 (ARG=yes), from the specified location (ARG=<path>),
1830 or disable it (ARG=no) [ARG=yes]
1831 --with-boost-libdir=LIB_DIR
1832 Force given directory for boost libraries. Note that
1833 this will override library path detection, so use
1834 this parameter only if default library detection
1835 fails and you know exactly where your boost
1836 libraries are located.
1837 --with-boost-system[=special-lib]
1838 use the System library from boost - it is possible
1839 to specify a certain library for the linker e.g.
1840 --with-boost-system=boost_system-gcc-mt
1841 --with-x use the X Window System
1842
1843 Some influential environment variables:
1844 CC C compiler command
1845 CFLAGS C compiler flags
1846 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1847 nonstandard directory <lib dir>
1848 LIBS libraries to pass to the linker, e.g. -l<library>
1849 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1850 you have headers in a nonstandard directory <include dir>
1851 LT_SYS_LIBRARY_PATH
1852 User-defined run-time library search path.
1853 CXX C++ compiler command
1854 CXXFLAGS C++ compiler flags
1855 CXXCPP C++ preprocessor
1856 CPP C preprocessor
1857 PKG_CONFIG path to pkg-config utility
1858 PKG_CONFIG_PATH
1859 directories to add to pkg-config's search path
1860 PKG_CONFIG_LIBDIR
1861 path overriding pkg-config's built-in search path
1862 zlib_CFLAGS C compiler flags for zlib, overriding pkg-config
1863 zlib_LIBS linker flags for zlib, overriding pkg-config
1864 TINYXML_CFLAGS
1865 C compiler flags for TINYXML, overriding pkg-config
1866 TINYXML_LIBS
1867 linker flags for TINYXML, overriding pkg-config
1868 GLIB2_CFLAGS
1869 C compiler flags for GLIB2, overriding pkg-config
1870 GLIB2_LIBS linker flags for GLIB2, overriding pkg-config
1871 HUNSPELL_CFLAGS
1872 C compiler flags for HUNSPELL, overriding pkg-config
1873 HUNSPELL_LIBS
1874 linker flags for HUNSPELL, overriding pkg-config
1875 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
1876 GTK_LIBS linker flags for GTK, overriding pkg-config
1877 GDK_CFLAGS C compiler flags for GDK, overriding pkg-config
1878 GDK_LIBS linker flags for GDK, overriding pkg-config
1879 FONTCONFIG_CFLAGS
1880 C compiler flags for FONTCONFIG, overriding pkg-config
1881 FONTCONFIG_LIBS
1882 linker flags for FONTCONFIG, overriding pkg-config
1883 XMKMF Path to xmkmf, Makefile generator for X Window System
1884
1885 Use these variables to override the choices made by `configure' or to help
1886 it to find libraries and programs with nonstandard names/locations.
1887
1888 Report bugs to the package provider.
1889 _ACEOF
1890 ac_status=$?
1891 fi
1892
1893 if test "$ac_init_help" = "recursive"; then
1894 # If there are subdirs, report their specific --help.
1895 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1896 test -d "$ac_dir" ||
1897 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1898 continue
1899 ac_builddir=.
1900
1901 case "$ac_dir" in
1902 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1903 *)
1904 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1905 # A ".." for each directory in $ac_dir_suffix.
1906 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1907 case $ac_top_builddir_sub in
1908 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1909 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1910 esac ;;
1911 esac
1912 ac_abs_top_builddir=$ac_pwd
1913 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1914 # for backward compatibility:
1915 ac_top_builddir=$ac_top_build_prefix
1916
1917 case $srcdir in
1918 .) # We are building in place.
1919 ac_srcdir=.
1920 ac_top_srcdir=$ac_top_builddir_sub
1921 ac_abs_top_srcdir=$ac_pwd ;;
1922 [\\/]* | ?:[\\/]* ) # Absolute name.
1923 ac_srcdir=$srcdir$ac_dir_suffix;
1924 ac_top_srcdir=$srcdir
1925 ac_abs_top_srcdir=$srcdir ;;
1926 *) # Relative name.
1927 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1928 ac_top_srcdir=$ac_top_build_prefix$srcdir
1929 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1930 esac
1931 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1932
1933 cd "$ac_dir" || { ac_status=$?; continue; }
1934 # Check for configure.gnu first; this name is used for a wrapper for
1935 # Metaconfig's "Configure" on case-insensitive file systems.
1936 if test -f "$ac_srcdir/configure.gnu"; then
1937 echo &&
1938 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1939 elif test -f "$ac_srcdir/configure"; then
1940 echo &&
1941 $SHELL "$ac_srcdir/configure" --help=recursive
1942 else
1943 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1944 fi || ac_status=$?
1945 cd "$ac_pwd" || { ac_status=$?; break; }
1946 done
1947 fi
1948
1949 test -n "$ac_init_help" && exit $ac_status
1950 if $ac_init_version; then
1951 cat <<\_ACEOF
1952 codeblocks configure 25.03svn13644
1953 generated by GNU Autoconf 2.71
1954
1955 Copyright (C) 2021 Free Software Foundation, Inc.
1956 This configure script is free software; the Free Software Foundation
1957 gives unlimited permission to copy, distribute and modify it.
1958 _ACEOF
1959 exit
1960 fi
1961
1962 ## ------------------------ ##
1963 ## Autoconf initialization. ##
1964 ## ------------------------ ##
1965
1966 # ac_fn_c_try_compile LINENO
1967 # --------------------------
1968 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1969 ac_fn_c_try_compile ()
1970 {
1971 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1972 rm -f conftest.$ac_objext conftest.beam
1973 if { { ac_try="$ac_compile"
1974 case "(($ac_try" in
1975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1976 *) ac_try_echo=$ac_try;;
1977 esac
1978 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1979 printf "%s\n" "$ac_try_echo"; } >&5
1980 (eval "$ac_compile") 2>conftest.err
1981 ac_status=$?
1982 if test -s conftest.err; then
1983 grep -v '^ *+' conftest.err >conftest.er1
1984 cat conftest.er1 >&5
1985 mv -f conftest.er1 conftest.err
1986 fi
1987 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1988 test $ac_status = 0; } && {
1989 test -z "$ac_c_werror_flag" ||
1990 test ! -s conftest.err
1991 } && test -s conftest.$ac_objext
1992 then :
1993 ac_retval=0
1994 else $as_nop
1995 printf "%s\n" "$as_me: failed program was:" >&5
1996 sed 's/^/| /' conftest.$ac_ext >&5
1997
1998 ac_retval=1
1999 fi
2000 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2001 as_fn_set_status $ac_retval
2002
2003 } # ac_fn_c_try_compile
2004
2005 # ac_fn_c_try_link LINENO
2006 # -----------------------
2007 # Try to link conftest.$ac_ext, and return whether this succeeded.
2008 ac_fn_c_try_link ()
2009 {
2010 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2011 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2012 if { { ac_try="$ac_link"
2013 case "(($ac_try" in
2014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2015 *) ac_try_echo=$ac_try;;
2016 esac
2017 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2018 printf "%s\n" "$ac_try_echo"; } >&5
2019 (eval "$ac_link") 2>conftest.err
2020 ac_status=$?
2021 if test -s conftest.err; then
2022 grep -v '^ *+' conftest.err >conftest.er1
2023 cat conftest.er1 >&5
2024 mv -f conftest.er1 conftest.err
2025 fi
2026 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2027 test $ac_status = 0; } && {
2028 test -z "$ac_c_werror_flag" ||
2029 test ! -s conftest.err
2030 } && test -s conftest$ac_exeext && {
2031 test "$cross_compiling" = yes ||
2032 test -x conftest$ac_exeext
2033 }
2034 then :
2035 ac_retval=0
2036 else $as_nop
2037 printf "%s\n" "$as_me: failed program was:" >&5
2038 sed 's/^/| /' conftest.$ac_ext >&5
2039
2040 ac_retval=1
2041 fi
2042 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2043 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2044 # interfere with the next link command; also delete a directory that is
2045 # left behind by Apple's compiler. We do this before executing the actions.
2046 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2047 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2048 as_fn_set_status $ac_retval
2049
2050 } # ac_fn_c_try_link
2051
2052 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2053 # -------------------------------------------------------
2054 # Tests whether HEADER exists and can be compiled using the include files in
2055 # INCLUDES, setting the cache variable VAR accordingly.
2056 ac_fn_c_check_header_compile ()
2057 {
2058 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2060 printf %s "checking for $2... " >&6; }
2061 if eval test \${$3+y}
2062 then :
2063 printf %s "(cached) " >&6
2064 else $as_nop
2065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2066 /* end confdefs.h. */
2067 $4
2068 #include <$2>
2069 _ACEOF
2070 if ac_fn_c_try_compile "$LINENO"
2071 then :
2072 eval "$3=yes"
2073 else $as_nop
2074 eval "$3=no"
2075 fi
2076 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2077 fi
2078 eval ac_res=\$$3
2079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2080 printf "%s\n" "$ac_res" >&6; }
2081 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2082
2083 } # ac_fn_c_check_header_compile
2084
2085 # ac_fn_c_check_func LINENO FUNC VAR
2086 # ----------------------------------
2087 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2088 ac_fn_c_check_func ()
2089 {
2090 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2092 printf %s "checking for $2... " >&6; }
2093 if eval test \${$3+y}
2094 then :
2095 printf %s "(cached) " >&6
2096 else $as_nop
2097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2098 /* end confdefs.h. */
2099 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2100 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2101 #define $2 innocuous_$2
2102
2103 /* System header to define __stub macros and hopefully few prototypes,
2104 which can conflict with char $2 (); below. */
2105
2106 #include <limits.h>
2107 #undef $2
2108
2109 /* Override any GCC internal prototype to avoid an error.
2110 Use char because int might match the return type of a GCC
2111 builtin and then its argument prototype would still apply. */
2112 #ifdef __cplusplus
2113 extern "C"
2114 #endif
2115 char $2 ();
2116 /* The GNU C library defines this for functions which it implements
2117 to always fail with ENOSYS. Some functions are actually named
2118 something starting with __ and the normal name is an alias. */
2119 #if defined __stub_$2 || defined __stub___$2
2120 choke me
2121 #endif
2122
2123 int
2124 main (void)
2125 {
2126 return $2 ();
2127 ;
2128 return 0;
2129 }
2130 _ACEOF
2131 if ac_fn_c_try_link "$LINENO"
2132 then :
2133 eval "$3=yes"
2134 else $as_nop
2135 eval "$3=no"
2136 fi
2137 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2138 conftest$ac_exeext conftest.$ac_ext
2139 fi
2140 eval ac_res=\$$3
2141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2142 printf "%s\n" "$ac_res" >&6; }
2143 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2144
2145 } # ac_fn_c_check_func
2146
2147 # ac_fn_cxx_try_compile LINENO
2148 # ----------------------------
2149 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2150 ac_fn_cxx_try_compile ()
2151 {
2152 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2153 rm -f conftest.$ac_objext conftest.beam
2154 if { { ac_try="$ac_compile"
2155 case "(($ac_try" in
2156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2157 *) ac_try_echo=$ac_try;;
2158 esac
2159 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2160 printf "%s\n" "$ac_try_echo"; } >&5
2161 (eval "$ac_compile") 2>conftest.err
2162 ac_status=$?
2163 if test -s conftest.err; then
2164 grep -v '^ *+' conftest.err >conftest.er1
2165 cat conftest.er1 >&5
2166 mv -f conftest.er1 conftest.err
2167 fi
2168 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2169 test $ac_status = 0; } && {
2170 test -z "$ac_cxx_werror_flag" ||
2171 test ! -s conftest.err
2172 } && test -s conftest.$ac_objext
2173 then :
2174 ac_retval=0
2175 else $as_nop
2176 printf "%s\n" "$as_me: failed program was:" >&5
2177 sed 's/^/| /' conftest.$ac_ext >&5
2178
2179 ac_retval=1
2180 fi
2181 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2182 as_fn_set_status $ac_retval
2183
2184 } # ac_fn_cxx_try_compile
2185
2186 # ac_fn_cxx_try_cpp LINENO
2187 # ------------------------
2188 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2189 ac_fn_cxx_try_cpp ()
2190 {
2191 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2192 if { { ac_try="$ac_cpp conftest.$ac_ext"
2193 case "(($ac_try" in
2194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2195 *) ac_try_echo=$ac_try;;
2196 esac
2197 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2198 printf "%s\n" "$ac_try_echo"; } >&5
2199 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2200 ac_status=$?
2201 if test -s conftest.err; then
2202 grep -v '^ *+' conftest.err >conftest.er1
2203 cat conftest.er1 >&5
2204 mv -f conftest.er1 conftest.err
2205 fi
2206 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2207 test $ac_status = 0; } > conftest.i && {
2208 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2209 test ! -s conftest.err
2210 }
2211 then :
2212 ac_retval=0
2213 else $as_nop
2214 printf "%s\n" "$as_me: failed program was:" >&5
2215 sed 's/^/| /' conftest.$ac_ext >&5
2216
2217 ac_retval=1
2218 fi
2219 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2220 as_fn_set_status $ac_retval
2221
2222 } # ac_fn_cxx_try_cpp
2223
2224 # ac_fn_cxx_try_link LINENO
2225 # -------------------------
2226 # Try to link conftest.$ac_ext, and return whether this succeeded.
2227 ac_fn_cxx_try_link ()
2228 {
2229 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2230 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2231 if { { ac_try="$ac_link"
2232 case "(($ac_try" in
2233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2234 *) ac_try_echo=$ac_try;;
2235 esac
2236 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2237 printf "%s\n" "$ac_try_echo"; } >&5
2238 (eval "$ac_link") 2>conftest.err
2239 ac_status=$?
2240 if test -s conftest.err; then
2241 grep -v '^ *+' conftest.err >conftest.er1
2242 cat conftest.er1 >&5
2243 mv -f conftest.er1 conftest.err
2244 fi
2245 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2246 test $ac_status = 0; } && {
2247 test -z "$ac_cxx_werror_flag" ||
2248 test ! -s conftest.err
2249 } && test -s conftest$ac_exeext && {
2250 test "$cross_compiling" = yes ||
2251 test -x conftest$ac_exeext
2252 }
2253 then :
2254 ac_retval=0
2255 else $as_nop
2256 printf "%s\n" "$as_me: failed program was:" >&5
2257 sed 's/^/| /' conftest.$ac_ext >&5
2258
2259 ac_retval=1
2260 fi
2261 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2262 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2263 # interfere with the next link command; also delete a directory that is
2264 # left behind by Apple's compiler. We do this before executing the actions.
2265 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2266 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2267 as_fn_set_status $ac_retval
2268
2269 } # ac_fn_cxx_try_link
2270
2271 # ac_fn_c_try_cpp LINENO
2272 # ----------------------
2273 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2274 ac_fn_c_try_cpp ()
2275 {
2276 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2277 if { { ac_try="$ac_cpp conftest.$ac_ext"
2278 case "(($ac_try" in
2279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2280 *) ac_try_echo=$ac_try;;
2281 esac
2282 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2283 printf "%s\n" "$ac_try_echo"; } >&5
2284 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2285 ac_status=$?
2286 if test -s conftest.err; then
2287 grep -v '^ *+' conftest.err >conftest.er1
2288 cat conftest.er1 >&5
2289 mv -f conftest.er1 conftest.err
2290 fi
2291 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2292 test $ac_status = 0; } > conftest.i && {
2293 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2294 test ! -s conftest.err
2295 }
2296 then :
2297 ac_retval=0
2298 else $as_nop
2299 printf "%s\n" "$as_me: failed program was:" >&5
2300 sed 's/^/| /' conftest.$ac_ext >&5
2301
2302 ac_retval=1
2303 fi
2304 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2305 as_fn_set_status $ac_retval
2306
2307 } # ac_fn_c_try_cpp
2308
2309 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2310 # -------------------------------------------
2311 # Tests whether TYPE exists after having included INCLUDES, setting cache
2312 # variable VAR accordingly.
2313 ac_fn_c_check_type ()
2314 {
2315 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2317 printf %s "checking for $2... " >&6; }
2318 if eval test \${$3+y}
2319 then :
2320 printf %s "(cached) " >&6
2321 else $as_nop
2322 eval "$3=no"
2323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2324 /* end confdefs.h. */
2325 $4
2326 int
2327 main (void)
2328 {
2329 if (sizeof ($2))
2330 return 0;
2331 ;
2332 return 0;
2333 }
2334 _ACEOF
2335 if ac_fn_c_try_compile "$LINENO"
2336 then :
2337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2338 /* end confdefs.h. */
2339 $4
2340 int
2341 main (void)
2342 {
2343 if (sizeof (($2)))
2344 return 0;
2345 ;
2346 return 0;
2347 }
2348 _ACEOF
2349 if ac_fn_c_try_compile "$LINENO"
2350 then :
2351
2352 else $as_nop
2353 eval "$3=yes"
2354 fi
2355 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2356 fi
2357 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2358 fi
2359 eval ac_res=\$$3
2360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2361 printf "%s\n" "$ac_res" >&6; }
2362 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2363
2364 } # ac_fn_c_check_type
2365
2366 # ac_fn_c_try_run LINENO
2367 # ----------------------
2368 # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
2369 # executables *can* be run.
2370 ac_fn_c_try_run ()
2371 {
2372 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2373 if { { ac_try="$ac_link"
2374 case "(($ac_try" in
2375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2376 *) ac_try_echo=$ac_try;;
2377 esac
2378 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2379 printf "%s\n" "$ac_try_echo"; } >&5
2380 (eval "$ac_link") 2>&5
2381 ac_status=$?
2382 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2383 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2384 { { case "(($ac_try" in
2385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2386 *) ac_try_echo=$ac_try;;
2387 esac
2388 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2389 printf "%s\n" "$ac_try_echo"; } >&5
2390 (eval "$ac_try") 2>&5
2391 ac_status=$?
2392 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2393 test $ac_status = 0; }; }
2394 then :
2395 ac_retval=0
2396 else $as_nop
2397 printf "%s\n" "$as_me: program exited with status $ac_status" >&5
2398 printf "%s\n" "$as_me: failed program was:" >&5
2399 sed 's/^/| /' conftest.$ac_ext >&5
2400
2401 ac_retval=$ac_status
2402 fi
2403 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2404 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2405 as_fn_set_status $ac_retval
2406
2407 } # ac_fn_c_try_run
2408 ac_configure_args_raw=
2409 for ac_arg
2410 do
2411 case $ac_arg in
2412 *\'*)
2413 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2414 esac
2415 as_fn_append ac_configure_args_raw " '$ac_arg'"
2416 done
2417
2418 case $ac_configure_args_raw in
2419 *$as_nl*)
2420 ac_safe_unquote= ;;
2421 *)
2422 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
2423 ac_unsafe_a="$ac_unsafe_z#~"
2424 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
2425 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
2426 esac
2427
2428 cat >config.log <<_ACEOF
2429 This file contains any messages produced by compilers while
2430 running configure, to aid debugging if configure makes a mistake.
2431
2432 It was created by codeblocks $as_me 25.03svn13644, which was
2433 generated by GNU Autoconf 2.71. Invocation command line was
2434
2435 $ $0$ac_configure_args_raw
2436
2437 _ACEOF
2438 exec 5>>config.log
2439 {
2440 cat <<_ASUNAME
2441 ## --------- ##
2442 ## Platform. ##
2443 ## --------- ##
2444
2445 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2446 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2447 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2448 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2449 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2450
2451 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2452 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2453
2454 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2455 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2456 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2457 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2458 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2459 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2460 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2461
2462 _ASUNAME
2463
2464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2465 for as_dir in $PATH
2466 do
2467 IFS=$as_save_IFS
2468 case $as_dir in #(((
2469 '') as_dir=./ ;;
2470 */) ;;
2471 *) as_dir=$as_dir/ ;;
2472 esac
2473 printf "%s\n" "PATH: $as_dir"
2474 done
2475 IFS=$as_save_IFS
2476
2477 } >&5
2478
2479 cat >&5 <<_ACEOF
2480
2481
2482 ## ----------- ##
2483 ## Core tests. ##
2484 ## ----------- ##
2485
2486 _ACEOF
2487
2488
2489 # Keep a trace of the command line.
2490 # Strip out --no-create and --no-recursion so they do not pile up.
2491 # Strip out --silent because we don't want to record it for future runs.
2492 # Also quote any args containing shell meta-characters.
2493 # Make two passes to allow for proper duplicate-argument suppression.
2494 ac_configure_args=
2495 ac_configure_args0=
2496 ac_configure_args1=
2497 ac_must_keep_next=false
2498 for ac_pass in 1 2
2499 do
2500 for ac_arg
2501 do
2502 case $ac_arg in
2503 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2504 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2505 | -silent | --silent | --silen | --sile | --sil)
2506 continue ;;
2507 *\'*)
2508 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2509 esac
2510 case $ac_pass in
2511 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2512 2)
2513 as_fn_append ac_configure_args1 " '$ac_arg'"
2514 if test $ac_must_keep_next = true; then
2515 ac_must_keep_next=false # Got value, back to normal.
2516 else
2517 case $ac_arg in
2518 *=* | --config-cache | -C | -disable-* | --disable-* \
2519 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2520 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2521 | -with-* | --with-* | -without-* | --without-* | --x)
2522 case "$ac_configure_args0 " in
2523 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2524 esac
2525 ;;
2526 -* ) ac_must_keep_next=true ;;
2527 esac
2528 fi
2529 as_fn_append ac_configure_args " '$ac_arg'"
2530 ;;
2531 esac
2532 done
2533 done
2534 { ac_configure_args0=; unset ac_configure_args0;}
2535 { ac_configure_args1=; unset ac_configure_args1;}
2536
2537 # When interrupted or exit'd, cleanup temporary files, and complete
2538 # config.log. We remove comments because anyway the quotes in there
2539 # would cause problems or look ugly.
2540 # WARNING: Use '\'' to represent an apostrophe within the trap.
2541 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2542 trap 'exit_status=$?
2543 # Sanitize IFS.
2544 IFS=" "" $as_nl"
2545 # Save into config.log some information that might help in debugging.
2546 {
2547 echo
2548
2549 printf "%s\n" "## ---------------- ##
2550 ## Cache variables. ##
2551 ## ---------------- ##"
2552 echo
2553 # The following way of writing the cache mishandles newlines in values,
2554 (
2555 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2556 eval ac_val=\$$ac_var
2557 case $ac_val in #(
2558 *${as_nl}*)
2559 case $ac_var in #(
2560 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2561 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2562 esac
2563 case $ac_var in #(
2564 _ | IFS | as_nl) ;; #(
2565 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2566 *) { eval $ac_var=; unset $ac_var;} ;;
2567 esac ;;
2568 esac
2569 done
2570 (set) 2>&1 |
2571 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2572 *${as_nl}ac_space=\ *)
2573 sed -n \
2574 "s/'\''/'\''\\\\'\'''\''/g;
2575 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2576 ;; #(
2577 *)
2578 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2579 ;;
2580 esac |
2581 sort
2582 )
2583 echo
2584
2585 printf "%s\n" "## ----------------- ##
2586 ## Output variables. ##
2587 ## ----------------- ##"
2588 echo
2589 for ac_var in $ac_subst_vars
2590 do
2591 eval ac_val=\$$ac_var
2592 case $ac_val in
2593 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2594 esac
2595 printf "%s\n" "$ac_var='\''$ac_val'\''"
2596 done | sort
2597 echo
2598
2599 if test -n "$ac_subst_files"; then
2600 printf "%s\n" "## ------------------- ##
2601 ## File substitutions. ##
2602 ## ------------------- ##"
2603 echo
2604 for ac_var in $ac_subst_files
2605 do
2606 eval ac_val=\$$ac_var
2607 case $ac_val in
2608 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2609 esac
2610 printf "%s\n" "$ac_var='\''$ac_val'\''"
2611 done | sort
2612 echo
2613 fi
2614
2615 if test -s confdefs.h; then
2616 printf "%s\n" "## ----------- ##
2617 ## confdefs.h. ##
2618 ## ----------- ##"
2619 echo
2620 cat confdefs.h
2621 echo
2622 fi
2623 test "$ac_signal" != 0 &&
2624 printf "%s\n" "$as_me: caught signal $ac_signal"
2625 printf "%s\n" "$as_me: exit $exit_status"
2626 } >&5
2627 rm -f core *.core core.conftest.* &&
2628 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2629 exit $exit_status
2630 ' 0
2631 for ac_signal in 1 2 13 15; do
2632 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2633 done
2634 ac_signal=0
2635
2636 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2637 rm -f -r conftest* confdefs.h
2638
2639 printf "%s\n" "/* confdefs.h */" > confdefs.h
2640
2641 # Predefined preprocessor variables.
2642
2643 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
2644
2645 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
2646
2647 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
2648
2649 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
2650
2651 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
2652
2653 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
2654
2655
2656 # Let the site file select an alternate cache file if it wants to.
2657 # Prefer an explicitly selected file to automatically selected ones.
2658 if test -n "$CONFIG_SITE"; then
2659 ac_site_files="$CONFIG_SITE"
2660 elif test "x$prefix" != xNONE; then
2661 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
2662 else
2663 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
2664 fi
2665
2666 for ac_site_file in $ac_site_files
2667 do
2668 case $ac_site_file in #(
2669 */*) :
2670 ;; #(
2671 *) :
2672 ac_site_file=./$ac_site_file ;;
2673 esac
2674 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
2675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2676 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
2677 sed 's/^/| /' "$ac_site_file" >&5
2678 . "$ac_site_file" \
2679 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2680 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2681 as_fn_error $? "failed to load site script $ac_site_file
2682 See \`config.log' for more details" "$LINENO" 5; }
2683 fi
2684 done
2685
2686 if test -r "$cache_file"; then
2687 # Some versions of bash will fail to source /dev/null (special files
2688 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2689 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2691 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
2692 case $cache_file in
2693 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2694 *) . "./$cache_file";;
2695 esac
2696 fi
2697 else
2698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2699 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
2700 >$cache_file
2701 fi
2702
2703 # Test code for whether the C compiler supports C89 (global declarations)
2704 ac_c_conftest_c89_globals='
2705 /* Does the compiler advertise C89 conformance?
2706 Do not test the value of __STDC__, because some compilers set it to 0
2707 while being otherwise adequately conformant. */
2708 #if !defined __STDC__
2709 # error "Compiler does not advertise C89 conformance"
2710 #endif
2711
2712 #include <stddef.h>
2713 #include <stdarg.h>
2714 struct stat;
2715 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
2716 struct buf { int x; };
2717 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2718 static char *e (p, i)
2719 char **p;
2720 int i;
2721 {
2722 return p[i];
2723 }
2724 static char *f (char * (*g) (char **, int), char **p, ...)
2725 {
2726 char *s;
2727 va_list v;
2728 va_start (v,p);
2729 s = g (p, va_arg (v,int));
2730 va_end (v);
2731 return s;
2732 }
2733
2734 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2735 function prototypes and stuff, but not \xHH hex character constants.
2736 These do not provoke an error unfortunately, instead are silently treated
2737 as an "x". The following induces an error, until -std is added to get
2738 proper ANSI mode. Curiously \x00 != x always comes out true, for an
2739 array size at least. It is necessary to write \x00 == 0 to get something
2740 that is true only with -std. */
2741 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2742
2743 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2744 inside strings and character constants. */
2745 #define FOO(x) '\''x'\''
2746 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2747
2748 int test (int i, double x);
2749 struct s1 {int (*f) (int a);};
2750 struct s2 {int (*f) (double a);};
2751 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2752 int, int);'
2753
2754 # Test code for whether the C compiler supports C89 (body of main).
2755 ac_c_conftest_c89_main='
2756 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2757 '
2758
2759 # Test code for whether the C compiler supports C99 (global declarations)
2760 ac_c_conftest_c99_globals='
2761 // Does the compiler advertise C99 conformance?
2762 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
2763 # error "Compiler does not advertise C99 conformance"
2764 #endif
2765
2766 #include <stdbool.h>
2767 extern int puts (const char *);
2768 extern int printf (const char *, ...);
2769 extern int dprintf (int, const char *, ...);
2770 extern void *malloc (size_t);
2771
2772 // Check varargs macros. These examples are taken from C99 6.10.3.5.
2773 // dprintf is used instead of fprintf to avoid needing to declare
2774 // FILE and stderr.
2775 #define debug(...) dprintf (2, __VA_ARGS__)
2776 #define showlist(...) puts (#__VA_ARGS__)
2777 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2778 static void
2779 test_varargs_macros (void)
2780 {
2781 int x = 1234;
2782 int y = 5678;
2783 debug ("Flag");
2784 debug ("X = %d\n", x);
2785 showlist (The first, second, and third items.);
2786 report (x>y, "x is %d but y is %d", x, y);
2787 }
2788
2789 // Check long long types.
2790 #define BIG64 18446744073709551615ull
2791 #define BIG32 4294967295ul
2792 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2793 #if !BIG_OK
2794 #error "your preprocessor is broken"
2795 #endif
2796 #if BIG_OK
2797 #else
2798 #error "your preprocessor is broken"
2799 #endif
2800 static long long int bignum = -9223372036854775807LL;
2801 static unsigned long long int ubignum = BIG64;
2802
2803 struct incomplete_array
2804 {
2805 int datasize;
2806 double data[];
2807 };
2808
2809 struct named_init {
2810 int number;
2811 const wchar_t *name;
2812 double average;
2813 };
2814
2815 typedef const char *ccp;
2816
2817 static inline int
2818 test_restrict (ccp restrict text)
2819 {
2820 // See if C++-style comments work.
2821 // Iterate through items via the restricted pointer.
2822 // Also check for declarations in for loops.
2823 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
2824 continue;
2825 return 0;
2826 }
2827
2828 // Check varargs and va_copy.
2829 static bool
2830 test_varargs (const char *format, ...)
2831 {
2832 va_list args;
2833 va_start (args, format);
2834 va_list args_copy;
2835 va_copy (args_copy, args);
2836
2837 const char *str = "";
2838 int number = 0;
2839 float fnumber = 0;
2840
2841 while (*format)
2842 {
2843 switch (*format++)
2844 {
2845 case '\''s'\'': // string
2846 str = va_arg (args_copy, const char *);
2847 break;
2848 case '\''d'\'': // int
2849 number = va_arg (args_copy, int);
2850 break;
2851 case '\''f'\'': // float
2852 fnumber = va_arg (args_copy, double);
2853 break;
2854 default:
2855 break;
2856 }
2857 }
2858 va_end (args_copy);
2859 va_end (args);
2860
2861 return *str && number && fnumber;
2862 }
2863 '
2864
2865 # Test code for whether the C compiler supports C99 (body of main).
2866 ac_c_conftest_c99_main='
2867 // Check bool.
2868 _Bool success = false;
2869 success |= (argc != 0);
2870
2871 // Check restrict.
2872 if (test_restrict ("String literal") == 0)
2873 success = true;
2874 char *restrict newvar = "Another string";
2875
2876 // Check varargs.
2877 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2878 test_varargs_macros ();
2879
2880 // Check flexible array members.
2881 struct incomplete_array *ia =
2882 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2883 ia->datasize = 10;
2884 for (int i = 0; i < ia->datasize; ++i)
2885 ia->data[i] = i * 1.234;
2886
2887 // Check named initializers.
2888 struct named_init ni = {
2889 .number = 34,
2890 .name = L"Test wide string",
2891 .average = 543.34343,
2892 };
2893
2894 ni.number = 58;
2895
2896 int dynamic_array[ni.number];
2897 dynamic_array[0] = argv[0][0];
2898 dynamic_array[ni.number - 1] = 543;
2899
2900 // work around unused variable warnings
2901 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2902 || dynamic_array[ni.number - 1] != 543);
2903 '
2904
2905 # Test code for whether the C compiler supports C11 (global declarations)
2906 ac_c_conftest_c11_globals='
2907 // Does the compiler advertise C11 conformance?
2908 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2909 # error "Compiler does not advertise C11 conformance"
2910 #endif
2911
2912 // Check _Alignas.
2913 char _Alignas (double) aligned_as_double;
2914 char _Alignas (0) no_special_alignment;
2915 extern char aligned_as_int;
2916 char _Alignas (0) _Alignas (int) aligned_as_int;
2917
2918 // Check _Alignof.
2919 enum
2920 {
2921 int_alignment = _Alignof (int),
2922 int_array_alignment = _Alignof (int[100]),
2923 char_alignment = _Alignof (char)
2924 };
2925 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2926
2927 // Check _Noreturn.
2928 int _Noreturn does_not_return (void) { for (;;) continue; }
2929
2930 // Check _Static_assert.
2931 struct test_static_assert
2932 {
2933 int x;
2934 _Static_assert (sizeof (int) <= sizeof (long int),
2935 "_Static_assert does not work in struct");
2936 long int y;
2937 };
2938
2939 // Check UTF-8 literals.
2940 #define u8 syntax error!
2941 char const utf8_literal[] = u8"happens to be ASCII" "another string";
2942
2943 // Check duplicate typedefs.
2944 typedef long *long_ptr;
2945 typedef long int *long_ptr;
2946 typedef long_ptr long_ptr;
2947
2948 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2949 struct anonymous
2950 {
2951 union {
2952 struct { int i; int j; };
2953 struct { int k; long int l; } w;
2954 };
2955 int m;
2956 } v1;
2957 '
2958
2959 # Test code for whether the C compiler supports C11 (body of main).
2960 ac_c_conftest_c11_main='
2961 _Static_assert ((offsetof (struct anonymous, i)
2962 == offsetof (struct anonymous, w.k)),
2963 "Anonymous union alignment botch");
2964 v1.i = 2;
2965 v1.w.k = 5;
2966 ok |= v1.i != 5;
2967 '
2968
2969 # Test code for whether the C compiler supports C11 (complete).
2970 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2971 ${ac_c_conftest_c99_globals}
2972 ${ac_c_conftest_c11_globals}
2973
2974 int
2975 main (int argc, char **argv)
2976 {
2977 int ok = 0;
2978 ${ac_c_conftest_c89_main}
2979 ${ac_c_conftest_c99_main}
2980 ${ac_c_conftest_c11_main}
2981 return ok;
2982 }
2983 "
2984
2985 # Test code for whether the C compiler supports C99 (complete).
2986 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2987 ${ac_c_conftest_c99_globals}
2988
2989 int
2990 main (int argc, char **argv)
2991 {
2992 int ok = 0;
2993 ${ac_c_conftest_c89_main}
2994 ${ac_c_conftest_c99_main}
2995 return ok;
2996 }
2997 "
2998
2999 # Test code for whether the C compiler supports C89 (complete).
3000 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3001
3002 int
3003 main (int argc, char **argv)
3004 {
3005 int ok = 0;
3006 ${ac_c_conftest_c89_main}
3007 return ok;
3008 }
3009 "
3010
3011 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3012 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3013 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3014 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3015 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3016 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3017 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3018 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3019 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3020 # Test code for whether the C++ compiler supports C++98 (global declarations)
3021 ac_cxx_conftest_cxx98_globals='
3022 // Does the compiler advertise C++98 conformance?
3023 #if !defined __cplusplus || __cplusplus < 199711L
3024 # error "Compiler does not advertise C++98 conformance"
3025 #endif
3026
3027 // These inclusions are to reject old compilers that
3028 // lack the unsuffixed header files.
3029 #include <cstdlib>
3030 #include <exception>
3031
3032 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3033 extern void assert (int);
3034 namespace std {
3035 extern int strcmp (const char *, const char *);
3036 }
3037
3038 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3039 using std::exception;
3040 using std::strcmp;
3041
3042 namespace {
3043
3044 void test_exception_syntax()
3045 {
3046 try {
3047 throw "test";
3048 } catch (const char *s) {
3049 // Extra parentheses suppress a warning when building autoconf itself,
3050 // due to lint rules shared with more typical C programs.
3051 assert (!(strcmp) (s, "test"));
3052 }
3053 }
3054
3055 template <typename T> struct test_template
3056 {
3057 T const val;
3058 explicit test_template(T t) : val(t) {}
3059 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3060 };
3061
3062 } // anonymous namespace
3063 '
3064
3065 # Test code for whether the C++ compiler supports C++98 (body of main)
3066 ac_cxx_conftest_cxx98_main='
3067 assert (argc);
3068 assert (! argv[0]);
3069 {
3070 test_exception_syntax ();
3071 test_template<double> tt (2.0);
3072 assert (tt.add (4) == 6.0);
3073 assert (true && !false);
3074 }
3075 '
3076
3077 # Test code for whether the C++ compiler supports C++11 (global declarations)
3078 ac_cxx_conftest_cxx11_globals='
3079 // Does the compiler advertise C++ 2011 conformance?
3080 #if !defined __cplusplus || __cplusplus < 201103L
3081 # error "Compiler does not advertise C++11 conformance"
3082 #endif
3083
3084 namespace cxx11test
3085 {
3086 constexpr int get_val() { return 20; }
3087
3088 struct testinit
3089 {
3090 int i;
3091 double d;
3092 };
3093
3094 class delegate
3095 {
3096 public:
3097 delegate(int n) : n(n) {}
3098 delegate(): delegate(2354) {}
3099
3100 virtual int getval() { return this->n; };
3101 protected:
3102 int n;
3103 };
3104
3105 class overridden : public delegate
3106 {
3107 public:
3108 overridden(int n): delegate(n) {}
3109 virtual int getval() override final { return this->n * 2; }
3110 };
3111
3112 class nocopy
3113 {
3114 public:
3115 nocopy(int i): i(i) {}
3116 nocopy() = default;
3117 nocopy(const nocopy&) = delete;
3118 nocopy & operator=(const nocopy&) = delete;
3119 private:
3120 int i;
3121 };
3122
3123 // for testing lambda expressions
3124 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3125 {
3126 return f(v);
3127 }
3128
3129 // for testing variadic templates and trailing return types
3130 template <typename V> auto sum(V first) -> V
3131 {
3132 return first;
3133 }
3134 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3135 {
3136 return first + sum(rest...);
3137 }
3138 }
3139 '
3140
3141 # Test code for whether the C++ compiler supports C++11 (body of main)
3142 ac_cxx_conftest_cxx11_main='
3143 {
3144 // Test auto and decltype
3145 auto a1 = 6538;
3146 auto a2 = 48573953.4;
3147 auto a3 = "String literal";
3148
3149 int total = 0;
3150 for (auto i = a3; *i; ++i) { total += *i; }
3151
3152 decltype(a2) a4 = 34895.034;
3153 }
3154 {
3155 // Test constexpr
3156 short sa[cxx11test::get_val()] = { 0 };
3157 }
3158 {
3159 // Test initializer lists
3160 cxx11test::testinit il = { 4323, 435234.23544 };
3161 }
3162 {
3163 // Test range-based for
3164 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3165 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3166 for (auto &x : array) { x += 23; }
3167 }
3168 {
3169 // Test lambda expressions
3170 using cxx11test::eval;
3171 assert (eval ([](int x) { return x*2; }, 21) == 42);
3172 double d = 2.0;
3173 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3174 assert (d == 5.0);
3175 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3176 assert (d == 5.0);
3177 }
3178 {
3179 // Test use of variadic templates
3180 using cxx11test::sum;
3181 auto a = sum(1);
3182 auto b = sum(1, 2);
3183 auto c = sum(1.0, 2.0, 3.0);
3184 }
3185 {
3186 // Test constructor delegation
3187 cxx11test::delegate d1;
3188 cxx11test::delegate d2();
3189 cxx11test::delegate d3(45);
3190 }
3191 {
3192 // Test override and final
3193 cxx11test::overridden o1(55464);
3194 }
3195 {
3196 // Test nullptr
3197 char *c = nullptr;
3198 }
3199 {
3200 // Test template brackets
3201 test_template<::test_template<int>> v(test_template<int>(12));
3202 }
3203 {
3204 // Unicode literals
3205 char const *utf8 = u8"UTF-8 string \u2500";
3206 char16_t const *utf16 = u"UTF-8 string \u2500";
3207 char32_t const *utf32 = U"UTF-32 string \u2500";
3208 }
3209 '
3210
3211 # Test code for whether the C compiler supports C++11 (complete).
3212 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3213 ${ac_cxx_conftest_cxx11_globals}
3214
3215 int
3216 main (int argc, char **argv)
3217 {
3218 int ok = 0;
3219 ${ac_cxx_conftest_cxx98_main}
3220 ${ac_cxx_conftest_cxx11_main}
3221 return ok;
3222 }
3223 "
3224
3225 # Test code for whether the C compiler supports C++98 (complete).
3226 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3227 int
3228 main (int argc, char **argv)
3229 {
3230 int ok = 0;
3231 ${ac_cxx_conftest_cxx98_main}
3232 return ok;
3233 }
3234 "
3235
3236 as_fn_append ac_header_c_list " sys/time.h sys_time_h HAVE_SYS_TIME_H"
3237 as_fn_append ac_func_c_list " vprintf HAVE_VPRINTF"
3238
3239 # Auxiliary files required by this configure script.
3240 ac_aux_files="compile ltmain.sh missing install-sh config.guess config.sub"
3241
3242 # Locations in which to look for auxiliary files.
3243 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
3244
3245 # Search for a directory containing all of the required auxiliary files,
3246 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3247 # If we don't find one directory that contains all the files we need,
3248 # we report the set of missing files from the *first* directory in
3249 # $ac_aux_dir_candidates and give up.
3250 ac_missing_aux_files=""
3251 ac_first_candidate=:
3252 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3254 as_found=false
3255 for as_dir in $ac_aux_dir_candidates
3256 do
3257 IFS=$as_save_IFS
3258 case $as_dir in #(((
3259 '') as_dir=./ ;;
3260 */) ;;
3261 *) as_dir=$as_dir/ ;;
3262 esac
3263 as_found=:
3264
3265 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3266 ac_aux_dir_found=yes
3267 ac_install_sh=
3268 for ac_aux in $ac_aux_files
3269 do
3270 # As a special case, if "install-sh" is required, that requirement
3271 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3272 # and $ac_install_sh is set appropriately for whichever one is found.
3273 if test x"$ac_aux" = x"install-sh"
3274 then
3275 if test -f "${as_dir}install-sh"; then
3276 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3277 ac_install_sh="${as_dir}install-sh -c"
3278 elif test -f "${as_dir}install.sh"; then
3279 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3280 ac_install_sh="${as_dir}install.sh -c"
3281 elif test -f "${as_dir}shtool"; then
3282 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3283 ac_install_sh="${as_dir}shtool install -c"
3284 else
3285 ac_aux_dir_found=no
3286 if $ac_first_candidate; then
3287 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
3288 else
3289 break
3290 fi
3291 fi
3292 else
3293 if test -f "${as_dir}${ac_aux}"; then
3294 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
3295 else
3296 ac_aux_dir_found=no
3297 if $ac_first_candidate; then
3298 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
3299 else
3300 break
3301 fi
3302 fi
3303 fi
3304 done
3305 if test "$ac_aux_dir_found" = yes; then
3306 ac_aux_dir="$as_dir"
3307 break
3308 fi
3309 ac_first_candidate=false
3310
3311 as_found=false
3312 done
3313 IFS=$as_save_IFS
3314 if $as_found
3315 then :
3316
3317 else $as_nop
3318 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
3319 fi
3320
3321
3322 # These three variables are undocumented and unsupported,
3323 # and are intended to be withdrawn in a future Autoconf release.
3324 # They can cause serious problems if a builder's source tree is in a directory
3325 # whose full name contains unusual characters.
3326 if test -f "${ac_aux_dir}config.guess"; then
3327 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
3328 fi
3329 if test -f "${ac_aux_dir}config.sub"; then
3330 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
3331 fi
3332 if test -f "$ac_aux_dir/configure"; then
3333 ac_configure="$SHELL ${ac_aux_dir}configure"
3334 fi
3335
3336 # Check that the precious variables saved in the cache have kept the same
3337 # value.
3338 ac_cache_corrupted=false
3339 for ac_var in $ac_precious_vars; do
3340 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3341 eval ac_new_set=\$ac_env_${ac_var}_set
3342 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3343 eval ac_new_val=\$ac_env_${ac_var}_value
3344 case $ac_old_set,$ac_new_set in
3345 set,)
3346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3347 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3348 ac_cache_corrupted=: ;;
3349 ,set)
3350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3351 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3352 ac_cache_corrupted=: ;;
3353 ,);;
3354 *)
3355 if test "x$ac_old_val" != "x$ac_new_val"; then
3356 # differences in whitespace do not lead to failure.
3357 ac_old_val_w=`echo x $ac_old_val`
3358 ac_new_val_w=`echo x $ac_new_val`
3359 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3361 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3362 ac_cache_corrupted=:
3363 else
3364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3365 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3366 eval $ac_var=\$ac_old_val
3367 fi
3368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3369 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
3370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3371 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
3372 fi;;
3373 esac
3374 # Pass precious variables to config.status.
3375 if test "$ac_new_set" = set; then
3376 case $ac_new_val in
3377 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3378 *) ac_arg=$ac_var=$ac_new_val ;;
3379 esac
3380 case " $ac_configure_args " in
3381 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3382 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3383 esac
3384 fi
3385 done
3386 if $ac_cache_corrupted; then
3387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3388 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3390 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
3391 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
3392 and start over" "$LINENO" 5
3393 fi
3394 ## -------------------- ##
3395 ## Main body of script. ##
3396 ## -------------------- ##
3397
3398 ac_ext=c
3399 ac_cpp='$CPP $CPPFLAGS'
3400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3403
3404
3405
3406
3407
3408
3409 # Make sure we can run config.sub.
3410 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
3411 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
3412
3413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3414 printf %s "checking build system type... " >&6; }
3415 if test ${ac_cv_build+y}
3416 then :
3417 printf %s "(cached) " >&6
3418 else $as_nop
3419 ac_build_alias=$build_alias
3420 test "x$ac_build_alias" = x &&
3421 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
3422 test "x$ac_build_alias" = x &&
3423 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3424 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
3425 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
3426
3427 fi
3428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3429 printf "%s\n" "$ac_cv_build" >&6; }
3430 case $ac_cv_build in
3431 *-*-*) ;;
3432 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3433 esac
3434 build=$ac_cv_build
3435 ac_save_IFS=$IFS; IFS='-'
3436 set x $ac_cv_build
3437 shift
3438 build_cpu=$1
3439 build_vendor=$2
3440 shift; shift
3441 # Remember, the first character of IFS is used to create $*,
3442 # except with old shells:
3443 build_os=$*
3444 IFS=$ac_save_IFS
3445 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3446
3447
3448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3449 printf %s "checking host system type... " >&6; }
3450 if test ${ac_cv_host+y}
3451 then :
3452 printf %s "(cached) " >&6
3453 else $as_nop
3454 if test "x$host_alias" = x; then
3455 ac_cv_host=$ac_cv_build
3456 else
3457 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
3458 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
3459 fi
3460
3461 fi
3462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3463 printf "%s\n" "$ac_cv_host" >&6; }
3464 case $ac_cv_host in
3465 *-*-*) ;;
3466 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3467 esac
3468 host=$ac_cv_host
3469 ac_save_IFS=$IFS; IFS='-'
3470 set x $ac_cv_host
3471 shift
3472 host_cpu=$1
3473 host_vendor=$2
3474 shift; shift
3475 # Remember, the first character of IFS is used to create $*,
3476 # except with old shells:
3477 host_os=$*
3478 IFS=$ac_save_IFS
3479 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3480
3481
3482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3483 printf %s "checking target system type... " >&6; }
3484 if test ${ac_cv_target+y}
3485 then :
3486 printf %s "(cached) " >&6
3487 else $as_nop
3488 if test "x$target_alias" = x; then
3489 ac_cv_target=$ac_cv_host
3490 else
3491 ac_cv_target=`$SHELL "${ac_aux_dir}config.sub" $target_alias` ||
3492 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $target_alias failed" "$LINENO" 5
3493 fi
3494
3495 fi
3496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3497 printf "%s\n" "$ac_cv_target" >&6; }
3498 case $ac_cv_target in
3499 *-*-*) ;;
3500 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
3501 esac
3502 target=$ac_cv_target
3503 ac_save_IFS=$IFS; IFS='-'
3504 set x $ac_cv_target
3505 shift
3506 target_cpu=$1
3507 target_vendor=$2
3508 shift; shift
3509 # Remember, the first character of IFS is used to create $*,
3510 # except with old shells:
3511 target_os=$*
3512 IFS=$ac_save_IFS
3513 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3514
3515
3516 # The aliases save the names the user supplied, while $host etc.
3517 # will get canonicalized.
3518 test -n "$target_alias" &&
3519 test "$program_prefix$program_suffix$program_transform_name" = \
3520 NONENONEs,x,x, &&
3521 program_prefix=${target_alias}-
3522
3523
3524
3525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether configure should try to set CFLAGS/CXXFLAGS/CPPFLAGS/LDFLAGS" >&5
3526 printf %s "checking whether configure should try to set CFLAGS/CXXFLAGS/CPPFLAGS/LDFLAGS... " >&6; }
3527 if test "x${CFLAGS+set}" = "xset" || test "x${CXXFLAGS+set}" = "xset" || test "x${CPPFLAGS+set}" = "xset" || test "x${LDFLAGS+set}" = "xset"
3528 then :
3529 enable_flags_setting=no
3530 else $as_nop
3531 enable_flags_setting=yes
3532 fi
3533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${enable_flags_setting}" >&5
3534 printf "%s\n" "${enable_flags_setting}" >&6; }
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549 # _AM_PROG_TAR(FORMAT)
3550 # --------------------
3551 # Check how to create a tarball in format FORMAT.
3552 # FORMAT should be one of `v7', `ustar', or `pax'.
3553 #
3554 # Substitute a variable $(am__tar) that is a command
3555 # writing to stdout a FORMAT-tarball containing the directory
3556 # $tardir.
3557 # tardir=directory && $(am__tar) > result.tar
3558 #
3559 # Substitute a variable $(am__untar) that extract such
3560 # a tarball read from stdin.
3561 # $(am__untar) < result.tar
3562 # _AM_PROG_TAR
3563
3564 # ===========================================================================
3565 # https://www.gnu.org/software/autoconf-archive/ax_cxx_compile_stdcxx.html
3566 # ===========================================================================
3567 #
3568 # SYNOPSIS
3569 #
3570 # AX_CXX_COMPILE_STDCXX(VERSION, [ext|noext], [mandatory|optional])
3571 #
3572 # DESCRIPTION
3573 #
3574 # Check for baseline language coverage in the compiler for the specified
3575 # version of the C++ standard. If necessary, add switches to CXX and
3576 # CXXCPP to enable support. VERSION may be '11' (for the C++11 standard)
3577 # or '14' (for the C++14 standard).
3578 #
3579 # The second argument, if specified, indicates whether you insist on an
3580 # extended mode (e.g. -std=gnu++11) or a strict conformance mode (e.g.
3581 # -std=c++11). If neither is specified, you get whatever works, with
3582 # preference for no added switch, and then for an extended mode.
3583 #
3584 # The third argument, if specified 'mandatory' or if left unspecified,
3585 # indicates that baseline support for the specified C++ standard is
3586 # required and that the macro should error out if no mode with that
3587 # support is found. If specified 'optional', then configuration proceeds
3588 # regardless, after defining HAVE_CXX${VERSION} if and only if a
3589 # supporting mode is found.
3590 #
3591 # If the fourth argument is an optional CXX/CXXFLAG/CPPFLAG suffix, e.g.
3592 # "_FOR_BUILD" or "_FOR_TARGET".
3593 #
3594 #
3595 # LICENSE
3596 #
3597 # Copyright (c) 2008 Benjamin Kosnik <[email protected]>
3598 # Copyright (c) 2012 Zack Weinberg <[email protected]>
3599 # Copyright (c) 2013 Roy Stogner <[email protected]>
3600 # Copyright (c) 2014, 2015 Google Inc.; contributed by Alexey Sokolov <[email protected]>
3601 # Copyright (c) 2015 Paul Norman <[email protected]>
3602 # Copyright (c) 2015 Moritz Klammler <[email protected]>
3603 # Copyright (c) 2016, 2018 Krzesimir Nowak <[email protected]>
3604 # Copyright (c) 2019 Enji Cooper <[email protected]>
3605 # Copyright (c) 2020 Jason Merrill <[email protected]>
3606 #
3607 # Copying and distribution of this file, with or without modification, are
3608 # permitted in any medium without royalty provided the copyright notice
3609 # and this notice are preserved. This file is offered as-is, without any
3610 # warranty.
3611
3612 #serial 12
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638 # ===========================================================================
3639 # https://www.gnu.org/software/autoconf-archive/ax_boost_base.html
3640 # ===========================================================================
3641 #
3642 # SYNOPSIS
3643 #
3644 # AX_BOOST_BASE([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
3645 #
3646 # DESCRIPTION
3647 #
3648 # Test for the Boost C++ libraries of a particular version (or newer)
3649 #
3650 # If no path to the installed boost library is given the macro searchs
3651 # under /usr, /usr/local, /opt and /opt/local and evaluates the
3652 # $BOOST_ROOT environment variable. Further documentation is available at
3653 # <http://randspringer.de/boost/index.html>.
3654 #
3655 # This macro calls:
3656 #
3657 # AC_SUBST(BOOST_CPPFLAGS) / AC_SUBST(BOOST_LDFLAGS)
3658 #
3659 # And sets:
3660 #
3661 # HAVE_BOOST
3662 #
3663 # LICENSE
3664 #
3665 # Copyright (c) 2008 Thomas Porschberg <[email protected]>
3666 # Copyright (c) 2009 Peter Adolphs
3667 #
3668 # Copying and distribution of this file, with or without modification, are
3669 # permitted in any medium without royalty provided the copyright notice
3670 # and this notice are preserved. This file is offered as-is, without any
3671 # warranty.
3672
3673 #serial 43
3674
3675 # example boost program (need to pass version)
3676
3677
3678
3679
3680
3681 # convert a version string in $2 to numeric and affect to polymorphic var $1
3682
3683
3684
3685
3686 # ===========================================================================
3687 # https://www.gnu.org/software/autoconf-archive/ax_boost_system.html
3688 # ===========================================================================
3689 #
3690 # SYNOPSIS
3691 #
3692 # AX_BOOST_SYSTEM
3693 #
3694 # DESCRIPTION
3695 #
3696 # Test for System library from the Boost C++ libraries. The macro requires
3697 # a preceding call to AX_BOOST_BASE. Further documentation is available at
3698 # <http://randspringer.de/boost/index.html>.
3699 #
3700 # This macro calls:
3701 #
3702 # AC_SUBST(BOOST_SYSTEM_LIB)
3703 #
3704 # And sets:
3705 #
3706 # HAVE_BOOST_SYSTEM
3707 #
3708 # LICENSE
3709 #
3710 # Copyright (c) 2008 Thomas Porschberg <[email protected]>
3711 # Copyright (c) 2008 Michael Tindal
3712 # Copyright (c) 2008 Daniel Casimiro <[email protected]>
3713 #
3714 # Copying and distribution of this file, with or without modification, are
3715 # permitted in any medium without royalty provided the copyright notice
3716 # and this notice are preserved. This file is offered as-is, without any
3717 # warranty.
3718
3719 #serial 19
3720
3721
3722
3723
3724
3725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable debugging" >&5
3726 printf %s "checking whether to enable debugging... " >&6; }
3727 debug_default="no"
3728 # Check whether --enable-debug was given.
3729 if test ${enable_debug+y}
3730 then :
3731 enableval=$enable_debug;
3732 else $as_nop
3733 enable_debug=$debug_default
3734 fi
3735
3736 if test "x$enable_debug" = "xyes"; then
3737 CFLAGS="-g $CFLAGS"
3738 CXXFLAGS="-g $CXXFLAGS"
3739 CPPFLAGS="-DDEBUG -DcbDEBUG $CPPFLAGS"
3740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3741 printf "%s\n" "yes" >&6; }
3742 else
3743 if test "x$enable_flags_setting" = "xyes"
3744 then :
3745
3746 CFLAGS="-O2 -ffast-math $CFLAGS"
3747 CXXFLAGS="-O2 -ffast-math $CXXFLAGS"
3748
3749 else $as_nop
3750
3751 : ${CFLAGS=""}
3752 : ${CXXFLAGS=""}
3753
3754 fi
3755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3756 printf "%s\n" "no" >&6; }
3757 fi
3758
3759 CPPFLAGS="-DCB_AUTOCONF $CPPFLAGS"
3760
3761
3762 am__api_version='1.16'
3763
3764
3765 # Find a good install program. We prefer a C program (faster),
3766 # so one script is as good as another. But avoid the broken or
3767 # incompatible versions:
3768 # SysV /etc/install, /usr/sbin/install
3769 # SunOS /usr/etc/install
3770 # IRIX /sbin/install
3771 # AIX /bin/install
3772 # AmigaOS /C/install, which installs bootblocks on floppy discs
3773 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3774 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3775 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3776 # OS/2's system install, which has a completely different semantic
3777 # ./install, which can be erroneously created by make from ./install.sh.
3778 # Reject install programs that cannot install multiple files.
3779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3780 printf %s "checking for a BSD-compatible install... " >&6; }
3781 if test -z "$INSTALL"; then
3782 if test ${ac_cv_path_install+y}
3783 then :
3784 printf %s "(cached) " >&6
3785 else $as_nop
3786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3787 for as_dir in $PATH
3788 do
3789 IFS=$as_save_IFS
3790 case $as_dir in #(((
3791 '') as_dir=./ ;;
3792 */) ;;
3793 *) as_dir=$as_dir/ ;;
3794 esac
3795 # Account for fact that we put trailing slashes in our PATH walk.
3796 case $as_dir in #((
3797 ./ | /[cC]/* | \
3798 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3799 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3800 /usr/ucb/* ) ;;
3801 *)
3802 # OSF1 and SCO ODT 3.0 have their own names for install.
3803 # Don't use installbsd from OSF since it installs stuff as root
3804 # by default.
3805 for ac_prog in ginstall scoinst install; do
3806 for ac_exec_ext in '' $ac_executable_extensions; do
3807 if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
3808 if test $ac_prog = install &&
3809 grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3810 # AIX install. It has an incompatible calling convention.
3811 :
3812 elif test $ac_prog = install &&
3813 grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3814 # program-specific install script used by HP pwplus--don't use.
3815 :
3816 else
3817 rm -rf conftest.one conftest.two conftest.dir
3818 echo one > conftest.one
3819 echo two > conftest.two
3820 mkdir conftest.dir
3821 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
3822 test -s conftest.one && test -s conftest.two &&
3823 test -s conftest.dir/conftest.one &&
3824 test -s conftest.dir/conftest.two
3825 then
3826 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
3827 break 3
3828 fi
3829 fi
3830 fi
3831 done
3832 done
3833 ;;
3834 esac
3835
3836 done
3837 IFS=$as_save_IFS
3838
3839 rm -rf conftest.one conftest.two conftest.dir
3840
3841 fi
3842 if test ${ac_cv_path_install+y}; then
3843 INSTALL=$ac_cv_path_install
3844 else
3845 # As a last resort, use the slow shell script. Don't cache a
3846 # value for INSTALL within a source directory, because that will
3847 # break other packages using the cache if that directory is
3848 # removed, or if the value is a relative name.
3849 INSTALL=$ac_install_sh
3850 fi
3851 fi
3852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3853 printf "%s\n" "$INSTALL" >&6; }
3854
3855 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3856 # It thinks the first close brace ends the variable substitution.
3857 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3858
3859 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3860
3861 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3862
3863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3864 printf %s "checking whether build environment is sane... " >&6; }
3865 # Reject unsafe characters in $srcdir or the absolute working directory
3866 # name. Accept space and tab only in the latter.
3867 am_lf='
3868 '
3869 case `pwd` in
3870 *[\\\"\#\$\&\'\`$am_lf]*)
3871 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3872 esac
3873 case $srcdir in
3874 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3875 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3876 esac
3877
3878 # Do 'set' in a subshell so we don't clobber the current shell's
3879 # arguments. Must try -L first in case configure is actually a
3880 # symlink; some systems play weird games with the mod time of symlinks
3881 # (eg FreeBSD returns the mod time of the symlink's containing
3882 # directory).
3883 if (
3884 am_has_slept=no
3885 for am_try in 1 2; do
3886 echo "timestamp, slept: $am_has_slept" > conftest.file
3887 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3888 if test "$*" = "X"; then
3889 # -L didn't work.
3890 set X `ls -t "$srcdir/configure" conftest.file`
3891 fi
3892 if test "$*" != "X $srcdir/configure conftest.file" \
3893 && test "$*" != "X conftest.file $srcdir/configure"; then
3894
3895 # If neither matched, then we have a broken ls. This can happen
3896 # if, for instance, CONFIG_SHELL is bash and it inherits a
3897 # broken ls alias from the environment. This has actually
3898 # happened. Such a system could not be considered "sane".
3899 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3900 alias in your environment" "$LINENO" 5
3901 fi
3902 if test "$2" = conftest.file || test $am_try -eq 2; then
3903 break
3904 fi
3905 # Just in case.
3906 sleep 1
3907 am_has_slept=yes
3908 done
3909 test "$2" = conftest.file
3910 )
3911 then
3912 # Ok.
3913 :
3914 else
3915 as_fn_error $? "newly created file is older than distributed files!
3916 Check your system clock" "$LINENO" 5
3917 fi
3918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3919 printf "%s\n" "yes" >&6; }
3920 # If we didn't sleep, we still need to ensure time stamps of config.status and
3921 # generated files are strictly newer.
3922 am_sleep_pid=
3923 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3924 ( sleep 1 ) &
3925 am_sleep_pid=$!
3926 fi
3927
3928 rm -f conftest.file
3929
3930 test "$program_prefix" != NONE &&
3931 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3932 # Use a double $ so make ignores it.
3933 test "$program_suffix" != NONE &&
3934 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3935 # Double any \ or $.
3936 # By default was `s,x,x', remove it if useless.
3937 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3938 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
3939
3940
3941 # Expand $ac_aux_dir to an absolute path.
3942 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3943
3944
3945 if test x"${MISSING+set}" != xset; then
3946 MISSING="\${SHELL} '$am_aux_dir/missing'"
3947 fi
3948 # Use eval to expand $SHELL
3949 if eval "$MISSING --is-lightweight"; then
3950 am_missing_run="$MISSING "
3951 else
3952 am_missing_run=
3953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3954 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3955 fi
3956
3957 if test x"${install_sh+set}" != xset; then
3958 case $am_aux_dir in
3959 *\ * | *\ *)
3960 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3961 *)
3962 install_sh="\${SHELL} $am_aux_dir/install-sh"
3963 esac
3964 fi
3965
3966 # Installed binaries are usually stripped using 'strip' when the user
3967 # run "make install-strip". However 'strip' might not be the right
3968 # tool to use in cross-compilation environments, therefore Automake
3969 # will honor the 'STRIP' environment variable to overrule this program.
3970 if test "$cross_compiling" != no; then
3971 if test -n "$ac_tool_prefix"; then
3972 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3973 set dummy ${ac_tool_prefix}strip; ac_word=$2
3974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3975 printf %s "checking for $ac_word... " >&6; }
3976 if test ${ac_cv_prog_STRIP+y}
3977 then :
3978 printf %s "(cached) " >&6
3979 else $as_nop
3980 if test -n "$STRIP"; then
3981 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3982 else
3983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3984 for as_dir in $PATH
3985 do
3986 IFS=$as_save_IFS
3987 case $as_dir in #(((
3988 '') as_dir=./ ;;
3989 */) ;;
3990 *) as_dir=$as_dir/ ;;
3991 esac
3992 for ac_exec_ext in '' $ac_executable_extensions; do
3993 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3994 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3995 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3996 break 2
3997 fi
3998 done
3999 done
4000 IFS=$as_save_IFS
4001
4002 fi
4003 fi
4004 STRIP=$ac_cv_prog_STRIP
4005 if test -n "$STRIP"; then
4006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4007 printf "%s\n" "$STRIP" >&6; }
4008 else
4009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4010 printf "%s\n" "no" >&6; }
4011 fi
4012
4013
4014 fi
4015 if test -z "$ac_cv_prog_STRIP"; then
4016 ac_ct_STRIP=$STRIP
4017 # Extract the first word of "strip", so it can be a program name with args.
4018 set dummy strip; ac_word=$2
4019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4020 printf %s "checking for $ac_word... " >&6; }
4021 if test ${ac_cv_prog_ac_ct_STRIP+y}
4022 then :
4023 printf %s "(cached) " >&6
4024 else $as_nop
4025 if test -n "$ac_ct_STRIP"; then
4026 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4027 else
4028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4029 for as_dir in $PATH
4030 do
4031 IFS=$as_save_IFS
4032 case $as_dir in #(((
4033 '') as_dir=./ ;;
4034 */) ;;
4035 *) as_dir=$as_dir/ ;;
4036 esac
4037 for ac_exec_ext in '' $ac_executable_extensions; do
4038 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4039 ac_cv_prog_ac_ct_STRIP="strip"
4040 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4041 break 2
4042 fi
4043 done
4044 done
4045 IFS=$as_save_IFS
4046
4047 fi
4048 fi
4049 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4050 if test -n "$ac_ct_STRIP"; then
4051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4052 printf "%s\n" "$ac_ct_STRIP" >&6; }
4053 else
4054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4055 printf "%s\n" "no" >&6; }
4056 fi
4057
4058 if test "x$ac_ct_STRIP" = x; then
4059 STRIP=":"
4060 else
4061 case $cross_compiling:$ac_tool_warned in
4062 yes:)
4063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4064 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4065 ac_tool_warned=yes ;;
4066 esac
4067 STRIP=$ac_ct_STRIP
4068 fi
4069 else
4070 STRIP="$ac_cv_prog_STRIP"
4071 fi
4072
4073 fi
4074 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
4075
4076
4077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
4078 printf %s "checking for a race-free mkdir -p... " >&6; }
4079 if test -z "$MKDIR_P"; then
4080 if test ${ac_cv_path_mkdir+y}
4081 then :
4082 printf %s "(cached) " >&6
4083 else $as_nop
4084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4085 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
4086 do
4087 IFS=$as_save_IFS
4088 case $as_dir in #(((
4089 '') as_dir=./ ;;
4090 */) ;;
4091 *) as_dir=$as_dir/ ;;
4092 esac
4093 for ac_prog in mkdir gmkdir; do
4094 for ac_exec_ext in '' $ac_executable_extensions; do
4095 as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
4096 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
4097 'mkdir ('*'coreutils) '* | \
4098 'BusyBox '* | \
4099 'mkdir (fileutils) '4.1*)
4100 ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
4101 break 3;;
4102 esac
4103 done
4104 done
4105 done
4106 IFS=$as_save_IFS
4107
4108 fi
4109
4110 test -d ./--version && rmdir ./--version
4111 if test ${ac_cv_path_mkdir+y}; then
4112 MKDIR_P="$ac_cv_path_mkdir -p"
4113 else
4114 # As a last resort, use the slow shell script. Don't cache a
4115 # value for MKDIR_P within a source directory, because that will
4116 # break other packages using the cache if that directory is
4117 # removed, or if the value is a relative name.
4118 MKDIR_P="$ac_install_sh -d"
4119 fi
4120 fi
4121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4122 printf "%s\n" "$MKDIR_P" >&6; }
4123
4124 for ac_prog in gawk mawk nawk awk
4125 do
4126 # Extract the first word of "$ac_prog", so it can be a program name with args.
4127 set dummy $ac_prog; ac_word=$2
4128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4129 printf %s "checking for $ac_word... " >&6; }
4130 if test ${ac_cv_prog_AWK+y}
4131 then :
4132 printf %s "(cached) " >&6
4133 else $as_nop
4134 if test -n "$AWK"; then
4135 ac_cv_prog_AWK="$AWK" # Let the user override the test.
4136 else
4137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4138 for as_dir in $PATH
4139 do
4140 IFS=$as_save_IFS
4141 case $as_dir in #(((
4142 '') as_dir=./ ;;
4143 */) ;;
4144 *) as_dir=$as_dir/ ;;
4145 esac
4146 for ac_exec_ext in '' $ac_executable_extensions; do
4147 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4148 ac_cv_prog_AWK="$ac_prog"
4149 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4150 break 2
4151 fi
4152 done
4153 done
4154 IFS=$as_save_IFS
4155
4156 fi
4157 fi
4158 AWK=$ac_cv_prog_AWK
4159 if test -n "$AWK"; then
4160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4161 printf "%s\n" "$AWK" >&6; }
4162 else
4163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4164 printf "%s\n" "no" >&6; }
4165 fi
4166
4167
4168 test -n "$AWK" && break
4169 done
4170
4171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4172 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4173 set x ${MAKE-make}
4174 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4175 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4176 then :
4177 printf %s "(cached) " >&6
4178 else $as_nop
4179 cat >conftest.make <<\_ACEOF
4180 SHELL = /bin/sh
4181 all:
4182 @echo '@@@%%%=$(MAKE)=@@@%%%'
4183 _ACEOF
4184 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4185 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4186 *@@@%%%=?*=@@@%%%*)
4187 eval ac_cv_prog_make_${ac_make}_set=yes;;
4188 *)
4189 eval ac_cv_prog_make_${ac_make}_set=no;;
4190 esac
4191 rm -f conftest.make
4192 fi
4193 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4195 printf "%s\n" "yes" >&6; }
4196 SET_MAKE=
4197 else
4198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4199 printf "%s\n" "no" >&6; }
4200 SET_MAKE="MAKE=${MAKE-make}"
4201 fi
4202
4203 rm -rf .tst 2>/dev/null
4204 mkdir .tst 2>/dev/null
4205 if test -d .tst; then
4206 am__leading_dot=.
4207 else
4208 am__leading_dot=_
4209 fi
4210 rmdir .tst 2>/dev/null
4211
4212 # Check whether --enable-silent-rules was given.
4213 if test ${enable_silent_rules+y}
4214 then :
4215 enableval=$enable_silent_rules;
4216 fi
4217
4218 case $enable_silent_rules in # (((
4219 yes) AM_DEFAULT_VERBOSITY=0;;
4220 no) AM_DEFAULT_VERBOSITY=1;;
4221 *) AM_DEFAULT_VERBOSITY=1;;
4222 esac
4223 am_make=${MAKE-make}
4224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4225 printf %s "checking whether $am_make supports nested variables... " >&6; }
4226 if test ${am_cv_make_support_nested_variables+y}
4227 then :
4228 printf %s "(cached) " >&6
4229 else $as_nop
4230 if printf "%s\n" 'TRUE=$(BAR$(V))
4231 BAR0=false
4232 BAR1=true
4233 V=1
4234 am__doit:
4235 @$(TRUE)
4236 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
4237 am_cv_make_support_nested_variables=yes
4238 else
4239 am_cv_make_support_nested_variables=no
4240 fi
4241 fi
4242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4243 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
4244 if test $am_cv_make_support_nested_variables = yes; then
4245 AM_V='$(V)'
4246 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4247 else
4248 AM_V=$AM_DEFAULT_VERBOSITY
4249 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
4250 fi
4251 AM_BACKSLASH='\'
4252
4253 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4254 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4255 # is not polluted with repeated "-I."
4256 am__isrc=' -I$(srcdir)'
4257 # test to see if srcdir already configured
4258 if test -f $srcdir/config.status; then
4259 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4260 fi
4261 fi
4262
4263 # test whether we have cygpath
4264 if test -z "$CYGPATH_W"; then
4265 if (cygpath --version) >/dev/null 2>/dev/null; then
4266 CYGPATH_W='cygpath -w'
4267 else
4268 CYGPATH_W=echo
4269 fi
4270 fi
4271
4272
4273 # Define the identity of the package.
4274 PACKAGE='codeblocks'
4275 VERSION='25.03svn13644'
4276
4277
4278 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
4279
4280
4281 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
4282
4283 # Some tools Automake needs.
4284
4285 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4286
4287
4288 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4289
4290
4291 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4292
4293
4294 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4295
4296
4297 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4298
4299 # For better backward compatibility. To be removed once Automake 1.9.x
4300 # dies out for good. For more background, see:
4301 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4302 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4303 mkdir_p='$(MKDIR_P)'
4304
4305 # We need awk for the "check" target (and possibly the TAP driver). The
4306 # system "awk" is bad on some platforms.
4307 # Always define AMTAR for backward compatibility.
4308
4309 AMTAR=${AMTAR-"${am_missing_run}tar"}
4310
4311 am__tar='${AMTAR} chf - "$$tardir"'; am__untar='${AMTAR} xf -'
4312
4313
4314
4315
4316 # Variables for tags utilities; see am/tags.am
4317 if test -z "$CTAGS"; then
4318 CTAGS=ctags
4319 fi
4320
4321 if test -z "$ETAGS"; then
4322 ETAGS=etags
4323 fi
4324
4325 if test -z "$CSCOPE"; then
4326 CSCOPE=cscope
4327 fi
4328
4329
4330
4331 # POSIX will say in a future version that running "rm -f" with no argument
4332 # is OK; and we want to be able to make that assumption in our Makefile
4333 # recipes. So use an aggressive probe to check that the usage we want is
4334 # actually supported "in the wild" to an acceptable degree.
4335 # See automake bug#10828.
4336 # To make any issue more visible, cause the running configure to be aborted
4337 # by default if the 'rm' program in use doesn't match our expectations; the
4338 # user can still override this though.
4339 if rm -f && rm -fr && rm -rf; then : OK; else
4340 cat >&2 <<'END'
4341 Oops!
4342
4343 Your 'rm' program seems unable to run without file operands specified
4344 on the command line, even when the '-f' option is present. This is contrary
4345 to the behaviour of most rm programs out there, and not conforming with
4346 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4347
4348 Please tell [email protected] about your system, including the value
4349 of your $PATH and any error possibly output before this message. This
4350 can help us improve future automake versions.
4351
4352 END
4353 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
4354 echo 'Configuration will proceed anyway, since you have set the' >&2
4355 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4356 echo >&2
4357 else
4358 cat >&2 <<'END'
4359 Aborting the configuration process, to ensure you take notice of the issue.
4360
4361 You can download and install GNU coreutils to get an 'rm' implementation
4362 that behaves properly: <https://www.gnu.org/software/coreutils/>.
4363
4364 If you want to complete the configuration process using your problematic
4365 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4366 to "yes", and re-run configure.
4367
4368 END
4369 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
4370 fi
4371 fi
4372
4373
4374 # Check whether --enable-static was given.
4375 if test ${enable_static+y}
4376 then :
4377 enableval=$enable_static; p=${PACKAGE-default}
4378 case $enableval in
4379 yes) enable_static=yes ;;
4380 no) enable_static=no ;;
4381 *)
4382 enable_static=no
4383 # Look at the argument we got. We use all the common list separators.
4384 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
4385 for pkg in $enableval; do
4386 IFS=$lt_save_ifs
4387 if test "X$pkg" = "X$p"; then
4388 enable_static=yes
4389 fi
4390 done
4391 IFS=$lt_save_ifs
4392 ;;
4393 esac
4394 else $as_nop
4395 enable_static=no
4396 fi
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407 case `pwd` in
4408 *\ * | *\ *)
4409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4410 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4411 esac
4412
4413
4414
4415 macro_version='2.4.7'
4416 macro_revision='2.4.7'
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431 ltmain=$ac_aux_dir/ltmain.sh
4432
4433 # Backslashify metacharacters that are still active within
4434 # double-quoted strings.
4435 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4436
4437 # Same as above, but do not quote variable references.
4438 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4439
4440 # Sed substitution to delay expansion of an escaped shell variable in a
4441 # double_quote_subst'ed string.
4442 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4443
4444 # Sed substitution to delay expansion of an escaped single quote.
4445 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4446
4447 # Sed substitution to avoid accidental globbing in evaled expressions
4448 no_glob_subst='s/\*/\\\*/g'
4449
4450 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4451 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4452 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4453
4454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4455 printf %s "checking how to print strings... " >&6; }
4456 # Test print first, because it will be a builtin if present.
4457 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4458 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4459 ECHO='print -r --'
4460 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4461 ECHO='printf %s\n'
4462 else
4463 # Use this function as a fallback that always works.
4464 func_fallback_echo ()
4465 {
4466 eval 'cat <<_LTECHO_EOF
4467 $1
4468 _LTECHO_EOF'
4469 }
4470 ECHO='func_fallback_echo'
4471 fi
4472
4473 # func_echo_all arg...
4474 # Invoke $ECHO with all args, space-separated.
4475 func_echo_all ()
4476 {
4477 $ECHO ""
4478 }
4479
4480 case $ECHO in
4481 printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4482 printf "%s\n" "printf" >&6; } ;;
4483 print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4484 printf "%s\n" "print -r" >&6; } ;;
4485 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4486 printf "%s\n" "cat" >&6; } ;;
4487 esac
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511 DEPDIR="${am__leading_dot}deps"
4512
4513 ac_config_commands="$ac_config_commands depfiles"
4514
4515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
4516 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
4517 cat > confinc.mk << 'END'
4518 am__doit:
4519 @echo this is the am__doit target >confinc.out
4520 .PHONY: am__doit
4521 END
4522 am__include="#"
4523 am__quote=
4524 # BSD make does it like this.
4525 echo '.include "confinc.mk" # ignored' > confmf.BSD
4526 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
4527 echo 'include confinc.mk # ignored' > confmf.GNU
4528 _am_result=no
4529 for s in GNU BSD; do
4530 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
4531 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
4532 ac_status=$?
4533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4534 (exit $ac_status); }
4535 case $?:`cat confinc.out 2>/dev/null` in #(
4536 '0:this is the am__doit target') :
4537 case $s in #(
4538 BSD) :
4539 am__include='.include' am__quote='"' ;; #(
4540 *) :
4541 am__include='include' am__quote='' ;;
4542 esac ;; #(
4543 *) :
4544 ;;
4545 esac
4546 if test "$am__include" != "#"; then
4547 _am_result="yes ($s style)"
4548 break
4549 fi
4550 done
4551 rm -f confinc.* confmf.*
4552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
4553 printf "%s\n" "${_am_result}" >&6; }
4554
4555 # Check whether --enable-dependency-tracking was given.
4556 if test ${enable_dependency_tracking+y}
4557 then :
4558 enableval=$enable_dependency_tracking;
4559 fi
4560
4561 if test "x$enable_dependency_tracking" != xno; then
4562 am_depcomp="$ac_aux_dir/depcomp"
4563 AMDEPBACKSLASH='\'
4564 am__nodep='_no'
4565 fi
4566 if test "x$enable_dependency_tracking" != xno; then
4567 AMDEP_TRUE=
4568 AMDEP_FALSE='#'
4569 else
4570 AMDEP_TRUE='#'
4571 AMDEP_FALSE=
4572 fi
4573
4574
4575 ac_ext=c
4576 ac_cpp='$CPP $CPPFLAGS'
4577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4580 if test -n "$ac_tool_prefix"; then
4581 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4582 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4584 printf %s "checking for $ac_word... " >&6; }
4585 if test ${ac_cv_prog_CC+y}
4586 then :
4587 printf %s "(cached) " >&6
4588 else $as_nop
4589 if test -n "$CC"; then
4590 ac_cv_prog_CC="$CC" # Let the user override the test.
4591 else
4592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4593 for as_dir in $PATH
4594 do
4595 IFS=$as_save_IFS
4596 case $as_dir in #(((
4597 '') as_dir=./ ;;
4598 */) ;;
4599 *) as_dir=$as_dir/ ;;
4600 esac
4601 for ac_exec_ext in '' $ac_executable_extensions; do
4602 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4603 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4604 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4605 break 2
4606 fi
4607 done
4608 done
4609 IFS=$as_save_IFS
4610
4611 fi
4612 fi
4613 CC=$ac_cv_prog_CC
4614 if test -n "$CC"; then
4615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4616 printf "%s\n" "$CC" >&6; }
4617 else
4618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4619 printf "%s\n" "no" >&6; }
4620 fi
4621
4622
4623 fi
4624 if test -z "$ac_cv_prog_CC"; then
4625 ac_ct_CC=$CC
4626 # Extract the first word of "gcc", so it can be a program name with args.
4627 set dummy gcc; ac_word=$2
4628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4629 printf %s "checking for $ac_word... " >&6; }
4630 if test ${ac_cv_prog_ac_ct_CC+y}
4631 then :
4632 printf %s "(cached) " >&6
4633 else $as_nop
4634 if test -n "$ac_ct_CC"; then
4635 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4636 else
4637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4638 for as_dir in $PATH
4639 do
4640 IFS=$as_save_IFS
4641 case $as_dir in #(((
4642 '') as_dir=./ ;;
4643 */) ;;
4644 *) as_dir=$as_dir/ ;;
4645 esac
4646 for ac_exec_ext in '' $ac_executable_extensions; do
4647 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4648 ac_cv_prog_ac_ct_CC="gcc"
4649 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4650 break 2
4651 fi
4652 done
4653 done
4654 IFS=$as_save_IFS
4655
4656 fi
4657 fi
4658 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4659 if test -n "$ac_ct_CC"; then
4660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4661 printf "%s\n" "$ac_ct_CC" >&6; }
4662 else
4663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4664 printf "%s\n" "no" >&6; }
4665 fi
4666
4667 if test "x$ac_ct_CC" = x; then
4668 CC=""
4669 else
4670 case $cross_compiling:$ac_tool_warned in
4671 yes:)
4672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4673 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4674 ac_tool_warned=yes ;;
4675 esac
4676 CC=$ac_ct_CC
4677 fi
4678 else
4679 CC="$ac_cv_prog_CC"
4680 fi
4681
4682 if test -z "$CC"; then
4683 if test -n "$ac_tool_prefix"; then
4684 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4685 set dummy ${ac_tool_prefix}cc; ac_word=$2
4686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4687 printf %s "checking for $ac_word... " >&6; }
4688 if test ${ac_cv_prog_CC+y}
4689 then :
4690 printf %s "(cached) " >&6
4691 else $as_nop
4692 if test -n "$CC"; then
4693 ac_cv_prog_CC="$CC" # Let the user override the test.
4694 else
4695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4696 for as_dir in $PATH
4697 do
4698 IFS=$as_save_IFS
4699 case $as_dir in #(((
4700 '') as_dir=./ ;;
4701 */) ;;
4702 *) as_dir=$as_dir/ ;;
4703 esac
4704 for ac_exec_ext in '' $ac_executable_extensions; do
4705 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4706 ac_cv_prog_CC="${ac_tool_prefix}cc"
4707 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4708 break 2
4709 fi
4710 done
4711 done
4712 IFS=$as_save_IFS
4713
4714 fi
4715 fi
4716 CC=$ac_cv_prog_CC
4717 if test -n "$CC"; then
4718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4719 printf "%s\n" "$CC" >&6; }
4720 else
4721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4722 printf "%s\n" "no" >&6; }
4723 fi
4724
4725
4726 fi
4727 fi
4728 if test -z "$CC"; then
4729 # Extract the first word of "cc", so it can be a program name with args.
4730 set dummy cc; ac_word=$2
4731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4732 printf %s "checking for $ac_word... " >&6; }
4733 if test ${ac_cv_prog_CC+y}
4734 then :
4735 printf %s "(cached) " >&6
4736 else $as_nop
4737 if test -n "$CC"; then
4738 ac_cv_prog_CC="$CC" # Let the user override the test.
4739 else
4740 ac_prog_rejected=no
4741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4742 for as_dir in $PATH
4743 do
4744 IFS=$as_save_IFS
4745 case $as_dir in #(((
4746 '') as_dir=./ ;;
4747 */) ;;
4748 *) as_dir=$as_dir/ ;;
4749 esac
4750 for ac_exec_ext in '' $ac_executable_extensions; do
4751 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4752 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4753 ac_prog_rejected=yes
4754 continue
4755 fi
4756 ac_cv_prog_CC="cc"
4757 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4758 break 2
4759 fi
4760 done
4761 done
4762 IFS=$as_save_IFS
4763
4764 if test $ac_prog_rejected = yes; then
4765 # We found a bogon in the path, so make sure we never use it.
4766 set dummy $ac_cv_prog_CC
4767 shift
4768 if test $# != 0; then
4769 # We chose a different compiler from the bogus one.
4770 # However, it has the same basename, so the bogon will be chosen
4771 # first if we set CC to just the basename; use the full file name.
4772 shift
4773 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4774 fi
4775 fi
4776 fi
4777 fi
4778 CC=$ac_cv_prog_CC
4779 if test -n "$CC"; then
4780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4781 printf "%s\n" "$CC" >&6; }
4782 else
4783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4784 printf "%s\n" "no" >&6; }
4785 fi
4786
4787
4788 fi
4789 if test -z "$CC"; then
4790 if test -n "$ac_tool_prefix"; then
4791 for ac_prog in cl.exe
4792 do
4793 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4794 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4796 printf %s "checking for $ac_word... " >&6; }
4797 if test ${ac_cv_prog_CC+y}
4798 then :
4799 printf %s "(cached) " >&6
4800 else $as_nop
4801 if test -n "$CC"; then
4802 ac_cv_prog_CC="$CC" # Let the user override the test.
4803 else
4804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4805 for as_dir in $PATH
4806 do
4807 IFS=$as_save_IFS
4808 case $as_dir in #(((
4809 '') as_dir=./ ;;
4810 */) ;;
4811 *) as_dir=$as_dir/ ;;
4812 esac
4813 for ac_exec_ext in '' $ac_executable_extensions; do
4814 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4815 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4816 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4817 break 2
4818 fi
4819 done
4820 done
4821 IFS=$as_save_IFS
4822
4823 fi
4824 fi
4825 CC=$ac_cv_prog_CC
4826 if test -n "$CC"; then
4827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4828 printf "%s\n" "$CC" >&6; }
4829 else
4830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4831 printf "%s\n" "no" >&6; }
4832 fi
4833
4834
4835 test -n "$CC" && break
4836 done
4837 fi
4838 if test -z "$CC"; then
4839 ac_ct_CC=$CC
4840 for ac_prog in cl.exe
4841 do
4842 # Extract the first word of "$ac_prog", so it can be a program name with args.
4843 set dummy $ac_prog; ac_word=$2
4844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4845 printf %s "checking for $ac_word... " >&6; }
4846 if test ${ac_cv_prog_ac_ct_CC+y}
4847 then :
4848 printf %s "(cached) " >&6
4849 else $as_nop
4850 if test -n "$ac_ct_CC"; then
4851 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4852 else
4853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4854 for as_dir in $PATH
4855 do
4856 IFS=$as_save_IFS
4857 case $as_dir in #(((
4858 '') as_dir=./ ;;
4859 */) ;;
4860 *) as_dir=$as_dir/ ;;
4861 esac
4862 for ac_exec_ext in '' $ac_executable_extensions; do
4863 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4864 ac_cv_prog_ac_ct_CC="$ac_prog"
4865 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4866 break 2
4867 fi
4868 done
4869 done
4870 IFS=$as_save_IFS
4871
4872 fi
4873 fi
4874 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4875 if test -n "$ac_ct_CC"; then
4876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4877 printf "%s\n" "$ac_ct_CC" >&6; }
4878 else
4879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4880 printf "%s\n" "no" >&6; }
4881 fi
4882
4883
4884 test -n "$ac_ct_CC" && break
4885 done
4886
4887 if test "x$ac_ct_CC" = x; then
4888 CC=""
4889 else
4890 case $cross_compiling:$ac_tool_warned in
4891 yes:)
4892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4893 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4894 ac_tool_warned=yes ;;
4895 esac
4896 CC=$ac_ct_CC
4897 fi
4898 fi
4899
4900 fi
4901 if test -z "$CC"; then
4902 if test -n "$ac_tool_prefix"; then
4903 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4904 set dummy ${ac_tool_prefix}clang; ac_word=$2
4905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4906 printf %s "checking for $ac_word... " >&6; }
4907 if test ${ac_cv_prog_CC+y}
4908 then :
4909 printf %s "(cached) " >&6
4910 else $as_nop
4911 if test -n "$CC"; then
4912 ac_cv_prog_CC="$CC" # Let the user override the test.
4913 else
4914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4915 for as_dir in $PATH
4916 do
4917 IFS=$as_save_IFS
4918 case $as_dir in #(((
4919 '') as_dir=./ ;;
4920 */) ;;
4921 *) as_dir=$as_dir/ ;;
4922 esac
4923 for ac_exec_ext in '' $ac_executable_extensions; do
4924 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4925 ac_cv_prog_CC="${ac_tool_prefix}clang"
4926 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4927 break 2
4928 fi
4929 done
4930 done
4931 IFS=$as_save_IFS
4932
4933 fi
4934 fi
4935 CC=$ac_cv_prog_CC
4936 if test -n "$CC"; then
4937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4938 printf "%s\n" "$CC" >&6; }
4939 else
4940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4941 printf "%s\n" "no" >&6; }
4942 fi
4943
4944
4945 fi
4946 if test -z "$ac_cv_prog_CC"; then
4947 ac_ct_CC=$CC
4948 # Extract the first word of "clang", so it can be a program name with args.
4949 set dummy clang; ac_word=$2
4950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4951 printf %s "checking for $ac_word... " >&6; }
4952 if test ${ac_cv_prog_ac_ct_CC+y}
4953 then :
4954 printf %s "(cached) " >&6
4955 else $as_nop
4956 if test -n "$ac_ct_CC"; then
4957 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4958 else
4959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4960 for as_dir in $PATH
4961 do
4962 IFS=$as_save_IFS
4963 case $as_dir in #(((
4964 '') as_dir=./ ;;
4965 */) ;;
4966 *) as_dir=$as_dir/ ;;
4967 esac
4968 for ac_exec_ext in '' $ac_executable_extensions; do
4969 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4970 ac_cv_prog_ac_ct_CC="clang"
4971 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4972 break 2
4973 fi
4974 done
4975 done
4976 IFS=$as_save_IFS
4977
4978 fi
4979 fi
4980 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4981 if test -n "$ac_ct_CC"; then
4982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4983 printf "%s\n" "$ac_ct_CC" >&6; }
4984 else
4985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4986 printf "%s\n" "no" >&6; }
4987 fi
4988
4989 if test "x$ac_ct_CC" = x; then
4990 CC=""
4991 else
4992 case $cross_compiling:$ac_tool_warned in
4993 yes:)
4994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4995 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4996 ac_tool_warned=yes ;;
4997 esac
4998 CC=$ac_ct_CC
4999 fi
5000 else
5001 CC="$ac_cv_prog_CC"
5002 fi
5003
5004 fi
5005
5006
5007 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5008 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5009 as_fn_error $? "no acceptable C compiler found in \$PATH
5010 See \`config.log' for more details" "$LINENO" 5; }
5011
5012 # Provide some information about the compiler.
5013 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5014 set X $ac_compile
5015 ac_compiler=$2
5016 for ac_option in --version -v -V -qversion -version; do
5017 { { ac_try="$ac_compiler $ac_option >&5"
5018 case "(($ac_try" in
5019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5020 *) ac_try_echo=$ac_try;;
5021 esac
5022 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5023 printf "%s\n" "$ac_try_echo"; } >&5
5024 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5025 ac_status=$?
5026 if test -s conftest.err; then
5027 sed '10a\
5028 ... rest of stderr output deleted ...
5029 10q' conftest.err >conftest.er1
5030 cat conftest.er1 >&5
5031 fi
5032 rm -f conftest.er1 conftest.err
5033 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5034 test $ac_status = 0; }
5035 done
5036
5037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5038 /* end confdefs.h. */
5039
5040 int
5041 main (void)
5042 {
5043
5044 ;
5045 return 0;
5046 }
5047 _ACEOF
5048 ac_clean_files_save=$ac_clean_files
5049 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5050 # Try to create an executable without -o first, disregard a.out.
5051 # It will help us diagnose broken compilers, and finding out an intuition
5052 # of exeext.
5053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5054 printf %s "checking whether the C compiler works... " >&6; }
5055 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5056
5057 # The possible output files:
5058 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5059
5060 ac_rmfiles=
5061 for ac_file in $ac_files
5062 do
5063 case $ac_file in
5064 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5065 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5066 esac
5067 done
5068 rm -f $ac_rmfiles
5069
5070 if { { ac_try="$ac_link_default"
5071 case "(($ac_try" in
5072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5073 *) ac_try_echo=$ac_try;;
5074 esac
5075 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5076 printf "%s\n" "$ac_try_echo"; } >&5
5077 (eval "$ac_link_default") 2>&5
5078 ac_status=$?
5079 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5080 test $ac_status = 0; }
5081 then :
5082 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5083 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5084 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5085 # so that the user can short-circuit this test for compilers unknown to
5086 # Autoconf.
5087 for ac_file in $ac_files ''
5088 do
5089 test -f "$ac_file" || continue
5090 case $ac_file in
5091 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5092 ;;
5093 [ab].out )
5094 # We found the default executable, but exeext='' is most
5095 # certainly right.
5096 break;;
5097 *.* )
5098 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5099 then :; else
5100 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5101 fi
5102 # We set ac_cv_exeext here because the later test for it is not
5103 # safe: cross compilers may not add the suffix if given an `-o'
5104 # argument, so we may need to know it at that point already.
5105 # Even if this section looks crufty: it has the advantage of
5106 # actually working.
5107 break;;
5108 * )
5109 break;;
5110 esac
5111 done
5112 test "$ac_cv_exeext" = no && ac_cv_exeext=
5113
5114 else $as_nop
5115 ac_file=''
5116 fi
5117 if test -z "$ac_file"
5118 then :
5119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5120 printf "%s\n" "no" >&6; }
5121 printf "%s\n" "$as_me: failed program was:" >&5
5122 sed 's/^/| /' conftest.$ac_ext >&5
5123
5124 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5125 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5126 as_fn_error 77 "C compiler cannot create executables
5127 See \`config.log' for more details" "$LINENO" 5; }
5128 else $as_nop
5129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5130 printf "%s\n" "yes" >&6; }
5131 fi
5132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5133 printf %s "checking for C compiler default output file name... " >&6; }
5134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5135 printf "%s\n" "$ac_file" >&6; }
5136 ac_exeext=$ac_cv_exeext
5137
5138 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5139 ac_clean_files=$ac_clean_files_save
5140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5141 printf %s "checking for suffix of executables... " >&6; }
5142 if { { ac_try="$ac_link"
5143 case "(($ac_try" in
5144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5145 *) ac_try_echo=$ac_try;;
5146 esac
5147 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5148 printf "%s\n" "$ac_try_echo"; } >&5
5149 (eval "$ac_link") 2>&5
5150 ac_status=$?
5151 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5152 test $ac_status = 0; }
5153 then :
5154 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5155 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5156 # work properly (i.e., refer to `conftest.exe'), while it won't with
5157 # `rm'.
5158 for ac_file in conftest.exe conftest conftest.*; do
5159 test -f "$ac_file" || continue
5160 case $ac_file in
5161 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5162 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5163 break;;
5164 * ) break;;
5165 esac
5166 done
5167 else $as_nop
5168 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5169 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5170 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5171 See \`config.log' for more details" "$LINENO" 5; }
5172 fi
5173 rm -f conftest conftest$ac_cv_exeext
5174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5175 printf "%s\n" "$ac_cv_exeext" >&6; }
5176
5177 rm -f conftest.$ac_ext
5178 EXEEXT=$ac_cv_exeext
5179 ac_exeext=$EXEEXT
5180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5181 /* end confdefs.h. */
5182 #include <stdio.h>
5183 int
5184 main (void)
5185 {
5186 FILE *f = fopen ("conftest.out", "w");
5187 return ferror (f) || fclose (f) != 0;
5188
5189 ;
5190 return 0;
5191 }
5192 _ACEOF
5193 ac_clean_files="$ac_clean_files conftest.out"
5194 # Check that the compiler produces executables we can run. If not, either
5195 # the compiler is broken, or we cross compile.
5196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5197 printf %s "checking whether we are cross compiling... " >&6; }
5198 if test "$cross_compiling" != yes; then
5199 { { ac_try="$ac_link"
5200 case "(($ac_try" in
5201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5202 *) ac_try_echo=$ac_try;;
5203 esac
5204 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5205 printf "%s\n" "$ac_try_echo"; } >&5
5206 (eval "$ac_link") 2>&5
5207 ac_status=$?
5208 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5209 test $ac_status = 0; }
5210 if { ac_try='./conftest$ac_cv_exeext'
5211 { { case "(($ac_try" in
5212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5213 *) ac_try_echo=$ac_try;;
5214 esac
5215 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5216 printf "%s\n" "$ac_try_echo"; } >&5
5217 (eval "$ac_try") 2>&5
5218 ac_status=$?
5219 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5220 test $ac_status = 0; }; }; then
5221 cross_compiling=no
5222 else
5223 if test "$cross_compiling" = maybe; then
5224 cross_compiling=yes
5225 else
5226 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5227 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5228 as_fn_error 77 "cannot run C compiled programs.
5229 If you meant to cross compile, use \`--host'.
5230 See \`config.log' for more details" "$LINENO" 5; }
5231 fi
5232 fi
5233 fi
5234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5235 printf "%s\n" "$cross_compiling" >&6; }
5236
5237 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5238 ac_clean_files=$ac_clean_files_save
5239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5240 printf %s "checking for suffix of object files... " >&6; }
5241 if test ${ac_cv_objext+y}
5242 then :
5243 printf %s "(cached) " >&6
5244 else $as_nop
5245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5246 /* end confdefs.h. */
5247
5248 int
5249 main (void)
5250 {
5251
5252 ;
5253 return 0;
5254 }
5255 _ACEOF
5256 rm -f conftest.o conftest.obj
5257 if { { ac_try="$ac_compile"
5258 case "(($ac_try" in
5259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5260 *) ac_try_echo=$ac_try;;
5261 esac
5262 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5263 printf "%s\n" "$ac_try_echo"; } >&5
5264 (eval "$ac_compile") 2>&5
5265 ac_status=$?
5266 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5267 test $ac_status = 0; }
5268 then :
5269 for ac_file in conftest.o conftest.obj conftest.*; do
5270 test -f "$ac_file" || continue;
5271 case $ac_file in
5272 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5273 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5274 break;;
5275 esac
5276 done
5277 else $as_nop
5278 printf "%s\n" "$as_me: failed program was:" >&5
5279 sed 's/^/| /' conftest.$ac_ext >&5
5280
5281 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5282 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5283 as_fn_error $? "cannot compute suffix of object files: cannot compile
5284 See \`config.log' for more details" "$LINENO" 5; }
5285 fi
5286 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5287 fi
5288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5289 printf "%s\n" "$ac_cv_objext" >&6; }
5290 OBJEXT=$ac_cv_objext
5291 ac_objext=$OBJEXT
5292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5293 printf %s "checking whether the compiler supports GNU C... " >&6; }
5294 if test ${ac_cv_c_compiler_gnu+y}
5295 then :
5296 printf %s "(cached) " >&6
5297 else $as_nop
5298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5299 /* end confdefs.h. */
5300
5301 int
5302 main (void)
5303 {
5304 #ifndef __GNUC__
5305 choke me
5306 #endif
5307
5308 ;
5309 return 0;
5310 }
5311 _ACEOF
5312 if ac_fn_c_try_compile "$LINENO"
5313 then :
5314 ac_compiler_gnu=yes
5315 else $as_nop
5316 ac_compiler_gnu=no
5317 fi
5318 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5319 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5320
5321 fi
5322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5323 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5325
5326 if test $ac_compiler_gnu = yes; then
5327 GCC=yes
5328 else
5329 GCC=
5330 fi
5331 ac_test_CFLAGS=${CFLAGS+y}
5332 ac_save_CFLAGS=$CFLAGS
5333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5334 printf %s "checking whether $CC accepts -g... " >&6; }
5335 if test ${ac_cv_prog_cc_g+y}
5336 then :
5337 printf %s "(cached) " >&6
5338 else $as_nop
5339 ac_save_c_werror_flag=$ac_c_werror_flag
5340 ac_c_werror_flag=yes
5341 ac_cv_prog_cc_g=no
5342 CFLAGS="-g"
5343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5344 /* end confdefs.h. */
5345
5346 int
5347 main (void)
5348 {
5349
5350 ;
5351 return 0;
5352 }
5353 _ACEOF
5354 if ac_fn_c_try_compile "$LINENO"
5355 then :
5356 ac_cv_prog_cc_g=yes
5357 else $as_nop
5358 CFLAGS=""
5359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5360 /* end confdefs.h. */
5361
5362 int
5363 main (void)
5364 {
5365
5366 ;
5367 return 0;
5368 }
5369 _ACEOF
5370 if ac_fn_c_try_compile "$LINENO"
5371 then :
5372
5373 else $as_nop
5374 ac_c_werror_flag=$ac_save_c_werror_flag
5375 CFLAGS="-g"
5376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5377 /* end confdefs.h. */
5378
5379 int
5380 main (void)
5381 {
5382
5383 ;
5384 return 0;
5385 }
5386 _ACEOF
5387 if ac_fn_c_try_compile "$LINENO"
5388 then :
5389 ac_cv_prog_cc_g=yes
5390 fi
5391 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5392 fi
5393 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5394 fi
5395 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5396 ac_c_werror_flag=$ac_save_c_werror_flag
5397 fi
5398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5399 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5400 if test $ac_test_CFLAGS; then
5401 CFLAGS=$ac_save_CFLAGS
5402 elif test $ac_cv_prog_cc_g = yes; then
5403 if test "$GCC" = yes; then
5404 CFLAGS="-g -O2"
5405 else
5406 CFLAGS="-g"
5407 fi
5408 else
5409 if test "$GCC" = yes; then
5410 CFLAGS="-O2"
5411 else
5412 CFLAGS=
5413 fi
5414 fi
5415 ac_prog_cc_stdc=no
5416 if test x$ac_prog_cc_stdc = xno
5417 then :
5418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5419 printf %s "checking for $CC option to enable C11 features... " >&6; }
5420 if test ${ac_cv_prog_cc_c11+y}
5421 then :
5422 printf %s "(cached) " >&6
5423 else $as_nop
5424 ac_cv_prog_cc_c11=no
5425 ac_save_CC=$CC
5426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5427 /* end confdefs.h. */
5428 $ac_c_conftest_c11_program
5429 _ACEOF
5430 for ac_arg in '' -std=gnu11
5431 do
5432 CC="$ac_save_CC $ac_arg"
5433 if ac_fn_c_try_compile "$LINENO"
5434 then :
5435 ac_cv_prog_cc_c11=$ac_arg
5436 fi
5437 rm -f core conftest.err conftest.$ac_objext conftest.beam
5438 test "x$ac_cv_prog_cc_c11" != "xno" && break
5439 done
5440 rm -f conftest.$ac_ext
5441 CC=$ac_save_CC
5442 fi
5443
5444 if test "x$ac_cv_prog_cc_c11" = xno
5445 then :
5446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5447 printf "%s\n" "unsupported" >&6; }
5448 else $as_nop
5449 if test "x$ac_cv_prog_cc_c11" = x
5450 then :
5451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5452 printf "%s\n" "none needed" >&6; }
5453 else $as_nop
5454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5455 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5456 CC="$CC $ac_cv_prog_cc_c11"
5457 fi
5458 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5459 ac_prog_cc_stdc=c11
5460 fi
5461 fi
5462 if test x$ac_prog_cc_stdc = xno
5463 then :
5464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5465 printf %s "checking for $CC option to enable C99 features... " >&6; }
5466 if test ${ac_cv_prog_cc_c99+y}
5467 then :
5468 printf %s "(cached) " >&6
5469 else $as_nop
5470 ac_cv_prog_cc_c99=no
5471 ac_save_CC=$CC
5472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5473 /* end confdefs.h. */
5474 $ac_c_conftest_c99_program
5475 _ACEOF
5476 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5477 do
5478 CC="$ac_save_CC $ac_arg"
5479 if ac_fn_c_try_compile "$LINENO"
5480 then :
5481 ac_cv_prog_cc_c99=$ac_arg
5482 fi
5483 rm -f core conftest.err conftest.$ac_objext conftest.beam
5484 test "x$ac_cv_prog_cc_c99" != "xno" && break
5485 done
5486 rm -f conftest.$ac_ext
5487 CC=$ac_save_CC
5488 fi
5489
5490 if test "x$ac_cv_prog_cc_c99" = xno
5491 then :
5492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5493 printf "%s\n" "unsupported" >&6; }
5494 else $as_nop
5495 if test "x$ac_cv_prog_cc_c99" = x
5496 then :
5497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5498 printf "%s\n" "none needed" >&6; }
5499 else $as_nop
5500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5501 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5502 CC="$CC $ac_cv_prog_cc_c99"
5503 fi
5504 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5505 ac_prog_cc_stdc=c99
5506 fi
5507 fi
5508 if test x$ac_prog_cc_stdc = xno
5509 then :
5510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5511 printf %s "checking for $CC option to enable C89 features... " >&6; }
5512 if test ${ac_cv_prog_cc_c89+y}
5513 then :
5514 printf %s "(cached) " >&6
5515 else $as_nop
5516 ac_cv_prog_cc_c89=no
5517 ac_save_CC=$CC
5518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5519 /* end confdefs.h. */
5520 $ac_c_conftest_c89_program
5521 _ACEOF
5522 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5523 do
5524 CC="$ac_save_CC $ac_arg"
5525 if ac_fn_c_try_compile "$LINENO"
5526 then :
5527 ac_cv_prog_cc_c89=$ac_arg
5528 fi
5529 rm -f core conftest.err conftest.$ac_objext conftest.beam
5530 test "x$ac_cv_prog_cc_c89" != "xno" && break
5531 done
5532 rm -f conftest.$ac_ext
5533 CC=$ac_save_CC
5534 fi
5535
5536 if test "x$ac_cv_prog_cc_c89" = xno
5537 then :
5538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5539 printf "%s\n" "unsupported" >&6; }
5540 else $as_nop
5541 if test "x$ac_cv_prog_cc_c89" = x
5542 then :
5543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5544 printf "%s\n" "none needed" >&6; }
5545 else $as_nop
5546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5547 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5548 CC="$CC $ac_cv_prog_cc_c89"
5549 fi
5550 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5551 ac_prog_cc_stdc=c89
5552 fi
5553 fi
5554
5555 ac_ext=c
5556 ac_cpp='$CPP $CPPFLAGS'
5557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5560
5561
5562 ac_ext=c
5563 ac_cpp='$CPP $CPPFLAGS'
5564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5568 printf %s "checking whether $CC understands -c and -o together... " >&6; }
5569 if test ${am_cv_prog_cc_c_o+y}
5570 then :
5571 printf %s "(cached) " >&6
5572 else $as_nop
5573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5574 /* end confdefs.h. */
5575
5576 int
5577 main (void)
5578 {
5579
5580 ;
5581 return 0;
5582 }
5583 _ACEOF
5584 # Make sure it works both with $CC and with simple cc.
5585 # Following AC_PROG_CC_C_O, we do the test twice because some
5586 # compilers refuse to overwrite an existing .o file with -o,
5587 # though they will create one.
5588 am_cv_prog_cc_c_o=yes
5589 for am_i in 1 2; do
5590 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5591 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5592 ac_status=$?
5593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5594 (exit $ac_status); } \
5595 && test -f conftest2.$ac_objext; then
5596 : OK
5597 else
5598 am_cv_prog_cc_c_o=no
5599 break
5600 fi
5601 done
5602 rm -f core conftest*
5603 unset am_i
5604 fi
5605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5606 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
5607 if test "$am_cv_prog_cc_c_o" != yes; then
5608 # Losing compiler, so override with the script.
5609 # FIXME: It is wrong to rewrite CC.
5610 # But if we don't then we get into trouble of one sort or another.
5611 # A longer-term fix would be to have automake use am__CC in this case,
5612 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5613 CC="$am_aux_dir/compile $CC"
5614 fi
5615 ac_ext=c
5616 ac_cpp='$CPP $CPPFLAGS'
5617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5620
5621
5622 depcc="$CC" am_compiler_list=
5623
5624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5625 printf %s "checking dependency style of $depcc... " >&6; }
5626 if test ${am_cv_CC_dependencies_compiler_type+y}
5627 then :
5628 printf %s "(cached) " >&6
5629 else $as_nop
5630 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5631 # We make a subdir and do the tests there. Otherwise we can end up
5632 # making bogus files that we don't know about and never remove. For
5633 # instance it was reported that on HP-UX the gcc test will end up
5634 # making a dummy file named 'D' -- because '-MD' means "put the output
5635 # in D".
5636 rm -rf conftest.dir
5637 mkdir conftest.dir
5638 # Copy depcomp to subdir because otherwise we won't find it if we're
5639 # using a relative directory.
5640 cp "$am_depcomp" conftest.dir
5641 cd conftest.dir
5642 # We will build objects and dependencies in a subdirectory because
5643 # it helps to detect inapplicable dependency modes. For instance
5644 # both Tru64's cc and ICC support -MD to output dependencies as a
5645 # side effect of compilation, but ICC will put the dependencies in
5646 # the current directory while Tru64 will put them in the object
5647 # directory.
5648 mkdir sub
5649
5650 am_cv_CC_dependencies_compiler_type=none
5651 if test "$am_compiler_list" = ""; then
5652 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5653 fi
5654 am__universal=false
5655 case " $depcc " in #(
5656 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5657 esac
5658
5659 for depmode in $am_compiler_list; do
5660 # Setup a source with many dependencies, because some compilers
5661 # like to wrap large dependency lists on column 80 (with \), and
5662 # we should not choose a depcomp mode which is confused by this.
5663 #
5664 # We need to recreate these files for each test, as the compiler may
5665 # overwrite some of them when testing with obscure command lines.
5666 # This happens at least with the AIX C compiler.
5667 : > sub/conftest.c
5668 for i in 1 2 3 4 5 6; do
5669 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5670 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5671 # Solaris 10 /bin/sh.
5672 echo '/* dummy */' > sub/conftst$i.h
5673 done
5674 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5675
5676 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5677 # mode. It turns out that the SunPro C++ compiler does not properly
5678 # handle '-M -o', and we need to detect this. Also, some Intel
5679 # versions had trouble with output in subdirs.
5680 am__obj=sub/conftest.${OBJEXT-o}
5681 am__minus_obj="-o $am__obj"
5682 case $depmode in
5683 gcc)
5684 # This depmode causes a compiler race in universal mode.
5685 test "$am__universal" = false || continue
5686 ;;
5687 nosideeffect)
5688 # After this tag, mechanisms are not by side-effect, so they'll
5689 # only be used when explicitly requested.
5690 if test "x$enable_dependency_tracking" = xyes; then
5691 continue
5692 else
5693 break
5694 fi
5695 ;;
5696 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5697 # This compiler won't grok '-c -o', but also, the minuso test has
5698 # not run yet. These depmodes are late enough in the game, and
5699 # so weak that their functioning should not be impacted.
5700 am__obj=conftest.${OBJEXT-o}
5701 am__minus_obj=
5702 ;;
5703 none) break ;;
5704 esac
5705 if depmode=$depmode \
5706 source=sub/conftest.c object=$am__obj \
5707 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5708 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5709 >/dev/null 2>conftest.err &&
5710 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5711 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5712 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5713 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5714 # icc doesn't choke on unknown options, it will just issue warnings
5715 # or remarks (even with -Werror). So we grep stderr for any message
5716 # that says an option was ignored or not supported.
5717 # When given -MP, icc 7.0 and 7.1 complain thusly:
5718 # icc: Command line warning: ignoring option '-M'; no argument required
5719 # The diagnosis changed in icc 8.0:
5720 # icc: Command line remark: option '-MP' not supported
5721 if (grep 'ignoring option' conftest.err ||
5722 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5723 am_cv_CC_dependencies_compiler_type=$depmode
5724 break
5725 fi
5726 fi
5727 done
5728
5729 cd ..
5730 rm -rf conftest.dir
5731 else
5732 am_cv_CC_dependencies_compiler_type=none
5733 fi
5734
5735 fi
5736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5737 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
5738 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5739
5740 if
5741 test "x$enable_dependency_tracking" != xno \
5742 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5743 am__fastdepCC_TRUE=
5744 am__fastdepCC_FALSE='#'
5745 else
5746 am__fastdepCC_TRUE='#'
5747 am__fastdepCC_FALSE=
5748 fi
5749
5750
5751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5752 printf %s "checking for a sed that does not truncate output... " >&6; }
5753 if test ${ac_cv_path_SED+y}
5754 then :
5755 printf %s "(cached) " >&6
5756 else $as_nop
5757 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5758 for ac_i in 1 2 3 4 5 6 7; do
5759 ac_script="$ac_script$as_nl$ac_script"
5760 done
5761 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5762 { ac_script=; unset ac_script;}
5763 if test -z "$SED"; then
5764 ac_path_SED_found=false
5765 # Loop through the user's path and test for each of PROGNAME-LIST
5766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5767 for as_dir in $PATH
5768 do
5769 IFS=$as_save_IFS
5770 case $as_dir in #(((
5771 '') as_dir=./ ;;
5772 */) ;;
5773 *) as_dir=$as_dir/ ;;
5774 esac
5775 for ac_prog in sed gsed
5776 do
5777 for ac_exec_ext in '' $ac_executable_extensions; do
5778 ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
5779 as_fn_executable_p "$ac_path_SED" || continue
5780 # Check for GNU ac_path_SED and select it if it is found.
5781 # Check for GNU $ac_path_SED
5782 case `"$ac_path_SED" --version 2>&1` in
5783 *GNU*)
5784 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5785 *)
5786 ac_count=0
5787 printf %s 0123456789 >"conftest.in"
5788 while :
5789 do
5790 cat "conftest.in" "conftest.in" >"conftest.tmp"
5791 mv "conftest.tmp" "conftest.in"
5792 cp "conftest.in" "conftest.nl"
5793 printf "%s\n" '' >> "conftest.nl"
5794 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5795 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5796 as_fn_arith $ac_count + 1 && ac_count=$as_val
5797 if test $ac_count -gt ${ac_path_SED_max-0}; then
5798 # Best one so far, save it but keep looking for a better one
5799 ac_cv_path_SED="$ac_path_SED"
5800 ac_path_SED_max=$ac_count
5801 fi
5802 # 10*(2^10) chars as input seems more than enough
5803 test $ac_count -gt 10 && break
5804 done
5805 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5806 esac
5807
5808 $ac_path_SED_found && break 3
5809 done
5810 done
5811 done
5812 IFS=$as_save_IFS
5813 if test -z "$ac_cv_path_SED"; then
5814 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5815 fi
5816 else
5817 ac_cv_path_SED=$SED
5818 fi
5819
5820 fi
5821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5822 printf "%s\n" "$ac_cv_path_SED" >&6; }
5823 SED="$ac_cv_path_SED"
5824 rm -f conftest.sed
5825
5826 test -z "$SED" && SED=sed
5827 Xsed="$SED -e 1s/^X//"
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5840 printf %s "checking for grep that handles long lines and -e... " >&6; }
5841 if test ${ac_cv_path_GREP+y}
5842 then :
5843 printf %s "(cached) " >&6
5844 else $as_nop
5845 if test -z "$GREP"; then
5846 ac_path_GREP_found=false
5847 # Loop through the user's path and test for each of PROGNAME-LIST
5848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5849 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5850 do
5851 IFS=$as_save_IFS
5852 case $as_dir in #(((
5853 '') as_dir=./ ;;
5854 */) ;;
5855 *) as_dir=$as_dir/ ;;
5856 esac
5857 for ac_prog in grep ggrep
5858 do
5859 for ac_exec_ext in '' $ac_executable_extensions; do
5860 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
5861 as_fn_executable_p "$ac_path_GREP" || continue
5862 # Check for GNU ac_path_GREP and select it if it is found.
5863 # Check for GNU $ac_path_GREP
5864 case `"$ac_path_GREP" --version 2>&1` in
5865 *GNU*)
5866 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5867 *)
5868 ac_count=0
5869 printf %s 0123456789 >"conftest.in"
5870 while :
5871 do
5872 cat "conftest.in" "conftest.in" >"conftest.tmp"
5873 mv "conftest.tmp" "conftest.in"
5874 cp "conftest.in" "conftest.nl"
5875 printf "%s\n" 'GREP' >> "conftest.nl"
5876 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5877 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5878 as_fn_arith $ac_count + 1 && ac_count=$as_val
5879 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5880 # Best one so far, save it but keep looking for a better one
5881 ac_cv_path_GREP="$ac_path_GREP"
5882 ac_path_GREP_max=$ac_count
5883 fi
5884 # 10*(2^10) chars as input seems more than enough
5885 test $ac_count -gt 10 && break
5886 done
5887 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5888 esac
5889
5890 $ac_path_GREP_found && break 3
5891 done
5892 done
5893 done
5894 IFS=$as_save_IFS
5895 if test -z "$ac_cv_path_GREP"; then
5896 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5897 fi
5898 else
5899 ac_cv_path_GREP=$GREP
5900 fi
5901
5902 fi
5903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5904 printf "%s\n" "$ac_cv_path_GREP" >&6; }
5905 GREP="$ac_cv_path_GREP"
5906
5907
5908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5909 printf %s "checking for egrep... " >&6; }
5910 if test ${ac_cv_path_EGREP+y}
5911 then :
5912 printf %s "(cached) " >&6
5913 else $as_nop
5914 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5915 then ac_cv_path_EGREP="$GREP -E"
5916 else
5917 if test -z "$EGREP"; then
5918 ac_path_EGREP_found=false
5919 # Loop through the user's path and test for each of PROGNAME-LIST
5920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5921 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5922 do
5923 IFS=$as_save_IFS
5924 case $as_dir in #(((
5925 '') as_dir=./ ;;
5926 */) ;;
5927 *) as_dir=$as_dir/ ;;
5928 esac
5929 for ac_prog in egrep
5930 do
5931 for ac_exec_ext in '' $ac_executable_extensions; do
5932 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
5933 as_fn_executable_p "$ac_path_EGREP" || continue
5934 # Check for GNU ac_path_EGREP and select it if it is found.
5935 # Check for GNU $ac_path_EGREP
5936 case `"$ac_path_EGREP" --version 2>&1` in
5937 *GNU*)
5938 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5939 *)
5940 ac_count=0
5941 printf %s 0123456789 >"conftest.in"
5942 while :
5943 do
5944 cat "conftest.in" "conftest.in" >"conftest.tmp"
5945 mv "conftest.tmp" "conftest.in"
5946 cp "conftest.in" "conftest.nl"
5947 printf "%s\n" 'EGREP' >> "conftest.nl"
5948 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5949 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5950 as_fn_arith $ac_count + 1 && ac_count=$as_val
5951 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5952 # Best one so far, save it but keep looking for a better one
5953 ac_cv_path_EGREP="$ac_path_EGREP"
5954 ac_path_EGREP_max=$ac_count
5955 fi
5956 # 10*(2^10) chars as input seems more than enough
5957 test $ac_count -gt 10 && break
5958 done
5959 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5960 esac
5961
5962 $ac_path_EGREP_found && break 3
5963 done
5964 done
5965 done
5966 IFS=$as_save_IFS
5967 if test -z "$ac_cv_path_EGREP"; then
5968 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5969 fi
5970 else
5971 ac_cv_path_EGREP=$EGREP
5972 fi
5973
5974 fi
5975 fi
5976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5977 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
5978 EGREP="$ac_cv_path_EGREP"
5979
5980
5981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5982 printf %s "checking for fgrep... " >&6; }
5983 if test ${ac_cv_path_FGREP+y}
5984 then :
5985 printf %s "(cached) " >&6
5986 else $as_nop
5987 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5988 then ac_cv_path_FGREP="$GREP -F"
5989 else
5990 if test -z "$FGREP"; then
5991 ac_path_FGREP_found=false
5992 # Loop through the user's path and test for each of PROGNAME-LIST
5993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5994 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5995 do
5996 IFS=$as_save_IFS
5997 case $as_dir in #(((
5998 '') as_dir=./ ;;
5999 */) ;;
6000 *) as_dir=$as_dir/ ;;
6001 esac
6002 for ac_prog in fgrep
6003 do
6004 for ac_exec_ext in '' $ac_executable_extensions; do
6005 ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
6006 as_fn_executable_p "$ac_path_FGREP" || continue
6007 # Check for GNU ac_path_FGREP and select it if it is found.
6008 # Check for GNU $ac_path_FGREP
6009 case `"$ac_path_FGREP" --version 2>&1` in
6010 *GNU*)
6011 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6012 *)
6013 ac_count=0
6014 printf %s 0123456789 >"conftest.in"
6015 while :
6016 do
6017 cat "conftest.in" "conftest.in" >"conftest.tmp"
6018 mv "conftest.tmp" "conftest.in"
6019 cp "conftest.in" "conftest.nl"
6020 printf "%s\n" 'FGREP' >> "conftest.nl"
6021 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6022 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6023 as_fn_arith $ac_count + 1 && ac_count=$as_val
6024 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6025 # Best one so far, save it but keep looking for a better one
6026 ac_cv_path_FGREP="$ac_path_FGREP"
6027 ac_path_FGREP_max=$ac_count
6028 fi
6029 # 10*(2^10) chars as input seems more than enough
6030 test $ac_count -gt 10 && break
6031 done
6032 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6033 esac
6034
6035 $ac_path_FGREP_found && break 3
6036 done
6037 done
6038 done
6039 IFS=$as_save_IFS
6040 if test -z "$ac_cv_path_FGREP"; then
6041 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6042 fi
6043 else
6044 ac_cv_path_FGREP=$FGREP
6045 fi
6046
6047 fi
6048 fi
6049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6050 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
6051 FGREP="$ac_cv_path_FGREP"
6052
6053
6054 test -z "$GREP" && GREP=grep
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074 # Check whether --with-gnu-ld was given.
6075 if test ${with_gnu_ld+y}
6076 then :
6077 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
6078 else $as_nop
6079 with_gnu_ld=no
6080 fi
6081
6082 ac_prog=ld
6083 if test yes = "$GCC"; then
6084 # Check if gcc -print-prog-name=ld gives a path.
6085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6086 printf %s "checking for ld used by $CC... " >&6; }
6087 case $host in
6088 *-*-mingw*)
6089 # gcc leaves a trailing carriage return, which upsets mingw
6090 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6091 *)
6092 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6093 esac
6094 case $ac_prog in
6095 # Accept absolute paths.
6096 [\\/]* | ?:[\\/]*)
6097 re_direlt='/[^/][^/]*/\.\./'
6098 # Canonicalize the pathname of ld
6099 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6100 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6101 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6102 done
6103 test -z "$LD" && LD=$ac_prog
6104 ;;
6105 "")
6106 # If it fails, then pretend we aren't using GCC.
6107 ac_prog=ld
6108 ;;
6109 *)
6110 # If it is relative, then search for the first ld in PATH.
6111 with_gnu_ld=unknown
6112 ;;
6113 esac
6114 elif test yes = "$with_gnu_ld"; then
6115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6116 printf %s "checking for GNU ld... " >&6; }
6117 else
6118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6119 printf %s "checking for non-GNU ld... " >&6; }
6120 fi
6121 if test ${lt_cv_path_LD+y}
6122 then :
6123 printf %s "(cached) " >&6
6124 else $as_nop
6125 if test -z "$LD"; then
6126 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
6127 for ac_dir in $PATH; do
6128 IFS=$lt_save_ifs
6129 test -z "$ac_dir" && ac_dir=.
6130 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6131 lt_cv_path_LD=$ac_dir/$ac_prog
6132 # Check to see if the program is GNU ld. I'd rather use --version,
6133 # but apparently some variants of GNU ld only accept -v.
6134 # Break only if it was the GNU/non-GNU ld that we prefer.
6135 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6136 *GNU* | *'with BFD'*)
6137 test no != "$with_gnu_ld" && break
6138 ;;
6139 *)
6140 test yes != "$with_gnu_ld" && break
6141 ;;
6142 esac
6143 fi
6144 done
6145 IFS=$lt_save_ifs
6146 else
6147 lt_cv_path_LD=$LD # Let the user override the test with a path.
6148 fi
6149 fi
6150
6151 LD=$lt_cv_path_LD
6152 if test -n "$LD"; then
6153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6154 printf "%s\n" "$LD" >&6; }
6155 else
6156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6157 printf "%s\n" "no" >&6; }
6158 fi
6159 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6161 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
6162 if test ${lt_cv_prog_gnu_ld+y}
6163 then :
6164 printf %s "(cached) " >&6
6165 else $as_nop
6166 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6167 case `$LD -v 2>&1 </dev/null` in
6168 *GNU* | *'with BFD'*)
6169 lt_cv_prog_gnu_ld=yes
6170 ;;
6171 *)
6172 lt_cv_prog_gnu_ld=no
6173 ;;
6174 esac
6175 fi
6176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6177 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
6178 with_gnu_ld=$lt_cv_prog_gnu_ld
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6189 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6190 if test ${lt_cv_path_NM+y}
6191 then :
6192 printf %s "(cached) " >&6
6193 else $as_nop
6194 if test -n "$NM"; then
6195 # Let the user override the test.
6196 lt_cv_path_NM=$NM
6197 else
6198 lt_nm_to_check=${ac_tool_prefix}nm
6199 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6200 lt_nm_to_check="$lt_nm_to_check nm"
6201 fi
6202 for lt_tmp_nm in $lt_nm_to_check; do
6203 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
6204 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6205 IFS=$lt_save_ifs
6206 test -z "$ac_dir" && ac_dir=.
6207 tmp_nm=$ac_dir/$lt_tmp_nm
6208 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
6209 # Check to see if the nm accepts a BSD-compat flag.
6210 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
6211 # nm: unknown option "B" ignored
6212 # Tru64's nm complains that /dev/null is an invalid object file
6213 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
6214 case $build_os in
6215 mingw*) lt_bad_file=conftest.nm/nofile ;;
6216 *) lt_bad_file=/dev/null ;;
6217 esac
6218 case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
6219 *$lt_bad_file* | *'Invalid file or object type'*)
6220 lt_cv_path_NM="$tmp_nm -B"
6221 break 2
6222 ;;
6223 *)
6224 case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
6225 */dev/null*)
6226 lt_cv_path_NM="$tmp_nm -p"
6227 break 2
6228 ;;
6229 *)
6230 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6231 continue # so that we can try to find one that supports BSD flags
6232 ;;
6233 esac
6234 ;;
6235 esac
6236 fi
6237 done
6238 IFS=$lt_save_ifs
6239 done
6240 : ${lt_cv_path_NM=no}
6241 fi
6242 fi
6243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6244 printf "%s\n" "$lt_cv_path_NM" >&6; }
6245 if test no != "$lt_cv_path_NM"; then
6246 NM=$lt_cv_path_NM
6247 else
6248 # Didn't find any BSD compatible name lister, look for dumpbin.
6249 if test -n "$DUMPBIN"; then :
6250 # Let the user override the test.
6251 else
6252 if test -n "$ac_tool_prefix"; then
6253 for ac_prog in dumpbin "link -dump"
6254 do
6255 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6256 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6258 printf %s "checking for $ac_word... " >&6; }
6259 if test ${ac_cv_prog_DUMPBIN+y}
6260 then :
6261 printf %s "(cached) " >&6
6262 else $as_nop
6263 if test -n "$DUMPBIN"; then
6264 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6265 else
6266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6267 for as_dir in $PATH
6268 do
6269 IFS=$as_save_IFS
6270 case $as_dir in #(((
6271 '') as_dir=./ ;;
6272 */) ;;
6273 *) as_dir=$as_dir/ ;;
6274 esac
6275 for ac_exec_ext in '' $ac_executable_extensions; do
6276 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6277 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6278 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6279 break 2
6280 fi
6281 done
6282 done
6283 IFS=$as_save_IFS
6284
6285 fi
6286 fi
6287 DUMPBIN=$ac_cv_prog_DUMPBIN
6288 if test -n "$DUMPBIN"; then
6289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6290 printf "%s\n" "$DUMPBIN" >&6; }
6291 else
6292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6293 printf "%s\n" "no" >&6; }
6294 fi
6295
6296
6297 test -n "$DUMPBIN" && break
6298 done
6299 fi
6300 if test -z "$DUMPBIN"; then
6301 ac_ct_DUMPBIN=$DUMPBIN
6302 for ac_prog in dumpbin "link -dump"
6303 do
6304 # Extract the first word of "$ac_prog", so it can be a program name with args.
6305 set dummy $ac_prog; ac_word=$2
6306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6307 printf %s "checking for $ac_word... " >&6; }
6308 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
6309 then :
6310 printf %s "(cached) " >&6
6311 else $as_nop
6312 if test -n "$ac_ct_DUMPBIN"; then
6313 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6314 else
6315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6316 for as_dir in $PATH
6317 do
6318 IFS=$as_save_IFS
6319 case $as_dir in #(((
6320 '') as_dir=./ ;;
6321 */) ;;
6322 *) as_dir=$as_dir/ ;;
6323 esac
6324 for ac_exec_ext in '' $ac_executable_extensions; do
6325 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6326 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6327 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6328 break 2
6329 fi
6330 done
6331 done
6332 IFS=$as_save_IFS
6333
6334 fi
6335 fi
6336 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6337 if test -n "$ac_ct_DUMPBIN"; then
6338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6339 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
6340 else
6341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6342 printf "%s\n" "no" >&6; }
6343 fi
6344
6345
6346 test -n "$ac_ct_DUMPBIN" && break
6347 done
6348
6349 if test "x$ac_ct_DUMPBIN" = x; then
6350 DUMPBIN=":"
6351 else
6352 case $cross_compiling:$ac_tool_warned in
6353 yes:)
6354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6355 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6356 ac_tool_warned=yes ;;
6357 esac
6358 DUMPBIN=$ac_ct_DUMPBIN
6359 fi
6360 fi
6361
6362 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
6363 *COFF*)
6364 DUMPBIN="$DUMPBIN -symbols -headers"
6365 ;;
6366 *)
6367 DUMPBIN=:
6368 ;;
6369 esac
6370 fi
6371
6372 if test : != "$DUMPBIN"; then
6373 NM=$DUMPBIN
6374 fi
6375 fi
6376 test -z "$NM" && NM=nm
6377
6378
6379
6380
6381
6382
6383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6384 printf %s "checking the name lister ($NM) interface... " >&6; }
6385 if test ${lt_cv_nm_interface+y}
6386 then :
6387 printf %s "(cached) " >&6
6388 else $as_nop
6389 lt_cv_nm_interface="BSD nm"
6390 echo "int some_variable = 0;" > conftest.$ac_ext
6391 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6392 (eval "$ac_compile" 2>conftest.err)
6393 cat conftest.err >&5
6394 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6395 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6396 cat conftest.err >&5
6397 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6398 cat conftest.out >&5
6399 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6400 lt_cv_nm_interface="MS dumpbin"
6401 fi
6402 rm -f conftest*
6403 fi
6404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6405 printf "%s\n" "$lt_cv_nm_interface" >&6; }
6406
6407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6408 printf %s "checking whether ln -s works... " >&6; }
6409 LN_S=$as_ln_s
6410 if test "$LN_S" = "ln -s"; then
6411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6412 printf "%s\n" "yes" >&6; }
6413 else
6414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6415 printf "%s\n" "no, using $LN_S" >&6; }
6416 fi
6417
6418 # find the maximum length of command line arguments
6419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6420 printf %s "checking the maximum length of command line arguments... " >&6; }
6421 if test ${lt_cv_sys_max_cmd_len+y}
6422 then :
6423 printf %s "(cached) " >&6
6424 else $as_nop
6425 i=0
6426 teststring=ABCD
6427
6428 case $build_os in
6429 msdosdjgpp*)
6430 # On DJGPP, this test can blow up pretty badly due to problems in libc
6431 # (any single argument exceeding 2000 bytes causes a buffer overrun
6432 # during glob expansion). Even if it were fixed, the result of this
6433 # check would be larger than it should be.
6434 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6435 ;;
6436
6437 gnu*)
6438 # Under GNU Hurd, this test is not required because there is
6439 # no limit to the length of command line arguments.
6440 # Libtool will interpret -1 as no limit whatsoever
6441 lt_cv_sys_max_cmd_len=-1;
6442 ;;
6443
6444 cygwin* | mingw* | cegcc*)
6445 # On Win9x/ME, this test blows up -- it succeeds, but takes
6446 # about 5 minutes as the teststring grows exponentially.
6447 # Worse, since 9x/ME are not pre-emptively multitasking,
6448 # you end up with a "frozen" computer, even though with patience
6449 # the test eventually succeeds (with a max line length of 256k).
6450 # Instead, let's just punt: use the minimum linelength reported by
6451 # all of the supported platforms: 8192 (on NT/2K/XP).
6452 lt_cv_sys_max_cmd_len=8192;
6453 ;;
6454
6455 mint*)
6456 # On MiNT this can take a long time and run out of memory.
6457 lt_cv_sys_max_cmd_len=8192;
6458 ;;
6459
6460 amigaos*)
6461 # On AmigaOS with pdksh, this test takes hours, literally.
6462 # So we just punt and use a minimum line length of 8192.
6463 lt_cv_sys_max_cmd_len=8192;
6464 ;;
6465
6466 bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
6467 # This has been around since 386BSD, at least. Likely further.
6468 if test -x /sbin/sysctl; then
6469 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6470 elif test -x /usr/sbin/sysctl; then
6471 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6472 else
6473 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6474 fi
6475 # And add a safety zone
6476 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6477 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6478 ;;
6479
6480 interix*)
6481 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6482 lt_cv_sys_max_cmd_len=196608
6483 ;;
6484
6485 os2*)
6486 # The test takes a long time on OS/2.
6487 lt_cv_sys_max_cmd_len=8192
6488 ;;
6489
6490 osf*)
6491 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6492 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6493 # nice to cause kernel panics so lets avoid the loop below.
6494 # First set a reasonable default.
6495 lt_cv_sys_max_cmd_len=16384
6496 #
6497 if test -x /sbin/sysconfig; then
6498 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6499 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6500 esac
6501 fi
6502 ;;
6503 sco3.2v5*)
6504 lt_cv_sys_max_cmd_len=102400
6505 ;;
6506 sysv5* | sco5v6* | sysv4.2uw2*)
6507 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6508 if test -n "$kargmax"; then
6509 lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[ ]//'`
6510 else
6511 lt_cv_sys_max_cmd_len=32768
6512 fi
6513 ;;
6514 *)
6515 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6516 if test -n "$lt_cv_sys_max_cmd_len" && \
6517 test undefined != "$lt_cv_sys_max_cmd_len"; then
6518 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6519 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6520 else
6521 # Make teststring a little bigger before we do anything with it.
6522 # a 1K string should be a reasonable start.
6523 for i in 1 2 3 4 5 6 7 8; do
6524 teststring=$teststring$teststring
6525 done
6526 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6527 # If test is not a shell built-in, we'll probably end up computing a
6528 # maximum length that is only half of the actual maximum length, but
6529 # we can't tell.
6530 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
6531 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6532 test 17 != "$i" # 1/2 MB should be enough
6533 do
6534 i=`expr $i + 1`
6535 teststring=$teststring$teststring
6536 done
6537 # Only check the string length outside the loop.
6538 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6539 teststring=
6540 # Add a significant safety factor because C++ compilers can tack on
6541 # massive amounts of additional arguments before passing them to the
6542 # linker. It appears as though 1/2 is a usable value.
6543 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6544 fi
6545 ;;
6546 esac
6547
6548 fi
6549
6550 if test -n "$lt_cv_sys_max_cmd_len"; then
6551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6552 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
6553 else
6554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
6555 printf "%s\n" "none" >&6; }
6556 fi
6557 max_cmd_len=$lt_cv_sys_max_cmd_len
6558
6559
6560
6561
6562
6563
6564 : ${CP="cp -f"}
6565 : ${MV="mv -f"}
6566 : ${RM="rm -f"}
6567
6568 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6569 lt_unset=unset
6570 else
6571 lt_unset=false
6572 fi
6573
6574
6575
6576
6577
6578 # test EBCDIC or ASCII
6579 case `echo X|tr X '\101'` in
6580 A) # ASCII based system
6581 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6582 lt_SP2NL='tr \040 \012'
6583 lt_NL2SP='tr \015\012 \040\040'
6584 ;;
6585 *) # EBCDIC based system
6586 lt_SP2NL='tr \100 \n'
6587 lt_NL2SP='tr \r\n \100\100'
6588 ;;
6589 esac
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6600 printf %s "checking how to convert $build file names to $host format... " >&6; }
6601 if test ${lt_cv_to_host_file_cmd+y}
6602 then :
6603 printf %s "(cached) " >&6
6604 else $as_nop
6605 case $host in
6606 *-*-mingw* )
6607 case $build in
6608 *-*-mingw* ) # actually msys
6609 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6610 ;;
6611 *-*-cygwin* )
6612 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6613 ;;
6614 * ) # otherwise, assume *nix
6615 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6616 ;;
6617 esac
6618 ;;
6619 *-*-cygwin* )
6620 case $build in
6621 *-*-mingw* ) # actually msys
6622 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6623 ;;
6624 *-*-cygwin* )
6625 lt_cv_to_host_file_cmd=func_convert_file_noop
6626 ;;
6627 * ) # otherwise, assume *nix
6628 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6629 ;;
6630 esac
6631 ;;
6632 * ) # unhandled hosts (and "normal" native builds)
6633 lt_cv_to_host_file_cmd=func_convert_file_noop
6634 ;;
6635 esac
6636
6637 fi
6638
6639 to_host_file_cmd=$lt_cv_to_host_file_cmd
6640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6641 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
6642
6643
6644
6645
6646
6647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6648 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
6649 if test ${lt_cv_to_tool_file_cmd+y}
6650 then :
6651 printf %s "(cached) " >&6
6652 else $as_nop
6653 #assume ordinary cross tools, or native build.
6654 lt_cv_to_tool_file_cmd=func_convert_file_noop
6655 case $host in
6656 *-*-mingw* )
6657 case $build in
6658 *-*-mingw* ) # actually msys
6659 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6660 ;;
6661 esac
6662 ;;
6663 esac
6664
6665 fi
6666
6667 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6669 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
6670
6671
6672
6673
6674
6675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6676 printf %s "checking for $LD option to reload object files... " >&6; }
6677 if test ${lt_cv_ld_reload_flag+y}
6678 then :
6679 printf %s "(cached) " >&6
6680 else $as_nop
6681 lt_cv_ld_reload_flag='-r'
6682 fi
6683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6684 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
6685 reload_flag=$lt_cv_ld_reload_flag
6686 case $reload_flag in
6687 "" | " "*) ;;
6688 *) reload_flag=" $reload_flag" ;;
6689 esac
6690 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6691 case $host_os in
6692 cygwin* | mingw* | pw32* | cegcc*)
6693 if test yes != "$GCC"; then
6694 reload_cmds=false
6695 fi
6696 ;;
6697 darwin*)
6698 if test yes = "$GCC"; then
6699 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6700 else
6701 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6702 fi
6703 ;;
6704 esac
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714 if test -n "$ac_tool_prefix"; then
6715 # Extract the first word of "${ac_tool_prefix}file", so it can be a program name with args.
6716 set dummy ${ac_tool_prefix}file; ac_word=$2
6717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6718 printf %s "checking for $ac_word... " >&6; }
6719 if test ${ac_cv_prog_FILECMD+y}
6720 then :
6721 printf %s "(cached) " >&6
6722 else $as_nop
6723 if test -n "$FILECMD"; then
6724 ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
6725 else
6726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6727 for as_dir in $PATH
6728 do
6729 IFS=$as_save_IFS
6730 case $as_dir in #(((
6731 '') as_dir=./ ;;
6732 */) ;;
6733 *) as_dir=$as_dir/ ;;
6734 esac
6735 for ac_exec_ext in '' $ac_executable_extensions; do
6736 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6737 ac_cv_prog_FILECMD="${ac_tool_prefix}file"
6738 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6739 break 2
6740 fi
6741 done
6742 done
6743 IFS=$as_save_IFS
6744
6745 fi
6746 fi
6747 FILECMD=$ac_cv_prog_FILECMD
6748 if test -n "$FILECMD"; then
6749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
6750 printf "%s\n" "$FILECMD" >&6; }
6751 else
6752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6753 printf "%s\n" "no" >&6; }
6754 fi
6755
6756
6757 fi
6758 if test -z "$ac_cv_prog_FILECMD"; then
6759 ac_ct_FILECMD=$FILECMD
6760 # Extract the first word of "file", so it can be a program name with args.
6761 set dummy file; ac_word=$2
6762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6763 printf %s "checking for $ac_word... " >&6; }
6764 if test ${ac_cv_prog_ac_ct_FILECMD+y}
6765 then :
6766 printf %s "(cached) " >&6
6767 else $as_nop
6768 if test -n "$ac_ct_FILECMD"; then
6769 ac_cv_prog_ac_ct_FILECMD="$ac_ct_FILECMD" # Let the user override the test.
6770 else
6771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6772 for as_dir in $PATH
6773 do
6774 IFS=$as_save_IFS
6775 case $as_dir in #(((
6776 '') as_dir=./ ;;
6777 */) ;;
6778 *) as_dir=$as_dir/ ;;
6779 esac
6780 for ac_exec_ext in '' $ac_executable_extensions; do
6781 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6782 ac_cv_prog_ac_ct_FILECMD="file"
6783 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6784 break 2
6785 fi
6786 done
6787 done
6788 IFS=$as_save_IFS
6789
6790 fi
6791 fi
6792 ac_ct_FILECMD=$ac_cv_prog_ac_ct_FILECMD
6793 if test -n "$ac_ct_FILECMD"; then
6794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FILECMD" >&5
6795 printf "%s\n" "$ac_ct_FILECMD" >&6; }
6796 else
6797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6798 printf "%s\n" "no" >&6; }
6799 fi
6800
6801 if test "x$ac_ct_FILECMD" = x; then
6802 FILECMD=":"
6803 else
6804 case $cross_compiling:$ac_tool_warned in
6805 yes:)
6806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6807 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6808 ac_tool_warned=yes ;;
6809 esac
6810 FILECMD=$ac_ct_FILECMD
6811 fi
6812 else
6813 FILECMD="$ac_cv_prog_FILECMD"
6814 fi
6815
6816
6817
6818
6819
6820
6821
6822 if test -n "$ac_tool_prefix"; then
6823 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6824 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6826 printf %s "checking for $ac_word... " >&6; }
6827 if test ${ac_cv_prog_OBJDUMP+y}
6828 then :
6829 printf %s "(cached) " >&6
6830 else $as_nop
6831 if test -n "$OBJDUMP"; then
6832 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6833 else
6834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6835 for as_dir in $PATH
6836 do
6837 IFS=$as_save_IFS
6838 case $as_dir in #(((
6839 '') as_dir=./ ;;
6840 */) ;;
6841 *) as_dir=$as_dir/ ;;
6842 esac
6843 for ac_exec_ext in '' $ac_executable_extensions; do
6844 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6845 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6846 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6847 break 2
6848 fi
6849 done
6850 done
6851 IFS=$as_save_IFS
6852
6853 fi
6854 fi
6855 OBJDUMP=$ac_cv_prog_OBJDUMP
6856 if test -n "$OBJDUMP"; then
6857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6858 printf "%s\n" "$OBJDUMP" >&6; }
6859 else
6860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6861 printf "%s\n" "no" >&6; }
6862 fi
6863
6864
6865 fi
6866 if test -z "$ac_cv_prog_OBJDUMP"; then
6867 ac_ct_OBJDUMP=$OBJDUMP
6868 # Extract the first word of "objdump", so it can be a program name with args.
6869 set dummy objdump; ac_word=$2
6870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6871 printf %s "checking for $ac_word... " >&6; }
6872 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
6873 then :
6874 printf %s "(cached) " >&6
6875 else $as_nop
6876 if test -n "$ac_ct_OBJDUMP"; then
6877 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6878 else
6879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6880 for as_dir in $PATH
6881 do
6882 IFS=$as_save_IFS
6883 case $as_dir in #(((
6884 '') as_dir=./ ;;
6885 */) ;;
6886 *) as_dir=$as_dir/ ;;
6887 esac
6888 for ac_exec_ext in '' $ac_executable_extensions; do
6889 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6890 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6891 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6892 break 2
6893 fi
6894 done
6895 done
6896 IFS=$as_save_IFS
6897
6898 fi
6899 fi
6900 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6901 if test -n "$ac_ct_OBJDUMP"; then
6902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6903 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
6904 else
6905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6906 printf "%s\n" "no" >&6; }
6907 fi
6908
6909 if test "x$ac_ct_OBJDUMP" = x; then
6910 OBJDUMP="false"
6911 else
6912 case $cross_compiling:$ac_tool_warned in
6913 yes:)
6914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6915 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6916 ac_tool_warned=yes ;;
6917 esac
6918 OBJDUMP=$ac_ct_OBJDUMP
6919 fi
6920 else
6921 OBJDUMP="$ac_cv_prog_OBJDUMP"
6922 fi
6923
6924 test -z "$OBJDUMP" && OBJDUMP=objdump
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6935 printf %s "checking how to recognize dependent libraries... " >&6; }
6936 if test ${lt_cv_deplibs_check_method+y}
6937 then :
6938 printf %s "(cached) " >&6
6939 else $as_nop
6940 lt_cv_file_magic_cmd='$MAGIC_CMD'
6941 lt_cv_file_magic_test_file=
6942 lt_cv_deplibs_check_method='unknown'
6943 # Need to set the preceding variable on all platforms that support
6944 # interlibrary dependencies.
6945 # 'none' -- dependencies not supported.
6946 # 'unknown' -- same as none, but documents that we really don't know.
6947 # 'pass_all' -- all dependencies passed with no checks.
6948 # 'test_compile' -- check by making test program.
6949 # 'file_magic [[regex]]' -- check by looking for files in library path
6950 # that responds to the $file_magic_cmd with a given extended regex.
6951 # If you have 'file' or equivalent on your system and you're not sure
6952 # whether 'pass_all' will *always* work, you probably want this one.
6953
6954 case $host_os in
6955 aix[4-9]*)
6956 lt_cv_deplibs_check_method=pass_all
6957 ;;
6958
6959 beos*)
6960 lt_cv_deplibs_check_method=pass_all
6961 ;;
6962
6963 bsdi[45]*)
6964 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6965 lt_cv_file_magic_cmd='$FILECMD -L'
6966 lt_cv_file_magic_test_file=/shlib/libc.so
6967 ;;
6968
6969 cygwin*)
6970 # func_win32_libid is a shell function defined in ltmain.sh
6971 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6972 lt_cv_file_magic_cmd='func_win32_libid'
6973 ;;
6974
6975 mingw* | pw32*)
6976 # Base MSYS/MinGW do not provide the 'file' command needed by
6977 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6978 # unless we find 'file', for example because we are cross-compiling.
6979 if ( file / ) >/dev/null 2>&1; then
6980 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6981 lt_cv_file_magic_cmd='func_win32_libid'
6982 else
6983 # Keep this pattern in sync with the one in func_win32_libid.
6984 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6985 lt_cv_file_magic_cmd='$OBJDUMP -f'
6986 fi
6987 ;;
6988
6989 cegcc*)
6990 # use the weaker test based on 'objdump'. See mingw*.
6991 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6992 lt_cv_file_magic_cmd='$OBJDUMP -f'
6993 ;;
6994
6995 darwin* | rhapsody*)
6996 lt_cv_deplibs_check_method=pass_all
6997 ;;
6998
6999 freebsd* | dragonfly* | midnightbsd*)
7000 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7001 case $host_cpu in
7002 i*86 )
7003 # Not sure whether the presence of OpenBSD here was a mistake.
7004 # Let's accept both of them until this is cleared up.
7005 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7006 lt_cv_file_magic_cmd=$FILECMD
7007 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7008 ;;
7009 esac
7010 else
7011 lt_cv_deplibs_check_method=pass_all
7012 fi
7013 ;;
7014
7015 haiku*)
7016 lt_cv_deplibs_check_method=pass_all
7017 ;;
7018
7019 hpux10.20* | hpux11*)
7020 lt_cv_file_magic_cmd=$FILECMD
7021 case $host_cpu in
7022 ia64*)
7023 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7024 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7025 ;;
7026 hppa*64*)
7027 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
7028 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7029 ;;
7030 *)
7031 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7032 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7033 ;;
7034 esac
7035 ;;
7036
7037 interix[3-9]*)
7038 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7039 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7040 ;;
7041
7042 irix5* | irix6* | nonstopux*)
7043 case $LD in
7044 *-32|*"-32 ") libmagic=32-bit;;
7045 *-n32|*"-n32 ") libmagic=N32;;
7046 *-64|*"-64 ") libmagic=64-bit;;
7047 *) libmagic=never-match;;
7048 esac
7049 lt_cv_deplibs_check_method=pass_all
7050 ;;
7051
7052 # This must be glibc/ELF.
7053 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
7054 lt_cv_deplibs_check_method=pass_all
7055 ;;
7056
7057 netbsd* | netbsdelf*-gnu)
7058 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7059 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7060 else
7061 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7062 fi
7063 ;;
7064
7065 newos6*)
7066 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7067 lt_cv_file_magic_cmd=$FILECMD
7068 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7069 ;;
7070
7071 *nto* | *qnx*)
7072 lt_cv_deplibs_check_method=pass_all
7073 ;;
7074
7075 openbsd* | bitrig*)
7076 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
7077 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7078 else
7079 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7080 fi
7081 ;;
7082
7083 osf3* | osf4* | osf5*)
7084 lt_cv_deplibs_check_method=pass_all
7085 ;;
7086
7087 rdos*)
7088 lt_cv_deplibs_check_method=pass_all
7089 ;;
7090
7091 solaris*)
7092 lt_cv_deplibs_check_method=pass_all
7093 ;;
7094
7095 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7096 lt_cv_deplibs_check_method=pass_all
7097 ;;
7098
7099 sysv4 | sysv4.3*)
7100 case $host_vendor in
7101 motorola)
7102 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
7103 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7104 ;;
7105 ncr)
7106 lt_cv_deplibs_check_method=pass_all
7107 ;;
7108 sequent)
7109 lt_cv_file_magic_cmd='/bin/file'
7110 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7111 ;;
7112 sni)
7113 lt_cv_file_magic_cmd='/bin/file'
7114 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7115 lt_cv_file_magic_test_file=/lib/libc.so
7116 ;;
7117 siemens)
7118 lt_cv_deplibs_check_method=pass_all
7119 ;;
7120 pc)
7121 lt_cv_deplibs_check_method=pass_all
7122 ;;
7123 esac
7124 ;;
7125
7126 tpf*)
7127 lt_cv_deplibs_check_method=pass_all
7128 ;;
7129 os2*)
7130 lt_cv_deplibs_check_method=pass_all
7131 ;;
7132 esac
7133
7134 fi
7135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7136 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
7137
7138 file_magic_glob=
7139 want_nocaseglob=no
7140 if test "$build" = "$host"; then
7141 case $host_os in
7142 mingw* | pw32*)
7143 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
7144 want_nocaseglob=yes
7145 else
7146 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
7147 fi
7148 ;;
7149 esac
7150 fi
7151
7152 file_magic_cmd=$lt_cv_file_magic_cmd
7153 deplibs_check_method=$lt_cv_deplibs_check_method
7154 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177 if test -n "$ac_tool_prefix"; then
7178 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7179 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7181 printf %s "checking for $ac_word... " >&6; }
7182 if test ${ac_cv_prog_DLLTOOL+y}
7183 then :
7184 printf %s "(cached) " >&6
7185 else $as_nop
7186 if test -n "$DLLTOOL"; then
7187 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7188 else
7189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7190 for as_dir in $PATH
7191 do
7192 IFS=$as_save_IFS
7193 case $as_dir in #(((
7194 '') as_dir=./ ;;
7195 */) ;;
7196 *) as_dir=$as_dir/ ;;
7197 esac
7198 for ac_exec_ext in '' $ac_executable_extensions; do
7199 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7200 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7201 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7202 break 2
7203 fi
7204 done
7205 done
7206 IFS=$as_save_IFS
7207
7208 fi
7209 fi
7210 DLLTOOL=$ac_cv_prog_DLLTOOL
7211 if test -n "$DLLTOOL"; then
7212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7213 printf "%s\n" "$DLLTOOL" >&6; }
7214 else
7215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7216 printf "%s\n" "no" >&6; }
7217 fi
7218
7219
7220 fi
7221 if test -z "$ac_cv_prog_DLLTOOL"; then
7222 ac_ct_DLLTOOL=$DLLTOOL
7223 # Extract the first word of "dlltool", so it can be a program name with args.
7224 set dummy dlltool; ac_word=$2
7225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7226 printf %s "checking for $ac_word... " >&6; }
7227 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
7228 then :
7229 printf %s "(cached) " >&6
7230 else $as_nop
7231 if test -n "$ac_ct_DLLTOOL"; then
7232 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7233 else
7234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7235 for as_dir in $PATH
7236 do
7237 IFS=$as_save_IFS
7238 case $as_dir in #(((
7239 '') as_dir=./ ;;
7240 */) ;;
7241 *) as_dir=$as_dir/ ;;
7242 esac
7243 for ac_exec_ext in '' $ac_executable_extensions; do
7244 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7245 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7246 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7247 break 2
7248 fi
7249 done
7250 done
7251 IFS=$as_save_IFS
7252
7253 fi
7254 fi
7255 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7256 if test -n "$ac_ct_DLLTOOL"; then
7257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7258 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
7259 else
7260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7261 printf "%s\n" "no" >&6; }
7262 fi
7263
7264 if test "x$ac_ct_DLLTOOL" = x; then
7265 DLLTOOL="false"
7266 else
7267 case $cross_compiling:$ac_tool_warned in
7268 yes:)
7269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7270 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7271 ac_tool_warned=yes ;;
7272 esac
7273 DLLTOOL=$ac_ct_DLLTOOL
7274 fi
7275 else
7276 DLLTOOL="$ac_cv_prog_DLLTOOL"
7277 fi
7278
7279 test -z "$DLLTOOL" && DLLTOOL=dlltool
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7291 printf %s "checking how to associate runtime and link libraries... " >&6; }
7292 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
7293 then :
7294 printf %s "(cached) " >&6
7295 else $as_nop
7296 lt_cv_sharedlib_from_linklib_cmd='unknown'
7297
7298 case $host_os in
7299 cygwin* | mingw* | pw32* | cegcc*)
7300 # two different shell functions defined in ltmain.sh;
7301 # decide which one to use based on capabilities of $DLLTOOL
7302 case `$DLLTOOL --help 2>&1` in
7303 *--identify-strict*)
7304 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7305 ;;
7306 *)
7307 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7308 ;;
7309 esac
7310 ;;
7311 *)
7312 # fallback: assume linklib IS sharedlib
7313 lt_cv_sharedlib_from_linklib_cmd=$ECHO
7314 ;;
7315 esac
7316
7317 fi
7318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7319 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7320 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7321 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7322
7323
7324
7325
7326
7327
7328
7329
7330 if test -n "$ac_tool_prefix"; then
7331 for ac_prog in ar
7332 do
7333 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7334 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7336 printf %s "checking for $ac_word... " >&6; }
7337 if test ${ac_cv_prog_AR+y}
7338 then :
7339 printf %s "(cached) " >&6
7340 else $as_nop
7341 if test -n "$AR"; then
7342 ac_cv_prog_AR="$AR" # Let the user override the test.
7343 else
7344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7345 for as_dir in $PATH
7346 do
7347 IFS=$as_save_IFS
7348 case $as_dir in #(((
7349 '') as_dir=./ ;;
7350 */) ;;
7351 *) as_dir=$as_dir/ ;;
7352 esac
7353 for ac_exec_ext in '' $ac_executable_extensions; do
7354 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7355 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7356 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7357 break 2
7358 fi
7359 done
7360 done
7361 IFS=$as_save_IFS
7362
7363 fi
7364 fi
7365 AR=$ac_cv_prog_AR
7366 if test -n "$AR"; then
7367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7368 printf "%s\n" "$AR" >&6; }
7369 else
7370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7371 printf "%s\n" "no" >&6; }
7372 fi
7373
7374
7375 test -n "$AR" && break
7376 done
7377 fi
7378 if test -z "$AR"; then
7379 ac_ct_AR=$AR
7380 for ac_prog in ar
7381 do
7382 # Extract the first word of "$ac_prog", so it can be a program name with args.
7383 set dummy $ac_prog; ac_word=$2
7384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7385 printf %s "checking for $ac_word... " >&6; }
7386 if test ${ac_cv_prog_ac_ct_AR+y}
7387 then :
7388 printf %s "(cached) " >&6
7389 else $as_nop
7390 if test -n "$ac_ct_AR"; then
7391 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7392 else
7393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7394 for as_dir in $PATH
7395 do
7396 IFS=$as_save_IFS
7397 case $as_dir in #(((
7398 '') as_dir=./ ;;
7399 */) ;;
7400 *) as_dir=$as_dir/ ;;
7401 esac
7402 for ac_exec_ext in '' $ac_executable_extensions; do
7403 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7404 ac_cv_prog_ac_ct_AR="$ac_prog"
7405 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7406 break 2
7407 fi
7408 done
7409 done
7410 IFS=$as_save_IFS
7411
7412 fi
7413 fi
7414 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7415 if test -n "$ac_ct_AR"; then
7416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7417 printf "%s\n" "$ac_ct_AR" >&6; }
7418 else
7419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7420 printf "%s\n" "no" >&6; }
7421 fi
7422
7423
7424 test -n "$ac_ct_AR" && break
7425 done
7426
7427 if test "x$ac_ct_AR" = x; then
7428 AR="false"
7429 else
7430 case $cross_compiling:$ac_tool_warned in
7431 yes:)
7432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7433 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7434 ac_tool_warned=yes ;;
7435 esac
7436 AR=$ac_ct_AR
7437 fi
7438 fi
7439
7440 : ${AR=ar}
7441
7442
7443
7444
7445
7446
7447 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
7448 # Automake. If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
7449 # higher priority because thats what people were doing historically (setting
7450 # ARFLAGS for automake and AR_FLAGS for libtool). FIXME: Make the AR_FLAGS
7451 # variable obsoleted/removed.
7452
7453 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
7454 lt_ar_flags=$AR_FLAGS
7455
7456
7457
7458
7459
7460
7461 # Make AR_FLAGS overridable by 'make ARFLAGS='. Don't try to run-time override
7462 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
7463
7464
7465
7466
7467
7468
7469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7470 printf %s "checking for archiver @FILE support... " >&6; }
7471 if test ${lt_cv_ar_at_file+y}
7472 then :
7473 printf %s "(cached) " >&6
7474 else $as_nop
7475 lt_cv_ar_at_file=no
7476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7477 /* end confdefs.h. */
7478
7479 int
7480 main (void)
7481 {
7482
7483 ;
7484 return 0;
7485 }
7486 _ACEOF
7487 if ac_fn_c_try_compile "$LINENO"
7488 then :
7489 echo conftest.$ac_objext > conftest.lst
7490 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7491 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7492 (eval $lt_ar_try) 2>&5
7493 ac_status=$?
7494 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7495 test $ac_status = 0; }
7496 if test 0 -eq "$ac_status"; then
7497 # Ensure the archiver fails upon bogus file names.
7498 rm -f conftest.$ac_objext libconftest.a
7499 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7500 (eval $lt_ar_try) 2>&5
7501 ac_status=$?
7502 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7503 test $ac_status = 0; }
7504 if test 0 -ne "$ac_status"; then
7505 lt_cv_ar_at_file=@
7506 fi
7507 fi
7508 rm -f conftest.* libconftest.a
7509
7510 fi
7511 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7512
7513 fi
7514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7515 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
7516
7517 if test no = "$lt_cv_ar_at_file"; then
7518 archiver_list_spec=
7519 else
7520 archiver_list_spec=$lt_cv_ar_at_file
7521 fi
7522
7523
7524
7525
7526
7527
7528
7529 if test -n "$ac_tool_prefix"; then
7530 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7531 set dummy ${ac_tool_prefix}strip; ac_word=$2
7532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7533 printf %s "checking for $ac_word... " >&6; }
7534 if test ${ac_cv_prog_STRIP+y}
7535 then :
7536 printf %s "(cached) " >&6
7537 else $as_nop
7538 if test -n "$STRIP"; then
7539 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7540 else
7541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7542 for as_dir in $PATH
7543 do
7544 IFS=$as_save_IFS
7545 case $as_dir in #(((
7546 '') as_dir=./ ;;
7547 */) ;;
7548 *) as_dir=$as_dir/ ;;
7549 esac
7550 for ac_exec_ext in '' $ac_executable_extensions; do
7551 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7552 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7553 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7554 break 2
7555 fi
7556 done
7557 done
7558 IFS=$as_save_IFS
7559
7560 fi
7561 fi
7562 STRIP=$ac_cv_prog_STRIP
7563 if test -n "$STRIP"; then
7564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7565 printf "%s\n" "$STRIP" >&6; }
7566 else
7567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7568 printf "%s\n" "no" >&6; }
7569 fi
7570
7571
7572 fi
7573 if test -z "$ac_cv_prog_STRIP"; then
7574 ac_ct_STRIP=$STRIP
7575 # Extract the first word of "strip", so it can be a program name with args.
7576 set dummy strip; ac_word=$2
7577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7578 printf %s "checking for $ac_word... " >&6; }
7579 if test ${ac_cv_prog_ac_ct_STRIP+y}
7580 then :
7581 printf %s "(cached) " >&6
7582 else $as_nop
7583 if test -n "$ac_ct_STRIP"; then
7584 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7585 else
7586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7587 for as_dir in $PATH
7588 do
7589 IFS=$as_save_IFS
7590 case $as_dir in #(((
7591 '') as_dir=./ ;;
7592 */) ;;
7593 *) as_dir=$as_dir/ ;;
7594 esac
7595 for ac_exec_ext in '' $ac_executable_extensions; do
7596 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7597 ac_cv_prog_ac_ct_STRIP="strip"
7598 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7599 break 2
7600 fi
7601 done
7602 done
7603 IFS=$as_save_IFS
7604
7605 fi
7606 fi
7607 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7608 if test -n "$ac_ct_STRIP"; then
7609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7610 printf "%s\n" "$ac_ct_STRIP" >&6; }
7611 else
7612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7613 printf "%s\n" "no" >&6; }
7614 fi
7615
7616 if test "x$ac_ct_STRIP" = x; then
7617 STRIP=":"
7618 else
7619 case $cross_compiling:$ac_tool_warned in
7620 yes:)
7621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7622 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7623 ac_tool_warned=yes ;;
7624 esac
7625 STRIP=$ac_ct_STRIP
7626 fi
7627 else
7628 STRIP="$ac_cv_prog_STRIP"
7629 fi
7630
7631 test -z "$STRIP" && STRIP=:
7632
7633
7634
7635
7636
7637
7638 if test -n "$ac_tool_prefix"; then
7639 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7640 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7642 printf %s "checking for $ac_word... " >&6; }
7643 if test ${ac_cv_prog_RANLIB+y}
7644 then :
7645 printf %s "(cached) " >&6
7646 else $as_nop
7647 if test -n "$RANLIB"; then
7648 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7649 else
7650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7651 for as_dir in $PATH
7652 do
7653 IFS=$as_save_IFS
7654 case $as_dir in #(((
7655 '') as_dir=./ ;;
7656 */) ;;
7657 *) as_dir=$as_dir/ ;;
7658 esac
7659 for ac_exec_ext in '' $ac_executable_extensions; do
7660 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7661 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7662 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7663 break 2
7664 fi
7665 done
7666 done
7667 IFS=$as_save_IFS
7668
7669 fi
7670 fi
7671 RANLIB=$ac_cv_prog_RANLIB
7672 if test -n "$RANLIB"; then
7673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7674 printf "%s\n" "$RANLIB" >&6; }
7675 else
7676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7677 printf "%s\n" "no" >&6; }
7678 fi
7679
7680
7681 fi
7682 if test -z "$ac_cv_prog_RANLIB"; then
7683 ac_ct_RANLIB=$RANLIB
7684 # Extract the first word of "ranlib", so it can be a program name with args.
7685 set dummy ranlib; ac_word=$2
7686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7687 printf %s "checking for $ac_word... " >&6; }
7688 if test ${ac_cv_prog_ac_ct_RANLIB+y}
7689 then :
7690 printf %s "(cached) " >&6
7691 else $as_nop
7692 if test -n "$ac_ct_RANLIB"; then
7693 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7694 else
7695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7696 for as_dir in $PATH
7697 do
7698 IFS=$as_save_IFS
7699 case $as_dir in #(((
7700 '') as_dir=./ ;;
7701 */) ;;
7702 *) as_dir=$as_dir/ ;;
7703 esac
7704 for ac_exec_ext in '' $ac_executable_extensions; do
7705 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7706 ac_cv_prog_ac_ct_RANLIB="ranlib"
7707 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7708 break 2
7709 fi
7710 done
7711 done
7712 IFS=$as_save_IFS
7713
7714 fi
7715 fi
7716 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7717 if test -n "$ac_ct_RANLIB"; then
7718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7719 printf "%s\n" "$ac_ct_RANLIB" >&6; }
7720 else
7721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7722 printf "%s\n" "no" >&6; }
7723 fi
7724
7725 if test "x$ac_ct_RANLIB" = x; then
7726 RANLIB=":"
7727 else
7728 case $cross_compiling:$ac_tool_warned in
7729 yes:)
7730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7731 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7732 ac_tool_warned=yes ;;
7733 esac
7734 RANLIB=$ac_ct_RANLIB
7735 fi
7736 else
7737 RANLIB="$ac_cv_prog_RANLIB"
7738 fi
7739
7740 test -z "$RANLIB" && RANLIB=:
7741
7742
7743
7744
7745
7746
7747 # Determine commands to create old-style static archives.
7748 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7749 old_postinstall_cmds='chmod 644 $oldlib'
7750 old_postuninstall_cmds=
7751
7752 if test -n "$RANLIB"; then
7753 case $host_os in
7754 bitrig* | openbsd*)
7755 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7756 ;;
7757 *)
7758 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7759 ;;
7760 esac
7761 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7762 fi
7763
7764 case $host_os in
7765 darwin*)
7766 lock_old_archive_extraction=yes ;;
7767 *)
7768 lock_old_archive_extraction=no ;;
7769 esac
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809 # If no C compiler was specified, use CC.
7810 LTCC=${LTCC-"$CC"}
7811
7812 # If no C compiler flags were specified, use CFLAGS.
7813 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7814
7815 # Allow CC to be a program name with arguments.
7816 compiler=$CC
7817
7818
7819 # Check for command to grab the raw symbol name followed by C symbol from nm.
7820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7821 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
7822 if test ${lt_cv_sys_global_symbol_pipe+y}
7823 then :
7824 printf %s "(cached) " >&6
7825 else $as_nop
7826
7827 # These are sane defaults that work on at least a few old systems.
7828 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7829
7830 # Character class describing NM global symbol codes.
7831 symcode='[BCDEGRST]'
7832
7833 # Regexp to match symbols that can be accessed directly from C.
7834 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7835
7836 # Define system-specific variables.
7837 case $host_os in
7838 aix*)
7839 symcode='[BCDT]'
7840 ;;
7841 cygwin* | mingw* | pw32* | cegcc*)
7842 symcode='[ABCDGISTW]'
7843 ;;
7844 hpux*)
7845 if test ia64 = "$host_cpu"; then
7846 symcode='[ABCDEGRST]'
7847 fi
7848 ;;
7849 irix* | nonstopux*)
7850 symcode='[BCDEGRST]'
7851 ;;
7852 osf*)
7853 symcode='[BCDEGQRST]'
7854 ;;
7855 solaris*)
7856 symcode='[BDRT]'
7857 ;;
7858 sco3.2v5*)
7859 symcode='[DT]'
7860 ;;
7861 sysv4.2uw2*)
7862 symcode='[DT]'
7863 ;;
7864 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7865 symcode='[ABDT]'
7866 ;;
7867 sysv4)
7868 symcode='[DFNSTU]'
7869 ;;
7870 esac
7871
7872 # If we're using GNU nm, then use its standard symbol codes.
7873 case `$NM -V 2>&1` in
7874 *GNU* | *'with BFD'*)
7875 symcode='[ABCDGIRSTW]' ;;
7876 esac
7877
7878 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7879 # Gets list of data symbols to import.
7880 lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
7881 # Adjust the below global symbol transforms to fixup imported variables.
7882 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7883 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
7884 lt_c_name_lib_hook="\
7885 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
7886 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
7887 else
7888 # Disable hooks by default.
7889 lt_cv_sys_global_symbol_to_import=
7890 lt_cdecl_hook=
7891 lt_c_name_hook=
7892 lt_c_name_lib_hook=
7893 fi
7894
7895 # Transform an extracted symbol line into a proper C declaration.
7896 # Some systems (esp. on ia64) link data and code symbols differently,
7897 # so use this general approach.
7898 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
7899 $lt_cdecl_hook\
7900 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7901 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7902
7903 # Transform an extracted symbol line into symbol name and symbol address
7904 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
7905 $lt_c_name_hook\
7906 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7907 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
7908
7909 # Transform an extracted symbol line into symbol name with lib prefix and
7910 # symbol address.
7911 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
7912 $lt_c_name_lib_hook\
7913 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7914 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
7915 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
7916
7917 # Handle CRLF in mingw tool chain
7918 opt_cr=
7919 case $build_os in
7920 mingw*)
7921 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7922 ;;
7923 esac
7924
7925 # Try without a prefix underscore, then with it.
7926 for ac_symprfx in "" "_"; do
7927
7928 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7929 symxfrm="\\1 $ac_symprfx\\2 \\2"
7930
7931 # Write the raw and C identifiers.
7932 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7933 # Fake it for dumpbin and say T for any non-static function,
7934 # D for any global variable and I for any imported variable.
7935 # Also find C++ and __fastcall symbols from MSVC++ or ICC,
7936 # which start with @ or ?.
7937 lt_cv_sys_global_symbol_pipe="$AWK '"\
7938 " {last_section=section; section=\$ 3};"\
7939 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7940 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7941 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7942 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7943 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7944 " \$ 0!~/External *\|/{next};"\
7945 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7946 " {if(hide[section]) next};"\
7947 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7948 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7949 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7950 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7951 " ' prfx=^$ac_symprfx"
7952 else
7953 lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7954 fi
7955 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
7956
7957 # Check to see that the pipe works correctly.
7958 pipe_works=no
7959
7960 rm -f conftest*
7961 cat > conftest.$ac_ext <<_LT_EOF
7962 #ifdef __cplusplus
7963 extern "C" {
7964 #endif
7965 char nm_test_var;
7966 void nm_test_func(void);
7967 void nm_test_func(void){}
7968 #ifdef __cplusplus
7969 }
7970 #endif
7971 int main(){nm_test_var='a';nm_test_func();return(0);}
7972 _LT_EOF
7973
7974 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7975 (eval $ac_compile) 2>&5
7976 ac_status=$?
7977 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7978 test $ac_status = 0; }; then
7979 # Now try to grab the symbols.
7980 nlist=conftest.nm
7981 $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
7982 if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
7983 # Try sorting and uniquifying the output.
7984 if sort "$nlist" | uniq > "$nlist"T; then
7985 mv -f "$nlist"T "$nlist"
7986 else
7987 rm -f "$nlist"T
7988 fi
7989
7990 # Make sure that we snagged all the symbols we need.
7991 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7992 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7993 cat <<_LT_EOF > conftest.$ac_ext
7994 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7995 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7996 /* DATA imports from DLLs on WIN32 can't be const, because runtime
7997 relocations are performed -- see ld's documentation on pseudo-relocs. */
7998 # define LT_DLSYM_CONST
7999 #elif defined __osf__
8000 /* This system does not cope well with relocations in const data. */
8001 # define LT_DLSYM_CONST
8002 #else
8003 # define LT_DLSYM_CONST const
8004 #endif
8005
8006 #ifdef __cplusplus
8007 extern "C" {
8008 #endif
8009
8010 _LT_EOF
8011 # Now generate the symbol file.
8012 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8013
8014 cat <<_LT_EOF >> conftest.$ac_ext
8015
8016 /* The mapping between symbol names and symbols. */
8017 LT_DLSYM_CONST struct {
8018 const char *name;
8019 void *address;
8020 }
8021 lt__PROGRAM__LTX_preloaded_symbols[] =
8022 {
8023 { "@PROGRAM@", (void *) 0 },
8024 _LT_EOF
8025 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8026 cat <<\_LT_EOF >> conftest.$ac_ext
8027 {0, (void *) 0}
8028 };
8029
8030 /* This works around a problem in FreeBSD linker */
8031 #ifdef FREEBSD_WORKAROUND
8032 static const void *lt_preloaded_setup() {
8033 return lt__PROGRAM__LTX_preloaded_symbols;
8034 }
8035 #endif
8036
8037 #ifdef __cplusplus
8038 }
8039 #endif
8040 _LT_EOF
8041 # Now try linking the two files.
8042 mv conftest.$ac_objext conftstm.$ac_objext
8043 lt_globsym_save_LIBS=$LIBS
8044 lt_globsym_save_CFLAGS=$CFLAGS
8045 LIBS=conftstm.$ac_objext
8046 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8047 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8048 (eval $ac_link) 2>&5
8049 ac_status=$?
8050 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8051 test $ac_status = 0; } && test -s conftest$ac_exeext; then
8052 pipe_works=yes
8053 fi
8054 LIBS=$lt_globsym_save_LIBS
8055 CFLAGS=$lt_globsym_save_CFLAGS
8056 else
8057 echo "cannot find nm_test_func in $nlist" >&5
8058 fi
8059 else
8060 echo "cannot find nm_test_var in $nlist" >&5
8061 fi
8062 else
8063 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8064 fi
8065 else
8066 echo "$progname: failed program was:" >&5
8067 cat conftest.$ac_ext >&5
8068 fi
8069 rm -rf conftest* conftst*
8070
8071 # Do not use the global_symbol_pipe unless it works.
8072 if test yes = "$pipe_works"; then
8073 break
8074 else
8075 lt_cv_sys_global_symbol_pipe=
8076 fi
8077 done
8078
8079 fi
8080
8081 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8082 lt_cv_sys_global_symbol_to_cdecl=
8083 fi
8084 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8086 printf "%s\n" "failed" >&6; }
8087 else
8088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8089 printf "%s\n" "ok" >&6; }
8090 fi
8091
8092 # Response file support.
8093 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8094 nm_file_list_spec='@'
8095 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
8096 nm_file_list_spec='@'
8097 fi
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
8136 printf %s "checking for sysroot... " >&6; }
8137
8138 # Check whether --with-sysroot was given.
8139 if test ${with_sysroot+y}
8140 then :
8141 withval=$with_sysroot;
8142 else $as_nop
8143 with_sysroot=no
8144 fi
8145
8146
8147 lt_sysroot=
8148 case $with_sysroot in #(
8149 yes)
8150 if test yes = "$GCC"; then
8151 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
8152 fi
8153 ;; #(
8154 /*)
8155 lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
8156 ;; #(
8157 no|'')
8158 ;; #(
8159 *)
8160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
8161 printf "%s\n" "$with_sysroot" >&6; }
8162 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
8163 ;;
8164 esac
8165
8166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
8167 printf "%s\n" "${lt_sysroot:-no}" >&6; }
8168
8169
8170
8171
8172
8173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
8174 printf %s "checking for a working dd... " >&6; }
8175 if test ${ac_cv_path_lt_DD+y}
8176 then :
8177 printf %s "(cached) " >&6
8178 else $as_nop
8179 printf 0123456789abcdef0123456789abcdef >conftest.i
8180 cat conftest.i conftest.i >conftest2.i
8181 : ${lt_DD:=$DD}
8182 if test -z "$lt_DD"; then
8183 ac_path_lt_DD_found=false
8184 # Loop through the user's path and test for each of PROGNAME-LIST
8185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8186 for as_dir in $PATH
8187 do
8188 IFS=$as_save_IFS
8189 case $as_dir in #(((
8190 '') as_dir=./ ;;
8191 */) ;;
8192 *) as_dir=$as_dir/ ;;
8193 esac
8194 for ac_prog in dd
8195 do
8196 for ac_exec_ext in '' $ac_executable_extensions; do
8197 ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
8198 as_fn_executable_p "$ac_path_lt_DD" || continue
8199 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
8200 cmp -s conftest.i conftest.out \
8201 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
8202 fi
8203 $ac_path_lt_DD_found && break 3
8204 done
8205 done
8206 done
8207 IFS=$as_save_IFS
8208 if test -z "$ac_cv_path_lt_DD"; then
8209 :
8210 fi
8211 else
8212 ac_cv_path_lt_DD=$lt_DD
8213 fi
8214
8215 rm -f conftest.i conftest2.i conftest.out
8216 fi
8217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
8218 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
8219
8220
8221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
8222 printf %s "checking how to truncate binary pipes... " >&6; }
8223 if test ${lt_cv_truncate_bin+y}
8224 then :
8225 printf %s "(cached) " >&6
8226 else $as_nop
8227 printf 0123456789abcdef0123456789abcdef >conftest.i
8228 cat conftest.i conftest.i >conftest2.i
8229 lt_cv_truncate_bin=
8230 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
8231 cmp -s conftest.i conftest.out \
8232 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
8233 fi
8234 rm -f conftest.i conftest2.i conftest.out
8235 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
8236 fi
8237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
8238 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
8239
8240
8241
8242
8243
8244
8245
8246 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
8247 func_cc_basename ()
8248 {
8249 for cc_temp in $*""; do
8250 case $cc_temp in
8251 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8252 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8253 \-*) ;;
8254 *) break;;
8255 esac
8256 done
8257 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8258 }
8259
8260 # Check whether --enable-libtool-lock was given.
8261 if test ${enable_libtool_lock+y}
8262 then :
8263 enableval=$enable_libtool_lock;
8264 fi
8265
8266 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
8267
8268 # Some flags need to be propagated to the compiler or linker for good
8269 # libtool support.
8270 case $host in
8271 ia64-*-hpux*)
8272 # Find out what ABI is being produced by ac_compile, and set mode
8273 # options accordingly.
8274 echo 'int i;' > conftest.$ac_ext
8275 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8276 (eval $ac_compile) 2>&5
8277 ac_status=$?
8278 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8279 test $ac_status = 0; }; then
8280 case `$FILECMD conftest.$ac_objext` in
8281 *ELF-32*)
8282 HPUX_IA64_MODE=32
8283 ;;
8284 *ELF-64*)
8285 HPUX_IA64_MODE=64
8286 ;;
8287 esac
8288 fi
8289 rm -rf conftest*
8290 ;;
8291 *-*-irix6*)
8292 # Find out what ABI is being produced by ac_compile, and set linker
8293 # options accordingly.
8294 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8295 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8296 (eval $ac_compile) 2>&5
8297 ac_status=$?
8298 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8299 test $ac_status = 0; }; then
8300 if test yes = "$lt_cv_prog_gnu_ld"; then
8301 case `$FILECMD conftest.$ac_objext` in
8302 *32-bit*)
8303 LD="${LD-ld} -melf32bsmip"
8304 ;;
8305 *N32*)
8306 LD="${LD-ld} -melf32bmipn32"
8307 ;;
8308 *64-bit*)
8309 LD="${LD-ld} -melf64bmip"
8310 ;;
8311 esac
8312 else
8313 case `$FILECMD conftest.$ac_objext` in
8314 *32-bit*)
8315 LD="${LD-ld} -32"
8316 ;;
8317 *N32*)
8318 LD="${LD-ld} -n32"
8319 ;;
8320 *64-bit*)
8321 LD="${LD-ld} -64"
8322 ;;
8323 esac
8324 fi
8325 fi
8326 rm -rf conftest*
8327 ;;
8328
8329 mips64*-*linux*)
8330 # Find out what ABI is being produced by ac_compile, and set linker
8331 # options accordingly.
8332 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8333 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8334 (eval $ac_compile) 2>&5
8335 ac_status=$?
8336 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8337 test $ac_status = 0; }; then
8338 emul=elf
8339 case `$FILECMD conftest.$ac_objext` in
8340 *32-bit*)
8341 emul="${emul}32"
8342 ;;
8343 *64-bit*)
8344 emul="${emul}64"
8345 ;;
8346 esac
8347 case `$FILECMD conftest.$ac_objext` in
8348 *MSB*)
8349 emul="${emul}btsmip"
8350 ;;
8351 *LSB*)
8352 emul="${emul}ltsmip"
8353 ;;
8354 esac
8355 case `$FILECMD conftest.$ac_objext` in
8356 *N32*)
8357 emul="${emul}n32"
8358 ;;
8359 esac
8360 LD="${LD-ld} -m $emul"
8361 fi
8362 rm -rf conftest*
8363 ;;
8364
8365 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8366 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8367 # Find out what ABI is being produced by ac_compile, and set linker
8368 # options accordingly. Note that the listed cases only cover the
8369 # situations where additional linker options are needed (such as when
8370 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
8371 # vice versa); the common cases where no linker options are needed do
8372 # not appear in the list.
8373 echo 'int i;' > conftest.$ac_ext
8374 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8375 (eval $ac_compile) 2>&5
8376 ac_status=$?
8377 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8378 test $ac_status = 0; }; then
8379 case `$FILECMD conftest.o` in
8380 *32-bit*)
8381 case $host in
8382 x86_64-*kfreebsd*-gnu)
8383 LD="${LD-ld} -m elf_i386_fbsd"
8384 ;;
8385 x86_64-*linux*)
8386 case `$FILECMD conftest.o` in
8387 *x86-64*)
8388 LD="${LD-ld} -m elf32_x86_64"
8389 ;;
8390 *)
8391 LD="${LD-ld} -m elf_i386"
8392 ;;
8393 esac
8394 ;;
8395 powerpc64le-*linux*)
8396 LD="${LD-ld} -m elf32lppclinux"
8397 ;;
8398 powerpc64-*linux*)
8399 LD="${LD-ld} -m elf32ppclinux"
8400 ;;
8401 s390x-*linux*)
8402 LD="${LD-ld} -m elf_s390"
8403 ;;
8404 sparc64-*linux*)
8405 LD="${LD-ld} -m elf32_sparc"
8406 ;;
8407 esac
8408 ;;
8409 *64-bit*)
8410 case $host in
8411 x86_64-*kfreebsd*-gnu)
8412 LD="${LD-ld} -m elf_x86_64_fbsd"
8413 ;;
8414 x86_64-*linux*)
8415 LD="${LD-ld} -m elf_x86_64"
8416 ;;
8417 powerpcle-*linux*)
8418 LD="${LD-ld} -m elf64lppc"
8419 ;;
8420 powerpc-*linux*)
8421 LD="${LD-ld} -m elf64ppc"
8422 ;;
8423 s390*-*linux*|s390*-*tpf*)
8424 LD="${LD-ld} -m elf64_s390"
8425 ;;
8426 sparc*-*linux*)
8427 LD="${LD-ld} -m elf64_sparc"
8428 ;;
8429 esac
8430 ;;
8431 esac
8432 fi
8433 rm -rf conftest*
8434 ;;
8435
8436 *-*-sco3.2v5*)
8437 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8438 SAVE_CFLAGS=$CFLAGS
8439 CFLAGS="$CFLAGS -belf"
8440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8441 printf %s "checking whether the C compiler needs -belf... " >&6; }
8442 if test ${lt_cv_cc_needs_belf+y}
8443 then :
8444 printf %s "(cached) " >&6
8445 else $as_nop
8446 ac_ext=c
8447 ac_cpp='$CPP $CPPFLAGS'
8448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8451
8452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8453 /* end confdefs.h. */
8454
8455 int
8456 main (void)
8457 {
8458
8459 ;
8460 return 0;
8461 }
8462 _ACEOF
8463 if ac_fn_c_try_link "$LINENO"
8464 then :
8465 lt_cv_cc_needs_belf=yes
8466 else $as_nop
8467 lt_cv_cc_needs_belf=no
8468 fi
8469 rm -f core conftest.err conftest.$ac_objext conftest.beam \
8470 conftest$ac_exeext conftest.$ac_ext
8471 ac_ext=c
8472 ac_cpp='$CPP $CPPFLAGS'
8473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8476
8477 fi
8478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8479 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
8480 if test yes != "$lt_cv_cc_needs_belf"; then
8481 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8482 CFLAGS=$SAVE_CFLAGS
8483 fi
8484 ;;
8485 *-*solaris*)
8486 # Find out what ABI is being produced by ac_compile, and set linker
8487 # options accordingly.
8488 echo 'int i;' > conftest.$ac_ext
8489 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8490 (eval $ac_compile) 2>&5
8491 ac_status=$?
8492 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8493 test $ac_status = 0; }; then
8494 case `$FILECMD conftest.o` in
8495 *64-bit*)
8496 case $lt_cv_prog_gnu_ld in
8497 yes*)
8498 case $host in
8499 i?86-*-solaris*|x86_64-*-solaris*)
8500 LD="${LD-ld} -m elf_x86_64"
8501 ;;
8502 sparc*-*-solaris*)
8503 LD="${LD-ld} -m elf64_sparc"
8504 ;;
8505 esac
8506 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
8507 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8508 LD=${LD-ld}_sol2
8509 fi
8510 ;;
8511 *)
8512 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8513 LD="${LD-ld} -64"
8514 fi
8515 ;;
8516 esac
8517 ;;
8518 esac
8519 fi
8520 rm -rf conftest*
8521 ;;
8522 esac
8523
8524 need_locks=$enable_libtool_lock
8525
8526 if test -n "$ac_tool_prefix"; then
8527 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8528 set dummy ${ac_tool_prefix}mt; ac_word=$2
8529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8530 printf %s "checking for $ac_word... " >&6; }
8531 if test ${ac_cv_prog_MANIFEST_TOOL+y}
8532 then :
8533 printf %s "(cached) " >&6
8534 else $as_nop
8535 if test -n "$MANIFEST_TOOL"; then
8536 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8537 else
8538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8539 for as_dir in $PATH
8540 do
8541 IFS=$as_save_IFS
8542 case $as_dir in #(((
8543 '') as_dir=./ ;;
8544 */) ;;
8545 *) as_dir=$as_dir/ ;;
8546 esac
8547 for ac_exec_ext in '' $ac_executable_extensions; do
8548 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8549 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8550 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8551 break 2
8552 fi
8553 done
8554 done
8555 IFS=$as_save_IFS
8556
8557 fi
8558 fi
8559 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8560 if test -n "$MANIFEST_TOOL"; then
8561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8562 printf "%s\n" "$MANIFEST_TOOL" >&6; }
8563 else
8564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8565 printf "%s\n" "no" >&6; }
8566 fi
8567
8568
8569 fi
8570 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8571 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8572 # Extract the first word of "mt", so it can be a program name with args.
8573 set dummy mt; ac_word=$2
8574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8575 printf %s "checking for $ac_word... " >&6; }
8576 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
8577 then :
8578 printf %s "(cached) " >&6
8579 else $as_nop
8580 if test -n "$ac_ct_MANIFEST_TOOL"; then
8581 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8582 else
8583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8584 for as_dir in $PATH
8585 do
8586 IFS=$as_save_IFS
8587 case $as_dir in #(((
8588 '') as_dir=./ ;;
8589 */) ;;
8590 *) as_dir=$as_dir/ ;;
8591 esac
8592 for ac_exec_ext in '' $ac_executable_extensions; do
8593 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8594 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8595 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8596 break 2
8597 fi
8598 done
8599 done
8600 IFS=$as_save_IFS
8601
8602 fi
8603 fi
8604 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8605 if test -n "$ac_ct_MANIFEST_TOOL"; then
8606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8607 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
8608 else
8609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8610 printf "%s\n" "no" >&6; }
8611 fi
8612
8613 if test "x$ac_ct_MANIFEST_TOOL" = x; then
8614 MANIFEST_TOOL=":"
8615 else
8616 case $cross_compiling:$ac_tool_warned in
8617 yes:)
8618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8619 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8620 ac_tool_warned=yes ;;
8621 esac
8622 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8623 fi
8624 else
8625 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8626 fi
8627
8628 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8630 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8631 if test ${lt_cv_path_mainfest_tool+y}
8632 then :
8633 printf %s "(cached) " >&6
8634 else $as_nop
8635 lt_cv_path_mainfest_tool=no
8636 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8637 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8638 cat conftest.err >&5
8639 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8640 lt_cv_path_mainfest_tool=yes
8641 fi
8642 rm -f conftest*
8643 fi
8644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8645 printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
8646 if test yes != "$lt_cv_path_mainfest_tool"; then
8647 MANIFEST_TOOL=:
8648 fi
8649
8650
8651
8652
8653
8654
8655 case $host_os in
8656 rhapsody* | darwin*)
8657 if test -n "$ac_tool_prefix"; then
8658 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8659 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8661 printf %s "checking for $ac_word... " >&6; }
8662 if test ${ac_cv_prog_DSYMUTIL+y}
8663 then :
8664 printf %s "(cached) " >&6
8665 else $as_nop
8666 if test -n "$DSYMUTIL"; then
8667 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8668 else
8669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8670 for as_dir in $PATH
8671 do
8672 IFS=$as_save_IFS
8673 case $as_dir in #(((
8674 '') as_dir=./ ;;
8675 */) ;;
8676 *) as_dir=$as_dir/ ;;
8677 esac
8678 for ac_exec_ext in '' $ac_executable_extensions; do
8679 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8680 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8681 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8682 break 2
8683 fi
8684 done
8685 done
8686 IFS=$as_save_IFS
8687
8688 fi
8689 fi
8690 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8691 if test -n "$DSYMUTIL"; then
8692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8693 printf "%s\n" "$DSYMUTIL" >&6; }
8694 else
8695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8696 printf "%s\n" "no" >&6; }
8697 fi
8698
8699
8700 fi
8701 if test -z "$ac_cv_prog_DSYMUTIL"; then
8702 ac_ct_DSYMUTIL=$DSYMUTIL
8703 # Extract the first word of "dsymutil", so it can be a program name with args.
8704 set dummy dsymutil; ac_word=$2
8705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8706 printf %s "checking for $ac_word... " >&6; }
8707 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
8708 then :
8709 printf %s "(cached) " >&6
8710 else $as_nop
8711 if test -n "$ac_ct_DSYMUTIL"; then
8712 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8713 else
8714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8715 for as_dir in $PATH
8716 do
8717 IFS=$as_save_IFS
8718 case $as_dir in #(((
8719 '') as_dir=./ ;;
8720 */) ;;
8721 *) as_dir=$as_dir/ ;;
8722 esac
8723 for ac_exec_ext in '' $ac_executable_extensions; do
8724 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8725 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8726 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8727 break 2
8728 fi
8729 done
8730 done
8731 IFS=$as_save_IFS
8732
8733 fi
8734 fi
8735 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8736 if test -n "$ac_ct_DSYMUTIL"; then
8737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8738 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
8739 else
8740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8741 printf "%s\n" "no" >&6; }
8742 fi
8743
8744 if test "x$ac_ct_DSYMUTIL" = x; then
8745 DSYMUTIL=":"
8746 else
8747 case $cross_compiling:$ac_tool_warned in
8748 yes:)
8749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8750 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8751 ac_tool_warned=yes ;;
8752 esac
8753 DSYMUTIL=$ac_ct_DSYMUTIL
8754 fi
8755 else
8756 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8757 fi
8758
8759 if test -n "$ac_tool_prefix"; then
8760 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8761 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8763 printf %s "checking for $ac_word... " >&6; }
8764 if test ${ac_cv_prog_NMEDIT+y}
8765 then :
8766 printf %s "(cached) " >&6
8767 else $as_nop
8768 if test -n "$NMEDIT"; then
8769 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8770 else
8771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8772 for as_dir in $PATH
8773 do
8774 IFS=$as_save_IFS
8775 case $as_dir in #(((
8776 '') as_dir=./ ;;
8777 */) ;;
8778 *) as_dir=$as_dir/ ;;
8779 esac
8780 for ac_exec_ext in '' $ac_executable_extensions; do
8781 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8782 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8783 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8784 break 2
8785 fi
8786 done
8787 done
8788 IFS=$as_save_IFS
8789
8790 fi
8791 fi
8792 NMEDIT=$ac_cv_prog_NMEDIT
8793 if test -n "$NMEDIT"; then
8794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8795 printf "%s\n" "$NMEDIT" >&6; }
8796 else
8797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8798 printf "%s\n" "no" >&6; }
8799 fi
8800
8801
8802 fi
8803 if test -z "$ac_cv_prog_NMEDIT"; then
8804 ac_ct_NMEDIT=$NMEDIT
8805 # Extract the first word of "nmedit", so it can be a program name with args.
8806 set dummy nmedit; ac_word=$2
8807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8808 printf %s "checking for $ac_word... " >&6; }
8809 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
8810 then :
8811 printf %s "(cached) " >&6
8812 else $as_nop
8813 if test -n "$ac_ct_NMEDIT"; then
8814 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8815 else
8816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8817 for as_dir in $PATH
8818 do
8819 IFS=$as_save_IFS
8820 case $as_dir in #(((
8821 '') as_dir=./ ;;
8822 */) ;;
8823 *) as_dir=$as_dir/ ;;
8824 esac
8825 for ac_exec_ext in '' $ac_executable_extensions; do
8826 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8827 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8828 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8829 break 2
8830 fi
8831 done
8832 done
8833 IFS=$as_save_IFS
8834
8835 fi
8836 fi
8837 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8838 if test -n "$ac_ct_NMEDIT"; then
8839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8840 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
8841 else
8842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8843 printf "%s\n" "no" >&6; }
8844 fi
8845
8846 if test "x$ac_ct_NMEDIT" = x; then
8847 NMEDIT=":"
8848 else
8849 case $cross_compiling:$ac_tool_warned in
8850 yes:)
8851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8852 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8853 ac_tool_warned=yes ;;
8854 esac
8855 NMEDIT=$ac_ct_NMEDIT
8856 fi
8857 else
8858 NMEDIT="$ac_cv_prog_NMEDIT"
8859 fi
8860
8861 if test -n "$ac_tool_prefix"; then
8862 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8863 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8865 printf %s "checking for $ac_word... " >&6; }
8866 if test ${ac_cv_prog_LIPO+y}
8867 then :
8868 printf %s "(cached) " >&6
8869 else $as_nop
8870 if test -n "$LIPO"; then
8871 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8872 else
8873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8874 for as_dir in $PATH
8875 do
8876 IFS=$as_save_IFS
8877 case $as_dir in #(((
8878 '') as_dir=./ ;;
8879 */) ;;
8880 *) as_dir=$as_dir/ ;;
8881 esac
8882 for ac_exec_ext in '' $ac_executable_extensions; do
8883 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8884 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8885 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8886 break 2
8887 fi
8888 done
8889 done
8890 IFS=$as_save_IFS
8891
8892 fi
8893 fi
8894 LIPO=$ac_cv_prog_LIPO
8895 if test -n "$LIPO"; then
8896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8897 printf "%s\n" "$LIPO" >&6; }
8898 else
8899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8900 printf "%s\n" "no" >&6; }
8901 fi
8902
8903
8904 fi
8905 if test -z "$ac_cv_prog_LIPO"; then
8906 ac_ct_LIPO=$LIPO
8907 # Extract the first word of "lipo", so it can be a program name with args.
8908 set dummy lipo; ac_word=$2
8909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8910 printf %s "checking for $ac_word... " >&6; }
8911 if test ${ac_cv_prog_ac_ct_LIPO+y}
8912 then :
8913 printf %s "(cached) " >&6
8914 else $as_nop
8915 if test -n "$ac_ct_LIPO"; then
8916 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8917 else
8918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8919 for as_dir in $PATH
8920 do
8921 IFS=$as_save_IFS
8922 case $as_dir in #(((
8923 '') as_dir=./ ;;
8924 */) ;;
8925 *) as_dir=$as_dir/ ;;
8926 esac
8927 for ac_exec_ext in '' $ac_executable_extensions; do
8928 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8929 ac_cv_prog_ac_ct_LIPO="lipo"
8930 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8931 break 2
8932 fi
8933 done
8934 done
8935 IFS=$as_save_IFS
8936
8937 fi
8938 fi
8939 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8940 if test -n "$ac_ct_LIPO"; then
8941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8942 printf "%s\n" "$ac_ct_LIPO" >&6; }
8943 else
8944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8945 printf "%s\n" "no" >&6; }
8946 fi
8947
8948 if test "x$ac_ct_LIPO" = x; then
8949 LIPO=":"
8950 else
8951 case $cross_compiling:$ac_tool_warned in
8952 yes:)
8953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8954 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8955 ac_tool_warned=yes ;;
8956 esac
8957 LIPO=$ac_ct_LIPO
8958 fi
8959 else
8960 LIPO="$ac_cv_prog_LIPO"
8961 fi
8962
8963 if test -n "$ac_tool_prefix"; then
8964 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8965 set dummy ${ac_tool_prefix}otool; ac_word=$2
8966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8967 printf %s "checking for $ac_word... " >&6; }
8968 if test ${ac_cv_prog_OTOOL+y}
8969 then :
8970 printf %s "(cached) " >&6
8971 else $as_nop
8972 if test -n "$OTOOL"; then
8973 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8974 else
8975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8976 for as_dir in $PATH
8977 do
8978 IFS=$as_save_IFS
8979 case $as_dir in #(((
8980 '') as_dir=./ ;;
8981 */) ;;
8982 *) as_dir=$as_dir/ ;;
8983 esac
8984 for ac_exec_ext in '' $ac_executable_extensions; do
8985 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8986 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8987 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8988 break 2
8989 fi
8990 done
8991 done
8992 IFS=$as_save_IFS
8993
8994 fi
8995 fi
8996 OTOOL=$ac_cv_prog_OTOOL
8997 if test -n "$OTOOL"; then
8998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8999 printf "%s\n" "$OTOOL" >&6; }
9000 else
9001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9002 printf "%s\n" "no" >&6; }
9003 fi
9004
9005
9006 fi
9007 if test -z "$ac_cv_prog_OTOOL"; then
9008 ac_ct_OTOOL=$OTOOL
9009 # Extract the first word of "otool", so it can be a program name with args.
9010 set dummy otool; ac_word=$2
9011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9012 printf %s "checking for $ac_word... " >&6; }
9013 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9014 then :
9015 printf %s "(cached) " >&6
9016 else $as_nop
9017 if test -n "$ac_ct_OTOOL"; then
9018 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9019 else
9020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9021 for as_dir in $PATH
9022 do
9023 IFS=$as_save_IFS
9024 case $as_dir in #(((
9025 '') as_dir=./ ;;
9026 */) ;;
9027 *) as_dir=$as_dir/ ;;
9028 esac
9029 for ac_exec_ext in '' $ac_executable_extensions; do
9030 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9031 ac_cv_prog_ac_ct_OTOOL="otool"
9032 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9033 break 2
9034 fi
9035 done
9036 done
9037 IFS=$as_save_IFS
9038
9039 fi
9040 fi
9041 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9042 if test -n "$ac_ct_OTOOL"; then
9043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9044 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9045 else
9046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9047 printf "%s\n" "no" >&6; }
9048 fi
9049
9050 if test "x$ac_ct_OTOOL" = x; then
9051 OTOOL=":"
9052 else
9053 case $cross_compiling:$ac_tool_warned in
9054 yes:)
9055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9056 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9057 ac_tool_warned=yes ;;
9058 esac
9059 OTOOL=$ac_ct_OTOOL
9060 fi
9061 else
9062 OTOOL="$ac_cv_prog_OTOOL"
9063 fi
9064
9065 if test -n "$ac_tool_prefix"; then
9066 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
9067 set dummy ${ac_tool_prefix}otool64; ac_word=$2
9068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9069 printf %s "checking for $ac_word... " >&6; }
9070 if test ${ac_cv_prog_OTOOL64+y}
9071 then :
9072 printf %s "(cached) " >&6
9073 else $as_nop
9074 if test -n "$OTOOL64"; then
9075 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
9076 else
9077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9078 for as_dir in $PATH
9079 do
9080 IFS=$as_save_IFS
9081 case $as_dir in #(((
9082 '') as_dir=./ ;;
9083 */) ;;
9084 *) as_dir=$as_dir/ ;;
9085 esac
9086 for ac_exec_ext in '' $ac_executable_extensions; do
9087 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9088 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
9089 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9090 break 2
9091 fi
9092 done
9093 done
9094 IFS=$as_save_IFS
9095
9096 fi
9097 fi
9098 OTOOL64=$ac_cv_prog_OTOOL64
9099 if test -n "$OTOOL64"; then
9100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
9101 printf "%s\n" "$OTOOL64" >&6; }
9102 else
9103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9104 printf "%s\n" "no" >&6; }
9105 fi
9106
9107
9108 fi
9109 if test -z "$ac_cv_prog_OTOOL64"; then
9110 ac_ct_OTOOL64=$OTOOL64
9111 # Extract the first word of "otool64", so it can be a program name with args.
9112 set dummy otool64; ac_word=$2
9113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9114 printf %s "checking for $ac_word... " >&6; }
9115 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
9116 then :
9117 printf %s "(cached) " >&6
9118 else $as_nop
9119 if test -n "$ac_ct_OTOOL64"; then
9120 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9121 else
9122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9123 for as_dir in $PATH
9124 do
9125 IFS=$as_save_IFS
9126 case $as_dir in #(((
9127 '') as_dir=./ ;;
9128 */) ;;
9129 *) as_dir=$as_dir/ ;;
9130 esac
9131 for ac_exec_ext in '' $ac_executable_extensions; do
9132 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9133 ac_cv_prog_ac_ct_OTOOL64="otool64"
9134 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9135 break 2
9136 fi
9137 done
9138 done
9139 IFS=$as_save_IFS
9140
9141 fi
9142 fi
9143 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9144 if test -n "$ac_ct_OTOOL64"; then
9145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9146 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
9147 else
9148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9149 printf "%s\n" "no" >&6; }
9150 fi
9151
9152 if test "x$ac_ct_OTOOL64" = x; then
9153 OTOOL64=":"
9154 else
9155 case $cross_compiling:$ac_tool_warned in
9156 yes:)
9157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9158 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9159 ac_tool_warned=yes ;;
9160 esac
9161 OTOOL64=$ac_ct_OTOOL64
9162 fi
9163 else
9164 OTOOL64="$ac_cv_prog_OTOOL64"
9165 fi
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9194 printf %s "checking for -single_module linker flag... " >&6; }
9195 if test ${lt_cv_apple_cc_single_mod+y}
9196 then :
9197 printf %s "(cached) " >&6
9198 else $as_nop
9199 lt_cv_apple_cc_single_mod=no
9200 if test -z "$LT_MULTI_MODULE"; then
9201 # By default we will add the -single_module flag. You can override
9202 # by either setting the environment variable LT_MULTI_MODULE
9203 # non-empty at configure time, or by adding -multi_module to the
9204 # link flags.
9205 rm -rf libconftest.dylib*
9206 echo "int foo(void){return 1;}" > conftest.c
9207 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9208 -dynamiclib -Wl,-single_module conftest.c" >&5
9209 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9210 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9211 _lt_result=$?
9212 # If there is a non-empty error log, and "single_module"
9213 # appears in it, assume the flag caused a linker warning
9214 if test -s conftest.err && $GREP single_module conftest.err; then
9215 cat conftest.err >&5
9216 # Otherwise, if the output was created with a 0 exit code from
9217 # the compiler, it worked.
9218 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
9219 lt_cv_apple_cc_single_mod=yes
9220 else
9221 cat conftest.err >&5
9222 fi
9223 rm -rf libconftest.dylib*
9224 rm -f conftest.*
9225 fi
9226 fi
9227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9228 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
9229
9230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9231 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
9232 if test ${lt_cv_ld_exported_symbols_list+y}
9233 then :
9234 printf %s "(cached) " >&6
9235 else $as_nop
9236 lt_cv_ld_exported_symbols_list=no
9237 save_LDFLAGS=$LDFLAGS
9238 echo "_main" > conftest.sym
9239 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9241 /* end confdefs.h. */
9242
9243 int
9244 main (void)
9245 {
9246
9247 ;
9248 return 0;
9249 }
9250 _ACEOF
9251 if ac_fn_c_try_link "$LINENO"
9252 then :
9253 lt_cv_ld_exported_symbols_list=yes
9254 else $as_nop
9255 lt_cv_ld_exported_symbols_list=no
9256 fi
9257 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9258 conftest$ac_exeext conftest.$ac_ext
9259 LDFLAGS=$save_LDFLAGS
9260
9261 fi
9262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9263 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
9264
9265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9266 printf %s "checking for -force_load linker flag... " >&6; }
9267 if test ${lt_cv_ld_force_load+y}
9268 then :
9269 printf %s "(cached) " >&6
9270 else $as_nop
9271 lt_cv_ld_force_load=no
9272 cat > conftest.c << _LT_EOF
9273 int forced_loaded() { return 2;}
9274 _LT_EOF
9275 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9276 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9277 echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
9278 $AR $AR_FLAGS libconftest.a conftest.o 2>&5
9279 echo "$RANLIB libconftest.a" >&5
9280 $RANLIB libconftest.a 2>&5
9281 cat > conftest.c << _LT_EOF
9282 int main() { return 0;}
9283 _LT_EOF
9284 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9285 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9286 _lt_result=$?
9287 if test -s conftest.err && $GREP force_load conftest.err; then
9288 cat conftest.err >&5
9289 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
9290 lt_cv_ld_force_load=yes
9291 else
9292 cat conftest.err >&5
9293 fi
9294 rm -f conftest.err libconftest.a conftest conftest.c
9295 rm -rf conftest.dSYM
9296
9297 fi
9298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9299 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
9300 case $host_os in
9301 rhapsody* | darwin1.[012])
9302 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
9303 darwin1.*)
9304 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9305 darwin*)
9306 case $MACOSX_DEPLOYMENT_TARGET,$host in
9307 10.[012],*|,*powerpc*-darwin[5-8]*)
9308 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9309 *)
9310 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
9311 esac
9312 ;;
9313 esac
9314 if test yes = "$lt_cv_apple_cc_single_mod"; then
9315 _lt_dar_single_mod='$single_module'
9316 fi
9317 if test yes = "$lt_cv_ld_exported_symbols_list"; then
9318 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
9319 else
9320 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
9321 fi
9322 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
9323 _lt_dsymutil='~$DSYMUTIL $lib || :'
9324 else
9325 _lt_dsymutil=
9326 fi
9327 ;;
9328 esac
9329
9330 # func_munge_path_list VARIABLE PATH
9331 # -----------------------------------
9332 # VARIABLE is name of variable containing _space_ separated list of
9333 # directories to be munged by the contents of PATH, which is string
9334 # having a format:
9335 # "DIR[:DIR]:"
9336 # string "DIR[ DIR]" will be prepended to VARIABLE
9337 # ":DIR[:DIR]"
9338 # string "DIR[ DIR]" will be appended to VARIABLE
9339 # "DIRP[:DIRP]::[DIRA:]DIRA"
9340 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
9341 # "DIRA[ DIRA]" will be appended to VARIABLE
9342 # "DIR[:DIR]"
9343 # VARIABLE will be replaced by "DIR[ DIR]"
9344 func_munge_path_list ()
9345 {
9346 case x$2 in
9347 x)
9348 ;;
9349 *:)
9350 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
9351 ;;
9352 x:*)
9353 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
9354 ;;
9355 *::*)
9356 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
9357 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
9358 ;;
9359 *)
9360 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
9361 ;;
9362 esac
9363 }
9364
9365 ac_header= ac_cache=
9366 for ac_item in $ac_header_c_list
9367 do
9368 if test $ac_cache; then
9369 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
9370 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
9371 printf "%s\n" "#define $ac_item 1" >> confdefs.h
9372 fi
9373 ac_header= ac_cache=
9374 elif test $ac_header; then
9375 ac_cache=$ac_item
9376 else
9377 ac_header=$ac_item
9378 fi
9379 done
9380
9381
9382
9383
9384
9385
9386
9387
9388 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
9389 then :
9390
9391 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
9392
9393 fi
9394 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9395 "
9396 if test "x$ac_cv_header_dlfcn_h" = xyes
9397 then :
9398 printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
9399
9400 fi
9401
9402
9403
9404
9405
9406 # Set options
9407
9408
9409
9410 enable_dlopen=no
9411
9412
9413 enable_win32_dll=no
9414
9415
9416 # Check whether --enable-shared was given.
9417 if test ${enable_shared+y}
9418 then :
9419 enableval=$enable_shared; p=${PACKAGE-default}
9420 case $enableval in
9421 yes) enable_shared=yes ;;
9422 no) enable_shared=no ;;
9423 *)
9424 enable_shared=no
9425 # Look at the argument we got. We use all the common list separators.
9426 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9427 for pkg in $enableval; do
9428 IFS=$lt_save_ifs
9429 if test "X$pkg" = "X$p"; then
9430 enable_shared=yes
9431 fi
9432 done
9433 IFS=$lt_save_ifs
9434 ;;
9435 esac
9436 else $as_nop
9437 enable_shared=yes
9438 fi
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450 # Check whether --with-pic was given.
9451 if test ${with_pic+y}
9452 then :
9453 withval=$with_pic; lt_p=${PACKAGE-default}
9454 case $withval in
9455 yes|no) pic_mode=$withval ;;
9456 *)
9457 pic_mode=default
9458 # Look at the argument we got. We use all the common list separators.
9459 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9460 for lt_pkg in $withval; do
9461 IFS=$lt_save_ifs
9462 if test "X$lt_pkg" = "X$lt_p"; then
9463 pic_mode=yes
9464 fi
9465 done
9466 IFS=$lt_save_ifs
9467 ;;
9468 esac
9469 else $as_nop
9470 pic_mode=default
9471 fi
9472
9473
9474
9475
9476
9477
9478
9479
9480 # Check whether --enable-fast-install was given.
9481 if test ${enable_fast_install+y}
9482 then :
9483 enableval=$enable_fast_install; p=${PACKAGE-default}
9484 case $enableval in
9485 yes) enable_fast_install=yes ;;
9486 no) enable_fast_install=no ;;
9487 *)
9488 enable_fast_install=no
9489 # Look at the argument we got. We use all the common list separators.
9490 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9491 for pkg in $enableval; do
9492 IFS=$lt_save_ifs
9493 if test "X$pkg" = "X$p"; then
9494 enable_fast_install=yes
9495 fi
9496 done
9497 IFS=$lt_save_ifs
9498 ;;
9499 esac
9500 else $as_nop
9501 enable_fast_install=yes
9502 fi
9503
9504
9505
9506
9507
9508
9509
9510
9511 shared_archive_member_spec=
9512 case $host,$enable_shared in
9513 power*-*-aix[5-9]*,yes)
9514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9515 printf %s "checking which variant of shared library versioning to provide... " >&6; }
9516
9517 # Check whether --with-aix-soname was given.
9518 if test ${with_aix_soname+y}
9519 then :
9520 withval=$with_aix_soname; case $withval in
9521 aix|svr4|both)
9522 ;;
9523 *)
9524 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
9525 ;;
9526 esac
9527 lt_cv_with_aix_soname=$with_aix_soname
9528 else $as_nop
9529 if test ${lt_cv_with_aix_soname+y}
9530 then :
9531 printf %s "(cached) " >&6
9532 else $as_nop
9533 lt_cv_with_aix_soname=aix
9534 fi
9535
9536 with_aix_soname=$lt_cv_with_aix_soname
9537 fi
9538
9539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9540 printf "%s\n" "$with_aix_soname" >&6; }
9541 if test aix != "$with_aix_soname"; then
9542 # For the AIX way of multilib, we name the shared archive member
9543 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9544 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9545 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9546 # the AIX toolchain works better with OBJECT_MODE set (default 32).
9547 if test 64 = "${OBJECT_MODE-32}"; then
9548 shared_archive_member_spec=shr_64
9549 else
9550 shared_archive_member_spec=shr
9551 fi
9552 fi
9553 ;;
9554 *)
9555 with_aix_soname=aix
9556 ;;
9557 esac
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568 # This can be used to rebuild libtool when needed
9569 LIBTOOL_DEPS=$ltmain
9570
9571 # Always use our own libtool.
9572 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603 test -z "$LN_S" && LN_S="ln -s"
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618 if test -n "${ZSH_VERSION+set}"; then
9619 setopt NO_GLOB_SUBST
9620 fi
9621
9622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9623 printf %s "checking for objdir... " >&6; }
9624 if test ${lt_cv_objdir+y}
9625 then :
9626 printf %s "(cached) " >&6
9627 else $as_nop
9628 rm -f .libs 2>/dev/null
9629 mkdir .libs 2>/dev/null
9630 if test -d .libs; then
9631 lt_cv_objdir=.libs
9632 else
9633 # MS-DOS does not allow filenames that begin with a dot.
9634 lt_cv_objdir=_libs
9635 fi
9636 rmdir .libs 2>/dev/null
9637 fi
9638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9639 printf "%s\n" "$lt_cv_objdir" >&6; }
9640 objdir=$lt_cv_objdir
9641
9642
9643
9644
9645
9646 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
9647
9648
9649
9650
9651 case $host_os in
9652 aix3*)
9653 # AIX sometimes has problems with the GCC collect2 program. For some
9654 # reason, if we set the COLLECT_NAMES environment variable, the problems
9655 # vanish in a puff of smoke.
9656 if test set != "${COLLECT_NAMES+set}"; then
9657 COLLECT_NAMES=
9658 export COLLECT_NAMES
9659 fi
9660 ;;
9661 esac
9662
9663 # Global variables:
9664 ofile=libtool
9665 can_build_shared=yes
9666
9667 # All known linkers require a '.a' archive for static linking (except MSVC and
9668 # ICC, which need '.lib').
9669 libext=a
9670
9671 with_gnu_ld=$lt_cv_prog_gnu_ld
9672
9673 old_CC=$CC
9674 old_CFLAGS=$CFLAGS
9675
9676 # Set sane defaults for various variables
9677 test -z "$CC" && CC=cc
9678 test -z "$LTCC" && LTCC=$CC
9679 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9680 test -z "$LD" && LD=ld
9681 test -z "$ac_objext" && ac_objext=o
9682
9683 func_cc_basename $compiler
9684 cc_basename=$func_cc_basename_result
9685
9686
9687 # Only perform the check for file, if the check method requires it
9688 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9689 case $deplibs_check_method in
9690 file_magic*)
9691 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9693 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
9694 if test ${lt_cv_path_MAGIC_CMD+y}
9695 then :
9696 printf %s "(cached) " >&6
9697 else $as_nop
9698 case $MAGIC_CMD in
9699 [\\/*] | ?:[\\/]*)
9700 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9701 ;;
9702 *)
9703 lt_save_MAGIC_CMD=$MAGIC_CMD
9704 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9705 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9706 for ac_dir in $ac_dummy; do
9707 IFS=$lt_save_ifs
9708 test -z "$ac_dir" && ac_dir=.
9709 if test -f "$ac_dir/${ac_tool_prefix}file"; then
9710 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
9711 if test -n "$file_magic_test_file"; then
9712 case $deplibs_check_method in
9713 "file_magic "*)
9714 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9715 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9716 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9717 $EGREP "$file_magic_regex" > /dev/null; then
9718 :
9719 else
9720 cat <<_LT_EOF 1>&2
9721
9722 *** Warning: the command libtool uses to detect shared libraries,
9723 *** $file_magic_cmd, produces output that libtool cannot recognize.
9724 *** The result is that libtool may fail to recognize shared libraries
9725 *** as such. This will affect the creation of libtool libraries that
9726 *** depend on shared libraries, but programs linked with such libtool
9727 *** libraries will work regardless of this problem. Nevertheless, you
9728 *** may want to report the problem to your system manager and/or to
9729 *** [email protected]
9730
9731 _LT_EOF
9732 fi ;;
9733 esac
9734 fi
9735 break
9736 fi
9737 done
9738 IFS=$lt_save_ifs
9739 MAGIC_CMD=$lt_save_MAGIC_CMD
9740 ;;
9741 esac
9742 fi
9743
9744 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9745 if test -n "$MAGIC_CMD"; then
9746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9747 printf "%s\n" "$MAGIC_CMD" >&6; }
9748 else
9749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9750 printf "%s\n" "no" >&6; }
9751 fi
9752
9753
9754
9755
9756
9757 if test -z "$lt_cv_path_MAGIC_CMD"; then
9758 if test -n "$ac_tool_prefix"; then
9759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9760 printf %s "checking for file... " >&6; }
9761 if test ${lt_cv_path_MAGIC_CMD+y}
9762 then :
9763 printf %s "(cached) " >&6
9764 else $as_nop
9765 case $MAGIC_CMD in
9766 [\\/*] | ?:[\\/]*)
9767 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9768 ;;
9769 *)
9770 lt_save_MAGIC_CMD=$MAGIC_CMD
9771 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9772 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9773 for ac_dir in $ac_dummy; do
9774 IFS=$lt_save_ifs
9775 test -z "$ac_dir" && ac_dir=.
9776 if test -f "$ac_dir/file"; then
9777 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
9778 if test -n "$file_magic_test_file"; then
9779 case $deplibs_check_method in
9780 "file_magic "*)
9781 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9782 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9783 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9784 $EGREP "$file_magic_regex" > /dev/null; then
9785 :
9786 else
9787 cat <<_LT_EOF 1>&2
9788
9789 *** Warning: the command libtool uses to detect shared libraries,
9790 *** $file_magic_cmd, produces output that libtool cannot recognize.
9791 *** The result is that libtool may fail to recognize shared libraries
9792 *** as such. This will affect the creation of libtool libraries that
9793 *** depend on shared libraries, but programs linked with such libtool
9794 *** libraries will work regardless of this problem. Nevertheless, you
9795 *** may want to report the problem to your system manager and/or to
9796 *** [email protected]
9797
9798 _LT_EOF
9799 fi ;;
9800 esac
9801 fi
9802 break
9803 fi
9804 done
9805 IFS=$lt_save_ifs
9806 MAGIC_CMD=$lt_save_MAGIC_CMD
9807 ;;
9808 esac
9809 fi
9810
9811 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9812 if test -n "$MAGIC_CMD"; then
9813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9814 printf "%s\n" "$MAGIC_CMD" >&6; }
9815 else
9816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9817 printf "%s\n" "no" >&6; }
9818 fi
9819
9820
9821 else
9822 MAGIC_CMD=:
9823 fi
9824 fi
9825
9826 fi
9827 ;;
9828 esac
9829
9830 # Use C for the default configuration in the libtool script
9831
9832 lt_save_CC=$CC
9833 ac_ext=c
9834 ac_cpp='$CPP $CPPFLAGS'
9835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9838
9839
9840 # Source file extension for C test sources.
9841 ac_ext=c
9842
9843 # Object file extension for compiled C test sources.
9844 objext=o
9845 objext=$objext
9846
9847 # Code to be used in simple compile tests
9848 lt_simple_compile_test_code="int some_variable = 0;"
9849
9850 # Code to be used in simple link tests
9851 lt_simple_link_test_code='int main(){return(0);}'
9852
9853
9854
9855
9856
9857
9858
9859 # If no C compiler was specified, use CC.
9860 LTCC=${LTCC-"$CC"}
9861
9862 # If no C compiler flags were specified, use CFLAGS.
9863 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9864
9865 # Allow CC to be a program name with arguments.
9866 compiler=$CC
9867
9868 # Save the default compiler, since it gets overwritten when the other
9869 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9870 compiler_DEFAULT=$CC
9871
9872 # save warnings/boilerplate of simple test code
9873 ac_outfile=conftest.$ac_objext
9874 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9875 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9876 _lt_compiler_boilerplate=`cat conftest.err`
9877 $RM conftest*
9878
9879 ac_outfile=conftest.$ac_objext
9880 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9881 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9882 _lt_linker_boilerplate=`cat conftest.err`
9883 $RM -r conftest*
9884
9885
9886 ## CAVEAT EMPTOR:
9887 ## There is no encapsulation within the following macros, do not change
9888 ## the running order or otherwise move them around unless you know exactly
9889 ## what you are doing...
9890 if test -n "$compiler"; then
9891
9892 lt_prog_compiler_no_builtin_flag=
9893
9894 if test yes = "$GCC"; then
9895 case $cc_basename in
9896 nvcc*)
9897 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9898 *)
9899 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9900 esac
9901
9902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9903 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9904 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
9905 then :
9906 printf %s "(cached) " >&6
9907 else $as_nop
9908 lt_cv_prog_compiler_rtti_exceptions=no
9909 ac_outfile=conftest.$ac_objext
9910 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9911 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
9912 # Insert the option either (1) after the last *FLAGS variable, or
9913 # (2) before a word containing "conftest.", or (3) at the end.
9914 # Note that $ac_compile itself does not contain backslashes and begins
9915 # with a dollar sign (not a hyphen), so the echo should work correctly.
9916 # The option is referenced via a variable to avoid confusing sed.
9917 lt_compile=`echo "$ac_compile" | $SED \
9918 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9919 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9920 -e 's:$: $lt_compiler_flag:'`
9921 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9922 (eval "$lt_compile" 2>conftest.err)
9923 ac_status=$?
9924 cat conftest.err >&5
9925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9926 if (exit $ac_status) && test -s "$ac_outfile"; then
9927 # The compiler can only warn and ignore the option if not recognized
9928 # So say no if there are warnings other than the usual output.
9929 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9930 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9931 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9932 lt_cv_prog_compiler_rtti_exceptions=yes
9933 fi
9934 fi
9935 $RM conftest*
9936
9937 fi
9938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9939 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9940
9941 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9942 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9943 else
9944 :
9945 fi
9946
9947 fi
9948
9949
9950
9951
9952
9953
9954 lt_prog_compiler_wl=
9955 lt_prog_compiler_pic=
9956 lt_prog_compiler_static=
9957
9958
9959 if test yes = "$GCC"; then
9960 lt_prog_compiler_wl='-Wl,'
9961 lt_prog_compiler_static='-static'
9962
9963 case $host_os in
9964 aix*)
9965 # All AIX code is PIC.
9966 if test ia64 = "$host_cpu"; then
9967 # AIX 5 now supports IA64 processor
9968 lt_prog_compiler_static='-Bstatic'
9969 fi
9970 lt_prog_compiler_pic='-fPIC'
9971 ;;
9972
9973 amigaos*)
9974 case $host_cpu in
9975 powerpc)
9976 # see comment about AmigaOS4 .so support
9977 lt_prog_compiler_pic='-fPIC'
9978 ;;
9979 m68k)
9980 # FIXME: we need at least 68020 code to build shared libraries, but
9981 # adding the '-m68020' flag to GCC prevents building anything better,
9982 # like '-m68040'.
9983 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9984 ;;
9985 esac
9986 ;;
9987
9988 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9989 # PIC is the default for these OSes.
9990 ;;
9991
9992 mingw* | cygwin* | pw32* | os2* | cegcc*)
9993 # This hack is so that the source file can tell whether it is being
9994 # built for inclusion in a dll (and should export symbols for example).
9995 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9996 # (--disable-auto-import) libraries
9997 lt_prog_compiler_pic='-DDLL_EXPORT'
9998 case $host_os in
9999 os2*)
10000 lt_prog_compiler_static='$wl-static'
10001 ;;
10002 esac
10003 ;;
10004
10005 darwin* | rhapsody*)
10006 # PIC is the default on this platform
10007 # Common symbols not allowed in MH_DYLIB files
10008 lt_prog_compiler_pic='-fno-common'
10009 ;;
10010
10011 haiku*)
10012 # PIC is the default for Haiku.
10013 # The "-static" flag exists, but is broken.
10014 lt_prog_compiler_static=
10015 ;;
10016
10017 hpux*)
10018 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10019 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
10020 # sets the default TLS model and affects inlining.
10021 case $host_cpu in
10022 hppa*64*)
10023 # +Z the default
10024 ;;
10025 *)
10026 lt_prog_compiler_pic='-fPIC'
10027 ;;
10028 esac
10029 ;;
10030
10031 interix[3-9]*)
10032 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10033 # Instead, we relocate shared libraries at runtime.
10034 ;;
10035
10036 msdosdjgpp*)
10037 # Just because we use GCC doesn't mean we suddenly get shared libraries
10038 # on systems that don't support them.
10039 lt_prog_compiler_can_build_shared=no
10040 enable_shared=no
10041 ;;
10042
10043 *nto* | *qnx*)
10044 # QNX uses GNU C++, but need to define -shared option too, otherwise
10045 # it will coredump.
10046 lt_prog_compiler_pic='-fPIC -shared'
10047 ;;
10048
10049 sysv4*MP*)
10050 if test -d /usr/nec; then
10051 lt_prog_compiler_pic=-Kconform_pic
10052 fi
10053 ;;
10054
10055 *)
10056 lt_prog_compiler_pic='-fPIC'
10057 ;;
10058 esac
10059
10060 case $cc_basename in
10061 nvcc*) # Cuda Compiler Driver 2.2
10062 lt_prog_compiler_wl='-Xlinker '
10063 if test -n "$lt_prog_compiler_pic"; then
10064 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
10065 fi
10066 ;;
10067 esac
10068 else
10069 # PORTME Check for flag to pass linker flags through the system compiler.
10070 case $host_os in
10071 aix*)
10072 lt_prog_compiler_wl='-Wl,'
10073 if test ia64 = "$host_cpu"; then
10074 # AIX 5 now supports IA64 processor
10075 lt_prog_compiler_static='-Bstatic'
10076 else
10077 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10078 fi
10079 ;;
10080
10081 darwin* | rhapsody*)
10082 # PIC is the default on this platform
10083 # Common symbols not allowed in MH_DYLIB files
10084 lt_prog_compiler_pic='-fno-common'
10085 case $cc_basename in
10086 nagfor*)
10087 # NAG Fortran compiler
10088 lt_prog_compiler_wl='-Wl,-Wl,,'
10089 lt_prog_compiler_pic='-PIC'
10090 lt_prog_compiler_static='-Bstatic'
10091 ;;
10092 esac
10093 ;;
10094
10095 mingw* | cygwin* | pw32* | os2* | cegcc*)
10096 # This hack is so that the source file can tell whether it is being
10097 # built for inclusion in a dll (and should export symbols for example).
10098 lt_prog_compiler_pic='-DDLL_EXPORT'
10099 case $host_os in
10100 os2*)
10101 lt_prog_compiler_static='$wl-static'
10102 ;;
10103 esac
10104 ;;
10105
10106 hpux9* | hpux10* | hpux11*)
10107 lt_prog_compiler_wl='-Wl,'
10108 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10109 # not for PA HP-UX.
10110 case $host_cpu in
10111 hppa*64*|ia64*)
10112 # +Z the default
10113 ;;
10114 *)
10115 lt_prog_compiler_pic='+Z'
10116 ;;
10117 esac
10118 # Is there a better lt_prog_compiler_static that works with the bundled CC?
10119 lt_prog_compiler_static='$wl-a ${wl}archive'
10120 ;;
10121
10122 irix5* | irix6* | nonstopux*)
10123 lt_prog_compiler_wl='-Wl,'
10124 # PIC (with -KPIC) is the default.
10125 lt_prog_compiler_static='-non_shared'
10126 ;;
10127
10128 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10129 case $cc_basename in
10130 # old Intel for x86_64, which still supported -KPIC.
10131 ecc*)
10132 lt_prog_compiler_wl='-Wl,'
10133 lt_prog_compiler_pic='-KPIC'
10134 lt_prog_compiler_static='-static'
10135 ;;
10136 # flang / f18. f95 an alias for gfortran or flang on Debian
10137 flang* | f18* | f95*)
10138 lt_prog_compiler_wl='-Wl,'
10139 lt_prog_compiler_pic='-fPIC'
10140 lt_prog_compiler_static='-static'
10141 ;;
10142 # icc used to be incompatible with GCC.
10143 # ICC 10 doesn't accept -KPIC any more.
10144 icc* | ifort*)
10145 lt_prog_compiler_wl='-Wl,'
10146 lt_prog_compiler_pic='-fPIC'
10147 lt_prog_compiler_static='-static'
10148 ;;
10149 # Lahey Fortran 8.1.
10150 lf95*)
10151 lt_prog_compiler_wl='-Wl,'
10152 lt_prog_compiler_pic='--shared'
10153 lt_prog_compiler_static='--static'
10154 ;;
10155 nagfor*)
10156 # NAG Fortran compiler
10157 lt_prog_compiler_wl='-Wl,-Wl,,'
10158 lt_prog_compiler_pic='-PIC'
10159 lt_prog_compiler_static='-Bstatic'
10160 ;;
10161 tcc*)
10162 # Fabrice Bellard et al's Tiny C Compiler
10163 lt_prog_compiler_wl='-Wl,'
10164 lt_prog_compiler_pic='-fPIC'
10165 lt_prog_compiler_static='-static'
10166 ;;
10167 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
10168 # Portland Group compilers (*not* the Pentium gcc compiler,
10169 # which looks to be a dead project)
10170 lt_prog_compiler_wl='-Wl,'
10171 lt_prog_compiler_pic='-fpic'
10172 lt_prog_compiler_static='-Bstatic'
10173 ;;
10174 ccc*)
10175 lt_prog_compiler_wl='-Wl,'
10176 # All Alpha code is PIC.
10177 lt_prog_compiler_static='-non_shared'
10178 ;;
10179 xl* | bgxl* | bgf* | mpixl*)
10180 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10181 lt_prog_compiler_wl='-Wl,'
10182 lt_prog_compiler_pic='-qpic'
10183 lt_prog_compiler_static='-qstaticlink'
10184 ;;
10185 *)
10186 case `$CC -V 2>&1 | $SED 5q` in
10187 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
10188 # Sun Fortran 8.3 passes all unrecognized flags to the linker
10189 lt_prog_compiler_pic='-KPIC'
10190 lt_prog_compiler_static='-Bstatic'
10191 lt_prog_compiler_wl=''
10192 ;;
10193 *Sun\ F* | *Sun*Fortran*)
10194 lt_prog_compiler_pic='-KPIC'
10195 lt_prog_compiler_static='-Bstatic'
10196 lt_prog_compiler_wl='-Qoption ld '
10197 ;;
10198 *Sun\ C*)
10199 # Sun C 5.9
10200 lt_prog_compiler_pic='-KPIC'
10201 lt_prog_compiler_static='-Bstatic'
10202 lt_prog_compiler_wl='-Wl,'
10203 ;;
10204 *Intel*\ [CF]*Compiler*)
10205 lt_prog_compiler_wl='-Wl,'
10206 lt_prog_compiler_pic='-fPIC'
10207 lt_prog_compiler_static='-static'
10208 ;;
10209 *Portland\ Group*)
10210 lt_prog_compiler_wl='-Wl,'
10211 lt_prog_compiler_pic='-fpic'
10212 lt_prog_compiler_static='-Bstatic'
10213 ;;
10214 esac
10215 ;;
10216 esac
10217 ;;
10218
10219 newsos6)
10220 lt_prog_compiler_pic='-KPIC'
10221 lt_prog_compiler_static='-Bstatic'
10222 ;;
10223
10224 *nto* | *qnx*)
10225 # QNX uses GNU C++, but need to define -shared option too, otherwise
10226 # it will coredump.
10227 lt_prog_compiler_pic='-fPIC -shared'
10228 ;;
10229
10230 osf3* | osf4* | osf5*)
10231 lt_prog_compiler_wl='-Wl,'
10232 # All OSF/1 code is PIC.
10233 lt_prog_compiler_static='-non_shared'
10234 ;;
10235
10236 rdos*)
10237 lt_prog_compiler_static='-non_shared'
10238 ;;
10239
10240 solaris*)
10241 lt_prog_compiler_pic='-KPIC'
10242 lt_prog_compiler_static='-Bstatic'
10243 case $cc_basename in
10244 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
10245 lt_prog_compiler_wl='-Qoption ld ';;
10246 *)
10247 lt_prog_compiler_wl='-Wl,';;
10248 esac
10249 ;;
10250
10251 sunos4*)
10252 lt_prog_compiler_wl='-Qoption ld '
10253 lt_prog_compiler_pic='-PIC'
10254 lt_prog_compiler_static='-Bstatic'
10255 ;;
10256
10257 sysv4 | sysv4.2uw2* | sysv4.3*)
10258 lt_prog_compiler_wl='-Wl,'
10259 lt_prog_compiler_pic='-KPIC'
10260 lt_prog_compiler_static='-Bstatic'
10261 ;;
10262
10263 sysv4*MP*)
10264 if test -d /usr/nec; then
10265 lt_prog_compiler_pic='-Kconform_pic'
10266 lt_prog_compiler_static='-Bstatic'
10267 fi
10268 ;;
10269
10270 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10271 lt_prog_compiler_wl='-Wl,'
10272 lt_prog_compiler_pic='-KPIC'
10273 lt_prog_compiler_static='-Bstatic'
10274 ;;
10275
10276 unicos*)
10277 lt_prog_compiler_wl='-Wl,'
10278 lt_prog_compiler_can_build_shared=no
10279 ;;
10280
10281 uts4*)
10282 lt_prog_compiler_pic='-pic'
10283 lt_prog_compiler_static='-Bstatic'
10284 ;;
10285
10286 *)
10287 lt_prog_compiler_can_build_shared=no
10288 ;;
10289 esac
10290 fi
10291
10292 case $host_os in
10293 # For platforms that do not support PIC, -DPIC is meaningless:
10294 *djgpp*)
10295 lt_prog_compiler_pic=
10296 ;;
10297 *)
10298 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10299 ;;
10300 esac
10301
10302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10303 printf %s "checking for $compiler option to produce PIC... " >&6; }
10304 if test ${lt_cv_prog_compiler_pic+y}
10305 then :
10306 printf %s "(cached) " >&6
10307 else $as_nop
10308 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
10309 fi
10310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10311 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
10312 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
10313
10314 #
10315 # Check to make sure the PIC flag actually works.
10316 #
10317 if test -n "$lt_prog_compiler_pic"; then
10318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10319 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10320 if test ${lt_cv_prog_compiler_pic_works+y}
10321 then :
10322 printf %s "(cached) " >&6
10323 else $as_nop
10324 lt_cv_prog_compiler_pic_works=no
10325 ac_outfile=conftest.$ac_objext
10326 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10327 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
10328 # Insert the option either (1) after the last *FLAGS variable, or
10329 # (2) before a word containing "conftest.", or (3) at the end.
10330 # Note that $ac_compile itself does not contain backslashes and begins
10331 # with a dollar sign (not a hyphen), so the echo should work correctly.
10332 # The option is referenced via a variable to avoid confusing sed.
10333 lt_compile=`echo "$ac_compile" | $SED \
10334 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10335 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10336 -e 's:$: $lt_compiler_flag:'`
10337 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10338 (eval "$lt_compile" 2>conftest.err)
10339 ac_status=$?
10340 cat conftest.err >&5
10341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10342 if (exit $ac_status) && test -s "$ac_outfile"; then
10343 # The compiler can only warn and ignore the option if not recognized
10344 # So say no if there are warnings other than the usual output.
10345 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10346 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10347 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10348 lt_cv_prog_compiler_pic_works=yes
10349 fi
10350 fi
10351 $RM conftest*
10352
10353 fi
10354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10355 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
10356
10357 if test yes = "$lt_cv_prog_compiler_pic_works"; then
10358 case $lt_prog_compiler_pic in
10359 "" | " "*) ;;
10360 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10361 esac
10362 else
10363 lt_prog_compiler_pic=
10364 lt_prog_compiler_can_build_shared=no
10365 fi
10366
10367 fi
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379 #
10380 # Check to make sure the static flag actually works.
10381 #
10382 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10384 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10385 if test ${lt_cv_prog_compiler_static_works+y}
10386 then :
10387 printf %s "(cached) " >&6
10388 else $as_nop
10389 lt_cv_prog_compiler_static_works=no
10390 save_LDFLAGS=$LDFLAGS
10391 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10392 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10393 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10394 # The linker can only warn and ignore the option if not recognized
10395 # So say no if there are warnings
10396 if test -s conftest.err; then
10397 # Append any errors to the config.log.
10398 cat conftest.err 1>&5
10399 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10400 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10401 if diff conftest.exp conftest.er2 >/dev/null; then
10402 lt_cv_prog_compiler_static_works=yes
10403 fi
10404 else
10405 lt_cv_prog_compiler_static_works=yes
10406 fi
10407 fi
10408 $RM -r conftest*
10409 LDFLAGS=$save_LDFLAGS
10410
10411 fi
10412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10413 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
10414
10415 if test yes = "$lt_cv_prog_compiler_static_works"; then
10416 :
10417 else
10418 lt_prog_compiler_static=
10419 fi
10420
10421
10422
10423
10424
10425
10426
10427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10428 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10429 if test ${lt_cv_prog_compiler_c_o+y}
10430 then :
10431 printf %s "(cached) " >&6
10432 else $as_nop
10433 lt_cv_prog_compiler_c_o=no
10434 $RM -r conftest 2>/dev/null
10435 mkdir conftest
10436 cd conftest
10437 mkdir out
10438 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10439
10440 lt_compiler_flag="-o out/conftest2.$ac_objext"
10441 # Insert the option either (1) after the last *FLAGS variable, or
10442 # (2) before a word containing "conftest.", or (3) at the end.
10443 # Note that $ac_compile itself does not contain backslashes and begins
10444 # with a dollar sign (not a hyphen), so the echo should work correctly.
10445 lt_compile=`echo "$ac_compile" | $SED \
10446 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10447 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10448 -e 's:$: $lt_compiler_flag:'`
10449 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10450 (eval "$lt_compile" 2>out/conftest.err)
10451 ac_status=$?
10452 cat out/conftest.err >&5
10453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10454 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10455 then
10456 # The compiler can only warn and ignore the option if not recognized
10457 # So say no if there are warnings
10458 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10459 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10460 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10461 lt_cv_prog_compiler_c_o=yes
10462 fi
10463 fi
10464 chmod u+w . 2>&5
10465 $RM conftest*
10466 # SGI C++ compiler will create directory out/ii_files/ for
10467 # template instantiation
10468 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10469 $RM out/* && rmdir out
10470 cd ..
10471 $RM -r conftest
10472 $RM conftest*
10473
10474 fi
10475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10476 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
10477
10478
10479
10480
10481
10482
10483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10484 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10485 if test ${lt_cv_prog_compiler_c_o+y}
10486 then :
10487 printf %s "(cached) " >&6
10488 else $as_nop
10489 lt_cv_prog_compiler_c_o=no
10490 $RM -r conftest 2>/dev/null
10491 mkdir conftest
10492 cd conftest
10493 mkdir out
10494 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10495
10496 lt_compiler_flag="-o out/conftest2.$ac_objext"
10497 # Insert the option either (1) after the last *FLAGS variable, or
10498 # (2) before a word containing "conftest.", or (3) at the end.
10499 # Note that $ac_compile itself does not contain backslashes and begins
10500 # with a dollar sign (not a hyphen), so the echo should work correctly.
10501 lt_compile=`echo "$ac_compile" | $SED \
10502 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10503 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10504 -e 's:$: $lt_compiler_flag:'`
10505 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10506 (eval "$lt_compile" 2>out/conftest.err)
10507 ac_status=$?
10508 cat out/conftest.err >&5
10509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10510 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10511 then
10512 # The compiler can only warn and ignore the option if not recognized
10513 # So say no if there are warnings
10514 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10515 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10516 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10517 lt_cv_prog_compiler_c_o=yes
10518 fi
10519 fi
10520 chmod u+w . 2>&5
10521 $RM conftest*
10522 # SGI C++ compiler will create directory out/ii_files/ for
10523 # template instantiation
10524 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10525 $RM out/* && rmdir out
10526 cd ..
10527 $RM -r conftest
10528 $RM conftest*
10529
10530 fi
10531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10532 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
10533
10534
10535
10536
10537 hard_links=nottested
10538 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
10539 # do not overwrite the value of need_locks provided by the user
10540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10541 printf %s "checking if we can lock with hard links... " >&6; }
10542 hard_links=yes
10543 $RM conftest*
10544 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10545 touch conftest.a
10546 ln conftest.a conftest.b 2>&5 || hard_links=no
10547 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10549 printf "%s\n" "$hard_links" >&6; }
10550 if test no = "$hard_links"; then
10551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10552 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10553 need_locks=warn
10554 fi
10555 else
10556 need_locks=no
10557 fi
10558
10559
10560
10561
10562
10563
10564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10565 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10566
10567 runpath_var=
10568 allow_undefined_flag=
10569 always_export_symbols=no
10570 archive_cmds=
10571 archive_expsym_cmds=
10572 compiler_needs_object=no
10573 enable_shared_with_static_runtimes=no
10574 export_dynamic_flag_spec=
10575 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10576 hardcode_automatic=no
10577 hardcode_direct=no
10578 hardcode_direct_absolute=no
10579 hardcode_libdir_flag_spec=
10580 hardcode_libdir_separator=
10581 hardcode_minus_L=no
10582 hardcode_shlibpath_var=unsupported
10583 inherit_rpath=no
10584 link_all_deplibs=unknown
10585 module_cmds=
10586 module_expsym_cmds=
10587 old_archive_from_new_cmds=
10588 old_archive_from_expsyms_cmds=
10589 thread_safe_flag_spec=
10590 whole_archive_flag_spec=
10591 # include_expsyms should be a list of space-separated symbols to be *always*
10592 # included in the symbol list
10593 include_expsyms=
10594 # exclude_expsyms can be an extended regexp of symbols to exclude
10595 # it will be wrapped by ' (' and ')$', so one must not match beginning or
10596 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10597 # as well as any symbol that contains 'd'.
10598 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10599 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10600 # platforms (ab)use it in PIC code, but their linkers get confused if
10601 # the symbol is explicitly referenced. Since portable code cannot
10602 # rely on this symbol name, it's probably fine to never include it in
10603 # preloaded symbol tables.
10604 # Exclude shared library initialization/finalization symbols.
10605 extract_expsyms_cmds=
10606
10607 case $host_os in
10608 cygwin* | mingw* | pw32* | cegcc*)
10609 # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
10610 # When not using gcc, we currently assume that we are using
10611 # Microsoft Visual C++ or Intel C++ Compiler.
10612 if test yes != "$GCC"; then
10613 with_gnu_ld=no
10614 fi
10615 ;;
10616 interix*)
10617 # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
10618 with_gnu_ld=yes
10619 ;;
10620 openbsd* | bitrig*)
10621 with_gnu_ld=no
10622 ;;
10623 linux* | k*bsd*-gnu | gnu*)
10624 link_all_deplibs=no
10625 ;;
10626 esac
10627
10628 ld_shlibs=yes
10629
10630 # On some targets, GNU ld is compatible enough with the native linker
10631 # that we're better off using the native interface for both.
10632 lt_use_gnu_ld_interface=no
10633 if test yes = "$with_gnu_ld"; then
10634 case $host_os in
10635 aix*)
10636 # The AIX port of GNU ld has always aspired to compatibility
10637 # with the native linker. However, as the warning in the GNU ld
10638 # block says, versions before 2.19.5* couldn't really create working
10639 # shared libraries, regardless of the interface used.
10640 case `$LD -v 2>&1` in
10641 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10642 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10643 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10644 *)
10645 lt_use_gnu_ld_interface=yes
10646 ;;
10647 esac
10648 ;;
10649 *)
10650 lt_use_gnu_ld_interface=yes
10651 ;;
10652 esac
10653 fi
10654
10655 if test yes = "$lt_use_gnu_ld_interface"; then
10656 # If archive_cmds runs LD, not CC, wlarc should be empty
10657 wlarc='$wl'
10658
10659 # Set some defaults for GNU ld with shared library support. These
10660 # are reset later if shared libraries are not supported. Putting them
10661 # here allows them to be overridden if necessary.
10662 runpath_var=LD_RUN_PATH
10663 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10664 export_dynamic_flag_spec='$wl--export-dynamic'
10665 # ancient GNU ld didn't support --whole-archive et. al.
10666 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10667 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10668 else
10669 whole_archive_flag_spec=
10670 fi
10671 supports_anon_versioning=no
10672 case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
10673 *GNU\ gold*) supports_anon_versioning=yes ;;
10674 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10675 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10676 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10677 *\ 2.11.*) ;; # other 2.11 versions
10678 *) supports_anon_versioning=yes ;;
10679 esac
10680
10681 # See if GNU ld supports shared libraries.
10682 case $host_os in
10683 aix[3-9]*)
10684 # On AIX/PPC, the GNU linker is very broken
10685 if test ia64 != "$host_cpu"; then
10686 ld_shlibs=no
10687 cat <<_LT_EOF 1>&2
10688
10689 *** Warning: the GNU linker, at least up to release 2.19, is reported
10690 *** to be unable to reliably create shared libraries on AIX.
10691 *** Therefore, libtool is disabling shared libraries support. If you
10692 *** really care for shared libraries, you may want to install binutils
10693 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10694 *** You will then need to restart the configuration process.
10695
10696 _LT_EOF
10697 fi
10698 ;;
10699
10700 amigaos*)
10701 case $host_cpu in
10702 powerpc)
10703 # see comment about AmigaOS4 .so support
10704 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10705 archive_expsym_cmds=''
10706 ;;
10707 m68k)
10708 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
10709 hardcode_libdir_flag_spec='-L$libdir'
10710 hardcode_minus_L=yes
10711 ;;
10712 esac
10713 ;;
10714
10715 beos*)
10716 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10717 allow_undefined_flag=unsupported
10718 # Joseph Beckenbach <[email protected]> says some releases of gcc
10719 # support --undefined. This deserves some investigation. FIXME
10720 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10721 else
10722 ld_shlibs=no
10723 fi
10724 ;;
10725
10726 cygwin* | mingw* | pw32* | cegcc*)
10727 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10728 # as there is no search path for DLLs.
10729 hardcode_libdir_flag_spec='-L$libdir'
10730 export_dynamic_flag_spec='$wl--export-all-symbols'
10731 allow_undefined_flag=unsupported
10732 always_export_symbols=no
10733 enable_shared_with_static_runtimes=yes
10734 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
10735 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10736
10737 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10738 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10739 # If the export-symbols file already is a .def file, use it as
10740 # is; otherwise, prepend EXPORTS...
10741 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10742 cp $export_symbols $output_objdir/$soname.def;
10743 else
10744 echo EXPORTS > $output_objdir/$soname.def;
10745 cat $export_symbols >> $output_objdir/$soname.def;
10746 fi~
10747 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10748 else
10749 ld_shlibs=no
10750 fi
10751 ;;
10752
10753 haiku*)
10754 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10755 link_all_deplibs=yes
10756 ;;
10757
10758 os2*)
10759 hardcode_libdir_flag_spec='-L$libdir'
10760 hardcode_minus_L=yes
10761 allow_undefined_flag=unsupported
10762 shrext_cmds=.dll
10763 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10764 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10765 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10766 $ECHO EXPORTS >> $output_objdir/$libname.def~
10767 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10768 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10769 emximp -o $lib $output_objdir/$libname.def'
10770 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10771 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10772 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10773 $ECHO EXPORTS >> $output_objdir/$libname.def~
10774 prefix_cmds="$SED"~
10775 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10776 prefix_cmds="$prefix_cmds -e 1d";
10777 fi~
10778 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10779 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10780 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10781 emximp -o $lib $output_objdir/$libname.def'
10782 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10783 enable_shared_with_static_runtimes=yes
10784 file_list_spec='@'
10785 ;;
10786
10787 interix[3-9]*)
10788 hardcode_direct=no
10789 hardcode_shlibpath_var=no
10790 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10791 export_dynamic_flag_spec='$wl-E'
10792 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10793 # Instead, shared libraries are loaded at an image base (0x10000000 by
10794 # default) and relocated if they conflict, which is a slow very memory
10795 # consuming and fragmenting process. To avoid this, we pick a random,
10796 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10797 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10798 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10799 archive_expsym_cmds='$SED "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10800 ;;
10801
10802 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10803 tmp_diet=no
10804 if test linux-dietlibc = "$host_os"; then
10805 case $cc_basename in
10806 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10807 esac
10808 fi
10809 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10810 && test no = "$tmp_diet"
10811 then
10812 tmp_addflag=' $pic_flag'
10813 tmp_sharedflag='-shared'
10814 case $cc_basename,$host_cpu in
10815 pgcc*) # Portland Group C compiler
10816 whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
10817 tmp_addflag=' $pic_flag'
10818 ;;
10819 pgf77* | pgf90* | pgf95* | pgfortran*)
10820 # Portland Group f77 and f90 compilers
10821 whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
10822 tmp_addflag=' $pic_flag -Mnomain' ;;
10823 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10824 tmp_addflag=' -i_dynamic' ;;
10825 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10826 tmp_addflag=' -i_dynamic -nofor_main' ;;
10827 ifc* | ifort*) # Intel Fortran compiler
10828 tmp_addflag=' -nofor_main' ;;
10829 lf95*) # Lahey Fortran 8.1
10830 whole_archive_flag_spec=
10831 tmp_sharedflag='--shared' ;;
10832 nagfor*) # NAGFOR 5.3
10833 tmp_sharedflag='-Wl,-shared' ;;
10834 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10835 tmp_sharedflag='-qmkshrobj'
10836 tmp_addflag= ;;
10837 nvcc*) # Cuda Compiler Driver 2.2
10838 whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
10839 compiler_needs_object=yes
10840 ;;
10841 esac
10842 case `$CC -V 2>&1 | $SED 5q` in
10843 *Sun\ C*) # Sun C 5.9
10844 whole_archive_flag_spec='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
10845 compiler_needs_object=yes
10846 tmp_sharedflag='-G' ;;
10847 *Sun\ F*) # Sun Fortran 8.3
10848 tmp_sharedflag='-G' ;;
10849 esac
10850 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10851
10852 if test yes = "$supports_anon_versioning"; then
10853 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10854 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10855 echo "local: *; };" >> $output_objdir/$libname.ver~
10856 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10857 fi
10858
10859 case $cc_basename in
10860 tcc*)
10861 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10862 export_dynamic_flag_spec='-rdynamic'
10863 ;;
10864 xlf* | bgf* | bgxlf* | mpixlf*)
10865 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10866 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10867 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10868 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10869 if test yes = "$supports_anon_versioning"; then
10870 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10871 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10872 echo "local: *; };" >> $output_objdir/$libname.ver~
10873 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10874 fi
10875 ;;
10876 esac
10877 else
10878 ld_shlibs=no
10879 fi
10880 ;;
10881
10882 netbsd* | netbsdelf*-gnu)
10883 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10884 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10885 wlarc=
10886 else
10887 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10888 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10889 fi
10890 ;;
10891
10892 solaris*)
10893 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10894 ld_shlibs=no
10895 cat <<_LT_EOF 1>&2
10896
10897 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10898 *** create shared libraries on Solaris systems. Therefore, libtool
10899 *** is disabling shared libraries support. We urge you to upgrade GNU
10900 *** binutils to release 2.9.1 or newer. Another option is to modify
10901 *** your PATH or compiler configuration so that the native linker is
10902 *** used, and then restart.
10903
10904 _LT_EOF
10905 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10906 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10907 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10908 else
10909 ld_shlibs=no
10910 fi
10911 ;;
10912
10913 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10914 case `$LD -v 2>&1` in
10915 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10916 ld_shlibs=no
10917 cat <<_LT_EOF 1>&2
10918
10919 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10920 *** reliably create shared libraries on SCO systems. Therefore, libtool
10921 *** is disabling shared libraries support. We urge you to upgrade GNU
10922 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10923 *** your PATH or compiler configuration so that the native linker is
10924 *** used, and then restart.
10925
10926 _LT_EOF
10927 ;;
10928 *)
10929 # For security reasons, it is highly recommended that you always
10930 # use absolute paths for naming shared libraries, and exclude the
10931 # DT_RUNPATH tag from executables and libraries. But doing so
10932 # requires that you compile everything twice, which is a pain.
10933 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10934 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10935 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10936 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10937 else
10938 ld_shlibs=no
10939 fi
10940 ;;
10941 esac
10942 ;;
10943
10944 sunos4*)
10945 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10946 wlarc=
10947 hardcode_direct=yes
10948 hardcode_shlibpath_var=no
10949 ;;
10950
10951 *)
10952 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10953 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10954 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10955 else
10956 ld_shlibs=no
10957 fi
10958 ;;
10959 esac
10960
10961 if test no = "$ld_shlibs"; then
10962 runpath_var=
10963 hardcode_libdir_flag_spec=
10964 export_dynamic_flag_spec=
10965 whole_archive_flag_spec=
10966 fi
10967 else
10968 # PORTME fill in a description of your system's linker (not GNU ld)
10969 case $host_os in
10970 aix3*)
10971 allow_undefined_flag=unsupported
10972 always_export_symbols=yes
10973 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
10974 # Note: this linker hardcodes the directories in LIBPATH if there
10975 # are no directories specified by -L.
10976 hardcode_minus_L=yes
10977 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10978 # Neither direct hardcoding nor static linking is supported with a
10979 # broken collect2.
10980 hardcode_direct=unsupported
10981 fi
10982 ;;
10983
10984 aix[4-9]*)
10985 if test ia64 = "$host_cpu"; then
10986 # On IA64, the linker does run time linking by default, so we don't
10987 # have to do anything special.
10988 aix_use_runtimelinking=no
10989 exp_sym_flag='-Bexport'
10990 no_entry_flag=
10991 else
10992 # If we're using GNU nm, then we don't want the "-C" option.
10993 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
10994 # Without the "-l" option, or with the "-B" option, AIX nm treats
10995 # weak defined symbols like other global defined symbols, whereas
10996 # GNU nm marks them as "W".
10997 # While the 'weak' keyword is ignored in the Export File, we need
10998 # it in the Import File for the 'aix-soname' feature, so we have
10999 # to replace the "-B" option with "-P" for AIX nm.
11000 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
11001 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
11002 else
11003 export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
11004 fi
11005 aix_use_runtimelinking=no
11006
11007 # Test if we are trying to use run time linking or normal
11008 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11009 # have runtime linking enabled, and use it for executables.
11010 # For shared libraries, we enable/disable runtime linking
11011 # depending on the kind of the shared library created -
11012 # when "with_aix_soname,aix_use_runtimelinking" is:
11013 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
11014 # "aix,yes" lib.so shared, rtl:yes, for executables
11015 # lib.a static archive
11016 # "both,no" lib.so.V(shr.o) shared, rtl:yes
11017 # lib.a(lib.so.V) shared, rtl:no, for executables
11018 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
11019 # lib.a(lib.so.V) shared, rtl:no
11020 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
11021 # lib.a static archive
11022 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11023 for ld_flag in $LDFLAGS; do
11024 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
11025 aix_use_runtimelinking=yes
11026 break
11027 fi
11028 done
11029 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
11030 # With aix-soname=svr4, we create the lib.so.V shared archives only,
11031 # so we don't have lib.a shared libs to link our executables.
11032 # We have to force runtime linking in this case.
11033 aix_use_runtimelinking=yes
11034 LDFLAGS="$LDFLAGS -Wl,-brtl"
11035 fi
11036 ;;
11037 esac
11038
11039 exp_sym_flag='-bexport'
11040 no_entry_flag='-bnoentry'
11041 fi
11042
11043 # When large executables or shared objects are built, AIX ld can
11044 # have problems creating the table of contents. If linking a library
11045 # or program results in "error TOC overflow" add -mminimal-toc to
11046 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11047 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11048
11049 archive_cmds=''
11050 hardcode_direct=yes
11051 hardcode_direct_absolute=yes
11052 hardcode_libdir_separator=':'
11053 link_all_deplibs=yes
11054 file_list_spec='$wl-f,'
11055 case $with_aix_soname,$aix_use_runtimelinking in
11056 aix,*) ;; # traditional, no import file
11057 svr4,* | *,yes) # use import file
11058 # The Import File defines what to hardcode.
11059 hardcode_direct=no
11060 hardcode_direct_absolute=no
11061 ;;
11062 esac
11063
11064 if test yes = "$GCC"; then
11065 case $host_os in aix4.[012]|aix4.[012].*)
11066 # We only want to do this on AIX 4.2 and lower, the check
11067 # below for broken collect2 doesn't work under 4.3+
11068 collect2name=`$CC -print-prog-name=collect2`
11069 if test -f "$collect2name" &&
11070 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11071 then
11072 # We have reworked collect2
11073 :
11074 else
11075 # We have old collect2
11076 hardcode_direct=unsupported
11077 # It fails to find uninstalled libraries when the uninstalled
11078 # path is not listed in the libpath. Setting hardcode_minus_L
11079 # to unsupported forces relinking
11080 hardcode_minus_L=yes
11081 hardcode_libdir_flag_spec='-L$libdir'
11082 hardcode_libdir_separator=
11083 fi
11084 ;;
11085 esac
11086 shared_flag='-shared'
11087 if test yes = "$aix_use_runtimelinking"; then
11088 shared_flag="$shared_flag "'$wl-G'
11089 fi
11090 # Need to ensure runtime linking is disabled for the traditional
11091 # shared library, or the linker may eventually find shared libraries
11092 # /with/ Import File - we do not want to mix them.
11093 shared_flag_aix='-shared'
11094 shared_flag_svr4='-shared $wl-G'
11095 else
11096 # not using gcc
11097 if test ia64 = "$host_cpu"; then
11098 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11099 # chokes on -Wl,-G. The following line is correct:
11100 shared_flag='-G'
11101 else
11102 if test yes = "$aix_use_runtimelinking"; then
11103 shared_flag='$wl-G'
11104 else
11105 shared_flag='$wl-bM:SRE'
11106 fi
11107 shared_flag_aix='$wl-bM:SRE'
11108 shared_flag_svr4='$wl-G'
11109 fi
11110 fi
11111
11112 export_dynamic_flag_spec='$wl-bexpall'
11113 # It seems that -bexpall does not export symbols beginning with
11114 # underscore (_), so it is better to generate a list of symbols to export.
11115 always_export_symbols=yes
11116 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
11117 # Warning - without using the other runtime loading flags (-brtl),
11118 # -berok will link without error, but may produce a broken library.
11119 allow_undefined_flag='-berok'
11120 # Determine the default libpath from the value encoded in an
11121 # empty executable.
11122 if test set = "${lt_cv_aix_libpath+set}"; then
11123 aix_libpath=$lt_cv_aix_libpath
11124 else
11125 if test ${lt_cv_aix_libpath_+y}
11126 then :
11127 printf %s "(cached) " >&6
11128 else $as_nop
11129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11130 /* end confdefs.h. */
11131
11132 int
11133 main (void)
11134 {
11135
11136 ;
11137 return 0;
11138 }
11139 _ACEOF
11140 if ac_fn_c_try_link "$LINENO"
11141 then :
11142
11143 lt_aix_libpath_sed='
11144 /Import File Strings/,/^$/ {
11145 /^0/ {
11146 s/^0 *\([^ ]*\) *$/\1/
11147 p
11148 }
11149 }'
11150 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11151 # Check for a 64-bit object if we didn't find anything.
11152 if test -z "$lt_cv_aix_libpath_"; then
11153 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11154 fi
11155 fi
11156 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11157 conftest$ac_exeext conftest.$ac_ext
11158 if test -z "$lt_cv_aix_libpath_"; then
11159 lt_cv_aix_libpath_=/usr/lib:/lib
11160 fi
11161
11162 fi
11163
11164 aix_libpath=$lt_cv_aix_libpath_
11165 fi
11166
11167 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11168 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
11169 else
11170 if test ia64 = "$host_cpu"; then
11171 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
11172 allow_undefined_flag="-z nodefs"
11173 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
11174 else
11175 # Determine the default libpath from the value encoded in an
11176 # empty executable.
11177 if test set = "${lt_cv_aix_libpath+set}"; then
11178 aix_libpath=$lt_cv_aix_libpath
11179 else
11180 if test ${lt_cv_aix_libpath_+y}
11181 then :
11182 printf %s "(cached) " >&6
11183 else $as_nop
11184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11185 /* end confdefs.h. */
11186
11187 int
11188 main (void)
11189 {
11190
11191 ;
11192 return 0;
11193 }
11194 _ACEOF
11195 if ac_fn_c_try_link "$LINENO"
11196 then :
11197
11198 lt_aix_libpath_sed='
11199 /Import File Strings/,/^$/ {
11200 /^0/ {
11201 s/^0 *\([^ ]*\) *$/\1/
11202 p
11203 }
11204 }'
11205 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11206 # Check for a 64-bit object if we didn't find anything.
11207 if test -z "$lt_cv_aix_libpath_"; then
11208 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11209 fi
11210 fi
11211 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11212 conftest$ac_exeext conftest.$ac_ext
11213 if test -z "$lt_cv_aix_libpath_"; then
11214 lt_cv_aix_libpath_=/usr/lib:/lib
11215 fi
11216
11217 fi
11218
11219 aix_libpath=$lt_cv_aix_libpath_
11220 fi
11221
11222 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11223 # Warning - without using the other run time loading flags,
11224 # -berok will link without error, but may produce a broken library.
11225 no_undefined_flag=' $wl-bernotok'
11226 allow_undefined_flag=' $wl-berok'
11227 if test yes = "$with_gnu_ld"; then
11228 # We only use this code for GNU lds that support --whole-archive.
11229 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
11230 else
11231 # Exported symbols can be pulled into shared objects from archives
11232 whole_archive_flag_spec='$convenience'
11233 fi
11234 archive_cmds_need_lc=yes
11235 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
11236 # -brtl affects multiple linker settings, -berok does not and is overridden later
11237 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
11238 if test svr4 != "$with_aix_soname"; then
11239 # This is similar to how AIX traditionally builds its shared libraries.
11240 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
11241 fi
11242 if test aix != "$with_aix_soname"; then
11243 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
11244 else
11245 # used by -dlpreopen to get the symbols
11246 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
11247 fi
11248 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
11249 fi
11250 fi
11251 ;;
11252
11253 amigaos*)
11254 case $host_cpu in
11255 powerpc)
11256 # see comment about AmigaOS4 .so support
11257 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11258 archive_expsym_cmds=''
11259 ;;
11260 m68k)
11261 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
11262 hardcode_libdir_flag_spec='-L$libdir'
11263 hardcode_minus_L=yes
11264 ;;
11265 esac
11266 ;;
11267
11268 bsdi[45]*)
11269 export_dynamic_flag_spec=-rdynamic
11270 ;;
11271
11272 cygwin* | mingw* | pw32* | cegcc*)
11273 # When not using gcc, we currently assume that we are using
11274 # Microsoft Visual C++ or Intel C++ Compiler.
11275 # hardcode_libdir_flag_spec is actually meaningless, as there is
11276 # no search path for DLLs.
11277 case $cc_basename in
11278 cl* | icl*)
11279 # Native MSVC or ICC
11280 hardcode_libdir_flag_spec=' '
11281 allow_undefined_flag=unsupported
11282 always_export_symbols=yes
11283 file_list_spec='@'
11284 # Tell ltmain to make .lib files, not .a files.
11285 libext=lib
11286 # Tell ltmain to make .dll files, not .so files.
11287 shrext_cmds=.dll
11288 # FIXME: Setting linknames here is a bad hack.
11289 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
11290 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
11291 cp "$export_symbols" "$output_objdir/$soname.def";
11292 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
11293 else
11294 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
11295 fi~
11296 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11297 linknames='
11298 # The linker will not automatically build a static lib if we build a DLL.
11299 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11300 enable_shared_with_static_runtimes=yes
11301 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11302 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11303 # Don't use ranlib
11304 old_postinstall_cmds='chmod 644 $oldlib'
11305 postlink_cmds='lt_outputfile="@OUTPUT@"~
11306 lt_tool_outputfile="@TOOL_OUTPUT@"~
11307 case $lt_outputfile in
11308 *.exe|*.EXE) ;;
11309 *)
11310 lt_outputfile=$lt_outputfile.exe
11311 lt_tool_outputfile=$lt_tool_outputfile.exe
11312 ;;
11313 esac~
11314 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
11315 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11316 $RM "$lt_outputfile.manifest";
11317 fi'
11318 ;;
11319 *)
11320 # Assume MSVC and ICC wrapper
11321 hardcode_libdir_flag_spec=' '
11322 allow_undefined_flag=unsupported
11323 # Tell ltmain to make .lib files, not .a files.
11324 libext=lib
11325 # Tell ltmain to make .dll files, not .so files.
11326 shrext_cmds=.dll
11327 # FIXME: Setting linknames here is a bad hack.
11328 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11329 # The linker will automatically build a .lib file if we build a DLL.
11330 old_archive_from_new_cmds='true'
11331 # FIXME: Should let the user specify the lib program.
11332 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11333 enable_shared_with_static_runtimes=yes
11334 ;;
11335 esac
11336 ;;
11337
11338 darwin* | rhapsody*)
11339
11340
11341 archive_cmds_need_lc=no
11342 hardcode_direct=no
11343 hardcode_automatic=yes
11344 hardcode_shlibpath_var=unsupported
11345 if test yes = "$lt_cv_ld_force_load"; then
11346 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
11347
11348 else
11349 whole_archive_flag_spec=''
11350 fi
11351 link_all_deplibs=yes
11352 allow_undefined_flag=$_lt_dar_allow_undefined
11353 case $cc_basename in
11354 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
11355 *) _lt_dar_can_shared=$GCC ;;
11356 esac
11357 if test yes = "$_lt_dar_can_shared"; then
11358 output_verbose_link_cmd=func_echo_all
11359 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
11360 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
11361 archive_expsym_cmds="$SED 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
11362 module_expsym_cmds="$SED -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
11363
11364 else
11365 ld_shlibs=no
11366 fi
11367
11368 ;;
11369
11370 dgux*)
11371 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11372 hardcode_libdir_flag_spec='-L$libdir'
11373 hardcode_shlibpath_var=no
11374 ;;
11375
11376 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11377 # support. Future versions do this automatically, but an explicit c++rt0.o
11378 # does not break anything, and helps significantly (at the cost of a little
11379 # extra space).
11380 freebsd2.2*)
11381 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11382 hardcode_libdir_flag_spec='-R$libdir'
11383 hardcode_direct=yes
11384 hardcode_shlibpath_var=no
11385 ;;
11386
11387 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11388 freebsd2.*)
11389 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11390 hardcode_direct=yes
11391 hardcode_minus_L=yes
11392 hardcode_shlibpath_var=no
11393 ;;
11394
11395 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11396 freebsd* | dragonfly* | midnightbsd*)
11397 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11398 hardcode_libdir_flag_spec='-R$libdir'
11399 hardcode_direct=yes
11400 hardcode_shlibpath_var=no
11401 ;;
11402
11403 hpux9*)
11404 if test yes = "$GCC"; then
11405 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
11406 else
11407 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
11408 fi
11409 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11410 hardcode_libdir_separator=:
11411 hardcode_direct=yes
11412
11413 # hardcode_minus_L: Not really in the search PATH,
11414 # but as the default location of the library.
11415 hardcode_minus_L=yes
11416 export_dynamic_flag_spec='$wl-E'
11417 ;;
11418
11419 hpux10*)
11420 if test yes,no = "$GCC,$with_gnu_ld"; then
11421 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11422 else
11423 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11424 fi
11425 if test no = "$with_gnu_ld"; then
11426 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11427 hardcode_libdir_separator=:
11428 hardcode_direct=yes
11429 hardcode_direct_absolute=yes
11430 export_dynamic_flag_spec='$wl-E'
11431 # hardcode_minus_L: Not really in the search PATH,
11432 # but as the default location of the library.
11433 hardcode_minus_L=yes
11434 fi
11435 ;;
11436
11437 hpux11*)
11438 if test yes,no = "$GCC,$with_gnu_ld"; then
11439 case $host_cpu in
11440 hppa*64*)
11441 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11442 ;;
11443 ia64*)
11444 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11445 ;;
11446 *)
11447 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11448 ;;
11449 esac
11450 else
11451 case $host_cpu in
11452 hppa*64*)
11453 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11454 ;;
11455 ia64*)
11456 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11457 ;;
11458 *)
11459
11460 # Older versions of the 11.00 compiler do not understand -b yet
11461 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11463 printf %s "checking if $CC understands -b... " >&6; }
11464 if test ${lt_cv_prog_compiler__b+y}
11465 then :
11466 printf %s "(cached) " >&6
11467 else $as_nop
11468 lt_cv_prog_compiler__b=no
11469 save_LDFLAGS=$LDFLAGS
11470 LDFLAGS="$LDFLAGS -b"
11471 echo "$lt_simple_link_test_code" > conftest.$ac_ext
11472 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11473 # The linker can only warn and ignore the option if not recognized
11474 # So say no if there are warnings
11475 if test -s conftest.err; then
11476 # Append any errors to the config.log.
11477 cat conftest.err 1>&5
11478 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11479 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11480 if diff conftest.exp conftest.er2 >/dev/null; then
11481 lt_cv_prog_compiler__b=yes
11482 fi
11483 else
11484 lt_cv_prog_compiler__b=yes
11485 fi
11486 fi
11487 $RM -r conftest*
11488 LDFLAGS=$save_LDFLAGS
11489
11490 fi
11491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11492 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
11493
11494 if test yes = "$lt_cv_prog_compiler__b"; then
11495 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11496 else
11497 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11498 fi
11499
11500 ;;
11501 esac
11502 fi
11503 if test no = "$with_gnu_ld"; then
11504 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11505 hardcode_libdir_separator=:
11506
11507 case $host_cpu in
11508 hppa*64*|ia64*)
11509 hardcode_direct=no
11510 hardcode_shlibpath_var=no
11511 ;;
11512 *)
11513 hardcode_direct=yes
11514 hardcode_direct_absolute=yes
11515 export_dynamic_flag_spec='$wl-E'
11516
11517 # hardcode_minus_L: Not really in the search PATH,
11518 # but as the default location of the library.
11519 hardcode_minus_L=yes
11520 ;;
11521 esac
11522 fi
11523 ;;
11524
11525 irix5* | irix6* | nonstopux*)
11526 if test yes = "$GCC"; then
11527 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
11528 # Try to use the -exported_symbol ld option, if it does not
11529 # work, assume that -exports_file does not work either and
11530 # implicitly export all symbols.
11531 # This should be the same for all languages, so no per-tag cache variable.
11532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11533 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11534 if test ${lt_cv_irix_exported_symbol+y}
11535 then :
11536 printf %s "(cached) " >&6
11537 else $as_nop
11538 save_LDFLAGS=$LDFLAGS
11539 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11541 /* end confdefs.h. */
11542 int foo (void) { return 0; }
11543 _ACEOF
11544 if ac_fn_c_try_link "$LINENO"
11545 then :
11546 lt_cv_irix_exported_symbol=yes
11547 else $as_nop
11548 lt_cv_irix_exported_symbol=no
11549 fi
11550 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11551 conftest$ac_exeext conftest.$ac_ext
11552 LDFLAGS=$save_LDFLAGS
11553 fi
11554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11555 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
11556 if test yes = "$lt_cv_irix_exported_symbol"; then
11557 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
11558 fi
11559 link_all_deplibs=no
11560 else
11561 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
11562 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib'
11563 fi
11564 archive_cmds_need_lc='no'
11565 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11566 hardcode_libdir_separator=:
11567 inherit_rpath=yes
11568 link_all_deplibs=yes
11569 ;;
11570
11571 linux*)
11572 case $cc_basename in
11573 tcc*)
11574 # Fabrice Bellard et al's Tiny C Compiler
11575 ld_shlibs=yes
11576 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11577 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11578 ;;
11579 esac
11580 ;;
11581
11582 netbsd* | netbsdelf*-gnu)
11583 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11584 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11585 else
11586 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11587 fi
11588 hardcode_libdir_flag_spec='-R$libdir'
11589 hardcode_direct=yes
11590 hardcode_shlibpath_var=no
11591 ;;
11592
11593 newsos6)
11594 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11595 hardcode_direct=yes
11596 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11597 hardcode_libdir_separator=:
11598 hardcode_shlibpath_var=no
11599 ;;
11600
11601 *nto* | *qnx*)
11602 ;;
11603
11604 openbsd* | bitrig*)
11605 if test -f /usr/libexec/ld.so; then
11606 hardcode_direct=yes
11607 hardcode_shlibpath_var=no
11608 hardcode_direct_absolute=yes
11609 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11610 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11611 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11612 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11613 export_dynamic_flag_spec='$wl-E'
11614 else
11615 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11616 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11617 fi
11618 else
11619 ld_shlibs=no
11620 fi
11621 ;;
11622
11623 os2*)
11624 hardcode_libdir_flag_spec='-L$libdir'
11625 hardcode_minus_L=yes
11626 allow_undefined_flag=unsupported
11627 shrext_cmds=.dll
11628 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11629 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11630 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11631 $ECHO EXPORTS >> $output_objdir/$libname.def~
11632 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11633 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11634 emximp -o $lib $output_objdir/$libname.def'
11635 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11636 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11637 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11638 $ECHO EXPORTS >> $output_objdir/$libname.def~
11639 prefix_cmds="$SED"~
11640 if test EXPORTS = "`$SED 1q $export_symbols`"; then
11641 prefix_cmds="$prefix_cmds -e 1d";
11642 fi~
11643 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11644 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11645 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11646 emximp -o $lib $output_objdir/$libname.def'
11647 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11648 enable_shared_with_static_runtimes=yes
11649 file_list_spec='@'
11650 ;;
11651
11652 osf3*)
11653 if test yes = "$GCC"; then
11654 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11655 archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
11656 else
11657 allow_undefined_flag=' -expect_unresolved \*'
11658 archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
11659 fi
11660 archive_cmds_need_lc='no'
11661 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11662 hardcode_libdir_separator=:
11663 ;;
11664
11665 osf4* | osf5*) # as osf3* with the addition of -msym flag
11666 if test yes = "$GCC"; then
11667 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11668 archive_cmds='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
11669 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11670 else
11671 allow_undefined_flag=' -expect_unresolved \*'
11672 archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
11673 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
11674 $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp'
11675
11676 # Both c and cxx compiler support -rpath directly
11677 hardcode_libdir_flag_spec='-rpath $libdir'
11678 fi
11679 archive_cmds_need_lc='no'
11680 hardcode_libdir_separator=:
11681 ;;
11682
11683 solaris*)
11684 no_undefined_flag=' -z defs'
11685 if test yes = "$GCC"; then
11686 wlarc='$wl'
11687 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11688 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11689 $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11690 else
11691 case `$CC -V 2>&1` in
11692 *"Compilers 5.0"*)
11693 wlarc=''
11694 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11695 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11696 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11697 ;;
11698 *)
11699 wlarc='$wl'
11700 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11701 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11702 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11703 ;;
11704 esac
11705 fi
11706 hardcode_libdir_flag_spec='-R$libdir'
11707 hardcode_shlibpath_var=no
11708 case $host_os in
11709 solaris2.[0-5] | solaris2.[0-5].*) ;;
11710 *)
11711 # The compiler driver will combine and reorder linker options,
11712 # but understands '-z linker_flag'. GCC discards it without '$wl',
11713 # but is careful enough not to reorder.
11714 # Supported since Solaris 2.6 (maybe 2.5.1?)
11715 if test yes = "$GCC"; then
11716 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11717 else
11718 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11719 fi
11720 ;;
11721 esac
11722 link_all_deplibs=yes
11723 ;;
11724
11725 sunos4*)
11726 if test sequent = "$host_vendor"; then
11727 # Use $CC to link under sequent, because it throws in some extra .o
11728 # files that make .init and .fini sections work.
11729 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11730 else
11731 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11732 fi
11733 hardcode_libdir_flag_spec='-L$libdir'
11734 hardcode_direct=yes
11735 hardcode_minus_L=yes
11736 hardcode_shlibpath_var=no
11737 ;;
11738
11739 sysv4)
11740 case $host_vendor in
11741 sni)
11742 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11743 hardcode_direct=yes # is this really true???
11744 ;;
11745 siemens)
11746 ## LD is ld it makes a PLAMLIB
11747 ## CC just makes a GrossModule.
11748 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11749 reload_cmds='$CC -r -o $output$reload_objs'
11750 hardcode_direct=no
11751 ;;
11752 motorola)
11753 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11754 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11755 ;;
11756 esac
11757 runpath_var='LD_RUN_PATH'
11758 hardcode_shlibpath_var=no
11759 ;;
11760
11761 sysv4.3*)
11762 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11763 hardcode_shlibpath_var=no
11764 export_dynamic_flag_spec='-Bexport'
11765 ;;
11766
11767 sysv4*MP*)
11768 if test -d /usr/nec; then
11769 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11770 hardcode_shlibpath_var=no
11771 runpath_var=LD_RUN_PATH
11772 hardcode_runpath_var=yes
11773 ld_shlibs=yes
11774 fi
11775 ;;
11776
11777 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11778 no_undefined_flag='$wl-z,text'
11779 archive_cmds_need_lc=no
11780 hardcode_shlibpath_var=no
11781 runpath_var='LD_RUN_PATH'
11782
11783 if test yes = "$GCC"; then
11784 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11785 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11786 else
11787 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11788 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11789 fi
11790 ;;
11791
11792 sysv5* | sco3.2v5* | sco5v6*)
11793 # Note: We CANNOT use -z defs as we might desire, because we do not
11794 # link with -lc, and that would cause any symbols used from libc to
11795 # always be unresolved, which means just about no library would
11796 # ever link correctly. If we're not using GNU ld we use -z text
11797 # though, which does catch some bad symbols but isn't as heavy-handed
11798 # as -z defs.
11799 no_undefined_flag='$wl-z,text'
11800 allow_undefined_flag='$wl-z,nodefs'
11801 archive_cmds_need_lc=no
11802 hardcode_shlibpath_var=no
11803 hardcode_libdir_flag_spec='$wl-R,$libdir'
11804 hardcode_libdir_separator=':'
11805 link_all_deplibs=yes
11806 export_dynamic_flag_spec='$wl-Bexport'
11807 runpath_var='LD_RUN_PATH'
11808
11809 if test yes = "$GCC"; then
11810 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11811 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11812 else
11813 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11814 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11815 fi
11816 ;;
11817
11818 uts4*)
11819 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11820 hardcode_libdir_flag_spec='-L$libdir'
11821 hardcode_shlibpath_var=no
11822 ;;
11823
11824 *)
11825 ld_shlibs=no
11826 ;;
11827 esac
11828
11829 if test sni = "$host_vendor"; then
11830 case $host in
11831 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11832 export_dynamic_flag_spec='$wl-Blargedynsym'
11833 ;;
11834 esac
11835 fi
11836 fi
11837
11838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11839 printf "%s\n" "$ld_shlibs" >&6; }
11840 test no = "$ld_shlibs" && can_build_shared=no
11841
11842 with_gnu_ld=$with_gnu_ld
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858 #
11859 # Do we need to explicitly link libc?
11860 #
11861 case "x$archive_cmds_need_lc" in
11862 x|xyes)
11863 # Assume -lc should be added
11864 archive_cmds_need_lc=yes
11865
11866 if test yes,yes = "$GCC,$enable_shared"; then
11867 case $archive_cmds in
11868 *'~'*)
11869 # FIXME: we may have to deal with multi-command sequences.
11870 ;;
11871 '$CC '*)
11872 # Test whether the compiler implicitly links with -lc since on some
11873 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11874 # to ld, don't add -lc before -lgcc.
11875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11876 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
11877 if test ${lt_cv_archive_cmds_need_lc+y}
11878 then :
11879 printf %s "(cached) " >&6
11880 else $as_nop
11881 $RM conftest*
11882 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11883
11884 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11885 (eval $ac_compile) 2>&5
11886 ac_status=$?
11887 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11888 test $ac_status = 0; } 2>conftest.err; then
11889 soname=conftest
11890 lib=conftest
11891 libobjs=conftest.$ac_objext
11892 deplibs=
11893 wl=$lt_prog_compiler_wl
11894 pic_flag=$lt_prog_compiler_pic
11895 compiler_flags=-v
11896 linker_flags=-v
11897 verstring=
11898 output_objdir=.
11899 libname=conftest
11900 lt_save_allow_undefined_flag=$allow_undefined_flag
11901 allow_undefined_flag=
11902 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11903 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11904 ac_status=$?
11905 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11906 test $ac_status = 0; }
11907 then
11908 lt_cv_archive_cmds_need_lc=no
11909 else
11910 lt_cv_archive_cmds_need_lc=yes
11911 fi
11912 allow_undefined_flag=$lt_save_allow_undefined_flag
11913 else
11914 cat conftest.err 1>&5
11915 fi
11916 $RM conftest*
11917
11918 fi
11919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11920 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
11921 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11922 ;;
11923 esac
11924 fi
11925 ;;
11926 esac
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12080 printf %s "checking dynamic linker characteristics... " >&6; }
12081
12082 if test yes = "$GCC"; then
12083 case $host_os in
12084 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
12085 *) lt_awk_arg='/^libraries:/' ;;
12086 esac
12087 case $host_os in
12088 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
12089 *) lt_sed_strip_eq='s|=/|/|g' ;;
12090 esac
12091 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
12092 case $lt_search_path_spec in
12093 *\;*)
12094 # if the path contains ";" then we assume it to be the separator
12095 # otherwise default to the standard path separator (i.e. ":") - it is
12096 # assumed that no part of a normal pathname contains ";" but that should
12097 # okay in the real world where ";" in dirpaths is itself problematic.
12098 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
12099 ;;
12100 *)
12101 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12102 ;;
12103 esac
12104 # Ok, now we have the path, separated by spaces, we can step through it
12105 # and add multilib dir if necessary...
12106 lt_tmp_lt_search_path_spec=
12107 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12108 # ...but if some path component already ends with the multilib dir we assume
12109 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
12110 case "$lt_multi_os_dir; $lt_search_path_spec " in
12111 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
12112 lt_multi_os_dir=
12113 ;;
12114 esac
12115 for lt_sys_path in $lt_search_path_spec; do
12116 if test -d "$lt_sys_path$lt_multi_os_dir"; then
12117 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
12118 elif test -n "$lt_multi_os_dir"; then
12119 test -d "$lt_sys_path" && \
12120 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
12121 fi
12122 done
12123 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12124 BEGIN {RS = " "; FS = "/|\n";} {
12125 lt_foo = "";
12126 lt_count = 0;
12127 for (lt_i = NF; lt_i > 0; lt_i--) {
12128 if ($lt_i != "" && $lt_i != ".") {
12129 if ($lt_i == "..") {
12130 lt_count++;
12131 } else {
12132 if (lt_count == 0) {
12133 lt_foo = "/" $lt_i lt_foo;
12134 } else {
12135 lt_count--;
12136 }
12137 }
12138 }
12139 }
12140 if (lt_foo != "") { lt_freq[lt_foo]++; }
12141 if (lt_freq[lt_foo] == 1) { print lt_foo; }
12142 }'`
12143 # AWK program above erroneously prepends '/' to C:/dos/paths
12144 # for these hosts.
12145 case $host_os in
12146 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
12147 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
12148 esac
12149 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12150 else
12151 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12152 fi
12153 library_names_spec=
12154 libname_spec='lib$name'
12155 soname_spec=
12156 shrext_cmds=.so
12157 postinstall_cmds=
12158 postuninstall_cmds=
12159 finish_cmds=
12160 finish_eval=
12161 shlibpath_var=
12162 shlibpath_overrides_runpath=unknown
12163 version_type=none
12164 dynamic_linker="$host_os ld.so"
12165 sys_lib_dlsearch_path_spec="/lib /usr/lib"
12166 need_lib_prefix=unknown
12167 hardcode_into_libs=no
12168
12169 # when you set need_version to no, make sure it does not cause -set_version
12170 # flags to be left without arguments
12171 need_version=unknown
12172
12173
12174
12175 case $host_os in
12176 aix3*)
12177 version_type=linux # correct to gnu/linux during the next big refactor
12178 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
12179 shlibpath_var=LIBPATH
12180
12181 # AIX 3 has no versioning support, so we append a major version to the name.
12182 soname_spec='$libname$release$shared_ext$major'
12183 ;;
12184
12185 aix[4-9]*)
12186 version_type=linux # correct to gnu/linux during the next big refactor
12187 need_lib_prefix=no
12188 need_version=no
12189 hardcode_into_libs=yes
12190 if test ia64 = "$host_cpu"; then
12191 # AIX 5 supports IA64
12192 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
12193 shlibpath_var=LD_LIBRARY_PATH
12194 else
12195 # With GCC up to 2.95.x, collect2 would create an import file
12196 # for dependence libraries. The import file would start with
12197 # the line '#! .'. This would cause the generated library to
12198 # depend on '.', always an invalid library. This was fixed in
12199 # development snapshots of GCC prior to 3.0.
12200 case $host_os in
12201 aix4 | aix4.[01] | aix4.[01].*)
12202 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12203 echo ' yes '
12204 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
12205 :
12206 else
12207 can_build_shared=no
12208 fi
12209 ;;
12210 esac
12211 # Using Import Files as archive members, it is possible to support
12212 # filename-based versioning of shared library archives on AIX. While
12213 # this would work for both with and without runtime linking, it will
12214 # prevent static linking of such archives. So we do filename-based
12215 # shared library versioning with .so extension only, which is used
12216 # when both runtime linking and shared linking is enabled.
12217 # Unfortunately, runtime linking may impact performance, so we do
12218 # not want this to be the default eventually. Also, we use the
12219 # versioned .so libs for executables only if there is the -brtl
12220 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
12221 # To allow for filename-based versioning support, we need to create
12222 # libNAME.so.V as an archive file, containing:
12223 # *) an Import File, referring to the versioned filename of the
12224 # archive as well as the shared archive member, telling the
12225 # bitwidth (32 or 64) of that shared object, and providing the
12226 # list of exported symbols of that shared object, eventually
12227 # decorated with the 'weak' keyword
12228 # *) the shared object with the F_LOADONLY flag set, to really avoid
12229 # it being seen by the linker.
12230 # At run time we better use the real file rather than another symlink,
12231 # but for link time we create the symlink libNAME.so -> libNAME.so.V
12232
12233 case $with_aix_soname,$aix_use_runtimelinking in
12234 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
12235 # soname into executable. Probably we can add versioning support to
12236 # collect2, so additional links can be useful in future.
12237 aix,yes) # traditional libtool
12238 dynamic_linker='AIX unversionable lib.so'
12239 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12240 # instead of lib<name>.a to let people know that these are not
12241 # typical AIX shared libraries.
12242 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12243 ;;
12244 aix,no) # traditional AIX only
12245 dynamic_linker='AIX lib.a(lib.so.V)'
12246 # We preserve .a as extension for shared libraries through AIX4.2
12247 # and later when we are not doing run time linking.
12248 library_names_spec='$libname$release.a $libname.a'
12249 soname_spec='$libname$release$shared_ext$major'
12250 ;;
12251 svr4,*) # full svr4 only
12252 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
12253 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12254 # We do not specify a path in Import Files, so LIBPATH fires.
12255 shlibpath_overrides_runpath=yes
12256 ;;
12257 *,yes) # both, prefer svr4
12258 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
12259 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12260 # unpreferred sharedlib libNAME.a needs extra handling
12261 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
12262 postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
12263 # We do not specify a path in Import Files, so LIBPATH fires.
12264 shlibpath_overrides_runpath=yes
12265 ;;
12266 *,no) # both, prefer aix
12267 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
12268 library_names_spec='$libname$release.a $libname.a'
12269 soname_spec='$libname$release$shared_ext$major'
12270 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
12271 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
12272 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
12273 ;;
12274 esac
12275 shlibpath_var=LIBPATH
12276 fi
12277 ;;
12278
12279 amigaos*)
12280 case $host_cpu in
12281 powerpc)
12282 # Since July 2007 AmigaOS4 officially supports .so libraries.
12283 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12284 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12285 ;;
12286 m68k)
12287 library_names_spec='$libname.ixlibrary $libname.a'
12288 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12289 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
12290 ;;
12291 esac
12292 ;;
12293
12294 beos*)
12295 library_names_spec='$libname$shared_ext'
12296 dynamic_linker="$host_os ld.so"
12297 shlibpath_var=LIBRARY_PATH
12298 ;;
12299
12300 bsdi[45]*)
12301 version_type=linux # correct to gnu/linux during the next big refactor
12302 need_version=no
12303 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12304 soname_spec='$libname$release$shared_ext$major'
12305 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12306 shlibpath_var=LD_LIBRARY_PATH
12307 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12308 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12309 # the default ld.so.conf also contains /usr/contrib/lib and
12310 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12311 # libtool to hard-code these into programs
12312 ;;
12313
12314 cygwin* | mingw* | pw32* | cegcc*)
12315 version_type=windows
12316 shrext_cmds=.dll
12317 need_version=no
12318 need_lib_prefix=no
12319
12320 case $GCC,$cc_basename in
12321 yes,*)
12322 # gcc
12323 library_names_spec='$libname.dll.a'
12324 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12325 postinstall_cmds='base_file=`basename \$file`~
12326 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12327 dldir=$destdir/`dirname \$dlpath`~
12328 test -d \$dldir || mkdir -p \$dldir~
12329 $install_prog $dir/$dlname \$dldir/$dlname~
12330 chmod a+x \$dldir/$dlname~
12331 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12332 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12333 fi'
12334 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12335 dlpath=$dir/\$dldll~
12336 $RM \$dlpath'
12337 shlibpath_overrides_runpath=yes
12338
12339 case $host_os in
12340 cygwin*)
12341 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12342 soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12343
12344 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
12345 ;;
12346 mingw* | cegcc*)
12347 # MinGW DLLs use traditional 'lib' prefix
12348 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12349 ;;
12350 pw32*)
12351 # pw32 DLLs use 'pw' prefix rather than 'lib'
12352 library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12353 ;;
12354 esac
12355 dynamic_linker='Win32 ld.exe'
12356 ;;
12357
12358 *,cl* | *,icl*)
12359 # Native MSVC or ICC
12360 libname_spec='$name'
12361 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12362 library_names_spec='$libname.dll.lib'
12363
12364 case $build_os in
12365 mingw*)
12366 sys_lib_search_path_spec=
12367 lt_save_ifs=$IFS
12368 IFS=';'
12369 for lt_path in $LIB
12370 do
12371 IFS=$lt_save_ifs
12372 # Let DOS variable expansion print the short 8.3 style file name.
12373 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12374 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
12375 done
12376 IFS=$lt_save_ifs
12377 # Convert to MSYS style.
12378 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12379 ;;
12380 cygwin*)
12381 # Convert to unix form, then to dos form, then back to unix form
12382 # but this time dos style (no spaces!) so that the unix form looks
12383 # like /cygdrive/c/PROGRA~1:/cygdr...
12384 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
12385 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12386 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12387 ;;
12388 *)
12389 sys_lib_search_path_spec=$LIB
12390 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12391 # It is most probably a Windows format PATH.
12392 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12393 else
12394 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12395 fi
12396 # FIXME: find the short name or the path components, as spaces are
12397 # common. (e.g. "Program Files" -> "PROGRA~1")
12398 ;;
12399 esac
12400
12401 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12402 postinstall_cmds='base_file=`basename \$file`~
12403 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12404 dldir=$destdir/`dirname \$dlpath`~
12405 test -d \$dldir || mkdir -p \$dldir~
12406 $install_prog $dir/$dlname \$dldir/$dlname'
12407 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12408 dlpath=$dir/\$dldll~
12409 $RM \$dlpath'
12410 shlibpath_overrides_runpath=yes
12411 dynamic_linker='Win32 link.exe'
12412 ;;
12413
12414 *)
12415 # Assume MSVC and ICC wrapper
12416 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
12417 dynamic_linker='Win32 ld.exe'
12418 ;;
12419 esac
12420 # FIXME: first we should search . and the directory the executable is in
12421 shlibpath_var=PATH
12422 ;;
12423
12424 darwin* | rhapsody*)
12425 dynamic_linker="$host_os dyld"
12426 version_type=darwin
12427 need_lib_prefix=no
12428 need_version=no
12429 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
12430 soname_spec='$libname$release$major$shared_ext'
12431 shlibpath_overrides_runpath=yes
12432 shlibpath_var=DYLD_LIBRARY_PATH
12433 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12434
12435 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
12436 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12437 ;;
12438
12439 dgux*)
12440 version_type=linux # correct to gnu/linux during the next big refactor
12441 need_lib_prefix=no
12442 need_version=no
12443 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12444 soname_spec='$libname$release$shared_ext$major'
12445 shlibpath_var=LD_LIBRARY_PATH
12446 ;;
12447
12448 freebsd* | dragonfly* | midnightbsd*)
12449 # DragonFly does not have aout. When/if they implement a new
12450 # versioning mechanism, adjust this.
12451 if test -x /usr/bin/objformat; then
12452 objformat=`/usr/bin/objformat`
12453 else
12454 case $host_os in
12455 freebsd[23].*) objformat=aout ;;
12456 *) objformat=elf ;;
12457 esac
12458 fi
12459 version_type=freebsd-$objformat
12460 case $version_type in
12461 freebsd-elf*)
12462 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12463 soname_spec='$libname$release$shared_ext$major'
12464 need_version=no
12465 need_lib_prefix=no
12466 ;;
12467 freebsd-*)
12468 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12469 need_version=yes
12470 ;;
12471 esac
12472 shlibpath_var=LD_LIBRARY_PATH
12473 case $host_os in
12474 freebsd2.*)
12475 shlibpath_overrides_runpath=yes
12476 ;;
12477 freebsd3.[01]* | freebsdelf3.[01]*)
12478 shlibpath_overrides_runpath=yes
12479 hardcode_into_libs=yes
12480 ;;
12481 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12482 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12483 shlibpath_overrides_runpath=no
12484 hardcode_into_libs=yes
12485 ;;
12486 *) # from 4.6 on, and DragonFly
12487 shlibpath_overrides_runpath=yes
12488 hardcode_into_libs=yes
12489 ;;
12490 esac
12491 ;;
12492
12493 haiku*)
12494 version_type=linux # correct to gnu/linux during the next big refactor
12495 need_lib_prefix=no
12496 need_version=no
12497 dynamic_linker="$host_os runtime_loader"
12498 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12499 soname_spec='$libname$release$shared_ext$major'
12500 shlibpath_var=LIBRARY_PATH
12501 shlibpath_overrides_runpath=no
12502 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12503 hardcode_into_libs=yes
12504 ;;
12505
12506 hpux9* | hpux10* | hpux11*)
12507 # Give a soname corresponding to the major version so that dld.sl refuses to
12508 # link against other versions.
12509 version_type=sunos
12510 need_lib_prefix=no
12511 need_version=no
12512 case $host_cpu in
12513 ia64*)
12514 shrext_cmds='.so'
12515 hardcode_into_libs=yes
12516 dynamic_linker="$host_os dld.so"
12517 shlibpath_var=LD_LIBRARY_PATH
12518 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12519 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12520 soname_spec='$libname$release$shared_ext$major'
12521 if test 32 = "$HPUX_IA64_MODE"; then
12522 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12523 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
12524 else
12525 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12526 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
12527 fi
12528 ;;
12529 hppa*64*)
12530 shrext_cmds='.sl'
12531 hardcode_into_libs=yes
12532 dynamic_linker="$host_os dld.sl"
12533 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12534 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12535 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12536 soname_spec='$libname$release$shared_ext$major'
12537 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12538 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12539 ;;
12540 *)
12541 shrext_cmds='.sl'
12542 dynamic_linker="$host_os dld.sl"
12543 shlibpath_var=SHLIB_PATH
12544 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12545 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12546 soname_spec='$libname$release$shared_ext$major'
12547 ;;
12548 esac
12549 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12550 postinstall_cmds='chmod 555 $lib'
12551 # or fails outright, so override atomically:
12552 install_override_mode=555
12553 ;;
12554
12555 interix[3-9]*)
12556 version_type=linux # correct to gnu/linux during the next big refactor
12557 need_lib_prefix=no
12558 need_version=no
12559 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12560 soname_spec='$libname$release$shared_ext$major'
12561 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12562 shlibpath_var=LD_LIBRARY_PATH
12563 shlibpath_overrides_runpath=no
12564 hardcode_into_libs=yes
12565 ;;
12566
12567 irix5* | irix6* | nonstopux*)
12568 case $host_os in
12569 nonstopux*) version_type=nonstopux ;;
12570 *)
12571 if test yes = "$lt_cv_prog_gnu_ld"; then
12572 version_type=linux # correct to gnu/linux during the next big refactor
12573 else
12574 version_type=irix
12575 fi ;;
12576 esac
12577 need_lib_prefix=no
12578 need_version=no
12579 soname_spec='$libname$release$shared_ext$major'
12580 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12581 case $host_os in
12582 irix5* | nonstopux*)
12583 libsuff= shlibsuff=
12584 ;;
12585 *)
12586 case $LD in # libtool.m4 will add one of these switches to LD
12587 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12588 libsuff= shlibsuff= libmagic=32-bit;;
12589 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12590 libsuff=32 shlibsuff=N32 libmagic=N32;;
12591 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12592 libsuff=64 shlibsuff=64 libmagic=64-bit;;
12593 *) libsuff= shlibsuff= libmagic=never-match;;
12594 esac
12595 ;;
12596 esac
12597 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12598 shlibpath_overrides_runpath=no
12599 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12600 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
12601 hardcode_into_libs=yes
12602 ;;
12603
12604 # No shared lib support for Linux oldld, aout, or coff.
12605 linux*oldld* | linux*aout* | linux*coff*)
12606 dynamic_linker=no
12607 ;;
12608
12609 linux*android*)
12610 version_type=none # Android doesn't support versioned libraries.
12611 need_lib_prefix=no
12612 need_version=no
12613 library_names_spec='$libname$release$shared_ext'
12614 soname_spec='$libname$release$shared_ext'
12615 finish_cmds=
12616 shlibpath_var=LD_LIBRARY_PATH
12617 shlibpath_overrides_runpath=yes
12618
12619 # This implies no fast_install, which is unacceptable.
12620 # Some rework will be needed to allow for fast_install
12621 # before this can be enabled.
12622 hardcode_into_libs=yes
12623
12624 dynamic_linker='Android linker'
12625 # Don't embed -rpath directories since the linker doesn't support them.
12626 hardcode_libdir_flag_spec='-L$libdir'
12627 ;;
12628
12629 # This must be glibc/ELF.
12630 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
12631 version_type=linux # correct to gnu/linux during the next big refactor
12632 need_lib_prefix=no
12633 need_version=no
12634 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12635 soname_spec='$libname$release$shared_ext$major'
12636 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12637 shlibpath_var=LD_LIBRARY_PATH
12638 shlibpath_overrides_runpath=no
12639
12640 # Some binutils ld are patched to set DT_RUNPATH
12641 if test ${lt_cv_shlibpath_overrides_runpath+y}
12642 then :
12643 printf %s "(cached) " >&6
12644 else $as_nop
12645 lt_cv_shlibpath_overrides_runpath=no
12646 save_LDFLAGS=$LDFLAGS
12647 save_libdir=$libdir
12648 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12649 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12651 /* end confdefs.h. */
12652
12653 int
12654 main (void)
12655 {
12656
12657 ;
12658 return 0;
12659 }
12660 _ACEOF
12661 if ac_fn_c_try_link "$LINENO"
12662 then :
12663 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
12664 then :
12665 lt_cv_shlibpath_overrides_runpath=yes
12666 fi
12667 fi
12668 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12669 conftest$ac_exeext conftest.$ac_ext
12670 LDFLAGS=$save_LDFLAGS
12671 libdir=$save_libdir
12672
12673 fi
12674
12675 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12676
12677 # This implies no fast_install, which is unacceptable.
12678 # Some rework will be needed to allow for fast_install
12679 # before this can be enabled.
12680 hardcode_into_libs=yes
12681
12682 # Ideally, we could use ldconfig to report *all* directores which are
12683 # searched for libraries, however this is still not possible. Aside from not
12684 # being certain /sbin/ldconfig is available, command
12685 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12686 # even though it is searched at run-time. Try to do the best guess by
12687 # appending ld.so.conf contents (and includes) to the search path.
12688 if test -f /etc/ld.so.conf; then
12689 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
12690 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12691 fi
12692
12693 # We used to test for /lib/ld.so.1 and disable shared libraries on
12694 # powerpc, because MkLinux only supported shared libraries with the
12695 # GNU dynamic linker. Since this was broken with cross compilers,
12696 # most powerpc-linux boxes support dynamic linking these days and
12697 # people can always --disable-shared, the test was removed, and we
12698 # assume the GNU/Linux dynamic linker is in use.
12699 dynamic_linker='GNU/Linux ld.so'
12700 ;;
12701
12702 netbsdelf*-gnu)
12703 version_type=linux
12704 need_lib_prefix=no
12705 need_version=no
12706 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12707 soname_spec='${libname}${release}${shared_ext}$major'
12708 shlibpath_var=LD_LIBRARY_PATH
12709 shlibpath_overrides_runpath=no
12710 hardcode_into_libs=yes
12711 dynamic_linker='NetBSD ld.elf_so'
12712 ;;
12713
12714 netbsd*)
12715 version_type=sunos
12716 need_lib_prefix=no
12717 need_version=no
12718 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12719 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12720 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12721 dynamic_linker='NetBSD (a.out) ld.so'
12722 else
12723 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12724 soname_spec='$libname$release$shared_ext$major'
12725 dynamic_linker='NetBSD ld.elf_so'
12726 fi
12727 shlibpath_var=LD_LIBRARY_PATH
12728 shlibpath_overrides_runpath=yes
12729 hardcode_into_libs=yes
12730 ;;
12731
12732 newsos6)
12733 version_type=linux # correct to gnu/linux during the next big refactor
12734 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12735 shlibpath_var=LD_LIBRARY_PATH
12736 shlibpath_overrides_runpath=yes
12737 ;;
12738
12739 *nto* | *qnx*)
12740 version_type=qnx
12741 need_lib_prefix=no
12742 need_version=no
12743 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12744 soname_spec='$libname$release$shared_ext$major'
12745 shlibpath_var=LD_LIBRARY_PATH
12746 shlibpath_overrides_runpath=no
12747 hardcode_into_libs=yes
12748 dynamic_linker='ldqnx.so'
12749 ;;
12750
12751 openbsd* | bitrig*)
12752 version_type=sunos
12753 sys_lib_dlsearch_path_spec=/usr/lib
12754 need_lib_prefix=no
12755 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12756 need_version=no
12757 else
12758 need_version=yes
12759 fi
12760 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12761 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12762 shlibpath_var=LD_LIBRARY_PATH
12763 shlibpath_overrides_runpath=yes
12764 ;;
12765
12766 os2*)
12767 libname_spec='$name'
12768 version_type=windows
12769 shrext_cmds=.dll
12770 need_version=no
12771 need_lib_prefix=no
12772 # OS/2 can only load a DLL with a base name of 8 characters or less.
12773 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
12774 v=$($ECHO $release$versuffix | tr -d .-);
12775 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12776 $ECHO $n$v`$shared_ext'
12777 library_names_spec='${libname}_dll.$libext'
12778 dynamic_linker='OS/2 ld.exe'
12779 shlibpath_var=BEGINLIBPATH
12780 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12781 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12782 postinstall_cmds='base_file=`basename \$file`~
12783 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12784 dldir=$destdir/`dirname \$dlpath`~
12785 test -d \$dldir || mkdir -p \$dldir~
12786 $install_prog $dir/$dlname \$dldir/$dlname~
12787 chmod a+x \$dldir/$dlname~
12788 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12789 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12790 fi'
12791 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12792 dlpath=$dir/\$dldll~
12793 $RM \$dlpath'
12794 ;;
12795
12796 osf3* | osf4* | osf5*)
12797 version_type=osf
12798 need_lib_prefix=no
12799 need_version=no
12800 soname_spec='$libname$release$shared_ext$major'
12801 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12802 shlibpath_var=LD_LIBRARY_PATH
12803 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12804 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12805 ;;
12806
12807 rdos*)
12808 dynamic_linker=no
12809 ;;
12810
12811 solaris*)
12812 version_type=linux # correct to gnu/linux during the next big refactor
12813 need_lib_prefix=no
12814 need_version=no
12815 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12816 soname_spec='$libname$release$shared_ext$major'
12817 shlibpath_var=LD_LIBRARY_PATH
12818 shlibpath_overrides_runpath=yes
12819 hardcode_into_libs=yes
12820 # ldd complains unless libraries are executable
12821 postinstall_cmds='chmod +x $lib'
12822 ;;
12823
12824 sunos4*)
12825 version_type=sunos
12826 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12827 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12828 shlibpath_var=LD_LIBRARY_PATH
12829 shlibpath_overrides_runpath=yes
12830 if test yes = "$with_gnu_ld"; then
12831 need_lib_prefix=no
12832 fi
12833 need_version=yes
12834 ;;
12835
12836 sysv4 | sysv4.3*)
12837 version_type=linux # correct to gnu/linux during the next big refactor
12838 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12839 soname_spec='$libname$release$shared_ext$major'
12840 shlibpath_var=LD_LIBRARY_PATH
12841 case $host_vendor in
12842 sni)
12843 shlibpath_overrides_runpath=no
12844 need_lib_prefix=no
12845 runpath_var=LD_RUN_PATH
12846 ;;
12847 siemens)
12848 need_lib_prefix=no
12849 ;;
12850 motorola)
12851 need_lib_prefix=no
12852 need_version=no
12853 shlibpath_overrides_runpath=no
12854 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12855 ;;
12856 esac
12857 ;;
12858
12859 sysv4*MP*)
12860 if test -d /usr/nec; then
12861 version_type=linux # correct to gnu/linux during the next big refactor
12862 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12863 soname_spec='$libname$shared_ext.$major'
12864 shlibpath_var=LD_LIBRARY_PATH
12865 fi
12866 ;;
12867
12868 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12869 version_type=sco
12870 need_lib_prefix=no
12871 need_version=no
12872 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12873 soname_spec='$libname$release$shared_ext$major'
12874 shlibpath_var=LD_LIBRARY_PATH
12875 shlibpath_overrides_runpath=yes
12876 hardcode_into_libs=yes
12877 if test yes = "$with_gnu_ld"; then
12878 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12879 else
12880 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12881 case $host_os in
12882 sco3.2v5*)
12883 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12884 ;;
12885 esac
12886 fi
12887 sys_lib_dlsearch_path_spec='/usr/lib'
12888 ;;
12889
12890 tpf*)
12891 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12892 version_type=linux # correct to gnu/linux during the next big refactor
12893 need_lib_prefix=no
12894 need_version=no
12895 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12896 shlibpath_var=LD_LIBRARY_PATH
12897 shlibpath_overrides_runpath=no
12898 hardcode_into_libs=yes
12899 ;;
12900
12901 uts4*)
12902 version_type=linux # correct to gnu/linux during the next big refactor
12903 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12904 soname_spec='$libname$release$shared_ext$major'
12905 shlibpath_var=LD_LIBRARY_PATH
12906 ;;
12907
12908 *)
12909 dynamic_linker=no
12910 ;;
12911 esac
12912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12913 printf "%s\n" "$dynamic_linker" >&6; }
12914 test no = "$dynamic_linker" && can_build_shared=no
12915
12916 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12917 if test yes = "$GCC"; then
12918 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12919 fi
12920
12921 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12922 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
12923 fi
12924
12925 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12926 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
12927 fi
12928
12929 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12930 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
12931
12932 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12933 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
12934
12935 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12936 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
12937
12938
12939
12940
12941
12942
12943
12944
12945
12946
12947
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972
12973
12974
12975
12976
12977
12978
12979
12980
12981
12982
12983
12984
12985
12986
12987
12988
12989
12990
12991
12992
12993
12994
12995
12996
12997
12998
12999
13000
13001
13002
13003
13004
13005
13006
13007
13008
13009
13010
13011
13012
13013
13014
13015
13016
13017
13018
13019
13020
13021
13022
13023
13024
13025
13026
13027
13028
13029
13030
13031
13032
13033
13034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13035 printf %s "checking how to hardcode library paths into programs... " >&6; }
13036 hardcode_action=
13037 if test -n "$hardcode_libdir_flag_spec" ||
13038 test -n "$runpath_var" ||
13039 test yes = "$hardcode_automatic"; then
13040
13041 # We can hardcode non-existent directories.
13042 if test no != "$hardcode_direct" &&
13043 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13044 # have to relink, otherwise we might link with an installed library
13045 # when we should be linking with a yet-to-be-installed one
13046 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
13047 test no != "$hardcode_minus_L"; then
13048 # Linking always hardcodes the temporary library directory.
13049 hardcode_action=relink
13050 else
13051 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13052 hardcode_action=immediate
13053 fi
13054 else
13055 # We cannot hardcode anything, or else we can only hardcode existing
13056 # directories.
13057 hardcode_action=unsupported
13058 fi
13059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
13060 printf "%s\n" "$hardcode_action" >&6; }
13061
13062 if test relink = "$hardcode_action" ||
13063 test yes = "$inherit_rpath"; then
13064 # Fast installation is not supported
13065 enable_fast_install=no
13066 elif test yes = "$shlibpath_overrides_runpath" ||
13067 test no = "$enable_shared"; then
13068 # Fast installation is not necessary
13069 enable_fast_install=needless
13070 fi
13071
13072
13073
13074
13075
13076
13077 if test yes != "$enable_dlopen"; then
13078 enable_dlopen=unknown
13079 enable_dlopen_self=unknown
13080 enable_dlopen_self_static=unknown
13081 else
13082 lt_cv_dlopen=no
13083 lt_cv_dlopen_libs=
13084
13085 case $host_os in
13086 beos*)
13087 lt_cv_dlopen=load_add_on
13088 lt_cv_dlopen_libs=
13089 lt_cv_dlopen_self=yes
13090 ;;
13091
13092 mingw* | pw32* | cegcc*)
13093 lt_cv_dlopen=LoadLibrary
13094 lt_cv_dlopen_libs=
13095 ;;
13096
13097 cygwin*)
13098 lt_cv_dlopen=dlopen
13099 lt_cv_dlopen_libs=
13100 ;;
13101
13102 darwin*)
13103 # if libdl is installed we need to link against it
13104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13105 printf %s "checking for dlopen in -ldl... " >&6; }
13106 if test ${ac_cv_lib_dl_dlopen+y}
13107 then :
13108 printf %s "(cached) " >&6
13109 else $as_nop
13110 ac_check_lib_save_LIBS=$LIBS
13111 LIBS="-ldl $LIBS"
13112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13113 /* end confdefs.h. */
13114
13115 /* Override any GCC internal prototype to avoid an error.
13116 Use char because int might match the return type of a GCC
13117 builtin and then its argument prototype would still apply. */
13118 char dlopen ();
13119 int
13120 main (void)
13121 {
13122 return dlopen ();
13123 ;
13124 return 0;
13125 }
13126 _ACEOF
13127 if ac_fn_c_try_link "$LINENO"
13128 then :
13129 ac_cv_lib_dl_dlopen=yes
13130 else $as_nop
13131 ac_cv_lib_dl_dlopen=no
13132 fi
13133 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13134 conftest$ac_exeext conftest.$ac_ext
13135 LIBS=$ac_check_lib_save_LIBS
13136 fi
13137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13138 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
13139 if test "x$ac_cv_lib_dl_dlopen" = xyes
13140 then :
13141 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
13142 else $as_nop
13143
13144 lt_cv_dlopen=dyld
13145 lt_cv_dlopen_libs=
13146 lt_cv_dlopen_self=yes
13147
13148 fi
13149
13150 ;;
13151
13152 tpf*)
13153 # Don't try to run any link tests for TPF. We know it's impossible
13154 # because TPF is a cross-compiler, and we know how we open DSOs.
13155 lt_cv_dlopen=dlopen
13156 lt_cv_dlopen_libs=
13157 lt_cv_dlopen_self=no
13158 ;;
13159
13160 *)
13161 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
13162 if test "x$ac_cv_func_shl_load" = xyes
13163 then :
13164 lt_cv_dlopen=shl_load
13165 else $as_nop
13166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13167 printf %s "checking for shl_load in -ldld... " >&6; }
13168 if test ${ac_cv_lib_dld_shl_load+y}
13169 then :
13170 printf %s "(cached) " >&6
13171 else $as_nop
13172 ac_check_lib_save_LIBS=$LIBS
13173 LIBS="-ldld $LIBS"
13174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13175 /* end confdefs.h. */
13176
13177 /* Override any GCC internal prototype to avoid an error.
13178 Use char because int might match the return type of a GCC
13179 builtin and then its argument prototype would still apply. */
13180 char shl_load ();
13181 int
13182 main (void)
13183 {
13184 return shl_load ();
13185 ;
13186 return 0;
13187 }
13188 _ACEOF
13189 if ac_fn_c_try_link "$LINENO"
13190 then :
13191 ac_cv_lib_dld_shl_load=yes
13192 else $as_nop
13193 ac_cv_lib_dld_shl_load=no
13194 fi
13195 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13196 conftest$ac_exeext conftest.$ac_ext
13197 LIBS=$ac_check_lib_save_LIBS
13198 fi
13199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13200 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
13201 if test "x$ac_cv_lib_dld_shl_load" = xyes
13202 then :
13203 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
13204 else $as_nop
13205 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
13206 if test "x$ac_cv_func_dlopen" = xyes
13207 then :
13208 lt_cv_dlopen=dlopen
13209 else $as_nop
13210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13211 printf %s "checking for dlopen in -ldl... " >&6; }
13212 if test ${ac_cv_lib_dl_dlopen+y}
13213 then :
13214 printf %s "(cached) " >&6
13215 else $as_nop
13216 ac_check_lib_save_LIBS=$LIBS
13217 LIBS="-ldl $LIBS"
13218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13219 /* end confdefs.h. */
13220
13221 /* Override any GCC internal prototype to avoid an error.
13222 Use char because int might match the return type of a GCC
13223 builtin and then its argument prototype would still apply. */
13224 char dlopen ();
13225 int
13226 main (void)
13227 {
13228 return dlopen ();
13229 ;
13230 return 0;
13231 }
13232 _ACEOF
13233 if ac_fn_c_try_link "$LINENO"
13234 then :
13235 ac_cv_lib_dl_dlopen=yes
13236 else $as_nop
13237 ac_cv_lib_dl_dlopen=no
13238 fi
13239 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13240 conftest$ac_exeext conftest.$ac_ext
13241 LIBS=$ac_check_lib_save_LIBS
13242 fi
13243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13244 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
13245 if test "x$ac_cv_lib_dl_dlopen" = xyes
13246 then :
13247 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
13248 else $as_nop
13249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13250 printf %s "checking for dlopen in -lsvld... " >&6; }
13251 if test ${ac_cv_lib_svld_dlopen+y}
13252 then :
13253 printf %s "(cached) " >&6
13254 else $as_nop
13255 ac_check_lib_save_LIBS=$LIBS
13256 LIBS="-lsvld $LIBS"
13257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13258 /* end confdefs.h. */
13259
13260 /* Override any GCC internal prototype to avoid an error.
13261 Use char because int might match the return type of a GCC
13262 builtin and then its argument prototype would still apply. */
13263 char dlopen ();
13264 int
13265 main (void)
13266 {
13267 return dlopen ();
13268 ;
13269 return 0;
13270 }
13271 _ACEOF
13272 if ac_fn_c_try_link "$LINENO"
13273 then :
13274 ac_cv_lib_svld_dlopen=yes
13275 else $as_nop
13276 ac_cv_lib_svld_dlopen=no
13277 fi
13278 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13279 conftest$ac_exeext conftest.$ac_ext
13280 LIBS=$ac_check_lib_save_LIBS
13281 fi
13282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13283 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
13284 if test "x$ac_cv_lib_svld_dlopen" = xyes
13285 then :
13286 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
13287 else $as_nop
13288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13289 printf %s "checking for dld_link in -ldld... " >&6; }
13290 if test ${ac_cv_lib_dld_dld_link+y}
13291 then :
13292 printf %s "(cached) " >&6
13293 else $as_nop
13294 ac_check_lib_save_LIBS=$LIBS
13295 LIBS="-ldld $LIBS"
13296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13297 /* end confdefs.h. */
13298
13299 /* Override any GCC internal prototype to avoid an error.
13300 Use char because int might match the return type of a GCC
13301 builtin and then its argument prototype would still apply. */
13302 char dld_link ();
13303 int
13304 main (void)
13305 {
13306 return dld_link ();
13307 ;
13308 return 0;
13309 }
13310 _ACEOF
13311 if ac_fn_c_try_link "$LINENO"
13312 then :
13313 ac_cv_lib_dld_dld_link=yes
13314 else $as_nop
13315 ac_cv_lib_dld_dld_link=no
13316 fi
13317 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13318 conftest$ac_exeext conftest.$ac_ext
13319 LIBS=$ac_check_lib_save_LIBS
13320 fi
13321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13322 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
13323 if test "x$ac_cv_lib_dld_dld_link" = xyes
13324 then :
13325 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
13326 fi
13327
13328
13329 fi
13330
13331
13332 fi
13333
13334
13335 fi
13336
13337
13338 fi
13339
13340
13341 fi
13342
13343 ;;
13344 esac
13345
13346 if test no = "$lt_cv_dlopen"; then
13347 enable_dlopen=no
13348 else
13349 enable_dlopen=yes
13350 fi
13351
13352 case $lt_cv_dlopen in
13353 dlopen)
13354 save_CPPFLAGS=$CPPFLAGS
13355 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13356
13357 save_LDFLAGS=$LDFLAGS
13358 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13359
13360 save_LIBS=$LIBS
13361 LIBS="$lt_cv_dlopen_libs $LIBS"
13362
13363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13364 printf %s "checking whether a program can dlopen itself... " >&6; }
13365 if test ${lt_cv_dlopen_self+y}
13366 then :
13367 printf %s "(cached) " >&6
13368 else $as_nop
13369 if test yes = "$cross_compiling"; then :
13370 lt_cv_dlopen_self=cross
13371 else
13372 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13373 lt_status=$lt_dlunknown
13374 cat > conftest.$ac_ext <<_LT_EOF
13375 #line $LINENO "configure"
13376 #include "confdefs.h"
13377
13378 #if HAVE_DLFCN_H
13379 #include <dlfcn.h>
13380 #endif
13381
13382 #include <stdio.h>
13383
13384 #ifdef RTLD_GLOBAL
13385 # define LT_DLGLOBAL RTLD_GLOBAL
13386 #else
13387 # ifdef DL_GLOBAL
13388 # define LT_DLGLOBAL DL_GLOBAL
13389 # else
13390 # define LT_DLGLOBAL 0
13391 # endif
13392 #endif
13393
13394 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13395 find out it does not work in some platform. */
13396 #ifndef LT_DLLAZY_OR_NOW
13397 # ifdef RTLD_LAZY
13398 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13399 # else
13400 # ifdef DL_LAZY
13401 # define LT_DLLAZY_OR_NOW DL_LAZY
13402 # else
13403 # ifdef RTLD_NOW
13404 # define LT_DLLAZY_OR_NOW RTLD_NOW
13405 # else
13406 # ifdef DL_NOW
13407 # define LT_DLLAZY_OR_NOW DL_NOW
13408 # else
13409 # define LT_DLLAZY_OR_NOW 0
13410 # endif
13411 # endif
13412 # endif
13413 # endif
13414 #endif
13415
13416 /* When -fvisibility=hidden is used, assume the code has been annotated
13417 correspondingly for the symbols needed. */
13418 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13419 int fnord () __attribute__((visibility("default")));
13420 #endif
13421
13422 int fnord () { return 42; }
13423 int main ()
13424 {
13425 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13426 int status = $lt_dlunknown;
13427
13428 if (self)
13429 {
13430 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13431 else
13432 {
13433 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13434 else puts (dlerror ());
13435 }
13436 /* dlclose (self); */
13437 }
13438 else
13439 puts (dlerror ());
13440
13441 return status;
13442 }
13443 _LT_EOF
13444 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13445 (eval $ac_link) 2>&5
13446 ac_status=$?
13447 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13448 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13449 (./conftest; exit; ) >&5 2>/dev/null
13450 lt_status=$?
13451 case x$lt_status in
13452 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13453 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13454 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13455 esac
13456 else :
13457 # compilation failed
13458 lt_cv_dlopen_self=no
13459 fi
13460 fi
13461 rm -fr conftest*
13462
13463
13464 fi
13465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13466 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
13467
13468 if test yes = "$lt_cv_dlopen_self"; then
13469 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13471 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
13472 if test ${lt_cv_dlopen_self_static+y}
13473 then :
13474 printf %s "(cached) " >&6
13475 else $as_nop
13476 if test yes = "$cross_compiling"; then :
13477 lt_cv_dlopen_self_static=cross
13478 else
13479 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13480 lt_status=$lt_dlunknown
13481 cat > conftest.$ac_ext <<_LT_EOF
13482 #line $LINENO "configure"
13483 #include "confdefs.h"
13484
13485 #if HAVE_DLFCN_H
13486 #include <dlfcn.h>
13487 #endif
13488
13489 #include <stdio.h>
13490
13491 #ifdef RTLD_GLOBAL
13492 # define LT_DLGLOBAL RTLD_GLOBAL
13493 #else
13494 # ifdef DL_GLOBAL
13495 # define LT_DLGLOBAL DL_GLOBAL
13496 # else
13497 # define LT_DLGLOBAL 0
13498 # endif
13499 #endif
13500
13501 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13502 find out it does not work in some platform. */
13503 #ifndef LT_DLLAZY_OR_NOW
13504 # ifdef RTLD_LAZY
13505 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13506 # else
13507 # ifdef DL_LAZY
13508 # define LT_DLLAZY_OR_NOW DL_LAZY
13509 # else
13510 # ifdef RTLD_NOW
13511 # define LT_DLLAZY_OR_NOW RTLD_NOW
13512 # else
13513 # ifdef DL_NOW
13514 # define LT_DLLAZY_OR_NOW DL_NOW
13515 # else
13516 # define LT_DLLAZY_OR_NOW 0
13517 # endif
13518 # endif
13519 # endif
13520 # endif
13521 #endif
13522
13523 /* When -fvisibility=hidden is used, assume the code has been annotated
13524 correspondingly for the symbols needed. */
13525 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13526 int fnord () __attribute__((visibility("default")));
13527 #endif
13528
13529 int fnord () { return 42; }
13530 int main ()
13531 {
13532 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13533 int status = $lt_dlunknown;
13534
13535 if (self)
13536 {
13537 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13538 else
13539 {
13540 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13541 else puts (dlerror ());
13542 }
13543 /* dlclose (self); */
13544 }
13545 else
13546 puts (dlerror ());
13547
13548 return status;
13549 }
13550 _LT_EOF
13551 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13552 (eval $ac_link) 2>&5
13553 ac_status=$?
13554 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13555 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13556 (./conftest; exit; ) >&5 2>/dev/null
13557 lt_status=$?
13558 case x$lt_status in
13559 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13560 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13561 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13562 esac
13563 else :
13564 # compilation failed
13565 lt_cv_dlopen_self_static=no
13566 fi
13567 fi
13568 rm -fr conftest*
13569
13570
13571 fi
13572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13573 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
13574 fi
13575
13576 CPPFLAGS=$save_CPPFLAGS
13577 LDFLAGS=$save_LDFLAGS
13578 LIBS=$save_LIBS
13579 ;;
13580 esac
13581
13582 case $lt_cv_dlopen_self in
13583 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13584 *) enable_dlopen_self=unknown ;;
13585 esac
13586
13587 case $lt_cv_dlopen_self_static in
13588 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13589 *) enable_dlopen_self_static=unknown ;;
13590 esac
13591 fi
13592
13593
13594
13595
13596
13597
13598
13599
13600
13601
13602
13603
13604
13605
13606
13607
13608
13609 striplib=
13610 old_striplib=
13611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13612 printf %s "checking whether stripping libraries is possible... " >&6; }
13613 if test -z "$STRIP"; then
13614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13615 printf "%s\n" "no" >&6; }
13616 else
13617 if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13618 old_striplib="$STRIP --strip-debug"
13619 striplib="$STRIP --strip-unneeded"
13620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13621 printf "%s\n" "yes" >&6; }
13622 else
13623 case $host_os in
13624 darwin*)
13625 # FIXME - insert some real tests, host_os isn't really good enough
13626 striplib="$STRIP -x"
13627 old_striplib="$STRIP -S"
13628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13629 printf "%s\n" "yes" >&6; }
13630 ;;
13631 freebsd*)
13632 if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
13633 old_striplib="$STRIP --strip-debug"
13634 striplib="$STRIP --strip-unneeded"
13635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13636 printf "%s\n" "yes" >&6; }
13637 else
13638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13639 printf "%s\n" "no" >&6; }
13640 fi
13641 ;;
13642 *)
13643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13644 printf "%s\n" "no" >&6; }
13645 ;;
13646 esac
13647 fi
13648 fi
13649
13650
13651
13652
13653
13654
13655
13656
13657
13658
13659
13660
13661 # Report what library types will actually be built
13662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13663 printf %s "checking if libtool supports shared libraries... " >&6; }
13664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13665 printf "%s\n" "$can_build_shared" >&6; }
13666
13667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13668 printf %s "checking whether to build shared libraries... " >&6; }
13669 test no = "$can_build_shared" && enable_shared=no
13670
13671 # On AIX, shared libraries and static libraries use the same namespace, and
13672 # are all built from PIC.
13673 case $host_os in
13674 aix3*)
13675 test yes = "$enable_shared" && enable_static=no
13676 if test -n "$RANLIB"; then
13677 archive_cmds="$archive_cmds~\$RANLIB \$lib"
13678 postinstall_cmds='$RANLIB $lib'
13679 fi
13680 ;;
13681
13682 aix[4-9]*)
13683 if test ia64 != "$host_cpu"; then
13684 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13685 yes,aix,yes) ;; # shared object as lib.so file only
13686 yes,svr4,*) ;; # shared object as lib.so archive member only
13687 yes,*) enable_static=no ;; # shared object in lib.a archive as well
13688 esac
13689 fi
13690 ;;
13691 esac
13692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13693 printf "%s\n" "$enable_shared" >&6; }
13694
13695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13696 printf %s "checking whether to build static libraries... " >&6; }
13697 # Make sure either enable_shared or enable_static is yes.
13698 test yes = "$enable_shared" || enable_static=yes
13699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13700 printf "%s\n" "$enable_static" >&6; }
13701
13702
13703
13704
13705 fi
13706 ac_ext=c
13707 ac_cpp='$CPP $CPPFLAGS'
13708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13711
13712 CC=$lt_save_CC
13713
13714
13715
13716
13717
13718
13719
13720
13721
13722
13723
13724
13725
13726
13727
13728 ac_config_commands="$ac_config_commands libtool"
13729
13730
13731
13732
13733 # Only expand once:
13734
13735
13736
13737 ac_config_headers="$ac_config_headers src/include/config.h"
13738
13739
13740 # Check whether --enable-silent-rules was given.
13741 if test ${enable_silent_rules+y}
13742 then :
13743 enableval=$enable_silent_rules;
13744 fi
13745
13746 case $enable_silent_rules in # (((
13747 yes) AM_DEFAULT_VERBOSITY=0;;
13748 no) AM_DEFAULT_VERBOSITY=1;;
13749 *) AM_DEFAULT_VERBOSITY=1;;
13750 esac
13751 am_make=${MAKE-make}
13752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
13753 printf %s "checking whether $am_make supports nested variables... " >&6; }
13754 if test ${am_cv_make_support_nested_variables+y}
13755 then :
13756 printf %s "(cached) " >&6
13757 else $as_nop
13758 if printf "%s\n" 'TRUE=$(BAR$(V))
13759 BAR0=false
13760 BAR1=true
13761 V=1
13762 am__doit:
13763 @$(TRUE)
13764 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
13765 am_cv_make_support_nested_variables=yes
13766 else
13767 am_cv_make_support_nested_variables=no
13768 fi
13769 fi
13770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
13771 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
13772 if test $am_cv_make_support_nested_variables = yes; then
13773 AM_V='$(V)'
13774 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
13775 else
13776 AM_V=$AM_DEFAULT_VERBOSITY
13777 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
13778 fi
13779 AM_BACKSLASH='\'
13780
13781
13782 if test `uname` = "Linux"; then
13783 LINUX_TRUE=
13784 LINUX_FALSE='#'
13785 else
13786 LINUX_TRUE='#'
13787 LINUX_FALSE=
13788 fi
13789
13790 if test `uname` = "Darwin"; then
13791 DARWIN_TRUE=
13792 DARWIN_FALSE='#'
13793 else
13794 DARWIN_TRUE='#'
13795 DARWIN_FALSE=
13796 fi
13797
13798
13799
13800
13801
13802
13803
13804
13805 ac_ext=cpp
13806 ac_cpp='$CXXCPP $CPPFLAGS'
13807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13810 if test -z "$CXX"; then
13811 if test -n "$CCC"; then
13812 CXX=$CCC
13813 else
13814 if test -n "$ac_tool_prefix"; then
13815 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
13816 do
13817 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13818 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13820 printf %s "checking for $ac_word... " >&6; }
13821 if test ${ac_cv_prog_CXX+y}
13822 then :
13823 printf %s "(cached) " >&6
13824 else $as_nop
13825 if test -n "$CXX"; then
13826 ac_cv_prog_CXX="$CXX" # Let the user override the test.
13827 else
13828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13829 for as_dir in $PATH
13830 do
13831 IFS=$as_save_IFS
13832 case $as_dir in #(((
13833 '') as_dir=./ ;;
13834 */) ;;
13835 *) as_dir=$as_dir/ ;;
13836 esac
13837 for ac_exec_ext in '' $ac_executable_extensions; do
13838 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
13839 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13840 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
13841 break 2
13842 fi
13843 done
13844 done
13845 IFS=$as_save_IFS
13846
13847 fi
13848 fi
13849 CXX=$ac_cv_prog_CXX
13850 if test -n "$CXX"; then
13851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
13852 printf "%s\n" "$CXX" >&6; }
13853 else
13854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13855 printf "%s\n" "no" >&6; }
13856 fi
13857
13858
13859 test -n "$CXX" && break
13860 done
13861 fi
13862 if test -z "$CXX"; then
13863 ac_ct_CXX=$CXX
13864 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
13865 do
13866 # Extract the first word of "$ac_prog", so it can be a program name with args.
13867 set dummy $ac_prog; ac_word=$2
13868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13869 printf %s "checking for $ac_word... " >&6; }
13870 if test ${ac_cv_prog_ac_ct_CXX+y}
13871 then :
13872 printf %s "(cached) " >&6
13873 else $as_nop
13874 if test -n "$ac_ct_CXX"; then
13875 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13876 else
13877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13878 for as_dir in $PATH
13879 do
13880 IFS=$as_save_IFS
13881 case $as_dir in #(((
13882 '') as_dir=./ ;;
13883 */) ;;
13884 *) as_dir=$as_dir/ ;;
13885 esac
13886 for ac_exec_ext in '' $ac_executable_extensions; do
13887 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
13888 ac_cv_prog_ac_ct_CXX="$ac_prog"
13889 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
13890 break 2
13891 fi
13892 done
13893 done
13894 IFS=$as_save_IFS
13895
13896 fi
13897 fi
13898 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13899 if test -n "$ac_ct_CXX"; then
13900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
13901 printf "%s\n" "$ac_ct_CXX" >&6; }
13902 else
13903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13904 printf "%s\n" "no" >&6; }
13905 fi
13906
13907
13908 test -n "$ac_ct_CXX" && break
13909 done
13910
13911 if test "x$ac_ct_CXX" = x; then
13912 CXX="g++"
13913 else
13914 case $cross_compiling:$ac_tool_warned in
13915 yes:)
13916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13917 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13918 ac_tool_warned=yes ;;
13919 esac
13920 CXX=$ac_ct_CXX
13921 fi
13922 fi
13923
13924 fi
13925 fi
13926 # Provide some information about the compiler.
13927 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
13928 set X $ac_compile
13929 ac_compiler=$2
13930 for ac_option in --version -v -V -qversion; do
13931 { { ac_try="$ac_compiler $ac_option >&5"
13932 case "(($ac_try" in
13933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13934 *) ac_try_echo=$ac_try;;
13935 esac
13936 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13937 printf "%s\n" "$ac_try_echo"; } >&5
13938 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13939 ac_status=$?
13940 if test -s conftest.err; then
13941 sed '10a\
13942 ... rest of stderr output deleted ...
13943 10q' conftest.err >conftest.er1
13944 cat conftest.er1 >&5
13945 fi
13946 rm -f conftest.er1 conftest.err
13947 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13948 test $ac_status = 0; }
13949 done
13950
13951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
13952 printf %s "checking whether the compiler supports GNU C++... " >&6; }
13953 if test ${ac_cv_cxx_compiler_gnu+y}
13954 then :
13955 printf %s "(cached) " >&6
13956 else $as_nop
13957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13958 /* end confdefs.h. */
13959
13960 int
13961 main (void)
13962 {
13963 #ifndef __GNUC__
13964 choke me
13965 #endif
13966
13967 ;
13968 return 0;
13969 }
13970 _ACEOF
13971 if ac_fn_cxx_try_compile "$LINENO"
13972 then :
13973 ac_compiler_gnu=yes
13974 else $as_nop
13975 ac_compiler_gnu=no
13976 fi
13977 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13978 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13979
13980 fi
13981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
13982 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
13983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13984
13985 if test $ac_compiler_gnu = yes; then
13986 GXX=yes
13987 else
13988 GXX=
13989 fi
13990 ac_test_CXXFLAGS=${CXXFLAGS+y}
13991 ac_save_CXXFLAGS=$CXXFLAGS
13992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
13993 printf %s "checking whether $CXX accepts -g... " >&6; }
13994 if test ${ac_cv_prog_cxx_g+y}
13995 then :
13996 printf %s "(cached) " >&6
13997 else $as_nop
13998 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
13999 ac_cxx_werror_flag=yes
14000 ac_cv_prog_cxx_g=no
14001 CXXFLAGS="-g"
14002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14003 /* end confdefs.h. */
14004
14005 int
14006 main (void)
14007 {
14008
14009 ;
14010 return 0;
14011 }
14012 _ACEOF
14013 if ac_fn_cxx_try_compile "$LINENO"
14014 then :
14015 ac_cv_prog_cxx_g=yes
14016 else $as_nop
14017 CXXFLAGS=""
14018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14019 /* end confdefs.h. */
14020
14021 int
14022 main (void)
14023 {
14024
14025 ;
14026 return 0;
14027 }
14028 _ACEOF
14029 if ac_fn_cxx_try_compile "$LINENO"
14030 then :
14031
14032 else $as_nop
14033 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
14034 CXXFLAGS="-g"
14035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14036 /* end confdefs.h. */
14037
14038 int
14039 main (void)
14040 {
14041
14042 ;
14043 return 0;
14044 }
14045 _ACEOF
14046 if ac_fn_cxx_try_compile "$LINENO"
14047 then :
14048 ac_cv_prog_cxx_g=yes
14049 fi
14050 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14051 fi
14052 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14053 fi
14054 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14055 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
14056 fi
14057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
14058 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
14059 if test $ac_test_CXXFLAGS; then
14060 CXXFLAGS=$ac_save_CXXFLAGS
14061 elif test $ac_cv_prog_cxx_g = yes; then
14062 if test "$GXX" = yes; then
14063 CXXFLAGS="-g -O2"
14064 else
14065 CXXFLAGS="-g"
14066 fi
14067 else
14068 if test "$GXX" = yes; then
14069 CXXFLAGS="-O2"
14070 else
14071 CXXFLAGS=
14072 fi
14073 fi
14074 ac_prog_cxx_stdcxx=no
14075 if test x$ac_prog_cxx_stdcxx = xno
14076 then :
14077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
14078 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
14079 if test ${ac_cv_prog_cxx_cxx11+y}
14080 then :
14081 printf %s "(cached) " >&6
14082 else $as_nop
14083 ac_cv_prog_cxx_cxx11=no
14084 ac_save_CXX=$CXX
14085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14086 /* end confdefs.h. */
14087 $ac_cxx_conftest_cxx11_program
14088 _ACEOF
14089 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
14090 do
14091 CXX="$ac_save_CXX $ac_arg"
14092 if ac_fn_cxx_try_compile "$LINENO"
14093 then :
14094 ac_cv_prog_cxx_cxx11=$ac_arg
14095 fi
14096 rm -f core conftest.err conftest.$ac_objext conftest.beam
14097 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
14098 done
14099 rm -f conftest.$ac_ext
14100 CXX=$ac_save_CXX
14101 fi
14102
14103 if test "x$ac_cv_prog_cxx_cxx11" = xno
14104 then :
14105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
14106 printf "%s\n" "unsupported" >&6; }
14107 else $as_nop
14108 if test "x$ac_cv_prog_cxx_cxx11" = x
14109 then :
14110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
14111 printf "%s\n" "none needed" >&6; }
14112 else $as_nop
14113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
14114 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
14115 CXX="$CXX $ac_cv_prog_cxx_cxx11"
14116 fi
14117 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
14118 ac_prog_cxx_stdcxx=cxx11
14119 fi
14120 fi
14121 if test x$ac_prog_cxx_stdcxx = xno
14122 then :
14123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
14124 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
14125 if test ${ac_cv_prog_cxx_cxx98+y}
14126 then :
14127 printf %s "(cached) " >&6
14128 else $as_nop
14129 ac_cv_prog_cxx_cxx98=no
14130 ac_save_CXX=$CXX
14131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14132 /* end confdefs.h. */
14133 $ac_cxx_conftest_cxx98_program
14134 _ACEOF
14135 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
14136 do
14137 CXX="$ac_save_CXX $ac_arg"
14138 if ac_fn_cxx_try_compile "$LINENO"
14139 then :
14140 ac_cv_prog_cxx_cxx98=$ac_arg
14141 fi
14142 rm -f core conftest.err conftest.$ac_objext conftest.beam
14143 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
14144 done
14145 rm -f conftest.$ac_ext
14146 CXX=$ac_save_CXX
14147 fi
14148
14149 if test "x$ac_cv_prog_cxx_cxx98" = xno
14150 then :
14151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
14152 printf "%s\n" "unsupported" >&6; }
14153 else $as_nop
14154 if test "x$ac_cv_prog_cxx_cxx98" = x
14155 then :
14156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
14157 printf "%s\n" "none needed" >&6; }
14158 else $as_nop
14159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
14160 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
14161 CXX="$CXX $ac_cv_prog_cxx_cxx98"
14162 fi
14163 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
14164 ac_prog_cxx_stdcxx=cxx98
14165 fi
14166 fi
14167
14168 ac_ext=c
14169 ac_cpp='$CPP $CPPFLAGS'
14170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14173
14174 depcc="$CXX" am_compiler_list=
14175
14176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
14177 printf %s "checking dependency style of $depcc... " >&6; }
14178 if test ${am_cv_CXX_dependencies_compiler_type+y}
14179 then :
14180 printf %s "(cached) " >&6
14181 else $as_nop
14182 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
14183 # We make a subdir and do the tests there. Otherwise we can end up
14184 # making bogus files that we don't know about and never remove. For
14185 # instance it was reported that on HP-UX the gcc test will end up
14186 # making a dummy file named 'D' -- because '-MD' means "put the output
14187 # in D".
14188 rm -rf conftest.dir
14189 mkdir conftest.dir
14190 # Copy depcomp to subdir because otherwise we won't find it if we're
14191 # using a relative directory.
14192 cp "$am_depcomp" conftest.dir
14193 cd conftest.dir
14194 # We will build objects and dependencies in a subdirectory because
14195 # it helps to detect inapplicable dependency modes. For instance
14196 # both Tru64's cc and ICC support -MD to output dependencies as a
14197 # side effect of compilation, but ICC will put the dependencies in
14198 # the current directory while Tru64 will put them in the object
14199 # directory.
14200 mkdir sub
14201
14202 am_cv_CXX_dependencies_compiler_type=none
14203 if test "$am_compiler_list" = ""; then
14204 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
14205 fi
14206 am__universal=false
14207 case " $depcc " in #(
14208 *\ -arch\ *\ -arch\ *) am__universal=true ;;
14209 esac
14210
14211 for depmode in $am_compiler_list; do
14212 # Setup a source with many dependencies, because some compilers
14213 # like to wrap large dependency lists on column 80 (with \), and
14214 # we should not choose a depcomp mode which is confused by this.
14215 #
14216 # We need to recreate these files for each test, as the compiler may
14217 # overwrite some of them when testing with obscure command lines.
14218 # This happens at least with the AIX C compiler.
14219 : > sub/conftest.c
14220 for i in 1 2 3 4 5 6; do
14221 echo '#include "conftst'$i'.h"' >> sub/conftest.c
14222 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
14223 # Solaris 10 /bin/sh.
14224 echo '/* dummy */' > sub/conftst$i.h
14225 done
14226 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
14227
14228 # We check with '-c' and '-o' for the sake of the "dashmstdout"
14229 # mode. It turns out that the SunPro C++ compiler does not properly
14230 # handle '-M -o', and we need to detect this. Also, some Intel
14231 # versions had trouble with output in subdirs.
14232 am__obj=sub/conftest.${OBJEXT-o}
14233 am__minus_obj="-o $am__obj"
14234 case $depmode in
14235 gcc)
14236 # This depmode causes a compiler race in universal mode.
14237 test "$am__universal" = false || continue
14238 ;;
14239 nosideeffect)
14240 # After this tag, mechanisms are not by side-effect, so they'll
14241 # only be used when explicitly requested.
14242 if test "x$enable_dependency_tracking" = xyes; then
14243 continue
14244 else
14245 break
14246 fi
14247 ;;
14248 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
14249 # This compiler won't grok '-c -o', but also, the minuso test has
14250 # not run yet. These depmodes are late enough in the game, and
14251 # so weak that their functioning should not be impacted.
14252 am__obj=conftest.${OBJEXT-o}
14253 am__minus_obj=
14254 ;;
14255 none) break ;;
14256 esac
14257 if depmode=$depmode \
14258 source=sub/conftest.c object=$am__obj \
14259 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
14260 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
14261 >/dev/null 2>conftest.err &&
14262 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
14263 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
14264 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
14265 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
14266 # icc doesn't choke on unknown options, it will just issue warnings
14267 # or remarks (even with -Werror). So we grep stderr for any message
14268 # that says an option was ignored or not supported.
14269 # When given -MP, icc 7.0 and 7.1 complain thusly:
14270 # icc: Command line warning: ignoring option '-M'; no argument required
14271 # The diagnosis changed in icc 8.0:
14272 # icc: Command line remark: option '-MP' not supported
14273 if (grep 'ignoring option' conftest.err ||
14274 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14275 am_cv_CXX_dependencies_compiler_type=$depmode
14276 break
14277 fi
14278 fi
14279 done
14280
14281 cd ..
14282 rm -rf conftest.dir
14283 else
14284 am_cv_CXX_dependencies_compiler_type=none
14285 fi
14286
14287 fi
14288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
14289 printf "%s\n" "$am_cv_CXX_dependencies_compiler_type" >&6; }
14290 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
14291
14292 if
14293 test "x$enable_dependency_tracking" != xno \
14294 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
14295 am__fastdepCXX_TRUE=
14296 am__fastdepCXX_FALSE='#'
14297 else
14298 am__fastdepCXX_TRUE='#'
14299 am__fastdepCXX_FALSE=
14300 fi
14301
14302
14303
14304
14305 func_stripname_cnf ()
14306 {
14307 case $2 in
14308 .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
14309 *) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
14310 esac
14311 } # func_stripname_cnf
14312
14313 if test -n "$CXX" && ( test no != "$CXX" &&
14314 ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
14315 (test g++ != "$CXX"))); then
14316 ac_ext=cpp
14317 ac_cpp='$CXXCPP $CPPFLAGS'
14318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
14322 printf %s "checking how to run the C++ preprocessor... " >&6; }
14323 if test -z "$CXXCPP"; then
14324 if test ${ac_cv_prog_CXXCPP+y}
14325 then :
14326 printf %s "(cached) " >&6
14327 else $as_nop
14328 # Double quotes because $CXX needs to be expanded
14329 for CXXCPP in "$CXX -E" cpp /lib/cpp
14330 do
14331 ac_preproc_ok=false
14332 for ac_cxx_preproc_warn_flag in '' yes
14333 do
14334 # Use a header file that comes with gcc, so configuring glibc
14335 # with a fresh cross-compiler works.
14336 # On the NeXT, cc -E runs the code through the compiler's parser,
14337 # not just through cpp. "Syntax error" is here to catch this case.
14338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14339 /* end confdefs.h. */
14340 #include <limits.h>
14341 Syntax error
14342 _ACEOF
14343 if ac_fn_cxx_try_cpp "$LINENO"
14344 then :
14345
14346 else $as_nop
14347 # Broken: fails on valid input.
14348 continue
14349 fi
14350 rm -f conftest.err conftest.i conftest.$ac_ext
14351
14352 # OK, works on sane cases. Now check whether nonexistent headers
14353 # can be detected and how.
14354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14355 /* end confdefs.h. */
14356 #include <ac_nonexistent.h>
14357 _ACEOF
14358 if ac_fn_cxx_try_cpp "$LINENO"
14359 then :
14360 # Broken: success on invalid input.
14361 continue
14362 else $as_nop
14363 # Passes both tests.
14364 ac_preproc_ok=:
14365 break
14366 fi
14367 rm -f conftest.err conftest.i conftest.$ac_ext
14368
14369 done
14370 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14371 rm -f conftest.i conftest.err conftest.$ac_ext
14372 if $ac_preproc_ok
14373 then :
14374 break
14375 fi
14376
14377 done
14378 ac_cv_prog_CXXCPP=$CXXCPP
14379
14380 fi
14381 CXXCPP=$ac_cv_prog_CXXCPP
14382 else
14383 ac_cv_prog_CXXCPP=$CXXCPP
14384 fi
14385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
14386 printf "%s\n" "$CXXCPP" >&6; }
14387 ac_preproc_ok=false
14388 for ac_cxx_preproc_warn_flag in '' yes
14389 do
14390 # Use a header file that comes with gcc, so configuring glibc
14391 # with a fresh cross-compiler works.
14392 # On the NeXT, cc -E runs the code through the compiler's parser,
14393 # not just through cpp. "Syntax error" is here to catch this case.
14394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14395 /* end confdefs.h. */
14396 #include <limits.h>
14397 Syntax error
14398 _ACEOF
14399 if ac_fn_cxx_try_cpp "$LINENO"
14400 then :
14401
14402 else $as_nop
14403 # Broken: fails on valid input.
14404 continue
14405 fi
14406 rm -f conftest.err conftest.i conftest.$ac_ext
14407
14408 # OK, works on sane cases. Now check whether nonexistent headers
14409 # can be detected and how.
14410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14411 /* end confdefs.h. */
14412 #include <ac_nonexistent.h>
14413 _ACEOF
14414 if ac_fn_cxx_try_cpp "$LINENO"
14415 then :
14416 # Broken: success on invalid input.
14417 continue
14418 else $as_nop
14419 # Passes both tests.
14420 ac_preproc_ok=:
14421 break
14422 fi
14423 rm -f conftest.err conftest.i conftest.$ac_ext
14424
14425 done
14426 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14427 rm -f conftest.i conftest.err conftest.$ac_ext
14428 if $ac_preproc_ok
14429 then :
14430
14431 else $as_nop
14432 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14433 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
14434 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
14435 See \`config.log' for more details" "$LINENO" 5; }
14436 fi
14437
14438 ac_ext=c
14439 ac_cpp='$CPP $CPPFLAGS'
14440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14443
14444 else
14445 _lt_caught_CXX_error=yes
14446 fi
14447
14448 ac_ext=cpp
14449 ac_cpp='$CXXCPP $CPPFLAGS'
14450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14453
14454 archive_cmds_need_lc_CXX=no
14455 allow_undefined_flag_CXX=
14456 always_export_symbols_CXX=no
14457 archive_expsym_cmds_CXX=
14458 compiler_needs_object_CXX=no
14459 export_dynamic_flag_spec_CXX=
14460 hardcode_direct_CXX=no
14461 hardcode_direct_absolute_CXX=no
14462 hardcode_libdir_flag_spec_CXX=
14463 hardcode_libdir_separator_CXX=
14464 hardcode_minus_L_CXX=no
14465 hardcode_shlibpath_var_CXX=unsupported
14466 hardcode_automatic_CXX=no
14467 inherit_rpath_CXX=no
14468 module_cmds_CXX=
14469 module_expsym_cmds_CXX=
14470 link_all_deplibs_CXX=unknown
14471 old_archive_cmds_CXX=$old_archive_cmds
14472 reload_flag_CXX=$reload_flag
14473 reload_cmds_CXX=$reload_cmds
14474 no_undefined_flag_CXX=
14475 whole_archive_flag_spec_CXX=
14476 enable_shared_with_static_runtimes_CXX=no
14477
14478 # Source file extension for C++ test sources.
14479 ac_ext=cpp
14480
14481 # Object file extension for compiled C++ test sources.
14482 objext=o
14483 objext_CXX=$objext
14484
14485 # No sense in running all these tests if we already determined that
14486 # the CXX compiler isn't working. Some variables (like enable_shared)
14487 # are currently assumed to apply to all compilers on this platform,
14488 # and will be corrupted by setting them based on a non-working compiler.
14489 if test yes != "$_lt_caught_CXX_error"; then
14490 # Code to be used in simple compile tests
14491 lt_simple_compile_test_code="int some_variable = 0;"
14492
14493 # Code to be used in simple link tests
14494 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
14495
14496 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14497
14498
14499
14500
14501
14502
14503 # If no C compiler was specified, use CC.
14504 LTCC=${LTCC-"$CC"}
14505
14506 # If no C compiler flags were specified, use CFLAGS.
14507 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14508
14509 # Allow CC to be a program name with arguments.
14510 compiler=$CC
14511
14512
14513 # save warnings/boilerplate of simple test code
14514 ac_outfile=conftest.$ac_objext
14515 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14516 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14517 _lt_compiler_boilerplate=`cat conftest.err`
14518 $RM conftest*
14519
14520 ac_outfile=conftest.$ac_objext
14521 echo "$lt_simple_link_test_code" >conftest.$ac_ext
14522 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14523 _lt_linker_boilerplate=`cat conftest.err`
14524 $RM -r conftest*
14525
14526
14527 # Allow CC to be a program name with arguments.
14528 lt_save_CC=$CC
14529 lt_save_CFLAGS=$CFLAGS
14530 lt_save_LD=$LD
14531 lt_save_GCC=$GCC
14532 GCC=$GXX
14533 lt_save_with_gnu_ld=$with_gnu_ld
14534 lt_save_path_LD=$lt_cv_path_LD
14535 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
14536 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
14537 else
14538 $as_unset lt_cv_prog_gnu_ld
14539 fi
14540 if test -n "${lt_cv_path_LDCXX+set}"; then
14541 lt_cv_path_LD=$lt_cv_path_LDCXX
14542 else
14543 $as_unset lt_cv_path_LD
14544 fi
14545 test -z "${LDCXX+set}" || LD=$LDCXX
14546 CC=${CXX-"c++"}
14547 CFLAGS=$CXXFLAGS
14548 compiler=$CC
14549 compiler_CXX=$CC
14550 func_cc_basename $compiler
14551 cc_basename=$func_cc_basename_result
14552
14553
14554 if test -n "$compiler"; then
14555 # We don't want -fno-exception when compiling C++ code, so set the
14556 # no_builtin_flag separately
14557 if test yes = "$GXX"; then
14558 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
14559 else
14560 lt_prog_compiler_no_builtin_flag_CXX=
14561 fi
14562
14563 if test yes = "$GXX"; then
14564 # Set up default GNU C++ configuration
14565
14566
14567
14568 # Check whether --with-gnu-ld was given.
14569 if test ${with_gnu_ld+y}
14570 then :
14571 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
14572 else $as_nop
14573 with_gnu_ld=no
14574 fi
14575
14576 ac_prog=ld
14577 if test yes = "$GCC"; then
14578 # Check if gcc -print-prog-name=ld gives a path.
14579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
14580 printf %s "checking for ld used by $CC... " >&6; }
14581 case $host in
14582 *-*-mingw*)
14583 # gcc leaves a trailing carriage return, which upsets mingw
14584 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14585 *)
14586 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14587 esac
14588 case $ac_prog in
14589 # Accept absolute paths.
14590 [\\/]* | ?:[\\/]*)
14591 re_direlt='/[^/][^/]*/\.\./'
14592 # Canonicalize the pathname of ld
14593 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
14594 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
14595 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
14596 done
14597 test -z "$LD" && LD=$ac_prog
14598 ;;
14599 "")
14600 # If it fails, then pretend we aren't using GCC.
14601 ac_prog=ld
14602 ;;
14603 *)
14604 # If it is relative, then search for the first ld in PATH.
14605 with_gnu_ld=unknown
14606 ;;
14607 esac
14608 elif test yes = "$with_gnu_ld"; then
14609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14610 printf %s "checking for GNU ld... " >&6; }
14611 else
14612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14613 printf %s "checking for non-GNU ld... " >&6; }
14614 fi
14615 if test ${lt_cv_path_LD+y}
14616 then :
14617 printf %s "(cached) " >&6
14618 else $as_nop
14619 if test -z "$LD"; then
14620 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
14621 for ac_dir in $PATH; do
14622 IFS=$lt_save_ifs
14623 test -z "$ac_dir" && ac_dir=.
14624 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14625 lt_cv_path_LD=$ac_dir/$ac_prog
14626 # Check to see if the program is GNU ld. I'd rather use --version,
14627 # but apparently some variants of GNU ld only accept -v.
14628 # Break only if it was the GNU/non-GNU ld that we prefer.
14629 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
14630 *GNU* | *'with BFD'*)
14631 test no != "$with_gnu_ld" && break
14632 ;;
14633 *)
14634 test yes != "$with_gnu_ld" && break
14635 ;;
14636 esac
14637 fi
14638 done
14639 IFS=$lt_save_ifs
14640 else
14641 lt_cv_path_LD=$LD # Let the user override the test with a path.
14642 fi
14643 fi
14644
14645 LD=$lt_cv_path_LD
14646 if test -n "$LD"; then
14647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14648 printf "%s\n" "$LD" >&6; }
14649 else
14650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14651 printf "%s\n" "no" >&6; }
14652 fi
14653 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
14654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14655 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
14656 if test ${lt_cv_prog_gnu_ld+y}
14657 then :
14658 printf %s "(cached) " >&6
14659 else $as_nop
14660 # I'd rather use --version here, but apparently some GNU lds only accept -v.
14661 case `$LD -v 2>&1 </dev/null` in
14662 *GNU* | *'with BFD'*)
14663 lt_cv_prog_gnu_ld=yes
14664 ;;
14665 *)
14666 lt_cv_prog_gnu_ld=no
14667 ;;
14668 esac
14669 fi
14670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
14671 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
14672 with_gnu_ld=$lt_cv_prog_gnu_ld
14673
14674
14675
14676
14677
14678
14679
14680 # Check if GNU C++ uses GNU ld as the underlying linker, since the
14681 # archiving commands below assume that GNU ld is being used.
14682 if test yes = "$with_gnu_ld"; then
14683 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14684 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
14685
14686 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14687 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14688
14689 # If archive_cmds runs LD, not CC, wlarc should be empty
14690 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14691 # investigate it a little bit more. (MM)
14692 wlarc='$wl'
14693
14694 # ancient GNU ld didn't support --whole-archive et. al.
14695 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
14696 $GREP 'no-whole-archive' > /dev/null; then
14697 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
14698 else
14699 whole_archive_flag_spec_CXX=
14700 fi
14701 else
14702 with_gnu_ld=no
14703 wlarc=
14704
14705 # A generic and very simple default shared library creation
14706 # command for GNU C++ for the case where it uses the native
14707 # linker, instead of GNU ld. If possible, this setting should
14708 # overridden to take advantage of the native linker features on
14709 # the platform it is being used on.
14710 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14711 fi
14712
14713 # Commands to make compiler produce verbose output that lists
14714 # what "hidden" libraries, object files and flags are used when
14715 # linking a shared library.
14716 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
14717
14718 else
14719 GXX=no
14720 with_gnu_ld=no
14721 wlarc=
14722 fi
14723
14724 # PORTME: fill in a description of your system's C++ link characteristics
14725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14726 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14727 ld_shlibs_CXX=yes
14728 case $host_os in
14729 aix3*)
14730 # FIXME: insert proper C++ library support
14731 ld_shlibs_CXX=no
14732 ;;
14733 aix[4-9]*)
14734 if test ia64 = "$host_cpu"; then
14735 # On IA64, the linker does run time linking by default, so we don't
14736 # have to do anything special.
14737 aix_use_runtimelinking=no
14738 exp_sym_flag='-Bexport'
14739 no_entry_flag=
14740 else
14741 aix_use_runtimelinking=no
14742
14743 # Test if we are trying to use run time linking or normal
14744 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14745 # have runtime linking enabled, and use it for executables.
14746 # For shared libraries, we enable/disable runtime linking
14747 # depending on the kind of the shared library created -
14748 # when "with_aix_soname,aix_use_runtimelinking" is:
14749 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
14750 # "aix,yes" lib.so shared, rtl:yes, for executables
14751 # lib.a static archive
14752 # "both,no" lib.so.V(shr.o) shared, rtl:yes
14753 # lib.a(lib.so.V) shared, rtl:no, for executables
14754 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
14755 # lib.a(lib.so.V) shared, rtl:no
14756 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
14757 # lib.a static archive
14758 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14759 for ld_flag in $LDFLAGS; do
14760 case $ld_flag in
14761 *-brtl*)
14762 aix_use_runtimelinking=yes
14763 break
14764 ;;
14765 esac
14766 done
14767 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
14768 # With aix-soname=svr4, we create the lib.so.V shared archives only,
14769 # so we don't have lib.a shared libs to link our executables.
14770 # We have to force runtime linking in this case.
14771 aix_use_runtimelinking=yes
14772 LDFLAGS="$LDFLAGS -Wl,-brtl"
14773 fi
14774 ;;
14775 esac
14776
14777 exp_sym_flag='-bexport'
14778 no_entry_flag='-bnoentry'
14779 fi
14780
14781 # When large executables or shared objects are built, AIX ld can
14782 # have problems creating the table of contents. If linking a library
14783 # or program results in "error TOC overflow" add -mminimal-toc to
14784 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14785 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14786
14787 archive_cmds_CXX=''
14788 hardcode_direct_CXX=yes
14789 hardcode_direct_absolute_CXX=yes
14790 hardcode_libdir_separator_CXX=':'
14791 link_all_deplibs_CXX=yes
14792 file_list_spec_CXX='$wl-f,'
14793 case $with_aix_soname,$aix_use_runtimelinking in
14794 aix,*) ;; # no import file
14795 svr4,* | *,yes) # use import file
14796 # The Import File defines what to hardcode.
14797 hardcode_direct_CXX=no
14798 hardcode_direct_absolute_CXX=no
14799 ;;
14800 esac
14801
14802 if test yes = "$GXX"; then
14803 case $host_os in aix4.[012]|aix4.[012].*)
14804 # We only want to do this on AIX 4.2 and lower, the check
14805 # below for broken collect2 doesn't work under 4.3+
14806 collect2name=`$CC -print-prog-name=collect2`
14807 if test -f "$collect2name" &&
14808 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14809 then
14810 # We have reworked collect2
14811 :
14812 else
14813 # We have old collect2
14814 hardcode_direct_CXX=unsupported
14815 # It fails to find uninstalled libraries when the uninstalled
14816 # path is not listed in the libpath. Setting hardcode_minus_L
14817 # to unsupported forces relinking
14818 hardcode_minus_L_CXX=yes
14819 hardcode_libdir_flag_spec_CXX='-L$libdir'
14820 hardcode_libdir_separator_CXX=
14821 fi
14822 esac
14823 shared_flag='-shared'
14824 if test yes = "$aix_use_runtimelinking"; then
14825 shared_flag=$shared_flag' $wl-G'
14826 fi
14827 # Need to ensure runtime linking is disabled for the traditional
14828 # shared library, or the linker may eventually find shared libraries
14829 # /with/ Import File - we do not want to mix them.
14830 shared_flag_aix='-shared'
14831 shared_flag_svr4='-shared $wl-G'
14832 else
14833 # not using gcc
14834 if test ia64 = "$host_cpu"; then
14835 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14836 # chokes on -Wl,-G. The following line is correct:
14837 shared_flag='-G'
14838 else
14839 if test yes = "$aix_use_runtimelinking"; then
14840 shared_flag='$wl-G'
14841 else
14842 shared_flag='$wl-bM:SRE'
14843 fi
14844 shared_flag_aix='$wl-bM:SRE'
14845 shared_flag_svr4='$wl-G'
14846 fi
14847 fi
14848
14849 export_dynamic_flag_spec_CXX='$wl-bexpall'
14850 # It seems that -bexpall does not export symbols beginning with
14851 # underscore (_), so it is better to generate a list of symbols to
14852 # export.
14853 always_export_symbols_CXX=yes
14854 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
14855 # Warning - without using the other runtime loading flags (-brtl),
14856 # -berok will link without error, but may produce a broken library.
14857 # The "-G" linker flag allows undefined symbols.
14858 no_undefined_flag_CXX='-bernotok'
14859 # Determine the default libpath from the value encoded in an empty
14860 # executable.
14861 if test set = "${lt_cv_aix_libpath+set}"; then
14862 aix_libpath=$lt_cv_aix_libpath
14863 else
14864 if test ${lt_cv_aix_libpath__CXX+y}
14865 then :
14866 printf %s "(cached) " >&6
14867 else $as_nop
14868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14869 /* end confdefs.h. */
14870
14871 int
14872 main (void)
14873 {
14874
14875 ;
14876 return 0;
14877 }
14878 _ACEOF
14879 if ac_fn_cxx_try_link "$LINENO"
14880 then :
14881
14882 lt_aix_libpath_sed='
14883 /Import File Strings/,/^$/ {
14884 /^0/ {
14885 s/^0 *\([^ ]*\) *$/\1/
14886 p
14887 }
14888 }'
14889 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14890 # Check for a 64-bit object if we didn't find anything.
14891 if test -z "$lt_cv_aix_libpath__CXX"; then
14892 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14893 fi
14894 fi
14895 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14896 conftest$ac_exeext conftest.$ac_ext
14897 if test -z "$lt_cv_aix_libpath__CXX"; then
14898 lt_cv_aix_libpath__CXX=/usr/lib:/lib
14899 fi
14900
14901 fi
14902
14903 aix_libpath=$lt_cv_aix_libpath__CXX
14904 fi
14905
14906 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
14907
14908 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
14909 else
14910 if test ia64 = "$host_cpu"; then
14911 hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
14912 allow_undefined_flag_CXX="-z nodefs"
14913 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
14914 else
14915 # Determine the default libpath from the value encoded in an
14916 # empty executable.
14917 if test set = "${lt_cv_aix_libpath+set}"; then
14918 aix_libpath=$lt_cv_aix_libpath
14919 else
14920 if test ${lt_cv_aix_libpath__CXX+y}
14921 then :
14922 printf %s "(cached) " >&6
14923 else $as_nop
14924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14925 /* end confdefs.h. */
14926
14927 int
14928 main (void)
14929 {
14930
14931 ;
14932 return 0;
14933 }
14934 _ACEOF
14935 if ac_fn_cxx_try_link "$LINENO"
14936 then :
14937
14938 lt_aix_libpath_sed='
14939 /Import File Strings/,/^$/ {
14940 /^0/ {
14941 s/^0 *\([^ ]*\) *$/\1/
14942 p
14943 }
14944 }'
14945 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14946 # Check for a 64-bit object if we didn't find anything.
14947 if test -z "$lt_cv_aix_libpath__CXX"; then
14948 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14949 fi
14950 fi
14951 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14952 conftest$ac_exeext conftest.$ac_ext
14953 if test -z "$lt_cv_aix_libpath__CXX"; then
14954 lt_cv_aix_libpath__CXX=/usr/lib:/lib
14955 fi
14956
14957 fi
14958
14959 aix_libpath=$lt_cv_aix_libpath__CXX
14960 fi
14961
14962 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
14963 # Warning - without using the other run time loading flags,
14964 # -berok will link without error, but may produce a broken library.
14965 no_undefined_flag_CXX=' $wl-bernotok'
14966 allow_undefined_flag_CXX=' $wl-berok'
14967 if test yes = "$with_gnu_ld"; then
14968 # We only use this code for GNU lds that support --whole-archive.
14969 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
14970 else
14971 # Exported symbols can be pulled into shared objects from archives
14972 whole_archive_flag_spec_CXX='$convenience'
14973 fi
14974 archive_cmds_need_lc_CXX=yes
14975 archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
14976 # -brtl affects multiple linker settings, -berok does not and is overridden later
14977 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
14978 if test svr4 != "$with_aix_soname"; then
14979 # This is similar to how AIX traditionally builds its shared
14980 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
14981 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
14982 fi
14983 if test aix != "$with_aix_soname"; then
14984 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
14985 else
14986 # used by -dlpreopen to get the symbols
14987 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
14988 fi
14989 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
14990 fi
14991 fi
14992 ;;
14993
14994 beos*)
14995 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14996 allow_undefined_flag_CXX=unsupported
14997 # Joseph Beckenbach <[email protected]> says some releases of gcc
14998 # support --undefined. This deserves some investigation. FIXME
14999 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15000 else
15001 ld_shlibs_CXX=no
15002 fi
15003 ;;
15004
15005 chorus*)
15006 case $cc_basename in
15007 *)
15008 # FIXME: insert proper C++ library support
15009 ld_shlibs_CXX=no
15010 ;;
15011 esac
15012 ;;
15013
15014 cygwin* | mingw* | pw32* | cegcc*)
15015 case $GXX,$cc_basename in
15016 ,cl* | no,cl* | ,icl* | no,icl*)
15017 # Native MSVC or ICC
15018 # hardcode_libdir_flag_spec is actually meaningless, as there is
15019 # no search path for DLLs.
15020 hardcode_libdir_flag_spec_CXX=' '
15021 allow_undefined_flag_CXX=unsupported
15022 always_export_symbols_CXX=yes
15023 file_list_spec_CXX='@'
15024 # Tell ltmain to make .lib files, not .a files.
15025 libext=lib
15026 # Tell ltmain to make .dll files, not .so files.
15027 shrext_cmds=.dll
15028 # FIXME: Setting linknames here is a bad hack.
15029 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
15030 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
15031 cp "$export_symbols" "$output_objdir/$soname.def";
15032 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
15033 else
15034 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
15035 fi~
15036 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
15037 linknames='
15038 # The linker will not automatically build a static lib if we build a DLL.
15039 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
15040 enable_shared_with_static_runtimes_CXX=yes
15041 # Don't use ranlib
15042 old_postinstall_cmds_CXX='chmod 644 $oldlib'
15043 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
15044 lt_tool_outputfile="@TOOL_OUTPUT@"~
15045 case $lt_outputfile in
15046 *.exe|*.EXE) ;;
15047 *)
15048 lt_outputfile=$lt_outputfile.exe
15049 lt_tool_outputfile=$lt_tool_outputfile.exe
15050 ;;
15051 esac~
15052 func_to_tool_file "$lt_outputfile"~
15053 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
15054 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
15055 $RM "$lt_outputfile.manifest";
15056 fi'
15057 ;;
15058 *)
15059 # g++
15060 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
15061 # as there is no search path for DLLs.
15062 hardcode_libdir_flag_spec_CXX='-L$libdir'
15063 export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
15064 allow_undefined_flag_CXX=unsupported
15065 always_export_symbols_CXX=no
15066 enable_shared_with_static_runtimes_CXX=yes
15067
15068 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
15069 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15070 # If the export-symbols file already is a .def file, use it as
15071 # is; otherwise, prepend EXPORTS...
15072 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
15073 cp $export_symbols $output_objdir/$soname.def;
15074 else
15075 echo EXPORTS > $output_objdir/$soname.def;
15076 cat $export_symbols >> $output_objdir/$soname.def;
15077 fi~
15078 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15079 else
15080 ld_shlibs_CXX=no
15081 fi
15082 ;;
15083 esac
15084 ;;
15085 darwin* | rhapsody*)
15086
15087
15088 archive_cmds_need_lc_CXX=no
15089 hardcode_direct_CXX=no
15090 hardcode_automatic_CXX=yes
15091 hardcode_shlibpath_var_CXX=unsupported
15092 if test yes = "$lt_cv_ld_force_load"; then
15093 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
15094
15095 else
15096 whole_archive_flag_spec_CXX=''
15097 fi
15098 link_all_deplibs_CXX=yes
15099 allow_undefined_flag_CXX=$_lt_dar_allow_undefined
15100 case $cc_basename in
15101 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
15102 *) _lt_dar_can_shared=$GCC ;;
15103 esac
15104 if test yes = "$_lt_dar_can_shared"; then
15105 output_verbose_link_cmd=func_echo_all
15106 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
15107 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
15108 archive_expsym_cmds_CXX="$SED 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
15109 module_expsym_cmds_CXX="$SED -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
15110 if test yes != "$lt_cv_apple_cc_single_mod"; then
15111 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil"
15112 archive_expsym_cmds_CXX="$SED 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil"
15113 fi
15114
15115 else
15116 ld_shlibs_CXX=no
15117 fi
15118
15119 ;;
15120
15121 os2*)
15122 hardcode_libdir_flag_spec_CXX='-L$libdir'
15123 hardcode_minus_L_CXX=yes
15124 allow_undefined_flag_CXX=unsupported
15125 shrext_cmds=.dll
15126 archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
15127 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
15128 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
15129 $ECHO EXPORTS >> $output_objdir/$libname.def~
15130 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
15131 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
15132 emximp -o $lib $output_objdir/$libname.def'
15133 archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
15134 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
15135 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
15136 $ECHO EXPORTS >> $output_objdir/$libname.def~
15137 prefix_cmds="$SED"~
15138 if test EXPORTS = "`$SED 1q $export_symbols`"; then
15139 prefix_cmds="$prefix_cmds -e 1d";
15140 fi~
15141 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
15142 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
15143 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
15144 emximp -o $lib $output_objdir/$libname.def'
15145 old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
15146 enable_shared_with_static_runtimes_CXX=yes
15147 file_list_spec_CXX='@'
15148 ;;
15149
15150 dgux*)
15151 case $cc_basename in
15152 ec++*)
15153 # FIXME: insert proper C++ library support
15154 ld_shlibs_CXX=no
15155 ;;
15156 ghcx*)
15157 # Green Hills C++ Compiler
15158 # FIXME: insert proper C++ library support
15159 ld_shlibs_CXX=no
15160 ;;
15161 *)
15162 # FIXME: insert proper C++ library support
15163 ld_shlibs_CXX=no
15164 ;;
15165 esac
15166 ;;
15167
15168 freebsd2.*)
15169 # C++ shared libraries reported to be fairly broken before
15170 # switch to ELF
15171 ld_shlibs_CXX=no
15172 ;;
15173
15174 freebsd-elf*)
15175 archive_cmds_need_lc_CXX=no
15176 ;;
15177
15178 freebsd* | dragonfly* | midnightbsd*)
15179 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
15180 # conventions
15181 ld_shlibs_CXX=yes
15182 ;;
15183
15184 haiku*)
15185 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15186 link_all_deplibs_CXX=yes
15187 ;;
15188
15189 hpux9*)
15190 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
15191 hardcode_libdir_separator_CXX=:
15192 export_dynamic_flag_spec_CXX='$wl-E'
15193 hardcode_direct_CXX=yes
15194 hardcode_minus_L_CXX=yes # Not in the search PATH,
15195 # but as the default
15196 # location of the library.
15197
15198 case $cc_basename in
15199 CC*)
15200 # FIXME: insert proper C++ library support
15201 ld_shlibs_CXX=no
15202 ;;
15203 aCC*)
15204 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
15205 # Commands to make compiler produce verbose output that lists
15206 # what "hidden" libraries, object files and flags are used when
15207 # linking a shared library.
15208 #
15209 # There doesn't appear to be a way to prevent this compiler from
15210 # explicitly linking system object files so we need to strip them
15211 # from the output so that they don't get included in the library
15212 # dependencies.
15213 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP " \-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
15214 ;;
15215 *)
15216 if test yes = "$GXX"; then
15217 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
15218 else
15219 # FIXME: insert proper C++ library support
15220 ld_shlibs_CXX=no
15221 fi
15222 ;;
15223 esac
15224 ;;
15225
15226 hpux10*|hpux11*)
15227 if test no = "$with_gnu_ld"; then
15228 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
15229 hardcode_libdir_separator_CXX=:
15230
15231 case $host_cpu in
15232 hppa*64*|ia64*)
15233 ;;
15234 *)
15235 export_dynamic_flag_spec_CXX='$wl-E'
15236 ;;
15237 esac
15238 fi
15239 case $host_cpu in
15240 hppa*64*|ia64*)
15241 hardcode_direct_CXX=no
15242 hardcode_shlibpath_var_CXX=no
15243 ;;
15244 *)
15245 hardcode_direct_CXX=yes
15246 hardcode_direct_absolute_CXX=yes
15247 hardcode_minus_L_CXX=yes # Not in the search PATH,
15248 # but as the default
15249 # location of the library.
15250 ;;
15251 esac
15252
15253 case $cc_basename in
15254 CC*)
15255 # FIXME: insert proper C++ library support
15256 ld_shlibs_CXX=no
15257 ;;
15258 aCC*)
15259 case $host_cpu in
15260 hppa*64*)
15261 archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15262 ;;
15263 ia64*)
15264 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15265 ;;
15266 *)
15267 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15268 ;;
15269 esac
15270 # Commands to make compiler produce verbose output that lists
15271 # what "hidden" libraries, object files and flags are used when
15272 # linking a shared library.
15273 #
15274 # There doesn't appear to be a way to prevent this compiler from
15275 # explicitly linking system object files so we need to strip them
15276 # from the output so that they don't get included in the library
15277 # dependencies.
15278 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP " \-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
15279 ;;
15280 *)
15281 if test yes = "$GXX"; then
15282 if test no = "$with_gnu_ld"; then
15283 case $host_cpu in
15284 hppa*64*)
15285 archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15286 ;;
15287 ia64*)
15288 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15289 ;;
15290 *)
15291 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15292 ;;
15293 esac
15294 fi
15295 else
15296 # FIXME: insert proper C++ library support
15297 ld_shlibs_CXX=no
15298 fi
15299 ;;
15300 esac
15301 ;;
15302
15303 interix[3-9]*)
15304 hardcode_direct_CXX=no
15305 hardcode_shlibpath_var_CXX=no
15306 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15307 export_dynamic_flag_spec_CXX='$wl-E'
15308 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15309 # Instead, shared libraries are loaded at an image base (0x10000000 by
15310 # default) and relocated if they conflict, which is a slow very memory
15311 # consuming and fragmenting process. To avoid this, we pick a random,
15312 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15313 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15314 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
15315 archive_expsym_cmds_CXX='$SED "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
15316 ;;
15317 irix5* | irix6*)
15318 case $cc_basename in
15319 CC*)
15320 # SGI C++
15321 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
15322
15323 # Archives containing C++ object files must be created using
15324 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
15325 # necessary to make sure instantiated templates are included
15326 # in the archive.
15327 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
15328 ;;
15329 *)
15330 if test yes = "$GXX"; then
15331 if test no = "$with_gnu_ld"; then
15332 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
15333 else
15334 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` -o $lib'
15335 fi
15336 fi
15337 link_all_deplibs_CXX=yes
15338 ;;
15339 esac
15340 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
15341 hardcode_libdir_separator_CXX=:
15342 inherit_rpath_CXX=yes
15343 ;;
15344
15345 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15346 case $cc_basename in
15347 KCC*)
15348 # Kuck and Associates, Inc. (KAI) C++ Compiler
15349
15350 # KCC will only create a shared library if the output file
15351 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15352 # to its proper name (with version) after linking.
15353 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
15354 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib $wl-retain-symbols-file,$export_symbols; mv \$templib $lib'
15355 # Commands to make compiler produce verbose output that lists
15356 # what "hidden" libraries, object files and flags are used when
15357 # linking a shared library.
15358 #
15359 # There doesn't appear to be a way to prevent this compiler from
15360 # explicitly linking system object files so we need to strip them
15361 # from the output so that they don't get included in the library
15362 # dependencies.
15363 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
15364
15365 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15366 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
15367
15368 # Archives containing C++ object files must be created using
15369 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15370 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
15371 ;;
15372 icpc* | ecpc* )
15373 # Intel C++
15374 with_gnu_ld=yes
15375 # version 8.0 and above of icpc choke on multiply defined symbols
15376 # if we add $predep_objects and $postdep_objects, however 7.1 and
15377 # earlier do not add the objects themselves.
15378 case `$CC -V 2>&1` in
15379 *"Version 7."*)
15380 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15381 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
15382 ;;
15383 *) # Version 8.0 or newer
15384 tmp_idyn=
15385 case $host_cpu in
15386 ia64*) tmp_idyn=' -i_dynamic';;
15387 esac
15388 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15389 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
15390 ;;
15391 esac
15392 archive_cmds_need_lc_CXX=no
15393 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15394 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
15395 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
15396 ;;
15397 pgCC* | pgcpp*)
15398 # Portland Group C++ compiler
15399 case `$CC -V` in
15400 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
15401 prelink_cmds_CXX='tpldir=Template.dir~
15402 rm -rf $tpldir~
15403 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
15404 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
15405 old_archive_cmds_CXX='tpldir=Template.dir~
15406 rm -rf $tpldir~
15407 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
15408 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
15409 $RANLIB $oldlib'
15410 archive_cmds_CXX='tpldir=Template.dir~
15411 rm -rf $tpldir~
15412 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15413 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15414 archive_expsym_cmds_CXX='tpldir=Template.dir~
15415 rm -rf $tpldir~
15416 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15417 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
15418 ;;
15419 *) # Version 6 and above use weak symbols
15420 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15421 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
15422 ;;
15423 esac
15424
15425 hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
15426 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
15427 whole_archive_flag_spec_CXX='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
15428 ;;
15429 cxx*)
15430 # Compaq C++
15431 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15432 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib $wl-retain-symbols-file $wl$export_symbols'
15433
15434 runpath_var=LD_RUN_PATH
15435 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15436 hardcode_libdir_separator_CXX=:
15437
15438 # Commands to make compiler produce verbose output that lists
15439 # what "hidden" libraries, object files and flags are used when
15440 # linking a shared library.
15441 #
15442 # There doesn't appear to be a way to prevent this compiler from
15443 # explicitly linking system object files so we need to strip them
15444 # from the output so that they don't get included in the library
15445 # dependencies.
15446 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
15447 ;;
15448 xl* | mpixl* | bgxl*)
15449 # IBM XL 8.0 on PPC, with GNU ld
15450 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
15451 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
15452 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15453 if test yes = "$supports_anon_versioning"; then
15454 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
15455 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15456 echo "local: *; };" >> $output_objdir/$libname.ver~
15457 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
15458 fi
15459 ;;
15460 *)
15461 case `$CC -V 2>&1 | $SED 5q` in
15462 *Sun\ C*)
15463 # Sun C++ 5.9
15464 no_undefined_flag_CXX=' -zdefs'
15465 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15466 archive_expsym_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file $wl$export_symbols'
15467 hardcode_libdir_flag_spec_CXX='-R$libdir'
15468 whole_archive_flag_spec_CXX='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
15469 compiler_needs_object_CXX=yes
15470
15471 # Not sure whether something based on
15472 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15473 # would be better.
15474 output_verbose_link_cmd='func_echo_all'
15475
15476 # Archives containing C++ object files must be created using
15477 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15478 # necessary to make sure instantiated templates are included
15479 # in the archive.
15480 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15481 ;;
15482 esac
15483 ;;
15484 esac
15485 ;;
15486
15487 lynxos*)
15488 # FIXME: insert proper C++ library support
15489 ld_shlibs_CXX=no
15490 ;;
15491
15492 m88k*)
15493 # FIXME: insert proper C++ library support
15494 ld_shlibs_CXX=no
15495 ;;
15496
15497 mvs*)
15498 case $cc_basename in
15499 cxx*)
15500 # FIXME: insert proper C++ library support
15501 ld_shlibs_CXX=no
15502 ;;
15503 *)
15504 # FIXME: insert proper C++ library support
15505 ld_shlibs_CXX=no
15506 ;;
15507 esac
15508 ;;
15509
15510 netbsd*)
15511 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15512 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
15513 wlarc=
15514 hardcode_libdir_flag_spec_CXX='-R$libdir'
15515 hardcode_direct_CXX=yes
15516 hardcode_shlibpath_var_CXX=no
15517 fi
15518 # Workaround some broken pre-1.5 toolchains
15519 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
15520 ;;
15521
15522 *nto* | *qnx*)
15523 ld_shlibs_CXX=yes
15524 ;;
15525
15526 openbsd* | bitrig*)
15527 if test -f /usr/libexec/ld.so; then
15528 hardcode_direct_CXX=yes
15529 hardcode_shlibpath_var_CXX=no
15530 hardcode_direct_absolute_CXX=yes
15531 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15532 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15533 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
15534 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
15535 export_dynamic_flag_spec_CXX='$wl-E'
15536 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
15537 fi
15538 output_verbose_link_cmd=func_echo_all
15539 else
15540 ld_shlibs_CXX=no
15541 fi
15542 ;;
15543
15544 osf3* | osf4* | osf5*)
15545 case $cc_basename in
15546 KCC*)
15547 # Kuck and Associates, Inc. (KAI) C++ Compiler
15548
15549 # KCC will only create a shared library if the output file
15550 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15551 # to its proper name (with version) after linking.
15552 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
15553
15554 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15555 hardcode_libdir_separator_CXX=:
15556
15557 # Archives containing C++ object files must be created using
15558 # the KAI C++ compiler.
15559 case $host in
15560 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
15561 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
15562 esac
15563 ;;
15564 RCC*)
15565 # Rational C++ 2.4.1
15566 # FIXME: insert proper C++ library support
15567 ld_shlibs_CXX=no
15568 ;;
15569 cxx*)
15570 case $host in
15571 osf3*)
15572 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
15573 archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $soname `test -n "$verstring" && func_echo_all "$wl-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
15574 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
15575 ;;
15576 *)
15577 allow_undefined_flag_CXX=' -expect_unresolved \*'
15578 archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
15579 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
15580 echo "-hidden">> $lib.exp~
15581 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname $wl-input $wl$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~
15582 $RM $lib.exp'
15583 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15584 ;;
15585 esac
15586
15587 hardcode_libdir_separator_CXX=:
15588
15589 # Commands to make compiler produce verbose output that lists
15590 # what "hidden" libraries, object files and flags are used when
15591 # linking a shared library.
15592 #
15593 # There doesn't appear to be a way to prevent this compiler from
15594 # explicitly linking system object files so we need to strip them
15595 # from the output so that they don't get included in the library
15596 # dependencies.
15597 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
15598 ;;
15599 *)
15600 if test yes,no = "$GXX,$with_gnu_ld"; then
15601 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
15602 case $host in
15603 osf3*)
15604 archive_cmds_CXX='$CC -shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
15605 ;;
15606 *)
15607 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
15608 ;;
15609 esac
15610
15611 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
15612 hardcode_libdir_separator_CXX=:
15613
15614 # Commands to make compiler produce verbose output that lists
15615 # what "hidden" libraries, object files and flags are used when
15616 # linking a shared library.
15617 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
15618
15619 else
15620 # FIXME: insert proper C++ library support
15621 ld_shlibs_CXX=no
15622 fi
15623 ;;
15624 esac
15625 ;;
15626
15627 psos*)
15628 # FIXME: insert proper C++ library support
15629 ld_shlibs_CXX=no
15630 ;;
15631
15632 sunos4*)
15633 case $cc_basename in
15634 CC*)
15635 # Sun C++ 4.x
15636 # FIXME: insert proper C++ library support
15637 ld_shlibs_CXX=no
15638 ;;
15639 lcc*)
15640 # Lucid
15641 # FIXME: insert proper C++ library support
15642 ld_shlibs_CXX=no
15643 ;;
15644 *)
15645 # FIXME: insert proper C++ library support
15646 ld_shlibs_CXX=no
15647 ;;
15648 esac
15649 ;;
15650
15651 solaris*)
15652 case $cc_basename in
15653 CC* | sunCC*)
15654 # Sun C++ 4.2, 5.x and Centerline C++
15655 archive_cmds_need_lc_CXX=yes
15656 no_undefined_flag_CXX=' -zdefs'
15657 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15658 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15659 $CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15660
15661 hardcode_libdir_flag_spec_CXX='-R$libdir'
15662 hardcode_shlibpath_var_CXX=no
15663 case $host_os in
15664 solaris2.[0-5] | solaris2.[0-5].*) ;;
15665 *)
15666 # The compiler driver will combine and reorder linker options,
15667 # but understands '-z linker_flag'.
15668 # Supported since Solaris 2.6 (maybe 2.5.1?)
15669 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
15670 ;;
15671 esac
15672 link_all_deplibs_CXX=yes
15673
15674 output_verbose_link_cmd='func_echo_all'
15675
15676 # Archives containing C++ object files must be created using
15677 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15678 # necessary to make sure instantiated templates are included
15679 # in the archive.
15680 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15681 ;;
15682 gcx*)
15683 # Green Hills C++ Compiler
15684 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
15685
15686 # The C++ compiler must be used to create the archive.
15687 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
15688 ;;
15689 *)
15690 # GNU C++ compiler with Solaris linker
15691 if test yes,no = "$GXX,$with_gnu_ld"; then
15692 no_undefined_flag_CXX=' $wl-z ${wl}defs'
15693 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
15694 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
15695 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15696 $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15697
15698 # Commands to make compiler produce verbose output that lists
15699 # what "hidden" libraries, object files and flags are used when
15700 # linking a shared library.
15701 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
15702 else
15703 # g++ 2.7 appears to require '-G' NOT '-shared' on this
15704 # platform.
15705 archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
15706 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15707 $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15708
15709 # Commands to make compiler produce verbose output that lists
15710 # what "hidden" libraries, object files and flags are used when
15711 # linking a shared library.
15712 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
15713 fi
15714
15715 hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
15716 case $host_os in
15717 solaris2.[0-5] | solaris2.[0-5].*) ;;
15718 *)
15719 whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
15720 ;;
15721 esac
15722 fi
15723 ;;
15724 esac
15725 ;;
15726
15727 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15728 no_undefined_flag_CXX='$wl-z,text'
15729 archive_cmds_need_lc_CXX=no
15730 hardcode_shlibpath_var_CXX=no
15731 runpath_var='LD_RUN_PATH'
15732
15733 case $cc_basename in
15734 CC*)
15735 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15736 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15737 ;;
15738 *)
15739 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15740 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15741 ;;
15742 esac
15743 ;;
15744
15745 sysv5* | sco3.2v5* | sco5v6*)
15746 # Note: We CANNOT use -z defs as we might desire, because we do not
15747 # link with -lc, and that would cause any symbols used from libc to
15748 # always be unresolved, which means just about no library would
15749 # ever link correctly. If we're not using GNU ld we use -z text
15750 # though, which does catch some bad symbols but isn't as heavy-handed
15751 # as -z defs.
15752 no_undefined_flag_CXX='$wl-z,text'
15753 allow_undefined_flag_CXX='$wl-z,nodefs'
15754 archive_cmds_need_lc_CXX=no
15755 hardcode_shlibpath_var_CXX=no
15756 hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
15757 hardcode_libdir_separator_CXX=':'
15758 link_all_deplibs_CXX=yes
15759 export_dynamic_flag_spec_CXX='$wl-Bexport'
15760 runpath_var='LD_RUN_PATH'
15761
15762 case $cc_basename in
15763 CC*)
15764 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15765 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15766 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
15767 '"$old_archive_cmds_CXX"
15768 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
15769 '"$reload_cmds_CXX"
15770 ;;
15771 *)
15772 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15773 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15774 ;;
15775 esac
15776 ;;
15777
15778 tandem*)
15779 case $cc_basename in
15780 NCC*)
15781 # NonStop-UX NCC 3.20
15782 # FIXME: insert proper C++ library support
15783 ld_shlibs_CXX=no
15784 ;;
15785 *)
15786 # FIXME: insert proper C++ library support
15787 ld_shlibs_CXX=no
15788 ;;
15789 esac
15790 ;;
15791
15792 vxworks*)
15793 # FIXME: insert proper C++ library support
15794 ld_shlibs_CXX=no
15795 ;;
15796
15797 *)
15798 # FIXME: insert proper C++ library support
15799 ld_shlibs_CXX=no
15800 ;;
15801 esac
15802
15803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15804 printf "%s\n" "$ld_shlibs_CXX" >&6; }
15805 test no = "$ld_shlibs_CXX" && can_build_shared=no
15806
15807 GCC_CXX=$GXX
15808 LD_CXX=$LD
15809
15810 ## CAVEAT EMPTOR:
15811 ## There is no encapsulation within the following macros, do not change
15812 ## the running order or otherwise move them around unless you know exactly
15813 ## what you are doing...
15814 # Dependencies to place before and after the object being linked:
15815 predep_objects_CXX=
15816 postdep_objects_CXX=
15817 predeps_CXX=
15818 postdeps_CXX=
15819 compiler_lib_search_path_CXX=
15820
15821 cat > conftest.$ac_ext <<_LT_EOF
15822 class Foo
15823 {
15824 public:
15825 Foo (void) { a = 0; }
15826 private:
15827 int a;
15828 };
15829 _LT_EOF
15830
15831
15832 _lt_libdeps_save_CFLAGS=$CFLAGS
15833 case "$CC $CFLAGS " in #(
15834 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
15835 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
15836 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
15837 esac
15838
15839 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15840 (eval $ac_compile) 2>&5
15841 ac_status=$?
15842 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15843 test $ac_status = 0; }; then
15844 # Parse the compiler output and extract the necessary
15845 # objects, libraries and library flags.
15846
15847 # Sentinel used to keep track of whether or not we are before
15848 # the conftest object file.
15849 pre_test_object_deps_done=no
15850
15851 for p in `eval "$output_verbose_link_cmd"`; do
15852 case $prev$p in
15853
15854 -L* | -R* | -l*)
15855 # Some compilers place space between "-{L,R}" and the path.
15856 # Remove the space.
15857 if test x-L = "$p" ||
15858 test x-R = "$p"; then
15859 prev=$p
15860 continue
15861 fi
15862
15863 # Expand the sysroot to ease extracting the directories later.
15864 if test -z "$prev"; then
15865 case $p in
15866 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
15867 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
15868 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
15869 esac
15870 fi
15871 case $p in
15872 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
15873 esac
15874 if test no = "$pre_test_object_deps_done"; then
15875 case $prev in
15876 -L | -R)
15877 # Internal compiler library paths should come after those
15878 # provided the user. The postdeps already come after the
15879 # user supplied libs so there is no need to process them.
15880 if test -z "$compiler_lib_search_path_CXX"; then
15881 compiler_lib_search_path_CXX=$prev$p
15882 else
15883 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
15884 fi
15885 ;;
15886 # The "-l" case would never come before the object being
15887 # linked, so don't bother handling this case.
15888 esac
15889 else
15890 if test -z "$postdeps_CXX"; then
15891 postdeps_CXX=$prev$p
15892 else
15893 postdeps_CXX="${postdeps_CXX} $prev$p"
15894 fi
15895 fi
15896 prev=
15897 ;;
15898
15899 *.lto.$objext) ;; # Ignore GCC LTO objects
15900 *.$objext)
15901 # This assumes that the test object file only shows up
15902 # once in the compiler output.
15903 if test "$p" = "conftest.$objext"; then
15904 pre_test_object_deps_done=yes
15905 continue
15906 fi
15907
15908 if test no = "$pre_test_object_deps_done"; then
15909 if test -z "$predep_objects_CXX"; then
15910 predep_objects_CXX=$p
15911 else
15912 predep_objects_CXX="$predep_objects_CXX $p"
15913 fi
15914 else
15915 if test -z "$postdep_objects_CXX"; then
15916 postdep_objects_CXX=$p
15917 else
15918 postdep_objects_CXX="$postdep_objects_CXX $p"
15919 fi
15920 fi
15921 ;;
15922
15923 *) ;; # Ignore the rest.
15924
15925 esac
15926 done
15927
15928 # Clean up.
15929 rm -f a.out a.exe
15930 else
15931 echo "libtool.m4: error: problem compiling CXX test program"
15932 fi
15933
15934 $RM -f confest.$objext
15935 CFLAGS=$_lt_libdeps_save_CFLAGS
15936
15937 # PORTME: override above test on systems where it is broken
15938 case $host_os in
15939 interix[3-9]*)
15940 # Interix 3.5 installs completely hosed .la files for C++, so rather than
15941 # hack all around it, let's just trust "g++" to DTRT.
15942 predep_objects_CXX=
15943 postdep_objects_CXX=
15944 postdeps_CXX=
15945 ;;
15946 esac
15947
15948
15949 case " $postdeps_CXX " in
15950 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
15951 esac
15952 compiler_lib_search_dirs_CXX=
15953 if test -n "${compiler_lib_search_path_CXX}"; then
15954 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
15955 fi
15956
15957
15958
15959
15960
15961
15962
15963
15964
15965
15966
15967
15968
15969
15970
15971
15972
15973
15974
15975
15976
15977
15978
15979
15980
15981
15982
15983
15984
15985
15986
15987 lt_prog_compiler_wl_CXX=
15988 lt_prog_compiler_pic_CXX=
15989 lt_prog_compiler_static_CXX=
15990
15991
15992 # C++ specific cases for pic, static, wl, etc.
15993 if test yes = "$GXX"; then
15994 lt_prog_compiler_wl_CXX='-Wl,'
15995 lt_prog_compiler_static_CXX='-static'
15996
15997 case $host_os in
15998 aix*)
15999 # All AIX code is PIC.
16000 if test ia64 = "$host_cpu"; then
16001 # AIX 5 now supports IA64 processor
16002 lt_prog_compiler_static_CXX='-Bstatic'
16003 fi
16004 lt_prog_compiler_pic_CXX='-fPIC'
16005 ;;
16006
16007 amigaos*)
16008 case $host_cpu in
16009 powerpc)
16010 # see comment about AmigaOS4 .so support
16011 lt_prog_compiler_pic_CXX='-fPIC'
16012 ;;
16013 m68k)
16014 # FIXME: we need at least 68020 code to build shared libraries, but
16015 # adding the '-m68020' flag to GCC prevents building anything better,
16016 # like '-m68040'.
16017 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
16018 ;;
16019 esac
16020 ;;
16021
16022 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16023 # PIC is the default for these OSes.
16024 ;;
16025 mingw* | cygwin* | os2* | pw32* | cegcc*)
16026 # This hack is so that the source file can tell whether it is being
16027 # built for inclusion in a dll (and should export symbols for example).
16028 # Although the cygwin gcc ignores -fPIC, still need this for old-style
16029 # (--disable-auto-import) libraries
16030 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16031 case $host_os in
16032 os2*)
16033 lt_prog_compiler_static_CXX='$wl-static'
16034 ;;
16035 esac
16036 ;;
16037 darwin* | rhapsody*)
16038 # PIC is the default on this platform
16039 # Common symbols not allowed in MH_DYLIB files
16040 lt_prog_compiler_pic_CXX='-fno-common'
16041 ;;
16042 *djgpp*)
16043 # DJGPP does not support shared libraries at all
16044 lt_prog_compiler_pic_CXX=
16045 ;;
16046 haiku*)
16047 # PIC is the default for Haiku.
16048 # The "-static" flag exists, but is broken.
16049 lt_prog_compiler_static_CXX=
16050 ;;
16051 interix[3-9]*)
16052 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16053 # Instead, we relocate shared libraries at runtime.
16054 ;;
16055 sysv4*MP*)
16056 if test -d /usr/nec; then
16057 lt_prog_compiler_pic_CXX=-Kconform_pic
16058 fi
16059 ;;
16060 hpux*)
16061 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
16062 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
16063 # sets the default TLS model and affects inlining.
16064 case $host_cpu in
16065 hppa*64*)
16066 ;;
16067 *)
16068 lt_prog_compiler_pic_CXX='-fPIC'
16069 ;;
16070 esac
16071 ;;
16072 *qnx* | *nto*)
16073 # QNX uses GNU C++, but need to define -shared option too, otherwise
16074 # it will coredump.
16075 lt_prog_compiler_pic_CXX='-fPIC -shared'
16076 ;;
16077 *)
16078 lt_prog_compiler_pic_CXX='-fPIC'
16079 ;;
16080 esac
16081 else
16082 case $host_os in
16083 aix[4-9]*)
16084 # All AIX code is PIC.
16085 if test ia64 = "$host_cpu"; then
16086 # AIX 5 now supports IA64 processor
16087 lt_prog_compiler_static_CXX='-Bstatic'
16088 else
16089 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
16090 fi
16091 ;;
16092 chorus*)
16093 case $cc_basename in
16094 cxch68*)
16095 # Green Hills C++ Compiler
16096 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
16097 ;;
16098 esac
16099 ;;
16100 mingw* | cygwin* | os2* | pw32* | cegcc*)
16101 # This hack is so that the source file can tell whether it is being
16102 # built for inclusion in a dll (and should export symbols for example).
16103 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16104 ;;
16105 dgux*)
16106 case $cc_basename in
16107 ec++*)
16108 lt_prog_compiler_pic_CXX='-KPIC'
16109 ;;
16110 ghcx*)
16111 # Green Hills C++ Compiler
16112 lt_prog_compiler_pic_CXX='-pic'
16113 ;;
16114 *)
16115 ;;
16116 esac
16117 ;;
16118 freebsd* | dragonfly* | midnightbsd*)
16119 # FreeBSD uses GNU C++
16120 ;;
16121 hpux9* | hpux10* | hpux11*)
16122 case $cc_basename in
16123 CC*)
16124 lt_prog_compiler_wl_CXX='-Wl,'
16125 lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
16126 if test ia64 != "$host_cpu"; then
16127 lt_prog_compiler_pic_CXX='+Z'
16128 fi
16129 ;;
16130 aCC*)
16131 lt_prog_compiler_wl_CXX='-Wl,'
16132 lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
16133 case $host_cpu in
16134 hppa*64*|ia64*)
16135 # +Z the default
16136 ;;
16137 *)
16138 lt_prog_compiler_pic_CXX='+Z'
16139 ;;
16140 esac
16141 ;;
16142 *)
16143 ;;
16144 esac
16145 ;;
16146 interix*)
16147 # This is c89, which is MS Visual C++ (no shared libs)
16148 # Anyone wants to do a port?
16149 ;;
16150 irix5* | irix6* | nonstopux*)
16151 case $cc_basename in
16152 CC*)
16153 lt_prog_compiler_wl_CXX='-Wl,'
16154 lt_prog_compiler_static_CXX='-non_shared'
16155 # CC pic flag -KPIC is the default.
16156 ;;
16157 *)
16158 ;;
16159 esac
16160 ;;
16161 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
16162 case $cc_basename in
16163 KCC*)
16164 # KAI C++ Compiler
16165 lt_prog_compiler_wl_CXX='--backend -Wl,'
16166 lt_prog_compiler_pic_CXX='-fPIC'
16167 ;;
16168 ecpc* )
16169 # old Intel C++ for x86_64, which still supported -KPIC.
16170 lt_prog_compiler_wl_CXX='-Wl,'
16171 lt_prog_compiler_pic_CXX='-KPIC'
16172 lt_prog_compiler_static_CXX='-static'
16173 ;;
16174 icpc* )
16175 # Intel C++, used to be incompatible with GCC.
16176 # ICC 10 doesn't accept -KPIC any more.
16177 lt_prog_compiler_wl_CXX='-Wl,'
16178 lt_prog_compiler_pic_CXX='-fPIC'
16179 lt_prog_compiler_static_CXX='-static'
16180 ;;
16181 pgCC* | pgcpp*)
16182 # Portland Group C++ compiler
16183 lt_prog_compiler_wl_CXX='-Wl,'
16184 lt_prog_compiler_pic_CXX='-fpic'
16185 lt_prog_compiler_static_CXX='-Bstatic'
16186 ;;
16187 cxx*)
16188 # Compaq C++
16189 # Make sure the PIC flag is empty. It appears that all Alpha
16190 # Linux and Compaq Tru64 Unix objects are PIC.
16191 lt_prog_compiler_pic_CXX=
16192 lt_prog_compiler_static_CXX='-non_shared'
16193 ;;
16194 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
16195 # IBM XL 8.0, 9.0 on PPC and BlueGene
16196 lt_prog_compiler_wl_CXX='-Wl,'
16197 lt_prog_compiler_pic_CXX='-qpic'
16198 lt_prog_compiler_static_CXX='-qstaticlink'
16199 ;;
16200 *)
16201 case `$CC -V 2>&1 | $SED 5q` in
16202 *Sun\ C*)
16203 # Sun C++ 5.9
16204 lt_prog_compiler_pic_CXX='-KPIC'
16205 lt_prog_compiler_static_CXX='-Bstatic'
16206 lt_prog_compiler_wl_CXX='-Qoption ld '
16207 ;;
16208 esac
16209 ;;
16210 esac
16211 ;;
16212 lynxos*)
16213 ;;
16214 m88k*)
16215 ;;
16216 mvs*)
16217 case $cc_basename in
16218 cxx*)
16219 lt_prog_compiler_pic_CXX='-W c,exportall'
16220 ;;
16221 *)
16222 ;;
16223 esac
16224 ;;
16225 netbsd* | netbsdelf*-gnu)
16226 ;;
16227 *qnx* | *nto*)
16228 # QNX uses GNU C++, but need to define -shared option too, otherwise
16229 # it will coredump.
16230 lt_prog_compiler_pic_CXX='-fPIC -shared'
16231 ;;
16232 osf3* | osf4* | osf5*)
16233 case $cc_basename in
16234 KCC*)
16235 lt_prog_compiler_wl_CXX='--backend -Wl,'
16236 ;;
16237 RCC*)
16238 # Rational C++ 2.4.1
16239 lt_prog_compiler_pic_CXX='-pic'
16240 ;;
16241 cxx*)
16242 # Digital/Compaq C++
16243 lt_prog_compiler_wl_CXX='-Wl,'
16244 # Make sure the PIC flag is empty. It appears that all Alpha
16245 # Linux and Compaq Tru64 Unix objects are PIC.
16246 lt_prog_compiler_pic_CXX=
16247 lt_prog_compiler_static_CXX='-non_shared'
16248 ;;
16249 *)
16250 ;;
16251 esac
16252 ;;
16253 psos*)
16254 ;;
16255 solaris*)
16256 case $cc_basename in
16257 CC* | sunCC*)
16258 # Sun C++ 4.2, 5.x and Centerline C++
16259 lt_prog_compiler_pic_CXX='-KPIC'
16260 lt_prog_compiler_static_CXX='-Bstatic'
16261 lt_prog_compiler_wl_CXX='-Qoption ld '
16262 ;;
16263 gcx*)
16264 # Green Hills C++ Compiler
16265 lt_prog_compiler_pic_CXX='-PIC'
16266 ;;
16267 *)
16268 ;;
16269 esac
16270 ;;
16271 sunos4*)
16272 case $cc_basename in
16273 CC*)
16274 # Sun C++ 4.x
16275 lt_prog_compiler_pic_CXX='-pic'
16276 lt_prog_compiler_static_CXX='-Bstatic'
16277 ;;
16278 lcc*)
16279 # Lucid
16280 lt_prog_compiler_pic_CXX='-pic'
16281 ;;
16282 *)
16283 ;;
16284 esac
16285 ;;
16286 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16287 case $cc_basename in
16288 CC*)
16289 lt_prog_compiler_wl_CXX='-Wl,'
16290 lt_prog_compiler_pic_CXX='-KPIC'
16291 lt_prog_compiler_static_CXX='-Bstatic'
16292 ;;
16293 esac
16294 ;;
16295 tandem*)
16296 case $cc_basename in
16297 NCC*)
16298 # NonStop-UX NCC 3.20
16299 lt_prog_compiler_pic_CXX='-KPIC'
16300 ;;
16301 *)
16302 ;;
16303 esac
16304 ;;
16305 vxworks*)
16306 ;;
16307 *)
16308 lt_prog_compiler_can_build_shared_CXX=no
16309 ;;
16310 esac
16311 fi
16312
16313 case $host_os in
16314 # For platforms that do not support PIC, -DPIC is meaningless:
16315 *djgpp*)
16316 lt_prog_compiler_pic_CXX=
16317 ;;
16318 *)
16319 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
16320 ;;
16321 esac
16322
16323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
16324 printf %s "checking for $compiler option to produce PIC... " >&6; }
16325 if test ${lt_cv_prog_compiler_pic_CXX+y}
16326 then :
16327 printf %s "(cached) " >&6
16328 else $as_nop
16329 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
16330 fi
16331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
16332 printf "%s\n" "$lt_cv_prog_compiler_pic_CXX" >&6; }
16333 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
16334
16335 #
16336 # Check to make sure the PIC flag actually works.
16337 #
16338 if test -n "$lt_prog_compiler_pic_CXX"; then
16339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
16340 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
16341 if test ${lt_cv_prog_compiler_pic_works_CXX+y}
16342 then :
16343 printf %s "(cached) " >&6
16344 else $as_nop
16345 lt_cv_prog_compiler_pic_works_CXX=no
16346 ac_outfile=conftest.$ac_objext
16347 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16348 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment
16349 # Insert the option either (1) after the last *FLAGS variable, or
16350 # (2) before a word containing "conftest.", or (3) at the end.
16351 # Note that $ac_compile itself does not contain backslashes and begins
16352 # with a dollar sign (not a hyphen), so the echo should work correctly.
16353 # The option is referenced via a variable to avoid confusing sed.
16354 lt_compile=`echo "$ac_compile" | $SED \
16355 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16356 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16357 -e 's:$: $lt_compiler_flag:'`
16358 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16359 (eval "$lt_compile" 2>conftest.err)
16360 ac_status=$?
16361 cat conftest.err >&5
16362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16363 if (exit $ac_status) && test -s "$ac_outfile"; then
16364 # The compiler can only warn and ignore the option if not recognized
16365 # So say no if there are warnings other than the usual output.
16366 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
16367 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16368 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16369 lt_cv_prog_compiler_pic_works_CXX=yes
16370 fi
16371 fi
16372 $RM conftest*
16373
16374 fi
16375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
16376 printf "%s\n" "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
16377
16378 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
16379 case $lt_prog_compiler_pic_CXX in
16380 "" | " "*) ;;
16381 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
16382 esac
16383 else
16384 lt_prog_compiler_pic_CXX=
16385 lt_prog_compiler_can_build_shared_CXX=no
16386 fi
16387
16388 fi
16389
16390
16391
16392
16393
16394 #
16395 # Check to make sure the static flag actually works.
16396 #
16397 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
16398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16399 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16400 if test ${lt_cv_prog_compiler_static_works_CXX+y}
16401 then :
16402 printf %s "(cached) " >&6
16403 else $as_nop
16404 lt_cv_prog_compiler_static_works_CXX=no
16405 save_LDFLAGS=$LDFLAGS
16406 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16407 echo "$lt_simple_link_test_code" > conftest.$ac_ext
16408 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16409 # The linker can only warn and ignore the option if not recognized
16410 # So say no if there are warnings
16411 if test -s conftest.err; then
16412 # Append any errors to the config.log.
16413 cat conftest.err 1>&5
16414 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
16415 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16416 if diff conftest.exp conftest.er2 >/dev/null; then
16417 lt_cv_prog_compiler_static_works_CXX=yes
16418 fi
16419 else
16420 lt_cv_prog_compiler_static_works_CXX=yes
16421 fi
16422 fi
16423 $RM -r conftest*
16424 LDFLAGS=$save_LDFLAGS
16425
16426 fi
16427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16428 printf "%s\n" "$lt_cv_prog_compiler_static_works_CXX" >&6; }
16429
16430 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
16431 :
16432 else
16433 lt_prog_compiler_static_CXX=
16434 fi
16435
16436
16437
16438
16439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16440 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16441 if test ${lt_cv_prog_compiler_c_o_CXX+y}
16442 then :
16443 printf %s "(cached) " >&6
16444 else $as_nop
16445 lt_cv_prog_compiler_c_o_CXX=no
16446 $RM -r conftest 2>/dev/null
16447 mkdir conftest
16448 cd conftest
16449 mkdir out
16450 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16451
16452 lt_compiler_flag="-o out/conftest2.$ac_objext"
16453 # Insert the option either (1) after the last *FLAGS variable, or
16454 # (2) before a word containing "conftest.", or (3) at the end.
16455 # Note that $ac_compile itself does not contain backslashes and begins
16456 # with a dollar sign (not a hyphen), so the echo should work correctly.
16457 lt_compile=`echo "$ac_compile" | $SED \
16458 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16459 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16460 -e 's:$: $lt_compiler_flag:'`
16461 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16462 (eval "$lt_compile" 2>out/conftest.err)
16463 ac_status=$?
16464 cat out/conftest.err >&5
16465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16466 if (exit $ac_status) && test -s out/conftest2.$ac_objext
16467 then
16468 # The compiler can only warn and ignore the option if not recognized
16469 # So say no if there are warnings
16470 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16471 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16472 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16473 lt_cv_prog_compiler_c_o_CXX=yes
16474 fi
16475 fi
16476 chmod u+w . 2>&5
16477 $RM conftest*
16478 # SGI C++ compiler will create directory out/ii_files/ for
16479 # template instantiation
16480 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16481 $RM out/* && rmdir out
16482 cd ..
16483 $RM -r conftest
16484 $RM conftest*
16485
16486 fi
16487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16488 printf "%s\n" "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16489
16490
16491
16492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16493 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16494 if test ${lt_cv_prog_compiler_c_o_CXX+y}
16495 then :
16496 printf %s "(cached) " >&6
16497 else $as_nop
16498 lt_cv_prog_compiler_c_o_CXX=no
16499 $RM -r conftest 2>/dev/null
16500 mkdir conftest
16501 cd conftest
16502 mkdir out
16503 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16504
16505 lt_compiler_flag="-o out/conftest2.$ac_objext"
16506 # Insert the option either (1) after the last *FLAGS variable, or
16507 # (2) before a word containing "conftest.", or (3) at the end.
16508 # Note that $ac_compile itself does not contain backslashes and begins
16509 # with a dollar sign (not a hyphen), so the echo should work correctly.
16510 lt_compile=`echo "$ac_compile" | $SED \
16511 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16512 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16513 -e 's:$: $lt_compiler_flag:'`
16514 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16515 (eval "$lt_compile" 2>out/conftest.err)
16516 ac_status=$?
16517 cat out/conftest.err >&5
16518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16519 if (exit $ac_status) && test -s out/conftest2.$ac_objext
16520 then
16521 # The compiler can only warn and ignore the option if not recognized
16522 # So say no if there are warnings
16523 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16524 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16525 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16526 lt_cv_prog_compiler_c_o_CXX=yes
16527 fi
16528 fi
16529 chmod u+w . 2>&5
16530 $RM conftest*
16531 # SGI C++ compiler will create directory out/ii_files/ for
16532 # template instantiation
16533 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16534 $RM out/* && rmdir out
16535 cd ..
16536 $RM -r conftest
16537 $RM conftest*
16538
16539 fi
16540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16541 printf "%s\n" "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16542
16543
16544
16545
16546 hard_links=nottested
16547 if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
16548 # do not overwrite the value of need_locks provided by the user
16549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
16550 printf %s "checking if we can lock with hard links... " >&6; }
16551 hard_links=yes
16552 $RM conftest*
16553 ln conftest.a conftest.b 2>/dev/null && hard_links=no
16554 touch conftest.a
16555 ln conftest.a conftest.b 2>&5 || hard_links=no
16556 ln conftest.a conftest.b 2>/dev/null && hard_links=no
16557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
16558 printf "%s\n" "$hard_links" >&6; }
16559 if test no = "$hard_links"; then
16560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
16561 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
16562 need_locks=warn
16563 fi
16564 else
16565 need_locks=no
16566 fi
16567
16568
16569
16570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16571 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16572
16573 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16574 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16575 case $host_os in
16576 aix[4-9]*)
16577 # If we're using GNU nm, then we don't want the "-C" option.
16578 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
16579 # Without the "-l" option, or with the "-B" option, AIX nm treats
16580 # weak defined symbols like other global defined symbols, whereas
16581 # GNU nm marks them as "W".
16582 # While the 'weak' keyword is ignored in the Export File, we need
16583 # it in the Import File for the 'aix-soname' feature, so we have
16584 # to replace the "-B" option with "-P" for AIX nm.
16585 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
16586 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
16587 else
16588 export_symbols_cmds_CXX='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
16589 fi
16590 ;;
16591 pw32*)
16592 export_symbols_cmds_CXX=$ltdll_cmds
16593 ;;
16594 cygwin* | mingw* | cegcc*)
16595 case $cc_basename in
16596 cl* | icl*)
16597 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
16598 ;;
16599 *)
16600 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
16601 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
16602 ;;
16603 esac
16604 ;;
16605 linux* | k*bsd*-gnu | gnu*)
16606 link_all_deplibs_CXX=no
16607 ;;
16608 *)
16609 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16610 ;;
16611 esac
16612
16613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16614 printf "%s\n" "$ld_shlibs_CXX" >&6; }
16615 test no = "$ld_shlibs_CXX" && can_build_shared=no
16616
16617 with_gnu_ld_CXX=$with_gnu_ld
16618
16619
16620
16621
16622
16623
16624 #
16625 # Do we need to explicitly link libc?
16626 #
16627 case "x$archive_cmds_need_lc_CXX" in
16628 x|xyes)
16629 # Assume -lc should be added
16630 archive_cmds_need_lc_CXX=yes
16631
16632 if test yes,yes = "$GCC,$enable_shared"; then
16633 case $archive_cmds_CXX in
16634 *'~'*)
16635 # FIXME: we may have to deal with multi-command sequences.
16636 ;;
16637 '$CC '*)
16638 # Test whether the compiler implicitly links with -lc since on some
16639 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16640 # to ld, don't add -lc before -lgcc.
16641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
16642 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
16643 if test ${lt_cv_archive_cmds_need_lc_CXX+y}
16644 then :
16645 printf %s "(cached) " >&6
16646 else $as_nop
16647 $RM conftest*
16648 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16649
16650 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16651 (eval $ac_compile) 2>&5
16652 ac_status=$?
16653 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16654 test $ac_status = 0; } 2>conftest.err; then
16655 soname=conftest
16656 lib=conftest
16657 libobjs=conftest.$ac_objext
16658 deplibs=
16659 wl=$lt_prog_compiler_wl_CXX
16660 pic_flag=$lt_prog_compiler_pic_CXX
16661 compiler_flags=-v
16662 linker_flags=-v
16663 verstring=
16664 output_objdir=.
16665 libname=conftest
16666 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
16667 allow_undefined_flag_CXX=
16668 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
16669 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
16670 ac_status=$?
16671 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16672 test $ac_status = 0; }
16673 then
16674 lt_cv_archive_cmds_need_lc_CXX=no
16675 else
16676 lt_cv_archive_cmds_need_lc_CXX=yes
16677 fi
16678 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
16679 else
16680 cat conftest.err 1>&5
16681 fi
16682 $RM conftest*
16683
16684 fi
16685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
16686 printf "%s\n" "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
16687 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
16688 ;;
16689 esac
16690 fi
16691 ;;
16692 esac
16693
16694
16695
16696
16697
16698
16699
16700
16701
16702
16703
16704
16705
16706
16707
16708
16709
16710
16711
16712
16713
16714
16715
16716
16717
16718
16719
16720
16721
16722
16723
16724
16725
16726
16727
16728
16729
16730
16731
16732
16733
16734
16735
16736
16737
16738
16739
16740
16741
16742
16743
16744
16745
16746
16747
16748
16749
16750
16751
16752
16753
16754
16755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
16756 printf %s "checking dynamic linker characteristics... " >&6; }
16757
16758 library_names_spec=
16759 libname_spec='lib$name'
16760 soname_spec=
16761 shrext_cmds=.so
16762 postinstall_cmds=
16763 postuninstall_cmds=
16764 finish_cmds=
16765 finish_eval=
16766 shlibpath_var=
16767 shlibpath_overrides_runpath=unknown
16768 version_type=none
16769 dynamic_linker="$host_os ld.so"
16770 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16771 need_lib_prefix=unknown
16772 hardcode_into_libs=no
16773
16774 # when you set need_version to no, make sure it does not cause -set_version
16775 # flags to be left without arguments
16776 need_version=unknown
16777
16778
16779
16780 case $host_os in
16781 aix3*)
16782 version_type=linux # correct to gnu/linux during the next big refactor
16783 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
16784 shlibpath_var=LIBPATH
16785
16786 # AIX 3 has no versioning support, so we append a major version to the name.
16787 soname_spec='$libname$release$shared_ext$major'
16788 ;;
16789
16790 aix[4-9]*)
16791 version_type=linux # correct to gnu/linux during the next big refactor
16792 need_lib_prefix=no
16793 need_version=no
16794 hardcode_into_libs=yes
16795 if test ia64 = "$host_cpu"; then
16796 # AIX 5 supports IA64
16797 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
16798 shlibpath_var=LD_LIBRARY_PATH
16799 else
16800 # With GCC up to 2.95.x, collect2 would create an import file
16801 # for dependence libraries. The import file would start with
16802 # the line '#! .'. This would cause the generated library to
16803 # depend on '.', always an invalid library. This was fixed in
16804 # development snapshots of GCC prior to 3.0.
16805 case $host_os in
16806 aix4 | aix4.[01] | aix4.[01].*)
16807 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16808 echo ' yes '
16809 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
16810 :
16811 else
16812 can_build_shared=no
16813 fi
16814 ;;
16815 esac
16816 # Using Import Files as archive members, it is possible to support
16817 # filename-based versioning of shared library archives on AIX. While
16818 # this would work for both with and without runtime linking, it will
16819 # prevent static linking of such archives. So we do filename-based
16820 # shared library versioning with .so extension only, which is used
16821 # when both runtime linking and shared linking is enabled.
16822 # Unfortunately, runtime linking may impact performance, so we do
16823 # not want this to be the default eventually. Also, we use the
16824 # versioned .so libs for executables only if there is the -brtl
16825 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
16826 # To allow for filename-based versioning support, we need to create
16827 # libNAME.so.V as an archive file, containing:
16828 # *) an Import File, referring to the versioned filename of the
16829 # archive as well as the shared archive member, telling the
16830 # bitwidth (32 or 64) of that shared object, and providing the
16831 # list of exported symbols of that shared object, eventually
16832 # decorated with the 'weak' keyword
16833 # *) the shared object with the F_LOADONLY flag set, to really avoid
16834 # it being seen by the linker.
16835 # At run time we better use the real file rather than another symlink,
16836 # but for link time we create the symlink libNAME.so -> libNAME.so.V
16837
16838 case $with_aix_soname,$aix_use_runtimelinking in
16839 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
16840 # soname into executable. Probably we can add versioning support to
16841 # collect2, so additional links can be useful in future.
16842 aix,yes) # traditional libtool
16843 dynamic_linker='AIX unversionable lib.so'
16844 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16845 # instead of lib<name>.a to let people know that these are not
16846 # typical AIX shared libraries.
16847 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16848 ;;
16849 aix,no) # traditional AIX only
16850 dynamic_linker='AIX lib.a(lib.so.V)'
16851 # We preserve .a as extension for shared libraries through AIX4.2
16852 # and later when we are not doing run time linking.
16853 library_names_spec='$libname$release.a $libname.a'
16854 soname_spec='$libname$release$shared_ext$major'
16855 ;;
16856 svr4,*) # full svr4 only
16857 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
16858 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
16859 # We do not specify a path in Import Files, so LIBPATH fires.
16860 shlibpath_overrides_runpath=yes
16861 ;;
16862 *,yes) # both, prefer svr4
16863 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
16864 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
16865 # unpreferred sharedlib libNAME.a needs extra handling
16866 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
16867 postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
16868 # We do not specify a path in Import Files, so LIBPATH fires.
16869 shlibpath_overrides_runpath=yes
16870 ;;
16871 *,no) # both, prefer aix
16872 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
16873 library_names_spec='$libname$release.a $libname.a'
16874 soname_spec='$libname$release$shared_ext$major'
16875 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
16876 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
16877 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
16878 ;;
16879 esac
16880 shlibpath_var=LIBPATH
16881 fi
16882 ;;
16883
16884 amigaos*)
16885 case $host_cpu in
16886 powerpc)
16887 # Since July 2007 AmigaOS4 officially supports .so libraries.
16888 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
16889 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16890 ;;
16891 m68k)
16892 library_names_spec='$libname.ixlibrary $libname.a'
16893 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16894 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
16895 ;;
16896 esac
16897 ;;
16898
16899 beos*)
16900 library_names_spec='$libname$shared_ext'
16901 dynamic_linker="$host_os ld.so"
16902 shlibpath_var=LIBRARY_PATH
16903 ;;
16904
16905 bsdi[45]*)
16906 version_type=linux # correct to gnu/linux during the next big refactor
16907 need_version=no
16908 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16909 soname_spec='$libname$release$shared_ext$major'
16910 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16911 shlibpath_var=LD_LIBRARY_PATH
16912 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16913 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16914 # the default ld.so.conf also contains /usr/contrib/lib and
16915 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16916 # libtool to hard-code these into programs
16917 ;;
16918
16919 cygwin* | mingw* | pw32* | cegcc*)
16920 version_type=windows
16921 shrext_cmds=.dll
16922 need_version=no
16923 need_lib_prefix=no
16924
16925 case $GCC,$cc_basename in
16926 yes,*)
16927 # gcc
16928 library_names_spec='$libname.dll.a'
16929 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16930 postinstall_cmds='base_file=`basename \$file`~
16931 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
16932 dldir=$destdir/`dirname \$dlpath`~
16933 test -d \$dldir || mkdir -p \$dldir~
16934 $install_prog $dir/$dlname \$dldir/$dlname~
16935 chmod a+x \$dldir/$dlname~
16936 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16937 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16938 fi'
16939 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16940 dlpath=$dir/\$dldll~
16941 $RM \$dlpath'
16942 shlibpath_overrides_runpath=yes
16943
16944 case $host_os in
16945 cygwin*)
16946 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16947 soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16948
16949 ;;
16950 mingw* | cegcc*)
16951 # MinGW DLLs use traditional 'lib' prefix
16952 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16953 ;;
16954 pw32*)
16955 # pw32 DLLs use 'pw' prefix rather than 'lib'
16956 library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16957 ;;
16958 esac
16959 dynamic_linker='Win32 ld.exe'
16960 ;;
16961
16962 *,cl* | *,icl*)
16963 # Native MSVC or ICC
16964 libname_spec='$name'
16965 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16966 library_names_spec='$libname.dll.lib'
16967
16968 case $build_os in
16969 mingw*)
16970 sys_lib_search_path_spec=
16971 lt_save_ifs=$IFS
16972 IFS=';'
16973 for lt_path in $LIB
16974 do
16975 IFS=$lt_save_ifs
16976 # Let DOS variable expansion print the short 8.3 style file name.
16977 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
16978 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
16979 done
16980 IFS=$lt_save_ifs
16981 # Convert to MSYS style.
16982 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
16983 ;;
16984 cygwin*)
16985 # Convert to unix form, then to dos form, then back to unix form
16986 # but this time dos style (no spaces!) so that the unix form looks
16987 # like /cygdrive/c/PROGRA~1:/cygdr...
16988 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
16989 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
16990 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16991 ;;
16992 *)
16993 sys_lib_search_path_spec=$LIB
16994 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
16995 # It is most probably a Windows format PATH.
16996 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16997 else
16998 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16999 fi
17000 # FIXME: find the short name or the path components, as spaces are
17001 # common. (e.g. "Program Files" -> "PROGRA~1")
17002 ;;
17003 esac
17004
17005 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17006 postinstall_cmds='base_file=`basename \$file`~
17007 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
17008 dldir=$destdir/`dirname \$dlpath`~
17009 test -d \$dldir || mkdir -p \$dldir~
17010 $install_prog $dir/$dlname \$dldir/$dlname'
17011 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17012 dlpath=$dir/\$dldll~
17013 $RM \$dlpath'
17014 shlibpath_overrides_runpath=yes
17015 dynamic_linker='Win32 link.exe'
17016 ;;
17017
17018 *)
17019 # Assume MSVC and ICC wrapper
17020 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
17021 dynamic_linker='Win32 ld.exe'
17022 ;;
17023 esac
17024 # FIXME: first we should search . and the directory the executable is in
17025 shlibpath_var=PATH
17026 ;;
17027
17028 darwin* | rhapsody*)
17029 dynamic_linker="$host_os dyld"
17030 version_type=darwin
17031 need_lib_prefix=no
17032 need_version=no
17033 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
17034 soname_spec='$libname$release$major$shared_ext'
17035 shlibpath_overrides_runpath=yes
17036 shlibpath_var=DYLD_LIBRARY_PATH
17037 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17038
17039 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17040 ;;
17041
17042 dgux*)
17043 version_type=linux # correct to gnu/linux during the next big refactor
17044 need_lib_prefix=no
17045 need_version=no
17046 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17047 soname_spec='$libname$release$shared_ext$major'
17048 shlibpath_var=LD_LIBRARY_PATH
17049 ;;
17050
17051 freebsd* | dragonfly* | midnightbsd*)
17052 # DragonFly does not have aout. When/if they implement a new
17053 # versioning mechanism, adjust this.
17054 if test -x /usr/bin/objformat; then
17055 objformat=`/usr/bin/objformat`
17056 else
17057 case $host_os in
17058 freebsd[23].*) objformat=aout ;;
17059 *) objformat=elf ;;
17060 esac
17061 fi
17062 version_type=freebsd-$objformat
17063 case $version_type in
17064 freebsd-elf*)
17065 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17066 soname_spec='$libname$release$shared_ext$major'
17067 need_version=no
17068 need_lib_prefix=no
17069 ;;
17070 freebsd-*)
17071 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17072 need_version=yes
17073 ;;
17074 esac
17075 shlibpath_var=LD_LIBRARY_PATH
17076 case $host_os in
17077 freebsd2.*)
17078 shlibpath_overrides_runpath=yes
17079 ;;
17080 freebsd3.[01]* | freebsdelf3.[01]*)
17081 shlibpath_overrides_runpath=yes
17082 hardcode_into_libs=yes
17083 ;;
17084 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
17085 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
17086 shlibpath_overrides_runpath=no
17087 hardcode_into_libs=yes
17088 ;;
17089 *) # from 4.6 on, and DragonFly
17090 shlibpath_overrides_runpath=yes
17091 hardcode_into_libs=yes
17092 ;;
17093 esac
17094 ;;
17095
17096 haiku*)
17097 version_type=linux # correct to gnu/linux during the next big refactor
17098 need_lib_prefix=no
17099 need_version=no
17100 dynamic_linker="$host_os runtime_loader"
17101 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17102 soname_spec='$libname$release$shared_ext$major'
17103 shlibpath_var=LIBRARY_PATH
17104 shlibpath_overrides_runpath=no
17105 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
17106 hardcode_into_libs=yes
17107 ;;
17108
17109 hpux9* | hpux10* | hpux11*)
17110 # Give a soname corresponding to the major version so that dld.sl refuses to
17111 # link against other versions.
17112 version_type=sunos
17113 need_lib_prefix=no
17114 need_version=no
17115 case $host_cpu in
17116 ia64*)
17117 shrext_cmds='.so'
17118 hardcode_into_libs=yes
17119 dynamic_linker="$host_os dld.so"
17120 shlibpath_var=LD_LIBRARY_PATH
17121 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17122 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17123 soname_spec='$libname$release$shared_ext$major'
17124 if test 32 = "$HPUX_IA64_MODE"; then
17125 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17126 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
17127 else
17128 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
17129 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
17130 fi
17131 ;;
17132 hppa*64*)
17133 shrext_cmds='.sl'
17134 hardcode_into_libs=yes
17135 dynamic_linker="$host_os dld.sl"
17136 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
17137 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17138 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17139 soname_spec='$libname$release$shared_ext$major'
17140 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17141 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17142 ;;
17143 *)
17144 shrext_cmds='.sl'
17145 dynamic_linker="$host_os dld.sl"
17146 shlibpath_var=SHLIB_PATH
17147 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
17148 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17149 soname_spec='$libname$release$shared_ext$major'
17150 ;;
17151 esac
17152 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
17153 postinstall_cmds='chmod 555 $lib'
17154 # or fails outright, so override atomically:
17155 install_override_mode=555
17156 ;;
17157
17158 interix[3-9]*)
17159 version_type=linux # correct to gnu/linux during the next big refactor
17160 need_lib_prefix=no
17161 need_version=no
17162 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17163 soname_spec='$libname$release$shared_ext$major'
17164 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
17165 shlibpath_var=LD_LIBRARY_PATH
17166 shlibpath_overrides_runpath=no
17167 hardcode_into_libs=yes
17168 ;;
17169
17170 irix5* | irix6* | nonstopux*)
17171 case $host_os in
17172 nonstopux*) version_type=nonstopux ;;
17173 *)
17174 if test yes = "$lt_cv_prog_gnu_ld"; then
17175 version_type=linux # correct to gnu/linux during the next big refactor
17176 else
17177 version_type=irix
17178 fi ;;
17179 esac
17180 need_lib_prefix=no
17181 need_version=no
17182 soname_spec='$libname$release$shared_ext$major'
17183 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
17184 case $host_os in
17185 irix5* | nonstopux*)
17186 libsuff= shlibsuff=
17187 ;;
17188 *)
17189 case $LD in # libtool.m4 will add one of these switches to LD
17190 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
17191 libsuff= shlibsuff= libmagic=32-bit;;
17192 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
17193 libsuff=32 shlibsuff=N32 libmagic=N32;;
17194 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
17195 libsuff=64 shlibsuff=64 libmagic=64-bit;;
17196 *) libsuff= shlibsuff= libmagic=never-match;;
17197 esac
17198 ;;
17199 esac
17200 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
17201 shlibpath_overrides_runpath=no
17202 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
17203 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
17204 hardcode_into_libs=yes
17205 ;;
17206
17207 # No shared lib support for Linux oldld, aout, or coff.
17208 linux*oldld* | linux*aout* | linux*coff*)
17209 dynamic_linker=no
17210 ;;
17211
17212 linux*android*)
17213 version_type=none # Android doesn't support versioned libraries.
17214 need_lib_prefix=no
17215 need_version=no
17216 library_names_spec='$libname$release$shared_ext'
17217 soname_spec='$libname$release$shared_ext'
17218 finish_cmds=
17219 shlibpath_var=LD_LIBRARY_PATH
17220 shlibpath_overrides_runpath=yes
17221
17222 # This implies no fast_install, which is unacceptable.
17223 # Some rework will be needed to allow for fast_install
17224 # before this can be enabled.
17225 hardcode_into_libs=yes
17226
17227 dynamic_linker='Android linker'
17228 # Don't embed -rpath directories since the linker doesn't support them.
17229 hardcode_libdir_flag_spec_CXX='-L$libdir'
17230 ;;
17231
17232 # This must be glibc/ELF.
17233 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
17234 version_type=linux # correct to gnu/linux during the next big refactor
17235 need_lib_prefix=no
17236 need_version=no
17237 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17238 soname_spec='$libname$release$shared_ext$major'
17239 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17240 shlibpath_var=LD_LIBRARY_PATH
17241 shlibpath_overrides_runpath=no
17242
17243 # Some binutils ld are patched to set DT_RUNPATH
17244 if test ${lt_cv_shlibpath_overrides_runpath+y}
17245 then :
17246 printf %s "(cached) " >&6
17247 else $as_nop
17248 lt_cv_shlibpath_overrides_runpath=no
17249 save_LDFLAGS=$LDFLAGS
17250 save_libdir=$libdir
17251 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
17252 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
17253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17254 /* end confdefs.h. */
17255
17256 int
17257 main (void)
17258 {
17259
17260 ;
17261 return 0;
17262 }
17263 _ACEOF
17264 if ac_fn_cxx_try_link "$LINENO"
17265 then :
17266 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
17267 then :
17268 lt_cv_shlibpath_overrides_runpath=yes
17269 fi
17270 fi
17271 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17272 conftest$ac_exeext conftest.$ac_ext
17273 LDFLAGS=$save_LDFLAGS
17274 libdir=$save_libdir
17275
17276 fi
17277
17278 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
17279
17280 # This implies no fast_install, which is unacceptable.
17281 # Some rework will be needed to allow for fast_install
17282 # before this can be enabled.
17283 hardcode_into_libs=yes
17284
17285 # Ideally, we could use ldconfig to report *all* directores which are
17286 # searched for libraries, however this is still not possible. Aside from not
17287 # being certain /sbin/ldconfig is available, command
17288 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
17289 # even though it is searched at run-time. Try to do the best guess by
17290 # appending ld.so.conf contents (and includes) to the search path.
17291 if test -f /etc/ld.so.conf; then
17292 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
17293 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
17294 fi
17295
17296 # We used to test for /lib/ld.so.1 and disable shared libraries on
17297 # powerpc, because MkLinux only supported shared libraries with the
17298 # GNU dynamic linker. Since this was broken with cross compilers,
17299 # most powerpc-linux boxes support dynamic linking these days and
17300 # people can always --disable-shared, the test was removed, and we
17301 # assume the GNU/Linux dynamic linker is in use.
17302 dynamic_linker='GNU/Linux ld.so'
17303 ;;
17304
17305 netbsdelf*-gnu)
17306 version_type=linux
17307 need_lib_prefix=no
17308 need_version=no
17309 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17310 soname_spec='${libname}${release}${shared_ext}$major'
17311 shlibpath_var=LD_LIBRARY_PATH
17312 shlibpath_overrides_runpath=no
17313 hardcode_into_libs=yes
17314 dynamic_linker='NetBSD ld.elf_so'
17315 ;;
17316
17317 netbsd*)
17318 version_type=sunos
17319 need_lib_prefix=no
17320 need_version=no
17321 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
17322 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17323 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17324 dynamic_linker='NetBSD (a.out) ld.so'
17325 else
17326 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17327 soname_spec='$libname$release$shared_ext$major'
17328 dynamic_linker='NetBSD ld.elf_so'
17329 fi
17330 shlibpath_var=LD_LIBRARY_PATH
17331 shlibpath_overrides_runpath=yes
17332 hardcode_into_libs=yes
17333 ;;
17334
17335 newsos6)
17336 version_type=linux # correct to gnu/linux during the next big refactor
17337 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17338 shlibpath_var=LD_LIBRARY_PATH
17339 shlibpath_overrides_runpath=yes
17340 ;;
17341
17342 *nto* | *qnx*)
17343 version_type=qnx
17344 need_lib_prefix=no
17345 need_version=no
17346 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17347 soname_spec='$libname$release$shared_ext$major'
17348 shlibpath_var=LD_LIBRARY_PATH
17349 shlibpath_overrides_runpath=no
17350 hardcode_into_libs=yes
17351 dynamic_linker='ldqnx.so'
17352 ;;
17353
17354 openbsd* | bitrig*)
17355 version_type=sunos
17356 sys_lib_dlsearch_path_spec=/usr/lib
17357 need_lib_prefix=no
17358 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
17359 need_version=no
17360 else
17361 need_version=yes
17362 fi
17363 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17364 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17365 shlibpath_var=LD_LIBRARY_PATH
17366 shlibpath_overrides_runpath=yes
17367 ;;
17368
17369 os2*)
17370 libname_spec='$name'
17371 version_type=windows
17372 shrext_cmds=.dll
17373 need_version=no
17374 need_lib_prefix=no
17375 # OS/2 can only load a DLL with a base name of 8 characters or less.
17376 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
17377 v=$($ECHO $release$versuffix | tr -d .-);
17378 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
17379 $ECHO $n$v`$shared_ext'
17380 library_names_spec='${libname}_dll.$libext'
17381 dynamic_linker='OS/2 ld.exe'
17382 shlibpath_var=BEGINLIBPATH
17383 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
17384 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17385 postinstall_cmds='base_file=`basename \$file`~
17386 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
17387 dldir=$destdir/`dirname \$dlpath`~
17388 test -d \$dldir || mkdir -p \$dldir~
17389 $install_prog $dir/$dlname \$dldir/$dlname~
17390 chmod a+x \$dldir/$dlname~
17391 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17392 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17393 fi'
17394 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
17395 dlpath=$dir/\$dldll~
17396 $RM \$dlpath'
17397 ;;
17398
17399 osf3* | osf4* | osf5*)
17400 version_type=osf
17401 need_lib_prefix=no
17402 need_version=no
17403 soname_spec='$libname$release$shared_ext$major'
17404 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17405 shlibpath_var=LD_LIBRARY_PATH
17406 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17407 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17408 ;;
17409
17410 rdos*)
17411 dynamic_linker=no
17412 ;;
17413
17414 solaris*)
17415 version_type=linux # correct to gnu/linux during the next big refactor
17416 need_lib_prefix=no
17417 need_version=no
17418 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17419 soname_spec='$libname$release$shared_ext$major'
17420 shlibpath_var=LD_LIBRARY_PATH
17421 shlibpath_overrides_runpath=yes
17422 hardcode_into_libs=yes
17423 # ldd complains unless libraries are executable
17424 postinstall_cmds='chmod +x $lib'
17425 ;;
17426
17427 sunos4*)
17428 version_type=sunos
17429 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17430 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17431 shlibpath_var=LD_LIBRARY_PATH
17432 shlibpath_overrides_runpath=yes
17433 if test yes = "$with_gnu_ld"; then
17434 need_lib_prefix=no
17435 fi
17436 need_version=yes
17437 ;;
17438
17439 sysv4 | sysv4.3*)
17440 version_type=linux # correct to gnu/linux during the next big refactor
17441 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17442 soname_spec='$libname$release$shared_ext$major'
17443 shlibpath_var=LD_LIBRARY_PATH
17444 case $host_vendor in
17445 sni)
17446 shlibpath_overrides_runpath=no
17447 need_lib_prefix=no
17448 runpath_var=LD_RUN_PATH
17449 ;;
17450 siemens)
17451 need_lib_prefix=no
17452 ;;
17453 motorola)
17454 need_lib_prefix=no
17455 need_version=no
17456 shlibpath_overrides_runpath=no
17457 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17458 ;;
17459 esac
17460 ;;
17461
17462 sysv4*MP*)
17463 if test -d /usr/nec; then
17464 version_type=linux # correct to gnu/linux during the next big refactor
17465 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
17466 soname_spec='$libname$shared_ext.$major'
17467 shlibpath_var=LD_LIBRARY_PATH
17468 fi
17469 ;;
17470
17471 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17472 version_type=sco
17473 need_lib_prefix=no
17474 need_version=no
17475 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
17476 soname_spec='$libname$release$shared_ext$major'
17477 shlibpath_var=LD_LIBRARY_PATH
17478 shlibpath_overrides_runpath=yes
17479 hardcode_into_libs=yes
17480 if test yes = "$with_gnu_ld"; then
17481 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17482 else
17483 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17484 case $host_os in
17485 sco3.2v5*)
17486 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17487 ;;
17488 esac
17489 fi
17490 sys_lib_dlsearch_path_spec='/usr/lib'
17491 ;;
17492
17493 tpf*)
17494 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
17495 version_type=linux # correct to gnu/linux during the next big refactor
17496 need_lib_prefix=no
17497 need_version=no
17498 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17499 shlibpath_var=LD_LIBRARY_PATH
17500 shlibpath_overrides_runpath=no
17501 hardcode_into_libs=yes
17502 ;;
17503
17504 uts4*)
17505 version_type=linux # correct to gnu/linux during the next big refactor
17506 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17507 soname_spec='$libname$release$shared_ext$major'
17508 shlibpath_var=LD_LIBRARY_PATH
17509 ;;
17510
17511 *)
17512 dynamic_linker=no
17513 ;;
17514 esac
17515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
17516 printf "%s\n" "$dynamic_linker" >&6; }
17517 test no = "$dynamic_linker" && can_build_shared=no
17518
17519 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17520 if test yes = "$GCC"; then
17521 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17522 fi
17523
17524 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
17525 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
17526 fi
17527
17528 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
17529 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
17530 fi
17531
17532 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
17533 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
17534
17535 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
17536 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
17537
17538 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
17539 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
17540
17541
17542
17543
17544
17545
17546
17547
17548
17549
17550
17551
17552
17553
17554
17555
17556
17557
17558
17559
17560
17561
17562
17563
17564
17565
17566
17567
17568
17569
17570
17571
17572
17573
17574
17575
17576
17577
17578
17579
17580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
17581 printf %s "checking how to hardcode library paths into programs... " >&6; }
17582 hardcode_action_CXX=
17583 if test -n "$hardcode_libdir_flag_spec_CXX" ||
17584 test -n "$runpath_var_CXX" ||
17585 test yes = "$hardcode_automatic_CXX"; then
17586
17587 # We can hardcode non-existent directories.
17588 if test no != "$hardcode_direct_CXX" &&
17589 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17590 # have to relink, otherwise we might link with an installed library
17591 # when we should be linking with a yet-to-be-installed one
17592 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
17593 test no != "$hardcode_minus_L_CXX"; then
17594 # Linking always hardcodes the temporary library directory.
17595 hardcode_action_CXX=relink
17596 else
17597 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17598 hardcode_action_CXX=immediate
17599 fi
17600 else
17601 # We cannot hardcode anything, or else we can only hardcode existing
17602 # directories.
17603 hardcode_action_CXX=unsupported
17604 fi
17605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
17606 printf "%s\n" "$hardcode_action_CXX" >&6; }
17607
17608 if test relink = "$hardcode_action_CXX" ||
17609 test yes = "$inherit_rpath_CXX"; then
17610 # Fast installation is not supported
17611 enable_fast_install=no
17612 elif test yes = "$shlibpath_overrides_runpath" ||
17613 test no = "$enable_shared"; then
17614 # Fast installation is not necessary
17615 enable_fast_install=needless
17616 fi
17617
17618
17619
17620
17621
17622
17623
17624 fi # test -n "$compiler"
17625
17626 CC=$lt_save_CC
17627 CFLAGS=$lt_save_CFLAGS
17628 LDCXX=$LD
17629 LD=$lt_save_LD
17630 GCC=$lt_save_GCC
17631 with_gnu_ld=$lt_save_with_gnu_ld
17632 lt_cv_path_LDCXX=$lt_cv_path_LD
17633 lt_cv_path_LD=$lt_save_path_LD
17634 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
17635 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
17636 fi # test yes != "$_lt_caught_CXX_error"
17637
17638 ac_ext=c
17639 ac_cpp='$CPP $CPPFLAGS'
17640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17643
17644
17645 ac_ext=c
17646 ac_cpp='$CPP $CPPFLAGS'
17647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
17651 printf %s "checking how to run the C preprocessor... " >&6; }
17652 # On Suns, sometimes $CPP names a directory.
17653 if test -n "$CPP" && test -d "$CPP"; then
17654 CPP=
17655 fi
17656 if test -z "$CPP"; then
17657 if test ${ac_cv_prog_CPP+y}
17658 then :
17659 printf %s "(cached) " >&6
17660 else $as_nop
17661 # Double quotes because $CC needs to be expanded
17662 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
17663 do
17664 ac_preproc_ok=false
17665 for ac_c_preproc_warn_flag in '' yes
17666 do
17667 # Use a header file that comes with gcc, so configuring glibc
17668 # with a fresh cross-compiler works.
17669 # On the NeXT, cc -E runs the code through the compiler's parser,
17670 # not just through cpp. "Syntax error" is here to catch this case.
17671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17672 /* end confdefs.h. */
17673 #include <limits.h>
17674 Syntax error
17675 _ACEOF
17676 if ac_fn_c_try_cpp "$LINENO"
17677 then :
17678
17679 else $as_nop
17680 # Broken: fails on valid input.
17681 continue
17682 fi
17683 rm -f conftest.err conftest.i conftest.$ac_ext
17684
17685 # OK, works on sane cases. Now check whether nonexistent headers
17686 # can be detected and how.
17687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17688 /* end confdefs.h. */
17689 #include <ac_nonexistent.h>
17690 _ACEOF
17691 if ac_fn_c_try_cpp "$LINENO"
17692 then :
17693 # Broken: success on invalid input.
17694 continue
17695 else $as_nop
17696 # Passes both tests.
17697 ac_preproc_ok=:
17698 break
17699 fi
17700 rm -f conftest.err conftest.i conftest.$ac_ext
17701
17702 done
17703 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17704 rm -f conftest.i conftest.err conftest.$ac_ext
17705 if $ac_preproc_ok
17706 then :
17707 break
17708 fi
17709
17710 done
17711 ac_cv_prog_CPP=$CPP
17712
17713 fi
17714 CPP=$ac_cv_prog_CPP
17715 else
17716 ac_cv_prog_CPP=$CPP
17717 fi
17718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
17719 printf "%s\n" "$CPP" >&6; }
17720 ac_preproc_ok=false
17721 for ac_c_preproc_warn_flag in '' yes
17722 do
17723 # Use a header file that comes with gcc, so configuring glibc
17724 # with a fresh cross-compiler works.
17725 # On the NeXT, cc -E runs the code through the compiler's parser,
17726 # not just through cpp. "Syntax error" is here to catch this case.
17727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17728 /* end confdefs.h. */
17729 #include <limits.h>
17730 Syntax error
17731 _ACEOF
17732 if ac_fn_c_try_cpp "$LINENO"
17733 then :
17734
17735 else $as_nop
17736 # Broken: fails on valid input.
17737 continue
17738 fi
17739 rm -f conftest.err conftest.i conftest.$ac_ext
17740
17741 # OK, works on sane cases. Now check whether nonexistent headers
17742 # can be detected and how.
17743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17744 /* end confdefs.h. */
17745 #include <ac_nonexistent.h>
17746 _ACEOF
17747 if ac_fn_c_try_cpp "$LINENO"
17748 then :
17749 # Broken: success on invalid input.
17750 continue
17751 else $as_nop
17752 # Passes both tests.
17753 ac_preproc_ok=:
17754 break
17755 fi
17756 rm -f conftest.err conftest.i conftest.$ac_ext
17757
17758 done
17759 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17760 rm -f conftest.i conftest.err conftest.$ac_ext
17761 if $ac_preproc_ok
17762 then :
17763
17764 else $as_nop
17765 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17766 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
17767 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
17768 See \`config.log' for more details" "$LINENO" 5; }
17769 fi
17770
17771 ac_ext=c
17772 ac_cpp='$CPP $CPPFLAGS'
17773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17776
17777 ac_ext=c
17778 ac_cpp='$CPP $CPPFLAGS'
17779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17782 if test -n "$ac_tool_prefix"; then
17783 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
17784 set dummy ${ac_tool_prefix}gcc; ac_word=$2
17785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17786 printf %s "checking for $ac_word... " >&6; }
17787 if test ${ac_cv_prog_CC+y}
17788 then :
17789 printf %s "(cached) " >&6
17790 else $as_nop
17791 if test -n "$CC"; then
17792 ac_cv_prog_CC="$CC" # Let the user override the test.
17793 else
17794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17795 for as_dir in $PATH
17796 do
17797 IFS=$as_save_IFS
17798 case $as_dir in #(((
17799 '') as_dir=./ ;;
17800 */) ;;
17801 *) as_dir=$as_dir/ ;;
17802 esac
17803 for ac_exec_ext in '' $ac_executable_extensions; do
17804 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
17805 ac_cv_prog_CC="${ac_tool_prefix}gcc"
17806 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
17807 break 2
17808 fi
17809 done
17810 done
17811 IFS=$as_save_IFS
17812
17813 fi
17814 fi
17815 CC=$ac_cv_prog_CC
17816 if test -n "$CC"; then
17817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
17818 printf "%s\n" "$CC" >&6; }
17819 else
17820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17821 printf "%s\n" "no" >&6; }
17822 fi
17823
17824
17825 fi
17826 if test -z "$ac_cv_prog_CC"; then
17827 ac_ct_CC=$CC
17828 # Extract the first word of "gcc", so it can be a program name with args.
17829 set dummy gcc; ac_word=$2
17830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17831 printf %s "checking for $ac_word... " >&6; }
17832 if test ${ac_cv_prog_ac_ct_CC+y}
17833 then :
17834 printf %s "(cached) " >&6
17835 else $as_nop
17836 if test -n "$ac_ct_CC"; then
17837 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
17838 else
17839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17840 for as_dir in $PATH
17841 do
17842 IFS=$as_save_IFS
17843 case $as_dir in #(((
17844 '') as_dir=./ ;;
17845 */) ;;
17846 *) as_dir=$as_dir/ ;;
17847 esac
17848 for ac_exec_ext in '' $ac_executable_extensions; do
17849 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
17850 ac_cv_prog_ac_ct_CC="gcc"
17851 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
17852 break 2
17853 fi
17854 done
17855 done
17856 IFS=$as_save_IFS
17857
17858 fi
17859 fi
17860 ac_ct_CC=$ac_cv_prog_ac_ct_CC
17861 if test -n "$ac_ct_CC"; then
17862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
17863 printf "%s\n" "$ac_ct_CC" >&6; }
17864 else
17865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17866 printf "%s\n" "no" >&6; }
17867 fi
17868
17869 if test "x$ac_ct_CC" = x; then
17870 CC=""
17871 else
17872 case $cross_compiling:$ac_tool_warned in
17873 yes:)
17874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17875 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17876 ac_tool_warned=yes ;;
17877 esac
17878 CC=$ac_ct_CC
17879 fi
17880 else
17881 CC="$ac_cv_prog_CC"
17882 fi
17883
17884 if test -z "$CC"; then
17885 if test -n "$ac_tool_prefix"; then
17886 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
17887 set dummy ${ac_tool_prefix}cc; ac_word=$2
17888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17889 printf %s "checking for $ac_word... " >&6; }
17890 if test ${ac_cv_prog_CC+y}
17891 then :
17892 printf %s "(cached) " >&6
17893 else $as_nop
17894 if test -n "$CC"; then
17895 ac_cv_prog_CC="$CC" # Let the user override the test.
17896 else
17897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17898 for as_dir in $PATH
17899 do
17900 IFS=$as_save_IFS
17901 case $as_dir in #(((
17902 '') as_dir=./ ;;
17903 */) ;;
17904 *) as_dir=$as_dir/ ;;
17905 esac
17906 for ac_exec_ext in '' $ac_executable_extensions; do
17907 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
17908 ac_cv_prog_CC="${ac_tool_prefix}cc"
17909 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
17910 break 2
17911 fi
17912 done
17913 done
17914 IFS=$as_save_IFS
17915
17916 fi
17917 fi
17918 CC=$ac_cv_prog_CC
17919 if test -n "$CC"; then
17920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
17921 printf "%s\n" "$CC" >&6; }
17922 else
17923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17924 printf "%s\n" "no" >&6; }
17925 fi
17926
17927
17928 fi
17929 fi
17930 if test -z "$CC"; then
17931 # Extract the first word of "cc", so it can be a program name with args.
17932 set dummy cc; ac_word=$2
17933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17934 printf %s "checking for $ac_word... " >&6; }
17935 if test ${ac_cv_prog_CC+y}
17936 then :
17937 printf %s "(cached) " >&6
17938 else $as_nop
17939 if test -n "$CC"; then
17940 ac_cv_prog_CC="$CC" # Let the user override the test.
17941 else
17942 ac_prog_rejected=no
17943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17944 for as_dir in $PATH
17945 do
17946 IFS=$as_save_IFS
17947 case $as_dir in #(((
17948 '') as_dir=./ ;;
17949 */) ;;
17950 *) as_dir=$as_dir/ ;;
17951 esac
17952 for ac_exec_ext in '' $ac_executable_extensions; do
17953 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
17954 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
17955 ac_prog_rejected=yes
17956 continue
17957 fi
17958 ac_cv_prog_CC="cc"
17959 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
17960 break 2
17961 fi
17962 done
17963 done
17964 IFS=$as_save_IFS
17965
17966 if test $ac_prog_rejected = yes; then
17967 # We found a bogon in the path, so make sure we never use it.
17968 set dummy $ac_cv_prog_CC
17969 shift
17970 if test $# != 0; then
17971 # We chose a different compiler from the bogus one.
17972 # However, it has the same basename, so the bogon will be chosen
17973 # first if we set CC to just the basename; use the full file name.
17974 shift
17975 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
17976 fi
17977 fi
17978 fi
17979 fi
17980 CC=$ac_cv_prog_CC
17981 if test -n "$CC"; then
17982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
17983 printf "%s\n" "$CC" >&6; }
17984 else
17985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17986 printf "%s\n" "no" >&6; }
17987 fi
17988
17989
17990 fi
17991 if test -z "$CC"; then
17992 if test -n "$ac_tool_prefix"; then
17993 for ac_prog in cl.exe
17994 do
17995 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17996 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17998 printf %s "checking for $ac_word... " >&6; }
17999 if test ${ac_cv_prog_CC+y}
18000 then :
18001 printf %s "(cached) " >&6
18002 else $as_nop
18003 if test -n "$CC"; then
18004 ac_cv_prog_CC="$CC" # Let the user override the test.
18005 else
18006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18007 for as_dir in $PATH
18008 do
18009 IFS=$as_save_IFS
18010 case $as_dir in #(((
18011 '') as_dir=./ ;;
18012 */) ;;
18013 *) as_dir=$as_dir/ ;;
18014 esac
18015 for ac_exec_ext in '' $ac_executable_extensions; do
18016 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
18017 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
18018 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
18019 break 2
18020 fi
18021 done
18022 done
18023 IFS=$as_save_IFS
18024
18025 fi
18026 fi
18027 CC=$ac_cv_prog_CC
18028 if test -n "$CC"; then
18029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
18030 printf "%s\n" "$CC" >&6; }
18031 else
18032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18033 printf "%s\n" "no" >&6; }
18034 fi
18035
18036
18037 test -n "$CC" && break
18038 done
18039 fi
18040 if test -z "$CC"; then
18041 ac_ct_CC=$CC
18042 for ac_prog in cl.exe
18043 do
18044 # Extract the first word of "$ac_prog", so it can be a program name with args.
18045 set dummy $ac_prog; ac_word=$2
18046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18047 printf %s "checking for $ac_word... " >&6; }
18048 if test ${ac_cv_prog_ac_ct_CC+y}
18049 then :
18050 printf %s "(cached) " >&6
18051 else $as_nop
18052 if test -n "$ac_ct_CC"; then
18053 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
18054 else
18055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18056 for as_dir in $PATH
18057 do
18058 IFS=$as_save_IFS
18059 case $as_dir in #(((
18060 '') as_dir=./ ;;
18061 */) ;;
18062 *) as_dir=$as_dir/ ;;
18063 esac
18064 for ac_exec_ext in '' $ac_executable_extensions; do
18065 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
18066 ac_cv_prog_ac_ct_CC="$ac_prog"
18067 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
18068 break 2
18069 fi
18070 done
18071 done
18072 IFS=$as_save_IFS
18073
18074 fi
18075 fi
18076 ac_ct_CC=$ac_cv_prog_ac_ct_CC
18077 if test -n "$ac_ct_CC"; then
18078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
18079 printf "%s\n" "$ac_ct_CC" >&6; }
18080 else
18081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18082 printf "%s\n" "no" >&6; }
18083 fi
18084
18085
18086 test -n "$ac_ct_CC" && break
18087 done
18088
18089 if test "x$ac_ct_CC" = x; then
18090 CC=""
18091 else
18092 case $cross_compiling:$ac_tool_warned in
18093 yes:)
18094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18095 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18096 ac_tool_warned=yes ;;
18097 esac
18098 CC=$ac_ct_CC
18099 fi
18100 fi
18101
18102 fi
18103 if test -z "$CC"; then
18104 if test -n "$ac_tool_prefix"; then
18105 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
18106 set dummy ${ac_tool_prefix}clang; ac_word=$2
18107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18108 printf %s "checking for $ac_word... " >&6; }
18109 if test ${ac_cv_prog_CC+y}
18110 then :
18111 printf %s "(cached) " >&6
18112 else $as_nop
18113 if test -n "$CC"; then
18114 ac_cv_prog_CC="$CC" # Let the user override the test.
18115 else
18116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18117 for as_dir in $PATH
18118 do
18119 IFS=$as_save_IFS
18120 case $as_dir in #(((
18121 '') as_dir=./ ;;
18122 */) ;;
18123 *) as_dir=$as_dir/ ;;
18124 esac
18125 for ac_exec_ext in '' $ac_executable_extensions; do
18126 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
18127 ac_cv_prog_CC="${ac_tool_prefix}clang"
18128 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
18129 break 2
18130 fi
18131 done
18132 done
18133 IFS=$as_save_IFS
18134
18135 fi
18136 fi
18137 CC=$ac_cv_prog_CC
18138 if test -n "$CC"; then
18139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
18140 printf "%s\n" "$CC" >&6; }
18141 else
18142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18143 printf "%s\n" "no" >&6; }
18144 fi
18145
18146
18147 fi
18148 if test -z "$ac_cv_prog_CC"; then
18149 ac_ct_CC=$CC
18150 # Extract the first word of "clang", so it can be a program name with args.
18151 set dummy clang; ac_word=$2
18152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18153 printf %s "checking for $ac_word... " >&6; }
18154 if test ${ac_cv_prog_ac_ct_CC+y}
18155 then :
18156 printf %s "(cached) " >&6
18157 else $as_nop
18158 if test -n "$ac_ct_CC"; then
18159 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
18160 else
18161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18162 for as_dir in $PATH
18163 do
18164 IFS=$as_save_IFS
18165 case $as_dir in #(((
18166 '') as_dir=./ ;;
18167 */) ;;
18168 *) as_dir=$as_dir/ ;;
18169 esac
18170 for ac_exec_ext in '' $ac_executable_extensions; do
18171 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
18172 ac_cv_prog_ac_ct_CC="clang"
18173 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
18174 break 2
18175 fi
18176 done
18177 done
18178 IFS=$as_save_IFS
18179
18180 fi
18181 fi
18182 ac_ct_CC=$ac_cv_prog_ac_ct_CC
18183 if test -n "$ac_ct_CC"; then
18184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
18185 printf "%s\n" "$ac_ct_CC" >&6; }
18186 else
18187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18188 printf "%s\n" "no" >&6; }
18189 fi
18190
18191 if test "x$ac_ct_CC" = x; then
18192 CC=""
18193 else
18194 case $cross_compiling:$ac_tool_warned in
18195 yes:)
18196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18197 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18198 ac_tool_warned=yes ;;
18199 esac
18200 CC=$ac_ct_CC
18201 fi
18202 else
18203 CC="$ac_cv_prog_CC"
18204 fi
18205
18206 fi
18207
18208
18209 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18210 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
18211 as_fn_error $? "no acceptable C compiler found in \$PATH
18212 See \`config.log' for more details" "$LINENO" 5; }
18213
18214 # Provide some information about the compiler.
18215 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
18216 set X $ac_compile
18217 ac_compiler=$2
18218 for ac_option in --version -v -V -qversion -version; do
18219 { { ac_try="$ac_compiler $ac_option >&5"
18220 case "(($ac_try" in
18221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18222 *) ac_try_echo=$ac_try;;
18223 esac
18224 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18225 printf "%s\n" "$ac_try_echo"; } >&5
18226 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
18227 ac_status=$?
18228 if test -s conftest.err; then
18229 sed '10a\
18230 ... rest of stderr output deleted ...
18231 10q' conftest.err >conftest.er1
18232 cat conftest.er1 >&5
18233 fi
18234 rm -f conftest.er1 conftest.err
18235 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18236 test $ac_status = 0; }
18237 done
18238
18239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
18240 printf %s "checking whether the compiler supports GNU C... " >&6; }
18241 if test ${ac_cv_c_compiler_gnu+y}
18242 then :
18243 printf %s "(cached) " >&6
18244 else $as_nop
18245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18246 /* end confdefs.h. */
18247
18248 int
18249 main (void)
18250 {
18251 #ifndef __GNUC__
18252 choke me
18253 #endif
18254
18255 ;
18256 return 0;
18257 }
18258 _ACEOF
18259 if ac_fn_c_try_compile "$LINENO"
18260 then :
18261 ac_compiler_gnu=yes
18262 else $as_nop
18263 ac_compiler_gnu=no
18264 fi
18265 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18266 ac_cv_c_compiler_gnu=$ac_compiler_gnu
18267
18268 fi
18269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
18270 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
18271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18272
18273 if test $ac_compiler_gnu = yes; then
18274 GCC=yes
18275 else
18276 GCC=
18277 fi
18278 ac_test_CFLAGS=${CFLAGS+y}
18279 ac_save_CFLAGS=$CFLAGS
18280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
18281 printf %s "checking whether $CC accepts -g... " >&6; }
18282 if test ${ac_cv_prog_cc_g+y}
18283 then :
18284 printf %s "(cached) " >&6
18285 else $as_nop
18286 ac_save_c_werror_flag=$ac_c_werror_flag
18287 ac_c_werror_flag=yes
18288 ac_cv_prog_cc_g=no
18289 CFLAGS="-g"
18290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18291 /* end confdefs.h. */
18292
18293 int
18294 main (void)
18295 {
18296
18297 ;
18298 return 0;
18299 }
18300 _ACEOF
18301 if ac_fn_c_try_compile "$LINENO"
18302 then :
18303 ac_cv_prog_cc_g=yes
18304 else $as_nop
18305 CFLAGS=""
18306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18307 /* end confdefs.h. */
18308
18309 int
18310 main (void)
18311 {
18312
18313 ;
18314 return 0;
18315 }
18316 _ACEOF
18317 if ac_fn_c_try_compile "$LINENO"
18318 then :
18319
18320 else $as_nop
18321 ac_c_werror_flag=$ac_save_c_werror_flag
18322 CFLAGS="-g"
18323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18324 /* end confdefs.h. */
18325
18326 int
18327 main (void)
18328 {
18329
18330 ;
18331 return 0;
18332 }
18333 _ACEOF
18334 if ac_fn_c_try_compile "$LINENO"
18335 then :
18336 ac_cv_prog_cc_g=yes
18337 fi
18338 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18339 fi
18340 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18341 fi
18342 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18343 ac_c_werror_flag=$ac_save_c_werror_flag
18344 fi
18345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
18346 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
18347 if test $ac_test_CFLAGS; then
18348 CFLAGS=$ac_save_CFLAGS
18349 elif test $ac_cv_prog_cc_g = yes; then
18350 if test "$GCC" = yes; then
18351 CFLAGS="-g -O2"
18352 else
18353 CFLAGS="-g"
18354 fi
18355 else
18356 if test "$GCC" = yes; then
18357 CFLAGS="-O2"
18358 else
18359 CFLAGS=
18360 fi
18361 fi
18362 ac_prog_cc_stdc=no
18363 if test x$ac_prog_cc_stdc = xno
18364 then :
18365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
18366 printf %s "checking for $CC option to enable C11 features... " >&6; }
18367 if test ${ac_cv_prog_cc_c11+y}
18368 then :
18369 printf %s "(cached) " >&6
18370 else $as_nop
18371 ac_cv_prog_cc_c11=no
18372 ac_save_CC=$CC
18373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18374 /* end confdefs.h. */
18375 $ac_c_conftest_c11_program
18376 _ACEOF
18377 for ac_arg in '' -std=gnu11
18378 do
18379 CC="$ac_save_CC $ac_arg"
18380 if ac_fn_c_try_compile "$LINENO"
18381 then :
18382 ac_cv_prog_cc_c11=$ac_arg
18383 fi
18384 rm -f core conftest.err conftest.$ac_objext conftest.beam
18385 test "x$ac_cv_prog_cc_c11" != "xno" && break
18386 done
18387 rm -f conftest.$ac_ext
18388 CC=$ac_save_CC
18389 fi
18390
18391 if test "x$ac_cv_prog_cc_c11" = xno
18392 then :
18393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
18394 printf "%s\n" "unsupported" >&6; }
18395 else $as_nop
18396 if test "x$ac_cv_prog_cc_c11" = x
18397 then :
18398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
18399 printf "%s\n" "none needed" >&6; }
18400 else $as_nop
18401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
18402 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
18403 CC="$CC $ac_cv_prog_cc_c11"
18404 fi
18405 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
18406 ac_prog_cc_stdc=c11
18407 fi
18408 fi
18409 if test x$ac_prog_cc_stdc = xno
18410 then :
18411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
18412 printf %s "checking for $CC option to enable C99 features... " >&6; }
18413 if test ${ac_cv_prog_cc_c99+y}
18414 then :
18415 printf %s "(cached) " >&6
18416 else $as_nop
18417 ac_cv_prog_cc_c99=no
18418 ac_save_CC=$CC
18419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18420 /* end confdefs.h. */
18421 $ac_c_conftest_c99_program
18422 _ACEOF
18423 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
18424 do
18425 CC="$ac_save_CC $ac_arg"
18426 if ac_fn_c_try_compile "$LINENO"
18427 then :
18428 ac_cv_prog_cc_c99=$ac_arg
18429 fi
18430 rm -f core conftest.err conftest.$ac_objext conftest.beam
18431 test "x$ac_cv_prog_cc_c99" != "xno" && break
18432 done
18433 rm -f conftest.$ac_ext
18434 CC=$ac_save_CC
18435 fi
18436
18437 if test "x$ac_cv_prog_cc_c99" = xno
18438 then :
18439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
18440 printf "%s\n" "unsupported" >&6; }
18441 else $as_nop
18442 if test "x$ac_cv_prog_cc_c99" = x
18443 then :
18444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
18445 printf "%s\n" "none needed" >&6; }
18446 else $as_nop
18447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
18448 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
18449 CC="$CC $ac_cv_prog_cc_c99"
18450 fi
18451 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
18452 ac_prog_cc_stdc=c99
18453 fi
18454 fi
18455 if test x$ac_prog_cc_stdc = xno
18456 then :
18457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
18458 printf %s "checking for $CC option to enable C89 features... " >&6; }
18459 if test ${ac_cv_prog_cc_c89+y}
18460 then :
18461 printf %s "(cached) " >&6
18462 else $as_nop
18463 ac_cv_prog_cc_c89=no
18464 ac_save_CC=$CC
18465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18466 /* end confdefs.h. */
18467 $ac_c_conftest_c89_program
18468 _ACEOF
18469 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
18470 do
18471 CC="$ac_save_CC $ac_arg"
18472 if ac_fn_c_try_compile "$LINENO"
18473 then :
18474 ac_cv_prog_cc_c89=$ac_arg
18475 fi
18476 rm -f core conftest.err conftest.$ac_objext conftest.beam
18477 test "x$ac_cv_prog_cc_c89" != "xno" && break
18478 done
18479 rm -f conftest.$ac_ext
18480 CC=$ac_save_CC
18481 fi
18482
18483 if test "x$ac_cv_prog_cc_c89" = xno
18484 then :
18485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
18486 printf "%s\n" "unsupported" >&6; }
18487 else $as_nop
18488 if test "x$ac_cv_prog_cc_c89" = x
18489 then :
18490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
18491 printf "%s\n" "none needed" >&6; }
18492 else $as_nop
18493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
18494 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
18495 CC="$CC $ac_cv_prog_cc_c89"
18496 fi
18497 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
18498 ac_prog_cc_stdc=c89
18499 fi
18500 fi
18501
18502 ac_ext=c
18503 ac_cpp='$CPP $CPPFLAGS'
18504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18507
18508
18509 ac_ext=c
18510 ac_cpp='$CPP $CPPFLAGS'
18511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
18515 printf %s "checking whether $CC understands -c and -o together... " >&6; }
18516 if test ${am_cv_prog_cc_c_o+y}
18517 then :
18518 printf %s "(cached) " >&6
18519 else $as_nop
18520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18521 /* end confdefs.h. */
18522
18523 int
18524 main (void)
18525 {
18526
18527 ;
18528 return 0;
18529 }
18530 _ACEOF
18531 # Make sure it works both with $CC and with simple cc.
18532 # Following AC_PROG_CC_C_O, we do the test twice because some
18533 # compilers refuse to overwrite an existing .o file with -o,
18534 # though they will create one.
18535 am_cv_prog_cc_c_o=yes
18536 for am_i in 1 2; do
18537 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
18538 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
18539 ac_status=$?
18540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18541 (exit $ac_status); } \
18542 && test -f conftest2.$ac_objext; then
18543 : OK
18544 else
18545 am_cv_prog_cc_c_o=no
18546 break
18547 fi
18548 done
18549 rm -f core conftest*
18550 unset am_i
18551 fi
18552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
18553 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
18554 if test "$am_cv_prog_cc_c_o" != yes; then
18555 # Losing compiler, so override with the script.
18556 # FIXME: It is wrong to rewrite CC.
18557 # But if we don't then we get into trouble of one sort or another.
18558 # A longer-term fix would be to have automake use am__CC in this case,
18559 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
18560 CC="$am_aux_dir/compile $CC"
18561 fi
18562 ac_ext=c
18563 ac_cpp='$CPP $CPPFLAGS'
18564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18567
18568
18569 depcc="$CC" am_compiler_list=
18570
18571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
18572 printf %s "checking dependency style of $depcc... " >&6; }
18573 if test ${am_cv_CC_dependencies_compiler_type+y}
18574 then :
18575 printf %s "(cached) " >&6
18576 else $as_nop
18577 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
18578 # We make a subdir and do the tests there. Otherwise we can end up
18579 # making bogus files that we don't know about and never remove. For
18580 # instance it was reported that on HP-UX the gcc test will end up
18581 # making a dummy file named 'D' -- because '-MD' means "put the output
18582 # in D".
18583 rm -rf conftest.dir
18584 mkdir conftest.dir
18585 # Copy depcomp to subdir because otherwise we won't find it if we're
18586 # using a relative directory.
18587 cp "$am_depcomp" conftest.dir
18588 cd conftest.dir
18589 # We will build objects and dependencies in a subdirectory because
18590 # it helps to detect inapplicable dependency modes. For instance
18591 # both Tru64's cc and ICC support -MD to output dependencies as a
18592 # side effect of compilation, but ICC will put the dependencies in
18593 # the current directory while Tru64 will put them in the object
18594 # directory.
18595 mkdir sub
18596
18597 am_cv_CC_dependencies_compiler_type=none
18598 if test "$am_compiler_list" = ""; then
18599 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
18600 fi
18601 am__universal=false
18602 case " $depcc " in #(
18603 *\ -arch\ *\ -arch\ *) am__universal=true ;;
18604 esac
18605
18606 for depmode in $am_compiler_list; do
18607 # Setup a source with many dependencies, because some compilers
18608 # like to wrap large dependency lists on column 80 (with \), and
18609 # we should not choose a depcomp mode which is confused by this.
18610 #
18611 # We need to recreate these files for each test, as the compiler may
18612 # overwrite some of them when testing with obscure command lines.
18613 # This happens at least with the AIX C compiler.
18614 : > sub/conftest.c
18615 for i in 1 2 3 4 5 6; do
18616 echo '#include "conftst'$i'.h"' >> sub/conftest.c
18617 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
18618 # Solaris 10 /bin/sh.
18619 echo '/* dummy */' > sub/conftst$i.h
18620 done
18621 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
18622
18623 # We check with '-c' and '-o' for the sake of the "dashmstdout"
18624 # mode. It turns out that the SunPro C++ compiler does not properly
18625 # handle '-M -o', and we need to detect this. Also, some Intel
18626 # versions had trouble with output in subdirs.
18627 am__obj=sub/conftest.${OBJEXT-o}
18628 am__minus_obj="-o $am__obj"
18629 case $depmode in
18630 gcc)
18631 # This depmode causes a compiler race in universal mode.
18632 test "$am__universal" = false || continue
18633 ;;
18634 nosideeffect)
18635 # After this tag, mechanisms are not by side-effect, so they'll
18636 # only be used when explicitly requested.
18637 if test "x$enable_dependency_tracking" = xyes; then
18638 continue
18639 else
18640 break
18641 fi
18642 ;;
18643 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
18644 # This compiler won't grok '-c -o', but also, the minuso test has
18645 # not run yet. These depmodes are late enough in the game, and
18646 # so weak that their functioning should not be impacted.
18647 am__obj=conftest.${OBJEXT-o}
18648 am__minus_obj=
18649 ;;
18650 none) break ;;
18651 esac
18652 if depmode=$depmode \
18653 source=sub/conftest.c object=$am__obj \
18654 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
18655 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
18656 >/dev/null 2>conftest.err &&
18657 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
18658 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
18659 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
18660 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
18661 # icc doesn't choke on unknown options, it will just issue warnings
18662 # or remarks (even with -Werror). So we grep stderr for any message
18663 # that says an option was ignored or not supported.
18664 # When given -MP, icc 7.0 and 7.1 complain thusly:
18665 # icc: Command line warning: ignoring option '-M'; no argument required
18666 # The diagnosis changed in icc 8.0:
18667 # icc: Command line remark: option '-MP' not supported
18668 if (grep 'ignoring option' conftest.err ||
18669 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
18670 am_cv_CC_dependencies_compiler_type=$depmode
18671 break
18672 fi
18673 fi
18674 done
18675
18676 cd ..
18677 rm -rf conftest.dir
18678 else
18679 am_cv_CC_dependencies_compiler_type=none
18680 fi
18681
18682 fi
18683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
18684 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
18685 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
18686
18687 if
18688 test "x$enable_dependency_tracking" != xno \
18689 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
18690 am__fastdepCC_TRUE=
18691 am__fastdepCC_FALSE='#'
18692 else
18693 am__fastdepCC_TRUE='#'
18694 am__fastdepCC_FALSE=
18695 fi
18696
18697
18698
18699
18700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
18701 printf %s "checking whether ln -s works... " >&6; }
18702 LN_S=$as_ln_s
18703 if test "$LN_S" = "ln -s"; then
18704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18705 printf "%s\n" "yes" >&6; }
18706 else
18707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
18708 printf "%s\n" "no, using $LN_S" >&6; }
18709 fi
18710
18711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
18712 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
18713 set x ${MAKE-make}
18714 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
18715 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
18716 then :
18717 printf %s "(cached) " >&6
18718 else $as_nop
18719 cat >conftest.make <<\_ACEOF
18720 SHELL = /bin/sh
18721 all:
18722 @echo '@@@%%%=$(MAKE)=@@@%%%'
18723 _ACEOF
18724 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
18725 case `${MAKE-make} -f conftest.make 2>/dev/null` in
18726 *@@@%%%=?*=@@@%%%*)
18727 eval ac_cv_prog_make_${ac_make}_set=yes;;
18728 *)
18729 eval ac_cv_prog_make_${ac_make}_set=no;;
18730 esac
18731 rm -f conftest.make
18732 fi
18733 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
18734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18735 printf "%s\n" "yes" >&6; }
18736 SET_MAKE=
18737 else
18738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18739 printf "%s\n" "no" >&6; }
18740 SET_MAKE="MAKE=${MAKE-make}"
18741 fi
18742
18743 for ac_prog in gawk mawk nawk awk
18744 do
18745 # Extract the first word of "$ac_prog", so it can be a program name with args.
18746 set dummy $ac_prog; ac_word=$2
18747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18748 printf %s "checking for $ac_word... " >&6; }
18749 if test ${ac_cv_prog_AWK+y}
18750 then :
18751 printf %s "(cached) " >&6
18752 else $as_nop
18753 if test -n "$AWK"; then
18754 ac_cv_prog_AWK="$AWK" # Let the user override the test.
18755 else
18756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18757 for as_dir in $PATH
18758 do
18759 IFS=$as_save_IFS
18760 case $as_dir in #(((
18761 '') as_dir=./ ;;
18762 */) ;;
18763 *) as_dir=$as_dir/ ;;
18764 esac
18765 for ac_exec_ext in '' $ac_executable_extensions; do
18766 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
18767 ac_cv_prog_AWK="$ac_prog"
18768 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
18769 break 2
18770 fi
18771 done
18772 done
18773 IFS=$as_save_IFS
18774
18775 fi
18776 fi
18777 AWK=$ac_cv_prog_AWK
18778 if test -n "$AWK"; then
18779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
18780 printf "%s\n" "$AWK" >&6; }
18781 else
18782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18783 printf "%s\n" "no" >&6; }
18784 fi
18785
18786
18787 test -n "$AWK" && break
18788 done
18789
18790
18791 ax_cxx_compile_alternatives="11 0x" ax_cxx_compile_cxx11_required=true
18792 ac_ext=cpp
18793 ac_cpp='$CXXCPP $CPPFLAGS'
18794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18797 ac_success=no
18798
18799
18800
18801
18802
18803 if test x$ac_success = xno; then
18804 for alternative in ${ax_cxx_compile_alternatives}; do
18805 for switch in -std=c++${alternative} +std=c++${alternative} "-h std=c++${alternative}"; do
18806 cachevar=`printf "%s\n" "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh`
18807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
18808 printf %s "checking whether $CXX supports C++11 features with $switch... " >&6; }
18809 if eval test \${$cachevar+y}
18810 then :
18811 printf %s "(cached) " >&6
18812 else $as_nop
18813 ac_save_CXX="$CXX"
18814 CXX="$CXX $switch"
18815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18816 /* end confdefs.h. */
18817
18818
18819 // If the compiler admits that it is not ready for C++11, why torture it?
18820 // Hopefully, this will speed up the test.
18821
18822 #ifndef __cplusplus
18823
18824 #error "This is not a C++ compiler"
18825
18826 #elif __cplusplus < 201103L
18827
18828 #error "This is not a C++11 compiler"
18829
18830 #else
18831
18832 namespace cxx11
18833 {
18834
18835 namespace test_static_assert
18836 {
18837
18838 template <typename T>
18839 struct check
18840 {
18841 static_assert(sizeof(int) <= sizeof(T), "not big enough");
18842 };
18843
18844 }
18845
18846 namespace test_final_override
18847 {
18848
18849 struct Base
18850 {
18851 virtual ~Base() {}
18852 virtual void f() {}
18853 };
18854
18855 struct Derived : public Base
18856 {
18857 virtual ~Derived() override {}
18858 virtual void f() override {}
18859 };
18860
18861 }
18862
18863 namespace test_double_right_angle_brackets
18864 {
18865
18866 template < typename T >
18867 struct check {};
18868
18869 typedef check<void> single_type;
18870 typedef check<check<void>> double_type;
18871 typedef check<check<check<void>>> triple_type;
18872 typedef check<check<check<check<void>>>> quadruple_type;
18873
18874 }
18875
18876 namespace test_decltype
18877 {
18878
18879 int
18880 f()
18881 {
18882 int a = 1;
18883 decltype(a) b = 2;
18884 return a + b;
18885 }
18886
18887 }
18888
18889 namespace test_type_deduction
18890 {
18891
18892 template < typename T1, typename T2 >
18893 struct is_same
18894 {
18895 static const bool value = false;
18896 };
18897
18898 template < typename T >
18899 struct is_same<T, T>
18900 {
18901 static const bool value = true;
18902 };
18903
18904 template < typename T1, typename T2 >
18905 auto
18906 add(T1 a1, T2 a2) -> decltype(a1 + a2)
18907 {
18908 return a1 + a2;
18909 }
18910
18911 int
18912 test(const int c, volatile int v)
18913 {
18914 static_assert(is_same<int, decltype(0)>::value == true, "");
18915 static_assert(is_same<int, decltype(c)>::value == false, "");
18916 static_assert(is_same<int, decltype(v)>::value == false, "");
18917 auto ac = c;
18918 auto av = v;
18919 auto sumi = ac + av + 'x';
18920 auto sumf = ac + av + 1.0;
18921 static_assert(is_same<int, decltype(ac)>::value == true, "");
18922 static_assert(is_same<int, decltype(av)>::value == true, "");
18923 static_assert(is_same<int, decltype(sumi)>::value == true, "");
18924 static_assert(is_same<int, decltype(sumf)>::value == false, "");
18925 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
18926 return (sumf > 0.0) ? sumi : add(c, v);
18927 }
18928
18929 }
18930
18931 namespace test_noexcept
18932 {
18933
18934 int f() { return 0; }
18935 int g() noexcept { return 0; }
18936
18937 static_assert(noexcept(f()) == false, "");
18938 static_assert(noexcept(g()) == true, "");
18939
18940 }
18941
18942 namespace test_constexpr
18943 {
18944
18945 template < typename CharT >
18946 unsigned long constexpr
18947 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
18948 {
18949 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
18950 }
18951
18952 template < typename CharT >
18953 unsigned long constexpr
18954 strlen_c(const CharT *const s) noexcept
18955 {
18956 return strlen_c_r(s, 0UL);
18957 }
18958
18959 static_assert(strlen_c("") == 0UL, "");
18960 static_assert(strlen_c("1") == 1UL, "");
18961 static_assert(strlen_c("example") == 7UL, "");
18962 static_assert(strlen_c("another\0example") == 7UL, "");
18963
18964 }
18965
18966 namespace test_rvalue_references
18967 {
18968
18969 template < int N >
18970 struct answer
18971 {
18972 static constexpr int value = N;
18973 };
18974
18975 answer<1> f(int&) { return answer<1>(); }
18976 answer<2> f(const int&) { return answer<2>(); }
18977 answer<3> f(int&&) { return answer<3>(); }
18978
18979 void
18980 test()
18981 {
18982 int i = 0;
18983 const int c = 0;
18984 static_assert(decltype(f(i))::value == 1, "");
18985 static_assert(decltype(f(c))::value == 2, "");
18986 static_assert(decltype(f(0))::value == 3, "");
18987 }
18988
18989 }
18990
18991 namespace test_uniform_initialization
18992 {
18993
18994 struct test
18995 {
18996 static const int zero {};
18997 static const int one {1};
18998 };
18999
19000 static_assert(test::zero == 0, "");
19001 static_assert(test::one == 1, "");
19002
19003 }
19004
19005 namespace test_lambdas
19006 {
19007
19008 void
19009 test1()
19010 {
19011 auto lambda1 = [](){};
19012 auto lambda2 = lambda1;
19013 lambda1();
19014 lambda2();
19015 }
19016
19017 int
19018 test2()
19019 {
19020 auto a = [](int i, int j){ return i + j; }(1, 2);
19021 auto b = []() -> int { return '0'; }();
19022 auto c = [=](){ return a + b; }();
19023 auto d = [&](){ return c; }();
19024 auto e = [a, &b](int x) mutable {
19025 const auto identity = [](int y){ return y; };
19026 for (auto i = 0; i < a; ++i)
19027 a += b--;
19028 return x + identity(a + b);
19029 }(0);
19030 return a + b + c + d + e;
19031 }
19032
19033 int
19034 test3()
19035 {
19036 const auto nullary = [](){ return 0; };
19037 const auto unary = [](int x){ return x; };
19038 using nullary_t = decltype(nullary);
19039 using unary_t = decltype(unary);
19040 const auto higher1st = [](nullary_t f){ return f(); };
19041 const auto higher2nd = [unary](nullary_t f1){
19042 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
19043 };
19044 return higher1st(nullary) + higher2nd(nullary)(unary);
19045 }
19046
19047 }
19048
19049 namespace test_variadic_templates
19050 {
19051
19052 template <int...>
19053 struct sum;
19054
19055 template <int N0, int... N1toN>
19056 struct sum<N0, N1toN...>
19057 {
19058 static constexpr auto value = N0 + sum<N1toN...>::value;
19059 };
19060
19061 template <>
19062 struct sum<>
19063 {
19064 static constexpr auto value = 0;
19065 };
19066
19067 static_assert(sum<>::value == 0, "");
19068 static_assert(sum<1>::value == 1, "");
19069 static_assert(sum<23>::value == 23, "");
19070 static_assert(sum<1, 2>::value == 3, "");
19071 static_assert(sum<5, 5, 11>::value == 21, "");
19072 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
19073
19074 }
19075
19076 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
19077 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
19078 // because of this.
19079 namespace test_template_alias_sfinae
19080 {
19081
19082 struct foo {};
19083
19084 template<typename T>
19085 using member = typename T::member_type;
19086
19087 template<typename T>
19088 void func(...) {}
19089
19090 template<typename T>
19091 void func(member<T>*) {}
19092
19093 void test();
19094
19095 void test() { func<foo>(0); }
19096
19097 }
19098
19099 } // namespace cxx11
19100
19101 #endif // __cplusplus >= 201103L
19102
19103
19104
19105 _ACEOF
19106 if ac_fn_cxx_try_compile "$LINENO"
19107 then :
19108 eval $cachevar=yes
19109 else $as_nop
19110 eval $cachevar=no
19111 fi
19112 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19113 CXX="$ac_save_CXX"
19114 fi
19115 eval ac_res=\$$cachevar
19116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
19117 printf "%s\n" "$ac_res" >&6; }
19118 if eval test x\$$cachevar = xyes; then
19119 CXX="$CXX $switch"
19120 if test -n "$CXXCPP" ; then
19121 CXXCPP="$CXXCPP $switch"
19122 fi
19123 ac_success=yes
19124 break
19125 fi
19126 done
19127 if test x$ac_success = xyes; then
19128 break
19129 fi
19130 done
19131 fi
19132
19133 ac_ext=c
19134 ac_cpp='$CPP $CPPFLAGS'
19135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19138
19139 if test x$ax_cxx_compile_cxx11_required = xtrue; then
19140 if test x$ac_success = xno; then
19141 as_fn_error $? "*** A compiler with support for C++11 language features is required." "$LINENO" 5
19142 fi
19143 fi
19144 if test x$ac_success = xno; then
19145 HAVE_CXX11=0
19146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: No compiler with C++11 support was found" >&5
19147 printf "%s\n" "$as_me: No compiler with C++11 support was found" >&6;}
19148 else
19149 HAVE_CXX11=1
19150
19151 printf "%s\n" "#define HAVE_CXX11 1" >>confdefs.h
19152
19153 fi
19154
19155
19156
19157
19158
19159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,--no-undefined" >&5
19160 printf %s "checking whether the linker accepts -Wl,--no-undefined... " >&6; }
19161 if test ${ax_cv_check_ldflags___Wl___no_undefined+y}
19162 then :
19163 printf %s "(cached) " >&6
19164 else $as_nop
19165
19166 ax_check_save_flags=$LDFLAGS
19167 LDFLAGS="$LDFLAGS -Wl,--no-undefined"
19168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19169 /* end confdefs.h. */
19170
19171 int
19172 main (void)
19173 {
19174
19175 ;
19176 return 0;
19177 }
19178 _ACEOF
19179 if ac_fn_c_try_link "$LINENO"
19180 then :
19181 ax_cv_check_ldflags___Wl___no_undefined=yes
19182 else $as_nop
19183 ax_cv_check_ldflags___Wl___no_undefined=no
19184 fi
19185 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19186 conftest$ac_exeext conftest.$ac_ext
19187 LDFLAGS=$ax_check_save_flags
19188 fi
19189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl___no_undefined" >&5
19190 printf "%s\n" "$ax_cv_check_ldflags___Wl___no_undefined" >&6; }
19191 if test "x$ax_cv_check_ldflags___Wl___no_undefined" = xyes
19192 then :
19193 LDFLAGS="-Wl,--no-undefined $LDFLAGS"
19194 else $as_nop
19195 :
19196 fi
19197
19198
19199
19200 case $host in
19201 *-*-cygwin* | *-*-mingw*)
19202 SHARED_FLAGS="-shared -no-undefined -Xlinker --export-all-symbols"
19203
19204 PLUGIN_FLAGS="-shared -no-undefined -avoid-version"
19205
19206 if test -n "$ac_tool_prefix"; then
19207 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
19208 set dummy ${ac_tool_prefix}windres; ac_word=$2
19209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19210 printf %s "checking for $ac_word... " >&6; }
19211 if test ${ac_cv_prog_RC+y}
19212 then :
19213 printf %s "(cached) " >&6
19214 else $as_nop
19215 if test -n "$RC"; then
19216 ac_cv_prog_RC="$RC" # Let the user override the test.
19217 else
19218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19219 for as_dir in $PATH
19220 do
19221 IFS=$as_save_IFS
19222 case $as_dir in #(((
19223 '') as_dir=./ ;;
19224 */) ;;
19225 *) as_dir=$as_dir/ ;;
19226 esac
19227 for ac_exec_ext in '' $ac_executable_extensions; do
19228 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
19229 ac_cv_prog_RC="${ac_tool_prefix}windres"
19230 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
19231 break 2
19232 fi
19233 done
19234 done
19235 IFS=$as_save_IFS
19236
19237 fi
19238 fi
19239 RC=$ac_cv_prog_RC
19240 if test -n "$RC"; then
19241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RC" >&5
19242 printf "%s\n" "$RC" >&6; }
19243 else
19244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19245 printf "%s\n" "no" >&6; }
19246 fi
19247
19248
19249 fi
19250 if test -z "$ac_cv_prog_RC"; then
19251 ac_ct_RC=$RC
19252 # Extract the first word of "windres", so it can be a program name with args.
19253 set dummy windres; ac_word=$2
19254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19255 printf %s "checking for $ac_word... " >&6; }
19256 if test ${ac_cv_prog_ac_ct_RC+y}
19257 then :
19258 printf %s "(cached) " >&6
19259 else $as_nop
19260 if test -n "$ac_ct_RC"; then
19261 ac_cv_prog_ac_ct_RC="$ac_ct_RC" # Let the user override the test.
19262 else
19263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19264 for as_dir in $PATH
19265 do
19266 IFS=$as_save_IFS
19267 case $as_dir in #(((
19268 '') as_dir=./ ;;
19269 */) ;;
19270 *) as_dir=$as_dir/ ;;
19271 esac
19272 for ac_exec_ext in '' $ac_executable_extensions; do
19273 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
19274 ac_cv_prog_ac_ct_RC="windres"
19275 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
19276 break 2
19277 fi
19278 done
19279 done
19280 IFS=$as_save_IFS
19281
19282 fi
19283 fi
19284 ac_ct_RC=$ac_cv_prog_ac_ct_RC
19285 if test -n "$ac_ct_RC"; then
19286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RC" >&5
19287 printf "%s\n" "$ac_ct_RC" >&6; }
19288 else
19289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19290 printf "%s\n" "no" >&6; }
19291 fi
19292
19293 if test "x$ac_ct_RC" = x; then
19294 RC=""
19295 else
19296 case $cross_compiling:$ac_tool_warned in
19297 yes:)
19298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19299 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19300 ac_tool_warned=yes ;;
19301 esac
19302 RC=$ac_ct_RC
19303 fi
19304 else
19305 RC="$ac_cv_prog_RC"
19306 fi
19307
19308 nt=true
19309 ;;
19310 *-*-darwin*) SHARED_FLAGS="-dynamic"
19311
19312 PLUGIN_FLAGS="-bundle -avoid-version"
19313
19314 darwin=true
19315 ;;
19316 *) SHARED_FLAGS="-shared"
19317
19318 PLUGIN_FLAGS="-shared -avoid-version"
19319
19320 linux=true
19321 ;;
19322 esac
19323 if test x$nt = xtrue; then
19324 CODEBLOCKS_NT_TRUE=
19325 CODEBLOCKS_NT_FALSE='#'
19326 else
19327 CODEBLOCKS_NT_TRUE='#'
19328 CODEBLOCKS_NT_FALSE=
19329 fi
19330
19331 if test x$linux = xtrue; then
19332 CODEBLOCKS_LINUX_TRUE=
19333 CODEBLOCKS_LINUX_FALSE='#'
19334 else
19335 CODEBLOCKS_LINUX_TRUE='#'
19336 CODEBLOCKS_LINUX_FALSE=
19337 fi
19338
19339 if test x$darwin = xtrue ; then
19340 CODEBLOCKS_DARWIN_TRUE=
19341 CODEBLOCKS_DARWIN_FALSE='#'
19342 else
19343 CODEBLOCKS_DARWIN_TRUE='#'
19344 CODEBLOCKS_DARWIN_FALSE=
19345 fi
19346
19347
19348
19349 ac_header_dirent=no
19350 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
19351 as_ac_Header=`printf "%s\n" "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
19352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
19353 printf %s "checking for $ac_hdr that defines DIR... " >&6; }
19354 if eval test \${$as_ac_Header+y}
19355 then :
19356 printf %s "(cached) " >&6
19357 else $as_nop
19358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19359 /* end confdefs.h. */
19360 #include <sys/types.h>
19361 #include <$ac_hdr>
19362
19363 int
19364 main (void)
19365 {
19366 if ((DIR *) 0)
19367 return 0;
19368 ;
19369 return 0;
19370 }
19371 _ACEOF
19372 if ac_fn_c_try_compile "$LINENO"
19373 then :
19374 eval "$as_ac_Header=yes"
19375 else $as_nop
19376 eval "$as_ac_Header=no"
19377 fi
19378 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19379 fi
19380 eval ac_res=\$$as_ac_Header
19381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
19382 printf "%s\n" "$ac_res" >&6; }
19383 if eval test \"x\$"$as_ac_Header"\" = x"yes"
19384 then :
19385 cat >>confdefs.h <<_ACEOF
19386 #define `printf "%s\n" "HAVE_$ac_hdr" | $as_tr_cpp` 1
19387 _ACEOF
19388
19389 ac_header_dirent=$ac_hdr; break
19390 fi
19391
19392 done
19393 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
19394 if test $ac_header_dirent = dirent.h; then
19395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
19396 printf %s "checking for library containing opendir... " >&6; }
19397 if test ${ac_cv_search_opendir+y}
19398 then :
19399 printf %s "(cached) " >&6
19400 else $as_nop
19401 ac_func_search_save_LIBS=$LIBS
19402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19403 /* end confdefs.h. */
19404
19405 /* Override any GCC internal prototype to avoid an error.
19406 Use char because int might match the return type of a GCC
19407 builtin and then its argument prototype would still apply. */
19408 char opendir ();
19409 int
19410 main (void)
19411 {
19412 return opendir ();
19413 ;
19414 return 0;
19415 }
19416 _ACEOF
19417 for ac_lib in '' dir
19418 do
19419 if test -z "$ac_lib"; then
19420 ac_res="none required"
19421 else
19422 ac_res=-l$ac_lib
19423 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19424 fi
19425 if ac_fn_c_try_link "$LINENO"
19426 then :
19427 ac_cv_search_opendir=$ac_res
19428 fi
19429 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19430 conftest$ac_exeext
19431 if test ${ac_cv_search_opendir+y}
19432 then :
19433 break
19434 fi
19435 done
19436 if test ${ac_cv_search_opendir+y}
19437 then :
19438
19439 else $as_nop
19440 ac_cv_search_opendir=no
19441 fi
19442 rm conftest.$ac_ext
19443 LIBS=$ac_func_search_save_LIBS
19444 fi
19445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
19446 printf "%s\n" "$ac_cv_search_opendir" >&6; }
19447 ac_res=$ac_cv_search_opendir
19448 if test "$ac_res" != no
19449 then :
19450 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19451
19452 fi
19453
19454 else
19455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
19456 printf %s "checking for library containing opendir... " >&6; }
19457 if test ${ac_cv_search_opendir+y}
19458 then :
19459 printf %s "(cached) " >&6
19460 else $as_nop
19461 ac_func_search_save_LIBS=$LIBS
19462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19463 /* end confdefs.h. */
19464
19465 /* Override any GCC internal prototype to avoid an error.
19466 Use char because int might match the return type of a GCC
19467 builtin and then its argument prototype would still apply. */
19468 char opendir ();
19469 int
19470 main (void)
19471 {
19472 return opendir ();
19473 ;
19474 return 0;
19475 }
19476 _ACEOF
19477 for ac_lib in '' x
19478 do
19479 if test -z "$ac_lib"; then
19480 ac_res="none required"
19481 else
19482 ac_res=-l$ac_lib
19483 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19484 fi
19485 if ac_fn_c_try_link "$LINENO"
19486 then :
19487 ac_cv_search_opendir=$ac_res
19488 fi
19489 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19490 conftest$ac_exeext
19491 if test ${ac_cv_search_opendir+y}
19492 then :
19493 break
19494 fi
19495 done
19496 if test ${ac_cv_search_opendir+y}
19497 then :
19498
19499 else $as_nop
19500 ac_cv_search_opendir=no
19501 fi
19502 rm conftest.$ac_ext
19503 LIBS=$ac_func_search_save_LIBS
19504 fi
19505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
19506 printf "%s\n" "$ac_cv_search_opendir" >&6; }
19507 ac_res=$ac_cv_search_opendir
19508 if test "$ac_res" != no
19509 then :
19510 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19511
19512 fi
19513
19514 fi
19515
19516 # Autoupdate added the next two lines to ensure that your configure
19517 # script's behavior did not change. They are probably safe to remove.
19518
19519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
19520 printf %s "checking for egrep... " >&6; }
19521 if test ${ac_cv_path_EGREP+y}
19522 then :
19523 printf %s "(cached) " >&6
19524 else $as_nop
19525 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
19526 then ac_cv_path_EGREP="$GREP -E"
19527 else
19528 if test -z "$EGREP"; then
19529 ac_path_EGREP_found=false
19530 # Loop through the user's path and test for each of PROGNAME-LIST
19531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19532 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
19533 do
19534 IFS=$as_save_IFS
19535 case $as_dir in #(((
19536 '') as_dir=./ ;;
19537 */) ;;
19538 *) as_dir=$as_dir/ ;;
19539 esac
19540 for ac_prog in egrep
19541 do
19542 for ac_exec_ext in '' $ac_executable_extensions; do
19543 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
19544 as_fn_executable_p "$ac_path_EGREP" || continue
19545 # Check for GNU ac_path_EGREP and select it if it is found.
19546 # Check for GNU $ac_path_EGREP
19547 case `"$ac_path_EGREP" --version 2>&1` in
19548 *GNU*)
19549 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
19550 *)
19551 ac_count=0
19552 printf %s 0123456789 >"conftest.in"
19553 while :
19554 do
19555 cat "conftest.in" "conftest.in" >"conftest.tmp"
19556 mv "conftest.tmp" "conftest.in"
19557 cp "conftest.in" "conftest.nl"
19558 printf "%s\n" 'EGREP' >> "conftest.nl"
19559 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
19560 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
19561 as_fn_arith $ac_count + 1 && ac_count=$as_val
19562 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
19563 # Best one so far, save it but keep looking for a better one
19564 ac_cv_path_EGREP="$ac_path_EGREP"
19565 ac_path_EGREP_max=$ac_count
19566 fi
19567 # 10*(2^10) chars as input seems more than enough
19568 test $ac_count -gt 10 && break
19569 done
19570 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
19571 esac
19572
19573 $ac_path_EGREP_found && break 3
19574 done
19575 done
19576 done
19577 IFS=$as_save_IFS
19578 if test -z "$ac_cv_path_EGREP"; then
19579 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
19580 fi
19581 else
19582 ac_cv_path_EGREP=$EGREP
19583 fi
19584
19585 fi
19586 fi
19587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
19588 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
19589 EGREP="$ac_cv_path_EGREP"
19590
19591
19592
19593 ac_fn_c_check_header_compile "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default"
19594 if test "x$ac_cv_header_fcntl_h" = xyes
19595 then :
19596 printf "%s\n" "#define HAVE_FCNTL_H 1" >>confdefs.h
19597
19598 fi
19599 ac_fn_c_check_header_compile "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default"
19600 if test "x$ac_cv_header_limits_h" = xyes
19601 then :
19602 printf "%s\n" "#define HAVE_LIMITS_H 1" >>confdefs.h
19603
19604 fi
19605 ac_fn_c_check_header_compile "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
19606 if test "x$ac_cv_header_stdlib_h" = xyes
19607 then :
19608 printf "%s\n" "#define HAVE_STDLIB_H 1" >>confdefs.h
19609
19610 fi
19611 ac_fn_c_check_header_compile "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
19612 if test "x$ac_cv_header_string_h" = xyes
19613 then :
19614 printf "%s\n" "#define HAVE_STRING_H 1" >>confdefs.h
19615
19616 fi
19617 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
19618 if test "x$ac_cv_header_sys_param_h" = xyes
19619 then :
19620 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
19621
19622 fi
19623 ac_fn_c_check_header_compile "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19624 if test "x$ac_cv_header_unistd_h" = xyes
19625 then :
19626 printf "%s\n" "#define HAVE_UNISTD_H 1" >>confdefs.h
19627
19628 fi
19629 ac_fn_c_check_header_compile "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default"
19630 if test "x$ac_cv_header_malloc_h" = xyes
19631 then :
19632 printf "%s\n" "#define HAVE_MALLOC_H 1" >>confdefs.h
19633
19634 fi
19635 ac_fn_c_check_header_compile "$LINENO" "sys/malloc.h" "ac_cv_header_sys_malloc_h" "$ac_includes_default"
19636 if test "x$ac_cv_header_sys_malloc_h" = xyes
19637 then :
19638 printf "%s\n" "#define HAVE_SYS_MALLOC_H 1" >>confdefs.h
19639
19640 fi
19641 ac_fn_c_check_header_compile "$LINENO" "malloc/malloc.h" "ac_cv_header_malloc_malloc_h" "$ac_includes_default"
19642 if test "x$ac_cv_header_malloc_malloc_h" = xyes
19643 then :
19644 printf "%s\n" "#define HAVE_MALLOC_MALLOC_H 1" >>confdefs.h
19645
19646 fi
19647
19648
19649 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
19650 if test "x$ac_cv_type__Bool" = xyes
19651 then :
19652
19653 printf "%s\n" "#define HAVE__BOOL 1" >>confdefs.h
19654
19655
19656 fi
19657
19658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
19659 printf %s "checking for stdbool.h that conforms to C99... " >&6; }
19660 if test ${ac_cv_header_stdbool_h+y}
19661 then :
19662 printf %s "(cached) " >&6
19663 else $as_nop
19664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19665 /* end confdefs.h. */
19666 #include <stdbool.h>
19667
19668 #ifndef __bool_true_false_are_defined
19669 #error "__bool_true_false_are_defined is not defined"
19670 #endif
19671 char a[__bool_true_false_are_defined == 1 ? 1 : -1];
19672
19673 /* Regardless of whether this is C++ or "_Bool" is a
19674 valid type name, "true" and "false" should be usable
19675 in #if expressions and integer constant expressions,
19676 and "bool" should be a valid type name. */
19677
19678 #if !true
19679 #error "'true' is not true"
19680 #endif
19681 #if true != 1
19682 #error "'true' is not equal to 1"
19683 #endif
19684 char b[true == 1 ? 1 : -1];
19685 char c[true];
19686
19687 #if false
19688 #error "'false' is not false"
19689 #endif
19690 #if false != 0
19691 #error "'false' is not equal to 0"
19692 #endif
19693 char d[false == 0 ? 1 : -1];
19694
19695 enum { e = false, f = true, g = false * true, h = true * 256 };
19696
19697 char i[(bool) 0.5 == true ? 1 : -1];
19698 char j[(bool) 0.0 == false ? 1 : -1];
19699 char k[sizeof (bool) > 0 ? 1 : -1];
19700
19701 struct sb { bool s: 1; bool t; } s;
19702 char l[sizeof s.t > 0 ? 1 : -1];
19703
19704 /* The following fails for
19705 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
19706 bool m[h];
19707 char n[sizeof m == h * sizeof m[0] ? 1 : -1];
19708 char o[-1 - (bool) 0 < 0 ? 1 : -1];
19709 /* Catch a bug in an HP-UX C compiler. See
19710 https://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
19711 https://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
19712 */
19713 bool p = true;
19714 bool *pp = &p;
19715
19716 /* C 1999 specifies that bool, true, and false are to be
19717 macros, but C++ 2011 and later overrule this. */
19718 #if __cplusplus < 201103
19719 #ifndef bool
19720 #error "bool is not defined"
19721 #endif
19722 #ifndef false
19723 #error "false is not defined"
19724 #endif
19725 #ifndef true
19726 #error "true is not defined"
19727 #endif
19728 #endif
19729
19730 /* If _Bool is available, repeat with it all the tests
19731 above that used bool. */
19732 #ifdef HAVE__BOOL
19733 struct sB { _Bool s: 1; _Bool t; } t;
19734
19735 char q[(_Bool) 0.5 == true ? 1 : -1];
19736 char r[(_Bool) 0.0 == false ? 1 : -1];
19737 char u[sizeof (_Bool) > 0 ? 1 : -1];
19738 char v[sizeof t.t > 0 ? 1 : -1];
19739
19740 _Bool w[h];
19741 char x[sizeof m == h * sizeof m[0] ? 1 : -1];
19742 char y[-1 - (_Bool) 0 < 0 ? 1 : -1];
19743 _Bool z = true;
19744 _Bool *pz = &p;
19745 #endif
19746
19747 int
19748 main (void)
19749 {
19750
19751 bool ps = &s;
19752 *pp |= p;
19753 *pp |= ! p;
19754
19755 #ifdef HAVE__BOOL
19756 _Bool pt = &t;
19757 *pz |= z;
19758 *pz |= ! z;
19759 #endif
19760
19761 /* Refer to every declared value, so they cannot be
19762 discarded as unused. */
19763 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !j + !k
19764 + !l + !m + !n + !o + !p + !pp + !ps
19765 #ifdef HAVE__BOOL
19766 + !q + !r + !u + !v + !w + !x + !y + !z + !pt
19767 #endif
19768 );
19769
19770 ;
19771 return 0;
19772 }
19773 _ACEOF
19774 if ac_fn_c_try_compile "$LINENO"
19775 then :
19776 ac_cv_header_stdbool_h=yes
19777 else $as_nop
19778 ac_cv_header_stdbool_h=no
19779 fi
19780 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19781 fi
19782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
19783 printf "%s\n" "$ac_cv_header_stdbool_h" >&6; }
19784
19785 if test $ac_cv_header_stdbool_h = yes; then
19786
19787 printf "%s\n" "#define HAVE_STDBOOL_H 1" >>confdefs.h
19788
19789 fi
19790
19791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
19792 printf %s "checking for an ANSI C-conforming const... " >&6; }
19793 if test ${ac_cv_c_const+y}
19794 then :
19795 printf %s "(cached) " >&6
19796 else $as_nop
19797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19798 /* end confdefs.h. */
19799
19800 int
19801 main (void)
19802 {
19803
19804 #ifndef __cplusplus
19805 /* Ultrix mips cc rejects this sort of thing. */
19806 typedef int charset[2];
19807 const charset cs = { 0, 0 };
19808 /* SunOS 4.1.1 cc rejects this. */
19809 char const *const *pcpcc;
19810 char **ppc;
19811 /* NEC SVR4.0.2 mips cc rejects this. */
19812 struct point {int x, y;};
19813 static struct point const zero = {0,0};
19814 /* IBM XL C 1.02.0.0 rejects this.
19815 It does not let you subtract one const X* pointer from another in
19816 an arm of an if-expression whose if-part is not a constant
19817 expression */
19818 const char *g = "string";
19819 pcpcc = &g + (g ? g-g : 0);
19820 /* HPUX 7.0 cc rejects these. */
19821 ++pcpcc;
19822 ppc = (char**) pcpcc;
19823 pcpcc = (char const *const *) ppc;
19824 { /* SCO 3.2v4 cc rejects this sort of thing. */
19825 char tx;
19826 char *t = &tx;
19827 char const *s = 0 ? (char *) 0 : (char const *) 0;
19828
19829 *t++ = 0;
19830 if (s) return 0;
19831 }
19832 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19833 int x[] = {25, 17};
19834 const int *foo = &x[0];
19835 ++foo;
19836 }
19837 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19838 typedef const int *iptr;
19839 iptr p = 0;
19840 ++p;
19841 }
19842 { /* IBM XL C 1.02.0.0 rejects this sort of thing, saying
19843 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19844 struct s { int j; const int *ap[3]; } bx;
19845 struct s *b = &bx; b->j = 5;
19846 }
19847 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19848 const int foo = 10;
19849 if (!foo) return 0;
19850 }
19851 return !cs[0] && !zero.x;
19852 #endif
19853
19854 ;
19855 return 0;
19856 }
19857 _ACEOF
19858 if ac_fn_c_try_compile "$LINENO"
19859 then :
19860 ac_cv_c_const=yes
19861 else $as_nop
19862 ac_cv_c_const=no
19863 fi
19864 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19865 fi
19866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
19867 printf "%s\n" "$ac_cv_c_const" >&6; }
19868 if test $ac_cv_c_const = no; then
19869
19870 printf "%s\n" "#define const /**/" >>confdefs.h
19871
19872 fi
19873
19874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
19875 printf %s "checking for inline... " >&6; }
19876 if test ${ac_cv_c_inline+y}
19877 then :
19878 printf %s "(cached) " >&6
19879 else $as_nop
19880 ac_cv_c_inline=no
19881 for ac_kw in inline __inline__ __inline; do
19882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19883 /* end confdefs.h. */
19884 #ifndef __cplusplus
19885 typedef int foo_t;
19886 static $ac_kw foo_t static_foo (void) {return 0; }
19887 $ac_kw foo_t foo (void) {return 0; }
19888 #endif
19889
19890 _ACEOF
19891 if ac_fn_c_try_compile "$LINENO"
19892 then :
19893 ac_cv_c_inline=$ac_kw
19894 fi
19895 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19896 test "$ac_cv_c_inline" != no && break
19897 done
19898
19899 fi
19900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
19901 printf "%s\n" "$ac_cv_c_inline" >&6; }
19902
19903 case $ac_cv_c_inline in
19904 inline | yes) ;;
19905 *)
19906 case $ac_cv_c_inline in
19907 no) ac_val=;;
19908 *) ac_val=$ac_cv_c_inline;;
19909 esac
19910 cat >>confdefs.h <<_ACEOF
19911 #ifndef __cplusplus
19912 #define inline $ac_val
19913 #endif
19914 _ACEOF
19915 ;;
19916 esac
19917
19918 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
19919 if test "x$ac_cv_type_size_t" = xyes
19920 then :
19921
19922 else $as_nop
19923
19924 printf "%s\n" "#define size_t unsigned int" >>confdefs.h
19925
19926 fi
19927
19928
19929
19930 # Obsolete code to be removed.
19931 if test $ac_cv_header_sys_time_h = yes; then
19932
19933 printf "%s\n" "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
19934
19935 fi
19936 # End of obsolete code.
19937
19938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
19939 printf %s "checking for working volatile... " >&6; }
19940 if test ${ac_cv_c_volatile+y}
19941 then :
19942 printf %s "(cached) " >&6
19943 else $as_nop
19944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19945 /* end confdefs.h. */
19946
19947 int
19948 main (void)
19949 {
19950
19951 volatile int x;
19952 int * volatile y = (int *) 0;
19953 return !x && !y;
19954 ;
19955 return 0;
19956 }
19957 _ACEOF
19958 if ac_fn_c_try_compile "$LINENO"
19959 then :
19960 ac_cv_c_volatile=yes
19961 else $as_nop
19962 ac_cv_c_volatile=no
19963 fi
19964 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19965 fi
19966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5
19967 printf "%s\n" "$ac_cv_c_volatile" >&6; }
19968 if test $ac_cv_c_volatile = no; then
19969
19970 printf "%s\n" "#define volatile /**/" >>confdefs.h
19971
19972 fi
19973
19974
19975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether closedir returns void" >&5
19976 printf %s "checking whether closedir returns void... " >&6; }
19977 if test ${ac_cv_func_closedir_void+y}
19978 then :
19979 printf %s "(cached) " >&6
19980 else $as_nop
19981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19982 /* end confdefs.h. */
19983
19984 #include <$ac_header_dirent>
19985
19986 int
19987 main (void)
19988 {
19989
19990 return closedir(0);
19991
19992 ;
19993 return 0;
19994 }
19995 _ACEOF
19996 if ac_fn_c_try_compile "$LINENO"
19997 then :
19998 ac_cv_func_closedir_void=no
19999 else $as_nop
20000 ac_cv_func_closedir_void=yes
20001 fi
20002 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20003 fi
20004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_closedir_void" >&5
20005 printf "%s\n" "$ac_cv_func_closedir_void" >&6; }
20006 if test $ac_cv_func_closedir_void = yes; then
20007
20008 printf "%s\n" "#define CLOSEDIR_VOID 1" >>confdefs.h
20009
20010 fi
20011
20012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
20013 printf %s "checking for GNU libc compatible malloc... " >&6; }
20014 if test ${ac_cv_func_malloc_0_nonnull+y}
20015 then :
20016 printf %s "(cached) " >&6
20017 else $as_nop
20018 if test "$cross_compiling" = yes
20019 then :
20020 case "$host_os" in # ((
20021 # Guess yes on platforms where we know the result.
20022 *-gnu* | freebsd* | netbsd* | openbsd* | bitrig* \
20023 | hpux* | solaris* | cygwin* | mingw* | msys* )
20024 ac_cv_func_malloc_0_nonnull=yes ;;
20025 # If we don't know, assume the worst.
20026 *) ac_cv_func_malloc_0_nonnull=no ;;
20027 esac
20028 else $as_nop
20029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20030 /* end confdefs.h. */
20031 #include <stdlib.h>
20032
20033 int
20034 main (void)
20035 {
20036 void *p = malloc (0);
20037 int result = !p;
20038 free (p);
20039 return result;
20040 ;
20041 return 0;
20042 }
20043 _ACEOF
20044 if ac_fn_c_try_run "$LINENO"
20045 then :
20046 ac_cv_func_malloc_0_nonnull=yes
20047 else $as_nop
20048 ac_cv_func_malloc_0_nonnull=no
20049 fi
20050 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20051 conftest.$ac_objext conftest.beam conftest.$ac_ext
20052 fi
20053
20054 fi
20055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
20056 printf "%s\n" "$ac_cv_func_malloc_0_nonnull" >&6; }
20057 if test $ac_cv_func_malloc_0_nonnull = yes
20058 then :
20059
20060 printf "%s\n" "#define HAVE_MALLOC 1" >>confdefs.h
20061
20062 else $as_nop
20063 printf "%s\n" "#define HAVE_MALLOC 0" >>confdefs.h
20064
20065 case " $LIBOBJS " in
20066 *" malloc.$ac_objext "* ) ;;
20067 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
20068 ;;
20069 esac
20070
20071
20072 printf "%s\n" "#define malloc rpl_malloc" >>confdefs.h
20073
20074 fi
20075
20076
20077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
20078 printf %s "checking for working memcmp... " >&6; }
20079 if test ${ac_cv_func_memcmp_working+y}
20080 then :
20081 printf %s "(cached) " >&6
20082 else $as_nop
20083 if test "$cross_compiling" = yes
20084 then :
20085 ac_cv_func_memcmp_working=no
20086 else $as_nop
20087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20088 /* end confdefs.h. */
20089 $ac_includes_default
20090 int
20091 main (void)
20092 {
20093
20094 /* Some versions of memcmp are not 8-bit clean. */
20095 char c0 = '\100', c1 = '\200', c2 = '\201';
20096 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
20097 return 1;
20098
20099 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
20100 or more and with at least one buffer not starting on a 4-byte boundary.
20101 William Lewis provided this test program. */
20102 {
20103 char foo[21];
20104 char bar[21];
20105 int i;
20106 for (i = 0; i < 4; i++)
20107 {
20108 char *a = foo + i;
20109 char *b = bar + i;
20110 strcpy (a, "--------01111111");
20111 strcpy (b, "--------10000000");
20112 if (memcmp (a, b, 16) >= 0)
20113 return 1;
20114 }
20115 return 0;
20116 }
20117
20118 ;
20119 return 0;
20120 }
20121 _ACEOF
20122 if ac_fn_c_try_run "$LINENO"
20123 then :
20124 ac_cv_func_memcmp_working=yes
20125 else $as_nop
20126 ac_cv_func_memcmp_working=no
20127 fi
20128 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20129 conftest.$ac_objext conftest.beam conftest.$ac_ext
20130 fi
20131
20132 fi
20133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5
20134 printf "%s\n" "$ac_cv_func_memcmp_working" >&6; }
20135 test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
20136 *" memcmp.$ac_objext "* ) ;;
20137 *) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
20138 ;;
20139 esac
20140
20141
20142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
20143 printf %s "checking whether lstat correctly handles trailing slash... " >&6; }
20144 if test ${ac_cv_func_lstat_dereferences_slashed_symlink+y}
20145 then :
20146 printf %s "(cached) " >&6
20147 else $as_nop
20148 rm -f conftest.sym conftest.file
20149 echo >conftest.file
20150 if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
20151 if test "$cross_compiling" = yes
20152 then :
20153 case "$host_os" in # ((
20154 # Guess yes on glibc systems.
20155 *-gnu*) ac_cv_func_lstat_dereferences_slashed_symlink=yes ;;
20156 # If we don't know, assume the worst.
20157 *) ac_cv_func_lstat_dereferences_slashed_symlink=no ;;
20158 esac
20159 else $as_nop
20160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20161 /* end confdefs.h. */
20162 $ac_includes_default
20163 int
20164 main (void)
20165 {
20166 struct stat sbuf;
20167 /* Linux will dereference the symlink and fail, as required by POSIX.
20168 That is better in the sense that it means we will not
20169 have to compile and use the lstat wrapper. */
20170 return lstat ("conftest.sym/", &sbuf) == 0;
20171 ;
20172 return 0;
20173 }
20174 _ACEOF
20175 if ac_fn_c_try_run "$LINENO"
20176 then :
20177 ac_cv_func_lstat_dereferences_slashed_symlink=yes
20178 else $as_nop
20179 ac_cv_func_lstat_dereferences_slashed_symlink=no
20180 fi
20181 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20182 conftest.$ac_objext conftest.beam conftest.$ac_ext
20183 fi
20184
20185 else
20186 # If the `ln -s' command failed, then we probably don't even
20187 # have an lstat function.
20188 ac_cv_func_lstat_dereferences_slashed_symlink=no
20189 fi
20190 rm -f conftest.sym conftest.file
20191
20192 fi
20193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
20194 printf "%s\n" "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
20195
20196 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
20197
20198 printf "%s\n" "#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1" >>confdefs.h
20199
20200
20201 if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno; then
20202 case " $LIBOBJS " in
20203 *" lstat.$ac_objext "* ) ;;
20204 *) LIBOBJS="$LIBOBJS lstat.$ac_objext"
20205 ;;
20206 esac
20207
20208 fi
20209
20210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat accepts an empty string" >&5
20211 printf %s "checking whether stat accepts an empty string... " >&6; }
20212 if test ${ac_cv_func_stat_empty_string_bug+y}
20213 then :
20214 printf %s "(cached) " >&6
20215 else $as_nop
20216 if test "$cross_compiling" = yes
20217 then :
20218 ac_cv_func_stat_empty_string_bug=yes
20219 else $as_nop
20220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20221 /* end confdefs.h. */
20222 $ac_includes_default
20223 int
20224 main (void)
20225 {
20226 struct stat sbuf;
20227 return stat ("", &sbuf) == 0;
20228 ;
20229 return 0;
20230 }
20231 _ACEOF
20232 if ac_fn_c_try_run "$LINENO"
20233 then :
20234 ac_cv_func_stat_empty_string_bug=no
20235 else $as_nop
20236 ac_cv_func_stat_empty_string_bug=yes
20237 fi
20238 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20239 conftest.$ac_objext conftest.beam conftest.$ac_ext
20240 fi
20241
20242 fi
20243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_stat_empty_string_bug" >&5
20244 printf "%s\n" "$ac_cv_func_stat_empty_string_bug" >&6; }
20245 if test $ac_cv_func_stat_empty_string_bug = yes; then
20246 case " $LIBOBJS " in
20247 *" stat.$ac_objext "* ) ;;
20248 *) LIBOBJS="$LIBOBJS stat.$ac_objext"
20249 ;;
20250 esac
20251
20252
20253 printf "%s\n" "#define HAVE_STAT_EMPTY_STRING_BUG 1" >>confdefs.h
20254
20255 fi
20256
20257 ac_func=
20258 for ac_item in $ac_func_c_list
20259 do
20260 if test $ac_func; then
20261 ac_fn_c_check_func "$LINENO" $ac_func ac_cv_func_$ac_func
20262 if eval test \"x\$ac_cv_func_$ac_func\" = xyes; then
20263 echo "#define $ac_item 1" >> confdefs.h
20264 fi
20265 ac_func=
20266 else
20267 ac_func=$ac_item
20268 fi
20269 done
20270
20271 if test "x$ac_cv_func_vprintf" = xno
20272 then :
20273 ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
20274 if test "x$ac_cv_func__doprnt" = xyes
20275 then :
20276
20277 printf "%s\n" "#define HAVE_DOPRNT 1" >>confdefs.h
20278
20279 fi
20280
20281 fi
20282 ac_fn_c_check_func "$LINENO" "atexit" "ac_cv_func_atexit"
20283 if test "x$ac_cv_func_atexit" = xyes
20284 then :
20285 printf "%s\n" "#define HAVE_ATEXIT 1" >>confdefs.h
20286
20287 fi
20288 ac_fn_c_check_func "$LINENO" "getcwd" "ac_cv_func_getcwd"
20289 if test "x$ac_cv_func_getcwd" = xyes
20290 then :
20291 printf "%s\n" "#define HAVE_GETCWD 1" >>confdefs.h
20292
20293 fi
20294 ac_fn_c_check_func "$LINENO" "isascii" "ac_cv_func_isascii"
20295 if test "x$ac_cv_func_isascii" = xyes
20296 then :
20297 printf "%s\n" "#define HAVE_ISASCII 1" >>confdefs.h
20298
20299 fi
20300 ac_fn_c_check_func "$LINENO" "memchr" "ac_cv_func_memchr"
20301 if test "x$ac_cv_func_memchr" = xyes
20302 then :
20303 printf "%s\n" "#define HAVE_MEMCHR 1" >>confdefs.h
20304
20305 fi
20306 ac_fn_c_check_func "$LINENO" "memmove" "ac_cv_func_memmove"
20307 if test "x$ac_cv_func_memmove" = xyes
20308 then :
20309 printf "%s\n" "#define HAVE_MEMMOVE 1" >>confdefs.h
20310
20311 fi
20312 ac_fn_c_check_func "$LINENO" "memset" "ac_cv_func_memset"
20313 if test "x$ac_cv_func_memset" = xyes
20314 then :
20315 printf "%s\n" "#define HAVE_MEMSET 1" >>confdefs.h
20316
20317 fi
20318 ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp"
20319 if test "x$ac_cv_func_strcasecmp" = xyes
20320 then :
20321 printf "%s\n" "#define HAVE_STRCASECMP 1" >>confdefs.h
20322
20323 fi
20324 ac_fn_c_check_func "$LINENO" "strchr" "ac_cv_func_strchr"
20325 if test "x$ac_cv_func_strchr" = xyes
20326 then :
20327 printf "%s\n" "#define HAVE_STRCHR 1" >>confdefs.h
20328
20329 fi
20330 ac_fn_c_check_func "$LINENO" "strcspn" "ac_cv_func_strcspn"
20331 if test "x$ac_cv_func_strcspn" = xyes
20332 then :
20333 printf "%s\n" "#define HAVE_STRCSPN 1" >>confdefs.h
20334
20335 fi
20336 ac_fn_c_check_func "$LINENO" "strdup" "ac_cv_func_strdup"
20337 if test "x$ac_cv_func_strdup" = xyes
20338 then :
20339 printf "%s\n" "#define HAVE_STRDUP 1" >>confdefs.h
20340
20341 fi
20342 ac_fn_c_check_func "$LINENO" "strrchr" "ac_cv_func_strrchr"
20343 if test "x$ac_cv_func_strrchr" = xyes
20344 then :
20345 printf "%s\n" "#define HAVE_STRRCHR 1" >>confdefs.h
20346
20347 fi
20348 ac_fn_c_check_func "$LINENO" "strstr" "ac_cv_func_strstr"
20349 if test "x$ac_cv_func_strstr" = xyes
20350 then :
20351 printf "%s\n" "#define HAVE_STRSTR 1" >>confdefs.h
20352
20353 fi
20354
20355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
20356 printf %s "checking for dlopen in -ldl... " >&6; }
20357 if test ${ac_cv_lib_dl_dlopen+y}
20358 then :
20359 printf %s "(cached) " >&6
20360 else $as_nop
20361 ac_check_lib_save_LIBS=$LIBS
20362 LIBS="-ldl $LIBS"
20363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20364 /* end confdefs.h. */
20365
20366 /* Override any GCC internal prototype to avoid an error.
20367 Use char because int might match the return type of a GCC
20368 builtin and then its argument prototype would still apply. */
20369 char dlopen ();
20370 int
20371 main (void)
20372 {
20373 return dlopen ();
20374 ;
20375 return 0;
20376 }
20377 _ACEOF
20378 if ac_fn_c_try_link "$LINENO"
20379 then :
20380 ac_cv_lib_dl_dlopen=yes
20381 else $as_nop
20382 ac_cv_lib_dl_dlopen=no
20383 fi
20384 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20385 conftest$ac_exeext conftest.$ac_ext
20386 LIBS=$ac_check_lib_save_LIBS
20387 fi
20388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
20389 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
20390 if test "x$ac_cv_lib_dl_dlopen" = xyes
20391 then :
20392 printf "%s\n" "#define HAVE_LIBDL 1" >>confdefs.h
20393
20394 LIBS="-ldl $LIBS"
20395
20396 fi
20397
20398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
20399 printf %s "checking for pthread_create in -lpthread... " >&6; }
20400 if test ${ac_cv_lib_pthread_pthread_create+y}
20401 then :
20402 printf %s "(cached) " >&6
20403 else $as_nop
20404 ac_check_lib_save_LIBS=$LIBS
20405 LIBS="-lpthread $LIBS"
20406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20407 /* end confdefs.h. */
20408
20409 /* Override any GCC internal prototype to avoid an error.
20410 Use char because int might match the return type of a GCC
20411 builtin and then its argument prototype would still apply. */
20412 char pthread_create ();
20413 int
20414 main (void)
20415 {
20416 return pthread_create ();
20417 ;
20418 return 0;
20419 }
20420 _ACEOF
20421 if ac_fn_c_try_link "$LINENO"
20422 then :
20423 ac_cv_lib_pthread_pthread_create=yes
20424 else $as_nop
20425 ac_cv_lib_pthread_pthread_create=no
20426 fi
20427 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20428 conftest$ac_exeext conftest.$ac_ext
20429 LIBS=$ac_check_lib_save_LIBS
20430 fi
20431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
20432 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
20433 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
20434 then :
20435 printf "%s\n" "#define HAVE_LIBPTHREAD 1" >>confdefs.h
20436
20437 LIBS="-lpthread $LIBS"
20438
20439 fi
20440
20441 ac_fn_c_check_func "$LINENO" "snprintf" "ac_cv_func_snprintf"
20442 if test "x$ac_cv_func_snprintf" = xyes
20443 then :
20444
20445 printf "%s\n" "#define HAVE_SNPRINTF /**/" >>confdefs.h
20446
20447 fi
20448
20449 ac_fn_c_check_func "$LINENO" "vsnprintf" "ac_cv_func_vsnprintf"
20450 if test "x$ac_cv_func_vsnprintf" = xyes
20451 then :
20452
20453 printf "%s\n" "#define HAVE_VSNPRINTF /**/" >>confdefs.h
20454
20455 fi
20456
20457
20458
20459
20460
20461
20462
20463
20464
20465 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
20466 if test -n "$ac_tool_prefix"; then
20467 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
20468 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
20469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20470 printf %s "checking for $ac_word... " >&6; }
20471 if test ${ac_cv_path_PKG_CONFIG+y}
20472 then :
20473 printf %s "(cached) " >&6
20474 else $as_nop
20475 case $PKG_CONFIG in
20476 [\\/]* | ?:[\\/]*)
20477 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20478 ;;
20479 *)
20480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20481 for as_dir in $PATH
20482 do
20483 IFS=$as_save_IFS
20484 case $as_dir in #(((
20485 '') as_dir=./ ;;
20486 */) ;;
20487 *) as_dir=$as_dir/ ;;
20488 esac
20489 for ac_exec_ext in '' $ac_executable_extensions; do
20490 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
20491 ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
20492 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
20493 break 2
20494 fi
20495 done
20496 done
20497 IFS=$as_save_IFS
20498
20499 ;;
20500 esac
20501 fi
20502 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20503 if test -n "$PKG_CONFIG"; then
20504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20505 printf "%s\n" "$PKG_CONFIG" >&6; }
20506 else
20507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20508 printf "%s\n" "no" >&6; }
20509 fi
20510
20511
20512 fi
20513 if test -z "$ac_cv_path_PKG_CONFIG"; then
20514 ac_pt_PKG_CONFIG=$PKG_CONFIG
20515 # Extract the first word of "pkg-config", so it can be a program name with args.
20516 set dummy pkg-config; ac_word=$2
20517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20518 printf %s "checking for $ac_word... " >&6; }
20519 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
20520 then :
20521 printf %s "(cached) " >&6
20522 else $as_nop
20523 case $ac_pt_PKG_CONFIG in
20524 [\\/]* | ?:[\\/]*)
20525 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
20526 ;;
20527 *)
20528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20529 for as_dir in $PATH
20530 do
20531 IFS=$as_save_IFS
20532 case $as_dir in #(((
20533 '') as_dir=./ ;;
20534 */) ;;
20535 *) as_dir=$as_dir/ ;;
20536 esac
20537 for ac_exec_ext in '' $ac_executable_extensions; do
20538 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
20539 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
20540 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
20541 break 2
20542 fi
20543 done
20544 done
20545 IFS=$as_save_IFS
20546
20547 ;;
20548 esac
20549 fi
20550 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
20551 if test -n "$ac_pt_PKG_CONFIG"; then
20552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
20553 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
20554 else
20555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20556 printf "%s\n" "no" >&6; }
20557 fi
20558
20559 if test "x$ac_pt_PKG_CONFIG" = x; then
20560 PKG_CONFIG=""
20561 else
20562 case $cross_compiling:$ac_tool_warned in
20563 yes:)
20564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20565 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20566 ac_tool_warned=yes ;;
20567 esac
20568 PKG_CONFIG=$ac_pt_PKG_CONFIG
20569 fi
20570 else
20571 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
20572 fi
20573
20574 fi
20575 if test -n "$PKG_CONFIG"; then
20576 _pkg_min_version=0.9.0
20577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
20578 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
20579 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
20580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20581 printf "%s\n" "yes" >&6; }
20582 else
20583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20584 printf "%s\n" "no" >&6; }
20585 PKG_CONFIG=""
20586 fi
20587 fi
20588
20589 pkg_failed=no
20590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for zlib" >&5
20591 printf %s "checking for zlib... " >&6; }
20592
20593 if test -n "$zlib_CFLAGS"; then
20594 pkg_cv_zlib_CFLAGS="$zlib_CFLAGS"
20595 elif test -n "$PKG_CONFIG"; then
20596 if test -n "$PKG_CONFIG" && \
20597 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib\""; } >&5
20598 ($PKG_CONFIG --exists --print-errors "zlib") 2>&5
20599 ac_status=$?
20600 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20601 test $ac_status = 0; }; then
20602 pkg_cv_zlib_CFLAGS=`$PKG_CONFIG --cflags "zlib" 2>/dev/null`
20603 test "x$?" != "x0" && pkg_failed=yes
20604 else
20605 pkg_failed=yes
20606 fi
20607 else
20608 pkg_failed=untried
20609 fi
20610 if test -n "$zlib_LIBS"; then
20611 pkg_cv_zlib_LIBS="$zlib_LIBS"
20612 elif test -n "$PKG_CONFIG"; then
20613 if test -n "$PKG_CONFIG" && \
20614 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib\""; } >&5
20615 ($PKG_CONFIG --exists --print-errors "zlib") 2>&5
20616 ac_status=$?
20617 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20618 test $ac_status = 0; }; then
20619 pkg_cv_zlib_LIBS=`$PKG_CONFIG --libs "zlib" 2>/dev/null`
20620 test "x$?" != "x0" && pkg_failed=yes
20621 else
20622 pkg_failed=yes
20623 fi
20624 else
20625 pkg_failed=untried
20626 fi
20627
20628
20629
20630 if test $pkg_failed = yes; then
20631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20632 printf "%s\n" "no" >&6; }
20633
20634 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20635 _pkg_short_errors_supported=yes
20636 else
20637 _pkg_short_errors_supported=no
20638 fi
20639 if test $_pkg_short_errors_supported = yes; then
20640 zlib_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "zlib" 2>&1`
20641 else
20642 zlib_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "zlib" 2>&1`
20643 fi
20644 # Put the nasty error message in config.log where it belongs
20645 echo "$zlib_PKG_ERRORS" >&5
20646
20647 HAVE_ZLIB=no
20648 elif test $pkg_failed = untried; then
20649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20650 printf "%s\n" "no" >&6; }
20651 HAVE_ZLIB=no
20652 else
20653 zlib_CFLAGS=$pkg_cv_zlib_CFLAGS
20654 zlib_LIBS=$pkg_cv_zlib_LIBS
20655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20656 printf "%s\n" "yes" >&6; }
20657 HAVE_ZLIB=yes
20658 fi
20659 save_LIBS=$LIBS
20660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing BZ2_bzopen" >&5
20661 printf %s "checking for library containing BZ2_bzopen... " >&6; }
20662 if test ${ac_cv_search_BZ2_bzopen+y}
20663 then :
20664 printf %s "(cached) " >&6
20665 else $as_nop
20666 ac_func_search_save_LIBS=$LIBS
20667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20668 /* end confdefs.h. */
20669
20670 /* Override any GCC internal prototype to avoid an error.
20671 Use char because int might match the return type of a GCC
20672 builtin and then its argument prototype would still apply. */
20673 char BZ2_bzopen ();
20674 int
20675 main (void)
20676 {
20677 return BZ2_bzopen ();
20678 ;
20679 return 0;
20680 }
20681 _ACEOF
20682 for ac_lib in '' bz2
20683 do
20684 if test -z "$ac_lib"; then
20685 ac_res="none required"
20686 else
20687 ac_res=-l$ac_lib
20688 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20689 fi
20690 if ac_fn_c_try_link "$LINENO"
20691 then :
20692 ac_cv_search_BZ2_bzopen=$ac_res
20693 fi
20694 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20695 conftest$ac_exeext
20696 if test ${ac_cv_search_BZ2_bzopen+y}
20697 then :
20698 break
20699 fi
20700 done
20701 if test ${ac_cv_search_BZ2_bzopen+y}
20702 then :
20703
20704 else $as_nop
20705 ac_cv_search_BZ2_bzopen=no
20706 fi
20707 rm conftest.$ac_ext
20708 LIBS=$ac_func_search_save_LIBS
20709 fi
20710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_BZ2_bzopen" >&5
20711 printf "%s\n" "$ac_cv_search_BZ2_bzopen" >&6; }
20712 ac_res=$ac_cv_search_BZ2_bzopen
20713 if test "$ac_res" != no
20714 then :
20715 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20716 HAVE_BZIP2=yes
20717 else $as_nop
20718 HAVE_BZIP2=no
20719 fi
20720
20721 LIBS=$save_LIBS
20722
20723 save_CC=$CC
20724 save_CPP=$CPP
20725 CC=$CXX
20726 CPP=$CXXCPP
20727 ac_fn_c_check_header_compile "$LINENO" "astyle.h" "ac_cv_header_astyle_h" "$ac_includes_default"
20728 if test "x$ac_cv_header_astyle_h" = xyes
20729 then :
20730 HAVE_ASTYLE=yes
20731 else $as_nop
20732 HAVE_ASTYLE=no
20733 fi
20734
20735
20736 if test "$HAVE_ASTYLE" = "yes" ; then
20737 ac_fn_c_check_type "$LINENO" "astyle::ASPeekStream" "ac_cv_type_astyle__ASPeekStream" "#include \"astyle.h\"
20738 "
20739 if test "x$ac_cv_type_astyle__ASPeekStream" = xyes
20740 then :
20741
20742 else $as_nop
20743 HAVE_ASTYLE=no
20744 fi
20745
20746 else
20747 HAVE_ASTYLE=no
20748 fi
20749
20750 CC=$save_CC
20751 CPP=$save_CPP
20752
20753 if test "$HAVE_ZLIB" = yes; then
20754 HAVE_ZLIB_TRUE=
20755 HAVE_ZLIB_FALSE='#'
20756 else
20757 HAVE_ZLIB_TRUE='#'
20758 HAVE_ZLIB_FALSE=
20759 fi
20760
20761 if test "$HAVE_BZIP2" = yes; then
20762 HAVE_BZIP2_TRUE=
20763 HAVE_BZIP2_FALSE='#'
20764 else
20765 HAVE_BZIP2_TRUE='#'
20766 HAVE_BZIP2_FALSE=
20767 fi
20768
20769
20770 if test "$HAVE_ASTYLE" = yes; then
20771 HAVE_ASTYLE_TRUE=
20772 HAVE_ASTYLE_FALSE='#'
20773 else
20774 HAVE_ASTYLE_TRUE='#'
20775 HAVE_ASTYLE_FALSE=
20776 fi
20777
20778
20779 # Extract the first word of "pkg-config", so it can be a program name with args.
20780 set dummy pkg-config; ac_word=$2
20781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20782 printf %s "checking for $ac_word... " >&6; }
20783 if test ${ac_cv_prog_HAVE_PKG_CONFIG+y}
20784 then :
20785 printf %s "(cached) " >&6
20786 else $as_nop
20787 if test -n "$HAVE_PKG_CONFIG"; then
20788 ac_cv_prog_HAVE_PKG_CONFIG="$HAVE_PKG_CONFIG" # Let the user override the test.
20789 else
20790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20791 for as_dir in $PATH
20792 do
20793 IFS=$as_save_IFS
20794 case $as_dir in #(((
20795 '') as_dir=./ ;;
20796 */) ;;
20797 *) as_dir=$as_dir/ ;;
20798 esac
20799 for ac_exec_ext in '' $ac_executable_extensions; do
20800 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
20801 ac_cv_prog_HAVE_PKG_CONFIG="yes"
20802 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
20803 break 2
20804 fi
20805 done
20806 done
20807 IFS=$as_save_IFS
20808
20809 test -z "$ac_cv_prog_HAVE_PKG_CONFIG" && ac_cv_prog_HAVE_PKG_CONFIG="no"
20810 fi
20811 fi
20812 HAVE_PKG_CONFIG=$ac_cv_prog_HAVE_PKG_CONFIG
20813 if test -n "$HAVE_PKG_CONFIG"; then
20814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $HAVE_PKG_CONFIG" >&5
20815 printf "%s\n" "$HAVE_PKG_CONFIG" >&6; }
20816 else
20817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20818 printf "%s\n" "no" >&6; }
20819 fi
20820
20821
20822
20823
20824
20825
20826
20827
20828
20829
20830
20831
20832 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
20833 if test -n "$ac_tool_prefix"; then
20834 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
20835 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
20836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20837 printf %s "checking for $ac_word... " >&6; }
20838 if test ${ac_cv_path_PKG_CONFIG+y}
20839 then :
20840 printf %s "(cached) " >&6
20841 else $as_nop
20842 case $PKG_CONFIG in
20843 [\\/]* | ?:[\\/]*)
20844 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20845 ;;
20846 *)
20847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20848 for as_dir in $PATH
20849 do
20850 IFS=$as_save_IFS
20851 case $as_dir in #(((
20852 '') as_dir=./ ;;
20853 */) ;;
20854 *) as_dir=$as_dir/ ;;
20855 esac
20856 for ac_exec_ext in '' $ac_executable_extensions; do
20857 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
20858 ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
20859 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
20860 break 2
20861 fi
20862 done
20863 done
20864 IFS=$as_save_IFS
20865
20866 ;;
20867 esac
20868 fi
20869 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20870 if test -n "$PKG_CONFIG"; then
20871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20872 printf "%s\n" "$PKG_CONFIG" >&6; }
20873 else
20874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20875 printf "%s\n" "no" >&6; }
20876 fi
20877
20878
20879 fi
20880 if test -z "$ac_cv_path_PKG_CONFIG"; then
20881 ac_pt_PKG_CONFIG=$PKG_CONFIG
20882 # Extract the first word of "pkg-config", so it can be a program name with args.
20883 set dummy pkg-config; ac_word=$2
20884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20885 printf %s "checking for $ac_word... " >&6; }
20886 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
20887 then :
20888 printf %s "(cached) " >&6
20889 else $as_nop
20890 case $ac_pt_PKG_CONFIG in
20891 [\\/]* | ?:[\\/]*)
20892 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
20893 ;;
20894 *)
20895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20896 for as_dir in $PATH
20897 do
20898 IFS=$as_save_IFS
20899 case $as_dir in #(((
20900 '') as_dir=./ ;;
20901 */) ;;
20902 *) as_dir=$as_dir/ ;;
20903 esac
20904 for ac_exec_ext in '' $ac_executable_extensions; do
20905 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
20906 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
20907 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
20908 break 2
20909 fi
20910 done
20911 done
20912 IFS=$as_save_IFS
20913
20914 ;;
20915 esac
20916 fi
20917 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
20918 if test -n "$ac_pt_PKG_CONFIG"; then
20919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
20920 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
20921 else
20922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20923 printf "%s\n" "no" >&6; }
20924 fi
20925
20926 if test "x$ac_pt_PKG_CONFIG" = x; then
20927 PKG_CONFIG=""
20928 else
20929 case $cross_compiling:$ac_tool_warned in
20930 yes:)
20931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20932 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20933 ac_tool_warned=yes ;;
20934 esac
20935 PKG_CONFIG=$ac_pt_PKG_CONFIG
20936 fi
20937 else
20938 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
20939 fi
20940
20941 fi
20942 if test -n "$PKG_CONFIG"; then
20943 _pkg_min_version=0.9.0
20944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
20945 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
20946 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
20947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20948 printf "%s\n" "yes" >&6; }
20949 else
20950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20951 printf "%s\n" "no" >&6; }
20952 PKG_CONFIG=""
20953 fi
20954 fi
20955
20956
20957 pkg_failed=no
20958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for tinyxml" >&5
20959 printf %s "checking for tinyxml... " >&6; }
20960
20961 if test -n "$TINYXML_CFLAGS"; then
20962 pkg_cv_TINYXML_CFLAGS="$TINYXML_CFLAGS"
20963 elif test -n "$PKG_CONFIG"; then
20964 if test -n "$PKG_CONFIG" && \
20965 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tinyxml\""; } >&5
20966 ($PKG_CONFIG --exists --print-errors "tinyxml") 2>&5
20967 ac_status=$?
20968 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20969 test $ac_status = 0; }; then
20970 pkg_cv_TINYXML_CFLAGS=`$PKG_CONFIG --cflags "tinyxml" 2>/dev/null`
20971 test "x$?" != "x0" && pkg_failed=yes
20972 else
20973 pkg_failed=yes
20974 fi
20975 else
20976 pkg_failed=untried
20977 fi
20978 if test -n "$TINYXML_LIBS"; then
20979 pkg_cv_TINYXML_LIBS="$TINYXML_LIBS"
20980 elif test -n "$PKG_CONFIG"; then
20981 if test -n "$PKG_CONFIG" && \
20982 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tinyxml\""; } >&5
20983 ($PKG_CONFIG --exists --print-errors "tinyxml") 2>&5
20984 ac_status=$?
20985 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20986 test $ac_status = 0; }; then
20987 pkg_cv_TINYXML_LIBS=`$PKG_CONFIG --libs "tinyxml" 2>/dev/null`
20988 test "x$?" != "x0" && pkg_failed=yes
20989 else
20990 pkg_failed=yes
20991 fi
20992 else
20993 pkg_failed=untried
20994 fi
20995
20996
20997
20998 if test $pkg_failed = yes; then
20999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21000 printf "%s\n" "no" >&6; }
21001
21002 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21003 _pkg_short_errors_supported=yes
21004 else
21005 _pkg_short_errors_supported=no
21006 fi
21007 if test $_pkg_short_errors_supported = yes; then
21008 TINYXML_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "tinyxml" 2>&1`
21009 else
21010 TINYXML_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "tinyxml" 2>&1`
21011 fi
21012 # Put the nasty error message in config.log where it belongs
21013 echo "$TINYXML_PKG_ERRORS" >&5
21014
21015 HAVE_TINYXML=no
21016 elif test $pkg_failed = untried; then
21017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21018 printf "%s\n" "no" >&6; }
21019 HAVE_TINYXML=no
21020 else
21021 TINYXML_CFLAGS=$pkg_cv_TINYXML_CFLAGS
21022 TINYXML_LIBS=$pkg_cv_TINYXML_LIBS
21023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21024 printf "%s\n" "yes" >&6; }
21025 HAVE_TINYXML=yes
21026 fi
21027 if test "$HAVE_TINYXML" = yes; then
21028 HAVE_TINYXML_TRUE=
21029 HAVE_TINYXML_FALSE='#'
21030 else
21031 HAVE_TINYXML_TRUE='#'
21032 HAVE_TINYXML_FALSE=
21033 fi
21034
21035
21036 if test "x$DARWIN_TRUE" = "x" ; then
21037 MODULE_SHARED_LDFLAGS="-dynamiclib"
21038 else
21039 MODULE_SHARED_LDFLAGS="-module -shared"
21040 fi
21041
21042
21043 CODEBLOCKS_CURRENT=0
21044 CODEBLOCKS_REVISION=1
21045 CODEBLOCKS_AGE=0
21046 CODEBLOCKS_VERSION_INFO=$CODEBLOCKS_CURRENT:$CODEBLOCKS_REVISION:$CODEBLOCKS_AGE
21047
21048
21049
21050 AMTAR=${AMTAR-"${am_missing_run}tar"}
21051
21052 # Always define AMTAR for backward compatibility.
21053
21054 AMTAR=${AMTAR-"${am_missing_run}tar"}
21055
21056 am__tar='${AMTAR} chf - "$$tardir"'; am__untar='${AMTAR} xf -'
21057
21058
21059
21060
21061 CODEBLOCKS_PLATFORM=gtk
21062
21063 # Check whether --with-platform was given.
21064 if test ${with_platform+y}
21065 then :
21066 withval=$with_platform; CODEBLOCKS_PLATFORM=$withval
21067 else $as_nop
21068 CODEBLOCKS_PLATFORM=gtk
21069 fi
21070
21071
21072
21073 PLATFORM_CFLAGS=""
21074 PLATFORM_LIBS=""
21075
21076 case $CODEBLOCKS_PLATFORM in
21077 gtk)
21078 PLATFORM_CFLAGS="-I/usr/X11R6/include"
21079 PLATFORM_LIBS="-L/usr/X11R6/lib -lX11"
21080 ;;
21081 win32)
21082 PLATFORM_CFLAGS=""
21083 PLATFORM_LIBS="-lgdi32"
21084 ;;
21085 macosx)
21086 PLATFORM_CFLAGS=""
21087 PLATFORM_LIBS=""
21088 ;;
21089 esac
21090
21091
21092
21093
21094
21095
21096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build the source formatter plugin" >&5
21097 printf %s "checking whether to build the source formatter plugin... " >&6; }
21098 astyle_default="yes"
21099 # Check whether --enable-source-formatter was given.
21100 if test ${enable_source_formatter+y}
21101 then :
21102 enableval=$enable_source_formatter;
21103 else $as_nop
21104 enable_astyle=$astyle_default
21105 fi
21106
21107 if test "x$enable_astyle" = "xyes"; then
21108 BUILD_ASTYLE_TRUE=
21109 BUILD_ASTYLE_FALSE='#'
21110 else
21111 BUILD_ASTYLE_TRUE='#'
21112 BUILD_ASTYLE_FALSE=
21113 fi
21114
21115 if test "x$enable_astyle" = "xyes"; then
21116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21117 printf "%s\n" "yes" >&6; }
21118 else
21119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21120 printf "%s\n" "no" >&6; }
21121 fi
21122
21123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build the autosave plugin" >&5
21124 printf %s "checking whether to build the autosave plugin... " >&6; }
21125 autosave_default="yes"
21126 # Check whether --enable-autosave was given.
21127 if test ${enable_autosave+y}
21128 then :
21129 enableval=$enable_autosave;
21130 else $as_nop
21131 enable_autosave=$autosave_default
21132 fi
21133
21134 if test "x$enable_autosave" = "xyes"; then
21135 BUILD_AUTOSAVE_TRUE=
21136 BUILD_AUTOSAVE_FALSE='#'
21137 else
21138 BUILD_AUTOSAVE_TRUE='#'
21139 BUILD_AUTOSAVE_FALSE=
21140 fi
21141
21142 if test "x$enable_autosave" = "xyes"; then
21143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21144 printf "%s\n" "yes" >&6; }
21145 else
21146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21147 printf "%s\n" "no" >&6; }
21148 fi
21149
21150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build the class wizard plugin" >&5
21151 printf %s "checking whether to build the class wizard plugin... " >&6; }
21152 cw_default="yes"
21153 # Check whether --enable-class-wizard was given.
21154 if test ${enable_class_wizard+y}
21155 then :
21156 enableval=$enable_class_wizard;
21157 else $as_nop
21158 enable_cw=$cw_default
21159 fi
21160
21161 if test "x$enable_cw" = "xyes"; then
21162 BUILD_CLASSWIZARD_TRUE=
21163 BUILD_CLASSWIZARD_FALSE='#'
21164 else
21165 BUILD_CLASSWIZARD_TRUE='#'
21166 BUILD_CLASSWIZARD_FALSE=
21167 fi
21168
21169 if test "x$enable_cw" = "xyes"; then
21170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21171 printf "%s\n" "yes" >&6; }
21172 else
21173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21174 printf "%s\n" "no" >&6; }
21175 fi
21176
21177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build the code completion plugin" >&5
21178 printf %s "checking whether to build the code completion plugin... " >&6; }
21179 cc_default="yes"
21180 # Check whether --enable-code-completion was given.
21181 if test ${enable_code_completion+y}
21182 then :
21183 enableval=$enable_code_completion;
21184 else $as_nop
21185 enable_cc=$cc_default
21186 fi
21187
21188 if test "x$enable_cc" = "xyes"; then
21189 BUILD_CODECOMPLETION_TRUE=
21190 BUILD_CODECOMPLETION_FALSE='#'
21191 else
21192 BUILD_CODECOMPLETION_TRUE='#'
21193 BUILD_CODECOMPLETION_FALSE=
21194 fi
21195
21196 if test "x$enable_cc" = "xyes"; then
21197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21198 printf "%s\n" "yes" >&6; }
21199 else
21200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21201 printf "%s\n" "no" >&6; }
21202 fi
21203
21204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build the compiler plugin" >&5
21205 printf %s "checking whether to build the compiler plugin... " >&6; }
21206 gcc_default="yes"
21207 # Check whether --enable-compiler was given.
21208 if test ${enable_compiler+y}
21209 then :
21210 enableval=$enable_compiler;
21211 else $as_nop
21212 enable_gcc=$gcc_default
21213 fi
21214
21215 if test "x$enable_gcc" = "xyes"; then
21216 BUILD_COMPILER_TRUE=
21217 BUILD_COMPILER_FALSE='#'
21218 else
21219 BUILD_COMPILER_TRUE='#'
21220 BUILD_COMPILER_FALSE=
21221 fi
21222
21223 if test "x$enable_gcc" = "xyes"; then
21224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21225 printf "%s\n" "yes" >&6; }
21226 else
21227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21228 printf "%s\n" "no" >&6; }
21229 fi
21230
21231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build the debugger plugin" >&5
21232 printf %s "checking whether to build the debugger plugin... " >&6; }
21233 dbg_default="yes"
21234 # Check whether --enable-debugger was given.
21235 if test ${enable_debugger+y}
21236 then :
21237 enableval=$enable_debugger;
21238 else $as_nop
21239 enable_dbg=$dbg_default
21240 fi
21241
21242 if test "x$enable_dbg" = "xyes"; then
21243 BUILD_DEBUGGER_TRUE=
21244 BUILD_DEBUGGER_FALSE='#'
21245 else
21246 BUILD_DEBUGGER_TRUE='#'
21247 BUILD_DEBUGGER_FALSE=
21248 fi
21249
21250 if test "x$enable_dbg" = "xyes"; then
21251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21252 printf "%s\n" "yes" >&6; }
21253 else
21254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21255 printf "%s\n" "no" >&6; }
21256 fi
21257
21258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build the default MIME handler plugin" >&5
21259 printf %s "checking whether to build the default MIME handler plugin... " >&6; }
21260 mime_default="yes"
21261 # Check whether --enable-mime-handler was given.
21262 if test ${enable_mime_handler+y}
21263 then :
21264 enableval=$enable_mime_handler;
21265 else $as_nop
21266 enable_mime=$mime_default
21267 fi
21268
21269 if test "x$enable_mime" = "xyes"; then
21270 BUILD_MIMEHANDLER_TRUE=
21271 BUILD_MIMEHANDLER_FALSE='#'
21272 else
21273 BUILD_MIMEHANDLER_TRUE='#'
21274 BUILD_MIMEHANDLER_FALSE=
21275 fi
21276
21277 if test "x$enable_mime" = "xyes"; then
21278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21279 printf "%s\n" "yes" >&6; }
21280 else
21281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21282 printf "%s\n" "no" >&6; }
21283 fi
21284
21285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build the displayevents plugin" >&5
21286 printf %s "checking whether to build the displayevents plugin... " >&6; }
21287 dsplayevents_default="yes"
21288 # Check whether --enable-displayevents was given.
21289 if test ${enable_displayevents+y}
21290 then :
21291 enableval=$enable_displayevents;
21292 else $as_nop
21293 enable_displayevents=$displayevents_default
21294 fi
21295
21296 if test "x$enable_displayevents" = "xyes"; then
21297 BUILD_DISPLAYEVENTS_TRUE=
21298 BUILD_DISPLAYEVENTS_FALSE='#'
21299 else
21300 BUILD_DISPLAYEVENTS_TRUE='#'
21301 BUILD_DISPLAYEVENTS_FALSE=
21302 fi
21303
21304 if test "x$enable_displayevents" = "xyes"; then
21305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21306 printf "%s\n" "yes" >&6; }
21307 else
21308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21309 printf "%s\n" "no" >&6; }
21310 fi
21311
21312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build the open files list plugin" >&5
21313 printf %s "checking whether to build the open files list plugin... " >&6; }
21314 openfiles_default="yes"
21315 # Check whether --enable-open-files-list was given.
21316 if test ${enable_open_files_list+y}
21317 then :
21318 enableval=$enable_open_files_list;
21319 else $as_nop
21320 enable_openfiles=$openfiles_default
21321 fi
21322
21323 if test "x$enable_openfiles" = "xyes"; then
21324 BUILD_OPENFILESLIST_TRUE=
21325 BUILD_OPENFILESLIST_FALSE='#'
21326 else
21327 BUILD_OPENFILESLIST_TRUE='#'
21328 BUILD_OPENFILESLIST_FALSE=
21329 fi
21330
21331 if test "x$enable_openfiles" = "xyes"; then
21332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21333 printf "%s\n" "yes" >&6; }
21334 else
21335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21336 printf "%s\n" "no" >&6; }
21337 fi
21338
21339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build the occurrences highlighting plugin" >&5
21340 printf %s "checking whether to build the occurrences highlighting plugin... " >&6; }
21341 occurrenceshighlighting_default="yes"
21342 # Check whether --enable-occurrences-highlighting was given.
21343 if test ${enable_occurrences_highlighting+y}
21344 then :
21345 enableval=$enable_occurrences_highlighting;
21346 else $as_nop
21347 enable_occurrenceshighlighting=$occurrenceshighlighting_default
21348 fi
21349
21350 if test "x$enable_occurrenceshighlighting" = "xyes"; then
21351 BUILD_OCCURRENCESHIGHLIGHTING_TRUE=
21352 BUILD_OCCURRENCESHIGHLIGHTING_FALSE='#'
21353 else
21354 BUILD_OCCURRENCESHIGHLIGHTING_TRUE='#'
21355 BUILD_OCCURRENCESHIGHLIGHTING_FALSE=
21356 fi
21357
21358 if test "x$enable_occurrenceshighlighting" = "xyes"; then
21359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21360 printf "%s\n" "yes" >&6; }
21361 else
21362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21363 printf "%s\n" "no" >&6; }
21364 fi
21365
21366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build the foreign projects importer plugin" >&5
21367 printf %s "checking whether to build the foreign projects importer plugin... " >&6; }
21368 pimport_default="yes"
21369 # Check whether --enable-projects-importer was given.
21370 if test ${enable_projects_importer+y}
21371 then :
21372 enableval=$enable_projects_importer;
21373 else $as_nop
21374 enable_pimport=$pimport_default
21375 fi
21376
21377 if test "x$enable_pimport" = "xyes"; then
21378 BUILD_PROJECTSIMPORTER_TRUE=
21379 BUILD_PROJECTSIMPORTER_FALSE='#'
21380 else
21381 BUILD_PROJECTSIMPORTER_TRUE='#'
21382 BUILD_PROJECTSIMPORTER_FALSE=
21383 fi
21384
21385 if test "x$enable_pimport" = "xyes"; then
21386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21387 printf "%s\n" "yes" >&6; }
21388 else
21389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21390 printf "%s\n" "no" >&6; }
21391 fi
21392
21393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build the scripted wizard plugin" >&5
21394 printf %s "checking whether to build the scripted wizard plugin... " >&6; }
21395 prw_default="yes"
21396 # Check whether --enable-scripted-wizard was given.
21397 if test ${enable_scripted_wizard+y}
21398 then :
21399 enableval=$enable_scripted_wizard;
21400 else $as_nop
21401 enable_prw=$prw_default
21402 fi
21403
21404 if test "x$enable_prw" = "xyes"; then
21405 BUILD_SCRIPTEDWIZARD_TRUE=
21406 BUILD_SCRIPTEDWIZARD_FALSE='#'
21407 else
21408 BUILD_SCRIPTEDWIZARD_TRUE='#'
21409 BUILD_SCRIPTEDWIZARD_FALSE=
21410 fi
21411
21412 if test "x$enable_prw" = "xyes"; then
21413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21414 printf "%s\n" "yes" >&6; }
21415 else
21416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21417 printf "%s\n" "no" >&6; }
21418 fi
21419
21420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build the to-do plugin" >&5
21421 printf %s "checking whether to build the to-do plugin... " >&6; }
21422 todo_default="yes"
21423 # Check whether --enable-todo was given.
21424 if test ${enable_todo+y}
21425 then :
21426 enableval=$enable_todo;
21427 else $as_nop
21428 enable_todo=$todo_default
21429 fi
21430
21431 if test "x$enable_todo" = "xyes"; then
21432 BUILD_TODO_TRUE=
21433 BUILD_TODO_FALSE='#'
21434 else
21435 BUILD_TODO_TRUE='#'
21436 BUILD_TODO_FALSE=
21437 fi
21438
21439 if test "x$enable_todo" = "xyes"; then
21440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21441 printf "%s\n" "yes" >&6; }
21442 else
21443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21444 printf "%s\n" "no" >&6; }
21445 fi
21446
21447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build the abbreviations plugin" >&5
21448 printf %s "checking whether to build the abbreviations plugin... " >&6; }
21449 abbreviations_default="yes"
21450 # Check whether --enable-abbreviations was given.
21451 if test ${enable_abbreviations+y}
21452 then :
21453 enableval=$enable_abbreviations;
21454 else $as_nop
21455 enable_abbreviations=$abbreviations_default
21456 fi
21457
21458 if test "x$enable_abbreviations" = "xyes"; then
21459 BUILD_ABBREVIATIONS_TRUE=
21460 BUILD_ABBREVIATIONS_FALSE='#'
21461 else
21462 BUILD_ABBREVIATIONS_TRUE='#'
21463 BUILD_ABBREVIATIONS_FALSE=
21464 fi
21465
21466 if test "x$enable_abbreviations" = "xyes"; then
21467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21468 printf "%s\n" "yes" >&6; }
21469 else
21470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21471 printf "%s\n" "no" >&6; }
21472 fi
21473
21474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to keep prebuild windows dll's in dist-tarball" >&5
21475 printf %s "checking whether to keep prebuild windows dll's in dist-tarball... " >&6; }
21476 keep_dlls_default="yes"
21477 # Check whether --enable-keep-dlls was given.
21478 if test ${enable_keep_dlls+y}
21479 then :
21480 enableval=$enable_keep_dlls;
21481 else $as_nop
21482 enable_keep_dlls=$keep_dlls_default
21483 fi
21484
21485 if test "x$enable_keep_dlls" = "xyes"; then
21486 KEEP_DLLS_TRUE=
21487 KEEP_DLLS_FALSE='#'
21488 else
21489 KEEP_DLLS_TRUE='#'
21490 KEEP_DLLS_FALSE=
21491 fi
21492
21493 if test "x$enable_keep_dlls" = "xyes"; then
21494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21495 printf "%s\n" "yes" >&6; }
21496 else
21497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21498 printf "%s\n" "no" >&6; }
21499 fi
21500
21501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to integrate fortran-plugin in dist-tarball" >&5
21502 printf %s "checking whether to integrate fortran-plugin in dist-tarball... " >&6; }
21503 enable_fortran_default="yes"
21504 # Check whether --enable-fortran was given.
21505 if test ${enable_fortran+y}
21506 then :
21507 enableval=$enable_fortran;
21508 else $as_nop
21509 enable_fortran=$enable_fortran_default
21510 fi
21511
21512 if test "x$enable_fortran" = "xyes"; then
21513 ENABLE_FORTRAN_TRUE=
21514 ENABLE_FORTRAN_FALSE='#'
21515 else
21516 ENABLE_FORTRAN_TRUE='#'
21517 ENABLE_FORTRAN_FALSE=
21518 fi
21519
21520 if test "x$enable_fortran" = "xyes"; then
21521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21522 printf "%s\n" "yes" >&6; }
21523 else
21524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21525 printf "%s\n" "no" >&6; }
21526 fi
21527
21528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to use gtk-notebook as default notebook" >&5
21529 printf %s "checking whether to use gtk-notebook as default notebook... " >&6; }
21530 gtk_notebook_default="yes"
21531 # Check whether --enable-gtk-notebook was given.
21532 if test ${enable_gtk_notebook+y}
21533 then :
21534 enableval=$enable_gtk_notebook;
21535 else $as_nop
21536 enable_gtk_notebook=$gtk_notebook_default
21537 fi
21538
21539 if test "x$enable_gtk_notebook" = "xyes"; then
21540 GTK_NOTEBOOK_TRUE=
21541 GTK_NOTEBOOK_FALSE='#'
21542 else
21543 GTK_NOTEBOOK_TRUE='#'
21544 GTK_NOTEBOOK_FALSE=
21545 fi
21546
21547 if test "x$enable_gtk_notebook" = "xyes"; then
21548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21549 printf "%s\n" "yes" >&6; }
21550 else
21551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21552 printf "%s\n" "no" >&6; }
21553 fi
21554
21555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to CodeBlocks installer documentation directory found" >&5
21556 printf %s "checking whether to CodeBlocks installer documentation directory found... " >&6; }
21557 if test -f "windows_installer/Documentation/manual_codeblocks_en.chm" ; then
21558 if true; then
21559 CODEBLOCKS_INSTALLERDOCS_FOUND_TRUE=
21560 CODEBLOCKS_INSTALLERDOCS_FOUND_FALSE='#'
21561 else
21562 CODEBLOCKS_INSTALLERDOCS_FOUND_TRUE='#'
21563 CODEBLOCKS_INSTALLERDOCS_FOUND_FALSE=
21564 fi
21565
21566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21567 printf "%s\n" "yes" >&6; }
21568 else
21569 if false; then
21570 CODEBLOCKS_INSTALLERDOCS_FOUND_TRUE=
21571 CODEBLOCKS_INSTALLERDOCS_FOUND_FALSE='#'
21572 else
21573 CODEBLOCKS_INSTALLERDOCS_FOUND_TRUE='#'
21574 CODEBLOCKS_INSTALLERDOCS_FOUND_FALSE=
21575 fi
21576
21577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21578 printf "%s\n" "no" >&6; }
21579 fi
21580
21581 case $host in
21582 *-*-cygwin* | *-*-mingw*)
21583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build the xp-manifest plugin" >&5
21584 printf %s "checking whether to build the xp-manifest plugin... " >&6; }
21585 xpmanifest_default="yes"
21586 # Check whether --enable-xpmanifest was given.
21587 if test ${enable_xpmanifest+y}
21588 then :
21589 enableval=$enable_xpmanifest;
21590 else $as_nop
21591 enable_xpmanifest=$xpmanifest_default
21592 fi
21593
21594 if test "x$enable_xpmanifest" = "xyes"; then
21595 BUILD_MANIFEST_TRUE=
21596 BUILD_MANIFEST_FALSE='#'
21597 else
21598 BUILD_MANIFEST_TRUE='#'
21599 BUILD_MANIFEST_FALSE=
21600 fi
21601
21602 if test "x$enable_xpmanifest" = "xyes"; then
21603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21604 printf "%s\n" "yes" >&6; }
21605 else
21606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21607 printf "%s\n" "no" >&6; }
21608 fi
21609 ;;
21610 *)
21611 if false; then
21612 BUILD_MANIFEST_TRUE=
21613 BUILD_MANIFEST_FALSE='#'
21614 else
21615 BUILD_MANIFEST_TRUE='#'
21616 BUILD_MANIFEST_FALSE=
21617 fi
21618
21619 ;;
21620 esac
21621
21622
21623
21624
21625
21626 # default to 'none'
21627
21628 if false; then
21629 BUILD_AUTOVERSIONING_TRUE=
21630 BUILD_AUTOVERSIONING_FALSE='#'
21631 else
21632 BUILD_AUTOVERSIONING_TRUE='#'
21633 BUILD_AUTOVERSIONING_FALSE=
21634 fi
21635
21636 if false; then
21637 BUILD_BROWSETRACKER_TRUE=
21638 BUILD_BROWSETRACKER_FALSE='#'
21639 else
21640 BUILD_BROWSETRACKER_TRUE='#'
21641 BUILD_BROWSETRACKER_FALSE=
21642 fi
21643
21644 if false; then
21645 BUILD_BYOGAMES_TRUE=
21646 BUILD_BYOGAMES_FALSE='#'
21647 else
21648 BUILD_BYOGAMES_TRUE='#'
21649 BUILD_BYOGAMES_FALSE=
21650 fi
21651
21652 if false; then
21653 BUILD_CBKODERS_TRUE=
21654 BUILD_CBKODERS_FALSE='#'
21655 else
21656 BUILD_CBKODERS_TRUE='#'
21657 BUILD_CBKODERS_FALSE=
21658 fi
21659
21660 if false; then
21661 BUILD_CODESNIPPETS_TRUE=
21662 BUILD_CODESNIPPETS_FALSE='#'
21663 else
21664 BUILD_CODESNIPPETS_TRUE='#'
21665 BUILD_CODESNIPPETS_FALSE=
21666 fi
21667
21668 if false; then
21669 BUILD_CODESTAT_TRUE=
21670 BUILD_CODESTAT_FALSE='#'
21671 else
21672 BUILD_CODESTAT_TRUE='#'
21673 BUILD_CODESTAT_FALSE=
21674 fi
21675
21676 if false; then
21677 BUILD_COPYSTRINGS_TRUE=
21678 BUILD_COPYSTRINGS_FALSE='#'
21679 else
21680 BUILD_COPYSTRINGS_TRUE='#'
21681 BUILD_COPYSTRINGS_FALSE=
21682 fi
21683
21684 if false; then
21685 BUILD_CSCOPE_TRUE=
21686 BUILD_CSCOPE_FALSE='#'
21687 else
21688 BUILD_CSCOPE_TRUE='#'
21689 BUILD_CSCOPE_FALSE=
21690 fi
21691
21692 if false; then
21693 BUILD_DOXYBLOCKS_TRUE=
21694 BUILD_DOXYBLOCKS_FALSE='#'
21695 else
21696 BUILD_DOXYBLOCKS_TRUE='#'
21697 BUILD_DOXYBLOCKS_FALSE=
21698 fi
21699
21700 if false; then
21701 BUILD_DRAGSCROLL_TRUE=
21702 BUILD_DRAGSCROLL_FALSE='#'
21703 else
21704 BUILD_DRAGSCROLL_TRUE='#'
21705 BUILD_DRAGSCROLL_FALSE=
21706 fi
21707
21708 if false; then
21709 BUILD_EDITORCONFIG_TRUE=
21710 BUILD_EDITORCONFIG_FALSE='#'
21711 else
21712 BUILD_EDITORCONFIG_TRUE='#'
21713 BUILD_EDITORCONFIG_FALSE=
21714 fi
21715
21716 if false; then
21717 BUILD_EDITORTWEAKS_TRUE=
21718 BUILD_EDITORTWEAKS_FALSE='#'
21719 else
21720 BUILD_EDITORTWEAKS_TRUE='#'
21721 BUILD_EDITORTWEAKS_FALSE=
21722 fi
21723
21724 if false; then
21725 BUILD_ENVVARS_TRUE=
21726 BUILD_ENVVARS_FALSE='#'
21727 else
21728 BUILD_ENVVARS_TRUE='#'
21729 BUILD_ENVVARS_FALSE=
21730 fi
21731
21732 if false; then
21733 BUILD_FILEMANAGER_TRUE=
21734 BUILD_FILEMANAGER_FALSE='#'
21735 else
21736 BUILD_FILEMANAGER_TRUE='#'
21737 BUILD_FILEMANAGER_FALSE=
21738 fi
21739
21740 if false; then
21741 BUILD_HEADERFIXUP_TRUE=
21742 BUILD_HEADERFIXUP_FALSE='#'
21743 else
21744 BUILD_HEADERFIXUP_TRUE='#'
21745 BUILD_HEADERFIXUP_FALSE=
21746 fi
21747
21748 if false; then
21749 BUILD_HELP_TRUE=
21750 BUILD_HELP_FALSE='#'
21751 else
21752 BUILD_HELP_TRUE='#'
21753 BUILD_HELP_FALSE=
21754 fi
21755
21756 if false; then
21757 BUILD_KEYBINDER_TRUE=
21758 BUILD_KEYBINDER_FALSE='#'
21759 else
21760 BUILD_KEYBINDER_TRUE='#'
21761 BUILD_KEYBINDER_FALSE=
21762 fi
21763
21764 if false; then
21765 BUILD_LIBFINDER_TRUE=
21766 BUILD_LIBFINDER_FALSE='#'
21767 else
21768 BUILD_LIBFINDER_TRUE='#'
21769 BUILD_LIBFINDER_FALSE=
21770 fi
21771
21772 if false; then
21773 BUILD_NASSISHNEIDERMAN_TRUE=
21774 BUILD_NASSISHNEIDERMAN_FALSE='#'
21775 else
21776 BUILD_NASSISHNEIDERMAN_TRUE='#'
21777 BUILD_NASSISHNEIDERMAN_FALSE=
21778 fi
21779
21780 if false; then
21781 BUILD_PROFILER_TRUE=
21782 BUILD_PROFILER_FALSE='#'
21783 else
21784 BUILD_PROFILER_TRUE='#'
21785 BUILD_PROFILER_FALSE=
21786 fi
21787
21788 if false; then
21789 BUILD_PROJECTOPTIONSMANIPULATOR_TRUE=
21790 BUILD_PROJECTOPTIONSMANIPULATOR_FALSE='#'
21791 else
21792 BUILD_PROJECTOPTIONSMANIPULATOR_TRUE='#'
21793 BUILD_PROJECTOPTIONSMANIPULATOR_FALSE=
21794 fi
21795
21796 if false; then
21797 BUILD_REGEX_TRUE=
21798 BUILD_REGEX_FALSE='#'
21799 else
21800 BUILD_REGEX_TRUE='#'
21801 BUILD_REGEX_FALSE=
21802 fi
21803
21804 if false; then
21805 BUILD_REOPENEDITOR_TRUE=
21806 BUILD_REOPENEDITOR_FALSE='#'
21807 else
21808 BUILD_REOPENEDITOR_TRUE='#'
21809 BUILD_REOPENEDITOR_FALSE=
21810 fi
21811
21812 if false; then
21813 BUILD_RNDGEN_TRUE=
21814 BUILD_RNDGEN_FALSE='#'
21815 else
21816 BUILD_RNDGEN_TRUE='#'
21817 BUILD_RNDGEN_FALSE=
21818 fi
21819
21820 if false; then
21821 BUILD_CLANGD_CLIENT_TRUE=
21822 BUILD_CLANGD_CLIENT_FALSE='#'
21823 else
21824 BUILD_CLANGD_CLIENT_TRUE='#'
21825 BUILD_CLANGD_CLIENT_FALSE=
21826 fi
21827
21828 if false; then
21829 BUILD_EXPORTER_TRUE=
21830 BUILD_EXPORTER_FALSE='#'
21831 else
21832 BUILD_EXPORTER_TRUE='#'
21833 BUILD_EXPORTER_FALSE=
21834 fi
21835
21836 if false; then
21837 BUILD_SMARTINDENT_TRUE=
21838 BUILD_SMARTINDENT_FALSE='#'
21839 else
21840 BUILD_SMARTINDENT_TRUE='#'
21841 BUILD_SMARTINDENT_FALSE=
21842 fi
21843
21844 if false; then
21845 BUILD_SPELLCHECKER_TRUE=
21846 BUILD_SPELLCHECKER_FALSE='#'
21847 else
21848 BUILD_SPELLCHECKER_TRUE='#'
21849 BUILD_SPELLCHECKER_FALSE=
21850 fi
21851
21852 if false; then
21853 BUILD_SYMTAB_TRUE=
21854 BUILD_SYMTAB_FALSE='#'
21855 else
21856 BUILD_SYMTAB_TRUE='#'
21857 BUILD_SYMTAB_FALSE=
21858 fi
21859
21860 if false; then
21861 BUILD_THREADSEARCH_TRUE=
21862 BUILD_THREADSEARCH_FALSE='#'
21863 else
21864 BUILD_THREADSEARCH_TRUE='#'
21865 BUILD_THREADSEARCH_FALSE=
21866 fi
21867
21868 if false; then
21869 BUILD_TOOLSPLUS_TRUE=
21870 BUILD_TOOLSPLUS_FALSE='#'
21871 else
21872 BUILD_TOOLSPLUS_TRUE='#'
21873 BUILD_TOOLSPLUS_FALSE=
21874 fi
21875
21876 if false; then
21877 BUILD_VALGRIND_TRUE=
21878 BUILD_VALGRIND_FALSE='#'
21879 else
21880 BUILD_VALGRIND_TRUE='#'
21881 BUILD_VALGRIND_FALSE=
21882 fi
21883
21884 if false; then
21885 BUILD_WXCONTRIB_TRUE=
21886 BUILD_WXCONTRIB_FALSE='#'
21887 else
21888 BUILD_WXCONTRIB_TRUE='#'
21889 BUILD_WXCONTRIB_FALSE=
21890 fi
21891
21892 if false; then
21893 BUILD_WXSMITH_TRUE=
21894 BUILD_WXSMITH_FALSE='#'
21895 else
21896 BUILD_WXSMITH_TRUE='#'
21897 BUILD_WXSMITH_FALSE=
21898 fi
21899
21900 if false; then
21901 BUILD_WXSMITHCONTRIB_TRUE=
21902 BUILD_WXSMITHCONTRIB_FALSE='#'
21903 else
21904 BUILD_WXSMITHCONTRIB_TRUE='#'
21905 BUILD_WXSMITHCONTRIB_FALSE=
21906 fi
21907
21908 if false; then
21909 BUILD_WXSMITHAUI_TRUE=
21910 BUILD_WXSMITHAUI_FALSE='#'
21911 else
21912 BUILD_WXSMITHAUI_TRUE='#'
21913 BUILD_WXSMITHAUI_FALSE=
21914 fi
21915
21916 if false; then
21917 BUILD_HEXEDITOR_TRUE=
21918 BUILD_HEXEDITOR_FALSE='#'
21919 else
21920 BUILD_HEXEDITOR_TRUE='#'
21921 BUILD_HEXEDITOR_FALSE=
21922 fi
21923
21924 if false; then
21925 BUILD_INCSEARCH_TRUE=
21926 BUILD_INCSEARCH_FALSE='#'
21927 else
21928 BUILD_INCSEARCH_TRUE='#'
21929 BUILD_INCSEARCH_FALSE=
21930 fi
21931
21932 if false; then
21933 BUILD_MOUSESAP_TRUE=
21934 BUILD_MOUSESAP_FALSE='#'
21935 else
21936 BUILD_MOUSESAP_TRUE='#'
21937 BUILD_MOUSESAP_FALSE=
21938 fi
21939
21940 if false; then
21941 BUILD_CCCC_TRUE=
21942 BUILD_CCCC_FALSE='#'
21943 else
21944 BUILD_CCCC_TRUE='#'
21945 BUILD_CCCC_FALSE=
21946 fi
21947
21948 if false; then
21949 BUILD_CPPCHECK_TRUE=
21950 BUILD_CPPCHECK_FALSE='#'
21951 else
21952 BUILD_CPPCHECK_TRUE='#'
21953 BUILD_CPPCHECK_FALSE=
21954 fi
21955
21956
21957
21958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which (if any) contrib plugins to build" >&5
21959 printf %s "checking which (if any) contrib plugins to build... " >&6; }
21960
21961 # Check whether --with-contrib-plugins was given.
21962 if test ${with_contrib_plugins+y}
21963 then :
21964 withval=$with_contrib_plugins; plugins="$withval"
21965 else $as_nop
21966 plugins="none"
21967 fi
21968
21969
21970 plugins=`echo $plugins | sed 's/,/ /g'`
21971 for plugin in $plugins
21972 do
21973 case "$plugin" in
21974 all|yes)
21975
21976 if true; then
21977 BUILD_AUTOVERSIONING_TRUE=
21978 BUILD_AUTOVERSIONING_FALSE='#'
21979 else
21980 BUILD_AUTOVERSIONING_TRUE='#'
21981 BUILD_AUTOVERSIONING_FALSE=
21982 fi
21983
21984 if true; then
21985 BUILD_BROWSETRACKER_TRUE=
21986 BUILD_BROWSETRACKER_FALSE='#'
21987 else
21988 BUILD_BROWSETRACKER_TRUE='#'
21989 BUILD_BROWSETRACKER_FALSE=
21990 fi
21991
21992 if true; then
21993 BUILD_BYOGAMES_TRUE=
21994 BUILD_BYOGAMES_FALSE='#'
21995 else
21996 BUILD_BYOGAMES_TRUE='#'
21997 BUILD_BYOGAMES_FALSE=
21998 fi
21999
22000 if true; then
22001 BUILD_CBKODERS_TRUE=
22002 BUILD_CBKODERS_FALSE='#'
22003 else
22004 BUILD_CBKODERS_TRUE='#'
22005 BUILD_CBKODERS_FALSE=
22006 fi
22007
22008 if true; then
22009 BUILD_CODESNIPPETS_TRUE=
22010 BUILD_CODESNIPPETS_FALSE='#'
22011 else
22012 BUILD_CODESNIPPETS_TRUE='#'
22013 BUILD_CODESNIPPETS_FALSE=
22014 fi
22015
22016 if true; then
22017 BUILD_CODESTAT_TRUE=
22018 BUILD_CODESTAT_FALSE='#'
22019 else
22020 BUILD_CODESTAT_TRUE='#'
22021 BUILD_CODESTAT_FALSE=
22022 fi
22023
22024 if true; then
22025 BUILD_COPYSTRINGS_TRUE=
22026 BUILD_COPYSTRINGS_FALSE='#'
22027 else
22028 BUILD_COPYSTRINGS_TRUE='#'
22029 BUILD_COPYSTRINGS_FALSE=
22030 fi
22031
22032 if true; then
22033 BUILD_CSCOPE_TRUE=
22034 BUILD_CSCOPE_FALSE='#'
22035 else
22036 BUILD_CSCOPE_TRUE='#'
22037 BUILD_CSCOPE_FALSE=
22038 fi
22039
22040 if true; then
22041 BUILD_DOXYBLOCKS_TRUE=
22042 BUILD_DOXYBLOCKS_FALSE='#'
22043 else
22044 BUILD_DOXYBLOCKS_TRUE='#'
22045 BUILD_DOXYBLOCKS_FALSE=
22046 fi
22047
22048 if true; then
22049 BUILD_DRAGSCROLL_TRUE=
22050 BUILD_DRAGSCROLL_FALSE='#'
22051 else
22052 BUILD_DRAGSCROLL_TRUE='#'
22053 BUILD_DRAGSCROLL_FALSE=
22054 fi
22055
22056 if true; then
22057 BUILD_EDITORCONFIG_TRUE=
22058 BUILD_EDITORCONFIG_FALSE='#'
22059 else
22060 BUILD_EDITORCONFIG_TRUE='#'
22061 BUILD_EDITORCONFIG_FALSE=
22062 fi
22063
22064 if true; then
22065 BUILD_EDITORTWEAKS_TRUE=
22066 BUILD_EDITORTWEAKS_FALSE='#'
22067 else
22068 BUILD_EDITORTWEAKS_TRUE='#'
22069 BUILD_EDITORTWEAKS_FALSE=
22070 fi
22071
22072 if true; then
22073 BUILD_ENVVARS_TRUE=
22074 BUILD_ENVVARS_FALSE='#'
22075 else
22076 BUILD_ENVVARS_TRUE='#'
22077 BUILD_ENVVARS_FALSE=
22078 fi
22079
22080 if true; then
22081 BUILD_FILEMANAGER_TRUE=
22082 BUILD_FILEMANAGER_FALSE='#'
22083 else
22084 BUILD_FILEMANAGER_TRUE='#'
22085 BUILD_FILEMANAGER_FALSE=
22086 fi
22087
22088 if true; then
22089 BUILD_HEADERFIXUP_TRUE=
22090 BUILD_HEADERFIXUP_FALSE='#'
22091 else
22092 BUILD_HEADERFIXUP_TRUE='#'
22093 BUILD_HEADERFIXUP_FALSE=
22094 fi
22095
22096 if true; then
22097 BUILD_HELP_TRUE=
22098 BUILD_HELP_FALSE='#'
22099 else
22100 BUILD_HELP_TRUE='#'
22101 BUILD_HELP_FALSE=
22102 fi
22103
22104 if true; then
22105 BUILD_KEYBINDER_TRUE=
22106 BUILD_KEYBINDER_FALSE='#'
22107 else
22108 BUILD_KEYBINDER_TRUE='#'
22109 BUILD_KEYBINDER_FALSE=
22110 fi
22111
22112 if true; then
22113 BUILD_LIBFINDER_TRUE=
22114 BUILD_LIBFINDER_FALSE='#'
22115 else
22116 BUILD_LIBFINDER_TRUE='#'
22117 BUILD_LIBFINDER_FALSE=
22118 fi
22119
22120 if true; then
22121 BUILD_NASSISHNEIDERMAN_TRUE=
22122 BUILD_NASSISHNEIDERMAN_FALSE='#'
22123 else
22124 BUILD_NASSISHNEIDERMAN_TRUE='#'
22125 BUILD_NASSISHNEIDERMAN_FALSE=
22126 fi
22127
22128 if true; then
22129 BUILD_PROJECTOPTIONSMANIPULATOR_TRUE=
22130 BUILD_PROJECTOPTIONSMANIPULATOR_FALSE='#'
22131 else
22132 BUILD_PROJECTOPTIONSMANIPULATOR_TRUE='#'
22133 BUILD_PROJECTOPTIONSMANIPULATOR_FALSE=
22134 fi
22135
22136 if true; then
22137 BUILD_PROFILER_TRUE=
22138 BUILD_PROFILER_FALSE='#'
22139 else
22140 BUILD_PROFILER_TRUE='#'
22141 BUILD_PROFILER_FALSE=
22142 fi
22143
22144 if true; then
22145 BUILD_REGEX_TRUE=
22146 BUILD_REGEX_FALSE='#'
22147 else
22148 BUILD_REGEX_TRUE='#'
22149 BUILD_REGEX_FALSE=
22150 fi
22151
22152 if true; then
22153 BUILD_REOPENEDITOR_TRUE=
22154 BUILD_REOPENEDITOR_FALSE='#'
22155 else
22156 BUILD_REOPENEDITOR_TRUE='#'
22157 BUILD_REOPENEDITOR_FALSE=
22158 fi
22159
22160 if true; then
22161 BUILD_RNDGEN_TRUE=
22162 BUILD_RNDGEN_FALSE='#'
22163 else
22164 BUILD_RNDGEN_TRUE='#'
22165 BUILD_RNDGEN_FALSE=
22166 fi
22167
22168 if true; then
22169 BUILD_CLANGD_CLIENT_TRUE=
22170 BUILD_CLANGD_CLIENT_FALSE='#'
22171 else
22172 BUILD_CLANGD_CLIENT_TRUE='#'
22173 BUILD_CLANGD_CLIENT_FALSE=
22174 fi
22175
22176 if true; then
22177 BUILD_EXPORTER_TRUE=
22178 BUILD_EXPORTER_FALSE='#'
22179 else
22180 BUILD_EXPORTER_TRUE='#'
22181 BUILD_EXPORTER_FALSE=
22182 fi
22183
22184 if true; then
22185 BUILD_SMARTINDENT_TRUE=
22186 BUILD_SMARTINDENT_FALSE='#'
22187 else
22188 BUILD_SMARTINDENT_TRUE='#'
22189 BUILD_SMARTINDENT_FALSE=
22190 fi
22191
22192 if true; then
22193 BUILD_SPELLCHECKER_TRUE=
22194 BUILD_SPELLCHECKER_FALSE='#'
22195 else
22196 BUILD_SPELLCHECKER_TRUE='#'
22197 BUILD_SPELLCHECKER_FALSE=
22198 fi
22199
22200 if true; then
22201 BUILD_SYMTAB_TRUE=
22202 BUILD_SYMTAB_FALSE='#'
22203 else
22204 BUILD_SYMTAB_TRUE='#'
22205 BUILD_SYMTAB_FALSE=
22206 fi
22207
22208 if true; then
22209 BUILD_THREADSEARCH_TRUE=
22210 BUILD_THREADSEARCH_FALSE='#'
22211 else
22212 BUILD_THREADSEARCH_TRUE='#'
22213 BUILD_THREADSEARCH_FALSE=
22214 fi
22215
22216 if true; then
22217 BUILD_TOOLSPLUS_TRUE=
22218 BUILD_TOOLSPLUS_FALSE='#'
22219 else
22220 BUILD_TOOLSPLUS_TRUE='#'
22221 BUILD_TOOLSPLUS_FALSE=
22222 fi
22223
22224 if true; then
22225 BUILD_VALGRIND_TRUE=
22226 BUILD_VALGRIND_FALSE='#'
22227 else
22228 BUILD_VALGRIND_TRUE='#'
22229 BUILD_VALGRIND_FALSE=
22230 fi
22231
22232 if true; then
22233 BUILD_WXCONTRIB_TRUE=
22234 BUILD_WXCONTRIB_FALSE='#'
22235 else
22236 BUILD_WXCONTRIB_TRUE='#'
22237 BUILD_WXCONTRIB_FALSE=
22238 fi
22239
22240 if true; then
22241 BUILD_WXSMITH_TRUE=
22242 BUILD_WXSMITH_FALSE='#'
22243 else
22244 BUILD_WXSMITH_TRUE='#'
22245 BUILD_WXSMITH_FALSE=
22246 fi
22247
22248 if true; then
22249 BUILD_WXSMITHCONTRIB_TRUE=
22250 BUILD_WXSMITHCONTRIB_FALSE='#'
22251 else
22252 BUILD_WXSMITHCONTRIB_TRUE='#'
22253 BUILD_WXSMITHCONTRIB_FALSE=
22254 fi
22255
22256 if true; then
22257 BUILD_WXSMITHAUI_TRUE=
22258 BUILD_WXSMITHAUI_FALSE='#'
22259 else
22260 BUILD_WXSMITHAUI_TRUE='#'
22261 BUILD_WXSMITHAUI_FALSE=
22262 fi
22263
22264 if true; then
22265 BUILD_HEXEDITOR_TRUE=
22266 BUILD_HEXEDITOR_FALSE='#'
22267 else
22268 BUILD_HEXEDITOR_TRUE='#'
22269 BUILD_HEXEDITOR_FALSE=
22270 fi
22271
22272 if true; then
22273 BUILD_INCSEARCH_TRUE=
22274 BUILD_INCSEARCH_FALSE='#'
22275 else
22276 BUILD_INCSEARCH_TRUE='#'
22277 BUILD_INCSEARCH_FALSE=
22278 fi
22279
22280 if true; then
22281 BUILD_MOUSESAP_TRUE=
22282 BUILD_MOUSESAP_FALSE='#'
22283 else
22284 BUILD_MOUSESAP_TRUE='#'
22285 BUILD_MOUSESAP_FALSE=
22286 fi
22287
22288 if true; then
22289 BUILD_CCCC_TRUE=
22290 BUILD_CCCC_FALSE='#'
22291 else
22292 BUILD_CCCC_TRUE='#'
22293 BUILD_CCCC_FALSE=
22294 fi
22295
22296 if true; then
22297 BUILD_CPPCHECK_TRUE=
22298 BUILD_CPPCHECK_FALSE='#'
22299 else
22300 BUILD_CPPCHECK_TRUE='#'
22301 BUILD_CPPCHECK_FALSE=
22302 fi
22303
22304
22305 ;;
22306 AutoVersioning)
22307 if true; then
22308 BUILD_AUTOVERSIONING_TRUE=
22309 BUILD_AUTOVERSIONING_FALSE='#'
22310 else
22311 BUILD_AUTOVERSIONING_TRUE='#'
22312 BUILD_AUTOVERSIONING_FALSE=
22313 fi
22314
22315 ;;
22316 BrowseTracker)
22317 if true; then
22318 BUILD_BROWSETRACKER_TRUE=
22319 BUILD_BROWSETRACKER_FALSE='#'
22320 else
22321 BUILD_BROWSETRACKER_TRUE='#'
22322 BUILD_BROWSETRACKER_FALSE=
22323 fi
22324
22325 ;;
22326 byogames)
22327 if true; then
22328 BUILD_BYOGAMES_TRUE=
22329 BUILD_BYOGAMES_FALSE='#'
22330 else
22331 BUILD_BYOGAMES_TRUE='#'
22332 BUILD_BYOGAMES_FALSE=
22333 fi
22334
22335 ;;
22336 cbkoders)
22337 if true; then
22338 BUILD_CBKODERS_TRUE=
22339 BUILD_CBKODERS_FALSE='#'
22340 else
22341 BUILD_CBKODERS_TRUE='#'
22342 BUILD_CBKODERS_FALSE=
22343 fi
22344
22345 ;;
22346 codesnippets)
22347 if true; then
22348 BUILD_CODESNIPPETS_TRUE=
22349 BUILD_CODESNIPPETS_FALSE='#'
22350 else
22351 BUILD_CODESNIPPETS_TRUE='#'
22352 BUILD_CODESNIPPETS_FALSE=
22353 fi
22354
22355 ;;
22356 codestat)
22357 if true; then
22358 BUILD_CODESTAT_TRUE=
22359 BUILD_CODESTAT_FALSE='#'
22360 else
22361 BUILD_CODESTAT_TRUE='#'
22362 BUILD_CODESTAT_FALSE=
22363 fi
22364
22365 ;;
22366 copystrings)
22367 if true; then
22368 BUILD_COPYSTRINGS_TRUE=
22369 BUILD_COPYSTRINGS_FALSE='#'
22370 else
22371 BUILD_COPYSTRINGS_TRUE='#'
22372 BUILD_COPYSTRINGS_FALSE=
22373 fi
22374
22375 ;;
22376 Cscope)
22377 if true; then
22378 BUILD_CSCOPE_TRUE=
22379 BUILD_CSCOPE_FALSE='#'
22380 else
22381 BUILD_CSCOPE_TRUE='#'
22382 BUILD_CSCOPE_FALSE=
22383 fi
22384
22385 ;;
22386 DoxyBlocks)
22387 if true; then
22388 BUILD_DOXYBLOCKS_TRUE=
22389 BUILD_DOXYBLOCKS_FALSE='#'
22390 else
22391 BUILD_DOXYBLOCKS_TRUE='#'
22392 BUILD_DOXYBLOCKS_FALSE=
22393 fi
22394
22395 ;;
22396 dragscroll)
22397 if true; then
22398 BUILD_DRAGSCROLL_TRUE=
22399 BUILD_DRAGSCROLL_FALSE='#'
22400 else
22401 BUILD_DRAGSCROLL_TRUE='#'
22402 BUILD_DRAGSCROLL_FALSE=
22403 fi
22404
22405 ;;
22406 EditorConfig)
22407 if true; then
22408 BUILD_EDITORCONFIG_TRUE=
22409 BUILD_EDITORCONFIG_FALSE='#'
22410 else
22411 BUILD_EDITORCONFIG_TRUE='#'
22412 BUILD_EDITORCONFIG_FALSE=
22413 fi
22414
22415 ;;
22416 EditorTweaks)
22417 if true; then
22418 BUILD_EDITORTWEAKS_TRUE=
22419 BUILD_EDITORTWEAKS_FALSE='#'
22420 else
22421 BUILD_EDITORTWEAKS_TRUE='#'
22422 BUILD_EDITORTWEAKS_FALSE=
22423 fi
22424
22425 ;;
22426 envvars)
22427 if true; then
22428 BUILD_ENVVARS_TRUE=
22429 BUILD_ENVVARS_FALSE='#'
22430 else
22431 BUILD_ENVVARS_TRUE='#'
22432 BUILD_ENVVARS_FALSE=
22433 fi
22434
22435 ;;
22436 FileManager)
22437 if true; then
22438 BUILD_FILEMANAGER_TRUE=
22439 BUILD_FILEMANAGER_FALSE='#'
22440 else
22441 BUILD_FILEMANAGER_TRUE='#'
22442 BUILD_FILEMANAGER_FALSE=
22443 fi
22444
22445 ;;
22446 headerfixup)
22447 if true; then
22448 BUILD_HEADERFIXUP_TRUE=
22449 BUILD_HEADERFIXUP_FALSE='#'
22450 else
22451 BUILD_HEADERFIXUP_TRUE='#'
22452 BUILD_HEADERFIXUP_FALSE=
22453 fi
22454
22455 ;;
22456 help)
22457 if true; then
22458 BUILD_HELP_TRUE=
22459 BUILD_HELP_FALSE='#'
22460 else
22461 BUILD_HELP_TRUE='#'
22462 BUILD_HELP_FALSE=
22463 fi
22464
22465 ;;
22466 keybinder)
22467 if true; then
22468 BUILD_KEYBINDER_TRUE=
22469 BUILD_KEYBINDER_FALSE='#'
22470 else
22471 BUILD_KEYBINDER_TRUE='#'
22472 BUILD_KEYBINDER_FALSE=
22473 fi
22474
22475 ;;
22476 libfinder)
22477 if true; then
22478 BUILD_LIBFINDER_TRUE=
22479 BUILD_LIBFINDER_FALSE='#'
22480 else
22481 BUILD_LIBFINDER_TRUE='#'
22482 BUILD_LIBFINDER_FALSE=
22483 fi
22484
22485 ;;
22486 NassiShneiderman)
22487 if true; then
22488 BUILD_NASSISHNEIDERMAN_TRUE=
22489 BUILD_NASSISHNEIDERMAN_FALSE='#'
22490 else
22491 BUILD_NASSISHNEIDERMAN_TRUE='#'
22492 BUILD_NASSISHNEIDERMAN_FALSE=
22493 fi
22494
22495 ;;
22496 ProjectOptionsManipulator)
22497 if true; then
22498 BUILD_PROJECTOPTIONSMANIPULATOR_TRUE=
22499 BUILD_PROJECTOPTIONSMANIPULATOR_FALSE='#'
22500 else
22501 BUILD_PROJECTOPTIONSMANIPULATOR_TRUE='#'
22502 BUILD_PROJECTOPTIONSMANIPULATOR_FALSE=
22503 fi
22504
22505 ;;
22506 profiler)
22507 if true; then
22508 BUILD_PROFILER_TRUE=
22509 BUILD_PROFILER_FALSE='#'
22510 else
22511 BUILD_PROFILER_TRUE='#'
22512 BUILD_PROFILER_FALSE=
22513 fi
22514
22515 ;;
22516 regex)
22517 if true; then
22518 BUILD_REGEX_TRUE=
22519 BUILD_REGEX_FALSE='#'
22520 else
22521 BUILD_REGEX_TRUE='#'
22522 BUILD_REGEX_FALSE=
22523 fi
22524
22525 ;;
22526 ReopenEditor)
22527 if true; then
22528 BUILD_REOPENEDITOR_TRUE=
22529 BUILD_REOPENEDITOR_FALSE='#'
22530 else
22531 BUILD_REOPENEDITOR_TRUE='#'
22532 BUILD_REOPENEDITOR_FALSE=
22533 fi
22534
22535 ;;
22536 rndgen)
22537 if true; then
22538 BUILD_RNDGEN_TRUE=
22539 BUILD_RNDGEN_FALSE='#'
22540 else
22541 BUILD_RNDGEN_TRUE='#'
22542 BUILD_RNDGEN_FALSE=
22543 fi
22544
22545 ;;
22546 clangd_client)
22547 if true; then
22548 BUILD_CLANGD_CLIENT_TRUE=
22549 BUILD_CLANGD_CLIENT_FALSE='#'
22550 else
22551 BUILD_CLANGD_CLIENT_TRUE='#'
22552 BUILD_CLANGD_CLIENT_FALSE=
22553 fi
22554
22555 ;;
22556 exporter)
22557 if true; then
22558 BUILD_EXPORTER_TRUE=
22559 BUILD_EXPORTER_FALSE='#'
22560 else
22561 BUILD_EXPORTER_TRUE='#'
22562 BUILD_EXPORTER_FALSE=
22563 fi
22564
22565 ;;
22566 smartindent)
22567 if true; then
22568 BUILD_SMARTINDENT_TRUE=
22569 BUILD_SMARTINDENT_FALSE='#'
22570 else
22571 BUILD_SMARTINDENT_TRUE='#'
22572 BUILD_SMARTINDENT_FALSE=
22573 fi
22574
22575 ;;
22576 spellchecker)
22577 if true; then
22578 BUILD_SPELLCHECKER_TRUE=
22579 BUILD_SPELLCHECKER_FALSE='#'
22580 else
22581 BUILD_SPELLCHECKER_TRUE='#'
22582 BUILD_SPELLCHECKER_FALSE=
22583 fi
22584
22585 ;;
22586 symtab)
22587 if true; then
22588 BUILD_SYMTAB_TRUE=
22589 BUILD_SYMTAB_FALSE='#'
22590 else
22591 BUILD_SYMTAB_TRUE='#'
22592 BUILD_SYMTAB_FALSE=
22593 fi
22594
22595 ;;
22596 ThreadSearch)
22597 if true; then
22598 BUILD_THREADSEARCH_TRUE=
22599 BUILD_THREADSEARCH_FALSE='#'
22600 else
22601 BUILD_THREADSEARCH_TRUE='#'
22602 BUILD_THREADSEARCH_FALSE=
22603 fi
22604
22605 ;;
22606 ToolsPlus)
22607 if true; then
22608 BUILD_TOOLSPLUS_TRUE=
22609 BUILD_TOOLSPLUS_FALSE='#'
22610 else
22611 BUILD_TOOLSPLUS_TRUE='#'
22612 BUILD_TOOLSPLUS_FALSE=
22613 fi
22614
22615 ;;
22616 Valgrind)
22617 if true; then
22618 BUILD_VALGRIND_TRUE=
22619 BUILD_VALGRIND_FALSE='#'
22620 else
22621 BUILD_VALGRIND_TRUE='#'
22622 BUILD_VALGRIND_FALSE=
22623 fi
22624
22625 ;;
22626 wxcontrib)
22627 if true; then
22628 BUILD_WXCONTRIB_TRUE=
22629 BUILD_WXCONTRIB_FALSE='#'
22630 else
22631 BUILD_WXCONTRIB_TRUE='#'
22632 BUILD_WXCONTRIB_FALSE=
22633 fi
22634
22635 ;;
22636 wxsmith)
22637 if true; then
22638 BUILD_WXSMITH_TRUE=
22639 BUILD_WXSMITH_FALSE='#'
22640 else
22641 BUILD_WXSMITH_TRUE='#'
22642 BUILD_WXSMITH_FALSE=
22643 fi
22644
22645 ;;
22646 wxsmithcontrib)
22647 if true; then
22648 BUILD_WXSMITHCONTRIB_TRUE=
22649 BUILD_WXSMITHCONTRIB_FALSE='#'
22650 else
22651 BUILD_WXSMITHCONTRIB_TRUE='#'
22652 BUILD_WXSMITHCONTRIB_FALSE=
22653 fi
22654
22655 ;;
22656 wxsmithaui)
22657 if true; then
22658 BUILD_WXSMITHAUI_TRUE=
22659 BUILD_WXSMITHAUI_FALSE='#'
22660 else
22661 BUILD_WXSMITHAUI_TRUE='#'
22662 BUILD_WXSMITHAUI_FALSE=
22663 fi
22664
22665 ;;
22666 hexeditor)
22667 if true; then
22668 BUILD_HEXEDITOR_TRUE=
22669 BUILD_HEXEDITOR_FALSE='#'
22670 else
22671 BUILD_HEXEDITOR_TRUE='#'
22672 BUILD_HEXEDITOR_FALSE=
22673 fi
22674
22675 ;;
22676 incsearch)
22677 if true; then
22678 BUILD_INCSEARCH_TRUE=
22679 BUILD_INCSEARCH_FALSE='#'
22680 else
22681 BUILD_INCSEARCH_TRUE='#'
22682 BUILD_INCSEARCH_FALSE=
22683 fi
22684
22685 ;;
22686 MouseSap)
22687 if true; then
22688 BUILD_MOUSESAP_TRUE=
22689 BUILD_MOUSESAP_FALSE='#'
22690 else
22691 BUILD_MOUSESAP_TRUE='#'
22692 BUILD_MOUSESAP_FALSE=
22693 fi
22694
22695 ;;
22696 Cccc)
22697 if true; then
22698 BUILD_CCCC_TRUE=
22699 BUILD_CCCC_FALSE='#'
22700 else
22701 BUILD_CCCC_TRUE='#'
22702 BUILD_CCCC_FALSE=
22703 fi
22704
22705 ;;
22706 CppCheck)
22707 if true; then
22708 BUILD_CPPCHECK_TRUE=
22709 BUILD_CPPCHECK_FALSE='#'
22710 else
22711 BUILD_CPPCHECK_TRUE='#'
22712 BUILD_CPPCHECK_FALSE=
22713 fi
22714
22715 ;;
22716 -AutoVersioning)
22717 if false; then
22718 BUILD_AUTOVERSIONING_TRUE=
22719 BUILD_AUTOVERSIONING_FALSE='#'
22720 else
22721 BUILD_AUTOVERSIONING_TRUE='#'
22722 BUILD_AUTOVERSIONING_FALSE=
22723 fi
22724
22725 ;;
22726 -BrowseTracker)
22727 if false; then
22728 BUILD_BROWSETRACKER_TRUE=
22729 BUILD_BROWSETRACKER_FALSE='#'
22730 else
22731 BUILD_BROWSETRACKER_TRUE='#'
22732 BUILD_BROWSETRACKER_FALSE=
22733 fi
22734
22735 ;;
22736 -byogames)
22737 if false; then
22738 BUILD_BYOGAMES_TRUE=
22739 BUILD_BYOGAMES_FALSE='#'
22740 else
22741 BUILD_BYOGAMES_TRUE='#'
22742 BUILD_BYOGAMES_FALSE=
22743 fi
22744
22745 ;;
22746 -cbkoders)
22747 if false; then
22748 BUILD_CBKODERS_TRUE=
22749 BUILD_CBKODERS_FALSE='#'
22750 else
22751 BUILD_CBKODERS_TRUE='#'
22752 BUILD_CBKODERS_FALSE=
22753 fi
22754
22755 ;;
22756 -codesnippets)
22757 if false; then
22758 BUILD_CODESNIPPETS_TRUE=
22759 BUILD_CODESNIPPETS_FALSE='#'
22760 else
22761 BUILD_CODESNIPPETS_TRUE='#'
22762 BUILD_CODESNIPPETS_FALSE=
22763 fi
22764
22765 ;;
22766 -codestat)
22767 if false; then
22768 BUILD_CODESTAT_TRUE=
22769 BUILD_CODESTAT_FALSE='#'
22770 else
22771 BUILD_CODESTAT_TRUE='#'
22772 BUILD_CODESTAT_FALSE=
22773 fi
22774
22775 ;;
22776 -copystrings)
22777 if false; then
22778 BUILD_COPYSTRINGS_TRUE=
22779 BUILD_COPYSTRINGS_FALSE='#'
22780 else
22781 BUILD_COPYSTRINGS_TRUE='#'
22782 BUILD_COPYSTRINGS_FALSE=
22783 fi
22784
22785 ;;
22786 -Cscope)
22787 if false; then
22788 BUILD_CSCOPE_TRUE=
22789 BUILD_CSCOPE_FALSE='#'
22790 else
22791 BUILD_CSCOPE_TRUE='#'
22792 BUILD_CSCOPE_FALSE=
22793 fi
22794
22795 ;;
22796 -DoxyBlocks)
22797 if false; then
22798 BUILD_DOXYBLOCKS_TRUE=
22799 BUILD_DOXYBLOCKS_FALSE='#'
22800 else
22801 BUILD_DOXYBLOCKS_TRUE='#'
22802 BUILD_DOXYBLOCKS_FALSE=
22803 fi
22804
22805 ;;
22806 -dragscroll)
22807 if false; then
22808 BUILD_DRAGSCROLL_TRUE=
22809 BUILD_DRAGSCROLL_FALSE='#'
22810 else
22811 BUILD_DRAGSCROLL_TRUE='#'
22812 BUILD_DRAGSCROLL_FALSE=
22813 fi
22814
22815 ;;
22816 -EditorConfig)
22817 if false; then
22818 BUILD_EDITORCONFIG_TRUE=
22819 BUILD_EDITORCONFIG_FALSE='#'
22820 else
22821 BUILD_EDITORCONFIG_TRUE='#'
22822 BUILD_EDITORCONFIG_FALSE=
22823 fi
22824
22825 ;;
22826 -EditorTweaks)
22827 if false; then
22828 BUILD_EDITORTWEAKS_TRUE=
22829 BUILD_EDITORTWEAKS_FALSE='#'
22830 else
22831 BUILD_EDITORTWEAKS_TRUE='#'
22832 BUILD_EDITORTWEAKS_FALSE=
22833 fi
22834
22835 ;;
22836 -envvars)
22837 if false; then
22838 BUILD_ENVVARS_TRUE=
22839 BUILD_ENVVARS_FALSE='#'
22840 else
22841 BUILD_ENVVARS_TRUE='#'
22842 BUILD_ENVVARS_FALSE=
22843 fi
22844
22845 ;;
22846 -FileManager)
22847 if false; then
22848 BUILD_FILEMANAGER_TRUE=
22849 BUILD_FILEMANAGER_FALSE='#'
22850 else
22851 BUILD_FILEMANAGER_TRUE='#'
22852 BUILD_FILEMANAGER_FALSE=
22853 fi
22854
22855 ;;
22856 -headerfixup)
22857 if false; then
22858 BUILD_HEADERFIXUP_TRUE=
22859 BUILD_HEADERFIXUP_FALSE='#'
22860 else
22861 BUILD_HEADERFIXUP_TRUE='#'
22862 BUILD_HEADERFIXUP_FALSE=
22863 fi
22864
22865 ;;
22866 -help)
22867 if false; then
22868 BUILD_HELP_TRUE=
22869 BUILD_HELP_FALSE='#'
22870 else
22871 BUILD_HELP_TRUE='#'
22872 BUILD_HELP_FALSE=
22873 fi
22874
22875 ;;
22876 -keybinder)
22877 if false; then
22878 BUILD_KEYBINDER_TRUE=
22879 BUILD_KEYBINDER_FALSE='#'
22880 else
22881 BUILD_KEYBINDER_TRUE='#'
22882 BUILD_KEYBINDER_FALSE=
22883 fi
22884
22885 ;;
22886 -libfinder)
22887 if false; then
22888 BUILD_LIBFINDER_TRUE=
22889 BUILD_LIBFINDER_FALSE='#'
22890 else
22891 BUILD_LIBFINDER_TRUE='#'
22892 BUILD_LIBFINDER_FALSE=
22893 fi
22894
22895 ;;
22896 -NassiShneiderman)
22897 if false; then
22898 BUILD_NASSISHNEIDERMAN_TRUE=
22899 BUILD_NASSISHNEIDERMAN_FALSE='#'
22900 else
22901 BUILD_NASSISHNEIDERMAN_TRUE='#'
22902 BUILD_NASSISHNEIDERMAN_FALSE=
22903 fi
22904
22905 ;;
22906 -profiler)
22907 if false; then
22908 BUILD_PROFILER_TRUE=
22909 BUILD_PROFILER_FALSE='#'
22910 else
22911 BUILD_PROFILER_TRUE='#'
22912 BUILD_PROFILER_FALSE=
22913 fi
22914
22915 ;;
22916 -regex)
22917 if false; then
22918 BUILD_REGEX_TRUE=
22919 BUILD_REGEX_FALSE='#'
22920 else
22921 BUILD_REGEX_TRUE='#'
22922 BUILD_REGEX_FALSE=
22923 fi
22924
22925 ;;
22926 -ReopenEditor)
22927 if false; then
22928 BUILD_REOPENEDITOR_TRUE=
22929 BUILD_REOPENEDITOR_FALSE='#'
22930 else
22931 BUILD_REOPENEDITOR_TRUE='#'
22932 BUILD_REOPENEDITOR_FALSE=
22933 fi
22934
22935 ;;
22936 -rndgen)
22937 if false; then
22938 BUILD_RNDGEN_TRUE=
22939 BUILD_RNDGEN_FALSE='#'
22940 else
22941 BUILD_RNDGEN_TRUE='#'
22942 BUILD_RNDGEN_FALSE=
22943 fi
22944
22945 ;;
22946 -clangd_client)
22947 if false; then
22948 BUILD_CLANGD_CLIENT_TRUE=
22949 BUILD_CLANGD_CLIENT_FALSE='#'
22950 else
22951 BUILD_CLANGD_CLIENT_TRUE='#'
22952 BUILD_CLANGD_CLIENT_FALSE=
22953 fi
22954
22955 ;;
22956 -exporter)
22957 if false; then
22958 BUILD_EXPORTER_TRUE=
22959 BUILD_EXPORTER_FALSE='#'
22960 else
22961 BUILD_EXPORTER_TRUE='#'
22962 BUILD_EXPORTER_FALSE=
22963 fi
22964
22965 ;;
22966 -smartindent)
22967 if false; then
22968 BUILD_SMARTINDENT_TRUE=
22969 BUILD_SMARTINDENT_FALSE='#'
22970 else
22971 BUILD_SMARTINDENT_TRUE='#'
22972 BUILD_SMARTINDENT_FALSE=
22973 fi
22974
22975 ;;
22976 -spellchecker)
22977 if false; then
22978 BUILD_SPELLCHECKER_TRUE=
22979 BUILD_SPELLCHECKER_FALSE='#'
22980 else
22981 BUILD_SPELLCHECKER_TRUE='#'
22982 BUILD_SPELLCHECKER_FALSE=
22983 fi
22984
22985 ;;
22986 -symtab)
22987 if false; then
22988 BUILD_SYMTAB_TRUE=
22989 BUILD_SYMTAB_FALSE='#'
22990 else
22991 BUILD_SYMTAB_TRUE='#'
22992 BUILD_SYMTAB_FALSE=
22993 fi
22994
22995 ;;
22996 -ThreadSearch)
22997 if false; then
22998 BUILD_THREADSEARCH_TRUE=
22999 BUILD_THREADSEARCH_FALSE='#'
23000 else
23001 BUILD_THREADSEARCH_TRUE='#'
23002 BUILD_THREADSEARCH_FALSE=
23003 fi
23004
23005 ;;
23006 -ToolsPlus)
23007 if false; then
23008 BUILD_TOOLSPLUS_TRUE=
23009 BUILD_TOOLSPLUS_FALSE='#'
23010 else
23011 BUILD_TOOLSPLUS_TRUE='#'
23012 BUILD_TOOLSPLUS_FALSE=
23013 fi
23014
23015 ;;
23016 -Valgrind)
23017 if false; then
23018 BUILD_VALGRIND_TRUE=
23019 BUILD_VALGRIND_FALSE='#'
23020 else
23021 BUILD_VALGRIND_TRUE='#'
23022 BUILD_VALGRIND_FALSE=
23023 fi
23024
23025 ;;
23026 -wxcontrib)
23027 if false; then
23028 BUILD_WXCONTRIB_TRUE=
23029 BUILD_WXCONTRIB_FALSE='#'
23030 else
23031 BUILD_WXCONTRIB_TRUE='#'
23032 BUILD_WXCONTRIB_FALSE=
23033 fi
23034
23035 ;;
23036 -wxsmith)
23037 if false; then
23038 BUILD_WXSMITH_TRUE=
23039 BUILD_WXSMITH_FALSE='#'
23040 else
23041 BUILD_WXSMITH_TRUE='#'
23042 BUILD_WXSMITH_FALSE=
23043 fi
23044
23045 ;;
23046 -wxsmithcontrib)
23047 if false; then
23048 BUILD_WXSMITHCONTRIB_TRUE=
23049 BUILD_WXSMITHCONTRIB_FALSE='#'
23050 else
23051 BUILD_WXSMITHCONTRIB_TRUE='#'
23052 BUILD_WXSMITHCONTRIB_FALSE=
23053 fi
23054
23055 ;;
23056 -wxsmithaui)
23057 if false; then
23058 BUILD_WXSMITHAUI_TRUE=
23059 BUILD_WXSMITHAUI_FALSE='#'
23060 else
23061 BUILD_WXSMITHAUI_TRUE='#'
23062 BUILD_WXSMITHAUI_FALSE=
23063 fi
23064
23065 ;;
23066 -hexeditor)
23067 if false; then
23068 BUILD_HEXEDITOR_TRUE=
23069 BUILD_HEXEDITOR_FALSE='#'
23070 else
23071 BUILD_HEXEDITOR_TRUE='#'
23072 BUILD_HEXEDITOR_FALSE=
23073 fi
23074
23075 ;;
23076 -incsearch)
23077 if false; then
23078 BUILD_INCSEARCH_TRUE=
23079 BUILD_INCSEARCH_FALSE='#'
23080 else
23081 BUILD_INCSEARCH_TRUE='#'
23082 BUILD_INCSEARCH_FALSE=
23083 fi
23084
23085 ;;
23086 -MouseSap)
23087 if false; then
23088 BUILD_MOUSESAP_TRUE=
23089 BUILD_MOUSESAP_FALSE='#'
23090 else
23091 BUILD_MOUSESAP_TRUE='#'
23092 BUILD_MOUSESAP_FALSE=
23093 fi
23094
23095 ;;
23096 -Cccc)
23097 if false; then
23098 BUILD_CCCC_TRUE=
23099 BUILD_CCCC_FALSE='#'
23100 else
23101 BUILD_CCCC_TRUE='#'
23102 BUILD_CCCC_FALSE=
23103 fi
23104
23105 ;;
23106 -CppCheck)
23107 if false; then
23108 BUILD_CPPCHECK_TRUE=
23109 BUILD_CPPCHECK_FALSE='#'
23110 else
23111 BUILD_CPPCHECK_TRUE='#'
23112 BUILD_CPPCHECK_FALSE=
23113 fi
23114
23115 ;;
23116 none|no)
23117 ;;
23118 *)
23119 echo
23120 echo "Error: Unknown contrib plugin $plugin." >&2
23121 echo " Note: the names are case-sensitive!" >&2
23122 echo " Try $0 --help for exact spelling." >&2
23123 exit 1
23124 ;;
23125 esac
23126 done
23127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $plugins" >&5
23128 printf "%s\n" "$plugins" >&6; }
23129
23130
23131
23132
23133
23134
23135
23136
23137
23138
23139
23140
23141
23142
23143
23144
23145
23146
23147
23148
23149
23150
23151
23152
23153
23154
23155
23156
23157
23158
23159
23160
23161
23162
23163
23164
23165
23166
23167
23168
23169
23170
23171
23172 GCC_PCH=0
23173 PCH_FLAGS=
23174 pch_default="yes"
23175 if false; then
23176 PRECOMPILE_HEADERS_TRUE=
23177 PRECOMPILE_HEADERS_FALSE='#'
23178 else
23179 PRECOMPILE_HEADERS_TRUE='#'
23180 PRECOMPILE_HEADERS_FALSE=
23181 fi
23182
23183 # Check whether --enable-pch was given.
23184 if test ${enable_pch+y}
23185 then :
23186 enableval=$enable_pch;
23187 else $as_nop
23188 enable_pch=$pch_default
23189 fi
23190
23191 if test "x$enable_pch" = "x" -o "x$enable_pch" = "xyes" ; then
23192 if test "x$GCC" = "xyes"; then
23193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the compiler supports precompiled headers" >&5
23194 printf %s "checking if the compiler supports precompiled headers... " >&6; }
23195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23196 /* end confdefs.h. */
23197
23198 int
23199 main (void)
23200 {
23201
23202 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
23203 #error "no pch support"
23204 #endif
23205 #if (__GNUC__ < 3)
23206 #error "no pch support"
23207 #endif
23208 #if (__GNUC__ == 3) && \
23209 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
23210 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
23211 #error "no pch support"
23212 #endif
23213
23214 ;
23215 return 0;
23216 }
23217 _ACEOF
23218 if ac_fn_c_try_compile "$LINENO"
23219 then :
23220
23221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23222 printf "%s\n" "yes" >&6; }
23223 GCC_PCH=1
23224 PCH_FLAGS="-DCB_PRECOMP"
23225 CPPFLAGS="${CPPFLAGS} ${PCH_FLAGS}"
23226 CXXFLAGS="${CXXFLAGS} -Winvalid-pch"
23227
23228 else $as_nop
23229
23230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23231 printf "%s\n" "no" >&6; }
23232
23233 fi
23234 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
23235 if test $GCC_PCH = 1; then
23236 PRECOMPILE_HEADERS_TRUE=
23237 PRECOMPILE_HEADERS_FALSE='#'
23238 else
23239 PRECOMPILE_HEADERS_TRUE='#'
23240 PRECOMPILE_HEADERS_FALSE=
23241 fi
23242
23243 fi
23244 fi
23245
23246
23247
23248
23249
23250 # Check whether --with-wxdir was given.
23251 if test ${with_wxdir+y}
23252 then :
23253 withval=$with_wxdir; wx_config_name="$withval/wx-config"
23254 wx_config_args="--inplace"
23255 fi
23256
23257
23258 # Check whether --with-wx-config was given.
23259 if test ${with_wx_config+y}
23260 then :
23261 withval=$with_wx_config; wx_config_name="$withval"
23262 fi
23263
23264
23265 # Check whether --with-wx-prefix was given.
23266 if test ${with_wx_prefix+y}
23267 then :
23268 withval=$with_wx_prefix; wx_config_prefix="$withval"
23269 else $as_nop
23270 wx_config_prefix=""
23271 fi
23272
23273
23274 # Check whether --with-wx-exec-prefix was given.
23275 if test ${with_wx_exec_prefix+y}
23276 then :
23277 withval=$with_wx_exec_prefix; wx_config_exec_prefix="$withval"
23278 else $as_nop
23279 wx_config_exec_prefix=""
23280 fi
23281
23282
23283
23284
23285 if test x${WX_CONFIG_NAME+set} != xset ; then
23286 WX_CONFIG_NAME=wx-config
23287 fi
23288
23289 if test "x$wx_config_name" != x ; then
23290 WX_CONFIG_NAME="$wx_config_name"
23291 fi
23292
23293 if test x$wx_config_exec_prefix != x ; then
23294 wx_config_args="$wx_config_args --exec-prefix=$wx_config_exec_prefix"
23295 WX_LOOKUP_PATH="$wx_config_exec_prefix/bin"
23296 fi
23297 if test x$wx_config_prefix != x ; then
23298 wx_config_args="$wx_config_args --prefix=$wx_config_prefix"
23299 WX_LOOKUP_PATH="$WX_LOOKUP_PATH:$wx_config_prefix/bin"
23300 fi
23301 if test "$cross_compiling" = "yes"; then
23302 wx_config_args="$wx_config_args --host=$host_alias"
23303 fi
23304
23305 if test -x "$WX_CONFIG_NAME" ; then
23306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wx-config" >&5
23307 printf %s "checking for wx-config... " >&6; }
23308 WX_CONFIG_PATH="$WX_CONFIG_NAME"
23309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
23310 printf "%s\n" "$WX_CONFIG_PATH" >&6; }
23311 else
23312 # Extract the first word of "$WX_CONFIG_NAME", so it can be a program name with args.
23313 set dummy $WX_CONFIG_NAME; ac_word=$2
23314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23315 printf %s "checking for $ac_word... " >&6; }
23316 if test ${ac_cv_path_WX_CONFIG_PATH+y}
23317 then :
23318 printf %s "(cached) " >&6
23319 else $as_nop
23320 case $WX_CONFIG_PATH in
23321 [\\/]* | ?:[\\/]*)
23322 ac_cv_path_WX_CONFIG_PATH="$WX_CONFIG_PATH" # Let the user override the test with a path.
23323 ;;
23324 *)
23325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23326 as_dummy=""$WX_LOOKUP_PATH:$PATH""
23327 for as_dir in $as_dummy
23328 do
23329 IFS=$as_save_IFS
23330 case $as_dir in #(((
23331 '') as_dir=./ ;;
23332 */) ;;
23333 *) as_dir=$as_dir/ ;;
23334 esac
23335 for ac_exec_ext in '' $ac_executable_extensions; do
23336 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
23337 ac_cv_path_WX_CONFIG_PATH="$as_dir$ac_word$ac_exec_ext"
23338 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
23339 break 2
23340 fi
23341 done
23342 done
23343 IFS=$as_save_IFS
23344
23345 test -z "$ac_cv_path_WX_CONFIG_PATH" && ac_cv_path_WX_CONFIG_PATH="no"
23346 ;;
23347 esac
23348 fi
23349 WX_CONFIG_PATH=$ac_cv_path_WX_CONFIG_PATH
23350 if test -n "$WX_CONFIG_PATH"; then
23351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
23352 printf "%s\n" "$WX_CONFIG_PATH" >&6; }
23353 else
23354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23355 printf "%s\n" "no" >&6; }
23356 fi
23357
23358
23359 fi
23360
23361 if test "$WX_CONFIG_PATH" != "no" ; then
23362 WX_VERSION=""
23363
23364 min_wx_version=3.0.0
23365 if test -z "" ; then
23366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version" >&5
23367 printf %s "checking for wxWidgets version >= $min_wx_version... " >&6; }
23368 else
23369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version ()" >&5
23370 printf %s "checking for wxWidgets version >= $min_wx_version ()... " >&6; }
23371 fi
23372
23373 WX_CONFIG_WITH_ARGS="$WX_CONFIG_PATH $wx_config_args "
23374
23375 WX_VERSION=`$WX_CONFIG_WITH_ARGS --version 2>/dev/null`
23376 wx_config_major_version=`echo $WX_VERSION | \
23377 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23378 wx_config_minor_version=`echo $WX_VERSION | \
23379 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23380 wx_config_micro_version=`echo $WX_VERSION | \
23381 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23382
23383 wx_requested_major_version=`echo $min_wx_version | \
23384 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23385 wx_requested_minor_version=`echo $min_wx_version | \
23386 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23387 wx_requested_micro_version=`echo $min_wx_version | \
23388 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23389
23390
23391 wx_ver_ok=""
23392 if test "x$WX_VERSION" != x ; then
23393 if test $wx_config_major_version -gt $wx_requested_major_version; then
23394 wx_ver_ok=yes
23395 else
23396 if test $wx_config_major_version -eq $wx_requested_major_version; then
23397 if test $wx_config_minor_version -gt $wx_requested_minor_version; then
23398 wx_ver_ok=yes
23399 else
23400 if test $wx_config_minor_version -eq $wx_requested_minor_version; then
23401 if test $wx_config_micro_version -ge $wx_requested_micro_version; then
23402 wx_ver_ok=yes
23403 fi
23404 fi
23405 fi
23406 fi
23407 fi
23408 fi
23409
23410
23411 if test -n "$wx_ver_ok"; then
23412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes (version $WX_VERSION)" >&5
23413 printf "%s\n" "yes (version $WX_VERSION)" >&6; }
23414
23415 wx_optional_libs=""
23416
23417 wx_ver_ok=""
23418 if test "x$WX_VERSION" != x ; then
23419 if test $wx_config_major_version -gt 2; then
23420 wx_ver_ok=yes
23421 else
23422 if test $wx_config_major_version -eq 2; then
23423 if test $wx_config_minor_version -gt 9; then
23424 wx_ver_ok=yes
23425 else
23426 if test $wx_config_minor_version -eq 9; then
23427 if test $wx_config_micro_version -ge 0; then
23428 wx_ver_ok=yes
23429 fi
23430 fi
23431 fi
23432 fi
23433 fi
23434 fi
23435
23436 if test -n "$wx_ver_ok" -a -n ""; then
23437 wx_optional_libs="--optional-libs "
23438 fi
23439 WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs $wx_optional_libs`
23440
23441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wxWidgets static library" >&5
23442 printf %s "checking for wxWidgets static library... " >&6; }
23443 WX_LIBS_STATIC=`$WX_CONFIG_WITH_ARGS --static --libs $wx_optional_libs 2>/dev/null`
23444 if test "x$WX_LIBS_STATIC" = "x"; then
23445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23446 printf "%s\n" "no" >&6; }
23447 else
23448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23449 printf "%s\n" "yes" >&6; }
23450 fi
23451
23452 wx_has_cppflags=""
23453 if test $wx_config_major_version -gt 2; then
23454 wx_has_cppflags=yes
23455 else
23456 if test $wx_config_major_version -eq 2; then
23457 if test $wx_config_minor_version -gt 2; then
23458 wx_has_cppflags=yes
23459 else
23460 if test $wx_config_minor_version -eq 2; then
23461 if test $wx_config_micro_version -ge 6; then
23462 wx_has_cppflags=yes
23463 fi
23464 fi
23465 fi
23466 fi
23467 fi
23468
23469 wx_has_rescomp=""
23470 if test $wx_config_major_version -gt 2; then
23471 wx_has_rescomp=yes
23472 else
23473 if test $wx_config_major_version -eq 2; then
23474 if test $wx_config_minor_version -ge 7; then
23475 wx_has_rescomp=yes
23476 fi
23477 fi
23478 fi
23479 if test "x$wx_has_rescomp" = x ; then
23480 WX_RESCOMP=
23481 else
23482 WX_RESCOMP=`$WX_CONFIG_WITH_ARGS --rescomp`
23483 fi
23484
23485 if test "x$wx_has_cppflags" = x ; then
23486 WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags `
23487 WX_CPPFLAGS=$WX_CFLAGS
23488 WX_CXXFLAGS=$WX_CFLAGS
23489
23490 WX_CFLAGS_ONLY=$WX_CFLAGS
23491 WX_CXXFLAGS_ONLY=$WX_CFLAGS
23492 else
23493 WX_CPPFLAGS=`$WX_CONFIG_WITH_ARGS --cppflags `
23494 WX_CXXFLAGS=`$WX_CONFIG_WITH_ARGS --cxxflags `
23495 WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags `
23496
23497 WX_CFLAGS_ONLY=`echo $WX_CFLAGS | sed "s@^$WX_CPPFLAGS *@@"`
23498 WX_CXXFLAGS_ONLY=`echo $WX_CXXFLAGS | sed "s@^$WX_CFLAGS *@@"`
23499 fi
23500
23501 wxWin=1
23502
23503 else
23504
23505 if test "x$WX_VERSION" = x; then
23506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23507 printf "%s\n" "no" >&6; }
23508 else
23509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no (version $WX_VERSION is not new enough)" >&5
23510 printf "%s\n" "no (version $WX_VERSION is not new enough)" >&6; }
23511 fi
23512
23513 WX_CFLAGS=""
23514 WX_CPPFLAGS=""
23515 WX_CXXFLAGS=""
23516 WX_LIBS=""
23517 WX_LIBS_STATIC=""
23518 WX_RESCOMP=""
23519
23520 if test ! -z ""; then
23521
23522 wx_error_message="
23523 The configuration you asked for $PACKAGE_NAME requires a wxWidgets
23524 build with the following settings:
23525
23526 but such build is not available.
23527
23528 To see the wxWidgets builds available on this system, please use
23529 'wx-config --list' command. To use the default build, returned by
23530 'wx-config --selected-config', use the options with their 'auto'
23531 default values."
23532
23533 fi
23534
23535 wx_error_message="
23536 The requested wxWidgets build couldn't be found.
23537 $wx_error_message
23538
23539 If you still get this error, then check that 'wx-config' is
23540 in path, the directory where wxWidgets libraries are installed
23541 (returned by 'wx-config --libs' command) is in LD_LIBRARY_PATH
23542 or equivalent variable and wxWidgets version is 3.0.0 or above."
23543
23544 as_fn_error $? "$wx_error_message" "$LINENO" 5
23545
23546 fi
23547 else
23548
23549 WX_CFLAGS=""
23550 WX_CPPFLAGS=""
23551 WX_CXXFLAGS=""
23552 WX_LIBS=""
23553 WX_LIBS_STATIC=""
23554 WX_RESCOMP=""
23555
23556 :
23557
23558 fi
23559
23560
23561
23562
23563
23564
23565
23566
23567
23568
23569
23570 WX_VERSION_MAJOR="$wx_config_major_version"
23571 WX_VERSION_MINOR="$wx_config_minor_version"
23572 WX_VERSION_MICRO="$wx_config_micro_version"
23573
23574
23575
23576
23577
23578 if test "$wxWin" != 1; then
23579 as_fn_error $? "
23580 wxWidgets must be installed on your system.
23581
23582 Please check that wx-config is in path, the directory
23583 where wxWidgets libraries are installed (returned by
23584 'wx-config --libs' or 'wx-config --static --libs' command)
23585 is in LD_LIBRARY_PATH or equivalent variable and
23586 wxWindows version is 3.0.0 or above.
23587 " "$LINENO" 5
23588 fi
23589
23590
23591
23592
23593
23594
23595
23596 WX_GTK_CFLAGS=
23597 WX_GTK_LIBS=
23598 WX_GDK_CFLAGS=
23599 WX_GDK_LIBS=
23600 WX_X11_CFLAGS=
23601 WX_X11_LIBS=
23602
23603 POSTLINK_COMMAND="@true"
23604 MACSETFILE="@true"
23605
23606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wxWidgets platform" >&5
23607 printf %s "checking for wxWidgets platform... " >&6; }
23608 WX_BASENAME=`$WX_CONFIG_WITH_ARGS --basename`
23609 case $WX_BASENAME in
23610 *wx_gtk*)
23611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: wxGTK" >&5
23612 printf "%s\n" "wxGTK" >&6; }
23613 if test "x$BUILD_FILEMANAGER_TRUE" = "x" -o \
23614 "x$BUILD_SPELLCHECKER_TRUE" = "x" -o \
23615 "x$BUILD_MOUSESAP_TRUE" = "x" -o \
23616 "x$BUILD_EXPORTER_TRUE" = "x" -o \
23617 "x$GTK_NOTEBOOK_TRUE" = "x" -o \
23618 "x$LINUX_TRUE" = "x" ; then
23619
23620 if test "x$LINUX_TRUE" = "x" ; then
23621 if test "x$HAVE_PKG_CONFIG" = "xyes"; then
23622
23623 pkg_failed=no
23624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for glib-2.0" >&5
23625 printf %s "checking for glib-2.0... " >&6; }
23626
23627 if test -n "$GLIB2_CFLAGS"; then
23628 pkg_cv_GLIB2_CFLAGS="$GLIB2_CFLAGS"
23629 elif test -n "$PKG_CONFIG"; then
23630 if test -n "$PKG_CONFIG" && \
23631 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
23632 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
23633 ac_status=$?
23634 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23635 test $ac_status = 0; }; then
23636 pkg_cv_GLIB2_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null`
23637 test "x$?" != "x0" && pkg_failed=yes
23638 else
23639 pkg_failed=yes
23640 fi
23641 else
23642 pkg_failed=untried
23643 fi
23644 if test -n "$GLIB2_LIBS"; then
23645 pkg_cv_GLIB2_LIBS="$GLIB2_LIBS"
23646 elif test -n "$PKG_CONFIG"; then
23647 if test -n "$PKG_CONFIG" && \
23648 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
23649 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
23650 ac_status=$?
23651 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23652 test $ac_status = 0; }; then
23653 pkg_cv_GLIB2_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null`
23654 test "x$?" != "x0" && pkg_failed=yes
23655 else
23656 pkg_failed=yes
23657 fi
23658 else
23659 pkg_failed=untried
23660 fi
23661
23662
23663
23664 if test $pkg_failed = yes; then
23665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23666 printf "%s\n" "no" >&6; }
23667
23668 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23669 _pkg_short_errors_supported=yes
23670 else
23671 _pkg_short_errors_supported=no
23672 fi
23673 if test $_pkg_short_errors_supported = yes; then
23674 GLIB2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0" 2>&1`
23675 else
23676 GLIB2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0" 2>&1`
23677 fi
23678 # Put the nasty error message in config.log where it belongs
23679 echo "$GLIB2_PKG_ERRORS" >&5
23680
23681 as_fn_error $? "Package requirements (glib-2.0) were not met:
23682
23683 $GLIB2_PKG_ERRORS
23684
23685 Consider adjusting the PKG_CONFIG_PATH environment variable if you
23686 installed software in a non-standard prefix.
23687
23688 Alternatively, you may set the environment variables GLIB2_CFLAGS
23689 and GLIB2_LIBS to avoid the need to call pkg-config.
23690 See the pkg-config man page for more details." "$LINENO" 5
23691 elif test $pkg_failed = untried; then
23692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23693 printf "%s\n" "no" >&6; }
23694 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23695 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
23696 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
23697 is in your PATH or set the PKG_CONFIG environment variable to the full
23698 path to pkg-config.
23699
23700 Alternatively, you may set the environment variables GLIB2_CFLAGS
23701 and GLIB2_LIBS to avoid the need to call pkg-config.
23702 See the pkg-config man page for more details.
23703
23704 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23705 See \`config.log' for more details" "$LINENO" 5; }
23706 else
23707 GLIB2_CFLAGS=$pkg_cv_GLIB2_CFLAGS
23708 GLIB2_LIBS=$pkg_cv_GLIB2_LIBS
23709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23710 printf "%s\n" "yes" >&6; }
23711
23712 fi
23713 fi
23714 fi
23715
23716 if test "x$BUILD_SPELLCHECKER_TRUE" = "x" ; then
23717 if test "x$HAVE_PKG_CONFIG" = "xyes"; then
23718
23719 pkg_failed=no
23720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for hunspell" >&5
23721 printf %s "checking for hunspell... " >&6; }
23722
23723 if test -n "$HUNSPELL_CFLAGS"; then
23724 pkg_cv_HUNSPELL_CFLAGS="$HUNSPELL_CFLAGS"
23725 elif test -n "$PKG_CONFIG"; then
23726 if test -n "$PKG_CONFIG" && \
23727 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hunspell\""; } >&5
23728 ($PKG_CONFIG --exists --print-errors "hunspell") 2>&5
23729 ac_status=$?
23730 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23731 test $ac_status = 0; }; then
23732 pkg_cv_HUNSPELL_CFLAGS=`$PKG_CONFIG --cflags "hunspell" 2>/dev/null`
23733 test "x$?" != "x0" && pkg_failed=yes
23734 else
23735 pkg_failed=yes
23736 fi
23737 else
23738 pkg_failed=untried
23739 fi
23740 if test -n "$HUNSPELL_LIBS"; then
23741 pkg_cv_HUNSPELL_LIBS="$HUNSPELL_LIBS"
23742 elif test -n "$PKG_CONFIG"; then
23743 if test -n "$PKG_CONFIG" && \
23744 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hunspell\""; } >&5
23745 ($PKG_CONFIG --exists --print-errors "hunspell") 2>&5
23746 ac_status=$?
23747 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23748 test $ac_status = 0; }; then
23749 pkg_cv_HUNSPELL_LIBS=`$PKG_CONFIG --libs "hunspell" 2>/dev/null`
23750 test "x$?" != "x0" && pkg_failed=yes
23751 else
23752 pkg_failed=yes
23753 fi
23754 else
23755 pkg_failed=untried
23756 fi
23757
23758
23759
23760 if test $pkg_failed = yes; then
23761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23762 printf "%s\n" "no" >&6; }
23763
23764 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23765 _pkg_short_errors_supported=yes
23766 else
23767 _pkg_short_errors_supported=no
23768 fi
23769 if test $_pkg_short_errors_supported = yes; then
23770 HUNSPELL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "hunspell" 2>&1`
23771 else
23772 HUNSPELL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "hunspell" 2>&1`
23773 fi
23774 # Put the nasty error message in config.log where it belongs
23775 echo "$HUNSPELL_PKG_ERRORS" >&5
23776
23777 as_fn_error $? "Package requirements (hunspell) were not met:
23778
23779 $HUNSPELL_PKG_ERRORS
23780
23781 Consider adjusting the PKG_CONFIG_PATH environment variable if you
23782 installed software in a non-standard prefix.
23783
23784 Alternatively, you may set the environment variables HUNSPELL_CFLAGS
23785 and HUNSPELL_LIBS to avoid the need to call pkg-config.
23786 See the pkg-config man page for more details." "$LINENO" 5
23787 elif test $pkg_failed = untried; then
23788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23789 printf "%s\n" "no" >&6; }
23790 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23791 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
23792 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
23793 is in your PATH or set the PKG_CONFIG environment variable to the full
23794 path to pkg-config.
23795
23796 Alternatively, you may set the environment variables HUNSPELL_CFLAGS
23797 and HUNSPELL_LIBS to avoid the need to call pkg-config.
23798 See the pkg-config man page for more details.
23799
23800 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23801 See \`config.log' for more details" "$LINENO" 5; }
23802 else
23803 HUNSPELL_CFLAGS=$pkg_cv_HUNSPELL_CFLAGS
23804 HUNSPELL_LIBS=$pkg_cv_HUNSPELL_LIBS
23805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23806 printf "%s\n" "yes" >&6; }
23807
23808 fi
23809 fi
23810 fi
23811
23812 if test "x$BUILD_MOUSESAP_TRUE" = "x" -o \
23813 "x$GTK_NOTEBOOK_TRUE" = "x" ; then
23814 if test "x$HAVE_PKG_CONFIG" = "xyes"; then
23815 case $WX_BASENAME in
23816 *wx_gtk3*)
23817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: gtk3 used" >&5
23818 printf "%s\n" "$as_me: gtk3 used" >&6;}
23819
23820 pkg_failed=no
23821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gtk+-3.0 >= 3.0.0" >&5
23822 printf %s "checking for gtk+-3.0 >= 3.0.0... " >&6; }
23823
23824 if test -n "$GTK_CFLAGS"; then
23825 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
23826 elif test -n "$PKG_CONFIG"; then
23827 if test -n "$PKG_CONFIG" && \
23828 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= 3.0.0\""; } >&5
23829 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= 3.0.0") 2>&5
23830 ac_status=$?
23831 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23832 test $ac_status = 0; }; then
23833 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= 3.0.0" 2>/dev/null`
23834 test "x$?" != "x0" && pkg_failed=yes
23835 else
23836 pkg_failed=yes
23837 fi
23838 else
23839 pkg_failed=untried
23840 fi
23841 if test -n "$GTK_LIBS"; then
23842 pkg_cv_GTK_LIBS="$GTK_LIBS"
23843 elif test -n "$PKG_CONFIG"; then
23844 if test -n "$PKG_CONFIG" && \
23845 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= 3.0.0\""; } >&5
23846 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= 3.0.0") 2>&5
23847 ac_status=$?
23848 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23849 test $ac_status = 0; }; then
23850 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= 3.0.0" 2>/dev/null`
23851 test "x$?" != "x0" && pkg_failed=yes
23852 else
23853 pkg_failed=yes
23854 fi
23855 else
23856 pkg_failed=untried
23857 fi
23858
23859
23860
23861 if test $pkg_failed = yes; then
23862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23863 printf "%s\n" "no" >&6; }
23864
23865 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23866 _pkg_short_errors_supported=yes
23867 else
23868 _pkg_short_errors_supported=no
23869 fi
23870 if test $_pkg_short_errors_supported = yes; then
23871 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0 >= 3.0.0" 2>&1`
23872 else
23873 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0 >= 3.0.0" 2>&1`
23874 fi
23875 # Put the nasty error message in config.log where it belongs
23876 echo "$GTK_PKG_ERRORS" >&5
23877
23878 as_fn_error $? "Package requirements (gtk+-3.0 >= 3.0.0) were not met:
23879
23880 $GTK_PKG_ERRORS
23881
23882 Consider adjusting the PKG_CONFIG_PATH environment variable if you
23883 installed software in a non-standard prefix.
23884
23885 Alternatively, you may set the environment variables GTK_CFLAGS
23886 and GTK_LIBS to avoid the need to call pkg-config.
23887 See the pkg-config man page for more details." "$LINENO" 5
23888 elif test $pkg_failed = untried; then
23889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23890 printf "%s\n" "no" >&6; }
23891 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23892 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
23893 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
23894 is in your PATH or set the PKG_CONFIG environment variable to the full
23895 path to pkg-config.
23896
23897 Alternatively, you may set the environment variables GTK_CFLAGS
23898 and GTK_LIBS to avoid the need to call pkg-config.
23899 See the pkg-config man page for more details.
23900
23901 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23902 See \`config.log' for more details" "$LINENO" 5; }
23903 else
23904 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
23905 GTK_LIBS=$pkg_cv_GTK_LIBS
23906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23907 printf "%s\n" "yes" >&6; }
23908
23909 fi
23910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: gdk3 used" >&5
23911 printf "%s\n" "$as_me: gdk3 used" >&6;}
23912
23913 pkg_failed=no
23914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gdk-3.0 >= 3.0.0" >&5
23915 printf %s "checking for gdk-3.0 >= 3.0.0... " >&6; }
23916
23917 if test -n "$GDK_CFLAGS"; then
23918 pkg_cv_GDK_CFLAGS="$GDK_CFLAGS"
23919 elif test -n "$PKG_CONFIG"; then
23920 if test -n "$PKG_CONFIG" && \
23921 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-3.0 >= 3.0.0\""; } >&5
23922 ($PKG_CONFIG --exists --print-errors "gdk-3.0 >= 3.0.0") 2>&5
23923 ac_status=$?
23924 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23925 test $ac_status = 0; }; then
23926 pkg_cv_GDK_CFLAGS=`$PKG_CONFIG --cflags "gdk-3.0 >= 3.0.0" 2>/dev/null`
23927 test "x$?" != "x0" && pkg_failed=yes
23928 else
23929 pkg_failed=yes
23930 fi
23931 else
23932 pkg_failed=untried
23933 fi
23934 if test -n "$GDK_LIBS"; then
23935 pkg_cv_GDK_LIBS="$GDK_LIBS"
23936 elif test -n "$PKG_CONFIG"; then
23937 if test -n "$PKG_CONFIG" && \
23938 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-3.0 >= 3.0.0\""; } >&5
23939 ($PKG_CONFIG --exists --print-errors "gdk-3.0 >= 3.0.0") 2>&5
23940 ac_status=$?
23941 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23942 test $ac_status = 0; }; then
23943 pkg_cv_GDK_LIBS=`$PKG_CONFIG --libs "gdk-3.0 >= 3.0.0" 2>/dev/null`
23944 test "x$?" != "x0" && pkg_failed=yes
23945 else
23946 pkg_failed=yes
23947 fi
23948 else
23949 pkg_failed=untried
23950 fi
23951
23952
23953
23954 if test $pkg_failed = yes; then
23955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23956 printf "%s\n" "no" >&6; }
23957
23958 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23959 _pkg_short_errors_supported=yes
23960 else
23961 _pkg_short_errors_supported=no
23962 fi
23963 if test $_pkg_short_errors_supported = yes; then
23964 GDK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gdk-3.0 >= 3.0.0" 2>&1`
23965 else
23966 GDK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gdk-3.0 >= 3.0.0" 2>&1`
23967 fi
23968 # Put the nasty error message in config.log where it belongs
23969 echo "$GDK_PKG_ERRORS" >&5
23970
23971 as_fn_error $? "Package requirements (gdk-3.0 >= 3.0.0) were not met:
23972
23973 $GDK_PKG_ERRORS
23974
23975 Consider adjusting the PKG_CONFIG_PATH environment variable if you
23976 installed software in a non-standard prefix.
23977
23978 Alternatively, you may set the environment variables GDK_CFLAGS
23979 and GDK_LIBS to avoid the need to call pkg-config.
23980 See the pkg-config man page for more details." "$LINENO" 5
23981 elif test $pkg_failed = untried; then
23982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23983 printf "%s\n" "no" >&6; }
23984 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23985 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
23986 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
23987 is in your PATH or set the PKG_CONFIG environment variable to the full
23988 path to pkg-config.
23989
23990 Alternatively, you may set the environment variables GDK_CFLAGS
23991 and GDK_LIBS to avoid the need to call pkg-config.
23992 See the pkg-config man page for more details.
23993
23994 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23995 See \`config.log' for more details" "$LINENO" 5; }
23996 else
23997 GDK_CFLAGS=$pkg_cv_GDK_CFLAGS
23998 GDK_LIBS=$pkg_cv_GDK_LIBS
23999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24000 printf "%s\n" "yes" >&6; }
24001
24002 fi
24003 ;;
24004 *wx_gtk2*)
24005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: gtk2 used" >&5
24006 printf "%s\n" "$as_me: gtk2 used" >&6;}
24007
24008 pkg_failed=no
24009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gtk+-2.0 >= 2.0.0" >&5
24010 printf %s "checking for gtk+-2.0 >= 2.0.0... " >&6; }
24011
24012 if test -n "$GTK_CFLAGS"; then
24013 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
24014 elif test -n "$PKG_CONFIG"; then
24015 if test -n "$PKG_CONFIG" && \
24016 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.0.0\""; } >&5
24017 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.0.0") 2>&5
24018 ac_status=$?
24019 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24020 test $ac_status = 0; }; then
24021 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.0.0" 2>/dev/null`
24022 test "x$?" != "x0" && pkg_failed=yes
24023 else
24024 pkg_failed=yes
24025 fi
24026 else
24027 pkg_failed=untried
24028 fi
24029 if test -n "$GTK_LIBS"; then
24030 pkg_cv_GTK_LIBS="$GTK_LIBS"
24031 elif test -n "$PKG_CONFIG"; then
24032 if test -n "$PKG_CONFIG" && \
24033 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.0.0\""; } >&5
24034 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.0.0") 2>&5
24035 ac_status=$?
24036 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24037 test $ac_status = 0; }; then
24038 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.0.0" 2>/dev/null`
24039 test "x$?" != "x0" && pkg_failed=yes
24040 else
24041 pkg_failed=yes
24042 fi
24043 else
24044 pkg_failed=untried
24045 fi
24046
24047
24048
24049 if test $pkg_failed = yes; then
24050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24051 printf "%s\n" "no" >&6; }
24052
24053 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24054 _pkg_short_errors_supported=yes
24055 else
24056 _pkg_short_errors_supported=no
24057 fi
24058 if test $_pkg_short_errors_supported = yes; then
24059 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.0.0" 2>&1`
24060 else
24061 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.0.0" 2>&1`
24062 fi
24063 # Put the nasty error message in config.log where it belongs
24064 echo "$GTK_PKG_ERRORS" >&5
24065
24066 as_fn_error $? "Package requirements (gtk+-2.0 >= 2.0.0) were not met:
24067
24068 $GTK_PKG_ERRORS
24069
24070 Consider adjusting the PKG_CONFIG_PATH environment variable if you
24071 installed software in a non-standard prefix.
24072
24073 Alternatively, you may set the environment variables GTK_CFLAGS
24074 and GTK_LIBS to avoid the need to call pkg-config.
24075 See the pkg-config man page for more details." "$LINENO" 5
24076 elif test $pkg_failed = untried; then
24077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24078 printf "%s\n" "no" >&6; }
24079 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24080 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
24081 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
24082 is in your PATH or set the PKG_CONFIG environment variable to the full
24083 path to pkg-config.
24084
24085 Alternatively, you may set the environment variables GTK_CFLAGS
24086 and GTK_LIBS to avoid the need to call pkg-config.
24087 See the pkg-config man page for more details.
24088
24089 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
24090 See \`config.log' for more details" "$LINENO" 5; }
24091 else
24092 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
24093 GTK_LIBS=$pkg_cv_GTK_LIBS
24094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24095 printf "%s\n" "yes" >&6; }
24096
24097 fi
24098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: gdk2 used" >&5
24099 printf "%s\n" "$as_me: gdk2 used" >&6;}
24100
24101 pkg_failed=no
24102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gdk-2.0 >= 2.0.0" >&5
24103 printf %s "checking for gdk-2.0 >= 2.0.0... " >&6; }
24104
24105 if test -n "$GDK_CFLAGS"; then
24106 pkg_cv_GDK_CFLAGS="$GDK_CFLAGS"
24107 elif test -n "$PKG_CONFIG"; then
24108 if test -n "$PKG_CONFIG" && \
24109 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-2.0 >= 2.0.0\""; } >&5
24110 ($PKG_CONFIG --exists --print-errors "gdk-2.0 >= 2.0.0") 2>&5
24111 ac_status=$?
24112 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24113 test $ac_status = 0; }; then
24114 pkg_cv_GDK_CFLAGS=`$PKG_CONFIG --cflags "gdk-2.0 >= 2.0.0" 2>/dev/null`
24115 test "x$?" != "x0" && pkg_failed=yes
24116 else
24117 pkg_failed=yes
24118 fi
24119 else
24120 pkg_failed=untried
24121 fi
24122 if test -n "$GDK_LIBS"; then
24123 pkg_cv_GDK_LIBS="$GDK_LIBS"
24124 elif test -n "$PKG_CONFIG"; then
24125 if test -n "$PKG_CONFIG" && \
24126 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-2.0 >= 2.0.0\""; } >&5
24127 ($PKG_CONFIG --exists --print-errors "gdk-2.0 >= 2.0.0") 2>&5
24128 ac_status=$?
24129 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24130 test $ac_status = 0; }; then
24131 pkg_cv_GDK_LIBS=`$PKG_CONFIG --libs "gdk-2.0 >= 2.0.0" 2>/dev/null`
24132 test "x$?" != "x0" && pkg_failed=yes
24133 else
24134 pkg_failed=yes
24135 fi
24136 else
24137 pkg_failed=untried
24138 fi
24139
24140
24141
24142 if test $pkg_failed = yes; then
24143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24144 printf "%s\n" "no" >&6; }
24145
24146 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24147 _pkg_short_errors_supported=yes
24148 else
24149 _pkg_short_errors_supported=no
24150 fi
24151 if test $_pkg_short_errors_supported = yes; then
24152 GDK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gdk-2.0 >= 2.0.0" 2>&1`
24153 else
24154 GDK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gdk-2.0 >= 2.0.0" 2>&1`
24155 fi
24156 # Put the nasty error message in config.log where it belongs
24157 echo "$GDK_PKG_ERRORS" >&5
24158
24159 as_fn_error $? "Package requirements (gdk-2.0 >= 2.0.0) were not met:
24160
24161 $GDK_PKG_ERRORS
24162
24163 Consider adjusting the PKG_CONFIG_PATH environment variable if you
24164 installed software in a non-standard prefix.
24165
24166 Alternatively, you may set the environment variables GDK_CFLAGS
24167 and GDK_LIBS to avoid the need to call pkg-config.
24168 See the pkg-config man page for more details." "$LINENO" 5
24169 elif test $pkg_failed = untried; then
24170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24171 printf "%s\n" "no" >&6; }
24172 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24173 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
24174 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
24175 is in your PATH or set the PKG_CONFIG environment variable to the full
24176 path to pkg-config.
24177
24178 Alternatively, you may set the environment variables GDK_CFLAGS
24179 and GDK_LIBS to avoid the need to call pkg-config.
24180 See the pkg-config man page for more details.
24181
24182 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
24183 See \`config.log' for more details" "$LINENO" 5; }
24184 else
24185 GDK_CFLAGS=$pkg_cv_GDK_CFLAGS
24186 GDK_LIBS=$pkg_cv_GDK_LIBS
24187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24188 printf "%s\n" "yes" >&6; }
24189
24190 fi
24191 ;;
24192 esac
24193 fi
24194 fi
24195
24196 if test "x$BUILD_EXPORTER_TRUE" = "x" ; then
24197 if test "x$HAVE_PKG_CONFIG" = "xyes"; then
24198
24199 pkg_failed=no
24200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fontconfig" >&5
24201 printf %s "checking for fontconfig... " >&6; }
24202
24203 if test -n "$FONTCONFIG_CFLAGS"; then
24204 pkg_cv_FONTCONFIG_CFLAGS="$FONTCONFIG_CFLAGS"
24205 elif test -n "$PKG_CONFIG"; then
24206 if test -n "$PKG_CONFIG" && \
24207 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig\""; } >&5
24208 ($PKG_CONFIG --exists --print-errors "fontconfig") 2>&5
24209 ac_status=$?
24210 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24211 test $ac_status = 0; }; then
24212 pkg_cv_FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig" 2>/dev/null`
24213 test "x$?" != "x0" && pkg_failed=yes
24214 else
24215 pkg_failed=yes
24216 fi
24217 else
24218 pkg_failed=untried
24219 fi
24220 if test -n "$FONTCONFIG_LIBS"; then
24221 pkg_cv_FONTCONFIG_LIBS="$FONTCONFIG_LIBS"
24222 elif test -n "$PKG_CONFIG"; then
24223 if test -n "$PKG_CONFIG" && \
24224 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig\""; } >&5
24225 ($PKG_CONFIG --exists --print-errors "fontconfig") 2>&5
24226 ac_status=$?
24227 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24228 test $ac_status = 0; }; then
24229 pkg_cv_FONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig" 2>/dev/null`
24230 test "x$?" != "x0" && pkg_failed=yes
24231 else
24232 pkg_failed=yes
24233 fi
24234 else
24235 pkg_failed=untried
24236 fi
24237
24238
24239
24240 if test $pkg_failed = yes; then
24241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24242 printf "%s\n" "no" >&6; }
24243
24244 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24245 _pkg_short_errors_supported=yes
24246 else
24247 _pkg_short_errors_supported=no
24248 fi
24249 if test $_pkg_short_errors_supported = yes; then
24250 FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "fontconfig" 2>&1`
24251 else
24252 FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "fontconfig" 2>&1`
24253 fi
24254 # Put the nasty error message in config.log where it belongs
24255 echo "$FONTCONFIG_PKG_ERRORS" >&5
24256
24257 as_fn_error $? "Package requirements (fontconfig) were not met:
24258
24259 $FONTCONFIG_PKG_ERRORS
24260
24261 Consider adjusting the PKG_CONFIG_PATH environment variable if you
24262 installed software in a non-standard prefix.
24263
24264 Alternatively, you may set the environment variables FONTCONFIG_CFLAGS
24265 and FONTCONFIG_LIBS to avoid the need to call pkg-config.
24266 See the pkg-config man page for more details." "$LINENO" 5
24267 elif test $pkg_failed = untried; then
24268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24269 printf "%s\n" "no" >&6; }
24270 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24271 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
24272 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
24273 is in your PATH or set the PKG_CONFIG environment variable to the full
24274 path to pkg-config.
24275
24276 Alternatively, you may set the environment variables FONTCONFIG_CFLAGS
24277 and FONTCONFIG_LIBS to avoid the need to call pkg-config.
24278 See the pkg-config man page for more details.
24279
24280 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
24281 See \`config.log' for more details" "$LINENO" 5; }
24282 else
24283 FONTCONFIG_CFLAGS=$pkg_cv_FONTCONFIG_CFLAGS
24284 FONTCONFIG_LIBS=$pkg_cv_FONTCONFIG_LIBS
24285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24286 printf "%s\n" "yes" >&6; }
24287
24288 fi
24289 fi
24290 fi
24291
24292 fi
24293
24294 if test "x$BUILD_NASSISHNEIDERMAN_TRUE" = "x" ; then
24295
24296
24297 # Check whether --with-boost was given.
24298 if test ${with_boost+y}
24299 then :
24300 withval=$with_boost;
24301 case $withval in #(
24302 no) :
24303 want_boost="no";_AX_BOOST_BASE_boost_path="" ;; #(
24304 yes) :
24305 want_boost="yes";_AX_BOOST_BASE_boost_path="" ;; #(
24306 *) :
24307 want_boost="yes";_AX_BOOST_BASE_boost_path="$withval" ;;
24308 esac
24309
24310 else $as_nop
24311 want_boost="yes"
24312 fi
24313
24314
24315
24316
24317 # Check whether --with-boost-libdir was given.
24318 if test ${with_boost_libdir+y}
24319 then :
24320 withval=$with_boost_libdir;
24321 if test -d "$withval"
24322 then :
24323 _AX_BOOST_BASE_boost_lib_path="$withval"
24324 else $as_nop
24325 as_fn_error $? "--with-boost-libdir expected directory name" "$LINENO" 5
24326 fi
24327
24328 else $as_nop
24329 _AX_BOOST_BASE_boost_lib_path=""
24330 fi
24331
24332
24333 BOOST_LDFLAGS=""
24334 BOOST_CPPFLAGS=""
24335 if test "x$want_boost" = "xyes"
24336 then :
24337
24338
24339 if test "x" = "x"
24340 then :
24341 _AX_BOOST_BASE_TONUMERICVERSION_req="1.20.0"
24342 else $as_nop
24343 _AX_BOOST_BASE_TONUMERICVERSION_req=""
24344 fi
24345 _AX_BOOST_BASE_TONUMERICVERSION_req_shorten=`expr $_AX_BOOST_BASE_TONUMERICVERSION_req : '\([0-9]*\.[0-9]*\)'`
24346 _AX_BOOST_BASE_TONUMERICVERSION_req_major=`expr $_AX_BOOST_BASE_TONUMERICVERSION_req : '\([0-9]*\)'`
24347 if test "x$_AX_BOOST_BASE_TONUMERICVERSION_req_major" = "x"
24348 then :
24349 as_fn_error $? "You should at least specify libboost major version" "$LINENO" 5
24350 fi
24351 _AX_BOOST_BASE_TONUMERICVERSION_req_minor=`expr $_AX_BOOST_BASE_TONUMERICVERSION_req : '[0-9]*\.\([0-9]*\)'`
24352 if test "x$_AX_BOOST_BASE_TONUMERICVERSION_req_minor" = "x"
24353 then :
24354 _AX_BOOST_BASE_TONUMERICVERSION_req_minor="0"
24355 fi
24356 _AX_BOOST_BASE_TONUMERICVERSION_req_sub_minor=`expr $_AX_BOOST_BASE_TONUMERICVERSION_req : '[0-9]*\.[0-9]*\.\([0-9]*\)'`
24357 if test "X$_AX_BOOST_BASE_TONUMERICVERSION_req_sub_minor" = "X"
24358 then :
24359 _AX_BOOST_BASE_TONUMERICVERSION_req_sub_minor="0"
24360 fi
24361 _AX_BOOST_BASE_TONUMERICVERSION_RET=`expr $_AX_BOOST_BASE_TONUMERICVERSION_req_major \* 100000 \+ $_AX_BOOST_BASE_TONUMERICVERSION_req_minor \* 100 \+ $_AX_BOOST_BASE_TONUMERICVERSION_req_sub_minor`
24362 WANT_BOOST_VERSION=$_AX_BOOST_BASE_TONUMERICVERSION_RET
24363
24364 succeeded=no
24365
24366
24367
24368 case ${host_cpu} in #(
24369 x86_64) :
24370 libsubdirs="lib64 libx32 lib lib64" ;; #(
24371 ppc64|s390x|sparc64|aarch64|ppc64le) :
24372 libsubdirs="lib64 lib lib64" ;; #(
24373 *) :
24374 libsubdirs="lib"
24375 ;;
24376 esac
24377
24378 case ${host_cpu} in #(
24379 i?86) :
24380 multiarch_libsubdir="lib/i386-${host_os}" ;; #(
24381 *) :
24382 multiarch_libsubdir="lib/${host_cpu}-${host_os}"
24383 ;;
24384 esac
24385
24386 if test "x$_AX_BOOST_BASE_boost_path" != "x"
24387 then :
24388
24389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for boostlib >= ($WANT_BOOST_VERSION) includes in \"$_AX_BOOST_BASE_boost_path/include\"" >&5
24390 printf %s "checking for boostlib >= ($WANT_BOOST_VERSION) includes in \"$_AX_BOOST_BASE_boost_path/include\"... " >&6; }
24391 if test -d "$_AX_BOOST_BASE_boost_path/include" && test -r "$_AX_BOOST_BASE_boost_path/include"
24392 then :
24393
24394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24395 printf "%s\n" "yes" >&6; }
24396 BOOST_CPPFLAGS="-I$_AX_BOOST_BASE_boost_path/include"
24397 for _AX_BOOST_BASE_boost_path_tmp in $multiarch_libsubdir $libsubdirs; do
24398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for boostlib >= ($WANT_BOOST_VERSION) lib path in \"$_AX_BOOST_BASE_boost_path/$_AX_BOOST_BASE_boost_path_tmp\"" >&5
24399 printf %s "checking for boostlib >= ($WANT_BOOST_VERSION) lib path in \"$_AX_BOOST_BASE_boost_path/$_AX_BOOST_BASE_boost_path_tmp\"... " >&6; }
24400 if test -d "$_AX_BOOST_BASE_boost_path/$_AX_BOOST_BASE_boost_path_tmp" && test -r "$_AX_BOOST_BASE_boost_path/$_AX_BOOST_BASE_boost_path_tmp"
24401 then :
24402
24403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24404 printf "%s\n" "yes" >&6; }
24405 BOOST_LDFLAGS="-L$_AX_BOOST_BASE_boost_path/$_AX_BOOST_BASE_boost_path_tmp";
24406 break;
24407
24408 else $as_nop
24409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24410 printf "%s\n" "no" >&6; }
24411 fi
24412 done
24413 else $as_nop
24414
24415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24416 printf "%s\n" "no" >&6; }
24417 fi
24418
24419 else $as_nop
24420
24421 if test X"$cross_compiling" = Xyes; then
24422 search_libsubdirs=$multiarch_libsubdir
24423 else
24424 search_libsubdirs="$multiarch_libsubdir $libsubdirs"
24425 fi
24426 for _AX_BOOST_BASE_boost_path_tmp in /usr /usr/local /opt /opt/local ; do
24427 if test -d "$_AX_BOOST_BASE_boost_path_tmp/include/boost" && test -r "$_AX_BOOST_BASE_boost_path_tmp/include/boost" ; then
24428 for libsubdir in $search_libsubdirs ; do
24429 if ls "$_AX_BOOST_BASE_boost_path_tmp/$libsubdir/libboost_"* >/dev/null 2>&1 ; then break; fi
24430 done
24431 BOOST_LDFLAGS="-L$_AX_BOOST_BASE_boost_path_tmp/$libsubdir"
24432 BOOST_CPPFLAGS="-I$_AX_BOOST_BASE_boost_path_tmp/include"
24433 break;
24434 fi
24435 done
24436
24437 fi
24438
24439 if test "x$_AX_BOOST_BASE_boost_lib_path" != "x"
24440 then :
24441 BOOST_LDFLAGS="-L$_AX_BOOST_BASE_boost_lib_path"
24442 fi
24443
24444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for boostlib >= ($WANT_BOOST_VERSION)" >&5
24445 printf %s "checking for boostlib >= ($WANT_BOOST_VERSION)... " >&6; }
24446 CPPFLAGS_SAVED="$CPPFLAGS"
24447 CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
24448 export CPPFLAGS
24449
24450 LDFLAGS_SAVED="$LDFLAGS"
24451 LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
24452 export LDFLAGS
24453
24454
24455 ac_ext=cpp
24456 ac_cpp='$CXXCPP $CPPFLAGS'
24457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24460
24461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24462 /* end confdefs.h. */
24463
24464 #include <boost/version.hpp>
24465
24466 int
24467 main (void)
24468 {
24469
24470 (void) ((void)sizeof(char[1 - 2*!!((BOOST_VERSION) < ($WANT_BOOST_VERSION))]));
24471
24472 ;
24473 return 0;
24474 }
24475 _ACEOF
24476 if ac_fn_cxx_try_compile "$LINENO"
24477 then :
24478
24479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24480 printf "%s\n" "yes" >&6; }
24481 succeeded=yes
24482 found_system=yes
24483
24484 fi
24485 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
24486 ac_ext=c
24487 ac_cpp='$CPP $CPPFLAGS'
24488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24491
24492
24493
24494
24495 if test "x$succeeded" != "xyes" ; then
24496 CPPFLAGS="$CPPFLAGS_SAVED"
24497 LDFLAGS="$LDFLAGS_SAVED"
24498 BOOST_CPPFLAGS=
24499 if test -z "$_AX_BOOST_BASE_boost_lib_path" ; then
24500 BOOST_LDFLAGS=
24501 fi
24502 _version=0
24503 if test -n "$_AX_BOOST_BASE_boost_path" ; then
24504 if test -d "$_AX_BOOST_BASE_boost_path" && test -r "$_AX_BOOST_BASE_boost_path"; then
24505 for i in `ls -d $_AX_BOOST_BASE_boost_path/include/boost-* 2>/dev/null`; do
24506 _version_tmp=`echo $i | sed "s#$_AX_BOOST_BASE_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'`
24507 V_CHECK=`expr $_version_tmp \> $_version`
24508 if test "x$V_CHECK" = "x1" ; then
24509 _version=$_version_tmp
24510 fi
24511 VERSION_UNDERSCORE=`echo $_version | sed 's/\./_/'`
24512 BOOST_CPPFLAGS="-I$_AX_BOOST_BASE_boost_path/include/boost-$VERSION_UNDERSCORE"
24513 done
24514 if test -z "$BOOST_CPPFLAGS"; then
24515 if test -d "$_AX_BOOST_BASE_boost_path/boost" && test -r "$_AX_BOOST_BASE_boost_path/boost"; then
24516 BOOST_CPPFLAGS="-I$_AX_BOOST_BASE_boost_path"
24517 fi
24518 fi
24519 if test -n "$BOOST_CPPFLAGS" && test -z "$BOOST_LDFLAGS"; then
24520 for libsubdir in $libsubdirs ; do
24521 if ls "$_AX_BOOST_BASE_boost_path/$libsubdir/libboost_"* >/dev/null 2>&1 ; then break; fi
24522 done
24523 BOOST_LDFLAGS="-L$_AX_BOOST_BASE_boost_path/$libsubdir"
24524 fi
24525 fi
24526 else
24527 if test "x$cross_compiling" != "xyes" ; then
24528 for _AX_BOOST_BASE_boost_path in /usr /usr/local /opt /opt/local ; do
24529 if test -d "$_AX_BOOST_BASE_boost_path" && test -r "$_AX_BOOST_BASE_boost_path" ; then
24530 for i in `ls -d $_AX_BOOST_BASE_boost_path/include/boost-* 2>/dev/null`; do
24531 _version_tmp=`echo $i | sed "s#$_AX_BOOST_BASE_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'`
24532 V_CHECK=`expr $_version_tmp \> $_version`
24533 if test "x$V_CHECK" = "x1" ; then
24534 _version=$_version_tmp
24535 best_path=$_AX_BOOST_BASE_boost_path
24536 fi
24537 done
24538 fi
24539 done
24540
24541 VERSION_UNDERSCORE=`echo $_version | sed 's/\./_/'`
24542 BOOST_CPPFLAGS="-I$best_path/include/boost-$VERSION_UNDERSCORE"
24543 if test -z "$_AX_BOOST_BASE_boost_lib_path" ; then
24544 for libsubdir in $libsubdirs ; do
24545 if ls "$best_path/$libsubdir/libboost_"* >/dev/null 2>&1 ; then break; fi
24546 done
24547 BOOST_LDFLAGS="-L$best_path/$libsubdir"
24548 fi
24549 fi
24550
24551 if test -n "$BOOST_ROOT" ; then
24552 for libsubdir in $libsubdirs ; do
24553 if ls "$BOOST_ROOT/stage/$libsubdir/libboost_"* >/dev/null 2>&1 ; then break; fi
24554 done
24555 if test -d "$BOOST_ROOT" && test -r "$BOOST_ROOT" && test -d "$BOOST_ROOT/stage/$libsubdir" && test -r "$BOOST_ROOT/stage/$libsubdir"; then
24556 version_dir=`expr //$BOOST_ROOT : '.*/\(.*\)'`
24557 stage_version=`echo $version_dir | sed 's/boost_//' | sed 's/_/./g'`
24558 stage_version_shorten=`expr $stage_version : '\([0-9]*\.[0-9]*\)'`
24559 V_CHECK=`expr $stage_version_shorten \>\= $_version`
24560 if test "x$V_CHECK" = "x1" && test -z "$_AX_BOOST_BASE_boost_lib_path" ; then
24561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: We will use a staged boost library from $BOOST_ROOT" >&5
24562 printf "%s\n" "$as_me: We will use a staged boost library from $BOOST_ROOT" >&6;}
24563 BOOST_CPPFLAGS="-I$BOOST_ROOT"
24564 BOOST_LDFLAGS="-L$BOOST_ROOT/stage/$libsubdir"
24565 fi
24566 fi
24567 fi
24568 fi
24569
24570 CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
24571 export CPPFLAGS
24572 LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
24573 export LDFLAGS
24574
24575 ac_ext=cpp
24576 ac_cpp='$CXXCPP $CPPFLAGS'
24577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24580
24581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24582 /* end confdefs.h. */
24583
24584 #include <boost/version.hpp>
24585
24586 int
24587 main (void)
24588 {
24589
24590 (void) ((void)sizeof(char[1 - 2*!!((BOOST_VERSION) < ($WANT_BOOST_VERSION))]));
24591
24592 ;
24593 return 0;
24594 }
24595 _ACEOF
24596 if ac_fn_cxx_try_compile "$LINENO"
24597 then :
24598
24599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24600 printf "%s\n" "yes" >&6; }
24601 succeeded=yes
24602 found_system=yes
24603
24604 fi
24605 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
24606 ac_ext=c
24607 ac_cpp='$CPP $CPPFLAGS'
24608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24611
24612 fi
24613
24614 if test "x$succeeded" != "xyes" ; then
24615 if test "x$_version" = "x0" ; then
24616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: We could not detect the boost libraries (version or higher). If you have a staged boost library (still not installed) please specify \$BOOST_ROOT in your environment and do not give a PATH to --with-boost option. If you are sure you have boost installed, then check your version number looking in <boost/version.hpp>. See http://randspringer.de/boost for more documentation." >&5
24617 printf "%s\n" "$as_me: We could not detect the boost libraries (version or higher). If you have a staged boost library (still not installed) please specify \$BOOST_ROOT in your environment and do not give a PATH to --with-boost option. If you are sure you have boost installed, then check your version number looking in <boost/version.hpp>. See http://randspringer.de/boost for more documentation." >&6;}
24618 else
24619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Your boost libraries seems to old (version $_version)." >&5
24620 printf "%s\n" "$as_me: Your boost libraries seems to old (version $_version)." >&6;}
24621 fi
24622 # execute ACTION-IF-NOT-FOUND (if present):
24623 :
24624 else
24625
24626 printf "%s\n" "#define HAVE_BOOST /**/" >>confdefs.h
24627
24628 # execute ACTION-IF-FOUND (if present):
24629 :
24630 fi
24631
24632 CPPFLAGS="$CPPFLAGS_SAVED"
24633 LDFLAGS="$LDFLAGS_SAVED"
24634
24635
24636 fi
24637
24638
24639
24640
24641
24642 # Check whether --with-boost-system was given.
24643 if test ${with_boost_system+y}
24644 then :
24645 withval=$with_boost_system;
24646 if test "$withval" = "no"; then
24647 want_boost="no"
24648 elif test "$withval" = "yes"; then
24649 want_boost="yes"
24650 ax_boost_user_system_lib=""
24651 else
24652 want_boost="yes"
24653 ax_boost_user_system_lib="$withval"
24654 fi
24655
24656 else $as_nop
24657 want_boost="yes"
24658
24659 fi
24660
24661
24662 if test "x$want_boost" = "xyes"; then
24663
24664
24665 CPPFLAGS_SAVED="$CPPFLAGS"
24666 CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
24667 export CPPFLAGS
24668
24669 LDFLAGS_SAVED="$LDFLAGS"
24670 LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
24671 export LDFLAGS
24672
24673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the Boost::System library is available" >&5
24674 printf %s "checking whether the Boost::System library is available... " >&6; }
24675 if test ${ax_cv_boost_system+y}
24676 then :
24677 printf %s "(cached) " >&6
24678 else $as_nop
24679 ac_ext=cpp
24680 ac_cpp='$CXXCPP $CPPFLAGS'
24681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24684
24685 CXXFLAGS_SAVE=$CXXFLAGS
24686 CXXFLAGS=
24687
24688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24689 /* end confdefs.h. */
24690 #include <boost/system/error_code.hpp>
24691 int
24692 main (void)
24693 {
24694 boost::system::error_category *a = 0;
24695 ;
24696 return 0;
24697 }
24698 _ACEOF
24699 if ac_fn_cxx_try_compile "$LINENO"
24700 then :
24701 ax_cv_boost_system=yes
24702 else $as_nop
24703 ax_cv_boost_system=no
24704 fi
24705 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
24706 CXXFLAGS=$CXXFLAGS_SAVE
24707 ac_ext=c
24708 ac_cpp='$CPP $CPPFLAGS'
24709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24712
24713
24714 fi
24715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_boost_system" >&5
24716 printf "%s\n" "$ax_cv_boost_system" >&6; }
24717 if test "x$ax_cv_boost_system" = "xyes"; then
24718
24719
24720
24721 printf "%s\n" "#define HAVE_BOOST_SYSTEM /**/" >>confdefs.h
24722
24723 BOOSTLIBDIR=`echo $BOOST_LDFLAGS | sed -e 's/[^\/]*//'`
24724
24725 LDFLAGS_SAVE=$LDFLAGS
24726 if test "x$ax_boost_user_system_lib" = "x"; then
24727 for libextension in `ls -r $BOOSTLIBDIR/libboost_system* 2>/dev/null | sed 's,.*/lib,,' | sed 's,\..*,,'` ; do
24728 ax_lib=${libextension}
24729 as_ac_Lib=`printf "%s\n" "ac_cv_lib_$ax_lib""_exit" | $as_tr_sh`
24730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for exit in -l$ax_lib" >&5
24731 printf %s "checking for exit in -l$ax_lib... " >&6; }
24732 if eval test \${$as_ac_Lib+y}
24733 then :
24734 printf %s "(cached) " >&6
24735 else $as_nop
24736 ac_check_lib_save_LIBS=$LIBS
24737 LIBS="-l$ax_lib $LIBS"
24738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24739 /* end confdefs.h. */
24740
24741 /* Override any GCC internal prototype to avoid an error.
24742 Use char because int might match the return type of a GCC
24743 builtin and then its argument prototype would still apply. */
24744 char exit ();
24745 int
24746 main (void)
24747 {
24748 return exit ();
24749 ;
24750 return 0;
24751 }
24752 _ACEOF
24753 if ac_fn_c_try_link "$LINENO"
24754 then :
24755 eval "$as_ac_Lib=yes"
24756 else $as_nop
24757 eval "$as_ac_Lib=no"
24758 fi
24759 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24760 conftest$ac_exeext conftest.$ac_ext
24761 LIBS=$ac_check_lib_save_LIBS
24762 fi
24763 eval ac_res=\$$as_ac_Lib
24764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
24765 printf "%s\n" "$ac_res" >&6; }
24766 if eval test \"x\$"$as_ac_Lib"\" = x"yes"
24767 then :
24768 BOOST_SYSTEM_LIB="-l$ax_lib"; link_system="yes"; break
24769 else $as_nop
24770 link_system="no"
24771 fi
24772
24773 done
24774 if test "x$link_system" != "xyes"; then
24775 for libextension in `ls -r $BOOSTLIBDIR/boost_system* 2>/dev/null | sed 's,.*/,,' | sed -e 's,\..*,,'` ; do
24776 ax_lib=${libextension}
24777 as_ac_Lib=`printf "%s\n" "ac_cv_lib_$ax_lib""_exit" | $as_tr_sh`
24778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for exit in -l$ax_lib" >&5
24779 printf %s "checking for exit in -l$ax_lib... " >&6; }
24780 if eval test \${$as_ac_Lib+y}
24781 then :
24782 printf %s "(cached) " >&6
24783 else $as_nop
24784 ac_check_lib_save_LIBS=$LIBS
24785 LIBS="-l$ax_lib $LIBS"
24786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24787 /* end confdefs.h. */
24788
24789 /* Override any GCC internal prototype to avoid an error.
24790 Use char because int might match the return type of a GCC
24791 builtin and then its argument prototype would still apply. */
24792 char exit ();
24793 int
24794 main (void)
24795 {
24796 return exit ();
24797 ;
24798 return 0;
24799 }
24800 _ACEOF
24801 if ac_fn_c_try_link "$LINENO"
24802 then :
24803 eval "$as_ac_Lib=yes"
24804 else $as_nop
24805 eval "$as_ac_Lib=no"
24806 fi
24807 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24808 conftest$ac_exeext conftest.$ac_ext
24809 LIBS=$ac_check_lib_save_LIBS
24810 fi
24811 eval ac_res=\$$as_ac_Lib
24812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
24813 printf "%s\n" "$ac_res" >&6; }
24814 if eval test \"x\$"$as_ac_Lib"\" = x"yes"
24815 then :
24816 BOOST_SYSTEM_LIB="-l$ax_lib"; link_system="yes"; break
24817 else $as_nop
24818 link_system="no"
24819 fi
24820
24821 done
24822 fi
24823
24824 else
24825 for ax_lib in $ax_boost_user_system_lib boost_system-$ax_boost_user_system_lib; do
24826 as_ac_Lib=`printf "%s\n" "ac_cv_lib_$ax_lib""_exit" | $as_tr_sh`
24827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for exit in -l$ax_lib" >&5
24828 printf %s "checking for exit in -l$ax_lib... " >&6; }
24829 if eval test \${$as_ac_Lib+y}
24830 then :
24831 printf %s "(cached) " >&6
24832 else $as_nop
24833 ac_check_lib_save_LIBS=$LIBS
24834 LIBS="-l$ax_lib $LIBS"
24835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24836 /* end confdefs.h. */
24837
24838 /* Override any GCC internal prototype to avoid an error.
24839 Use char because int might match the return type of a GCC
24840 builtin and then its argument prototype would still apply. */
24841 char exit ();
24842 int
24843 main (void)
24844 {
24845 return exit ();
24846 ;
24847 return 0;
24848 }
24849 _ACEOF
24850 if ac_fn_c_try_link "$LINENO"
24851 then :
24852 eval "$as_ac_Lib=yes"
24853 else $as_nop
24854 eval "$as_ac_Lib=no"
24855 fi
24856 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24857 conftest$ac_exeext conftest.$ac_ext
24858 LIBS=$ac_check_lib_save_LIBS
24859 fi
24860 eval ac_res=\$$as_ac_Lib
24861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
24862 printf "%s\n" "$ac_res" >&6; }
24863 if eval test \"x\$"$as_ac_Lib"\" = x"yes"
24864 then :
24865 BOOST_SYSTEM_LIB="-l$ax_lib"; link_system="yes"; break
24866 else $as_nop
24867 link_system="no"
24868 fi
24869
24870 done
24871
24872 fi
24873 if test "x$ax_lib" = "x"; then
24874 as_fn_error $? "Could not find a version of the library!" "$LINENO" 5
24875 fi
24876 if test "x$link_system" = "xno"; then
24877 as_fn_error $? "Could not link against $ax_lib !" "$LINENO" 5
24878 fi
24879 fi
24880
24881 CPPFLAGS="$CPPFLAGS_SAVED"
24882 LDFLAGS="$LDFLAGS_SAVED"
24883 fi
24884
24885 fi
24886
24887 CB_GLIB2_CFLAGS="$GLIB2_CFLAGS"
24888 CB_GLIB2_LIBS="$GLIB2_LIBS"
24889 CB_HUNSPELL_CFLAGS="$HUNSPELL_CFLAGS"
24890 CB_HUNSPELL_LIBS="$HUNSPELL_LIBS"
24891 CB_FONTCONFIG_CFLAGS="$FONTCONFIG_CFLAGS"
24892 CB_FONTCONFIG_LIBS="$FONTCONFIG_LIBS"
24893 WX_GTK_CFLAGS="$GTK_CFLAGS"
24894 WX_GTK_LIBS="$GTK_LIBS"
24895 WX_GDK_CFLAGS="$GDK_CFLAGS"
24896 WX_GDK_LIBS="$GDK_LIBS"
24897
24898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
24899 printf %s "checking for X... " >&6; }
24900
24901
24902 # Check whether --with-x was given.
24903 if test ${with_x+y}
24904 then :
24905 withval=$with_x;
24906 fi
24907
24908 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24909 if test "x$with_x" = xno; then
24910 # The user explicitly disabled X.
24911 have_x=disabled
24912 else
24913 case $x_includes,$x_libraries in #(
24914 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
24915 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
24916 then :
24917 printf %s "(cached) " >&6
24918 else $as_nop
24919 # One or both of the vars are not set, and there is no cached value.
24920 ac_x_includes=no
24921 ac_x_libraries=no
24922 # Do we need to do anything special at all?
24923 ac_save_LIBS=$LIBS
24924 LIBS="-lX11 $LIBS"
24925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24926 /* end confdefs.h. */
24927 #include <X11/Xlib.h>
24928 int
24929 main (void)
24930 {
24931 XrmInitialize ()
24932 ;
24933 return 0;
24934 }
24935 _ACEOF
24936 if ac_fn_c_try_link "$LINENO"
24937 then :
24938 # We can compile and link X programs with no special options.
24939 ac_x_includes=
24940 ac_x_libraries=
24941 fi
24942 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24943 conftest$ac_exeext conftest.$ac_ext
24944 LIBS="$ac_save_LIBS"
24945 # If that didn't work, only try xmkmf and file system searches
24946 # for native compilation.
24947 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
24948 then :
24949 rm -f -r conftest.dir
24950 if mkdir conftest.dir; then
24951 cd conftest.dir
24952 cat >Imakefile <<'_ACEOF'
24953 incroot:
24954 @echo incroot='${INCROOT}'
24955 usrlibdir:
24956 @echo usrlibdir='${USRLIBDIR}'
24957 libdir:
24958 @echo libdir='${LIBDIR}'
24959 _ACEOF
24960 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
24961 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
24962 for ac_var in incroot usrlibdir libdir; do
24963 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
24964 done
24965 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24966 for ac_extension in a so sl dylib la dll; do
24967 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
24968 test -f "$ac_im_libdir/libX11.$ac_extension"; then
24969 ac_im_usrlibdir=$ac_im_libdir; break
24970 fi
24971 done
24972 # Screen out bogus values from the imake configuration. They are
24973 # bogus both because they are the default anyway, and because
24974 # using them would break gcc on systems where it needs fixed includes.
24975 case $ac_im_incroot in
24976 /usr/include) ac_x_includes= ;;
24977 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
24978 esac
24979 case $ac_im_usrlibdir in
24980 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
24981 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
24982 esac
24983 fi
24984 cd ..
24985 rm -f -r conftest.dir
24986 fi
24987
24988 # Standard set of common directories for X headers.
24989 # Check X11 before X11Rn because it is often a symlink to the current release.
24990 ac_x_header_dirs='
24991 /usr/X11/include
24992 /usr/X11R7/include
24993 /usr/X11R6/include
24994 /usr/X11R5/include
24995 /usr/X11R4/include
24996
24997 /usr/include/X11
24998 /usr/include/X11R7
24999 /usr/include/X11R6
25000 /usr/include/X11R5
25001 /usr/include/X11R4
25002
25003 /usr/local/X11/include
25004 /usr/local/X11R7/include
25005 /usr/local/X11R6/include
25006 /usr/local/X11R5/include
25007 /usr/local/X11R4/include
25008
25009 /usr/local/include/X11
25010 /usr/local/include/X11R7
25011 /usr/local/include/X11R6
25012 /usr/local/include/X11R5
25013 /usr/local/include/X11R4
25014
25015 /opt/X11/include
25016
25017 /usr/X386/include
25018 /usr/x386/include
25019 /usr/XFree86/include/X11
25020
25021 /usr/include
25022 /usr/local/include
25023 /usr/unsupported/include
25024 /usr/athena/include
25025 /usr/local/x11r5/include
25026 /usr/lpp/Xamples/include
25027
25028 /usr/openwin/include
25029 /usr/openwin/share/include'
25030
25031 if test "$ac_x_includes" = no; then
25032 # Guess where to find include files, by looking for Xlib.h.
25033 # First, try using that file with no special directory specified.
25034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25035 /* end confdefs.h. */
25036 #include <X11/Xlib.h>
25037 _ACEOF
25038 if ac_fn_c_try_cpp "$LINENO"
25039 then :
25040 # We can compile using X headers with no special include directory.
25041 ac_x_includes=
25042 else $as_nop
25043 for ac_dir in $ac_x_header_dirs; do
25044 if test -r "$ac_dir/X11/Xlib.h"; then
25045 ac_x_includes=$ac_dir
25046 break
25047 fi
25048 done
25049 fi
25050 rm -f conftest.err conftest.i conftest.$ac_ext
25051 fi # $ac_x_includes = no
25052
25053 if test "$ac_x_libraries" = no; then
25054 # Check for the libraries.
25055 # See if we find them without any special options.
25056 # Don't add to $LIBS permanently.
25057 ac_save_LIBS=$LIBS
25058 LIBS="-lX11 $LIBS"
25059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25060 /* end confdefs.h. */
25061 #include <X11/Xlib.h>
25062 int
25063 main (void)
25064 {
25065 XrmInitialize ()
25066 ;
25067 return 0;
25068 }
25069 _ACEOF
25070 if ac_fn_c_try_link "$LINENO"
25071 then :
25072 LIBS=$ac_save_LIBS
25073 # We can link X programs with no special library path.
25074 ac_x_libraries=
25075 else $as_nop
25076 LIBS=$ac_save_LIBS
25077 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
25078 do
25079 # Don't even attempt the hair of trying to link an X program!
25080 for ac_extension in a so sl dylib la dll; do
25081 if test -r "$ac_dir/libX11.$ac_extension"; then
25082 ac_x_libraries=$ac_dir
25083 break 2
25084 fi
25085 done
25086 done
25087 fi
25088 rm -f core conftest.err conftest.$ac_objext conftest.beam \
25089 conftest$ac_exeext conftest.$ac_ext
25090 fi # $ac_x_libraries = no
25091
25092 fi
25093 # Record the results.
25094 case $ac_x_includes,$ac_x_libraries in #(
25095 no,* | *,no | *\'*) :
25096 # Didn't find X, or a directory has "'" in its name.
25097 ac_cv_have_x="have_x=no" ;; #(
25098 *) :
25099 # Record where we found X for the cache.
25100 ac_cv_have_x="have_x=yes\
25101 ac_x_includes='$ac_x_includes'\
25102 ac_x_libraries='$ac_x_libraries'" ;;
25103 esac
25104 fi
25105 ;; #(
25106 *) have_x=yes;;
25107 esac
25108 eval "$ac_cv_have_x"
25109 fi # $with_x != no
25110
25111 if test "$have_x" != yes; then
25112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
25113 printf "%s\n" "$have_x" >&6; }
25114 no_x=yes
25115 else
25116 # If each of the values was on the command line, it overrides each guess.
25117 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
25118 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
25119 # Update the cache value to reflect the command line values.
25120 ac_cv_have_x="have_x=yes\
25121 ac_x_includes='$x_includes'\
25122 ac_x_libraries='$x_libraries'"
25123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
25124 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
25125 fi
25126
25127 if test "$no_x" = yes; then
25128 # Not all programs may use this symbol, but it does not hurt to define it.
25129
25130 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
25131
25132 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
25133 else
25134 if test -n "$x_includes"; then
25135 X_CFLAGS="$X_CFLAGS -I$x_includes"
25136 fi
25137
25138 # It would also be nice to do this for all -L options, not just this one.
25139 if test -n "$x_libraries"; then
25140 X_LIBS="$X_LIBS -L$x_libraries"
25141 # For Solaris; some versions of Sun CC require a space after -R and
25142 # others require no space. Words are not sufficient . . . .
25143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
25144 printf %s "checking whether -R must be followed by a space... " >&6; }
25145 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
25146 ac_xsave_c_werror_flag=$ac_c_werror_flag
25147 ac_c_werror_flag=yes
25148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25149 /* end confdefs.h. */
25150
25151 int
25152 main (void)
25153 {
25154
25155 ;
25156 return 0;
25157 }
25158 _ACEOF
25159 if ac_fn_c_try_link "$LINENO"
25160 then :
25161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25162 printf "%s\n" "no" >&6; }
25163 X_LIBS="$X_LIBS -R$x_libraries"
25164 else $as_nop
25165 LIBS="$ac_xsave_LIBS -R $x_libraries"
25166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25167 /* end confdefs.h. */
25168
25169 int
25170 main (void)
25171 {
25172
25173 ;
25174 return 0;
25175 }
25176 _ACEOF
25177 if ac_fn_c_try_link "$LINENO"
25178 then :
25179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25180 printf "%s\n" "yes" >&6; }
25181 X_LIBS="$X_LIBS -R $x_libraries"
25182 else $as_nop
25183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
25184 printf "%s\n" "neither works" >&6; }
25185 fi
25186 rm -f core conftest.err conftest.$ac_objext conftest.beam \
25187 conftest$ac_exeext conftest.$ac_ext
25188 fi
25189 rm -f core conftest.err conftest.$ac_objext conftest.beam \
25190 conftest$ac_exeext conftest.$ac_ext
25191 ac_c_werror_flag=$ac_xsave_c_werror_flag
25192 LIBS=$ac_xsave_LIBS
25193 fi
25194
25195 # Check for system-dependent libraries X programs must link with.
25196 # Do this before checking for the system-independent R6 libraries
25197 # (-lICE), since we may need -lsocket or whatever for X linking.
25198
25199 if test "$ISC" = yes; then
25200 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
25201 else
25202 # Martyn Johnson says this is needed for Ultrix, if the X
25203 # libraries were built with DECnet support. And Karl Berry says
25204 # the Alpha needs dnet_stub (dnet does not exist).
25205 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
25206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25207 /* end confdefs.h. */
25208
25209 /* Override any GCC internal prototype to avoid an error.
25210 Use char because int might match the return type of a GCC
25211 builtin and then its argument prototype would still apply. */
25212 char XOpenDisplay ();
25213 int
25214 main (void)
25215 {
25216 return XOpenDisplay ();
25217 ;
25218 return 0;
25219 }
25220 _ACEOF
25221 if ac_fn_c_try_link "$LINENO"
25222 then :
25223
25224 else $as_nop
25225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
25226 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
25227 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
25228 then :
25229 printf %s "(cached) " >&6
25230 else $as_nop
25231 ac_check_lib_save_LIBS=$LIBS
25232 LIBS="-ldnet $LIBS"
25233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25234 /* end confdefs.h. */
25235
25236 /* Override any GCC internal prototype to avoid an error.
25237 Use char because int might match the return type of a GCC
25238 builtin and then its argument prototype would still apply. */
25239 char dnet_ntoa ();
25240 int
25241 main (void)
25242 {
25243 return dnet_ntoa ();
25244 ;
25245 return 0;
25246 }
25247 _ACEOF
25248 if ac_fn_c_try_link "$LINENO"
25249 then :
25250 ac_cv_lib_dnet_dnet_ntoa=yes
25251 else $as_nop
25252 ac_cv_lib_dnet_dnet_ntoa=no
25253 fi
25254 rm -f core conftest.err conftest.$ac_objext conftest.beam \
25255 conftest$ac_exeext conftest.$ac_ext
25256 LIBS=$ac_check_lib_save_LIBS
25257 fi
25258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25259 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
25260 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
25261 then :
25262 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
25263 fi
25264
25265 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
25266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
25267 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
25268 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
25269 then :
25270 printf %s "(cached) " >&6
25271 else $as_nop
25272 ac_check_lib_save_LIBS=$LIBS
25273 LIBS="-ldnet_stub $LIBS"
25274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25275 /* end confdefs.h. */
25276
25277 /* Override any GCC internal prototype to avoid an error.
25278 Use char because int might match the return type of a GCC
25279 builtin and then its argument prototype would still apply. */
25280 char dnet_ntoa ();
25281 int
25282 main (void)
25283 {
25284 return dnet_ntoa ();
25285 ;
25286 return 0;
25287 }
25288 _ACEOF
25289 if ac_fn_c_try_link "$LINENO"
25290 then :
25291 ac_cv_lib_dnet_stub_dnet_ntoa=yes
25292 else $as_nop
25293 ac_cv_lib_dnet_stub_dnet_ntoa=no
25294 fi
25295 rm -f core conftest.err conftest.$ac_objext conftest.beam \
25296 conftest$ac_exeext conftest.$ac_ext
25297 LIBS=$ac_check_lib_save_LIBS
25298 fi
25299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25300 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
25301 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
25302 then :
25303 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
25304 fi
25305
25306 fi
25307 fi
25308 rm -f core conftest.err conftest.$ac_objext conftest.beam \
25309 conftest$ac_exeext conftest.$ac_ext
25310 LIBS="$ac_xsave_LIBS"
25311
25312 # [email protected] says -lnsl (and -lsocket) are needed for his 386/AT,
25313 # to get the SysV transport functions.
25314 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25315 # needs -lnsl.
25316 # The nsl library prevents programs from opening the X display
25317 # on Irix 5.2, according to T.E. Dickey.
25318 # The functions gethostbyname, getservbyname, and inet_addr are
25319 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25320 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
25321 if test "x$ac_cv_func_gethostbyname" = xyes
25322 then :
25323
25324 fi
25325
25326 if test $ac_cv_func_gethostbyname = no; then
25327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
25328 printf %s "checking for gethostbyname in -lnsl... " >&6; }
25329 if test ${ac_cv_lib_nsl_gethostbyname+y}
25330 then :
25331 printf %s "(cached) " >&6
25332 else $as_nop
25333 ac_check_lib_save_LIBS=$LIBS
25334 LIBS="-lnsl $LIBS"
25335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25336 /* end confdefs.h. */
25337
25338 /* Override any GCC internal prototype to avoid an error.
25339 Use char because int might match the return type of a GCC
25340 builtin and then its argument prototype would still apply. */
25341 char gethostbyname ();
25342 int
25343 main (void)
25344 {
25345 return gethostbyname ();
25346 ;
25347 return 0;
25348 }
25349 _ACEOF
25350 if ac_fn_c_try_link "$LINENO"
25351 then :
25352 ac_cv_lib_nsl_gethostbyname=yes
25353 else $as_nop
25354 ac_cv_lib_nsl_gethostbyname=no
25355 fi
25356 rm -f core conftest.err conftest.$ac_objext conftest.beam \
25357 conftest$ac_exeext conftest.$ac_ext
25358 LIBS=$ac_check_lib_save_LIBS
25359 fi
25360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
25361 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
25362 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
25363 then :
25364 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
25365 fi
25366
25367 if test $ac_cv_lib_nsl_gethostbyname = no; then
25368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
25369 printf %s "checking for gethostbyname in -lbsd... " >&6; }
25370 if test ${ac_cv_lib_bsd_gethostbyname+y}
25371 then :
25372 printf %s "(cached) " >&6
25373 else $as_nop
25374 ac_check_lib_save_LIBS=$LIBS
25375 LIBS="-lbsd $LIBS"
25376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25377 /* end confdefs.h. */
25378
25379 /* Override any GCC internal prototype to avoid an error.
25380 Use char because int might match the return type of a GCC
25381 builtin and then its argument prototype would still apply. */
25382 char gethostbyname ();
25383 int
25384 main (void)
25385 {
25386 return gethostbyname ();
25387 ;
25388 return 0;
25389 }
25390 _ACEOF
25391 if ac_fn_c_try_link "$LINENO"
25392 then :
25393 ac_cv_lib_bsd_gethostbyname=yes
25394 else $as_nop
25395 ac_cv_lib_bsd_gethostbyname=no
25396 fi
25397 rm -f core conftest.err conftest.$ac_objext conftest.beam \
25398 conftest$ac_exeext conftest.$ac_ext
25399 LIBS=$ac_check_lib_save_LIBS
25400 fi
25401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
25402 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
25403 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
25404 then :
25405 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
25406 fi
25407
25408 fi
25409 fi
25410
25411 # [email protected] says without -lsocket,
25412 # socket/setsockopt and other routines are undefined under SCO ODT
25413 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25414 # on later versions), says Simon Leinen: it contains gethostby*
25415 # variants that don't use the name server (or something). -lsocket
25416 # must be given before -lnsl if both are needed. We assume that
25417 # if connect needs -lnsl, so does gethostbyname.
25418 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
25419 if test "x$ac_cv_func_connect" = xyes
25420 then :
25421
25422 fi
25423
25424 if test $ac_cv_func_connect = no; then
25425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
25426 printf %s "checking for connect in -lsocket... " >&6; }
25427 if test ${ac_cv_lib_socket_connect+y}
25428 then :
25429 printf %s "(cached) " >&6
25430 else $as_nop
25431 ac_check_lib_save_LIBS=$LIBS
25432 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
25433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25434 /* end confdefs.h. */
25435
25436 /* Override any GCC internal prototype to avoid an error.
25437 Use char because int might match the return type of a GCC
25438 builtin and then its argument prototype would still apply. */
25439 char connect ();
25440 int
25441 main (void)
25442 {
25443 return connect ();
25444 ;
25445 return 0;
25446 }
25447 _ACEOF
25448 if ac_fn_c_try_link "$LINENO"
25449 then :
25450 ac_cv_lib_socket_connect=yes
25451 else $as_nop
25452 ac_cv_lib_socket_connect=no
25453 fi
25454 rm -f core conftest.err conftest.$ac_objext conftest.beam \
25455 conftest$ac_exeext conftest.$ac_ext
25456 LIBS=$ac_check_lib_save_LIBS
25457 fi
25458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
25459 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
25460 if test "x$ac_cv_lib_socket_connect" = xyes
25461 then :
25462 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
25463 fi
25464
25465 fi
25466
25467 # Guillermo Gomez says -lposix is necessary on A/UX.
25468 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
25469 if test "x$ac_cv_func_remove" = xyes
25470 then :
25471
25472 fi
25473
25474 if test $ac_cv_func_remove = no; then
25475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
25476 printf %s "checking for remove in -lposix... " >&6; }
25477 if test ${ac_cv_lib_posix_remove+y}
25478 then :
25479 printf %s "(cached) " >&6
25480 else $as_nop
25481 ac_check_lib_save_LIBS=$LIBS
25482 LIBS="-lposix $LIBS"
25483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25484 /* end confdefs.h. */
25485
25486 /* Override any GCC internal prototype to avoid an error.
25487 Use char because int might match the return type of a GCC
25488 builtin and then its argument prototype would still apply. */
25489 char remove ();
25490 int
25491 main (void)
25492 {
25493 return remove ();
25494 ;
25495 return 0;
25496 }
25497 _ACEOF
25498 if ac_fn_c_try_link "$LINENO"
25499 then :
25500 ac_cv_lib_posix_remove=yes
25501 else $as_nop
25502 ac_cv_lib_posix_remove=no
25503 fi
25504 rm -f core conftest.err conftest.$ac_objext conftest.beam \
25505 conftest$ac_exeext conftest.$ac_ext
25506 LIBS=$ac_check_lib_save_LIBS
25507 fi
25508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
25509 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
25510 if test "x$ac_cv_lib_posix_remove" = xyes
25511 then :
25512 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
25513 fi
25514
25515 fi
25516
25517 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25518 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
25519 if test "x$ac_cv_func_shmat" = xyes
25520 then :
25521
25522 fi
25523
25524 if test $ac_cv_func_shmat = no; then
25525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
25526 printf %s "checking for shmat in -lipc... " >&6; }
25527 if test ${ac_cv_lib_ipc_shmat+y}
25528 then :
25529 printf %s "(cached) " >&6
25530 else $as_nop
25531 ac_check_lib_save_LIBS=$LIBS
25532 LIBS="-lipc $LIBS"
25533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25534 /* end confdefs.h. */
25535
25536 /* Override any GCC internal prototype to avoid an error.
25537 Use char because int might match the return type of a GCC
25538 builtin and then its argument prototype would still apply. */
25539 char shmat ();
25540 int
25541 main (void)
25542 {
25543 return shmat ();
25544 ;
25545 return 0;
25546 }
25547 _ACEOF
25548 if ac_fn_c_try_link "$LINENO"
25549 then :
25550 ac_cv_lib_ipc_shmat=yes
25551 else $as_nop
25552 ac_cv_lib_ipc_shmat=no
25553 fi
25554 rm -f core conftest.err conftest.$ac_objext conftest.beam \
25555 conftest$ac_exeext conftest.$ac_ext
25556 LIBS=$ac_check_lib_save_LIBS
25557 fi
25558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
25559 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
25560 if test "x$ac_cv_lib_ipc_shmat" = xyes
25561 then :
25562 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
25563 fi
25564
25565 fi
25566 fi
25567
25568 # Check for libraries that X11R6 Xt/Xaw programs need.
25569 ac_save_LDFLAGS=$LDFLAGS
25570 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
25571 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25572 # check for ICE first), but we must link in the order -lSM -lICE or
25573 # we get undefined symbols. So assume we have SM if we have ICE.
25574 # These have to be linked with before -lX11, unlike the other
25575 # libraries we check for below, so use a different variable.
25576 # John Interrante, Karl Berry
25577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
25578 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
25579 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
25580 then :
25581 printf %s "(cached) " >&6
25582 else $as_nop
25583 ac_check_lib_save_LIBS=$LIBS
25584 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
25585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25586 /* end confdefs.h. */
25587
25588 /* Override any GCC internal prototype to avoid an error.
25589 Use char because int might match the return type of a GCC
25590 builtin and then its argument prototype would still apply. */
25591 char IceConnectionNumber ();
25592 int
25593 main (void)
25594 {
25595 return IceConnectionNumber ();
25596 ;
25597 return 0;
25598 }
25599 _ACEOF
25600 if ac_fn_c_try_link "$LINENO"
25601 then :
25602 ac_cv_lib_ICE_IceConnectionNumber=yes
25603 else $as_nop
25604 ac_cv_lib_ICE_IceConnectionNumber=no
25605 fi
25606 rm -f core conftest.err conftest.$ac_objext conftest.beam \
25607 conftest$ac_exeext conftest.$ac_ext
25608 LIBS=$ac_check_lib_save_LIBS
25609 fi
25610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25611 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
25612 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
25613 then :
25614 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
25615 fi
25616
25617 LDFLAGS=$ac_save_LDFLAGS
25618
25619 fi
25620
25621 WX_X11_CFLAGS="`echo $X_CFLAGS | sed 's/ -INONE//'`"
25622 WX_X11_LIBS="`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`"
25623 if test "$no_x" != yes; then
25624 WX_X11_LIBS="$WX_X11_LIBS -lX11 $X_EXTRA_LIBS"
25625 fi
25626 ;;
25627 *wx_msw*)
25628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: wxMSW" >&5
25629 printf "%s\n" "wxMSW" >&6; }
25630
25631 if test -n "$ac_tool_prefix"; then
25632 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
25633 set dummy ${ac_tool_prefix}windres; ac_word=$2
25634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25635 printf %s "checking for $ac_word... " >&6; }
25636 if test ${ac_cv_prog_WINDRES+y}
25637 then :
25638 printf %s "(cached) " >&6
25639 else $as_nop
25640 if test -n "$WINDRES"; then
25641 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
25642 else
25643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25644 for as_dir in $PATH
25645 do
25646 IFS=$as_save_IFS
25647 case $as_dir in #(((
25648 '') as_dir=./ ;;
25649 */) ;;
25650 *) as_dir=$as_dir/ ;;
25651 esac
25652 for ac_exec_ext in '' $ac_executable_extensions; do
25653 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
25654 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
25655 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
25656 break 2
25657 fi
25658 done
25659 done
25660 IFS=$as_save_IFS
25661
25662 fi
25663 fi
25664 WINDRES=$ac_cv_prog_WINDRES
25665 if test -n "$WINDRES"; then
25666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
25667 printf "%s\n" "$WINDRES" >&6; }
25668 else
25669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25670 printf "%s\n" "no" >&6; }
25671 fi
25672
25673
25674 fi
25675 if test -z "$ac_cv_prog_WINDRES"; then
25676 ac_ct_WINDRES=$WINDRES
25677 # Extract the first word of "windres", so it can be a program name with args.
25678 set dummy windres; ac_word=$2
25679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25680 printf %s "checking for $ac_word... " >&6; }
25681 if test ${ac_cv_prog_ac_ct_WINDRES+y}
25682 then :
25683 printf %s "(cached) " >&6
25684 else $as_nop
25685 if test -n "$ac_ct_WINDRES"; then
25686 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
25687 else
25688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25689 for as_dir in $PATH
25690 do
25691 IFS=$as_save_IFS
25692 case $as_dir in #(((
25693 '') as_dir=./ ;;
25694 */) ;;
25695 *) as_dir=$as_dir/ ;;
25696 esac
25697 for ac_exec_ext in '' $ac_executable_extensions; do
25698 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
25699 ac_cv_prog_ac_ct_WINDRES="windres"
25700 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
25701 break 2
25702 fi
25703 done
25704 done
25705 IFS=$as_save_IFS
25706
25707 fi
25708 fi
25709 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
25710 if test -n "$ac_ct_WINDRES"; then
25711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
25712 printf "%s\n" "$ac_ct_WINDRES" >&6; }
25713 else
25714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25715 printf "%s\n" "no" >&6; }
25716 fi
25717
25718 if test "x$ac_ct_WINDRES" = x; then
25719 WINDRES=""
25720 else
25721 case $cross_compiling:$ac_tool_warned in
25722 yes:)
25723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
25724 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
25725 ac_tool_warned=yes ;;
25726 esac
25727 WINDRES=$ac_ct_WINDRES
25728 fi
25729 else
25730 WINDRES="$ac_cv_prog_WINDRES"
25731 fi
25732
25733
25734 if test "x$BUILD_SPELLCHECKER_TRUE" = "x" ; then
25735 if test "x$HAVE_PKG_CONFIG" = "xyes"; then
25736
25737 pkg_failed=no
25738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for hunspell" >&5
25739 printf %s "checking for hunspell... " >&6; }
25740
25741 if test -n "$HUNSPELL_CFLAGS"; then
25742 pkg_cv_HUNSPELL_CFLAGS="$HUNSPELL_CFLAGS"
25743 elif test -n "$PKG_CONFIG"; then
25744 if test -n "$PKG_CONFIG" && \
25745 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hunspell\""; } >&5
25746 ($PKG_CONFIG --exists --print-errors "hunspell") 2>&5
25747 ac_status=$?
25748 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25749 test $ac_status = 0; }; then
25750 pkg_cv_HUNSPELL_CFLAGS=`$PKG_CONFIG --cflags "hunspell" 2>/dev/null`
25751 test "x$?" != "x0" && pkg_failed=yes
25752 else
25753 pkg_failed=yes
25754 fi
25755 else
25756 pkg_failed=untried
25757 fi
25758 if test -n "$HUNSPELL_LIBS"; then
25759 pkg_cv_HUNSPELL_LIBS="$HUNSPELL_LIBS"
25760 elif test -n "$PKG_CONFIG"; then
25761 if test -n "$PKG_CONFIG" && \
25762 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hunspell\""; } >&5
25763 ($PKG_CONFIG --exists --print-errors "hunspell") 2>&5
25764 ac_status=$?
25765 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25766 test $ac_status = 0; }; then
25767 pkg_cv_HUNSPELL_LIBS=`$PKG_CONFIG --libs "hunspell" 2>/dev/null`
25768 test "x$?" != "x0" && pkg_failed=yes
25769 else
25770 pkg_failed=yes
25771 fi
25772 else
25773 pkg_failed=untried
25774 fi
25775
25776
25777
25778 if test $pkg_failed = yes; then
25779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25780 printf "%s\n" "no" >&6; }
25781
25782 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25783 _pkg_short_errors_supported=yes
25784 else
25785 _pkg_short_errors_supported=no
25786 fi
25787 if test $_pkg_short_errors_supported = yes; then
25788 HUNSPELL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "hunspell" 2>&1`
25789 else
25790 HUNSPELL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "hunspell" 2>&1`
25791 fi
25792 # Put the nasty error message in config.log where it belongs
25793 echo "$HUNSPELL_PKG_ERRORS" >&5
25794
25795 as_fn_error $? "Package requirements (hunspell) were not met:
25796
25797 $HUNSPELL_PKG_ERRORS
25798
25799 Consider adjusting the PKG_CONFIG_PATH environment variable if you
25800 installed software in a non-standard prefix.
25801
25802 Alternatively, you may set the environment variables HUNSPELL_CFLAGS
25803 and HUNSPELL_LIBS to avoid the need to call pkg-config.
25804 See the pkg-config man page for more details." "$LINENO" 5
25805 elif test $pkg_failed = untried; then
25806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25807 printf "%s\n" "no" >&6; }
25808 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25809 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
25810 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
25811 is in your PATH or set the PKG_CONFIG environment variable to the full
25812 path to pkg-config.
25813
25814 Alternatively, you may set the environment variables HUNSPELL_CFLAGS
25815 and HUNSPELL_LIBS to avoid the need to call pkg-config.
25816 See the pkg-config man page for more details.
25817
25818 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
25819 See \`config.log' for more details" "$LINENO" 5; }
25820 else
25821 HUNSPELL_CFLAGS=$pkg_cv_HUNSPELL_CFLAGS
25822 HUNSPELL_LIBS=$pkg_cv_HUNSPELL_LIBS
25823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25824 printf "%s\n" "yes" >&6; }
25825
25826 fi
25827 fi
25828 fi
25829
25830 CB_HUNSPELL_CFLAGS="$HUNSPELL_CFLAGS"
25831 CB_HUNSPELL_LIBS="$HUNSPELL_LIBS"
25832 ;;
25833 *wx_mac*)
25834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: wxMac" >&5
25835 printf "%s\n" "wxMac" >&6; }
25836 # Extract the first word of "Rez", so it can be a program name with args.
25837 set dummy Rez; ac_word=$2
25838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25839 printf %s "checking for $ac_word... " >&6; }
25840 if test ${ac_cv_prog_REZ+y}
25841 then :
25842 printf %s "(cached) " >&6
25843 else $as_nop
25844 if test -n "$REZ"; then
25845 ac_cv_prog_REZ="$REZ" # Let the user override the test.
25846 else
25847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25848 for as_dir in $PATH
25849 do
25850 IFS=$as_save_IFS
25851 case $as_dir in #(((
25852 '') as_dir=./ ;;
25853 */) ;;
25854 *) as_dir=$as_dir/ ;;
25855 esac
25856 for ac_exec_ext in '' $ac_executable_extensions; do
25857 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
25858 ac_cv_prog_REZ="Rez"
25859 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
25860 break 2
25861 fi
25862 done
25863 done
25864 IFS=$as_save_IFS
25865
25866 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
25867 fi
25868 fi
25869 REZ=$ac_cv_prog_REZ
25870 if test -n "$REZ"; then
25871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $REZ" >&5
25872 printf "%s\n" "$REZ" >&6; }
25873 else
25874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25875 printf "%s\n" "no" >&6; }
25876 fi
25877
25878
25879 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
25880 # Extract the first word of "SetFile", so it can be a program name with args.
25881 set dummy SetFile; ac_word=$2
25882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25883 printf %s "checking for $ac_word... " >&6; }
25884 if test ${ac_cv_prog_SETFILE+y}
25885 then :
25886 printf %s "(cached) " >&6
25887 else $as_nop
25888 if test -n "$SETFILE"; then
25889 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25890 else
25891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25892 for as_dir in $PATH
25893 do
25894 IFS=$as_save_IFS
25895 case $as_dir in #(((
25896 '') as_dir=./ ;;
25897 */) ;;
25898 *) as_dir=$as_dir/ ;;
25899 esac
25900 for ac_exec_ext in '' $ac_executable_extensions; do
25901 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
25902 ac_cv_prog_SETFILE="SetFile"
25903 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
25904 break 2
25905 fi
25906 done
25907 done
25908 IFS=$as_save_IFS
25909
25910 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25911 fi
25912 fi
25913 SETFILE=$ac_cv_prog_SETFILE
25914 if test -n "$SETFILE"; then
25915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $SETFILE" >&5
25916 printf "%s\n" "$SETFILE" >&6; }
25917 else
25918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25919 printf "%s\n" "no" >&6; }
25920 fi
25921
25922
25923 MACSETFILE="\$(SETFILE)"
25924 ;;
25925 *wx_osx*)
25926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: wxOSX" >&5
25927 printf "%s\n" "wxOSX" >&6; }
25928
25929 if test "x$BUILD_SPELLCHECKER_TRUE" = "x" ; then
25930
25931 # Extract the first word of "pkg-config", so it can be a program name with args.
25932 set dummy pkg-config; ac_word=$2
25933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25934 printf %s "checking for $ac_word... " >&6; }
25935 if test ${ac_cv_prog_HAVE_PKG_CONFIG+y}
25936 then :
25937 printf %s "(cached) " >&6
25938 else $as_nop
25939 if test -n "$HAVE_PKG_CONFIG"; then
25940 ac_cv_prog_HAVE_PKG_CONFIG="$HAVE_PKG_CONFIG" # Let the user override the test.
25941 else
25942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25943 for as_dir in $PATH
25944 do
25945 IFS=$as_save_IFS
25946 case $as_dir in #(((
25947 '') as_dir=./ ;;
25948 */) ;;
25949 *) as_dir=$as_dir/ ;;
25950 esac
25951 for ac_exec_ext in '' $ac_executable_extensions; do
25952 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
25953 ac_cv_prog_HAVE_PKG_CONFIG="yes"
25954 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
25955 break 2
25956 fi
25957 done
25958 done
25959 IFS=$as_save_IFS
25960
25961 test -z "$ac_cv_prog_HAVE_PKG_CONFIG" && ac_cv_prog_HAVE_PKG_CONFIG="no"
25962 fi
25963 fi
25964 HAVE_PKG_CONFIG=$ac_cv_prog_HAVE_PKG_CONFIG
25965 if test -n "$HAVE_PKG_CONFIG"; then
25966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $HAVE_PKG_CONFIG" >&5
25967 printf "%s\n" "$HAVE_PKG_CONFIG" >&6; }
25968 else
25969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25970 printf "%s\n" "no" >&6; }
25971 fi
25972
25973
25974
25975
25976
25977
25978
25979
25980
25981
25982 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
25983 if test -n "$ac_tool_prefix"; then
25984 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25985 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
25986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25987 printf %s "checking for $ac_word... " >&6; }
25988 if test ${ac_cv_path_PKG_CONFIG+y}
25989 then :
25990 printf %s "(cached) " >&6
25991 else $as_nop
25992 case $PKG_CONFIG in
25993 [\\/]* | ?:[\\/]*)
25994 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25995 ;;
25996 *)
25997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25998 for as_dir in $PATH
25999 do
26000 IFS=$as_save_IFS
26001 case $as_dir in #(((
26002 '') as_dir=./ ;;
26003 */) ;;
26004 *) as_dir=$as_dir/ ;;
26005 esac
26006 for ac_exec_ext in '' $ac_executable_extensions; do
26007 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
26008 ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
26009 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
26010 break 2
26011 fi
26012 done
26013 done
26014 IFS=$as_save_IFS
26015
26016 ;;
26017 esac
26018 fi
26019 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26020 if test -n "$PKG_CONFIG"; then
26021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26022 printf "%s\n" "$PKG_CONFIG" >&6; }
26023 else
26024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26025 printf "%s\n" "no" >&6; }
26026 fi
26027
26028
26029 fi
26030 if test -z "$ac_cv_path_PKG_CONFIG"; then
26031 ac_pt_PKG_CONFIG=$PKG_CONFIG
26032 # Extract the first word of "pkg-config", so it can be a program name with args.
26033 set dummy pkg-config; ac_word=$2
26034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26035 printf %s "checking for $ac_word... " >&6; }
26036 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
26037 then :
26038 printf %s "(cached) " >&6
26039 else $as_nop
26040 case $ac_pt_PKG_CONFIG in
26041 [\\/]* | ?:[\\/]*)
26042 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26043 ;;
26044 *)
26045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26046 for as_dir in $PATH
26047 do
26048 IFS=$as_save_IFS
26049 case $as_dir in #(((
26050 '') as_dir=./ ;;
26051 */) ;;
26052 *) as_dir=$as_dir/ ;;
26053 esac
26054 for ac_exec_ext in '' $ac_executable_extensions; do
26055 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
26056 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
26057 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
26058 break 2
26059 fi
26060 done
26061 done
26062 IFS=$as_save_IFS
26063
26064 ;;
26065 esac
26066 fi
26067 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
26068 if test -n "$ac_pt_PKG_CONFIG"; then
26069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26070 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
26071 else
26072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26073 printf "%s\n" "no" >&6; }
26074 fi
26075
26076 if test "x$ac_pt_PKG_CONFIG" = x; then
26077 PKG_CONFIG=""
26078 else
26079 case $cross_compiling:$ac_tool_warned in
26080 yes:)
26081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26082 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26083 ac_tool_warned=yes ;;
26084 esac
26085 PKG_CONFIG=$ac_pt_PKG_CONFIG
26086 fi
26087 else
26088 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
26089 fi
26090
26091 fi
26092 if test -n "$PKG_CONFIG"; then
26093 _pkg_min_version=0.9.0
26094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
26095 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
26096 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26098 printf "%s\n" "yes" >&6; }
26099 else
26100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26101 printf "%s\n" "no" >&6; }
26102 PKG_CONFIG=""
26103 fi
26104 fi
26105
26106 if test "x$HAVE_PKG_CONFIG" = "xyes"; then
26107
26108 pkg_failed=no
26109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for hunspell" >&5
26110 printf %s "checking for hunspell... " >&6; }
26111
26112 if test -n "$HUNSPELL_CFLAGS"; then
26113 pkg_cv_HUNSPELL_CFLAGS="$HUNSPELL_CFLAGS"
26114 elif test -n "$PKG_CONFIG"; then
26115 if test -n "$PKG_CONFIG" && \
26116 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hunspell\""; } >&5
26117 ($PKG_CONFIG --exists --print-errors "hunspell") 2>&5
26118 ac_status=$?
26119 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26120 test $ac_status = 0; }; then
26121 pkg_cv_HUNSPELL_CFLAGS=`$PKG_CONFIG --cflags "hunspell" 2>/dev/null`
26122 test "x$?" != "x0" && pkg_failed=yes
26123 else
26124 pkg_failed=yes
26125 fi
26126 else
26127 pkg_failed=untried
26128 fi
26129 if test -n "$HUNSPELL_LIBS"; then
26130 pkg_cv_HUNSPELL_LIBS="$HUNSPELL_LIBS"
26131 elif test -n "$PKG_CONFIG"; then
26132 if test -n "$PKG_CONFIG" && \
26133 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hunspell\""; } >&5
26134 ($PKG_CONFIG --exists --print-errors "hunspell") 2>&5
26135 ac_status=$?
26136 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26137 test $ac_status = 0; }; then
26138 pkg_cv_HUNSPELL_LIBS=`$PKG_CONFIG --libs "hunspell" 2>/dev/null`
26139 test "x$?" != "x0" && pkg_failed=yes
26140 else
26141 pkg_failed=yes
26142 fi
26143 else
26144 pkg_failed=untried
26145 fi
26146
26147
26148
26149 if test $pkg_failed = yes; then
26150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26151 printf "%s\n" "no" >&6; }
26152
26153 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26154 _pkg_short_errors_supported=yes
26155 else
26156 _pkg_short_errors_supported=no
26157 fi
26158 if test $_pkg_short_errors_supported = yes; then
26159 HUNSPELL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "hunspell" 2>&1`
26160 else
26161 HUNSPELL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "hunspell" 2>&1`
26162 fi
26163 # Put the nasty error message in config.log where it belongs
26164 echo "$HUNSPELL_PKG_ERRORS" >&5
26165
26166 as_fn_error $? "Package requirements (hunspell) were not met:
26167
26168 $HUNSPELL_PKG_ERRORS
26169
26170 Consider adjusting the PKG_CONFIG_PATH environment variable if you
26171 installed software in a non-standard prefix.
26172
26173 Alternatively, you may set the environment variables HUNSPELL_CFLAGS
26174 and HUNSPELL_LIBS to avoid the need to call pkg-config.
26175 See the pkg-config man page for more details." "$LINENO" 5
26176 elif test $pkg_failed = untried; then
26177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26178 printf "%s\n" "no" >&6; }
26179 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26180 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
26181 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
26182 is in your PATH or set the PKG_CONFIG environment variable to the full
26183 path to pkg-config.
26184
26185 Alternatively, you may set the environment variables HUNSPELL_CFLAGS
26186 and HUNSPELL_LIBS to avoid the need to call pkg-config.
26187 See the pkg-config man page for more details.
26188
26189 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
26190 See \`config.log' for more details" "$LINENO" 5; }
26191 else
26192 HUNSPELL_CFLAGS=$pkg_cv_HUNSPELL_CFLAGS
26193 HUNSPELL_LIBS=$pkg_cv_HUNSPELL_LIBS
26194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26195 printf "%s\n" "yes" >&6; }
26196
26197 fi
26198 fi
26199 fi
26200 CB_HUNSPELL_CFLAGS="$HUNSPELL_CFLAGS"
26201 CB_HUNSPELL_LIBS="$HUNSPELL_LIBS"
26202 ;;
26203 *)
26204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: other" >&5
26205 printf "%s\n" "other" >&6; }
26206 ;;
26207 esac
26208
26209
26210 GCC_FULL_VERSION=""
26211 GCC_MAJOR_VERSION=""
26212 GCC_MINOR_VERSION=""
26213 GCC_PATCH_VERSION=""
26214 if test "x$GCC" = "xyes" ; then
26215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking gcc version" >&5
26216 printf %s "checking gcc version... " >&6; }
26217 if test ${cb_cv_gcc_version+y}
26218 then :
26219 printf %s "(cached) " >&6
26220 else $as_nop
26221
26222 cb_cv_gcc_version="`$CC -dumpversion`"
26223 if test "x$cb_cv_gcc_version" = "x"; then
26224 cb_cv_gcc_version=""
26225 fi
26226
26227 fi
26228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cb_cv_gcc_version" >&5
26229 printf "%s\n" "$cb_cv_gcc_version" >&6; }
26230 GCC_FULL_VERSION=$cb_cv_gcc_version
26231 GCC_MAJOR_VERSION=$(echo $GCC_FULL_VERSION | cut -d'.' -f1)
26232 GCC_MINOR_VERSION=$(echo $GCC_FULL_VERSION | cut -d'.' -f2)
26233 GCC_PATCH_VERSION=$(echo $GCC_FULL_VERSION | cut -d'.' -f3)
26234 fi
26235
26236
26237
26238
26239
26240
26241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes (version $WX_VERSION)" >&5
26242 printf "%s\n" "yes (version $WX_VERSION)" >&6; }
26243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: (Re)setting libs for wxWidgets $WX_VERSION" >&5
26244 printf "%s\n" "$as_me: (Re)setting libs for wxWidgets $WX_VERSION" >&6;}
26245 WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs std,aui,propgrid,richtext`
26246 SCINTILLA_GTK_CFLAGS="$WX_GDK_CFLAGS"
26247 SCINTILLA_GTK_LIBS="$WX_GDK_LIBS"
26248
26249 CB_SQUIRREL_CFLAGS="-I\$(top_srcdir)/src/include/scripting/include"
26250 CB_SQUIRREL_LIBS="\$(top_builddir)/src/sdk/scripting/squirrel/libsquirrel.la \$(top_builddir)/src/sdk/scripting/sqstdlib/libsqstdlib.la"
26251
26252 if test "x$HAVE_TINYXML_TRUE" = "x" ; then
26253 CB_TINYXML_CFLAGS="$TINYXML_CFLAGS"
26254 CB_TINYXML_LIBS="$TINYXML_LIBS"
26255 else
26256 CB_TINYXML_CFLAGS="-I\$(top_srcdir)/src/include/tinyxml -DTIXML_USE_STL=YES"
26257 CB_TINYXML_LIBS="\$(top_builddir)/src/base/tinyxml/libtinyxml.la"
26258 fi
26259
26260
26261
26262
26263
26264
26265
26266
26267
26268
26269
26270
26271
26272
26273
26274
26275
26276
26277
26278
26279
26280 PIC_FLAGS=
26281
26282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PIC flags" >&5
26283 printf %s "checking for PIC flags... " >&6; }
26284 case `uname` in
26285 Solaris)
26286 if test "$GCC" = yes; then
26287 PIC_CFLAGS="-fPIC"
26288 else
26289 PIC_CFLAGS="-KPIC"
26290 fi
26291 ;;
26292 *)
26293 PIC_CFLAGS="-fPIC"
26294 ;;
26295 esac
26296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: \"$PIC_CFLAGS -DPIC\"" >&5
26297 printf "%s\n" "\"$PIC_CFLAGS -DPIC\"" >&6; }
26298
26299 CFLAGS="$CFLAGS $PIC_CFLAGS -std=c90"
26300 CPPFLAGS="$CPPFLAGS -DPIC $CB_TINYXML_CFLAGS"
26301 CXXFLAGS="$CXXFLAGS $PIC_CFLAGS -fexceptions"
26302 codeblocks_PCH_FLAGS="$PCH_FLAGS"
26303
26304
26305
26306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Configuring Code::Blocks..." >&5
26307 printf "%s\n" "$as_me: Configuring Code::Blocks..." >&6;}
26308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: SVN revision 25.03svn13644 (2025-03-29 05:36:19)" >&5
26309 printf "%s\n" "$as_me: SVN revision 25.03svn13644 (2025-03-29 05:36:19)" >&6;}
26310 REVISION=13644
26311
26312 DATE="2025-03-29 05:36:19"
26313
26314
26315 if test "x${target_vendor}" = "xapple"; then
26316 ac_config_files="$ac_config_files bundle.sh"
26317
26318 ac_config_files="$ac_config_files codeblocks.plist"
26319
26320 fi
26321
26322 ac_config_files="$ac_config_files Makefile src/Makefile src/base/Makefile src/base/tinyxml/Makefile src/build_tools/Makefile src/build_tools/autorevision/Makefile src/include/autorevision.h src/include/Makefile src/include/scripting/Makefile src/include/scripting/bindings/Makefile src/include/scripting/include/Makefile src/include/tinyxml/Makefile src/sdk/Makefile src/sdk/scripting/Makefile src/sdk/scripting/bindings/Makefile src/sdk/scripting/squirrel/Makefile src/sdk/scripting/sqstdlib/Makefile src/sdk/wxscintilla/Makefile src/sdk/resources/Makefile src/sdk/resources/lexers/Makefile src/src/resources/Makefile src/src/resources/icons/Makefile src/src/resources/images/Makefile src/src/resources/images/settings/Makefile src/src/Makefile src/plugins/Makefile src/plugins/astyle/Makefile src/plugins/astyle/resources/Makefile src/plugins/autosave/Makefile src/plugins/classwizard/Makefile src/plugins/classwizard/resources/Makefile src/plugins/codecompletion/Makefile src/plugins/codecompletion/resources/Makefile src/plugins/compilergcc/Makefile src/plugins/compilergcc/depslib/Makefile src/plugins/compilergcc/depslib/src/Makefile src/plugins/compilergcc/resources/Makefile src/plugins/debuggergdb/Makefile src/plugins/debuggergdb/resources/Makefile src/plugins/defaultmimehandler/Makefile src/plugins/defaultmimehandler/resources/Makefile src/plugins/displayevents/Makefile src/plugins/openfileslist/Makefile src/plugins/occurrenceshighlighting/Makefile src/plugins/occurrenceshighlighting/resources/Makefile src/plugins/projectsimporter/Makefile src/plugins/projectsimporter/resources/Makefile src/plugins/scriptedwizard/Makefile src/plugins/scriptedwizard/resources/Makefile src/plugins/scriptedwizard/resources/arduino/Makefile src/plugins/scriptedwizard/resources/arm/Makefile src/plugins/scriptedwizard/resources/avr/Makefile src/plugins/scriptedwizard/resources/c_file/Makefile src/plugins/scriptedwizard/resources/console/Makefile src/plugins/scriptedwizard/resources/d/Makefile src/plugins/scriptedwizard/resources/directx/Makefile src/plugins/scriptedwizard/resources/dll/Makefile src/plugins/scriptedwizard/resources/d_source/Makefile src/plugins/scriptedwizard/resources/empty/Makefile src/plugins/scriptedwizard/resources/empty_file/Makefile src/plugins/scriptedwizard/resources/fltk/Makefile src/plugins/scriptedwizard/resources/fortran/Makefile src/plugins/scriptedwizard/resources/glfw/Makefile src/plugins/scriptedwizard/resources/glut/Makefile src/plugins/scriptedwizard/resources/gtk/Makefile src/plugins/scriptedwizard/resources/h_file/Makefile src/plugins/scriptedwizard/resources/irrlicht/Makefile src/plugins/scriptedwizard/resources/java/Makefile src/plugins/scriptedwizard/resources/lf/Makefile src/plugins/scriptedwizard/resources/matlab_csf/Makefile src/plugins/scriptedwizard/resources/mcs51/Makefile src/plugins/scriptedwizard/resources/msp430/Makefile src/plugins/scriptedwizard/resources/ogre/Makefile src/plugins/scriptedwizard/resources/opencv/Makefile src/plugins/scriptedwizard/resources/opengl/Makefile src/plugins/scriptedwizard/resources/plugins/Makefile src/plugins/scriptedwizard/resources/ppc/Makefile src/plugins/scriptedwizard/resources/qt4/Makefile src/plugins/scriptedwizard/resources/qt4dll/Makefile src/plugins/scriptedwizard/resources/qt5/Makefile src/plugins/scriptedwizard/resources/sdl/Makefile src/plugins/scriptedwizard/resources/sdl2/Makefile src/plugins/scriptedwizard/resources/sfml/Makefile src/plugins/scriptedwizard/resources/sharedlib/Makefile src/plugins/scriptedwizard/resources/smartwin/Makefile src/plugins/scriptedwizard/resources/staticlib/Makefile src/plugins/scriptedwizard/resources/stlport/Makefile src/plugins/scriptedwizard/resources/sys/Makefile src/plugins/scriptedwizard/resources/tricore/Makefile src/plugins/scriptedwizard/resources/win32gui/Makefile src/plugins/scriptedwizard/resources/wxwidgets/Makefile src/plugins/todo/Makefile src/plugins/todo/resources/Makefile src/plugins/abbreviations/Makefile src/plugins/abbreviations/resources/Makefile src/plugins/xpmanifest/Makefile src/plugins/contrib/Makefile src/plugins/contrib/appdata/Makefile src/plugins/contrib/AutoVersioning/Makefile src/plugins/contrib/BrowseTracker/Makefile src/plugins/contrib/byogames/Makefile src/plugins/contrib/Cccc/Makefile src/plugins/contrib/Cccc/resources/Makefile src/plugins/contrib/CppCheck/Makefile src/plugins/contrib/CppCheck/resources/Makefile src/plugins/contrib/cb_koders/Makefile src/plugins/contrib/codesnippets/Makefile src/plugins/contrib/codestat/Makefile src/plugins/contrib/codestat/resources/Makefile src/plugins/contrib/copystrings/Makefile src/plugins/contrib/Cscope/Makefile src/plugins/contrib/devpak_plugin/Makefile src/plugins/contrib/devpak_plugin/bzip2/Makefile src/plugins/contrib/DoxyBlocks/Makefile src/plugins/contrib/dragscroll/Makefile src/plugins/contrib/EditorConfig/Makefile src/plugins/contrib/EditorTweaks/Makefile src/plugins/contrib/envvars/Makefile src/plugins/contrib/FileManager/Makefile src/plugins/contrib/headerfixup/Makefile src/plugins/contrib/help_plugin/Makefile src/plugins/contrib/help_plugin/bzip2/Makefile src/plugins/contrib/help_plugin/zlib/Makefile src/plugins/contrib/keybinder/Makefile src/plugins/contrib/NassiShneiderman/Makefile src/plugins/contrib/profiler/Makefile src/plugins/contrib/profiler/resources/Makefile src/plugins/contrib/ProjectOptionsManipulator/Makefile src/plugins/contrib/source_exporter/Makefile src/plugins/contrib/source_exporter/wxPdfDocument/Makefile src/plugins/contrib/SmartIndent/Makefile src/plugins/contrib/SpellChecker/Makefile src/plugins/contrib/SpellChecker/wxspellchecker/Makefile src/plugins/contrib/symtab/Makefile src/plugins/contrib/symtab/resources/Makefile src/plugins/contrib/regex_testbed/Makefile src/plugins/contrib/ReopenEditor/Makefile src/plugins/contrib/rndgen/Makefile src/plugins/contrib/clangd_client/Makefile src/plugins/contrib/clangd_client/src/resources/Makefile src/plugins/contrib/ThreadSearch/Makefile src/plugins/contrib/ToolsPlus/Makefile src/plugins/contrib/ToolsPlus/Resources/Makefile src/plugins/contrib/Valgrind/Makefile src/plugins/contrib/Valgrind/resources/Makefile src/plugins/contrib/wxContribItems/Makefile src/plugins/contrib/wxContribItems/wxsmith-contrib.pc src/plugins/contrib/wxContribItems/cb_wxcontrib.pc src/plugins/contrib/wxContribItems/cb_wxchartctrl.pc src/plugins/contrib/wxContribItems/cb_wxcustombutton.pc src/plugins/contrib/wxContribItems/cb_wximagepanel.pc src/plugins/contrib/wxContribItems/cb_wxflatnotebook.pc src/plugins/contrib/wxContribItems/cb_wxspeedbutton.pc src/plugins/contrib/wxContribItems/cb_wxKWIC.pc src/plugins/contrib/wxContribItems/cb_wxled.pc src/plugins/contrib/wxContribItems/cb_wxmathplot.pc src/plugins/contrib/wxContribItems/wxchart/Makefile src/plugins/contrib/wxContribItems/wxFlatNotebook/Makefile src/plugins/contrib/wxContribItems/wxImagePanel/Makefile src/plugins/contrib/wxContribItems/wxthings/Makefile src/plugins/contrib/wxContribItems/wxSpeedButton/Makefile src/plugins/contrib/wxContribItems/KWIC/Makefile src/plugins/contrib/wxContribItems/KWIC/include/wx/KWIC/Makefile src/plugins/contrib/wxContribItems/KWIC/include/wx/xrc/Makefile src/plugins/contrib/wxContribItems/wxled/Makefile src/plugins/contrib/wxContribItems/wxled/gizmosled/include/wx/gizmos/Makefile src/plugins/contrib/wxContribItems/wxled/lcdWindow/include/wx/Makefile src/plugins/contrib/wxContribItems/wxled/led/include/wx/Makefile src/plugins/contrib/wxContribItems/wxled/led/include/xrc/Makefile src/plugins/contrib/wxContribItems/wxled/ledpanel/include/wx/Makefile src/plugins/contrib/wxContribItems/wxmathplot/Makefile src/plugins/contrib/wxSmith/Makefile src/plugins/contrib/wxSmith/wxsmith.pc src/plugins/contrib/wxSmith/plugin/Makefile src/plugins/contrib/wxSmith/properties/Makefile src/plugins/contrib/wxSmith/wxwidgets/Makefile src/plugins/contrib/wxSmith/wxwidgets/properties/Makefile src/plugins/contrib/wxSmith/wxwidgets/defitems/Makefile src/plugins/contrib/wxSmith/wxwidgets/icons/Makefile src/plugins/contrib/wxSmithContribItems/Makefile src/plugins/contrib/wxSmithAui/Makefile src/plugins/contrib/wxSmithAui/wxsmithaui.pc src/plugins/contrib/wxSmithDemo/Makefile src/plugins/contrib/wxSmithIExplore/Makefile src/plugins/contrib/wxSmithSTC/Makefile src/plugins/contrib/lib_finder/Makefile src/plugins/contrib/lib_finder/lib_finder/Makefile src/plugins/contrib/HexEditor/Makefile src/plugins/contrib/IncrementalSearch/Makefile src/plugins/contrib/MouseSap/Makefile src/mime/Makefile src/scripts/Makefile src/tools/Makefile src/tools/cb_share_config/Makefile src/tools/ConsoleRunner/Makefile src/tools/CBLauncher/Makefile src/templates/Makefile src/templates/common/Makefile src/templates/unix/Makefile src/templates/win32/Makefile src/wxsmith/Makefile codeblocks.pc codeblocks.spec.fedora codeblocks.spec"
26323
26324
26325 cat >confcache <<\_ACEOF
26326 # This file is a shell script that caches the results of configure
26327 # tests run on this system so they can be shared between configure
26328 # scripts and configure runs, see configure's option --config-cache.
26329 # It is not useful on other systems. If it contains results you don't
26330 # want to keep, you may remove or edit it.
26331 #
26332 # config.status only pays attention to the cache file if you give it
26333 # the --recheck option to rerun configure.
26334 #
26335 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26336 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26337 # following values.
26338
26339 _ACEOF
26340
26341 # The following way of writing the cache mishandles newlines in values,
26342 # but we know of no workaround that is simple, portable, and efficient.
26343 # So, we kill variables containing newlines.
26344 # Ultrix sh set writes to stderr and can't be redirected directly,
26345 # and sets the high bit in the cache file unless we assign to the vars.
26346 (
26347 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26348 eval ac_val=\$$ac_var
26349 case $ac_val in #(
26350 *${as_nl}*)
26351 case $ac_var in #(
26352 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26353 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26354 esac
26355 case $ac_var in #(
26356 _ | IFS | as_nl) ;; #(
26357 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
26358 *) { eval $ac_var=; unset $ac_var;} ;;
26359 esac ;;
26360 esac
26361 done
26362
26363 (set) 2>&1 |
26364 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26365 *${as_nl}ac_space=\ *)
26366 # `set' does not quote correctly, so add quotes: double-quote
26367 # substitution turns \\\\ into \\, and sed turns \\ into \.
26368 sed -n \
26369 "s/'/'\\\\''/g;
26370 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26371 ;; #(
26372 *)
26373 # `set' quotes correctly as required by POSIX, so do not add quotes.
26374 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26375 ;;
26376 esac |
26377 sort
26378 ) |
26379 sed '
26380 /^ac_cv_env_/b end
26381 t clear
26382 :clear
26383 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
26384 t end
26385 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26386 :end' >>confcache
26387 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26388 if test -w "$cache_file"; then
26389 if test "x$cache_file" != "x/dev/null"; then
26390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26391 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
26392 if test ! -f "$cache_file" || test -h "$cache_file"; then
26393 cat confcache >"$cache_file"
26394 else
26395 case $cache_file in #(
26396 */* | ?:*)
26397 mv -f confcache "$cache_file"$$ &&
26398 mv -f "$cache_file"$$ "$cache_file" ;; #(
26399 *)
26400 mv -f confcache "$cache_file" ;;
26401 esac
26402 fi
26403 fi
26404 else
26405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26406 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
26407 fi
26408 fi
26409 rm -f confcache
26410
26411 test "x$prefix" = xNONE && prefix=$ac_default_prefix
26412 # Let make expand exec_prefix.
26413 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
26414
26415 DEFS=-DHAVE_CONFIG_H
26416
26417 ac_libobjs=
26418 ac_ltlibobjs=
26419 U=
26420 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
26421 # 1. Remove the extension, and $U if already installed.
26422 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
26423 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
26424 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
26425 # will be set to the directory where LIBOBJS objects are built.
26426 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
26427 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
26428 done
26429 LIBOBJS=$ac_libobjs
26430
26431 LTLIBOBJS=$ac_ltlibobjs
26432
26433
26434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
26435 printf %s "checking that generated files are newer than configure... " >&6; }
26436 if test -n "$am_sleep_pid"; then
26437 # Hide warnings about reused PIDs.
26438 wait $am_sleep_pid 2>/dev/null
26439 fi
26440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
26441 printf "%s\n" "done" >&6; }
26442 if test -n "$EXEEXT"; then
26443 am__EXEEXT_TRUE=
26444 am__EXEEXT_FALSE='#'
26445 else
26446 am__EXEEXT_TRUE='#'
26447 am__EXEEXT_FALSE=
26448 fi
26449
26450 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
26451 as_fn_error $? "conditional \"AMDEP\" was never defined.
26452 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26453 fi
26454 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26455 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
26456 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26457 fi
26458 if test -z "${LINUX_TRUE}" && test -z "${LINUX_FALSE}"; then
26459 as_fn_error $? "conditional \"LINUX\" was never defined.
26460 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26461 fi
26462 if test -z "${DARWIN_TRUE}" && test -z "${DARWIN_FALSE}"; then
26463 as_fn_error $? "conditional \"DARWIN\" was never defined.
26464 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26465 fi
26466 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
26467 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
26468 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26469 fi
26470 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26471 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
26472 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26473 fi
26474 if test -z "${CODEBLOCKS_NT_TRUE}" && test -z "${CODEBLOCKS_NT_FALSE}"; then
26475 as_fn_error $? "conditional \"CODEBLOCKS_NT\" was never defined.
26476 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26477 fi
26478 if test -z "${CODEBLOCKS_LINUX_TRUE}" && test -z "${CODEBLOCKS_LINUX_FALSE}"; then
26479 as_fn_error $? "conditional \"CODEBLOCKS_LINUX\" was never defined.
26480 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26481 fi
26482 if test -z "${CODEBLOCKS_DARWIN_TRUE}" && test -z "${CODEBLOCKS_DARWIN_FALSE}"; then
26483 as_fn_error $? "conditional \"CODEBLOCKS_DARWIN\" was never defined.
26484 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26485 fi
26486 if test -z "${HAVE_ZLIB_TRUE}" && test -z "${HAVE_ZLIB_FALSE}"; then
26487 as_fn_error $? "conditional \"HAVE_ZLIB\" was never defined.
26488 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26489 fi
26490 if test -z "${HAVE_BZIP2_TRUE}" && test -z "${HAVE_BZIP2_FALSE}"; then
26491 as_fn_error $? "conditional \"HAVE_BZIP2\" was never defined.
26492 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26493 fi
26494 if test -z "${HAVE_ASTYLE_TRUE}" && test -z "${HAVE_ASTYLE_FALSE}"; then
26495 as_fn_error $? "conditional \"HAVE_ASTYLE\" was never defined.
26496 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26497 fi
26498 if test -z "${HAVE_TINYXML_TRUE}" && test -z "${HAVE_TINYXML_FALSE}"; then
26499 as_fn_error $? "conditional \"HAVE_TINYXML\" was never defined.
26500 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26501 fi
26502 if test -z "${BUILD_ASTYLE_TRUE}" && test -z "${BUILD_ASTYLE_FALSE}"; then
26503 as_fn_error $? "conditional \"BUILD_ASTYLE\" was never defined.
26504 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26505 fi
26506 if test -z "${BUILD_AUTOSAVE_TRUE}" && test -z "${BUILD_AUTOSAVE_FALSE}"; then
26507 as_fn_error $? "conditional \"BUILD_AUTOSAVE\" was never defined.
26508 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26509 fi
26510 if test -z "${BUILD_CLASSWIZARD_TRUE}" && test -z "${BUILD_CLASSWIZARD_FALSE}"; then
26511 as_fn_error $? "conditional \"BUILD_CLASSWIZARD\" was never defined.
26512 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26513 fi
26514 if test -z "${BUILD_CODECOMPLETION_TRUE}" && test -z "${BUILD_CODECOMPLETION_FALSE}"; then
26515 as_fn_error $? "conditional \"BUILD_CODECOMPLETION\" was never defined.
26516 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26517 fi
26518 if test -z "${BUILD_COMPILER_TRUE}" && test -z "${BUILD_COMPILER_FALSE}"; then
26519 as_fn_error $? "conditional \"BUILD_COMPILER\" was never defined.
26520 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26521 fi
26522 if test -z "${BUILD_DEBUGGER_TRUE}" && test -z "${BUILD_DEBUGGER_FALSE}"; then
26523 as_fn_error $? "conditional \"BUILD_DEBUGGER\" was never defined.
26524 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26525 fi
26526 if test -z "${BUILD_MIMEHANDLER_TRUE}" && test -z "${BUILD_MIMEHANDLER_FALSE}"; then
26527 as_fn_error $? "conditional \"BUILD_MIMEHANDLER\" was never defined.
26528 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26529 fi
26530 if test -z "${BUILD_DISPLAYEVENTS_TRUE}" && test -z "${BUILD_DISPLAYEVENTS_FALSE}"; then
26531 as_fn_error $? "conditional \"BUILD_DISPLAYEVENTS\" was never defined.
26532 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26533 fi
26534 if test -z "${BUILD_OPENFILESLIST_TRUE}" && test -z "${BUILD_OPENFILESLIST_FALSE}"; then
26535 as_fn_error $? "conditional \"BUILD_OPENFILESLIST\" was never defined.
26536 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26537 fi
26538 if test -z "${BUILD_OCCURRENCESHIGHLIGHTING_TRUE}" && test -z "${BUILD_OCCURRENCESHIGHLIGHTING_FALSE}"; then
26539 as_fn_error $? "conditional \"BUILD_OCCURRENCESHIGHLIGHTING\" was never defined.
26540 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26541 fi
26542 if test -z "${BUILD_PROJECTSIMPORTER_TRUE}" && test -z "${BUILD_PROJECTSIMPORTER_FALSE}"; then
26543 as_fn_error $? "conditional \"BUILD_PROJECTSIMPORTER\" was never defined.
26544 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26545 fi
26546 if test -z "${BUILD_SCRIPTEDWIZARD_TRUE}" && test -z "${BUILD_SCRIPTEDWIZARD_FALSE}"; then
26547 as_fn_error $? "conditional \"BUILD_SCRIPTEDWIZARD\" was never defined.
26548 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26549 fi
26550 if test -z "${BUILD_TODO_TRUE}" && test -z "${BUILD_TODO_FALSE}"; then
26551 as_fn_error $? "conditional \"BUILD_TODO\" was never defined.
26552 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26553 fi
26554 if test -z "${BUILD_ABBREVIATIONS_TRUE}" && test -z "${BUILD_ABBREVIATIONS_FALSE}"; then
26555 as_fn_error $? "conditional \"BUILD_ABBREVIATIONS\" was never defined.
26556 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26557 fi
26558 if test -z "${KEEP_DLLS_TRUE}" && test -z "${KEEP_DLLS_FALSE}"; then
26559 as_fn_error $? "conditional \"KEEP_DLLS\" was never defined.
26560 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26561 fi
26562 if test -z "${ENABLE_FORTRAN_TRUE}" && test -z "${ENABLE_FORTRAN_FALSE}"; then
26563 as_fn_error $? "conditional \"ENABLE_FORTRAN\" was never defined.
26564 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26565 fi
26566 if test -z "${GTK_NOTEBOOK_TRUE}" && test -z "${GTK_NOTEBOOK_FALSE}"; then
26567 as_fn_error $? "conditional \"GTK_NOTEBOOK\" was never defined.
26568 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26569 fi
26570 if test -z "${CODEBLOCKS_INSTALLERDOCS_FOUND_TRUE}" && test -z "${CODEBLOCKS_INSTALLERDOCS_FOUND_FALSE}"; then
26571 as_fn_error $? "conditional \"CODEBLOCKS_INSTALLERDOCS_FOUND\" was never defined.
26572 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26573 fi
26574 if test -z "${CODEBLOCKS_INSTALLERDOCS_FOUND_TRUE}" && test -z "${CODEBLOCKS_INSTALLERDOCS_FOUND_FALSE}"; then
26575 as_fn_error $? "conditional \"CODEBLOCKS_INSTALLERDOCS_FOUND\" was never defined.
26576 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26577 fi
26578 if test -z "${BUILD_MANIFEST_TRUE}" && test -z "${BUILD_MANIFEST_FALSE}"; then
26579 as_fn_error $? "conditional \"BUILD_MANIFEST\" was never defined.
26580 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26581 fi
26582 if test -z "${BUILD_MANIFEST_TRUE}" && test -z "${BUILD_MANIFEST_FALSE}"; then
26583 as_fn_error $? "conditional \"BUILD_MANIFEST\" was never defined.
26584 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26585 fi
26586 if test -z "${BUILD_AUTOVERSIONING_TRUE}" && test -z "${BUILD_AUTOVERSIONING_FALSE}"; then
26587 as_fn_error $? "conditional \"BUILD_AUTOVERSIONING\" was never defined.
26588 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26589 fi
26590 if test -z "${BUILD_BROWSETRACKER_TRUE}" && test -z "${BUILD_BROWSETRACKER_FALSE}"; then
26591 as_fn_error $? "conditional \"BUILD_BROWSETRACKER\" was never defined.
26592 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26593 fi
26594 if test -z "${BUILD_BYOGAMES_TRUE}" && test -z "${BUILD_BYOGAMES_FALSE}"; then
26595 as_fn_error $? "conditional \"BUILD_BYOGAMES\" was never defined.
26596 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26597 fi
26598 if test -z "${BUILD_CBKODERS_TRUE}" && test -z "${BUILD_CBKODERS_FALSE}"; then
26599 as_fn_error $? "conditional \"BUILD_CBKODERS\" was never defined.
26600 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26601 fi
26602 if test -z "${BUILD_CODESNIPPETS_TRUE}" && test -z "${BUILD_CODESNIPPETS_FALSE}"; then
26603 as_fn_error $? "conditional \"BUILD_CODESNIPPETS\" was never defined.
26604 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26605 fi
26606 if test -z "${BUILD_CODESTAT_TRUE}" && test -z "${BUILD_CODESTAT_FALSE}"; then
26607 as_fn_error $? "conditional \"BUILD_CODESTAT\" was never defined.
26608 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26609 fi
26610 if test -z "${BUILD_COPYSTRINGS_TRUE}" && test -z "${BUILD_COPYSTRINGS_FALSE}"; then
26611 as_fn_error $? "conditional \"BUILD_COPYSTRINGS\" was never defined.
26612 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26613 fi
26614 if test -z "${BUILD_CSCOPE_TRUE}" && test -z "${BUILD_CSCOPE_FALSE}"; then
26615 as_fn_error $? "conditional \"BUILD_CSCOPE\" was never defined.
26616 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26617 fi
26618 if test -z "${BUILD_DOXYBLOCKS_TRUE}" && test -z "${BUILD_DOXYBLOCKS_FALSE}"; then
26619 as_fn_error $? "conditional \"BUILD_DOXYBLOCKS\" was never defined.
26620 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26621 fi
26622 if test -z "${BUILD_DRAGSCROLL_TRUE}" && test -z "${BUILD_DRAGSCROLL_FALSE}"; then
26623 as_fn_error $? "conditional \"BUILD_DRAGSCROLL\" was never defined.
26624 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26625 fi
26626 if test -z "${BUILD_EDITORCONFIG_TRUE}" && test -z "${BUILD_EDITORCONFIG_FALSE}"; then
26627 as_fn_error $? "conditional \"BUILD_EDITORCONFIG\" was never defined.
26628 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26629 fi
26630 if test -z "${BUILD_EDITORTWEAKS_TRUE}" && test -z "${BUILD_EDITORTWEAKS_FALSE}"; then
26631 as_fn_error $? "conditional \"BUILD_EDITORTWEAKS\" was never defined.
26632 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26633 fi
26634 if test -z "${BUILD_ENVVARS_TRUE}" && test -z "${BUILD_ENVVARS_FALSE}"; then
26635 as_fn_error $? "conditional \"BUILD_ENVVARS\" was never defined.
26636 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26637 fi
26638 if test -z "${BUILD_FILEMANAGER_TRUE}" && test -z "${BUILD_FILEMANAGER_FALSE}"; then
26639 as_fn_error $? "conditional \"BUILD_FILEMANAGER\" was never defined.
26640 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26641 fi
26642 if test -z "${BUILD_HEADERFIXUP_TRUE}" && test -z "${BUILD_HEADERFIXUP_FALSE}"; then
26643 as_fn_error $? "conditional \"BUILD_HEADERFIXUP\" was never defined.
26644 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26645 fi
26646 if test -z "${BUILD_HELP_TRUE}" && test -z "${BUILD_HELP_FALSE}"; then
26647 as_fn_error $? "conditional \"BUILD_HELP\" was never defined.
26648 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26649 fi
26650 if test -z "${BUILD_KEYBINDER_TRUE}" && test -z "${BUILD_KEYBINDER_FALSE}"; then
26651 as_fn_error $? "conditional \"BUILD_KEYBINDER\" was never defined.
26652 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26653 fi
26654 if test -z "${BUILD_LIBFINDER_TRUE}" && test -z "${BUILD_LIBFINDER_FALSE}"; then
26655 as_fn_error $? "conditional \"BUILD_LIBFINDER\" was never defined.
26656 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26657 fi
26658 if test -z "${BUILD_NASSISHNEIDERMAN_TRUE}" && test -z "${BUILD_NASSISHNEIDERMAN_FALSE}"; then
26659 as_fn_error $? "conditional \"BUILD_NASSISHNEIDERMAN\" was never defined.
26660 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26661 fi
26662 if test -z "${BUILD_PROFILER_TRUE}" && test -z "${BUILD_PROFILER_FALSE}"; then
26663 as_fn_error $? "conditional \"BUILD_PROFILER\" was never defined.
26664 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26665 fi
26666 if test -z "${BUILD_PROJECTOPTIONSMANIPULATOR_TRUE}" && test -z "${BUILD_PROJECTOPTIONSMANIPULATOR_FALSE}"; then
26667 as_fn_error $? "conditional \"BUILD_PROJECTOPTIONSMANIPULATOR\" was never defined.
26668 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26669 fi
26670 if test -z "${BUILD_REGEX_TRUE}" && test -z "${BUILD_REGEX_FALSE}"; then
26671 as_fn_error $? "conditional \"BUILD_REGEX\" was never defined.
26672 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26673 fi
26674 if test -z "${BUILD_REOPENEDITOR_TRUE}" && test -z "${BUILD_REOPENEDITOR_FALSE}"; then
26675 as_fn_error $? "conditional \"BUILD_REOPENEDITOR\" was never defined.
26676 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26677 fi
26678 if test -z "${BUILD_RNDGEN_TRUE}" && test -z "${BUILD_RNDGEN_FALSE}"; then
26679 as_fn_error $? "conditional \"BUILD_RNDGEN\" was never defined.
26680 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26681 fi
26682 if test -z "${BUILD_CLANGD_CLIENT_TRUE}" && test -z "${BUILD_CLANGD_CLIENT_FALSE}"; then
26683 as_fn_error $? "conditional \"BUILD_CLANGD_CLIENT\" was never defined.
26684 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26685 fi
26686 if test -z "${BUILD_EXPORTER_TRUE}" && test -z "${BUILD_EXPORTER_FALSE}"; then
26687 as_fn_error $? "conditional \"BUILD_EXPORTER\" was never defined.
26688 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26689 fi
26690 if test -z "${BUILD_SMARTINDENT_TRUE}" && test -z "${BUILD_SMARTINDENT_FALSE}"; then
26691 as_fn_error $? "conditional \"BUILD_SMARTINDENT\" was never defined.
26692 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26693 fi
26694 if test -z "${BUILD_SPELLCHECKER_TRUE}" && test -z "${BUILD_SPELLCHECKER_FALSE}"; then
26695 as_fn_error $? "conditional \"BUILD_SPELLCHECKER\" was never defined.
26696 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26697 fi
26698 if test -z "${BUILD_SYMTAB_TRUE}" && test -z "${BUILD_SYMTAB_FALSE}"; then
26699 as_fn_error $? "conditional \"BUILD_SYMTAB\" was never defined.
26700 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26701 fi
26702 if test -z "${BUILD_THREADSEARCH_TRUE}" && test -z "${BUILD_THREADSEARCH_FALSE}"; then
26703 as_fn_error $? "conditional \"BUILD_THREADSEARCH\" was never defined.
26704 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26705 fi
26706 if test -z "${BUILD_TOOLSPLUS_TRUE}" && test -z "${BUILD_TOOLSPLUS_FALSE}"; then
26707 as_fn_error $? "conditional \"BUILD_TOOLSPLUS\" was never defined.
26708 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26709 fi
26710 if test -z "${BUILD_VALGRIND_TRUE}" && test -z "${BUILD_VALGRIND_FALSE}"; then
26711 as_fn_error $? "conditional \"BUILD_VALGRIND\" was never defined.
26712 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26713 fi
26714 if test -z "${BUILD_WXCONTRIB_TRUE}" && test -z "${BUILD_WXCONTRIB_FALSE}"; then
26715 as_fn_error $? "conditional \"BUILD_WXCONTRIB\" was never defined.
26716 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26717 fi
26718 if test -z "${BUILD_WXSMITH_TRUE}" && test -z "${BUILD_WXSMITH_FALSE}"; then
26719 as_fn_error $? "conditional \"BUILD_WXSMITH\" was never defined.
26720 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26721 fi
26722 if test -z "${BUILD_WXSMITHCONTRIB_TRUE}" && test -z "${BUILD_WXSMITHCONTRIB_FALSE}"; then
26723 as_fn_error $? "conditional \"BUILD_WXSMITHCONTRIB\" was never defined.
26724 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26725 fi
26726 if test -z "${BUILD_WXSMITHAUI_TRUE}" && test -z "${BUILD_WXSMITHAUI_FALSE}"; then
26727 as_fn_error $? "conditional \"BUILD_WXSMITHAUI\" was never defined.
26728 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26729 fi
26730 if test -z "${BUILD_HEXEDITOR_TRUE}" && test -z "${BUILD_HEXEDITOR_FALSE}"; then
26731 as_fn_error $? "conditional \"BUILD_HEXEDITOR\" was never defined.
26732 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26733 fi
26734 if test -z "${BUILD_INCSEARCH_TRUE}" && test -z "${BUILD_INCSEARCH_FALSE}"; then
26735 as_fn_error $? "conditional \"BUILD_INCSEARCH\" was never defined.
26736 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26737 fi
26738 if test -z "${BUILD_MOUSESAP_TRUE}" && test -z "${BUILD_MOUSESAP_FALSE}"; then
26739 as_fn_error $? "conditional \"BUILD_MOUSESAP\" was never defined.
26740 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26741 fi
26742 if test -z "${BUILD_CCCC_TRUE}" && test -z "${BUILD_CCCC_FALSE}"; then
26743 as_fn_error $? "conditional \"BUILD_CCCC\" was never defined.
26744 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26745 fi
26746 if test -z "${BUILD_CPPCHECK_TRUE}" && test -z "${BUILD_CPPCHECK_FALSE}"; then
26747 as_fn_error $? "conditional \"BUILD_CPPCHECK\" was never defined.
26748 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26749 fi
26750 if test -z "${BUILD_AUTOVERSIONING_TRUE}" && test -z "${BUILD_AUTOVERSIONING_FALSE}"; then
26751 as_fn_error $? "conditional \"BUILD_AUTOVERSIONING\" was never defined.
26752 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26753 fi
26754 if test -z "${BUILD_BROWSETRACKER_TRUE}" && test -z "${BUILD_BROWSETRACKER_FALSE}"; then
26755 as_fn_error $? "conditional \"BUILD_BROWSETRACKER\" was never defined.
26756 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26757 fi
26758 if test -z "${BUILD_BYOGAMES_TRUE}" && test -z "${BUILD_BYOGAMES_FALSE}"; then
26759 as_fn_error $? "conditional \"BUILD_BYOGAMES\" was never defined.
26760 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26761 fi
26762 if test -z "${BUILD_CBKODERS_TRUE}" && test -z "${BUILD_CBKODERS_FALSE}"; then
26763 as_fn_error $? "conditional \"BUILD_CBKODERS\" was never defined.
26764 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26765 fi
26766 if test -z "${BUILD_CODESNIPPETS_TRUE}" && test -z "${BUILD_CODESNIPPETS_FALSE}"; then
26767 as_fn_error $? "conditional \"BUILD_CODESNIPPETS\" was never defined.
26768 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26769 fi
26770 if test -z "${BUILD_CODESTAT_TRUE}" && test -z "${BUILD_CODESTAT_FALSE}"; then
26771 as_fn_error $? "conditional \"BUILD_CODESTAT\" was never defined.
26772 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26773 fi
26774 if test -z "${BUILD_COPYSTRINGS_TRUE}" && test -z "${BUILD_COPYSTRINGS_FALSE}"; then
26775 as_fn_error $? "conditional \"BUILD_COPYSTRINGS\" was never defined.
26776 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26777 fi
26778 if test -z "${BUILD_CSCOPE_TRUE}" && test -z "${BUILD_CSCOPE_FALSE}"; then
26779 as_fn_error $? "conditional \"BUILD_CSCOPE\" was never defined.
26780 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26781 fi
26782 if test -z "${BUILD_DOXYBLOCKS_TRUE}" && test -z "${BUILD_DOXYBLOCKS_FALSE}"; then
26783 as_fn_error $? "conditional \"BUILD_DOXYBLOCKS\" was never defined.
26784 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26785 fi
26786 if test -z "${BUILD_DRAGSCROLL_TRUE}" && test -z "${BUILD_DRAGSCROLL_FALSE}"; then
26787 as_fn_error $? "conditional \"BUILD_DRAGSCROLL\" was never defined.
26788 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26789 fi
26790 if test -z "${BUILD_EDITORCONFIG_TRUE}" && test -z "${BUILD_EDITORCONFIG_FALSE}"; then
26791 as_fn_error $? "conditional \"BUILD_EDITORCONFIG\" was never defined.
26792 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26793 fi
26794 if test -z "${BUILD_EDITORTWEAKS_TRUE}" && test -z "${BUILD_EDITORTWEAKS_FALSE}"; then
26795 as_fn_error $? "conditional \"BUILD_EDITORTWEAKS\" was never defined.
26796 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26797 fi
26798 if test -z "${BUILD_ENVVARS_TRUE}" && test -z "${BUILD_ENVVARS_FALSE}"; then
26799 as_fn_error $? "conditional \"BUILD_ENVVARS\" was never defined.
26800 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26801 fi
26802 if test -z "${BUILD_FILEMANAGER_TRUE}" && test -z "${BUILD_FILEMANAGER_FALSE}"; then
26803 as_fn_error $? "conditional \"BUILD_FILEMANAGER\" was never defined.
26804 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26805 fi
26806 if test -z "${BUILD_HEADERFIXUP_TRUE}" && test -z "${BUILD_HEADERFIXUP_FALSE}"; then
26807 as_fn_error $? "conditional \"BUILD_HEADERFIXUP\" was never defined.
26808 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26809 fi
26810 if test -z "${BUILD_HELP_TRUE}" && test -z "${BUILD_HELP_FALSE}"; then
26811 as_fn_error $? "conditional \"BUILD_HELP\" was never defined.
26812 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26813 fi
26814 if test -z "${BUILD_KEYBINDER_TRUE}" && test -z "${BUILD_KEYBINDER_FALSE}"; then
26815 as_fn_error $? "conditional \"BUILD_KEYBINDER\" was never defined.
26816 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26817 fi
26818 if test -z "${BUILD_LIBFINDER_TRUE}" && test -z "${BUILD_LIBFINDER_FALSE}"; then
26819 as_fn_error $? "conditional \"BUILD_LIBFINDER\" was never defined.
26820 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26821 fi
26822 if test -z "${BUILD_NASSISHNEIDERMAN_TRUE}" && test -z "${BUILD_NASSISHNEIDERMAN_FALSE}"; then
26823 as_fn_error $? "conditional \"BUILD_NASSISHNEIDERMAN\" was never defined.
26824 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26825 fi
26826 if test -z "${BUILD_PROJECTOPTIONSMANIPULATOR_TRUE}" && test -z "${BUILD_PROJECTOPTIONSMANIPULATOR_FALSE}"; then
26827 as_fn_error $? "conditional \"BUILD_PROJECTOPTIONSMANIPULATOR\" was never defined.
26828 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26829 fi
26830 if test -z "${BUILD_PROFILER_TRUE}" && test -z "${BUILD_PROFILER_FALSE}"; then
26831 as_fn_error $? "conditional \"BUILD_PROFILER\" was never defined.
26832 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26833 fi
26834 if test -z "${BUILD_REGEX_TRUE}" && test -z "${BUILD_REGEX_FALSE}"; then
26835 as_fn_error $? "conditional \"BUILD_REGEX\" was never defined.
26836 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26837 fi
26838 if test -z "${BUILD_REOPENEDITOR_TRUE}" && test -z "${BUILD_REOPENEDITOR_FALSE}"; then
26839 as_fn_error $? "conditional \"BUILD_REOPENEDITOR\" was never defined.
26840 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26841 fi
26842 if test -z "${BUILD_RNDGEN_TRUE}" && test -z "${BUILD_RNDGEN_FALSE}"; then
26843 as_fn_error $? "conditional \"BUILD_RNDGEN\" was never defined.
26844 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26845 fi
26846 if test -z "${BUILD_CLANGD_CLIENT_TRUE}" && test -z "${BUILD_CLANGD_CLIENT_FALSE}"; then
26847 as_fn_error $? "conditional \"BUILD_CLANGD_CLIENT\" was never defined.
26848 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26849 fi
26850 if test -z "${BUILD_EXPORTER_TRUE}" && test -z "${BUILD_EXPORTER_FALSE}"; then
26851 as_fn_error $? "conditional \"BUILD_EXPORTER\" was never defined.
26852 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26853 fi
26854 if test -z "${BUILD_SMARTINDENT_TRUE}" && test -z "${BUILD_SMARTINDENT_FALSE}"; then
26855 as_fn_error $? "conditional \"BUILD_SMARTINDENT\" was never defined.
26856 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26857 fi
26858 if test -z "${BUILD_SPELLCHECKER_TRUE}" && test -z "${BUILD_SPELLCHECKER_FALSE}"; then
26859 as_fn_error $? "conditional \"BUILD_SPELLCHECKER\" was never defined.
26860 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26861 fi
26862 if test -z "${BUILD_SYMTAB_TRUE}" && test -z "${BUILD_SYMTAB_FALSE}"; then
26863 as_fn_error $? "conditional \"BUILD_SYMTAB\" was never defined.
26864 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26865 fi
26866 if test -z "${BUILD_THREADSEARCH_TRUE}" && test -z "${BUILD_THREADSEARCH_FALSE}"; then
26867 as_fn_error $? "conditional \"BUILD_THREADSEARCH\" was never defined.
26868 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26869 fi
26870 if test -z "${BUILD_TOOLSPLUS_TRUE}" && test -z "${BUILD_TOOLSPLUS_FALSE}"; then
26871 as_fn_error $? "conditional \"BUILD_TOOLSPLUS\" was never defined.
26872 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26873 fi
26874 if test -z "${BUILD_VALGRIND_TRUE}" && test -z "${BUILD_VALGRIND_FALSE}"; then
26875 as_fn_error $? "conditional \"BUILD_VALGRIND\" was never defined.
26876 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26877 fi
26878 if test -z "${BUILD_WXCONTRIB_TRUE}" && test -z "${BUILD_WXCONTRIB_FALSE}"; then
26879 as_fn_error $? "conditional \"BUILD_WXCONTRIB\" was never defined.
26880 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26881 fi
26882 if test -z "${BUILD_WXSMITH_TRUE}" && test -z "${BUILD_WXSMITH_FALSE}"; then
26883 as_fn_error $? "conditional \"BUILD_WXSMITH\" was never defined.
26884 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26885 fi
26886 if test -z "${BUILD_WXSMITHCONTRIB_TRUE}" && test -z "${BUILD_WXSMITHCONTRIB_FALSE}"; then
26887 as_fn_error $? "conditional \"BUILD_WXSMITHCONTRIB\" was never defined.
26888 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26889 fi
26890 if test -z "${BUILD_WXSMITHAUI_TRUE}" && test -z "${BUILD_WXSMITHAUI_FALSE}"; then
26891 as_fn_error $? "conditional \"BUILD_WXSMITHAUI\" was never defined.
26892 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26893 fi
26894 if test -z "${BUILD_HEXEDITOR_TRUE}" && test -z "${BUILD_HEXEDITOR_FALSE}"; then
26895 as_fn_error $? "conditional \"BUILD_HEXEDITOR\" was never defined.
26896 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26897 fi
26898 if test -z "${BUILD_INCSEARCH_TRUE}" && test -z "${BUILD_INCSEARCH_FALSE}"; then
26899 as_fn_error $? "conditional \"BUILD_INCSEARCH\" was never defined.
26900 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26901 fi
26902 if test -z "${BUILD_MOUSESAP_TRUE}" && test -z "${BUILD_MOUSESAP_FALSE}"; then
26903 as_fn_error $? "conditional \"BUILD_MOUSESAP\" was never defined.
26904 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26905 fi
26906 if test -z "${BUILD_CCCC_TRUE}" && test -z "${BUILD_CCCC_FALSE}"; then
26907 as_fn_error $? "conditional \"BUILD_CCCC\" was never defined.
26908 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26909 fi
26910 if test -z "${BUILD_CPPCHECK_TRUE}" && test -z "${BUILD_CPPCHECK_FALSE}"; then
26911 as_fn_error $? "conditional \"BUILD_CPPCHECK\" was never defined.
26912 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26913 fi
26914 if test -z "${BUILD_AUTOVERSIONING_TRUE}" && test -z "${BUILD_AUTOVERSIONING_FALSE}"; then
26915 as_fn_error $? "conditional \"BUILD_AUTOVERSIONING\" was never defined.
26916 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26917 fi
26918 if test -z "${BUILD_BROWSETRACKER_TRUE}" && test -z "${BUILD_BROWSETRACKER_FALSE}"; then
26919 as_fn_error $? "conditional \"BUILD_BROWSETRACKER\" was never defined.
26920 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26921 fi
26922 if test -z "${BUILD_BYOGAMES_TRUE}" && test -z "${BUILD_BYOGAMES_FALSE}"; then
26923 as_fn_error $? "conditional \"BUILD_BYOGAMES\" was never defined.
26924 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26925 fi
26926 if test -z "${BUILD_CBKODERS_TRUE}" && test -z "${BUILD_CBKODERS_FALSE}"; then
26927 as_fn_error $? "conditional \"BUILD_CBKODERS\" was never defined.
26928 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26929 fi
26930 if test -z "${BUILD_CODESNIPPETS_TRUE}" && test -z "${BUILD_CODESNIPPETS_FALSE}"; then
26931 as_fn_error $? "conditional \"BUILD_CODESNIPPETS\" was never defined.
26932 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26933 fi
26934 if test -z "${BUILD_CODESTAT_TRUE}" && test -z "${BUILD_CODESTAT_FALSE}"; then
26935 as_fn_error $? "conditional \"BUILD_CODESTAT\" was never defined.
26936 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26937 fi
26938 if test -z "${BUILD_COPYSTRINGS_TRUE}" && test -z "${BUILD_COPYSTRINGS_FALSE}"; then
26939 as_fn_error $? "conditional \"BUILD_COPYSTRINGS\" was never defined.
26940 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26941 fi
26942 if test -z "${BUILD_CSCOPE_TRUE}" && test -z "${BUILD_CSCOPE_FALSE}"; then
26943 as_fn_error $? "conditional \"BUILD_CSCOPE\" was never defined.
26944 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26945 fi
26946 if test -z "${BUILD_DOXYBLOCKS_TRUE}" && test -z "${BUILD_DOXYBLOCKS_FALSE}"; then
26947 as_fn_error $? "conditional \"BUILD_DOXYBLOCKS\" was never defined.
26948 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26949 fi
26950 if test -z "${BUILD_DRAGSCROLL_TRUE}" && test -z "${BUILD_DRAGSCROLL_FALSE}"; then
26951 as_fn_error $? "conditional \"BUILD_DRAGSCROLL\" was never defined.
26952 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26953 fi
26954 if test -z "${BUILD_EDITORCONFIG_TRUE}" && test -z "${BUILD_EDITORCONFIG_FALSE}"; then
26955 as_fn_error $? "conditional \"BUILD_EDITORCONFIG\" was never defined.
26956 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26957 fi
26958 if test -z "${BUILD_EDITORTWEAKS_TRUE}" && test -z "${BUILD_EDITORTWEAKS_FALSE}"; then
26959 as_fn_error $? "conditional \"BUILD_EDITORTWEAKS\" was never defined.
26960 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26961 fi
26962 if test -z "${BUILD_ENVVARS_TRUE}" && test -z "${BUILD_ENVVARS_FALSE}"; then
26963 as_fn_error $? "conditional \"BUILD_ENVVARS\" was never defined.
26964 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26965 fi
26966 if test -z "${BUILD_FILEMANAGER_TRUE}" && test -z "${BUILD_FILEMANAGER_FALSE}"; then
26967 as_fn_error $? "conditional \"BUILD_FILEMANAGER\" was never defined.
26968 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26969 fi
26970 if test -z "${BUILD_HEADERFIXUP_TRUE}" && test -z "${BUILD_HEADERFIXUP_FALSE}"; then
26971 as_fn_error $? "conditional \"BUILD_HEADERFIXUP\" was never defined.
26972 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26973 fi
26974 if test -z "${BUILD_HELP_TRUE}" && test -z "${BUILD_HELP_FALSE}"; then
26975 as_fn_error $? "conditional \"BUILD_HELP\" was never defined.
26976 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26977 fi
26978 if test -z "${BUILD_KEYBINDER_TRUE}" && test -z "${BUILD_KEYBINDER_FALSE}"; then
26979 as_fn_error $? "conditional \"BUILD_KEYBINDER\" was never defined.
26980 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26981 fi
26982 if test -z "${BUILD_LIBFINDER_TRUE}" && test -z "${BUILD_LIBFINDER_FALSE}"; then
26983 as_fn_error $? "conditional \"BUILD_LIBFINDER\" was never defined.
26984 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26985 fi
26986 if test -z "${BUILD_NASSISHNEIDERMAN_TRUE}" && test -z "${BUILD_NASSISHNEIDERMAN_FALSE}"; then
26987 as_fn_error $? "conditional \"BUILD_NASSISHNEIDERMAN\" was never defined.
26988 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26989 fi
26990 if test -z "${BUILD_PROJECTOPTIONSMANIPULATOR_TRUE}" && test -z "${BUILD_PROJECTOPTIONSMANIPULATOR_FALSE}"; then
26991 as_fn_error $? "conditional \"BUILD_PROJECTOPTIONSMANIPULATOR\" was never defined.
26992 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26993 fi
26994 if test -z "${BUILD_PROFILER_TRUE}" && test -z "${BUILD_PROFILER_FALSE}"; then
26995 as_fn_error $? "conditional \"BUILD_PROFILER\" was never defined.
26996 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26997 fi
26998 if test -z "${BUILD_REGEX_TRUE}" && test -z "${BUILD_REGEX_FALSE}"; then
26999 as_fn_error $? "conditional \"BUILD_REGEX\" was never defined.
27000 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27001 fi
27002 if test -z "${BUILD_REOPENEDITOR_TRUE}" && test -z "${BUILD_REOPENEDITOR_FALSE}"; then
27003 as_fn_error $? "conditional \"BUILD_REOPENEDITOR\" was never defined.
27004 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27005 fi
27006 if test -z "${BUILD_RNDGEN_TRUE}" && test -z "${BUILD_RNDGEN_FALSE}"; then
27007 as_fn_error $? "conditional \"BUILD_RNDGEN\" was never defined.
27008 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27009 fi
27010 if test -z "${BUILD_CLANGD_CLIENT_TRUE}" && test -z "${BUILD_CLANGD_CLIENT_FALSE}"; then
27011 as_fn_error $? "conditional \"BUILD_CLANGD_CLIENT\" was never defined.
27012 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27013 fi
27014 if test -z "${BUILD_EXPORTER_TRUE}" && test -z "${BUILD_EXPORTER_FALSE}"; then
27015 as_fn_error $? "conditional \"BUILD_EXPORTER\" was never defined.
27016 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27017 fi
27018 if test -z "${BUILD_SMARTINDENT_TRUE}" && test -z "${BUILD_SMARTINDENT_FALSE}"; then
27019 as_fn_error $? "conditional \"BUILD_SMARTINDENT\" was never defined.
27020 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27021 fi
27022 if test -z "${BUILD_SPELLCHECKER_TRUE}" && test -z "${BUILD_SPELLCHECKER_FALSE}"; then
27023 as_fn_error $? "conditional \"BUILD_SPELLCHECKER\" was never defined.
27024 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27025 fi
27026 if test -z "${BUILD_SYMTAB_TRUE}" && test -z "${BUILD_SYMTAB_FALSE}"; then
27027 as_fn_error $? "conditional \"BUILD_SYMTAB\" was never defined.
27028 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27029 fi
27030 if test -z "${BUILD_THREADSEARCH_TRUE}" && test -z "${BUILD_THREADSEARCH_FALSE}"; then
27031 as_fn_error $? "conditional \"BUILD_THREADSEARCH\" was never defined.
27032 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27033 fi
27034 if test -z "${BUILD_TOOLSPLUS_TRUE}" && test -z "${BUILD_TOOLSPLUS_FALSE}"; then
27035 as_fn_error $? "conditional \"BUILD_TOOLSPLUS\" was never defined.
27036 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27037 fi
27038 if test -z "${BUILD_VALGRIND_TRUE}" && test -z "${BUILD_VALGRIND_FALSE}"; then
27039 as_fn_error $? "conditional \"BUILD_VALGRIND\" was never defined.
27040 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27041 fi
27042 if test -z "${BUILD_WXCONTRIB_TRUE}" && test -z "${BUILD_WXCONTRIB_FALSE}"; then
27043 as_fn_error $? "conditional \"BUILD_WXCONTRIB\" was never defined.
27044 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27045 fi
27046 if test -z "${BUILD_WXSMITH_TRUE}" && test -z "${BUILD_WXSMITH_FALSE}"; then
27047 as_fn_error $? "conditional \"BUILD_WXSMITH\" was never defined.
27048 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27049 fi
27050 if test -z "${BUILD_WXSMITHCONTRIB_TRUE}" && test -z "${BUILD_WXSMITHCONTRIB_FALSE}"; then
27051 as_fn_error $? "conditional \"BUILD_WXSMITHCONTRIB\" was never defined.
27052 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27053 fi
27054 if test -z "${BUILD_WXSMITHAUI_TRUE}" && test -z "${BUILD_WXSMITHAUI_FALSE}"; then
27055 as_fn_error $? "conditional \"BUILD_WXSMITHAUI\" was never defined.
27056 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27057 fi
27058 if test -z "${BUILD_HEXEDITOR_TRUE}" && test -z "${BUILD_HEXEDITOR_FALSE}"; then
27059 as_fn_error $? "conditional \"BUILD_HEXEDITOR\" was never defined.
27060 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27061 fi
27062 if test -z "${BUILD_INCSEARCH_TRUE}" && test -z "${BUILD_INCSEARCH_FALSE}"; then
27063 as_fn_error $? "conditional \"BUILD_INCSEARCH\" was never defined.
27064 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27065 fi
27066 if test -z "${BUILD_MOUSESAP_TRUE}" && test -z "${BUILD_MOUSESAP_FALSE}"; then
27067 as_fn_error $? "conditional \"BUILD_MOUSESAP\" was never defined.
27068 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27069 fi
27070 if test -z "${BUILD_CCCC_TRUE}" && test -z "${BUILD_CCCC_FALSE}"; then
27071 as_fn_error $? "conditional \"BUILD_CCCC\" was never defined.
27072 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27073 fi
27074 if test -z "${BUILD_CPPCHECK_TRUE}" && test -z "${BUILD_CPPCHECK_FALSE}"; then
27075 as_fn_error $? "conditional \"BUILD_CPPCHECK\" was never defined.
27076 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27077 fi
27078 if test -z "${BUILD_AUTOVERSIONING_TRUE}" && test -z "${BUILD_AUTOVERSIONING_FALSE}"; then
27079 as_fn_error $? "conditional \"BUILD_AUTOVERSIONING\" was never defined.
27080 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27081 fi
27082 if test -z "${BUILD_BROWSETRACKER_TRUE}" && test -z "${BUILD_BROWSETRACKER_FALSE}"; then
27083 as_fn_error $? "conditional \"BUILD_BROWSETRACKER\" was never defined.
27084 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27085 fi
27086 if test -z "${BUILD_BYOGAMES_TRUE}" && test -z "${BUILD_BYOGAMES_FALSE}"; then
27087 as_fn_error $? "conditional \"BUILD_BYOGAMES\" was never defined.
27088 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27089 fi
27090 if test -z "${BUILD_CBKODERS_TRUE}" && test -z "${BUILD_CBKODERS_FALSE}"; then
27091 as_fn_error $? "conditional \"BUILD_CBKODERS\" was never defined.
27092 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27093 fi
27094 if test -z "${BUILD_CODESNIPPETS_TRUE}" && test -z "${BUILD_CODESNIPPETS_FALSE}"; then
27095 as_fn_error $? "conditional \"BUILD_CODESNIPPETS\" was never defined.
27096 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27097 fi
27098 if test -z "${BUILD_CODESTAT_TRUE}" && test -z "${BUILD_CODESTAT_FALSE}"; then
27099 as_fn_error $? "conditional \"BUILD_CODESTAT\" was never defined.
27100 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27101 fi
27102 if test -z "${BUILD_COPYSTRINGS_TRUE}" && test -z "${BUILD_COPYSTRINGS_FALSE}"; then
27103 as_fn_error $? "conditional \"BUILD_COPYSTRINGS\" was never defined.
27104 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27105 fi
27106 if test -z "${BUILD_CSCOPE_TRUE}" && test -z "${BUILD_CSCOPE_FALSE}"; then
27107 as_fn_error $? "conditional \"BUILD_CSCOPE\" was never defined.
27108 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27109 fi
27110 if test -z "${BUILD_DOXYBLOCKS_TRUE}" && test -z "${BUILD_DOXYBLOCKS_FALSE}"; then
27111 as_fn_error $? "conditional \"BUILD_DOXYBLOCKS\" was never defined.
27112 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27113 fi
27114 if test -z "${BUILD_DRAGSCROLL_TRUE}" && test -z "${BUILD_DRAGSCROLL_FALSE}"; then
27115 as_fn_error $? "conditional \"BUILD_DRAGSCROLL\" was never defined.
27116 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27117 fi
27118 if test -z "${BUILD_EDITORCONFIG_TRUE}" && test -z "${BUILD_EDITORCONFIG_FALSE}"; then
27119 as_fn_error $? "conditional \"BUILD_EDITORCONFIG\" was never defined.
27120 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27121 fi
27122 if test -z "${BUILD_EDITORTWEAKS_TRUE}" && test -z "${BUILD_EDITORTWEAKS_FALSE}"; then
27123 as_fn_error $? "conditional \"BUILD_EDITORTWEAKS\" was never defined.
27124 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27125 fi
27126 if test -z "${BUILD_ENVVARS_TRUE}" && test -z "${BUILD_ENVVARS_FALSE}"; then
27127 as_fn_error $? "conditional \"BUILD_ENVVARS\" was never defined.
27128 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27129 fi
27130 if test -z "${BUILD_FILEMANAGER_TRUE}" && test -z "${BUILD_FILEMANAGER_FALSE}"; then
27131 as_fn_error $? "conditional \"BUILD_FILEMANAGER\" was never defined.
27132 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27133 fi
27134 if test -z "${BUILD_HEADERFIXUP_TRUE}" && test -z "${BUILD_HEADERFIXUP_FALSE}"; then
27135 as_fn_error $? "conditional \"BUILD_HEADERFIXUP\" was never defined.
27136 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27137 fi
27138 if test -z "${BUILD_HELP_TRUE}" && test -z "${BUILD_HELP_FALSE}"; then
27139 as_fn_error $? "conditional \"BUILD_HELP\" was never defined.
27140 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27141 fi
27142 if test -z "${BUILD_KEYBINDER_TRUE}" && test -z "${BUILD_KEYBINDER_FALSE}"; then
27143 as_fn_error $? "conditional \"BUILD_KEYBINDER\" was never defined.
27144 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27145 fi
27146 if test -z "${BUILD_LIBFINDER_TRUE}" && test -z "${BUILD_LIBFINDER_FALSE}"; then
27147 as_fn_error $? "conditional \"BUILD_LIBFINDER\" was never defined.
27148 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27149 fi
27150 if test -z "${BUILD_NASSISHNEIDERMAN_TRUE}" && test -z "${BUILD_NASSISHNEIDERMAN_FALSE}"; then
27151 as_fn_error $? "conditional \"BUILD_NASSISHNEIDERMAN\" was never defined.
27152 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27153 fi
27154 if test -z "${BUILD_PROFILER_TRUE}" && test -z "${BUILD_PROFILER_FALSE}"; then
27155 as_fn_error $? "conditional \"BUILD_PROFILER\" was never defined.
27156 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27157 fi
27158 if test -z "${BUILD_REGEX_TRUE}" && test -z "${BUILD_REGEX_FALSE}"; then
27159 as_fn_error $? "conditional \"BUILD_REGEX\" was never defined.
27160 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27161 fi
27162 if test -z "${BUILD_REOPENEDITOR_TRUE}" && test -z "${BUILD_REOPENEDITOR_FALSE}"; then
27163 as_fn_error $? "conditional \"BUILD_REOPENEDITOR\" was never defined.
27164 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27165 fi
27166 if test -z "${BUILD_RNDGEN_TRUE}" && test -z "${BUILD_RNDGEN_FALSE}"; then
27167 as_fn_error $? "conditional \"BUILD_RNDGEN\" was never defined.
27168 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27169 fi
27170 if test -z "${BUILD_CLANGD_CLIENT_TRUE}" && test -z "${BUILD_CLANGD_CLIENT_FALSE}"; then
27171 as_fn_error $? "conditional \"BUILD_CLANGD_CLIENT\" was never defined.
27172 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27173 fi
27174 if test -z "${BUILD_EXPORTER_TRUE}" && test -z "${BUILD_EXPORTER_FALSE}"; then
27175 as_fn_error $? "conditional \"BUILD_EXPORTER\" was never defined.
27176 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27177 fi
27178 if test -z "${BUILD_SMARTINDENT_TRUE}" && test -z "${BUILD_SMARTINDENT_FALSE}"; then
27179 as_fn_error $? "conditional \"BUILD_SMARTINDENT\" was never defined.
27180 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27181 fi
27182 if test -z "${BUILD_SPELLCHECKER_TRUE}" && test -z "${BUILD_SPELLCHECKER_FALSE}"; then
27183 as_fn_error $? "conditional \"BUILD_SPELLCHECKER\" was never defined.
27184 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27185 fi
27186 if test -z "${BUILD_SYMTAB_TRUE}" && test -z "${BUILD_SYMTAB_FALSE}"; then
27187 as_fn_error $? "conditional \"BUILD_SYMTAB\" was never defined.
27188 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27189 fi
27190 if test -z "${BUILD_THREADSEARCH_TRUE}" && test -z "${BUILD_THREADSEARCH_FALSE}"; then
27191 as_fn_error $? "conditional \"BUILD_THREADSEARCH\" was never defined.
27192 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27193 fi
27194 if test -z "${BUILD_TOOLSPLUS_TRUE}" && test -z "${BUILD_TOOLSPLUS_FALSE}"; then
27195 as_fn_error $? "conditional \"BUILD_TOOLSPLUS\" was never defined.
27196 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27197 fi
27198 if test -z "${BUILD_VALGRIND_TRUE}" && test -z "${BUILD_VALGRIND_FALSE}"; then
27199 as_fn_error $? "conditional \"BUILD_VALGRIND\" was never defined.
27200 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27201 fi
27202 if test -z "${BUILD_WXCONTRIB_TRUE}" && test -z "${BUILD_WXCONTRIB_FALSE}"; then
27203 as_fn_error $? "conditional \"BUILD_WXCONTRIB\" was never defined.
27204 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27205 fi
27206 if test -z "${BUILD_WXSMITH_TRUE}" && test -z "${BUILD_WXSMITH_FALSE}"; then
27207 as_fn_error $? "conditional \"BUILD_WXSMITH\" was never defined.
27208 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27209 fi
27210 if test -z "${BUILD_WXSMITHCONTRIB_TRUE}" && test -z "${BUILD_WXSMITHCONTRIB_FALSE}"; then
27211 as_fn_error $? "conditional \"BUILD_WXSMITHCONTRIB\" was never defined.
27212 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27213 fi
27214 if test -z "${BUILD_WXSMITHAUI_TRUE}" && test -z "${BUILD_WXSMITHAUI_FALSE}"; then
27215 as_fn_error $? "conditional \"BUILD_WXSMITHAUI\" was never defined.
27216 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27217 fi
27218 if test -z "${BUILD_HEXEDITOR_TRUE}" && test -z "${BUILD_HEXEDITOR_FALSE}"; then
27219 as_fn_error $? "conditional \"BUILD_HEXEDITOR\" was never defined.
27220 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27221 fi
27222 if test -z "${BUILD_INCSEARCH_TRUE}" && test -z "${BUILD_INCSEARCH_FALSE}"; then
27223 as_fn_error $? "conditional \"BUILD_INCSEARCH\" was never defined.
27224 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27225 fi
27226 if test -z "${BUILD_MOUSESAP_TRUE}" && test -z "${BUILD_MOUSESAP_FALSE}"; then
27227 as_fn_error $? "conditional \"BUILD_MOUSESAP\" was never defined.
27228 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27229 fi
27230 if test -z "${BUILD_CCCC_TRUE}" && test -z "${BUILD_CCCC_FALSE}"; then
27231 as_fn_error $? "conditional \"BUILD_CCCC\" was never defined.
27232 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27233 fi
27234 if test -z "${BUILD_CPPCHECK_TRUE}" && test -z "${BUILD_CPPCHECK_FALSE}"; then
27235 as_fn_error $? "conditional \"BUILD_CPPCHECK\" was never defined.
27236 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27237 fi
27238 if test -z "${PRECOMPILE_HEADERS_TRUE}" && test -z "${PRECOMPILE_HEADERS_FALSE}"; then
27239 as_fn_error $? "conditional \"PRECOMPILE_HEADERS\" was never defined.
27240 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27241 fi
27242 if test -z "${PRECOMPILE_HEADERS_TRUE}" && test -z "${PRECOMPILE_HEADERS_FALSE}"; then
27243 as_fn_error $? "conditional \"PRECOMPILE_HEADERS\" was never defined.
27244 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27245 fi
27246
27247 : "${CONFIG_STATUS=./config.status}"
27248 ac_write_fail=0
27249 ac_clean_files_save=$ac_clean_files
27250 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
27251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
27252 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
27253 as_write_fail=0
27254 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
27255 #! $SHELL
27256 # Generated by $as_me.
27257 # Run this file to recreate the current configuration.
27258 # Compiler output produced by configure, useful for debugging
27259 # configure, is in config.log if it exists.
27260
27261 debug=false
27262 ac_cs_recheck=false
27263 ac_cs_silent=false
27264
27265 SHELL=\${CONFIG_SHELL-$SHELL}
27266 export SHELL
27267 _ASEOF
27268 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
27269 ## -------------------- ##
27270 ## M4sh Initialization. ##
27271 ## -------------------- ##
27272
27273 # Be more Bourne compatible
27274 DUALCASE=1; export DUALCASE # for MKS sh
27275 as_nop=:
27276 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
27277 then :
27278 emulate sh
27279 NULLCMD=:
27280 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
27281 # is contrary to our usage. Disable this feature.
27282 alias -g '${1+"$@"}'='"$@"'
27283 setopt NO_GLOB_SUBST
27284 else $as_nop
27285 case `(set -o) 2>/dev/null` in #(
27286 *posix*) :
27287 set -o posix ;; #(
27288 *) :
27289 ;;
27290 esac
27291 fi
27292
27293
27294
27295 # Reset variables that may have inherited troublesome values from
27296 # the environment.
27297
27298 # IFS needs to be set, to space, tab, and newline, in precisely that order.
27299 # (If _AS_PATH_WALK were called with IFS unset, it would have the
27300 # side effect of setting IFS to empty, thus disabling word splitting.)
27301 # Quoting is to prevent editors from complaining about space-tab.
27302 as_nl='
27303 '
27304 export as_nl
27305 IFS=" "" $as_nl"
27306
27307 PS1='$ '
27308 PS2='> '
27309 PS4='+ '
27310
27311 # Ensure predictable behavior from utilities with locale-dependent output.
27312 LC_ALL=C
27313 export LC_ALL
27314 LANGUAGE=C
27315 export LANGUAGE
27316
27317 # We cannot yet rely on "unset" to work, but we need these variables
27318 # to be unset--not just set to an empty or harmless value--now, to
27319 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
27320 # also avoids known problems related to "unset" and subshell syntax
27321 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
27322 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
27323 do eval test \${$as_var+y} \
27324 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
27325 done
27326
27327 # Ensure that fds 0, 1, and 2 are open.
27328 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
27329 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
27330 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
27331
27332 # The user is always right.
27333 if ${PATH_SEPARATOR+false} :; then
27334 PATH_SEPARATOR=:
27335 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
27336 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
27337 PATH_SEPARATOR=';'
27338 }
27339 fi
27340
27341
27342 # Find who we are. Look in the path if we contain no directory separator.
27343 as_myself=
27344 case $0 in #((
27345 *[\\/]* ) as_myself=$0 ;;
27346 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27347 for as_dir in $PATH
27348 do
27349 IFS=$as_save_IFS
27350 case $as_dir in #(((
27351 '') as_dir=./ ;;
27352 */) ;;
27353 *) as_dir=$as_dir/ ;;
27354 esac
27355 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
27356 done
27357 IFS=$as_save_IFS
27358
27359 ;;
27360 esac
27361 # We did not find ourselves, most probably we were run as `sh COMMAND'
27362 # in which case we are not to be found in the path.
27363 if test "x$as_myself" = x; then
27364 as_myself=$0
27365 fi
27366 if test ! -f "$as_myself"; then
27367 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
27368 exit 1
27369 fi
27370
27371
27372
27373 # as_fn_error STATUS ERROR [LINENO LOG_FD]
27374 # ----------------------------------------
27375 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
27376 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
27377 # script with STATUS, using 1 if that was 0.
27378 as_fn_error ()
27379 {
27380 as_status=$1; test $as_status -eq 0 && as_status=1
27381 if test "$4"; then
27382 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
27383 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
27384 fi
27385 printf "%s\n" "$as_me: error: $2" >&2
27386 as_fn_exit $as_status
27387 } # as_fn_error
27388
27389
27390
27391 # as_fn_set_status STATUS
27392 # -----------------------
27393 # Set $? to STATUS, without forking.
27394 as_fn_set_status ()
27395 {
27396 return $1
27397 } # as_fn_set_status
27398
27399 # as_fn_exit STATUS
27400 # -----------------
27401 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
27402 as_fn_exit ()
27403 {
27404 set +e
27405 as_fn_set_status $1
27406 exit $1
27407 } # as_fn_exit
27408
27409 # as_fn_unset VAR
27410 # ---------------
27411 # Portably unset VAR.
27412 as_fn_unset ()
27413 {
27414 { eval $1=; unset $1;}
27415 }
27416 as_unset=as_fn_unset
27417
27418 # as_fn_append VAR VALUE
27419 # ----------------------
27420 # Append the text in VALUE to the end of the definition contained in VAR. Take
27421 # advantage of any shell optimizations that allow amortized linear growth over
27422 # repeated appends, instead of the typical quadratic growth present in naive
27423 # implementations.
27424 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
27425 then :
27426 eval 'as_fn_append ()
27427 {
27428 eval $1+=\$2
27429 }'
27430 else $as_nop
27431 as_fn_append ()
27432 {
27433 eval $1=\$$1\$2
27434 }
27435 fi # as_fn_append
27436
27437 # as_fn_arith ARG...
27438 # ------------------
27439 # Perform arithmetic evaluation on the ARGs, and store the result in the
27440 # global $as_val. Take advantage of shells that can avoid forks. The arguments
27441 # must be portable across $(()) and expr.
27442 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
27443 then :
27444 eval 'as_fn_arith ()
27445 {
27446 as_val=$(( $* ))
27447 }'
27448 else $as_nop
27449 as_fn_arith ()
27450 {
27451 as_val=`expr "$@" || test $? -eq 1`
27452 }
27453 fi # as_fn_arith
27454
27455
27456 if expr a : '\(a\)' >/dev/null 2>&1 &&
27457 test "X`expr 00001 : '.*\(...\)'`" = X001; then
27458 as_expr=expr
27459 else
27460 as_expr=false
27461 fi
27462
27463 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
27464 as_basename=basename
27465 else
27466 as_basename=false
27467 fi
27468
27469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
27470 as_dirname=dirname
27471 else
27472 as_dirname=false
27473 fi
27474
27475 as_me=`$as_basename -- "$0" ||
27476 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
27477 X"$0" : 'X\(//\)$' \| \
27478 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
27479 printf "%s\n" X/"$0" |
27480 sed '/^.*\/\([^/][^/]*\)\/*$/{
27481 s//\1/
27482 q
27483 }
27484 /^X\/\(\/\/\)$/{
27485 s//\1/
27486 q
27487 }
27488 /^X\/\(\/\).*/{
27489 s//\1/
27490 q
27491 }
27492 s/.*/./; q'`
27493
27494 # Avoid depending upon Character Ranges.
27495 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
27496 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
27497 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
27498 as_cr_digits='0123456789'
27499 as_cr_alnum=$as_cr_Letters$as_cr_digits
27500
27501
27502 # Determine whether it's possible to make 'echo' print without a newline.
27503 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
27504 # for compatibility with existing Makefiles.
27505 ECHO_C= ECHO_N= ECHO_T=
27506 case `echo -n x` in #(((((
27507 -n*)
27508 case `echo 'xy\c'` in
27509 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
27510 xy) ECHO_C='\c';;
27511 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
27512 ECHO_T=' ';;
27513 esac;;
27514 *)
27515 ECHO_N='-n';;
27516 esac
27517
27518 # For backward compatibility with old third-party macros, we provide
27519 # the shell variables $as_echo and $as_echo_n. New code should use
27520 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
27521 as_echo='printf %s\n'
27522 as_echo_n='printf %s'
27523
27524 rm -f conf$$ conf$$.exe conf$$.file
27525 if test -d conf$$.dir; then
27526 rm -f conf$$.dir/conf$$.file
27527 else
27528 rm -f conf$$.dir
27529 mkdir conf$$.dir 2>/dev/null
27530 fi
27531 if (echo >conf$$.file) 2>/dev/null; then
27532 if ln -s conf$$.file conf$$ 2>/dev/null; then
27533 as_ln_s='ln -s'
27534 # ... but there are two gotchas:
27535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
27536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
27537 # In both cases, we have to default to `cp -pR'.
27538 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
27539 as_ln_s='cp -pR'
27540 elif ln conf$$.file conf$$ 2>/dev/null; then
27541 as_ln_s=ln
27542 else
27543 as_ln_s='cp -pR'
27544 fi
27545 else
27546 as_ln_s='cp -pR'
27547 fi
27548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
27549 rmdir conf$$.dir 2>/dev/null
27550
27551
27552 # as_fn_mkdir_p
27553 # -------------
27554 # Create "$as_dir" as a directory, including parents if necessary.
27555 as_fn_mkdir_p ()
27556 {
27557
27558 case $as_dir in #(
27559 -*) as_dir=./$as_dir;;
27560 esac
27561 test -d "$as_dir" || eval $as_mkdir_p || {
27562 as_dirs=
27563 while :; do
27564 case $as_dir in #(
27565 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
27566 *) as_qdir=$as_dir;;
27567 esac
27568 as_dirs="'$as_qdir' $as_dirs"
27569 as_dir=`$as_dirname -- "$as_dir" ||
27570 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27571 X"$as_dir" : 'X\(//\)[^/]' \| \
27572 X"$as_dir" : 'X\(//\)$' \| \
27573 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27574 printf "%s\n" X"$as_dir" |
27575 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27576 s//\1/
27577 q
27578 }
27579 /^X\(\/\/\)[^/].*/{
27580 s//\1/
27581 q
27582 }
27583 /^X\(\/\/\)$/{
27584 s//\1/
27585 q
27586 }
27587 /^X\(\/\).*/{
27588 s//\1/
27589 q
27590 }
27591 s/.*/./; q'`
27592 test -d "$as_dir" && break
27593 done
27594 test -z "$as_dirs" || eval "mkdir $as_dirs"
27595 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
27596
27597
27598 } # as_fn_mkdir_p
27599 if mkdir -p . 2>/dev/null; then
27600 as_mkdir_p='mkdir -p "$as_dir"'
27601 else
27602 test -d ./-p && rmdir ./-p
27603 as_mkdir_p=false
27604 fi
27605
27606
27607 # as_fn_executable_p FILE
27608 # -----------------------
27609 # Test if FILE is an executable regular file.
27610 as_fn_executable_p ()
27611 {
27612 test -f "$1" && test -x "$1"
27613 } # as_fn_executable_p
27614 as_test_x='test -x'
27615 as_executable_p=as_fn_executable_p
27616
27617 # Sed expression to map a string onto a valid CPP name.
27618 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
27619
27620 # Sed expression to map a string onto a valid variable name.
27621 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
27622
27623
27624 exec 6>&1
27625 ## ----------------------------------- ##
27626 ## Main body of $CONFIG_STATUS script. ##
27627 ## ----------------------------------- ##
27628 _ASEOF
27629 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
27630
27631 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27632 # Save the log message, to keep $0 and so on meaningful, and to
27633 # report actual input values of CONFIG_FILES etc. instead of their
27634 # values after options handling.
27635 ac_log="
27636 This file was extended by codeblocks $as_me 25.03svn13644, which was
27637 generated by GNU Autoconf 2.71. Invocation command line was
27638
27639 CONFIG_FILES = $CONFIG_FILES
27640 CONFIG_HEADERS = $CONFIG_HEADERS
27641 CONFIG_LINKS = $CONFIG_LINKS
27642 CONFIG_COMMANDS = $CONFIG_COMMANDS
27643 $ $0 $@
27644
27645 on `(hostname || uname -n) 2>/dev/null | sed 1q`
27646 "
27647
27648 _ACEOF
27649
27650 case $ac_config_files in *"
27651 "*) set x $ac_config_files; shift; ac_config_files=$*;;
27652 esac
27653
27654 case $ac_config_headers in *"
27655 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
27656 esac
27657
27658
27659 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27660 # Files that config.status was made for.
27661 config_files="$ac_config_files"
27662 config_headers="$ac_config_headers"
27663 config_commands="$ac_config_commands"
27664
27665 _ACEOF
27666
27667 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27668 ac_cs_usage="\
27669 \`$as_me' instantiates files and other configuration actions
27670 from templates according to the current configuration. Unless the files
27671 and actions are specified as TAGs, all are instantiated by default.
27672
27673 Usage: $0 [OPTION]... [TAG]...
27674
27675 -h, --help print this help, then exit
27676 -V, --version print version number and configuration settings, then exit
27677 --config print configuration, then exit
27678 -q, --quiet, --silent
27679 do not print progress messages
27680 -d, --debug don't remove temporary files
27681 --recheck update $as_me by reconfiguring in the same conditions
27682 --file=FILE[:TEMPLATE]
27683 instantiate the configuration file FILE
27684 --header=FILE[:TEMPLATE]
27685 instantiate the configuration header FILE
27686
27687 Configuration files:
27688 $config_files
27689
27690 Configuration headers:
27691 $config_headers
27692
27693 Configuration commands:
27694 $config_commands
27695
27696 Report bugs to the package provider."
27697
27698 _ACEOF
27699 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
27700 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
27701 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27702 ac_cs_config='$ac_cs_config_escaped'
27703 ac_cs_version="\\
27704 codeblocks config.status 25.03svn13644
27705 configured by $0, generated by GNU Autoconf 2.71,
27706 with options \\"\$ac_cs_config\\"
27707
27708 Copyright (C) 2021 Free Software Foundation, Inc.
27709 This config.status script is free software; the Free Software Foundation
27710 gives unlimited permission to copy, distribute and modify it."
27711
27712 ac_pwd='$ac_pwd'
27713 srcdir='$srcdir'
27714 INSTALL='$INSTALL'
27715 MKDIR_P='$MKDIR_P'
27716 AWK='$AWK'
27717 test -n "\$AWK" || AWK=awk
27718 _ACEOF
27719
27720 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27721 # The default lists apply if the user does not specify any file.
27722 ac_need_defaults=:
27723 while test $# != 0
27724 do
27725 case $1 in
27726 --*=?*)
27727 ac_option=`expr "X$1" : 'X\([^=]*\)='`
27728 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
27729 ac_shift=:
27730 ;;
27731 --*=)
27732 ac_option=`expr "X$1" : 'X\([^=]*\)='`
27733 ac_optarg=
27734 ac_shift=:
27735 ;;
27736 *)
27737 ac_option=$1
27738 ac_optarg=$2
27739 ac_shift=shift
27740 ;;
27741 esac
27742
27743 case $ac_option in
27744 # Handling of the options.
27745 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
27746 ac_cs_recheck=: ;;
27747 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
27748 printf "%s\n" "$ac_cs_version"; exit ;;
27749 --config | --confi | --conf | --con | --co | --c )
27750 printf "%s\n" "$ac_cs_config"; exit ;;
27751 --debug | --debu | --deb | --de | --d | -d )
27752 debug=: ;;
27753 --file | --fil | --fi | --f )
27754 $ac_shift
27755 case $ac_optarg in
27756 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27757 '') as_fn_error $? "missing file argument" ;;
27758 esac
27759 as_fn_append CONFIG_FILES " '$ac_optarg'"
27760 ac_need_defaults=false;;
27761 --header | --heade | --head | --hea )
27762 $ac_shift
27763 case $ac_optarg in
27764 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27765 esac
27766 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
27767 ac_need_defaults=false;;
27768 --he | --h)
27769 # Conflict between --help and --header
27770 as_fn_error $? "ambiguous option: \`$1'
27771 Try \`$0 --help' for more information.";;
27772 --help | --hel | -h )
27773 printf "%s\n" "$ac_cs_usage"; exit ;;
27774 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
27775 | -silent | --silent | --silen | --sile | --sil | --si | --s)
27776 ac_cs_silent=: ;;
27777
27778 # This is an error.
27779 -*) as_fn_error $? "unrecognized option: \`$1'
27780 Try \`$0 --help' for more information." ;;
27781
27782 *) as_fn_append ac_config_targets " $1"
27783 ac_need_defaults=false ;;
27784
27785 esac
27786 shift
27787 done
27788
27789 ac_configure_extra_args=
27790
27791 if $ac_cs_silent; then
27792 exec 6>/dev/null
27793 ac_configure_extra_args="$ac_configure_extra_args --silent"
27794 fi
27795
27796 _ACEOF
27797 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27798 if \$ac_cs_recheck; then
27799 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
27800 shift
27801 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
27802 CONFIG_SHELL='$SHELL'
27803 export CONFIG_SHELL
27804 exec "\$@"
27805 fi
27806
27807 _ACEOF
27808 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27809 exec 5>>config.log
27810 {
27811 echo
27812 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
27813 ## Running $as_me. ##
27814 _ASBOX
27815 printf "%s\n" "$ac_log"
27816 } >&5
27817
27818 _ACEOF
27819 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27820 #
27821 # INIT-COMMANDS
27822 #
27823 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
27824
27825
27826 # The HP-UX ksh and POSIX shell print the target directory to stdout
27827 # if CDPATH is set.
27828 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
27829
27830 sed_quote_subst='$sed_quote_subst'
27831 double_quote_subst='$double_quote_subst'
27832 delay_variable_subst='$delay_variable_subst'
27833 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
27834 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
27835 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
27836 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
27837 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
27838 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
27839 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
27840 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
27841 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
27842 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
27843 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
27844 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
27845 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
27846 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
27847 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
27848 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
27849 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
27850 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
27851 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
27852 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
27853 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
27854 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
27855 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
27856 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
27857 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
27858 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
27859 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
27860 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
27861 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
27862 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
27863 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
27864 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
27865 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
27866 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
27867 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
27868 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
27869 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
27870 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
27871 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
27872 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
27873 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
27874 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
27875 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
27876 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
27877 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
27878 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
27879 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
27880 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
27881 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27882 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27883 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
27884 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
27885 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
27886 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
27887 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
27888 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
27889 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
27890 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
27891 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
27892 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
27893 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
27894 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
27895 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
27896 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
27897 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
27898 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
27899 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
27900 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
27901 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
27902 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
27903 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
27904 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
27905 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
27906 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
27907 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
27908 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
27909 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
27910 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
27911 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
27912 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
27913 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
27914 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27915 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
27916 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
27917 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
27918 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
27919 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
27920 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
27921 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27922 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
27923 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27924 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
27925 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27926 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
27927 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
27928 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
27929 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
27930 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
27931 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
27932 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
27933 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
27934 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
27935 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
27936 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
27937 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
27938 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
27939 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
27940 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
27941 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
27942 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
27943 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
27944 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
27945 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
27946 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
27947 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
27948 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
27949 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
27950 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
27951 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
27952 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
27953 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
27954 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
27955 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
27956 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27957 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27958 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
27959 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
27960 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
27961 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
27962 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
27963 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
27964 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
27965 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
27966 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
27967 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
27968 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
27969 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
27970 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
27971 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
27972 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
27973 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
27974 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
27975 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
27976 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
27977 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
27978 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27979 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27980 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
27981 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
27982 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
27983 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
27984 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
27985 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
27986 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
27987 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
27988 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
27989 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
27990 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
27991 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
27992 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27993 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27994 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27995 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27996 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27997 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27998 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
27999 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
28000 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
28001 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
28002 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
28003 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
28004 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
28005 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
28006 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
28007 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
28008 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
28009 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
28010 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
28011 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
28012 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
28013 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
28014 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
28015 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
28016 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
28017 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
28018 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
28019 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
28020 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
28021 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
28022 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
28023 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
28024
28025 LTCC='$LTCC'
28026 LTCFLAGS='$LTCFLAGS'
28027 compiler='$compiler_DEFAULT'
28028
28029 # A function that is used when there is no print builtin or printf.
28030 func_fallback_echo ()
28031 {
28032 eval 'cat <<_LTECHO_EOF
28033 \$1
28034 _LTECHO_EOF'
28035 }
28036
28037 # Quote evaled strings.
28038 for var in SHELL \
28039 ECHO \
28040 PATH_SEPARATOR \
28041 SED \
28042 GREP \
28043 EGREP \
28044 FGREP \
28045 LD \
28046 NM \
28047 LN_S \
28048 lt_SP2NL \
28049 lt_NL2SP \
28050 reload_flag \
28051 FILECMD \
28052 OBJDUMP \
28053 deplibs_check_method \
28054 file_magic_cmd \
28055 file_magic_glob \
28056 want_nocaseglob \
28057 DLLTOOL \
28058 sharedlib_from_linklib_cmd \
28059 AR \
28060 archiver_list_spec \
28061 STRIP \
28062 RANLIB \
28063 CC \
28064 CFLAGS \
28065 compiler \
28066 lt_cv_sys_global_symbol_pipe \
28067 lt_cv_sys_global_symbol_to_cdecl \
28068 lt_cv_sys_global_symbol_to_import \
28069 lt_cv_sys_global_symbol_to_c_name_address \
28070 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
28071 lt_cv_nm_interface \
28072 nm_file_list_spec \
28073 lt_cv_truncate_bin \
28074 lt_prog_compiler_no_builtin_flag \
28075 lt_prog_compiler_pic \
28076 lt_prog_compiler_wl \
28077 lt_prog_compiler_static \
28078 lt_cv_prog_compiler_c_o \
28079 need_locks \
28080 MANIFEST_TOOL \
28081 DSYMUTIL \
28082 NMEDIT \
28083 LIPO \
28084 OTOOL \
28085 OTOOL64 \
28086 shrext_cmds \
28087 export_dynamic_flag_spec \
28088 whole_archive_flag_spec \
28089 compiler_needs_object \
28090 with_gnu_ld \
28091 allow_undefined_flag \
28092 no_undefined_flag \
28093 hardcode_libdir_flag_spec \
28094 hardcode_libdir_separator \
28095 exclude_expsyms \
28096 include_expsyms \
28097 file_list_spec \
28098 variables_saved_for_relink \
28099 libname_spec \
28100 library_names_spec \
28101 soname_spec \
28102 install_override_mode \
28103 finish_eval \
28104 old_striplib \
28105 striplib \
28106 compiler_lib_search_dirs \
28107 predep_objects \
28108 postdep_objects \
28109 predeps \
28110 postdeps \
28111 compiler_lib_search_path \
28112 LD_CXX \
28113 reload_flag_CXX \
28114 compiler_CXX \
28115 lt_prog_compiler_no_builtin_flag_CXX \
28116 lt_prog_compiler_pic_CXX \
28117 lt_prog_compiler_wl_CXX \
28118 lt_prog_compiler_static_CXX \
28119 lt_cv_prog_compiler_c_o_CXX \
28120 export_dynamic_flag_spec_CXX \
28121 whole_archive_flag_spec_CXX \
28122 compiler_needs_object_CXX \
28123 with_gnu_ld_CXX \
28124 allow_undefined_flag_CXX \
28125 no_undefined_flag_CXX \
28126 hardcode_libdir_flag_spec_CXX \
28127 hardcode_libdir_separator_CXX \
28128 exclude_expsyms_CXX \
28129 include_expsyms_CXX \
28130 file_list_spec_CXX \
28131 compiler_lib_search_dirs_CXX \
28132 predep_objects_CXX \
28133 postdep_objects_CXX \
28134 predeps_CXX \
28135 postdeps_CXX \
28136 compiler_lib_search_path_CXX; do
28137 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
28138 *[\\\\\\\`\\"\\\$]*)
28139 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
28140 ;;
28141 *)
28142 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
28143 ;;
28144 esac
28145 done
28146
28147 # Double-quote double-evaled strings.
28148 for var in reload_cmds \
28149 old_postinstall_cmds \
28150 old_postuninstall_cmds \
28151 old_archive_cmds \
28152 extract_expsyms_cmds \
28153 old_archive_from_new_cmds \
28154 old_archive_from_expsyms_cmds \
28155 archive_cmds \
28156 archive_expsym_cmds \
28157 module_cmds \
28158 module_expsym_cmds \
28159 export_symbols_cmds \
28160 prelink_cmds \
28161 postlink_cmds \
28162 postinstall_cmds \
28163 postuninstall_cmds \
28164 finish_cmds \
28165 sys_lib_search_path_spec \
28166 configure_time_dlsearch_path \
28167 configure_time_lt_sys_library_path \
28168 reload_cmds_CXX \
28169 old_archive_cmds_CXX \
28170 old_archive_from_new_cmds_CXX \
28171 old_archive_from_expsyms_cmds_CXX \
28172 archive_cmds_CXX \
28173 archive_expsym_cmds_CXX \
28174 module_cmds_CXX \
28175 module_expsym_cmds_CXX \
28176 export_symbols_cmds_CXX \
28177 prelink_cmds_CXX \
28178 postlink_cmds_CXX; do
28179 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
28180 *[\\\\\\\`\\"\\\$]*)
28181 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
28182 ;;
28183 *)
28184 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
28185 ;;
28186 esac
28187 done
28188
28189 ac_aux_dir='$ac_aux_dir'
28190
28191 # See if we are running on zsh, and set the options that allow our
28192 # commands through without removal of \ escapes INIT.
28193 if test -n "\${ZSH_VERSION+set}"; then
28194 setopt NO_GLOB_SUBST
28195 fi
28196
28197
28198 PACKAGE='$PACKAGE'
28199 VERSION='$VERSION'
28200 RM='$RM'
28201 ofile='$ofile'
28202
28203
28204
28205
28206
28207
28208 _ACEOF
28209
28210 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28211
28212 # Handling of arguments.
28213 for ac_config_target in $ac_config_targets
28214 do
28215 case $ac_config_target in
28216 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
28217 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
28218 "src/include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/include/config.h" ;;
28219 "bundle.sh") CONFIG_FILES="$CONFIG_FILES bundle.sh" ;;
28220 "codeblocks.plist") CONFIG_FILES="$CONFIG_FILES codeblocks.plist" ;;
28221 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
28222 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
28223 "src/base/Makefile") CONFIG_FILES="$CONFIG_FILES src/base/Makefile" ;;
28224 "src/base/tinyxml/Makefile") CONFIG_FILES="$CONFIG_FILES src/base/tinyxml/Makefile" ;;
28225 "src/build_tools/Makefile") CONFIG_FILES="$CONFIG_FILES src/build_tools/Makefile" ;;
28226 "src/build_tools/autorevision/Makefile") CONFIG_FILES="$CONFIG_FILES src/build_tools/autorevision/Makefile" ;;
28227 "src/include/autorevision.h") CONFIG_FILES="$CONFIG_FILES src/include/autorevision.h" ;;
28228 "src/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/Makefile" ;;
28229 "src/include/scripting/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/scripting/Makefile" ;;
28230 "src/include/scripting/bindings/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/scripting/bindings/Makefile" ;;
28231 "src/include/scripting/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/scripting/include/Makefile" ;;
28232 "src/include/tinyxml/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/tinyxml/Makefile" ;;
28233 "src/sdk/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/Makefile" ;;
28234 "src/sdk/scripting/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/scripting/Makefile" ;;
28235 "src/sdk/scripting/bindings/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/scripting/bindings/Makefile" ;;
28236 "src/sdk/scripting/squirrel/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/scripting/squirrel/Makefile" ;;
28237 "src/sdk/scripting/sqstdlib/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/scripting/sqstdlib/Makefile" ;;
28238 "src/sdk/wxscintilla/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/wxscintilla/Makefile" ;;
28239 "src/sdk/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/resources/Makefile" ;;
28240 "src/sdk/resources/lexers/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/resources/lexers/Makefile" ;;
28241 "src/src/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/src/resources/Makefile" ;;
28242 "src/src/resources/icons/Makefile") CONFIG_FILES="$CONFIG_FILES src/src/resources/icons/Makefile" ;;
28243 "src/src/resources/images/Makefile") CONFIG_FILES="$CONFIG_FILES src/src/resources/images/Makefile" ;;
28244 "src/src/resources/images/settings/Makefile") CONFIG_FILES="$CONFIG_FILES src/src/resources/images/settings/Makefile" ;;
28245 "src/src/Makefile") CONFIG_FILES="$CONFIG_FILES src/src/Makefile" ;;
28246 "src/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/Makefile" ;;
28247 "src/plugins/astyle/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/astyle/Makefile" ;;
28248 "src/plugins/astyle/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/astyle/resources/Makefile" ;;
28249 "src/plugins/autosave/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/autosave/Makefile" ;;
28250 "src/plugins/classwizard/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/classwizard/Makefile" ;;
28251 "src/plugins/classwizard/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/classwizard/resources/Makefile" ;;
28252 "src/plugins/codecompletion/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/codecompletion/Makefile" ;;
28253 "src/plugins/codecompletion/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/codecompletion/resources/Makefile" ;;
28254 "src/plugins/compilergcc/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/compilergcc/Makefile" ;;
28255 "src/plugins/compilergcc/depslib/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/compilergcc/depslib/Makefile" ;;
28256 "src/plugins/compilergcc/depslib/src/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/compilergcc/depslib/src/Makefile" ;;
28257 "src/plugins/compilergcc/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/compilergcc/resources/Makefile" ;;
28258 "src/plugins/debuggergdb/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/debuggergdb/Makefile" ;;
28259 "src/plugins/debuggergdb/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/debuggergdb/resources/Makefile" ;;
28260 "src/plugins/defaultmimehandler/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/defaultmimehandler/Makefile" ;;
28261 "src/plugins/defaultmimehandler/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/defaultmimehandler/resources/Makefile" ;;
28262 "src/plugins/displayevents/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/displayevents/Makefile" ;;
28263 "src/plugins/openfileslist/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/openfileslist/Makefile" ;;
28264 "src/plugins/occurrenceshighlighting/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/occurrenceshighlighting/Makefile" ;;
28265 "src/plugins/occurrenceshighlighting/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/occurrenceshighlighting/resources/Makefile" ;;
28266 "src/plugins/projectsimporter/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/projectsimporter/Makefile" ;;
28267 "src/plugins/projectsimporter/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/projectsimporter/resources/Makefile" ;;
28268 "src/plugins/scriptedwizard/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/Makefile" ;;
28269 "src/plugins/scriptedwizard/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/Makefile" ;;
28270 "src/plugins/scriptedwizard/resources/arduino/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/arduino/Makefile" ;;
28271 "src/plugins/scriptedwizard/resources/arm/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/arm/Makefile" ;;
28272 "src/plugins/scriptedwizard/resources/avr/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/avr/Makefile" ;;
28273 "src/plugins/scriptedwizard/resources/c_file/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/c_file/Makefile" ;;
28274 "src/plugins/scriptedwizard/resources/console/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/console/Makefile" ;;
28275 "src/plugins/scriptedwizard/resources/d/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/d/Makefile" ;;
28276 "src/plugins/scriptedwizard/resources/directx/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/directx/Makefile" ;;
28277 "src/plugins/scriptedwizard/resources/dll/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/dll/Makefile" ;;
28278 "src/plugins/scriptedwizard/resources/d_source/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/d_source/Makefile" ;;
28279 "src/plugins/scriptedwizard/resources/empty/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/empty/Makefile" ;;
28280 "src/plugins/scriptedwizard/resources/empty_file/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/empty_file/Makefile" ;;
28281 "src/plugins/scriptedwizard/resources/fltk/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/fltk/Makefile" ;;
28282 "src/plugins/scriptedwizard/resources/fortran/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/fortran/Makefile" ;;
28283 "src/plugins/scriptedwizard/resources/glfw/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/glfw/Makefile" ;;
28284 "src/plugins/scriptedwizard/resources/glut/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/glut/Makefile" ;;
28285 "src/plugins/scriptedwizard/resources/gtk/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/gtk/Makefile" ;;
28286 "src/plugins/scriptedwizard/resources/h_file/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/h_file/Makefile" ;;
28287 "src/plugins/scriptedwizard/resources/irrlicht/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/irrlicht/Makefile" ;;
28288 "src/plugins/scriptedwizard/resources/java/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/java/Makefile" ;;
28289 "src/plugins/scriptedwizard/resources/lf/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/lf/Makefile" ;;
28290 "src/plugins/scriptedwizard/resources/matlab_csf/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/matlab_csf/Makefile" ;;
28291 "src/plugins/scriptedwizard/resources/mcs51/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/mcs51/Makefile" ;;
28292 "src/plugins/scriptedwizard/resources/msp430/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/msp430/Makefile" ;;
28293 "src/plugins/scriptedwizard/resources/ogre/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/ogre/Makefile" ;;
28294 "src/plugins/scriptedwizard/resources/opencv/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/opencv/Makefile" ;;
28295 "src/plugins/scriptedwizard/resources/opengl/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/opengl/Makefile" ;;
28296 "src/plugins/scriptedwizard/resources/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/plugins/Makefile" ;;
28297 "src/plugins/scriptedwizard/resources/ppc/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/ppc/Makefile" ;;
28298 "src/plugins/scriptedwizard/resources/qt4/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/qt4/Makefile" ;;
28299 "src/plugins/scriptedwizard/resources/qt4dll/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/qt4dll/Makefile" ;;
28300 "src/plugins/scriptedwizard/resources/qt5/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/qt5/Makefile" ;;
28301 "src/plugins/scriptedwizard/resources/sdl/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/sdl/Makefile" ;;
28302 "src/plugins/scriptedwizard/resources/sdl2/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/sdl2/Makefile" ;;
28303 "src/plugins/scriptedwizard/resources/sfml/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/sfml/Makefile" ;;
28304 "src/plugins/scriptedwizard/resources/sharedlib/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/sharedlib/Makefile" ;;
28305 "src/plugins/scriptedwizard/resources/smartwin/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/smartwin/Makefile" ;;
28306 "src/plugins/scriptedwizard/resources/staticlib/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/staticlib/Makefile" ;;
28307 "src/plugins/scriptedwizard/resources/stlport/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/stlport/Makefile" ;;
28308 "src/plugins/scriptedwizard/resources/sys/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/sys/Makefile" ;;
28309 "src/plugins/scriptedwizard/resources/tricore/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/tricore/Makefile" ;;
28310 "src/plugins/scriptedwizard/resources/win32gui/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/win32gui/Makefile" ;;
28311 "src/plugins/scriptedwizard/resources/wxwidgets/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/wxwidgets/Makefile" ;;
28312 "src/plugins/todo/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/todo/Makefile" ;;
28313 "src/plugins/todo/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/todo/resources/Makefile" ;;
28314 "src/plugins/abbreviations/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/abbreviations/Makefile" ;;
28315 "src/plugins/abbreviations/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/abbreviations/resources/Makefile" ;;
28316 "src/plugins/xpmanifest/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/xpmanifest/Makefile" ;;
28317 "src/plugins/contrib/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/Makefile" ;;
28318 "src/plugins/contrib/appdata/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/appdata/Makefile" ;;
28319 "src/plugins/contrib/AutoVersioning/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/AutoVersioning/Makefile" ;;
28320 "src/plugins/contrib/BrowseTracker/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/BrowseTracker/Makefile" ;;
28321 "src/plugins/contrib/byogames/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/byogames/Makefile" ;;
28322 "src/plugins/contrib/Cccc/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/Cccc/Makefile" ;;
28323 "src/plugins/contrib/Cccc/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/Cccc/resources/Makefile" ;;
28324 "src/plugins/contrib/CppCheck/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/CppCheck/Makefile" ;;
28325 "src/plugins/contrib/CppCheck/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/CppCheck/resources/Makefile" ;;
28326 "src/plugins/contrib/cb_koders/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/cb_koders/Makefile" ;;
28327 "src/plugins/contrib/codesnippets/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/codesnippets/Makefile" ;;
28328 "src/plugins/contrib/codestat/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/codestat/Makefile" ;;
28329 "src/plugins/contrib/codestat/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/codestat/resources/Makefile" ;;
28330 "src/plugins/contrib/copystrings/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/copystrings/Makefile" ;;
28331 "src/plugins/contrib/Cscope/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/Cscope/Makefile" ;;
28332 "src/plugins/contrib/devpak_plugin/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/devpak_plugin/Makefile" ;;
28333 "src/plugins/contrib/devpak_plugin/bzip2/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/devpak_plugin/bzip2/Makefile" ;;
28334 "src/plugins/contrib/DoxyBlocks/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/DoxyBlocks/Makefile" ;;
28335 "src/plugins/contrib/dragscroll/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/dragscroll/Makefile" ;;
28336 "src/plugins/contrib/EditorConfig/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/EditorConfig/Makefile" ;;
28337 "src/plugins/contrib/EditorTweaks/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/EditorTweaks/Makefile" ;;
28338 "src/plugins/contrib/envvars/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/envvars/Makefile" ;;
28339 "src/plugins/contrib/FileManager/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/FileManager/Makefile" ;;
28340 "src/plugins/contrib/headerfixup/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/headerfixup/Makefile" ;;
28341 "src/plugins/contrib/help_plugin/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/help_plugin/Makefile" ;;
28342 "src/plugins/contrib/help_plugin/bzip2/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/help_plugin/bzip2/Makefile" ;;
28343 "src/plugins/contrib/help_plugin/zlib/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/help_plugin/zlib/Makefile" ;;
28344 "src/plugins/contrib/keybinder/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/keybinder/Makefile" ;;
28345 "src/plugins/contrib/NassiShneiderman/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/NassiShneiderman/Makefile" ;;
28346 "src/plugins/contrib/profiler/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/profiler/Makefile" ;;
28347 "src/plugins/contrib/profiler/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/profiler/resources/Makefile" ;;
28348 "src/plugins/contrib/ProjectOptionsManipulator/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/ProjectOptionsManipulator/Makefile" ;;
28349 "src/plugins/contrib/source_exporter/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/source_exporter/Makefile" ;;
28350 "src/plugins/contrib/source_exporter/wxPdfDocument/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/source_exporter/wxPdfDocument/Makefile" ;;
28351 "src/plugins/contrib/SmartIndent/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/SmartIndent/Makefile" ;;
28352 "src/plugins/contrib/SpellChecker/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/SpellChecker/Makefile" ;;
28353 "src/plugins/contrib/SpellChecker/wxspellchecker/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/SpellChecker/wxspellchecker/Makefile" ;;
28354 "src/plugins/contrib/symtab/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/symtab/Makefile" ;;
28355 "src/plugins/contrib/symtab/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/symtab/resources/Makefile" ;;
28356 "src/plugins/contrib/regex_testbed/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/regex_testbed/Makefile" ;;
28357 "src/plugins/contrib/ReopenEditor/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/ReopenEditor/Makefile" ;;
28358 "src/plugins/contrib/rndgen/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/rndgen/Makefile" ;;
28359 "src/plugins/contrib/clangd_client/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/clangd_client/Makefile" ;;
28360 "src/plugins/contrib/clangd_client/src/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/clangd_client/src/resources/Makefile" ;;
28361 "src/plugins/contrib/ThreadSearch/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/ThreadSearch/Makefile" ;;
28362 "src/plugins/contrib/ToolsPlus/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/ToolsPlus/Makefile" ;;
28363 "src/plugins/contrib/ToolsPlus/Resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/ToolsPlus/Resources/Makefile" ;;
28364 "src/plugins/contrib/Valgrind/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/Valgrind/Makefile" ;;
28365 "src/plugins/contrib/Valgrind/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/Valgrind/resources/Makefile" ;;
28366 "src/plugins/contrib/wxContribItems/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxContribItems/Makefile" ;;
28367 "src/plugins/contrib/wxContribItems/wxsmith-contrib.pc") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxContribItems/wxsmith-contrib.pc" ;;
28368 "src/plugins/contrib/wxContribItems/cb_wxcontrib.pc") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxContribItems/cb_wxcontrib.pc" ;;
28369 "src/plugins/contrib/wxContribItems/cb_wxchartctrl.pc") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxContribItems/cb_wxchartctrl.pc" ;;
28370 "src/plugins/contrib/wxContribItems/cb_wxcustombutton.pc") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxContribItems/cb_wxcustombutton.pc" ;;
28371 "src/plugins/contrib/wxContribItems/cb_wximagepanel.pc") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxContribItems/cb_wximagepanel.pc" ;;
28372 "src/plugins/contrib/wxContribItems/cb_wxflatnotebook.pc") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxContribItems/cb_wxflatnotebook.pc" ;;
28373 "src/plugins/contrib/wxContribItems/cb_wxspeedbutton.pc") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxContribItems/cb_wxspeedbutton.pc" ;;
28374 "src/plugins/contrib/wxContribItems/cb_wxKWIC.pc") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxContribItems/cb_wxKWIC.pc" ;;
28375 "src/plugins/contrib/wxContribItems/cb_wxled.pc") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxContribItems/cb_wxled.pc" ;;
28376 "src/plugins/contrib/wxContribItems/cb_wxmathplot.pc") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxContribItems/cb_wxmathplot.pc" ;;
28377 "src/plugins/contrib/wxContribItems/wxchart/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxContribItems/wxchart/Makefile" ;;
28378 "src/plugins/contrib/wxContribItems/wxFlatNotebook/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxContribItems/wxFlatNotebook/Makefile" ;;
28379 "src/plugins/contrib/wxContribItems/wxImagePanel/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxContribItems/wxImagePanel/Makefile" ;;
28380 "src/plugins/contrib/wxContribItems/wxthings/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxContribItems/wxthings/Makefile" ;;
28381 "src/plugins/contrib/wxContribItems/wxSpeedButton/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxContribItems/wxSpeedButton/Makefile" ;;
28382 "src/plugins/contrib/wxContribItems/KWIC/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxContribItems/KWIC/Makefile" ;;
28383 "src/plugins/contrib/wxContribItems/KWIC/include/wx/KWIC/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxContribItems/KWIC/include/wx/KWIC/Makefile" ;;
28384 "src/plugins/contrib/wxContribItems/KWIC/include/wx/xrc/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxContribItems/KWIC/include/wx/xrc/Makefile" ;;
28385 "src/plugins/contrib/wxContribItems/wxled/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxContribItems/wxled/Makefile" ;;
28386 "src/plugins/contrib/wxContribItems/wxled/gizmosled/include/wx/gizmos/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxContribItems/wxled/gizmosled/include/wx/gizmos/Makefile" ;;
28387 "src/plugins/contrib/wxContribItems/wxled/lcdWindow/include/wx/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxContribItems/wxled/lcdWindow/include/wx/Makefile" ;;
28388 "src/plugins/contrib/wxContribItems/wxled/led/include/wx/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxContribItems/wxled/led/include/wx/Makefile" ;;
28389 "src/plugins/contrib/wxContribItems/wxled/led/include/xrc/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxContribItems/wxled/led/include/xrc/Makefile" ;;
28390 "src/plugins/contrib/wxContribItems/wxled/ledpanel/include/wx/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxContribItems/wxled/ledpanel/include/wx/Makefile" ;;
28391 "src/plugins/contrib/wxContribItems/wxmathplot/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxContribItems/wxmathplot/Makefile" ;;
28392 "src/plugins/contrib/wxSmith/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmith/Makefile" ;;
28393 "src/plugins/contrib/wxSmith/wxsmith.pc") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmith/wxsmith.pc" ;;
28394 "src/plugins/contrib/wxSmith/plugin/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmith/plugin/Makefile" ;;
28395 "src/plugins/contrib/wxSmith/properties/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmith/properties/Makefile" ;;
28396 "src/plugins/contrib/wxSmith/wxwidgets/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmith/wxwidgets/Makefile" ;;
28397 "src/plugins/contrib/wxSmith/wxwidgets/properties/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmith/wxwidgets/properties/Makefile" ;;
28398 "src/plugins/contrib/wxSmith/wxwidgets/defitems/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmith/wxwidgets/defitems/Makefile" ;;
28399 "src/plugins/contrib/wxSmith/wxwidgets/icons/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmith/wxwidgets/icons/Makefile" ;;
28400 "src/plugins/contrib/wxSmithContribItems/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmithContribItems/Makefile" ;;
28401 "src/plugins/contrib/wxSmithAui/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmithAui/Makefile" ;;
28402 "src/plugins/contrib/wxSmithAui/wxsmithaui.pc") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmithAui/wxsmithaui.pc" ;;
28403 "src/plugins/contrib/wxSmithDemo/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmithDemo/Makefile" ;;
28404 "src/plugins/contrib/wxSmithIExplore/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmithIExplore/Makefile" ;;
28405 "src/plugins/contrib/wxSmithSTC/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmithSTC/Makefile" ;;
28406 "src/plugins/contrib/lib_finder/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/lib_finder/Makefile" ;;
28407 "src/plugins/contrib/lib_finder/lib_finder/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/lib_finder/lib_finder/Makefile" ;;
28408 "src/plugins/contrib/HexEditor/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/HexEditor/Makefile" ;;
28409 "src/plugins/contrib/IncrementalSearch/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/IncrementalSearch/Makefile" ;;
28410 "src/plugins/contrib/MouseSap/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/MouseSap/Makefile" ;;
28411 "src/mime/Makefile") CONFIG_FILES="$CONFIG_FILES src/mime/Makefile" ;;
28412 "src/scripts/Makefile") CONFIG_FILES="$CONFIG_FILES src/scripts/Makefile" ;;
28413 "src/tools/Makefile") CONFIG_FILES="$CONFIG_FILES src/tools/Makefile" ;;
28414 "src/tools/cb_share_config/Makefile") CONFIG_FILES="$CONFIG_FILES src/tools/cb_share_config/Makefile" ;;
28415 "src/tools/ConsoleRunner/Makefile") CONFIG_FILES="$CONFIG_FILES src/tools/ConsoleRunner/Makefile" ;;
28416 "src/tools/CBLauncher/Makefile") CONFIG_FILES="$CONFIG_FILES src/tools/CBLauncher/Makefile" ;;
28417 "src/templates/Makefile") CONFIG_FILES="$CONFIG_FILES src/templates/Makefile" ;;
28418 "src/templates/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/templates/common/Makefile" ;;
28419 "src/templates/unix/Makefile") CONFIG_FILES="$CONFIG_FILES src/templates/unix/Makefile" ;;
28420 "src/templates/win32/Makefile") CONFIG_FILES="$CONFIG_FILES src/templates/win32/Makefile" ;;
28421 "src/wxsmith/Makefile") CONFIG_FILES="$CONFIG_FILES src/wxsmith/Makefile" ;;
28422 "codeblocks.pc") CONFIG_FILES="$CONFIG_FILES codeblocks.pc" ;;
28423 "codeblocks.spec.fedora") CONFIG_FILES="$CONFIG_FILES codeblocks.spec.fedora" ;;
28424 "codeblocks.spec") CONFIG_FILES="$CONFIG_FILES codeblocks.spec" ;;
28425
28426 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
28427 esac
28428 done
28429
28430
28431 # If the user did not use the arguments to specify the items to instantiate,
28432 # then the envvar interface is used. Set only those that are not.
28433 # We use the long form for the default assignment because of an extremely
28434 # bizarre bug on SunOS 4.1.3.
28435 if $ac_need_defaults; then
28436 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
28437 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
28438 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
28439 fi
28440
28441 # Have a temporary directory for convenience. Make it in the build tree
28442 # simply because there is no reason against having it here, and in addition,
28443 # creating and moving files from /tmp can sometimes cause problems.
28444 # Hook for its removal unless debugging.
28445 # Note that there is a small window in which the directory will not be cleaned:
28446 # after its creation but before its name has been assigned to `$tmp'.
28447 $debug ||
28448 {
28449 tmp= ac_tmp=
28450 trap 'exit_status=$?
28451 : "${ac_tmp:=$tmp}"
28452 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
28453 ' 0
28454 trap 'as_fn_exit 1' 1 2 13 15
28455 }
28456 # Create a (secure) tmp directory for tmp files.
28457
28458 {
28459 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
28460 test -d "$tmp"
28461 } ||
28462 {
28463 tmp=./conf$$-$RANDOM
28464 (umask 077 && mkdir "$tmp")
28465 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
28466 ac_tmp=$tmp
28467
28468 # Set up the scripts for CONFIG_FILES section.
28469 # No need to generate them if there are no CONFIG_FILES.
28470 # This happens for instance with `./config.status config.h'.
28471 if test -n "$CONFIG_FILES"; then
28472
28473
28474 ac_cr=`echo X | tr X '\015'`
28475 # On cygwin, bash can eat \r inside `` if the user requested igncr.
28476 # But we know of no other shell where ac_cr would be empty at this
28477 # point, so we can use a bashism as a fallback.
28478 if test "x$ac_cr" = x; then
28479 eval ac_cr=\$\'\\r\'
28480 fi
28481 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
28482 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
28483 ac_cs_awk_cr='\\r'
28484 else
28485 ac_cs_awk_cr=$ac_cr
28486 fi
28487
28488 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
28489 _ACEOF
28490
28491
28492 {
28493 echo "cat >conf$$subs.awk <<_ACEOF" &&
28494 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
28495 echo "_ACEOF"
28496 } >conf$$subs.sh ||
28497 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
28498 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
28499 ac_delim='%!_!# '
28500 for ac_last_try in false false false false false :; do
28501 . ./conf$$subs.sh ||
28502 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
28503
28504 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
28505 if test $ac_delim_n = $ac_delim_num; then
28506 break
28507 elif $ac_last_try; then
28508 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
28509 else
28510 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
28511 fi
28512 done
28513 rm -f conf$$subs.sh
28514
28515 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28516 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
28517 _ACEOF
28518 sed -n '
28519 h
28520 s/^/S["/; s/!.*/"]=/
28521 p
28522 g
28523 s/^[^!]*!//
28524 :repl
28525 t repl
28526 s/'"$ac_delim"'$//
28527 t delim
28528 :nl
28529 h
28530 s/\(.\{148\}\)..*/\1/
28531 t more1
28532 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
28533 p
28534 n
28535 b repl
28536 :more1
28537 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
28538 p
28539 g
28540 s/.\{148\}//
28541 t nl
28542 :delim
28543 h
28544 s/\(.\{148\}\)..*/\1/
28545 t more2
28546 s/["\\]/\\&/g; s/^/"/; s/$/"/
28547 p
28548 b
28549 :more2
28550 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
28551 p
28552 g
28553 s/.\{148\}//
28554 t delim
28555 ' <conf$$subs.awk | sed '
28556 /^[^""]/{
28557 N
28558 s/\n//
28559 }
28560 ' >>$CONFIG_STATUS || ac_write_fail=1
28561 rm -f conf$$subs.awk
28562 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28563 _ACAWK
28564 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
28565 for (key in S) S_is_set[key] = 1
28566 FS = ""
28567
28568 }
28569 {
28570 line = $ 0
28571 nfields = split(line, field, "@")
28572 substed = 0
28573 len = length(field[1])
28574 for (i = 2; i < nfields; i++) {
28575 key = field[i]
28576 keylen = length(key)
28577 if (S_is_set[key]) {
28578 value = S[key]
28579 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
28580 len += length(value) + length(field[++i])
28581 substed = 1
28582 } else
28583 len += 1 + keylen
28584 }
28585
28586 print line
28587 }
28588
28589 _ACAWK
28590 _ACEOF
28591 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28592 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
28593 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
28594 else
28595 cat
28596 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
28597 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
28598 _ACEOF
28599
28600 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
28601 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
28602 # trailing colons and then remove the whole line if VPATH becomes empty
28603 # (actually we leave an empty line to preserve line numbers).
28604 if test "x$srcdir" = x.; then
28605 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
28606 h
28607 s///
28608 s/^/:/
28609 s/[ ]*$/:/
28610 s/:\$(srcdir):/:/g
28611 s/:\${srcdir}:/:/g
28612 s/:@srcdir@:/:/g
28613 s/^:*//
28614 s/:*$//
28615 x
28616 s/\(=[ ]*\).*/\1/
28617 G
28618 s/\n//
28619 s/^[^=]*=[ ]*$//
28620 }'
28621 fi
28622
28623 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28624 fi # test -n "$CONFIG_FILES"
28625
28626 # Set up the scripts for CONFIG_HEADERS section.
28627 # No need to generate them if there are no CONFIG_HEADERS.
28628 # This happens for instance with `./config.status Makefile'.
28629 if test -n "$CONFIG_HEADERS"; then
28630 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
28631 BEGIN {
28632 _ACEOF
28633
28634 # Transform confdefs.h into an awk script `defines.awk', embedded as
28635 # here-document in config.status, that substitutes the proper values into
28636 # config.h.in to produce config.h.
28637
28638 # Create a delimiter string that does not exist in confdefs.h, to ease
28639 # handling of long lines.
28640 ac_delim='%!_!# '
28641 for ac_last_try in false false :; do
28642 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
28643 if test -z "$ac_tt"; then
28644 break
28645 elif $ac_last_try; then
28646 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
28647 else
28648 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
28649 fi
28650 done
28651
28652 # For the awk script, D is an array of macro values keyed by name,
28653 # likewise P contains macro parameters if any. Preserve backslash
28654 # newline sequences.
28655
28656 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
28657 sed -n '
28658 s/.\{148\}/&'"$ac_delim"'/g
28659 t rset
28660 :rset
28661 s/^[ ]*#[ ]*define[ ][ ]*/ /
28662 t def
28663 d
28664 :def
28665 s/\\$//
28666 t bsnl
28667 s/["\\]/\\&/g
28668 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
28669 D["\1"]=" \3"/p
28670 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
28671 d
28672 :bsnl
28673 s/["\\]/\\&/g
28674 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
28675 D["\1"]=" \3\\\\\\n"\\/p
28676 t cont
28677 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
28678 t cont
28679 d
28680 :cont
28681 n
28682 s/.\{148\}/&'"$ac_delim"'/g
28683 t clear
28684 :clear
28685 s/\\$//
28686 t bsnlc
28687 s/["\\]/\\&/g; s/^/"/; s/$/"/p
28688 d
28689 :bsnlc
28690 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
28691 b cont
28692 ' <confdefs.h | sed '
28693 s/'"$ac_delim"'/"\\\
28694 "/g' >>$CONFIG_STATUS || ac_write_fail=1
28695
28696 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28697 for (key in D) D_is_set[key] = 1
28698 FS = ""
28699 }
28700 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
28701 line = \$ 0
28702 split(line, arg, " ")
28703 if (arg[1] == "#") {
28704 defundef = arg[2]
28705 mac1 = arg[3]
28706 } else {
28707 defundef = substr(arg[1], 2)
28708 mac1 = arg[2]
28709 }
28710 split(mac1, mac2, "(") #)
28711 macro = mac2[1]
28712 prefix = substr(line, 1, index(line, defundef) - 1)
28713 if (D_is_set[macro]) {
28714 # Preserve the white space surrounding the "#".
28715 print prefix "define", macro P[macro] D[macro]
28716 next
28717 } else {
28718 # Replace #undef with comments. This is necessary, for example,
28719 # in the case of _POSIX_SOURCE, which is predefined and required
28720 # on some systems where configure will not decide to define it.
28721 if (defundef == "undef") {
28722 print "/*", prefix defundef, macro, "*/"
28723 next
28724 }
28725 }
28726 }
28727 { print }
28728 _ACAWK
28729 _ACEOF
28730 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28731 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
28732 fi # test -n "$CONFIG_HEADERS"
28733
28734
28735 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
28736 shift
28737 for ac_tag
28738 do
28739 case $ac_tag in
28740 :[FHLC]) ac_mode=$ac_tag; continue;;
28741 esac
28742 case $ac_mode$ac_tag in
28743 :[FHL]*:*);;
28744 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
28745 :[FH]-) ac_tag=-:-;;
28746 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
28747 esac
28748 ac_save_IFS=$IFS
28749 IFS=:
28750 set x $ac_tag
28751 IFS=$ac_save_IFS
28752 shift
28753 ac_file=$1
28754 shift
28755
28756 case $ac_mode in
28757 :L) ac_source=$1;;
28758 :[FH])
28759 ac_file_inputs=
28760 for ac_f
28761 do
28762 case $ac_f in
28763 -) ac_f="$ac_tmp/stdin";;
28764 *) # Look for the file first in the build tree, then in the source tree
28765 # (if the path is not absolute). The absolute path cannot be DOS-style,
28766 # because $ac_f cannot contain `:'.
28767 test -f "$ac_f" ||
28768 case $ac_f in
28769 [\\/$]*) false;;
28770 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
28771 esac ||
28772 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
28773 esac
28774 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
28775 as_fn_append ac_file_inputs " '$ac_f'"
28776 done
28777
28778 # Let's still pretend it is `configure' which instantiates (i.e., don't
28779 # use $as_me), people would be surprised to read:
28780 # /* config.h. Generated by config.status. */
28781 configure_input='Generated from '`
28782 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
28783 `' by configure.'
28784 if test x"$ac_file" != x-; then
28785 configure_input="$ac_file. $configure_input"
28786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
28787 printf "%s\n" "$as_me: creating $ac_file" >&6;}
28788 fi
28789 # Neutralize special characters interpreted by sed in replacement strings.
28790 case $configure_input in #(
28791 *\&* | *\|* | *\\* )
28792 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
28793 sed 's/[\\\\&|]/\\\\&/g'`;; #(
28794 *) ac_sed_conf_input=$configure_input;;
28795 esac
28796
28797 case $ac_tag in
28798 *:-:* | *:-) cat >"$ac_tmp/stdin" \
28799 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
28800 esac
28801 ;;
28802 esac
28803
28804 ac_dir=`$as_dirname -- "$ac_file" ||
28805 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28806 X"$ac_file" : 'X\(//\)[^/]' \| \
28807 X"$ac_file" : 'X\(//\)$' \| \
28808 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
28809 printf "%s\n" X"$ac_file" |
28810 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28811 s//\1/
28812 q
28813 }
28814 /^X\(\/\/\)[^/].*/{
28815 s//\1/
28816 q
28817 }
28818 /^X\(\/\/\)$/{
28819 s//\1/
28820 q
28821 }
28822 /^X\(\/\).*/{
28823 s//\1/
28824 q
28825 }
28826 s/.*/./; q'`
28827 as_dir="$ac_dir"; as_fn_mkdir_p
28828 ac_builddir=.
28829
28830 case "$ac_dir" in
28831 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
28832 *)
28833 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
28834 # A ".." for each directory in $ac_dir_suffix.
28835 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
28836 case $ac_top_builddir_sub in
28837 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
28838 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
28839 esac ;;
28840 esac
28841 ac_abs_top_builddir=$ac_pwd
28842 ac_abs_builddir=$ac_pwd$ac_dir_suffix
28843 # for backward compatibility:
28844 ac_top_builddir=$ac_top_build_prefix
28845
28846 case $srcdir in
28847 .) # We are building in place.
28848 ac_srcdir=.
28849 ac_top_srcdir=$ac_top_builddir_sub
28850 ac_abs_top_srcdir=$ac_pwd ;;
28851 [\\/]* | ?:[\\/]* ) # Absolute name.
28852 ac_srcdir=$srcdir$ac_dir_suffix;
28853 ac_top_srcdir=$srcdir
28854 ac_abs_top_srcdir=$srcdir ;;
28855 *) # Relative name.
28856 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
28857 ac_top_srcdir=$ac_top_build_prefix$srcdir
28858 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
28859 esac
28860 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
28861
28862
28863 case $ac_mode in
28864 :F)
28865 #
28866 # CONFIG_FILE
28867 #
28868
28869 case $INSTALL in
28870 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
28871 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
28872 esac
28873 ac_MKDIR_P=$MKDIR_P
28874 case $MKDIR_P in
28875 [\\/$]* | ?:[\\/]* ) ;;
28876 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
28877 esac
28878 _ACEOF
28879
28880 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28881 # If the template does not know about datarootdir, expand it.
28882 # FIXME: This hack should be removed a few years after 2.60.
28883 ac_datarootdir_hack=; ac_datarootdir_seen=
28884 ac_sed_dataroot='
28885 /datarootdir/ {
28886 p
28887 q
28888 }
28889 /@datadir@/p
28890 /@docdir@/p
28891 /@infodir@/p
28892 /@localedir@/p
28893 /@mandir@/p'
28894 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
28895 *datarootdir*) ac_datarootdir_seen=yes;;
28896 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
28897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
28898 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
28899 _ACEOF
28900 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28901 ac_datarootdir_hack='
28902 s&@datadir@&$datadir&g
28903 s&@docdir@&$docdir&g
28904 s&@infodir@&$infodir&g
28905 s&@localedir@&$localedir&g
28906 s&@mandir@&$mandir&g
28907 s&\\\${datarootdir}&$datarootdir&g' ;;
28908 esac
28909 _ACEOF
28910
28911 # Neutralize VPATH when `$srcdir' = `.'.
28912 # Shell code in configure.ac might set extrasub.
28913 # FIXME: do we really want to maintain this feature?
28914 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28915 ac_sed_extra="$ac_vpsub
28916 $extrasub
28917 _ACEOF
28918 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28919 :t
28920 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
28921 s|@configure_input@|$ac_sed_conf_input|;t t
28922 s&@top_builddir@&$ac_top_builddir_sub&;t t
28923 s&@top_build_prefix@&$ac_top_build_prefix&;t t
28924 s&@srcdir@&$ac_srcdir&;t t
28925 s&@abs_srcdir@&$ac_abs_srcdir&;t t
28926 s&@top_srcdir@&$ac_top_srcdir&;t t
28927 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
28928 s&@builddir@&$ac_builddir&;t t
28929 s&@abs_builddir@&$ac_abs_builddir&;t t
28930 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
28931 s&@INSTALL@&$ac_INSTALL&;t t
28932 s&@MKDIR_P@&$ac_MKDIR_P&;t t
28933 $ac_datarootdir_hack
28934 "
28935 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
28936 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
28937
28938 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
28939 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
28940 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
28941 "$ac_tmp/out"`; test -z "$ac_out"; } &&
28942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
28943 which seems to be undefined. Please make sure it is defined" >&5
28944 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
28945 which seems to be undefined. Please make sure it is defined" >&2;}
28946
28947 rm -f "$ac_tmp/stdin"
28948 case $ac_file in
28949 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
28950 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
28951 esac \
28952 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
28953 ;;
28954 :H)
28955 #
28956 # CONFIG_HEADER
28957 #
28958 if test x"$ac_file" != x-; then
28959 {
28960 printf "%s\n" "/* $configure_input */" >&1 \
28961 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
28962 } >"$ac_tmp/config.h" \
28963 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
28964 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
28965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
28966 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
28967 else
28968 rm -f "$ac_file"
28969 mv "$ac_tmp/config.h" "$ac_file" \
28970 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
28971 fi
28972 else
28973 printf "%s\n" "/* $configure_input */" >&1 \
28974 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
28975 || as_fn_error $? "could not create -" "$LINENO" 5
28976 fi
28977 # Compute "$ac_file"'s index in $config_headers.
28978 _am_arg="$ac_file"
28979 _am_stamp_count=1
28980 for _am_header in $config_headers :; do
28981 case $_am_header in
28982 $_am_arg | $_am_arg:* )
28983 break ;;
28984 * )
28985 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
28986 esac
28987 done
28988 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
28989 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28990 X"$_am_arg" : 'X\(//\)[^/]' \| \
28991 X"$_am_arg" : 'X\(//\)$' \| \
28992 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
28993 printf "%s\n" X"$_am_arg" |
28994 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28995 s//\1/
28996 q
28997 }
28998 /^X\(\/\/\)[^/].*/{
28999 s//\1/
29000 q
29001 }
29002 /^X\(\/\/\)$/{
29003 s//\1/
29004 q
29005 }
29006 /^X\(\/\).*/{
29007 s//\1/
29008 q
29009 }
29010 s/.*/./; q'`/stamp-h$_am_stamp_count
29011 ;;
29012
29013 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
29014 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
29015 ;;
29016 esac
29017
29018
29019 case $ac_file$ac_mode in
29020 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
29021 # Older Autoconf quotes --file arguments for eval, but not when files
29022 # are listed without --file. Let's play safe and only enable the eval
29023 # if we detect the quoting.
29024 # TODO: see whether this extra hack can be removed once we start
29025 # requiring Autoconf 2.70 or later.
29026 case $CONFIG_FILES in #(
29027 *\'*) :
29028 eval set x "$CONFIG_FILES" ;; #(
29029 *) :
29030 set x $CONFIG_FILES ;; #(
29031 *) :
29032 ;;
29033 esac
29034 shift
29035 # Used to flag and report bootstrapping failures.
29036 am_rc=0
29037 for am_mf
29038 do
29039 # Strip MF so we end up with the name of the file.
29040 am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
29041 # Check whether this is an Automake generated Makefile which includes
29042 # dependency-tracking related rules and includes.
29043 # Grep'ing the whole file directly is not great: AIX grep has a line
29044 # limit of 2048, but all sed's we know have understand at least 4000.
29045 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
29046 || continue
29047 am_dirpart=`$as_dirname -- "$am_mf" ||
29048 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29049 X"$am_mf" : 'X\(//\)[^/]' \| \
29050 X"$am_mf" : 'X\(//\)$' \| \
29051 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
29052 printf "%s\n" X"$am_mf" |
29053 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29054 s//\1/
29055 q
29056 }
29057 /^X\(\/\/\)[^/].*/{
29058 s//\1/
29059 q
29060 }
29061 /^X\(\/\/\)$/{
29062 s//\1/
29063 q
29064 }
29065 /^X\(\/\).*/{
29066 s//\1/
29067 q
29068 }
29069 s/.*/./; q'`
29070 am_filepart=`$as_basename -- "$am_mf" ||
29071 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
29072 X"$am_mf" : 'X\(//\)$' \| \
29073 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
29074 printf "%s\n" X/"$am_mf" |
29075 sed '/^.*\/\([^/][^/]*\)\/*$/{
29076 s//\1/
29077 q
29078 }
29079 /^X\/\(\/\/\)$/{
29080 s//\1/
29081 q
29082 }
29083 /^X\/\(\/\).*/{
29084 s//\1/
29085 q
29086 }
29087 s/.*/./; q'`
29088 { echo "$as_me:$LINENO: cd "$am_dirpart" \
29089 && sed -e '/# am--include-marker/d' "$am_filepart" \
29090 | $MAKE -f - am--depfiles" >&5
29091 (cd "$am_dirpart" \
29092 && sed -e '/# am--include-marker/d' "$am_filepart" \
29093 | $MAKE -f - am--depfiles) >&5 2>&5
29094 ac_status=$?
29095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29096 (exit $ac_status); } || am_rc=$?
29097 done
29098 if test $am_rc -ne 0; then
29099 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29100 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
29101 as_fn_error $? "Something went wrong bootstrapping makefile fragments
29102 for automatic dependency tracking. If GNU make was not used, consider
29103 re-running the configure script with MAKE=\"gmake\" (or whatever is
29104 necessary). You can also try re-running configure with the
29105 '--disable-dependency-tracking' option to at least be able to build
29106 the package (albeit without support for automatic dependency tracking).
29107 See \`config.log' for more details" "$LINENO" 5; }
29108 fi
29109 { am_dirpart=; unset am_dirpart;}
29110 { am_filepart=; unset am_filepart;}
29111 { am_mf=; unset am_mf;}
29112 { am_rc=; unset am_rc;}
29113 rm -f conftest-deps.mk
29114 }
29115 ;;
29116 "libtool":C)
29117
29118 # See if we are running on zsh, and set the options that allow our
29119 # commands through without removal of \ escapes.
29120 if test -n "${ZSH_VERSION+set}"; then
29121 setopt NO_GLOB_SUBST
29122 fi
29123
29124 cfgfile=${ofile}T
29125 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
29126 $RM "$cfgfile"
29127
29128 cat <<_LT_EOF >> "$cfgfile"
29129 #! $SHELL
29130 # Generated automatically by $as_me ($PACKAGE) $VERSION
29131 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
29132
29133 # Provide generalized library-building support services.
29134 # Written by Gordon Matzigkeit, 1996
29135
29136 # Copyright (C) 2014 Free Software Foundation, Inc.
29137 # This is free software; see the source for copying conditions. There is NO
29138 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
29139
29140 # GNU Libtool is free software; you can redistribute it and/or modify
29141 # it under the terms of the GNU General Public License as published by
29142 # the Free Software Foundation; either version 2 of of the License, or
29143 # (at your option) any later version.
29144 #
29145 # As a special exception to the GNU General Public License, if you
29146 # distribute this file as part of a program or library that is built
29147 # using GNU Libtool, you may include this file under the same
29148 # distribution terms that you use for the rest of that program.
29149 #
29150 # GNU Libtool is distributed in the hope that it will be useful, but
29151 # WITHOUT ANY WARRANTY; without even the implied warranty of
29152 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
29153 # GNU General Public License for more details.
29154 #
29155 # You should have received a copy of the GNU General Public License
29156 # along with this program. If not, see <http://www.gnu.org/licenses/>.
29157
29158
29159 # The names of the tagged configurations supported by this script.
29160 available_tags='CXX '
29161
29162 # Configured defaults for sys_lib_dlsearch_path munging.
29163 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
29164
29165 # ### BEGIN LIBTOOL CONFIG
29166
29167 # Whether or not to build static libraries.
29168 build_old_libs=$enable_static
29169
29170 # Which release of libtool.m4 was used?
29171 macro_version=$macro_version
29172 macro_revision=$macro_revision
29173
29174 # Whether or not to build shared libraries.
29175 build_libtool_libs=$enable_shared
29176
29177 # What type of objects to build.
29178 pic_mode=$pic_mode
29179
29180 # Whether or not to optimize for fast installation.
29181 fast_install=$enable_fast_install
29182
29183 # Shared archive member basename,for filename based shared library versioning on AIX.
29184 shared_archive_member_spec=$shared_archive_member_spec
29185
29186 # Shell to use when invoking shell scripts.
29187 SHELL=$lt_SHELL
29188
29189 # An echo program that protects backslashes.
29190 ECHO=$lt_ECHO
29191
29192 # The PATH separator for the build system.
29193 PATH_SEPARATOR=$lt_PATH_SEPARATOR
29194
29195 # The host system.
29196 host_alias=$host_alias
29197 host=$host
29198 host_os=$host_os
29199
29200 # The build system.
29201 build_alias=$build_alias
29202 build=$build
29203 build_os=$build_os
29204
29205 # A sed program that does not truncate output.
29206 SED=$lt_SED
29207
29208 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
29209 Xsed="\$SED -e 1s/^X//"
29210
29211 # A grep program that handles long lines.
29212 GREP=$lt_GREP
29213
29214 # An ERE matcher.
29215 EGREP=$lt_EGREP
29216
29217 # A literal string matcher.
29218 FGREP=$lt_FGREP
29219
29220 # A BSD- or MS-compatible name lister.
29221 NM=$lt_NM
29222
29223 # Whether we need soft or hard links.
29224 LN_S=$lt_LN_S
29225
29226 # What is the maximum length of a command?
29227 max_cmd_len=$max_cmd_len
29228
29229 # Object file suffix (normally "o").
29230 objext=$ac_objext
29231
29232 # Executable file suffix (normally "").
29233 exeext=$exeext
29234
29235 # whether the shell understands "unset".
29236 lt_unset=$lt_unset
29237
29238 # turn spaces into newlines.
29239 SP2NL=$lt_lt_SP2NL
29240
29241 # turn newlines into spaces.
29242 NL2SP=$lt_lt_NL2SP
29243
29244 # convert \$build file names to \$host format.
29245 to_host_file_cmd=$lt_cv_to_host_file_cmd
29246
29247 # convert \$build files to toolchain format.
29248 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
29249
29250 # A file(cmd) program that detects file types.
29251 FILECMD=$lt_FILECMD
29252
29253 # An object symbol dumper.
29254 OBJDUMP=$lt_OBJDUMP
29255
29256 # Method to check whether dependent libraries are shared objects.
29257 deplibs_check_method=$lt_deplibs_check_method
29258
29259 # Command to use when deplibs_check_method = "file_magic".
29260 file_magic_cmd=$lt_file_magic_cmd
29261
29262 # How to find potential files when deplibs_check_method = "file_magic".
29263 file_magic_glob=$lt_file_magic_glob
29264
29265 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
29266 want_nocaseglob=$lt_want_nocaseglob
29267
29268 # DLL creation program.
29269 DLLTOOL=$lt_DLLTOOL
29270
29271 # Command to associate shared and link libraries.
29272 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
29273
29274 # The archiver.
29275 AR=$lt_AR
29276
29277 # Flags to create an archive (by configure).
29278 lt_ar_flags=$lt_ar_flags
29279
29280 # Flags to create an archive.
29281 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
29282
29283 # How to feed a file listing to the archiver.
29284 archiver_list_spec=$lt_archiver_list_spec
29285
29286 # A symbol stripping program.
29287 STRIP=$lt_STRIP
29288
29289 # Commands used to install an old-style archive.
29290 RANLIB=$lt_RANLIB
29291 old_postinstall_cmds=$lt_old_postinstall_cmds
29292 old_postuninstall_cmds=$lt_old_postuninstall_cmds
29293
29294 # Whether to use a lock for old archive extraction.
29295 lock_old_archive_extraction=$lock_old_archive_extraction
29296
29297 # A C compiler.
29298 LTCC=$lt_CC
29299
29300 # LTCC compiler flags.
29301 LTCFLAGS=$lt_CFLAGS
29302
29303 # Take the output of nm and produce a listing of raw symbols and C names.
29304 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
29305
29306 # Transform the output of nm in a proper C declaration.
29307 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
29308
29309 # Transform the output of nm into a list of symbols to manually relocate.
29310 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
29311
29312 # Transform the output of nm in a C name address pair.
29313 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
29314
29315 # Transform the output of nm in a C name address pair when lib prefix is needed.
29316 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
29317
29318 # The name lister interface.
29319 nm_interface=$lt_lt_cv_nm_interface
29320
29321 # Specify filename containing input files for \$NM.
29322 nm_file_list_spec=$lt_nm_file_list_spec
29323
29324 # The root where to search for dependent libraries,and where our libraries should be installed.
29325 lt_sysroot=$lt_sysroot
29326
29327 # Command to truncate a binary pipe.
29328 lt_truncate_bin=$lt_lt_cv_truncate_bin
29329
29330 # The name of the directory that contains temporary libtool files.
29331 objdir=$objdir
29332
29333 # Used to examine libraries when file_magic_cmd begins with "file".
29334 MAGIC_CMD=$MAGIC_CMD
29335
29336 # Must we lock files when doing compilation?
29337 need_locks=$lt_need_locks
29338
29339 # Manifest tool.
29340 MANIFEST_TOOL=$lt_MANIFEST_TOOL
29341
29342 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
29343 DSYMUTIL=$lt_DSYMUTIL
29344
29345 # Tool to change global to local symbols on Mac OS X.
29346 NMEDIT=$lt_NMEDIT
29347
29348 # Tool to manipulate fat objects and archives on Mac OS X.
29349 LIPO=$lt_LIPO
29350
29351 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
29352 OTOOL=$lt_OTOOL
29353
29354 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
29355 OTOOL64=$lt_OTOOL64
29356
29357 # Old archive suffix (normally "a").
29358 libext=$libext
29359
29360 # Shared library suffix (normally ".so").
29361 shrext_cmds=$lt_shrext_cmds
29362
29363 # The commands to extract the exported symbol list from a shared archive.
29364 extract_expsyms_cmds=$lt_extract_expsyms_cmds
29365
29366 # Variables whose values should be saved in libtool wrapper scripts and
29367 # restored at link time.
29368 variables_saved_for_relink=$lt_variables_saved_for_relink
29369
29370 # Do we need the "lib" prefix for modules?
29371 need_lib_prefix=$need_lib_prefix
29372
29373 # Do we need a version for libraries?
29374 need_version=$need_version
29375
29376 # Library versioning type.
29377 version_type=$version_type
29378
29379 # Shared library runtime path variable.
29380 runpath_var=$runpath_var
29381
29382 # Shared library path variable.
29383 shlibpath_var=$shlibpath_var
29384
29385 # Is shlibpath searched before the hard-coded library search path?
29386 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
29387
29388 # Format of library name prefix.
29389 libname_spec=$lt_libname_spec
29390
29391 # List of archive names. First name is the real one, the rest are links.
29392 # The last name is the one that the linker finds with -lNAME
29393 library_names_spec=$lt_library_names_spec
29394
29395 # The coded name of the library, if different from the real name.
29396 soname_spec=$lt_soname_spec
29397
29398 # Permission mode override for installation of shared libraries.
29399 install_override_mode=$lt_install_override_mode
29400
29401 # Command to use after installation of a shared archive.
29402 postinstall_cmds=$lt_postinstall_cmds
29403
29404 # Command to use after uninstallation of a shared archive.
29405 postuninstall_cmds=$lt_postuninstall_cmds
29406
29407 # Commands used to finish a libtool library installation in a directory.
29408 finish_cmds=$lt_finish_cmds
29409
29410 # As "finish_cmds", except a single script fragment to be evaled but
29411 # not shown.
29412 finish_eval=$lt_finish_eval
29413
29414 # Whether we should hardcode library paths into libraries.
29415 hardcode_into_libs=$hardcode_into_libs
29416
29417 # Compile-time system search path for libraries.
29418 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
29419
29420 # Detected run-time system search path for libraries.
29421 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
29422
29423 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
29424 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
29425
29426 # Whether dlopen is supported.
29427 dlopen_support=$enable_dlopen
29428
29429 # Whether dlopen of programs is supported.
29430 dlopen_self=$enable_dlopen_self
29431
29432 # Whether dlopen of statically linked programs is supported.
29433 dlopen_self_static=$enable_dlopen_self_static
29434
29435 # Commands to strip libraries.
29436 old_striplib=$lt_old_striplib
29437 striplib=$lt_striplib
29438
29439
29440 # The linker used to build libraries.
29441 LD=$lt_LD
29442
29443 # How to create reloadable object files.
29444 reload_flag=$lt_reload_flag
29445 reload_cmds=$lt_reload_cmds
29446
29447 # Commands used to build an old-style archive.
29448 old_archive_cmds=$lt_old_archive_cmds
29449
29450 # A language specific compiler.
29451 CC=$lt_compiler
29452
29453 # Is the compiler the GNU compiler?
29454 with_gcc=$GCC
29455
29456 # Compiler flag to turn off builtin functions.
29457 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
29458
29459 # Additional compiler flags for building library objects.
29460 pic_flag=$lt_lt_prog_compiler_pic
29461
29462 # How to pass a linker flag through the compiler.
29463 wl=$lt_lt_prog_compiler_wl
29464
29465 # Compiler flag to prevent dynamic linking.
29466 link_static_flag=$lt_lt_prog_compiler_static
29467
29468 # Does compiler simultaneously support -c and -o options?
29469 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
29470
29471 # Whether or not to add -lc for building shared libraries.
29472 build_libtool_need_lc=$archive_cmds_need_lc
29473
29474 # Whether or not to disallow shared libs when runtime libs are static.
29475 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
29476
29477 # Compiler flag to allow reflexive dlopens.
29478 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
29479
29480 # Compiler flag to generate shared objects directly from archives.
29481 whole_archive_flag_spec=$lt_whole_archive_flag_spec
29482
29483 # Whether the compiler copes with passing no objects directly.
29484 compiler_needs_object=$lt_compiler_needs_object
29485
29486 # Create an old-style archive from a shared archive.
29487 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
29488
29489 # Create a temporary old-style archive to link instead of a shared archive.
29490 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
29491
29492 # Commands used to build a shared archive.
29493 archive_cmds=$lt_archive_cmds
29494 archive_expsym_cmds=$lt_archive_expsym_cmds
29495
29496 # Commands used to build a loadable module if different from building
29497 # a shared archive.
29498 module_cmds=$lt_module_cmds
29499 module_expsym_cmds=$lt_module_expsym_cmds
29500
29501 # Whether we are building with GNU ld or not.
29502 with_gnu_ld=$lt_with_gnu_ld
29503
29504 # Flag that allows shared libraries with undefined symbols to be built.
29505 allow_undefined_flag=$lt_allow_undefined_flag
29506
29507 # Flag that enforces no undefined symbols.
29508 no_undefined_flag=$lt_no_undefined_flag
29509
29510 # Flag to hardcode \$libdir into a binary during linking.
29511 # This must work even if \$libdir does not exist
29512 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
29513
29514 # Whether we need a single "-rpath" flag with a separated argument.
29515 hardcode_libdir_separator=$lt_hardcode_libdir_separator
29516
29517 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
29518 # DIR into the resulting binary.
29519 hardcode_direct=$hardcode_direct
29520
29521 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
29522 # DIR into the resulting binary and the resulting library dependency is
29523 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
29524 # library is relocated.
29525 hardcode_direct_absolute=$hardcode_direct_absolute
29526
29527 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
29528 # into the resulting binary.
29529 hardcode_minus_L=$hardcode_minus_L
29530
29531 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
29532 # into the resulting binary.
29533 hardcode_shlibpath_var=$hardcode_shlibpath_var
29534
29535 # Set to "yes" if building a shared library automatically hardcodes DIR
29536 # into the library and all subsequent libraries and executables linked
29537 # against it.
29538 hardcode_automatic=$hardcode_automatic
29539
29540 # Set to yes if linker adds runtime paths of dependent libraries
29541 # to runtime path list.
29542 inherit_rpath=$inherit_rpath
29543
29544 # Whether libtool must link a program against all its dependency libraries.
29545 link_all_deplibs=$link_all_deplibs
29546
29547 # Set to "yes" if exported symbols are required.
29548 always_export_symbols=$always_export_symbols
29549
29550 # The commands to list exported symbols.
29551 export_symbols_cmds=$lt_export_symbols_cmds
29552
29553 # Symbols that should not be listed in the preloaded symbols.
29554 exclude_expsyms=$lt_exclude_expsyms
29555
29556 # Symbols that must always be exported.
29557 include_expsyms=$lt_include_expsyms
29558
29559 # Commands necessary for linking programs (against libraries) with templates.
29560 prelink_cmds=$lt_prelink_cmds
29561
29562 # Commands necessary for finishing linking programs.
29563 postlink_cmds=$lt_postlink_cmds
29564
29565 # Specify filename containing input files.
29566 file_list_spec=$lt_file_list_spec
29567
29568 # How to hardcode a shared library path into an executable.
29569 hardcode_action=$hardcode_action
29570
29571 # The directories searched by this compiler when creating a shared library.
29572 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
29573
29574 # Dependencies to place before and after the objects being linked to
29575 # create a shared library.
29576 predep_objects=$lt_predep_objects
29577 postdep_objects=$lt_postdep_objects
29578 predeps=$lt_predeps
29579 postdeps=$lt_postdeps
29580
29581 # The library search path used internally by the compiler when linking
29582 # a shared library.
29583 compiler_lib_search_path=$lt_compiler_lib_search_path
29584
29585 # ### END LIBTOOL CONFIG
29586
29587 _LT_EOF
29588
29589 cat <<'_LT_EOF' >> "$cfgfile"
29590
29591 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
29592
29593 # func_munge_path_list VARIABLE PATH
29594 # -----------------------------------
29595 # VARIABLE is name of variable containing _space_ separated list of
29596 # directories to be munged by the contents of PATH, which is string
29597 # having a format:
29598 # "DIR[:DIR]:"
29599 # string "DIR[ DIR]" will be prepended to VARIABLE
29600 # ":DIR[:DIR]"
29601 # string "DIR[ DIR]" will be appended to VARIABLE
29602 # "DIRP[:DIRP]::[DIRA:]DIRA"
29603 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
29604 # "DIRA[ DIRA]" will be appended to VARIABLE
29605 # "DIR[:DIR]"
29606 # VARIABLE will be replaced by "DIR[ DIR]"
29607 func_munge_path_list ()
29608 {
29609 case x$2 in
29610 x)
29611 ;;
29612 *:)
29613 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
29614 ;;
29615 x:*)
29616 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
29617 ;;
29618 *::*)
29619 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
29620 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
29621 ;;
29622 *)
29623 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
29624 ;;
29625 esac
29626 }
29627
29628
29629 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
29630 func_cc_basename ()
29631 {
29632 for cc_temp in $*""; do
29633 case $cc_temp in
29634 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
29635 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
29636 \-*) ;;
29637 *) break;;
29638 esac
29639 done
29640 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
29641 }
29642
29643
29644 # ### END FUNCTIONS SHARED WITH CONFIGURE
29645
29646 _LT_EOF
29647
29648 case $host_os in
29649 aix3*)
29650 cat <<\_LT_EOF >> "$cfgfile"
29651 # AIX sometimes has problems with the GCC collect2 program. For some
29652 # reason, if we set the COLLECT_NAMES environment variable, the problems
29653 # vanish in a puff of smoke.
29654 if test set != "${COLLECT_NAMES+set}"; then
29655 COLLECT_NAMES=
29656 export COLLECT_NAMES
29657 fi
29658 _LT_EOF
29659 ;;
29660 esac
29661
29662
29663
29664 ltmain=$ac_aux_dir/ltmain.sh
29665
29666
29667 # We use sed instead of cat because bash on DJGPP gets confused if
29668 # if finds mixed CR/LF and LF-only lines. Since sed operates in
29669 # text mode, it properly converts lines to CR/LF. This bash problem
29670 # is reportedly fixed, but why not run on old versions too?
29671 $SED '$q' "$ltmain" >> "$cfgfile" \
29672 || (rm -f "$cfgfile"; exit 1)
29673
29674 mv -f "$cfgfile" "$ofile" ||
29675 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
29676 chmod +x "$ofile"
29677
29678
29679 cat <<_LT_EOF >> "$ofile"
29680
29681 # ### BEGIN LIBTOOL TAG CONFIG: CXX
29682
29683 # The linker used to build libraries.
29684 LD=$lt_LD_CXX
29685
29686 # How to create reloadable object files.
29687 reload_flag=$lt_reload_flag_CXX
29688 reload_cmds=$lt_reload_cmds_CXX
29689
29690 # Commands used to build an old-style archive.
29691 old_archive_cmds=$lt_old_archive_cmds_CXX
29692
29693 # A language specific compiler.
29694 CC=$lt_compiler_CXX
29695
29696 # Is the compiler the GNU compiler?
29697 with_gcc=$GCC_CXX
29698
29699 # Compiler flag to turn off builtin functions.
29700 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
29701
29702 # Additional compiler flags for building library objects.
29703 pic_flag=$lt_lt_prog_compiler_pic_CXX
29704
29705 # How to pass a linker flag through the compiler.
29706 wl=$lt_lt_prog_compiler_wl_CXX
29707
29708 # Compiler flag to prevent dynamic linking.
29709 link_static_flag=$lt_lt_prog_compiler_static_CXX
29710
29711 # Does compiler simultaneously support -c and -o options?
29712 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
29713
29714 # Whether or not to add -lc for building shared libraries.
29715 build_libtool_need_lc=$archive_cmds_need_lc_CXX
29716
29717 # Whether or not to disallow shared libs when runtime libs are static.
29718 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
29719
29720 # Compiler flag to allow reflexive dlopens.
29721 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
29722
29723 # Compiler flag to generate shared objects directly from archives.
29724 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
29725
29726 # Whether the compiler copes with passing no objects directly.
29727 compiler_needs_object=$lt_compiler_needs_object_CXX
29728
29729 # Create an old-style archive from a shared archive.
29730 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
29731
29732 # Create a temporary old-style archive to link instead of a shared archive.
29733 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
29734
29735 # Commands used to build a shared archive.
29736 archive_cmds=$lt_archive_cmds_CXX
29737 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
29738
29739 # Commands used to build a loadable module if different from building
29740 # a shared archive.
29741 module_cmds=$lt_module_cmds_CXX
29742 module_expsym_cmds=$lt_module_expsym_cmds_CXX
29743
29744 # Whether we are building with GNU ld or not.
29745 with_gnu_ld=$lt_with_gnu_ld_CXX
29746
29747 # Flag that allows shared libraries with undefined symbols to be built.
29748 allow_undefined_flag=$lt_allow_undefined_flag_CXX
29749
29750 # Flag that enforces no undefined symbols.
29751 no_undefined_flag=$lt_no_undefined_flag_CXX
29752
29753 # Flag to hardcode \$libdir into a binary during linking.
29754 # This must work even if \$libdir does not exist
29755 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
29756
29757 # Whether we need a single "-rpath" flag with a separated argument.
29758 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
29759
29760 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
29761 # DIR into the resulting binary.
29762 hardcode_direct=$hardcode_direct_CXX
29763
29764 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
29765 # DIR into the resulting binary and the resulting library dependency is
29766 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
29767 # library is relocated.
29768 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
29769
29770 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
29771 # into the resulting binary.
29772 hardcode_minus_L=$hardcode_minus_L_CXX
29773
29774 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
29775 # into the resulting binary.
29776 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
29777
29778 # Set to "yes" if building a shared library automatically hardcodes DIR
29779 # into the library and all subsequent libraries and executables linked
29780 # against it.
29781 hardcode_automatic=$hardcode_automatic_CXX
29782
29783 # Set to yes if linker adds runtime paths of dependent libraries
29784 # to runtime path list.
29785 inherit_rpath=$inherit_rpath_CXX
29786
29787 # Whether libtool must link a program against all its dependency libraries.
29788 link_all_deplibs=$link_all_deplibs_CXX
29789
29790 # Set to "yes" if exported symbols are required.
29791 always_export_symbols=$always_export_symbols_CXX
29792
29793 # The commands to list exported symbols.
29794 export_symbols_cmds=$lt_export_symbols_cmds_CXX
29795
29796 # Symbols that should not be listed in the preloaded symbols.
29797 exclude_expsyms=$lt_exclude_expsyms_CXX
29798
29799 # Symbols that must always be exported.
29800 include_expsyms=$lt_include_expsyms_CXX
29801
29802 # Commands necessary for linking programs (against libraries) with templates.
29803 prelink_cmds=$lt_prelink_cmds_CXX
29804
29805 # Commands necessary for finishing linking programs.
29806 postlink_cmds=$lt_postlink_cmds_CXX
29807
29808 # Specify filename containing input files.
29809 file_list_spec=$lt_file_list_spec_CXX
29810
29811 # How to hardcode a shared library path into an executable.
29812 hardcode_action=$hardcode_action_CXX
29813
29814 # The directories searched by this compiler when creating a shared library.
29815 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
29816
29817 # Dependencies to place before and after the objects being linked to
29818 # create a shared library.
29819 predep_objects=$lt_predep_objects_CXX
29820 postdep_objects=$lt_postdep_objects_CXX
29821 predeps=$lt_predeps_CXX
29822 postdeps=$lt_postdeps_CXX
29823
29824 # The library search path used internally by the compiler when linking
29825 # a shared library.
29826 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
29827
29828 # ### END LIBTOOL TAG CONFIG: CXX
29829 _LT_EOF
29830
29831 ;;
29832 "bundle.sh":F) chmod +x bundle.sh ;;
29833
29834 esac
29835 done # for ac_tag
29836
29837
29838 as_fn_exit 0
29839 _ACEOF
29840 ac_clean_files=$ac_clean_files_save
29841
29842 test $ac_write_fail = 0 ||
29843 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
29844
29845
29846 # configure is writing to config.log, and then calls config.status.
29847 # config.status does its own redirection, appending to config.log.
29848 # Unfortunately, on DOS this fails, as config.log is still kept open
29849 # by configure, so config.status won't be able to write to it; its
29850 # output is simply discarded. So we exec the FD to /dev/null,
29851 # effectively closing config.log, so it can be properly (re)opened and
29852 # appended to by config.status. When coming back to configure, we
29853 # need to make the FD available again.
29854 if test "$no_create" != yes; then
29855 ac_cs_success=:
29856 ac_config_status_args=
29857 test "$silent" = yes &&
29858 ac_config_status_args="$ac_config_status_args --quiet"
29859 exec 5>/dev/null
29860 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
29861 exec 5>>config.log
29862 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
29863 # would make configure fail if this is the last instruction.
29864 $ac_cs_success || as_fn_exit 1
29865 fi
29866 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
29867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
29868 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
29869 fi
29870
29871
29872 echo
29873 echo
29874 echo "*************************************************"
29875 echo "* Code::Blocks source tree has been configured. *"
29876 echo "*************************************************"
29877 echo
29878 echo "You can now build Code::Blocks by issuing 'make'".
29879 echo "When the build is complete, become root and install"
29880 echo "it by issuing 'make install'".
29881 echo
29882 echo " CFLAGS: ${CFLAGS}"
29883 echo " CXXFLAGS: ${CXXFLAGS}"
29884 echo " CPPFLAGS: ${CPPFLAGS}"
29885 echo " LDFLAGS: ${LDFLAGS}"
29886 echo " CXX: ${CXX}"
29887 echo " CC: ${CC}"
29888 echo
29889